/* Servship homepage: restrained maritime identity and customer access. */
.path-frontpage .navbar .brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.path-frontpage .navbar .brand img { display: none; }
.path-frontpage .brand-info { margin: 0; padding: 0; }
.path-frontpage .brand-name { font-size: 29px; font-weight: 600; line-height: 1.1; letter-spacing: -.9px; }
.path-frontpage .brand-text { font-size: 10px; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; max-width: none; }
.ss-brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; color: #0a192f; }
.path-frontpage .ss-brand-mark { width: 43px; height: 43px; flex: 0 0 43px; color: #d8b77a; }
.path-frontpage .navbar { padding-top: 30px; padding-bottom: 24px; }
.path-frontpage .section-1 .section-bg { background-position: 65% center !important; }
.path-frontpage .section-1 .section-bg::before { background: linear-gradient(90deg,rgba(8,21,32,.91),rgba(8,21,32,.63) 45%,rgba(8,21,32,.12)),linear-gradient(0deg,rgba(8,21,32,.85),transparent 48%) !important; }
.ss-hero { position: relative; z-index: 2; min-height: 100svh; padding: 180px max(8vw,28px) 45px; display: flex; flex-direction: column; justify-content: center; color: #fff; font-family: 'Poppins',sans-serif; }
.ss-hero-copy { padding: 30px 0 100px; }
.ss-eyebrow { margin: 0 0 26px; color: #e2c591; text-transform: uppercase; letter-spacing: 2.4px; font-size: 11px; font-weight: 500; }
.ss-hero h1 { margin: 0 0 28px; max-width: 850px; color: #fff; font-size: clamp(44px,5.1vw,82px); font-weight: 500; line-height: 1.12; letter-spacing: -2.5px; text-transform: none; text-shadow: none; }
.ss-hero h1 em { color: #e2c591; font-family: 'Playfair Display',Georgia,serif; font-weight: 400; }
.ss-description { max-width: 485px; font-size: 15px; line-height: 1.85; color: #d4dce1; margin: 0 0 32px; }
.ss-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ss-actions a { font-size: 12px; font-weight: 500; text-decoration: none; transition: background .2s,color .2s; }
.ss-primary { padding: 17px 22px; background: #dec18d; color: #132531; border: 1px solid #dec18d; border-radius: 2px; }
.ss-primary:hover { background: #efdab4; color: #132531; }
.ss-primary span { margin-left: 28px; font-size: 18px; }
.ss-secondary { color: #fff; padding: 12px 0; border-bottom: 1px solid #76828a; }
.ss-secondary:hover { color: #e2c591; }
.ss-secondary span { margin-left: 16px; }
.ss-hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid #ffffff35; padding-top: 26px; margin-top: auto; }
.ss-small-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.7px; color: #e2c591; margin-bottom: 7px; }
.ss-hero-bottom p { font-size: 12px; color: #ced6dc; margin: 0; line-height: 1.6; }
.ss-account { display: flex; gap: 34px; align-items: center; }
.ss-account a { color: #fff; border: 1px solid #ffffff65; border-radius: 2px; padding: 12px 19px; font-size: 12px; white-space: nowrap; transition: background .2s; }
.ss-account a span { margin-left: 20px; }
.ss-account a:hover { background: #fff; color: #132531; }
.ss-hero a:focus-visible,.path-frontpage .brand:focus-visible { outline: 2px solid #e2c591; outline-offset: 5px; }
.path-frontpage #pp-nav li .active span { background: #dec18d !important; box-shadow: none; }
.path-frontpage #pp-nav span { border-color: #dec18d !important; }
@media (min-width: 1500px) { .ss-hero { padding-top: 210px; } }
@media (max-width: 767px) {
  .path-frontpage .navbar { padding: 22px 25px; }
  .path-frontpage .brand-name { font-size: 25px; }
  .path-frontpage .brand-text { font-size: 8px; letter-spacing: 1.5px; }
  .path-frontpage .ss-brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .ss-hero { padding: 145px 28px 30px; }
  .ss-hero-copy { padding: 15px 0 55px; }
  .ss-hero h1 { font-size: clamp(40px,8.5vw,60px); letter-spacing: -1.5px; }
  .ss-eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 22px; }
  .ss-description { font-size: 14px; max-width: 420px; }
  .ss-actions { gap: 22px; }
  .ss-hero-bottom { display: block; padding-top: 22px; }
  .ss-supply { display: none; }
  .ss-account { justify-content: space-between; gap: 16px; }
  .ss-hero-bottom p { font-size: 11px; max-width: 195px; }
  .ss-account a { padding: 11px 14px; }
  .ss-account a span { margin-left: 12px; }
  .path-frontpage .section-1 .section-bg::before { background: linear-gradient(90deg,rgba(8,21,32,.88),rgba(8,21,32,.55)),linear-gradient(0deg,rgba(8,21,32,.9),transparent) !important; }
}
@media (max-height: 700px) and (min-width: 768px) { .ss-hero { padding-top: 130px; padding-bottom: 28px; } .ss-hero-copy { padding: 10px 0 45px; } .ss-hero h1 { font-size: 55px; } }
@media (prefers-reduced-motion: reduce) { .ss-hero a { transition: none; } }
/* Define the overlay independently of the legacy desktop-only stylesheet. */
.path-frontpage .section-1 .section-bg::before { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 767px) {
  .path-frontpage #pp-nav { display: none; }
  .path-frontpage .navbar-white .navbar-toggler { color: #fff; border: 0; }
  .path-frontpage .navbar-white .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath stroke='white' stroke-width='1.5' d='M3 6h18M3 12h18M3 18h18'/%3E%3C/svg%3E"); }
}
/* Customer sign-in is a primary header action. */
.ss-header-account { position: absolute; right: 125px; top: 30px; display: inline-flex; align-items: center; gap: 24px; padding: 13px 23px; background: #dec18d; border: 1px solid #dec18d; border-radius: 2px; color: #132531; font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 600; line-height: 24px; }
.ss-header-account:hover { background: #efdab4; color: #132531; }
.ss-header-account:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ss-account a { background: #dec18d; border-color: #dec18d; color: #132531; font-weight: 600; padding: 14px 24px; font-size: 14px; }
.ss-account a:hover { background: #efdab4; color: #132531; }
@media (max-width: 767px) {
 .ss-header-account { right: 69px; top: 23px; padding: 8px 14px; font-size: 12px; line-height: 22px; gap: 0; }
 .ss-header-account span { display: none; }
 .path-frontpage .navbar { padding-left: 22px; padding-right: 20px; }
 .path-frontpage .navbar .brand { gap: 9px; }
 .path-frontpage .brand-name { font-size: 22px; }
 .path-frontpage .brand-text { font-size: 7px; letter-spacing: .8px; }
 .path-frontpage .ss-brand-mark { width: 29px; height: 35px; flex-basis: 29px; }
 .ss-account a { padding: 12px 16px; font-size: 13px; }
}
@media (max-width: 359px) { .path-frontpage .brand-text { display: none; } .path-frontpage .ss-brand-mark { display: none; } }

/* RXSOL leads the identity; Servship is the customer storefront. */
.brand .brand-name { display: flex; align-items: center; gap: 12px; }
.ss-brand-rxsol { font-family: 'Poppins',sans-serif; font-weight: 700; letter-spacing: -.8px; }
.ss-brand-store { font-size: 16px; font-weight: 400; letter-spacing: -.3px; padding-left: 12px; border-left: 1px solid currentColor; }
.ss-commerce-page { background: #f6f5f1; color: #182d38; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Poppins',sans-serif; font-size: 14px; line-height: 1.6; }
.ss-commerce-page * { box-sizing: border-box; }
.ss-commerce-page a { color: #263f4c; }
.ss-commerce-page a:hover { color: #8b6630; }
.ss-commerce-page a:focus-visible,.ss-commerce-page input:focus-visible { outline: 2px solid #947346; outline-offset: 4px; }
.ss-commerce-header { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 25px 6vw; border-bottom: 1px solid #dfdfd8; background: #fff; }
.ss-commerce-header .brand { display: flex; align-items: center; gap: 12px; color: #182d38; }
.ss-commerce-header .brand img { display: none; }
.ss-commerce-header .ss-brand-mark { display: block; width: 40px; height: 40px; color: #9b7b49; }
.ss-commerce-header .brand-info { margin: 0; padding: 0; }
.ss-commerce-header .brand-name { font-size: 28px; line-height: 1.2; }
.ss-commerce-header .brand-text { font-size: 9px; text-transform: uppercase; letter-spacing: 1.7px; margin-top: 4px; color: #697780; }
.ss-commerce-header nav { display: flex; gap: 30px; align-items: center; }
.ss-commerce-header nav a { font-size: 12px; font-weight: 500; }
.ss-commerce-header .ss-nav-action { border: 1px solid #c9cec9; padding: 10px 20px; border-radius: 2px; }
.ss-nav-action span { margin-left: 20px; }
.ss-commerce-main { width: min(1180px,88vw); margin: 60px auto; flex: 1; }
.ss-login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; background: #fff; border: 1px solid #e0e1da; }
.ss-login-story { display: flex; flex-direction: column; justify-content: space-between; gap: 50px; padding: 48px; color: #fff; background: linear-gradient(90deg,#102632ee,#10263290),url('/sites/default/files/images/bg/bg1.jpg') center/cover; }
.ss-rxsol-wordmark { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -1px; }
.ss-rxsol-wordmark span { display: block; font-size: 9px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 12px; color: #e1c896; }
.ss-login-story h2 { color: #fff; font-size: clamp(32px,3vw,45px); font-weight: 400; line-height: 1.2; letter-spacing: -1px; margin: 0 0 25px; }
.ss-login-story h2 em { font-family: 'Playfair Display',Georgia,serif; color: #dec18d; }
.ss-login-story p:not(.ss-eyebrow) { color: #d4dfe4; max-width: 360px; font-size: 13px; line-height: 1.8; margin: 0; }
.ss-story-caption { border-top: 1px solid #ffffff38; padding-top: 22px; font-size: 10px; letter-spacing: 1px; color: #d4dfe4; }
.ss-login-panel { padding: 56px 54px; }
.ss-commerce-kicker { font-size: 10px; font-weight: 500; letter-spacing: 1.8px; color: #81643b; text-transform: uppercase; margin: 0 0 14px; }
.ss-commerce-page h1 { font-size: 38px; line-height: 1.2; font-weight: 500; text-transform: none; letter-spacing: -1.1px; margin: 0 0 15px; color: #182d38; }
.ss-intro { color: #64727a; font-size: 13px; line-height: 1.8; margin: 0 0 28px; }
.ss-login-panel .tabs { display: none; }
.ss-login-panel form { margin: 30px 0 0; padding: 0; max-width: none; }
.ss-login-panel .form-item { margin-bottom: 20px !important; }
.ss-login-panel label { font-size: 12px; font-weight: 500; color: #263f4c; margin: 0 0 8px; }
.ss-login-panel input:not([type='hidden']):not([type='submit']) { width: 100%; height: 49px; padding: 10px 13px; border: 1px solid #cbd1d0; border-radius: 2px; background: #fff; color: #182d38; box-shadow: none; font-size: 15px; }
.ss-login-panel input:focus { border-color: #81643b; box-shadow: 0 0 0 2px #dec18d40; }
.ss-login-panel .description { font-size: 11px; color: #64727a; margin-top: 6px; }
.ss-commerce-page input[type='submit'],.ss-shop-button { background: #183541 !important; color: #fff !important; border: 1px solid #183541 !important; border-radius: 2px !important; box-shadow: none !important; text-shadow: none; padding: 14px 23px; font-family: inherit; font-size: 13px; font-weight: 500 !important; letter-spacing: 0; text-transform: none; height: auto; width: auto; }
.ss-commerce-page input[type='submit']:hover,.ss-shop-button:hover { background: #294d5c !important; }
.ss-login-panel input[type='submit'] { width: 100%; margin: 4px 0 0; }
.ss-forgot { display: inline-block; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; margin-top: 3px; }
.ss-register { border-top: 1px solid #e0e1da; padding-top: 24px; margin-top: 28px; font-size: 12px; color: #64727a; }
.ss-register a { font-weight: 500; margin-left: 5px; }
.ss-commerce-footer { margin: 0 6vw; border-top: 1px solid #dce0da; padding: 25px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #697780; }
.ss-commerce-footer strong { font-size: 15px; letter-spacing: -.4px; color: #263f4c; }
.ss-footer-divider { padding: 0 12px; color: #b3bcbf; }
.ss-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.ss-back-products { font-size: 12px; white-space: nowrap; }
.ss-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: start; gap: 28px; }
.ss-cart-items { min-width: 0; background: #fff; border: 1px solid #e0e1da; padding: 28px; }
.ss-empty-cart { padding: 65px 25px; text-align: center; }
.ss-empty-cart svg { color: #9b7b49; margin-bottom: 25px; }
.ss-empty-cart h2 { font-size: 25px; font-weight: 500; letter-spacing: -.6px; color: #182d38; margin: 0 0 15px; }
.ss-empty-cart p { font-size: 13px; color: #64727a; line-height: 1.9; max-width: 380px; margin: 0 auto 28px; }
.ss-shop-button { display: inline-block; }
.ss-shop-button span { margin-left: 24px; }
.ss-order-help { padding: 28px; border: 1px solid #dce0da; }
.ss-order-help h2 { font-size: 21px; line-height: 1.4; font-weight: 500; color: #182d38; margin: 0 0 16px; }
.ss-order-help p:not(.ss-commerce-kicker) { color: #64727a; font-size: 12px; line-height: 1.85; }
.ss-order-help a { font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.ss-cart-login { border-top: 1px solid #dce0da; padding-top: 24px; margin-top: 28px; }
.ss-cart-login h3 { font-size: 14px; font-weight: 500; letter-spacing: 0; margin: 0 0 12px; }
.ss-cart-items table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ss-cart-items th { color: #64727a; font-size: 10px; text-transform: uppercase; letter-spacing: .7px; font-weight: 500; padding: 12px 10px; border-bottom: 1px solid #dce0da; background: #f6f5f1; }
.ss-cart-items td { padding: 22px 10px; border-bottom: 1px solid #e4e6e1; vertical-align: middle; }
.ss-cart-items tr { background: #fff; }
.ss-cart-items td:first-child { width: 38%; }
.ss-cart-items .views-field-edit-quantity input { width: 65px; padding: 9px; border: 1px solid #cbd1d0; border-radius: 2px; font: inherit; background: #fff; color: #182d38; }
.ss-cart-items .views-field-remove-button input[type='submit'] { background: transparent !important; color: #697780 !important; border: 0 !important; padding: 5px 0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.ss-cart-items .form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ss-cart-items .form-actions input { margin: 0; }
.ss-cart-items .form-actions input[data-drupal-selector='edit-submit'] { color: #183541 !important; background: #fff !important; border-color: #bfc9c9 !important; }
.ss-cart-items .order-total-line { font-size: 14px; padding: 12px 0; }
.ss-cart-items .order-total-line__total { font-weight: 600; border-top: 1px solid #dce0da; margin-top: 20px; }
.ss-commerce-page .alert { font-size: 13px; line-height: 1.7; }
@media (max-width: 991px) {
 .ss-login-story { padding: 35px 28px; }
 .ss-login-panel { padding: 40px 28px; }
 .ss-cart-layout { grid-template-columns: minmax(0,1fr); }
 .ss-order-help { max-width: none; }
}
@media (max-width: 767px) {
 .path-frontpage .ss-brand-store { font-size: 12px; padding-left: 8px; }
 .path-frontpage .brand .brand-name { gap: 8px; }
 .ss-commerce-header { padding: 20px; gap: 15px; }
 .ss-commerce-header .ss-brand-mark { display: none; }
 .ss-commerce-header .brand-name { font-size: 24px; gap: 8px; }
 .ss-commerce-header .ss-brand-store { font-size: 12px; padding-left: 8px; }
 .ss-commerce-header .brand-text { font-size: 7px; letter-spacing: 1px; }
 .ss-commerce-header nav { gap: 12px; }
 .ss-commerce-header nav a { font-size: 11px; }
 .ss-commerce-header nav a:first-child { display: none; }
 .ss-commerce-header .ss-nav-action { padding: 8px 12px; }
 .ss-nav-action span { display: none; }
 .ss-commerce-main { width: calc(100% - 36px); margin: 28px auto; }
 .ss-login-layout { grid-template-columns: 1fr; min-height: auto; }
 .ss-login-story { display: none; }
 .ss-login-panel { padding: 32px 24px; }
 .ss-commerce-page h1 { font-size: 32px; }
 .ss-commerce-footer { margin: 0 20px; flex-direction: column; gap: 10px; font-size: 10px; }
 .ss-cart-heading { display: block; margin-bottom: 25px; }
 .ss-cart-heading .ss-intro { margin-bottom: 12px; }
 .ss-cart-items { padding: 18px 14px; }
 .ss-empty-cart { padding: 36px 8px; }
 .ss-empty-cart h2 { font-size: 23px; }
 .ss-cart-items .table-responsive { overflow-x: auto; }
 .ss-cart-items table { min-width: 510px; }
 .ss-cart-items .form-actions { flex-direction: column; }
 .ss-cart-items .form-actions input { width: 100%; }
}
@media (max-width: 359px) { .ss-commerce-header nav a:not(.ss-nav-action) { display: none; } }
/* Keep populated carts usable without sideways scrolling on a phone. */
@media (max-width: 767px) {
 .ss-cart-items table { min-width: 0; }
 .ss-cart-items thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .ss-cart-items table,.ss-cart-items tbody { display: block; }
 .ss-cart-items tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #dce0da; padding: 12px 0; }
 .ss-cart-items td { display: block; width: auto !important; border: 0; padding: 10px 0; }
 .ss-cart-items td:first-child { grid-column: 1 / -1; font-weight: 500; font-size: 14px; }
 .ss-cart-items .views-field-unit-price__number::before { content: 'Unit price'; }
 .ss-cart-items .views-field-edit-quantity::before { content: 'Quantity'; }
 .ss-cart-items .views-field-total-price__number::before { content: 'Item total'; }
 .ss-cart-items td::before { display: block; color: #697780; font-size: 10px; margin-bottom: 7px; }
 .ss-cart-items .views-field-remove-button { align-self: end; }
}
.ss-commerce-page .alert h2 { font-size: 17px; margin: 0 0 8px; }
.ss-commerce-page .alert { padding: 18px 24px; }
/* Featured products: allow the full title and account action to fit each card. */
.path-frontpage .section-3 .col-project-box { width: 33.3333%; display: flex; margin-top: 20px; }
.path-frontpage .section-3 .project-box { width: 100%; min-height: 220px; padding: 0; overflow: visible; background: #102633ed !important; border: 1px solid #ffffff30; border-radius: 2px; box-shadow: none; }
.path-frontpage .section-3 .project-box-inner { position: static; display: flex; flex-direction: column; padding: 24px; height: 100%; }
.path-frontpage .section-3 .project-box:hover { background: #193544 !important; transform: none; border-color: #dec18d; }
.path-frontpage .section-3 .project-box h5 { font-size: 15px; line-height: 1.5; letter-spacing: 0; }
.path-frontpage .section-3 .project-box h5 a,.path-frontpage .section-3 .project-box:hover h5 a { color: #fff; }
.path-frontpage .section-3 .project-category { font-size: 10px; line-height: 1.7; color: #dec18d !important; letter-spacing: .7px; margin-top: 12px; }
.path-frontpage .section-3 .product-sku { font-size: 10px; margin: 8px 0 18px; color: #c1cdd4; opacity: 1; }
.path-frontpage .section-3 .product-price-wrap { margin: auto 0 0; }
.path-frontpage .section-3 .product-price-locked { font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; border: 0; border-bottom: 1px solid #ffffff50; border-radius: 0; padding: 4px 0; color: #f0dfbf; }
.path-frontpage .section-3 .product-price-locked:hover { color: #fff; background: transparent; border-color: #dec18d; }
.path-frontpage .section-3 .product-price { color: #f0dfbf; }
.path-frontpage .section-3 .title-uppercase { text-transform: none; font-weight: 500; letter-spacing: -1px; }
@media (max-width: 767px) {
 .path-frontpage .section-3 .col-project-box { width: 100%; }
 .path-frontpage .section-3 .project-box { min-height: 200px; }
 .path-frontpage .section-3 .vertical-centred { padding-top: 140px; padding-bottom: 60px; }
 .path-frontpage .section-3 .boxed { padding-left: 14px; padding-right: 14px; }
}
.path-frontpage .section-3 .project-box { padding-bottom: 0 !important; }
.path-frontpage .section-3 .project-box:hover { box-shadow: none !important; border-color: #dec18d !important; }
.ss-featured-grid { display: flow-root; }
.ss-featured-footer { clear: both; padding: 24px 0 0; }
.ss-featured-footer a { font-size: 12px; color: #e2c591; border-bottom: 1px solid #ffffff50; padding-bottom: 7px; }
.ss-featured-footer span { margin-left: 20px; }
.path-frontpage .section-3 .section-bg::before { content: ''; position: absolute; inset: 0; background: #081520aa; }

/* Account "View / Edit / Orders" local task tabs (e.g. /user/15, /user/15/orders).
   Root cause confirmed from real rendered HTML: bootstrap_barrio DOES wrap
   them in <nav class="tabs"><ul class="nav primary nav-tabs">...</ul></nav>,
   with NO wrapping block div/id at all (my first attempt assumed a
   "#block-bauhaus-local-tasks" wrapper that doesn't exist - wrong target,
   fixed nothing). The actual bug is the pre-existing
   ".user-logged-in nav.tabs { position: fixed; left:0; top:80px; }" rule
   above in custom.css, which floats it over the header. Overridden here. */
.user-logged-in nav.tabs {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  z-index: auto !important;
  margin: 40px 0 24px !important;
  transition: none !important;
}
nav.tabs ul.nav-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #0a192f;
  background: none !important;
  opacity: 1 !important;
}
nav.tabs ul.nav-tabs li {
  float: none !important;
  opacity: 1 !important;
  margin: 0;
}
nav.tabs ul.nav-tabs li a {
  display: inline-block;
  padding: 9px 20px;
  color: #0a192f;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none !important;
  background: transparent;
  border-radius: 4px 4px 0 0;
}
nav.tabs ul.nav-tabs li.active a,
nav.tabs ul.nav-tabs li a.is-active {
  background: #d8b77a !important;
  color: #0a192f !important;
}
@media (max-width: 767px) { .path-frontpage .section-3 .vertical-title { display: none; } .path-frontpage .section-3 .project-box { background: #102633 !important; } }

/* Status messages (e.g. "X added to your cart"). Was rendering as Drupal
   core's raw, unstyled message markup - full-width, dumped wherever the
   .highlighted region landed, visible "Status message" heading (should be
   screen-reader-only), plus core's default checkmark icon with no
   containing shape - reading as a big ugly green bar. Also force-hide the
   ARIA live-region fallback container, which should never be visible but
   depends on Drupal core's .hidden utility class actually loading. */
[data-drupal-messages-fallback] {
  display: none !important;
}
.highlighted {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 2000;
  width: 100%;
  max-width: 380px;
  margin: 0 !important;
  pointer-events: none;
}
.highlighted .messages {
  position: relative;
  pointer-events: auto;
  margin: 0 0 12px;
  padding: 14px 40px 14px 44px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(10,25,47,.18);
  font-size: 14px;
  line-height: 1.4;
  background: #fff;
  border: 1px solid transparent;
}
.highlighted .messages--status {
  background: #eefaf1;
  border-color: #b9e6c4;
  color: #0a3d1f;
}
.highlighted .messages--warning {
  background: #fff8e6;
  border-color: #f0d78c;
  color: #6b4e00;
}
.highlighted .messages--error {
  background: #fdecec;
  border-color: #f2b8b8;
  color: #7a1414;
}
.highlighted .messages h2 {
  /* Core marks this visually-hidden, but that utility class isn't
     reliably present on this theme - hide it explicitly instead of
     depending on it. */
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.highlighted .messages::before {
  content: '\2713';
  position: absolute;
  left: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #2f9e52;
}
.highlighted .messages--warning::before { background: #c98e00; content: '!'; }
.highlighted .messages--error::before { background: #c93b3b; content: '\2715'; }
.highlighted .messages ul,
.highlighted .messages li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.highlighted .messages li + li {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(10,25,47,.08);
}
@media (max-width: 480px) {
  .highlighted { right: 10px; left: 10px; max-width: none; top: 90px; }
}

/* My Orders page (/my-orders) */
.ss-orders-intro {
  color: #5a6472;
  font-size: 15px;
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.5;
}
table.ss-orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(10,25,47,.08);
  border-radius: 8px;
  overflow: hidden;
}
table.ss-orders-table thead th {
  background: #0a192f;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  border: none;
}
table.ss-orders-table tbody td {
  padding: 16px 18px;
  border-top: 1px solid #eef0f3;
  font-size: 14px;
  color: #1c2530;
  vertical-align: middle;
}
table.ss-orders-table tbody tr:hover {
  background: #fafbfc;
}
table.ss-orders-table .ss-order-cell-number {
  font-weight: 700;
  color: #0a192f;
}
table.ss-orders-table .ss-order-cell-total {
  font-weight: 600;
}
table.ss-orders-table .ss-order-cell-pdf {
  white-space: nowrap;
}
.ss-order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  background: #eef1f4;
  color: #4b5563;
}
.ss-order-status--completed,
.ss-order-status--fulfillment {
  background: #eafaf0;
  color: #1a7f43;
}
.ss-order-status--draft,
.ss-order-status--validation {
  background: #fff6e6;
  color: #97650a;
}
.ss-order-status--canceled {
  background: #fdecec;
  color: #b12a2a;
}
.ss-order-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #0a192f;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none !important;
  transition: background .15s ease;
}
.ss-order-pdf-link:hover {
  background: #d8b77a;
  color: #0a192f !important;
}
.ss-order-processing {
  color: #97650a;
  font-size: 13px;
  font-style: italic;
}
table.ss-orders-table tbody tr td[colspan] {
  padding: 40px 18px;
  text-align: center;
  color: #8993a1;
  font-style: italic;
}
@media (max-width: 767px) {
  .ss-orders-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table.ss-orders-table { min-width: 640px; }
}

/* Site-wide: breathing room between the navbar and whatever comes after it. */
header.navbar {
  padding-bottom: 24px;
}

/* Account Details page (/user/{uid}, user--full.html.twig) */
.ss-account-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(10,25,47,.08);
  padding: 32px;
  max-width: 720px;
}
.ss-account-company {
  margin: 0 0 20px;
  font-size: 26px;
  color: #0a192f;
}
.ss-account-grid {
  margin: 0 0 28px;
}
.ss-account-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #f2f3f5;
}
.ss-account-row dt {
  width: 180px;
  flex: 0 0 180px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8993a1;
}
.ss-account-row dd {
  margin: 0;
  font-size: 15px;
  color: #1c2530;
}
.ss-account-addresses {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ss-account-address {
  flex: 1 1 260px;
  background: #fafbfc;
  border: 1px solid #eef0f3;
  border-radius: 6px;
  padding: 16px 18px;
}
.ss-account-address h3 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8993a1;
}
.ss-account-address .address {
  font-size: 14px;
  color: #1c2530;
  line-height: 1.5;
}
.ss-account-note {
  margin: 0;
  font-size: 13px;
  color: #8993a1;
  font-style: italic;
}
@media (max-width: 600px) {
  .ss-account-row { flex-direction: column; }
  .ss-account-row dt { width: auto; margin-bottom: 4px; }
}

/* --- 404 page (page--404.html.twig) --- */
.ss-404-main { margin-top: 48px; }
.ss-404-hero { display: grid; grid-template-columns: 1.15fr .85fr; background: #fff; border: 1px solid #e0e1da; min-height: 520px; }
.ss-404-copy { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.ss-404-copy .ss-eyebrow { color: #81643b; margin-bottom: 20px; }
.ss-404-page h1 { font-size: clamp(34px,4vw,52px); line-height: 1.12; letter-spacing: -1.4px; margin-bottom: 22px; }
.ss-404-page h1 em { font-family: 'Playfair Display',Georgia,serif; font-weight: 400; color: #9b7b49; }
.ss-404-lead { color: #64727a; font-size: 14px; line-height: 1.85; max-width: 470px; margin: 0 0 32px; }
.ss-404-search { display: flex; max-width: 520px; border: 1px solid #cbd1d0; border-radius: 2px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ss-404-search:focus-within { border-color: #81643b; box-shadow: 0 0 0 3px #dec18d40; }
.ss-404-search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; background: transparent; color: #182d38; font: inherit; font-size: 14px; outline: none; }
.ss-404-search input::placeholder { color: #98a3a8; }
.ss-404-search button { border: 0; background: #183541; color: #fff; padding: 0 26px; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .3px; cursor: pointer; transition: background .2s; }
.ss-404-search button:hover { background: #294d5c; }
.ss-404-search button:focus-visible { outline: 2px solid #947346; outline-offset: 3px; }
.ss-404-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 28px; }
.ss-404-page a.ss-404-primary { display: inline-flex; gap: 14px; align-items: center; background: #dec18d; color: #132531; padding: 14px 24px; border-radius: 2px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s; }
.ss-404-page a.ss-404-primary:hover { background: #efdab4; color: #132531; }
.ss-404-page a.ss-404-secondary { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.ss-404-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 48px 32px 70px; color: #dec18d; background: radial-gradient(circle at 50% 38%,#1d3d4c 0,#132531 55%,#0b1a24 100%); }
.ss-404-compass { width: min(230px,70%); height: auto; }
.ss-404-compass text { fill: #d4dfe4; font: 500 11px 'Poppins',sans-serif; letter-spacing: 1px; }
.ss-404-needle { transform-origin: 120px 120px; animation: ss-404-drift 7s ease-in-out infinite; }
@keyframes ss-404-drift { 0%,100% { transform: rotate(-28deg); } 30% { transform: rotate(34deg); } 55% { transform: rotate(-8deg); } 75% { transform: rotate(52deg); } }
.ss-404-code { font-family: 'Playfair Display',Georgia,serif; font-style: italic; font-size: clamp(64px,7vw,96px); line-height: 1; color: #fff; letter-spacing: 2px; }
.ss-404-waves { position: absolute; left: 0; right: 0; bottom: 18px; width: 200%; height: 40px; color: #dec18d; opacity: .55; animation: ss-404-waves 9s linear infinite; }
@keyframes ss-404-waves { to { transform: translateX(-50%); } }
.ss-404-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 16px; }
.ss-404-page .ss-404-links a { display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; background: #fff; border: 1px solid #e0e1da; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ss-404-page .ss-404-links a:hover { border-color: #dec18d; transform: translateY(-2px); box-shadow: 0 10px 24px -18px #132531; }
.ss-404-links .ss-commerce-kicker { margin: 0 0 6px; }
.ss-404-links strong { font-size: 16px; font-weight: 500; color: #182d38; letter-spacing: -.2px; }
.ss-404-links span:last-child { font-size: 12px; color: #64727a; }
@media (max-width: 991px) {
  .ss-404-hero { grid-template-columns: 1fr; }
  .ss-404-visual { order: -1; min-height: 280px; padding: 32px 24px 64px; }
  .ss-404-compass { width: 150px; }
  .ss-404-links { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 575px) {
  .ss-404-main { margin-top: 24px; }
  .ss-404-copy { padding: 36px 22px; }
  .ss-404-search button { padding: 0 16px; }
  .ss-404-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ss-404-needle,.ss-404-waves { animation: none; } }
