*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --sx-navy: #002d72;
    --sx-navy-dark: #001f52;
    --sx-text: #303030;
    --sx-muted: #666666;
    --sx-line: #e8e8e8;
    --sx-radius: 20px;
    --sx-footer-bg: #f5f5f5;
    /* Legacy aliases → Sanipex palette */
    --amazon-dark: #1c1c1c;
    --amazon-nav: #1c1c1c;
    --amazon-orange: #002d72;
    --amazon-orange-dark: #001f52;
    --amazon-yellow: #002d72;
    --amazon-yellow-hover: #001f52;
    --amazon-blue: #002d72;
    --amazon-green: #2d6a4f;
    --amazon-red: #8a2a2a;
    --amazon-bg: #ffffff;
    --amazon-white: #ffffff;
    --amazon-text: #303030;
    --amazon-gray: #666666;
    --amazon-light-gray: #e8e8e8;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--amazon-bg);
    color: var(--amazon-text);
    line-height: 1.55;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    /* Keep layout from locking wider than the viewport when zoomed in */
    overflow-wrap: anywhere;
}

html {
    zoom: 1;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Product media must ignore the global height:auto — it breaks fill at browser zoom */
img.product-card-image,
.collection-gallery-media img,
.product-detail-image img,
img.collection-hero-media {
    max-width: none;
    max-height: none;
    height: 100%;
}

/* Lifestyle / marketing tiles fill their frames */
.category-card-images img,
.solution-tile-media img,
.sx-featured-img,
.sx-trend-img,
.sx-brand-media img,
.sx-collection-media img,
.sx-hero-thumb img,
.nav-mega-feature img,
.collection-material-tile img,
.collection-case-card__image img,
img.collection-hero-media,
.collection-hero-slide video {
    object-fit: cover;
    object-position: center center;
    padding: 0;
}

/* Product photos show the full item — no crop/zoom into the frame */
img.product-card-image,
.product-detail-image img,
.collection-gallery-media--contain img,
.cart-item-image img,
.checkout-item img,
.order-item-row img {
    object-fit: contain !important;
    object-position: center center !important;
}

a { color: var(--amazon-blue); text-decoration: none; }
a:hover { color: var(--amazon-orange-dark); text-decoration: underline; }

.container {
    width: 100%;
    max-width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Full-bleed sections still shrink with zoom */
.site-header,
.site-footer,
.collection-showcase,
.collection-hero,
.sx-cat-hero,
.hero-slider,
main {
    width: 100%;
    max-width: 100%;
}

/* Header — clean white luxury chrome */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--amazon-white);
    border-bottom: 1px solid var(--amazon-light-gray);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.header-utility {
    background: #f7f7f7;
    border-bottom: 1px solid var(--amazon-light-gray);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.header-utility-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    min-height: 34px;
}

.header-utility a {
    color: var(--amazon-gray);
    text-decoration: none;
    font-weight: 500;
}

.header-utility a:hover {
    color: var(--amazon-text);
    text-decoration: none;
}

.header-top {
    background: var(--amazon-white);
    padding: 8px 0;
}

.header-top-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    color: var(--amazon-text);
    text-decoration: none;
    white-space: nowrap;
    padding: 2px 0;
    border: 1px solid transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    flex-shrink: 0;
    line-height: 1.05;
}
.logo:hover { border-color: transparent; color: var(--amazon-text); text-decoration: none; }
.logo-wordmark {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
    line-height: 1;
}
.logo-tagline {
    display: block;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
    line-height: 1;
}
.logo-img { display: none; }

.search-form {
    flex: 1;
    display: flex;
    max-width: 720px;
    height: 44px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--amazon-light-gray);
    background: #fafafa;
}

.search-category {
    background: transparent;
    border: none;
    border-right: 1px solid var(--amazon-light-gray);
    padding: 0 12px;
    font-size: 12px;
    color: var(--amazon-gray);
    cursor: pointer;
    max-width: 120px;
    font-family: inherit;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: transparent;
    font-family: inherit;
    color: var(--amazon-text);
}

.search-btn {
    background: var(--amazon-dark);
    border: none;
    width: 52px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    transition: background 0.2s;
}
.search-btn:hover { background: #333; }

.header-account-wrap { position: relative; }

.header-account-trigger {
    background: none;
    border: 1px solid transparent;
    color: var(--amazon-text);
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1.2;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.header-account-trigger:hover,
.header-account-wrap:focus-within .header-account-trigger {
    border-color: var(--amazon-light-gray);
    background: #fafafa;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--amazon-light-gray);
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 1500;
    padding: 6px 0;
}

.account-dropdown[hidden] { display: none; }

.account-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--amazon-text);
    font-size: 14px;
    text-decoration: none;
}

.account-dropdown a:hover {
    background: #f7f7f7;
    color: var(--amazon-blue);
    text-decoration: none;
}

.account-dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}

.header-account, .header-orders {
    color: var(--amazon-text);
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    line-height: 1.2;
}
.header-account:hover, .header-orders:hover {
    border-color: var(--amazon-light-gray);
    background: #fafafa;
    text-decoration: none;
    color: var(--amazon-text);
}

.account-label, .orders-label { display: block; font-size: 11px; color: var(--amazon-gray); font-weight: 500; }
.account-link, .orders-link { display: block; font-size: 13px; font-weight: 700; color: var(--amazon-text); }

.header-cart {
    display: flex;
    align-items: flex-end;
    color: var(--amazon-text);
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    position: relative;
}
.header-cart:hover {
    border-color: var(--amazon-light-gray);
    background: #fafafa;
    text-decoration: none;
    color: var(--amazon-text);
}

.cart-icon { font-size: 26px; }
.cart-count {
    position: absolute;
    top: 0;
    left: 20px;
    color: var(--amazon-dark);
    font-weight: 700;
    font-size: 14px;
}
.cart-label { font-size: 13px; font-weight: 700; margin-left: 2px; }

.header-nav {
    background: var(--amazon-white);
    padding: 0;
    border-top: 1px solid var(--amazon-light-gray);
    overflow: visible;
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    min-height: 40px;
    min-width: 0;
    max-width: 100%;
    /* Must stay visible — overflow hid the Sanipex mega dropdown */
    overflow: visible;
}

.nav-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: 100%;
    /* Keep overflow visible so dropdowns/mega menus are not clipped off-screen */
    overflow: visible;
}

.nav-categories::-webkit-scrollbar {
    height: 3px;
}

.nav-categories::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.nav-categories::-webkit-scrollbar-track {
    background: transparent;
}

.nav-categories .nav-category-link,
.nav-categories .nav-dropdown-wrap {
    flex-shrink: 0;
}

.nav-all-label { white-space: nowrap; }

.all-menu-footer {
    border-top: 1px solid #eee;
    padding: 12px 20px;
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.all-menu-footer a {
    color: var(--amazon-blue) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.all-menu-footer a:hover { text-decoration: underline; }

.nav-all-wrap { position: relative; flex-shrink: 0; }

.nav-all-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--amazon-text);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.nav-all-btn .nav-all-label {
    color: var(--amazon-text);
}

.nav-all-btn:hover,
.nav-all-btn[aria-expanded="true"] {
    border-color: var(--amazon-light-gray);
    background: #fafafa;
    border-radius: 6px;
}

.all-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
}

.all-menu-overlay[hidden] { display: none; }

.all-menu-panel {
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--amazon-white);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.25s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.all-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    color: var(--sx-text);
    padding: 16px 20px;
    border-bottom: 1px solid var(--sx-line);
}

.all-menu-title { font-size: 16px; font-weight: 700; color: var(--sx-text); }

.all-menu-close {
    background: none;
    border: none;
    color: var(--sx-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.all-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.all-menu-link {
    display: block;
    padding: 14px 20px;
    color: var(--amazon-text) !important;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.all-menu-link:hover {
    background: #f3f3f3;
    color: var(--amazon-text) !important;
    text-decoration: none;
}

.all-menu-parent { font-weight: 600; color: var(--amazon-text) !important; }
.all-menu-sub { padding-left: 28px !important; font-size: 13px; color: var(--amazon-text) !important; }
.all-menu-sub2 { padding-left: 44px !important; font-size: 12px; color: var(--amazon-gray) !important; }
.all-menu-sub3 { padding-left: 60px !important; font-size: 12px; color: var(--amazon-gray) !important; }
.all-menu-count { font-weight: 400; color: var(--amazon-gray) !important; font-size: 12px; }

/* Category accordion (All Categories, nav dropdown, category sidebar) */
.category-accordion-nav { width: 100%; }

.cat-accordion,
.cat-accordion-panel {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-accordion-item {
    border-bottom: 1px solid #eee;
}

.cat-accordion-row {
    display: flex;
    align-items: stretch;
    min-height: 44px;
}

.cat-accordion-toggle {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: var(--amazon-gray);
}

.cat-accordion-toggle:hover {
    background: #f3f3f3;
}

.cat-accordion-spacer {
    flex: 0 0 40px;
}

.cat-accordion-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    margin-top: -2px;
}

.cat-accordion-item.is-open > .cat-accordion-row .cat-accordion-arrow {
    transform: rotate(45deg);
    margin-top: 2px;
}

.cat-accordion-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 16px 12px 0;
    color: var(--amazon-text);
    font-size: 14px;
    text-decoration: none;
    line-height: 1.3;
}

.cat-accordion-link:hover {
    color: var(--amazon-text);
    text-decoration: none;
    background: #f7f7f7;
}

.cat-accordion-count {
    margin-left: 4px;
    font-size: 12px;
    color: var(--amazon-gray);
    font-weight: 400;
}

.cat-accordion-item.is-active > .cat-accordion-row {
    background: #eaeded;
}

.cat-accordion-item.is-active > .cat-accordion-row .cat-accordion-link {
    font-weight: 600;
}

.cat-accordion-children[hidden] {
    display: none;
}

.cat-accordion-panel .cat-accordion-item:last-child {
    border-bottom: none;
}

.cat-accordion-panel .cat-accordion-row {
    padding-left: calc(12px + var(--cat-depth, 0) * 16px);
}

.cat-accordion-panel {
    --cat-depth: 1;
}

.cat-accordion-panel .cat-accordion-panel {
    --cat-depth: 2;
}

.cat-accordion-panel .cat-accordion-panel .cat-accordion-panel {
    --cat-depth: 3;
}

.cat-accordion-panel .cat-accordion-panel .cat-accordion-panel .cat-accordion-panel {
    --cat-depth: 4;
}

/* All Categories drawer */
.all-menu-body .cat-accordion-item {
    border-bottom-color: #eee;
}

.all-menu-body .cat-accordion-link {
    font-size: 15px;
}

.all-menu-body .cat-accordion-panel .cat-accordion-link {
    font-size: 14px;
}

.all-menu-body .cat-accordion-panel .cat-accordion-panel .cat-accordion-link {
    font-size: 13px;
    color: var(--amazon-gray);
}

/* Header nav mega dropdown accordion */
.nav-dropdown--accordion {
    min-width: 280px;
    max-width: 340px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0;
}

.nav-dropdown--accordion .nav-dropdown-all {
    display: block;
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.nav-dropdown--accordion .cat-accordion-link {
    padding-right: 12px;
}

.nav-dropdown--accordion .cat-accordion-toggle {
    flex: 0 0 36px;
}

.nav-dropdown--accordion .cat-accordion-spacer {
    flex: 0 0 36px;
}

/* Category page sidebar (Switches & Dimmers) */
.category-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.category-sidebar {
    background: var(--amazon-white);
    border: 1px solid var(--amazon-light-gray);
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    box-shadow: 0 1px 3px rgba(15, 17, 17, 0.06);
}

.category-sidebar-header {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f4 100%);
    border-bottom: 1px solid #e8e8e8;
}

.category-sidebar-header a {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--amazon-text);
    text-decoration: none;
}

.category-sidebar-header a:hover {
    color: var(--amazon-blue);
    text-decoration: none;
}

.category-sidebar-header .cat-accordion-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--amazon-gray);
}

.category-sidebar .cat-accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

.category-sidebar .cat-accordion-item:last-child {
    border-bottom: none;
}

.category-sidebar .cat-accordion-row {
    position: relative;
    min-height: 46px;
    justify-content: flex-start;
}

.category-sidebar .cat-accordion-toggle,
.category-sidebar .cat-accordion-spacer {
    flex: 0 0 36px;
    position: static;
    width: auto;
}

.category-sidebar .cat-accordion-toggle {
    color: #8a8d8f;
    border-radius: 0;
}

.category-sidebar .cat-accordion-toggle:hover {
    background: transparent;
    color: var(--amazon-text);
}

.category-sidebar .cat-accordion-link {
    justify-content: flex-start;
    text-align: left;
    padding: 12px 16px 12px 4px;
    font-size: 14px;
    font-weight: 500;
    gap: 4px;
}

.category-sidebar .cat-accordion-link:hover {
    background: transparent;
    color: var(--amazon-blue);
}

.category-sidebar .cat-accordion-row:hover {
    background: #f8f9f9;
}

.category-sidebar .cat-accordion-count {
    margin-left: 2px;
    font-size: 12px;
    font-weight: 400;
    color: #889094;
}

.category-sidebar .cat-accordion-item.is-active > .cat-accordion-row {
    background: #eef6f7;
    box-shadow: inset 3px 0 0 var(--amazon-blue);
}

.category-sidebar .cat-accordion-item.is-active > .cat-accordion-row .cat-accordion-link {
    font-weight: 600;
    color: var(--amazon-blue);
}

.category-sidebar .cat-accordion-item.is-active > .cat-accordion-row .cat-accordion-count {
    color: var(--amazon-blue);
    opacity: 0.75;
}

.category-sidebar .cat-accordion-children {
    background: #fafbfb;
    border-top: 1px solid #f0f0f0;
}

.category-sidebar .cat-accordion-panel {
    --cat-depth: 0;
}

.category-sidebar .cat-accordion-panel .cat-accordion-row {
    padding-left: 36px;
    min-height: 40px;
}

.category-sidebar .cat-accordion-panel .cat-accordion-link {
    font-size: 13px;
    font-weight: 400;
    color: #3d4143;
    padding-top: 10px;
    padding-bottom: 10px;
}

.category-sidebar .cat-accordion-panel .cat-accordion-item {
    border-bottom-color: #f3f3f3;
}

.category-sidebar .cat-accordion-panel .cat-accordion-item.is-active > .cat-accordion-row {
    background: #e8f3f5;
}

.category-sidebar .cat-accordion-panel .cat-accordion-panel .cat-accordion-row {
    padding-left: 52px;
}

.category-main {
    min-width: 0;
}

.nav-categories .nav-category-link,
.nav-categories .nav-dropdown-trigger {
    color: var(--amazon-text);
    padding: 10px 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-categories .nav-category-link:hover,
.nav-categories .nav-dropdown-trigger:hover {
    border-color: transparent;
    text-decoration: none;
    color: var(--amazon-dark);
    background: #f5f5f5;
    border-radius: 6px;
}

/* Legacy selector kept for any remaining direct nav links */
.header-nav > .container > a {
    color: var(--amazon-text);
    padding: 8px 10px;
    font-size: 14px;
    white-space: nowrap;
    border: 1px solid transparent;
    text-decoration: none;
}
.header-nav > .container > a:hover {
    border-color: var(--amazon-light-gray);
    text-decoration: none;
    color: var(--amazon-text);
    background: #f5f5f5;
    border-radius: 6px;
}

.nav-deals { color: var(--amazon-dark) !important; font-weight: 700; }

.nav-dropdown-wrap { position: relative; }

.nav-dropdown-trigger {
    color: var(--amazon-text);
    padding: 14px 10px;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid transparent;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-mega-wrap:hover .nav-dropdown-trigger,
.nav-mega-wrap:focus-within .nav-dropdown-trigger {
    border-color: transparent;
    border-bottom-color: #111;
    text-decoration: none;
    color: #111;
    background: transparent;
}

/* Full-width Sanipex-style mega panel */
.header-nav {
    position: relative;
    overflow: visible;
}

/* Mega panel is positioned against the nav bar so it stays in the viewport */
.nav-mega-wrap {
    position: static;
}

.nav-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    transform: none;
    width: auto;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    border: 1px solid #ececec;
    z-index: 2100;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    margin-top: -2px; /* overlap label so cursor never hits empty space */
}

/* Extend label hit-area straight down into the panel */
.nav-mega-wrap.is-open .nav-dropdown-trigger,
.nav-mega-wrap:hover .nav-dropdown-trigger {
    z-index: 2102;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.nav-mega-wrap.is-open .nav-mega,
.nav-mega-wrap:hover .nav-mega,
.nav-mega-wrap:focus-within .nav-mega {
    display: flex;
}

/* Full-width bridge under the nav while mega is open */
.nav-mega-bridge {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 24px;
    margin-top: -2px;
    z-index: 2099;
}

.nav-mega-wrap.is-open,
.nav-mega-wrap:hover,
.nav-mega-wrap:focus-within {
    position: static;
}

.nav-mega-wrap.is-open .nav-mega-bridge,
.nav-mega-wrap:hover .nav-mega-bridge {
    display: block;
}

.nav-mega-sidebar {
    flex: 0 0 240px;
    background: #fff;
    border-right: 1px solid #ececec;
    padding: 18px 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-mega-side-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: none;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    padding: 12px 14px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.nav-mega-side-item:hover,
.nav-mega-side-item.is-active {
    background: #edd9bc;
    color: #111;
}

.nav-mega-chevron {
    opacity: 0.55;
    font-size: 13px;
}

.nav-mega-side-all {
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1a3a6b;
    text-decoration: none;
}

.nav-mega-side-all:hover {
    text-decoration: underline;
    color: #1a3a6b;
}

.nav-mega-main {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.nav-mega-panel {
    display: none;
    height: 100%;
    padding: 28px 28px 24px;
    gap: 28px;
    align-items: stretch;
}

.nav-mega-panel.is-active {
    display: flex;
}

.nav-mega-links {
    flex: 1;
    min-width: 0;
    column-count: 2;
    column-gap: 40px;
    align-content: start;
}

.nav-mega-link {
    break-inside: avoid;
    display: block;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    line-height: 1.35;
}

.nav-mega-link:hover {
    color: #1a3a6b;
    text-decoration: none;
}

.nav-mega-link--all {
    font-weight: 700;
    margin-bottom: 4px;
}

.nav-mega-feature {
    flex: 0 0 220px;
    width: 220px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f3;
    text-decoration: none;
    min-height: 240px;
}

.nav-mega-feature:hover { text-decoration: none; }

.nav-mega-feature img {
    display: block;
    width: 100%;
    flex: 1;
    object-fit: contain;
    object-position: center;
    min-height: 180px;
    padding: 10%;
    box-sizing: border-box;
    background: #fff;
}

.nav-mega-feature-label {
    display: block;
    background: #edd9bc;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    padding: 12px 10px;
}

/* Simple dropdowns (Lighting, etc.) — kept inside the viewport via JS clamp */
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 24px));
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e8e8e8;
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
    z-index: 2200;
}

.nav-dropdown-wrap:not(.nav-mega-wrap) {
    position: relative;
}

.nav-dropdown-wrap:not(.nav-mega-wrap):hover .nav-dropdown,
.nav-dropdown-wrap:not(.nav-mega-wrap):focus-within .nav-dropdown { display: block; }

.nav-lighting-wrap .nav-dropdown-trigger,
.nav-dropdown-wrap .nav-dropdown-trigger {
    cursor: pointer;
}
.nav-lighting-menu,
.nav-dropdown-wrap .nav-dropdown {
    min-width: 220px;
}
.nav-dropdown-wrap:hover .nav-dropdown-trigger,
.nav-dropdown-wrap:focus-within .nav-dropdown-trigger {
    color: var(--sx-navy, #1a3a6b);
    border-bottom-color: #111;
}

.nav-dropdown a {
    display: block;
    color: var(--amazon-text);
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.nav-dropdown a:hover {
    background: #f5f7fa;
    color: var(--sx-navy, #1a3a6b);
    text-decoration: none;
}

.nav-dropdown-nested {
    padding-left: 28px !important;
    font-size: 13px;
    color: var(--amazon-gray) !important;
}

.subcategory-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.subcategory-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: var(--amazon-white);
    border: 1px solid var(--amazon-light-gray);
    color: var(--amazon-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.subcategory-pill:hover {
    border-color: var(--amazon-orange);
    color: var(--amazon-text);
    text-decoration: none;
}

.subcategory-pill.active {
    background: var(--amazon-dark);
    border-color: var(--amazon-dark);
    color: var(--amazon-white);
}

.catalog-section {
    padding: 40px 0 12px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px 16px;
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 36px 24px;
    border: 1px solid var(--amazon-light-gray);
    box-shadow: none;
}

.catalog-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.catalog-item:hover {
    background: #f7f7f7;
    text-decoration: none;
    transform: translateY(-2px);
}

.catalog-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    margin-bottom: 10px;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.catalog-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.catalog-icon svg {
    width: 70px;
    height: 70px;
}

.catalog-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--amazon-text);
    line-height: 1.3;
}

/* Flash messages */
.flash-message {
    padding: 12px 16px;
    text-align: center;
    font-weight: 500;
}
.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }
.flash-info { background: #d1ecf1; color: #0c5460; }

/* Hero */
.hero-banner {
    background: linear-gradient(135deg, #1c1c1c 0%, #2a3d52 100%);
    color: white;
    padding: 72px 0;
    text-align: center;
    margin-bottom: 24px;
}

.hero-banner h1 { font-size: 2.5rem; margin-bottom: 12px; }
.hero-banner p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 24px; }

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}
.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--sx-navy);
    color: #fff;
    border: 1px solid var(--sx-navy);
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px 28px;
}
.btn-primary:hover { background: var(--sx-navy-dark); color: #fff; }

.btn-secondary {
    background: #fff;
    color: var(--sx-text);
    border: 1px solid #ccc;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px 28px;
}
.btn-secondary:hover { background: #f5f5f5; color: var(--sx-text); }

.btn-dark {
    background: var(--sx-text);
    color: #fff;
}
.btn-dark:hover { background: #111; color: #fff; }

.sx-muted-text { color: var(--sx-muted); font-size: 13px; }
.sx-pdp-btn,
.sx-cart-cta {
    width: 100%;
    text-align: center;
    border-radius: 999px;
    margin-top: 8px;
}
.sx-pdp .product-actions { display: grid; gap: 10px; }

/* Section */
.section { padding: 36px 0; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-link { font-size: 14px; }

/* Product Grid — fixed columns so browser zoom (50% / 67%) does not reflow card size */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
}
@media (max-width: 1100px) {
    .product-grid,
    .sx-switch-layout .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .product-grid,
    .sx-switch-layout .product-grid,
    .catalog-grid,
    .sx-featured-grid,
    .sx-collections-grid,
    .sx-brands-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-card,
    .product-card-link,
    .product-card-body,
    .sx-featured-card {
        min-width: 0;
    }
    .product-card-spec-list {
        grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    }
    .product-card-spec-label,
    .product-card-availability {
        white-space: normal;
    }
    .product-card-actions {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
    }
    .product-card-availability {
        flex: 1 1 100%;
        font-size: 11px;
    }
    .product-card-contact {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

.product-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.product-card-link,
.product-card-body {
    display: block;
    text-decoration: none;
    color: inherit;
}
.product-card-link:hover,
.product-card-body:hover {
    text-decoration: none;
    color: inherit;
}
.product-card-media {
    display: block; /* span must be block or padding-bottom aspect box collapses to 0 */
    position: relative;
    width: 100%;
    /* Square frames match product photos across Lighting / Indoor-Outdoor / Track / Switches */
    height: 0;
    padding-bottom: 100%; /* 1:1 */
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    margin-bottom: 14px;
    box-sizing: border-box;
}
.product-card-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    /* Always show the full product — never crop */
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff;
    border-radius: 0;
    margin: 0;
    display: block;
    /* Padding on <img> + object-fit + overflow clips the fixture. Inset the box instead. */
    padding: 0 !important;
    box-sizing: border-box;
}
.product-card:hover .product-card-image { transform: none; }

/* Track Light supplier shots are tight crops; inset them to match the padded catalog photos */
.catalog-page--track-light .product-card-image[src*="superlightingled.com"] {
    top: 14%;
    left: 14%;
    right: auto;
    bottom: auto;
    width: 72% !important;
    height: 72% !important;
}

/* Frame Light: inset the box (not img padding) so the full photo sits inside */
.catalog-page--frame-light .product-card-image,
.catalog-page--recessed-down-light .product-card-image,
.catalog-page--trimless-spot-light .product-card-image,
.catalog-page--hermit .product-card-image {
    padding: 0 !important;
    top: 7%;
    left: 7%;
    right: auto;
    bottom: auto;
    width: 86% !important;
    height: 86% !important;
}

/* Baccarat black studio shots */
.catalog-page--baccarat .product-card-media,
.catalog-page--baccarat .product-card-image {
    background: #000;
}
.catalog-page--baccarat .product-card-image {
    padding: 4%;
}

.product-card-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}
.product-card-availability {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    line-height: 1.25;
    white-space: nowrap;
}
.product-card-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    width: auto;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.product-card-contact:hover {
    background: #000;
    color: #fff !important;
}
.product-card-contact svg {
    flex-shrink: 0;
}

.product-swatches {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    min-height: 40px;
}
.product-swatch {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: var(--swatch-color, #ddd);
    background-image: var(--swatch-image, none);
    background-size: cover;
    background-position: center;
    border: 1px solid #d4d4d4;
    box-shadow: none;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.product-swatch.has-texture {
    border-color: #cfcfcf;
}
.product-swatch:hover {
    transform: translateY(-1px);
    text-decoration: none;
}
.product-swatch.is-active {
    border: 2px solid #111;
    box-shadow: none;
}
.product-swatch-check {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    pointer-events: none;
}
.product-swatch-more {
    font-size: 13px;
    font-weight: 500;
    color: var(--sx-text, #303030);
    text-decoration: none;
    padding-left: 2px;
}
.product-swatch-more:hover { text-decoration: underline; color: inherit; }
.product-swatches--pdp {
    margin: 4px 0 18px;
}
.product-swatches--pdp .product-swatch {
    width: 40px;
    height: 40px;
}

/* Sanipex-style Filter By sidebar */
.sx-filters {
    background: #fff;
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 4px 8px 24px 0;
    scrollbar-width: thin;
}
.sx-filters-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 18px;
    border-bottom: 1px solid #e8e8e8;
}
.sx-filters-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}
.sx-filters-clear {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    white-space: nowrap;
}
.sx-filters-clear:hover { color: #111; }
.sx-filter-section {
    border-bottom: 1px solid #e8e8e8;
    padding: 4px 0 10px;
}
.sx-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 12px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-align: left;
}
.sx-filter-toggle-icon {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #111;
}
.sx-filter-section:not(.is-open) .sx-filter-body { display: none; }
.sx-filter-list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}
.sx-filter-item { margin: 0; }
.sx-filter-check {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #222;
}
.sx-filter-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sx-filter-box {
    width: 18px;
    height: 18px;
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    background: #fff;
    position: relative;
}
.sx-filter-check input:checked + .sx-filter-box {
    border-color: #111;
    background: #111;
}
.sx-filter-check input:checked + .sx-filter-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.sx-filter-label {
    min-width: 0;
    line-height: 1.3;
}
.sx-filter-count {
    color: #9a9a9a;
    font-size: 13px;
    font-weight: 400;
}
.sx-filter-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #111;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.sx-filter-more:hover { text-decoration: underline; }
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.sx-filter-colours {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 4px 0 16px;
}
.sx-filter-colour {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.sx-filter-colour input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sx-filter-colour-swatch {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: var(--swatch-color, #ddd);
    background-image: var(--swatch-image, none);
    background-size: cover;
    background-position: center;
    border: 1px solid #d4d4d4;
    box-shadow: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.sx-filter-colour.is-active .sx-filter-colour-swatch,
.sx-filter-colour input:checked + .sx-filter-colour-swatch {
    border: 2px solid #111;
    transform: none;
}
.sx-filter-colour.is-active .sx-filter-colour-swatch::after,
.sx-filter-colour input:checked + .sx-filter-colour-swatch::after {
    content: '';
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat;
    border: 2px solid #fff;
}
.sx-filter-colour-name {
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sx-switch-layout .category-main {
    min-width: 0;
}
.sx-switch-layout .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.product-card-specs {
    display: block;
    text-align: left;
    font-size: 12px;
    color: var(--sx-muted, #666);
    margin-bottom: 6px;
    line-height: 1.35;
}
.product-card-spec-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 8px;
    row-gap: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--sx-muted, #666);
    text-align: left;
}
.product-card-spec-list li {
    display: contents;
}
.product-card-spec-label {
    font-weight: 500;
    white-space: nowrap;
}
.product-card-spec-label::after {
    content: ' :';
}
.product-card-spec-value {
    min-width: 0;
}
.product-card-brand {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--sx-text, #303030);
    margin-bottom: 2px;
}
.product-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--sx-text, #303030);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    line-height: 1.4;
}
.product-card-body:hover .product-card-title { text-decoration: underline; }
.product-price { display: none !important; }
.product-detail-price { display: none !important; }

.stars { color: #c9a227; font-size: 14px; }
.star-empty { color: #ddd; }

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 13px;
}

.review-count { color: var(--amazon-blue); font-size: 13px; }

.product-price {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--sx-text, #303030);
}

.product-price .price-symbol { font-size: 0.75rem; vertical-align: super; }

.product-sku {
    font-size: 11px;
    color: var(--sx-muted, #666);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.product-shipping { font-size: 12px; color: var(--amazon-gray); margin-bottom: 12px; }

.sx-catalog-page { padding: 28px 0 56px; }
.sx-catalog-page--hero { padding-top: 18px; }

/* Sanipex-style long category hero — px sizes so browser zoom scales the strip */
.sx-cat-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4.8 / 1;
    height: auto;
    min-height: 140px;
    max-height: 280px;
    overflow: hidden;
    background: #1a1a1a;
    display: flex;
    align-items: center;
}
.sx-cat-hero-media {
    position: absolute;
    inset: 0;
    background-image: var(--sx-cat-hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.sx-cat-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.35) 38%,
        rgba(0, 0, 0, 0.1) 68%,
        rgba(0, 0, 0, 0.18) 100%
    );
    pointer-events: none;
}
.sx-cat-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: left;
    padding-top: 28px;
    padding-bottom: 28px;
}
.sx-cat-hero-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.sx-cat-hero-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.sx-cat-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    font-size: 13px;
    color: #777;
}
.sx-cat-breadcrumb a { color: #777; text-decoration: none; }
.sx-cat-breadcrumb a:hover { color: #111; text-decoration: underline; }
.sx-cat-crumb-sep { color: #bbb; }
.sx-catalog-toolbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 4px;
    padding-bottom: 8px;
}
.sx-catalog-toolbar .sx-filters-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}
.sx-catalog-count {
    margin: 0;
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}
.sx-switch-layout {
    margin-top: 0;
}
.sx-filters-head--compact {
    padding-top: 0;
    padding-bottom: 10px;
    justify-content: flex-end;
    border-bottom: 0;
}
@media (max-width: 768px) {
    .sx-cat-hero {
        aspect-ratio: 2.2 / 1;
        max-height: 200px;
        min-height: 120px;
    }
    .sx-cat-hero-text {
        max-width: 100%;
        font-size: 0.9rem;
    }
    .sx-catalog-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }
    .sx-filters {
        position: static;
        max-height: none;
        overflow: visible;
    }
}
.sx-page-header {
    margin-bottom: 24px;
    text-align: left;
}
.sx-page-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--sx-text, #303030);
    margin-bottom: 6px;
}
.sx-page-header p {
    color: var(--sx-muted, #666);
    font-size: 14px;
}

.add-to-cart-form { margin-top: auto; }
.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background: var(--sx-navy, #002d72);
    border: 1px solid var(--sx-navy, #002d72);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.add-to-cart-btn:hover { background: var(--sx-navy-dark, #001f52); color: #fff; }

/* Category cards on homepage */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.category-card {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.category-card h3 { font-size: 1.1rem; margin-bottom: 12px; }

.category-card-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.category-card-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    background: #f2f2f2;
    border-radius: 4px;
}

.category-card-link { font-size: 13px; font-weight: 600; }

/* Product Detail */
.product-detail,
.sx-product-detail {
    background: transparent;
    border-radius: 0;
    padding: 8px 0 32px;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 12px 0 28px;
}

.product-detail-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 — match catalog cards */
    background: #fff;
    box-sizing: border-box;
    border: 1px solid #ebebeb;
    overflow: hidden;
}
.product-detail-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: #fff;
    margin: 0;
    display: block;
    padding: 0;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    box-sizing: border-box;
}

.sx-admin-edit-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #f3f6f8;
    border: 1px solid #e2e8ee;
}

.sx-admin-edit-bar .btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.product-detail-info h1,
.sx-pdp-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 14px;
    line-height: 1.25;
}

.sx-pdp-brand {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a9a9a;
}

.sx-pdp-sku {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.sx-pdp-sku-icon { color: #666; flex-shrink: 0; }

.sx-pdp-price {
    margin: 0 0 22px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
}

.sx-pdp-finish { margin: 0 0 20px; }
.sx-pdp-finish-label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.sx-pdp-finish-label span {
    font-weight: 400;
    color: #666;
    margin-left: 6px;
}

.sx-pdp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sx-pdp-swatch {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--swatch-color, #ddd);
    background-image: var(--swatch-image, none);
    background-size: cover;
    background-position: center;
    border: 1px solid #d4d4d4;
    box-shadow: none;
    text-decoration: none;
    flex-shrink: 0;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.sx-pdp-swatch:hover { transform: translateY(-1px); text-decoration: none; }
.sx-pdp-swatch.is-active {
    border: 2px solid #111;
    box-shadow: none;
}
.sx-pdp-swatch-check {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.sx-pdp-size { margin: 0 0 24px; }
.sx-pdp-size-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.sx-pdp-size-value {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #222;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: #fff;
}

.sx-pdp-availability {
    margin: 0 0 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.sx-pdp-availability-label {
    margin: 0;
    flex: 0 1 auto;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.sx-pdp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}
.sx-pdp-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    flex: 1 1 220px;
    max-width: 320px;
    transition: background 0.2s ease;
}
.sx-pdp-contact:hover {
    background: #000;
    color: #fff !important;
}
.sx-pdp-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #222;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    font: inherit;
    transition: background 0.15s ease;
}
.sx-pdp-icon-btn:hover {
    background: #f5f5f5;
    color: #222;
    text-decoration: none;
}
.sx-pdp-lead {
    margin: 12px 0 0;
    font-size: 13px;
    color: #8a2a2a;
}

.product-detail-desc {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--amazon-light-gray);
}

.product-detail-desc h3 { font-size: 16px; margin-bottom: 8px; }
.product-detail-desc p { color: var(--amazon-gray); line-height: 1.7; }

.product-specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-specs th { text-align: left; padding: 8px 12px 8px 0; color: var(--amazon-gray); font-weight: 500; width: 40%; vertical-align: top; }
.product-specs td { padding: 8px 0; color: var(--amazon-text); }

/* Legacy ATC styles kept for cart page only */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.qty-selector label { font-weight: 600; }
.qty-selector select {
    padding: 6px 12px;
    border: 1px solid var(--amazon-light-gray);
    border-radius: 8px;
    background: #f0f2f2;
    font-size: 14px;
}
.product-actions { display: flex; flex-direction: column; gap: 8px; max-width: 300px; }

/* Cart */
.cart-page { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin: 20px 0; }

.cart-items {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.cart-items h1 { font-size: 1.5rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--amazon-light-gray); }

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--amazon-light-gray);
    align-items: start;
}

.cart-item-image {
    width: 120px;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f2f2f2;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

.cart-item-info h3 { font-size: 16px; margin-bottom: 4px; }
.cart-item-info h3 a { color: var(--amazon-blue); }

.cart-item-price { font-size: 18px; font-weight: 700; margin-top: 8px; }

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-actions select {
    padding: 4px 8px;
    border: 1px solid var(--amazon-light-gray);
    border-radius: 8px;
    background: #f0f2f2;
}

.cart-item-actions button, .cart-item-actions a {
    font-size: 13px;
    color: var(--amazon-blue);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.cart-item-actions button:hover, .cart-item-actions a:hover { text-decoration: underline; }

.cart-item-subtotal { font-size: 18px; font-weight: 700; text-align: right; }

.cart-summary {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.cart-summary-total { font-size: 18px; margin-bottom: 4px; }
.cart-summary-total span { font-weight: 700; font-size: 22px; }

.cart-summary-shipping { font-size: 13px; color: var(--sx-muted); margin-bottom: 16px; }

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--amazon-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { color: var(--amazon-gray); margin-bottom: 20px; }

/* Auth pages */
.auth-page {
    max-width: 400px;
    margin: 40px auto;
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.auth-page h1 { font-size: 1.5rem; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--sx-navy);
    box-shadow: 0 0 0 3px rgba(0, 45, 114, 0.12);
}

.form-error { color: var(--amazon-red); font-size: 13px; margin-bottom: 12px; }

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--amazon-gray);
    font-size: 12px;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--amazon-light-gray);
}

.auth-divider span { background: var(--amazon-white); padding: 0 8px; position: relative; }

/* Checkout */
.checkout-page { max-width: 800px; margin: 20px auto; }

.checkout-section {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.checkout-section h2 { font-size: 1.2rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--amazon-light-gray); }

.checkout-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    align-items: center;
}

.checkout-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--amazon-light-gray);
    margin-top: 12px;
}

/* Orders */
.orders-list { margin: 20px 0; }

.order-card {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--amazon-light-gray);
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.order-meta { font-size: 13px; color: var(--amazon-gray); }
.order-meta span { display: block; }
.order-meta strong { color: var(--amazon-text); }

.order-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d4edda; color: #155724; }
.status-delivered { background: #d1ecf1; color: #0c5460; }

.order-item-row {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    align-items: center;
}

.order-item-row img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }

.breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: var(--amazon-gray);
}

.breadcrumb a { color: var(--amazon-blue); }

.page-header {
    padding: 16px 0;
}

.page-header h1 { font-size: 1.6rem; }

/* Account page */
.account-page { display: grid; grid-template-columns: 250px 1fr; gap: 20px; margin: 20px 0; }

.account-sidebar {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.account-sidebar h3 { margin-bottom: 12px; font-size: 1rem; }
.account-sidebar a { display: block; padding: 8px 0; font-size: 14px; color: var(--amazon-text); }
.account-sidebar a:hover { color: var(--amazon-blue); }
.account-sidebar a.active { color: var(--amazon-blue); font-weight: 700; }

.account-content {
    background: var(--amazon-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

/* Footer */
.site-footer { margin-top: 40px; }

.back-to-top {
    display: block;
    background: #2a2a2a;
    color: var(--amazon-white);
    text-align: center;
    padding: 14px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}
.back-to-top:hover { background: #3a3a3a; color: var(--amazon-white); text-decoration: none; }

.footer-links { background: #222222; padding: 48px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-col h4 { color: var(--amazon-white); font-size: 14px; margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.footer-col a { display: block; color: #bbb; font-size: 14px; padding: 5px 0; text-decoration: none; }
.footer-col a:hover { text-decoration: none; color: var(--amazon-white); }

.footer-bottom {
    background: #1c1c1c;
    padding: 30px 0;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo-text {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
}
.footer-logo-img {
    display: none;
    height: 64px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: none;
}

/* Hero slider — full-bleed imagery, light overlay so photos stay visible */
.hero-slider { position: relative; height: 520px; overflow: hidden; background: #f0f0f0; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
    background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-inner {
    color: #fff;
    max-width: 560px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-eyebrow { color: #fff; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; opacity: 0.9; }
.hero-slide-inner h1 { font-size: 2.8rem; margin-bottom: 14px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.hero-slide-inner p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 24px; font-weight: 400; max-width: 420px; }
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    background: rgba(255,255,255,.85); border: none; color: #1c1c1c; width: 48px; height: 48px;
    border-radius: 50%; cursor: pointer; font-size: 18px; box-shadow: var(--shadow);
}
.hero-nav:hover { background: #fff; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dot.active { background: #fff; }

.section-title.center, .center { text-align: center; }
.section-subtitle { text-align: center; color: var(--amazon-gray); max-width: 720px; margin: 8px auto 24px; line-height: 1.6; }

.brands-section { background: var(--amazon-white); padding: 48px 0; border-bottom: 1px solid var(--amazon-light-gray); }
.brands-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 36px; }
.brand-logo {
    height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.85;
    filter: grayscale(15%);
    transition: opacity 0.2s, filter 0.2s;
}
.brand-logo:hover { opacity: 1; filter: none; }
.brand-logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 8px;
    border-left: 1px solid #e0e0e0;
}

.solutions-section { padding: 56px 0; background: #f7f7f7; border-top: 1px solid var(--amazon-light-gray); }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution-tile {
    position: relative;
    height: 240px;
    border-radius: 14px;
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.solution-tile:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
.solution-tile-media {
    flex: 1;
    position: relative;
    min-height: 0;
    overflow: hidden;
}
.solution-tile-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}
.solution-tile-label {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 18px 18px;
}

/* Haberdashery-style collection pages (Leaf / Flux / Crystalline) */
.collection-page {
    background: #ecece6;
    padding-bottom: 80px;
}
.collection-breadcrumb {
    padding-top: 16px;
    padding-bottom: 8px;
    background: #ecece6;
}
.collection-breadcrumb .subcategory-nav {
    margin-top: 14px;
    margin-bottom: 8px;
}
.collection-hero {
    position: relative;
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    overflow: hidden;
    background: #ecece6;
}
.collection-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #ecece6;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.collection-hero-slide.is-active { opacity: 1; }
.collection-hero-slide video,
.collection-hero-slide img.collection-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #ecece6;
}

.collection-hero-pause {
    position: absolute;
    top: 22px;
    left: 28px;
    z-index: 3;
    border: none;
    background: transparent;
    color: rgba(34, 34, 34, 0.75);
    font-size: 14px;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}
.collection-hero-label {
    position: absolute;
    top: 24px;
    right: 36px;
    z-index: 3;
    color: rgba(34, 34, 34, 0.88);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.04em;
}
.collection-hero-dots {
    position: absolute;
    right: 36px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 10px;
}
.collection-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(34, 34, 34, 0.35);
    cursor: pointer;
    padding: 0;
}
.collection-hero-dot.is-active { background: #c76f52; }

/* Shop: cap width so Ctrl+/- zoom shrinks the page, and show full products (contain) */
.collection-page--shop .collection-showcase,
.collection-page--shop .collection-hero {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.collection-page--shop .collection-hero {
    height: 640px;
    min-height: 640px;
    max-height: 640px;
    background: #ecece6;
}
.collection-page--shop .collection-hero-slide img.collection-hero-media,
.collection-page--shop .collection-hero-slide video {
    object-fit: contain !important;
    object-position: center center !important;
    background: #ecece6;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}
.collection-page--shop .collection-gallery-media {
    /* Portrait frames suit tall shop product shots — less side empty space */
    padding-bottom: 125%; /* 4:5 */
    background: #ecece6;
}
.collection-page--shop .collection-gallery-media img,
.collection-page--shop .collection-gallery-media--contain img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 4%;
    background: #ecece6;
}

/* Tamar: tall chandelier shots — show full fixture, no crop */
.collection-page--tamar .collection-gallery-media {
    padding-bottom: 140%; /* ~5:7 portrait */
    background: #ecece6;
}
.collection-page--tamar .collection-gallery-media img,
.collection-page--tamar .collection-gallery-media--contain img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 6%;
    background: #ecece6;
}
.collection-page--tamar .collection-hero-slide img.collection-hero-media {
    object-fit: contain !important;
    object-position: center center !important;
    background: #ecece6;
}
.collection-body {
    padding: 0 40px;
}
.collection-intro-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin: 40px 0 48px;
    padding: 0 20px;
}
.collection-intro-row--split {
    gap: 36px 48px;
    align-items: stretch;
}
.collection-intro {
    max-width: 66.666%;
    flex: 1 1 auto;
    text-align: left;
}
.collection-intro-row--split .collection-intro {
    max-width: 48%;
    flex: 1 1 46%;
}
.collection-intro-label {
    flex: 0 0 auto;
    color: #8a8682;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding-top: 4px;
    white-space: nowrap;
}
.collection-side-panel {
    flex: 0 1 42%;
    max-width: 380px;
    min-width: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.collection-side-panel .collection-intro-label {
    align-self: flex-end;
    padding-top: 0;
    white-space: nowrap;
}
.collection-materials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}
.collection-material-tile {
    position: relative;
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e8e4de;
    box-shadow: inset 0 0 0 1px rgba(180, 140, 80, 0.35);
}
.collection-material-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.collection-material-tile figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 8px 7px;
    color: #fff;
    font-size: 10px;
    line-height: 1.25;
    text-align: left;
    letter-spacing: 0.01em;
    background: linear-gradient(to top, rgba(92, 68, 36, 0.82) 0%, rgba(92, 68, 36, 0.4) 55%, transparent 100%);
}
.collection-cases-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    width: 100%;
}
.collection-case-card {
    margin: 0;
}
.collection-case-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e4de;
    margin-bottom: 6px;
}
.collection-case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.collection-case-card__title {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 600;
    color: #3d3a37;
    line-height: 1.3;
}
.collection-case-card__desc {
    margin: 0;
    font-size: 10px;
    line-height: 1.35;
    color: #8a8682;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.collection-tagline {
    font-size: 1.55rem;
    font-weight: 600;
    color: #3d3a37;
    margin: 0 0 24px;
    line-height: 1.35;
    letter-spacing: 0.01em;
}
.collection-copy {
    color: #6b6763;
    line-height: 1.7;
    margin: 0 0 18px;
    font-size: 15px;
    max-width: 52rem;
}
.collection-brochure {
    display: inline-block;
    margin-top: 8px;
    color: #c76f52;
    font-size: 16px;
    text-decoration: none;
}
.collection-brochure:hover {
    color: #a8573d;
    text-decoration: none;
}
.collection-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 0;
    margin: 0 -20px;
    padding: 0;
}
.collection-gallery-item {
    text-align: left;
    padding: 0 20px;
}
.collection-gallery-media {
    display: block; /* <a> is inline by default — without this the frame collapses to 0×0 */
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 — match product cards */
    background: #ecece6;
    overflow: hidden;
    margin-bottom: 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}
.collection-gallery-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    transition: opacity 0.25s ease;
}
.collection-gallery-media:hover img {
    transform: none;
    opacity: 0.96;
}

.collection-gallery-media--contain img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0;
    background: #ecece6;
}
.collection-gallery-caption {
    display: block;
    color: #5b5754;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
}
a.collection-gallery-caption:hover {
    color: #c76f52;
    text-decoration: none;
}

.about-stats-section { padding: 48px 0; background: var(--amazon-white); }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 1.6rem; margin-bottom: 16px; }
.about-text p { color: var(--amazon-gray); line-height: 1.7; margin-bottom: 12px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box { background: var(--amazon-bg); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.stat-box strong { display: block; font-size: 2rem; color: var(--amazon-dark); margin-bottom: 4px; }
.stat-box span { font-size: 13px; color: var(--amazon-gray); }

.applications-section { padding: 48px 0; }
.applications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { background: var(--amazon-white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.app-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--amazon-nav); }
.app-card p { font-size: 14px; color: var(--amazon-gray); line-height: 1.6; }

.testimonials-section { padding: 48px 0; background: var(--amazon-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial-card { background: var(--amazon-bg); border-left: 4px solid var(--amazon-orange); padding: 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0; }
.testimonial-card p { font-style: italic; color: var(--amazon-gray); line-height: 1.6; margin-bottom: 12px; }

.trust-section { padding: 40px 0; background: var(--amazon-nav); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.trust-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--amazon-orange); }
.trust-item p { font-size: 14px; opacity: 0.9; line-height: 1.5; }

.cta-section { padding: 56px 0; background: linear-gradient(135deg, var(--amazon-dark), var(--amazon-nav)); }
.cta-inner { text-align: center; color: #fff; }
.cta-inner h2 { font-size: 2rem; margin-bottom: 8px; }
.cta-inner p { opacity: 0.9; margin-bottom: 20px; }

.product-card-top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 24px; margin-bottom: 4px; }
.product-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; letter-spacing: 0.06em; }
.badge-featured { background: #2a3d52; color: #fff; }
.badge-special { background: #8b3a2a; color: #fff; }
.badge-bestseller { background: #1c1c1c; color: #fff; }
.badge-new { background: #2d5a45; color: #fff; }
.product-quick-links a { font-size: 11px; color: var(--amazon-blue); text-decoration: none; }
.product-sku { font-size: 11px; color: var(--sx-muted); margin-bottom: 4px; letter-spacing: 0.04em; }
.product-sku-detail { font-size: 12px; color: var(--sx-muted); margin-bottom: 10px; letter-spacing: 0.06em; text-transform: uppercase; }

.all-menu-divider { height: 1px; background: #ddd; margin: 8px 0; }

.page-content { padding: 20px 0 40px; }
.about-page, .contact-page { max-width: 800px; background: var(--amazon-white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-page .lead { font-size: 1.1rem; color: var(--amazon-gray); margin-bottom: 16px; }
.inline-stats { margin-top: 32px; }
.contact-form { margin-top: 24px; max-width: 520px; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-categories { display: none; }
    .nav-all-btn { padding: 10px 14px; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .header-top-inner { flex-wrap: wrap; gap: 8px; }
    .logo { flex: 1; min-width: 0; }
    .logo-wordmark { font-size: 1.05rem; letter-spacing: 0.06em; }
    .sx-hero-inner h1,
    .sx-hero-inner h2 { font-size: 1.7rem; }
    .sx-cat-hero-title { font-size: 1.6rem; }
    .search-form { order: 3; width: 100%; max-width: 100%; }
    .header-orders { display: none; }
    .account-link { font-size: 12px; }
    .nav-inner { flex-wrap: nowrap; }
    .nav-all-label { font-size: 13px; }
    .all-menu-panel { width: min(100vw, 360px); }
    .category-layout { grid-template-columns: 1fr; }
    .category-sidebar { position: static; max-height: none; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-page { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .account-page { grid-template-columns: 1fr; }
    .hero-banner h1 { font-size: 1.8rem; }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; padding: 20px 12px; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .collection-gallery { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
    .collection-hero { height: 360px; min-height: 360px; max-height: 360px; }
    .collection-page--shop .collection-hero { height: 480px; min-height: 480px; max-height: 480px; }
    .collection-body { padding: 0 16px; }
    .collection-intro-row { margin: 28px 0 32px; padding: 0 8px; }
    .collection-intro-row--split {
        flex-direction: column;
        gap: 28px;
    }
    .collection-intro,
    .collection-intro-row--split .collection-intro { max-width: 100%; }
    .collection-side-panel {
        max-width: 100%;
        align-items: stretch;
    }
    .collection-side-panel .collection-intro-label {
        align-self: flex-start;
        display: block;
    }
    .collection-intro-label { display: none; }
    .collection-materials-grid { gap: 6px; }
    .collection-material-tile figcaption { font-size: 9px; padding: 18px 4px 6px; }
    .collection-gallery { margin: 0 -8px; }
    .collection-gallery-item { padding: 0 8px; }
    .about-stats-grid { grid-template-columns: 1fr; }
    .applications-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .hero-slide-inner h1 { font-size: 1.6rem; }
    .hero-slider { height: 360px; }
}

@media (max-width: 480px) {
    .account-label, .orders-label { display: none; }
    .cart-label { display: none; }
    .nav-static { display: none; }
    .nav-all-btn { width: auto; justify-content: flex-start; }
    .nav-inner { padding: 0; }
    .product-grid,
    .sx-switch-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item-subtotal { grid-column: 2; text-align: left; }
    .footer-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-label { font-size: 10px; }
}

/* ========== Sanipex-style layout (Aurora data) ========== */
:root {
    --sx-navy: #002d72;
    --sx-navy-dark: #001f52;
    --sx-text: #303030;
    --sx-muted: #666;
    --sx-line: #e8e8e8;
    --sx-radius: 20px;
    --sx-footer-bg: #f5f5f5;
}

.sx-header .header-utility {
    background: #f3f3f3;
    font-size: 12px;
    color: var(--sx-muted);
}
.sx-header .header-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 28px;
    gap: 16px;
}
.sx-header .header-utility-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sx-header .header-utility a { color: var(--sx-muted); }
.sx-header .header-utility a:hover { color: var(--sx-text); text-decoration: none; }

.sx-header .header-top { padding: 6px 0; }
.sx-header .header-top-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 0;
}
.sx-header .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0;
    min-height: 0;
}
.sx-header .logo-wordmark {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #111;
    line-height: 1;
}
.sx-header .logo-tagline {
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sx-muted);
    font-weight: 500;
    line-height: 1;
}

.sx-header .search-form {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #dcdcdc;
    background: #fff;
    overflow: hidden;
}
.sx-header .search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-size: 14px;
    font-family: inherit;
}
.sx-header .search-btn {
    width: 52px;
    background: transparent;
    color: var(--sx-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sx-header .search-btn:hover { background: #f5f5f5; color: var(--sx-text); }

.sx-header .header-text-link {
    color: var(--sx-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.sx-header .header-text-link:hover { color: var(--sx-navy); text-decoration: none; }
.sx-header .header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--sx-text);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    padding: 0;
}
.sx-header .header-icon-btn:hover {
    background: #f5f5f5;
    color: var(--sx-text);
    text-decoration: none;
}
.sx-header .header-cart {
    border: none;
    align-items: center;
}
.sx-header .cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    left: auto;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sx-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sx-header .header-nav {
    border-top: 1px solid var(--sx-line);
    border-bottom: none;
    overflow: visible;
}
.sx-header,
.sx-header .header-top {
    overflow: visible;
}
.sx-header .nav-inner {
    min-height: 48px;
    gap: 6px;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}
.sx-header .nav-categories {
    flex: 1;
    justify-content: center;
    gap: 0;
    min-width: 0;
    overflow: visible;
}
.sx-header .header-nav {
    overflow: visible;
    z-index: 1200;
}
.sx-header .nav-categories .nav-category-link,
.sx-header .nav-categories .nav-dropdown-trigger {
    font-size: 13px;
    font-weight: 500;
    padding: 14px 10px;
    color: var(--sx-text);
}
.sx-header .nav-categories .nav-category-link:hover {
    border-bottom: 3px solid var(--sx-navy);
    border-radius: 0;
    background: transparent;
}
.sx-header .nav-all-wrap { display: none; flex-shrink: 0; }
.sx-header .nav-all-btn {
    color: var(--sx-text);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
}
.sx-header .nav-all-btn .nav-all-label { color: var(--sx-text); }
.sx-header .nav-all-btn:hover,
.sx-header .nav-all-btn[aria-expanded="true"] {
    border-color: var(--sx-line);
    background: #f5f5f5;
    border-radius: 8px;
}
.sx-header .nav-sale-btn {
    flex-shrink: 0;
    background: var(--sx-navy);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    white-space: nowrap;
}
.sx-header .nav-sale-btn:hover {
    background: var(--sx-navy-dark);
    color: #fff !important;
    text-decoration: none;
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--sx-navy);
    color: #fff;
    text-align: center;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.promo-banner:hover { color: #fff; text-decoration: none; background: var(--sx-navy-dark); }
.promo-banner-arrow { font-weight: 700; }

/* Hero — px height so browser zoom scales it (vh fights Ctrl+/-) */
.sx-hero {
    position: relative;
    height: 520px;
    min-height: 400px;
    overflow: hidden;
    background: #111;
}
.sx-hero .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    background: #1a1a1a;
}
.sx-hero .hero-slide.active { opacity: 1; z-index: 1; }
/* Full-bleed media so the photo fills the frame (no empty top/bottom) */
.sx-hero .hero-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    background-color: #111;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.sx-hero .hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0) 0%,
        rgba(26, 26, 26, 0) 48%,
        rgba(26, 26, 26, 0.55) 62%,
        rgba(26, 26, 26, 0.92) 78%,
        #1a1a1a 100%
    );
    pointer-events: none;
}
.sx-hero .hero-slide > .container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 40px;
}
.sx-hero-inner {
    text-align: left;
    max-width: min(420px, 100%);
    width: 100%;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}
.sx-hero .hero-eyebrow {
    letter-spacing: 0.16em;
    font-size: 12px;
    margin-bottom: 12px;
    color: #fff;
    opacity: 0.95;
}
.sx-hero-inner h1,
.sx-hero-inner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    word-wrap: break-word;
}
.sx-hero-inner p {
    font-size: 0.98rem;
    margin-bottom: 18px;
    max-width: 360px;
    opacity: 0.95;
    line-height: 1.5;
}
.sx-hero-link {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.sx-hero-link:hover { color: #fff; }

.sx-hero-thumbs {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    max-width: 980px;
    width: calc(100% - 32px);
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
}
.sx-hero-thumbs::-webkit-scrollbar { display: none; }
.sx-hero-thumb {
    flex: 0 0 auto;
    width: 108px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
    padding: 0;
    position: relative;
    color: #fff;
}
.sx-hero-thumb img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #1a1a1a;
}
/* Studio product heroes (Track / Frame) — full fixture in wide thumb */
.sx-hero-thumb--fit {
    background: #f4f4f4;
}
.sx-hero-thumb--fit img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 6px 8px 18px;
    box-sizing: border-box;
    background: #f4f4f4;
}
.sx-hero .hero-slide--fit .hero-slide-media {
    background-color: #f4f4f4;
    background-size: contain;
    background-position: center center;
}
.sx-hero .hero-slide--left .hero-slide-media {
    background-position: left center;
    background-size: auto 100%;
}
.sx-hero .hero-slide--dusk {
    background: #223348;
}
.sx-hero .hero-slide--dusk .hero-slide-media {
    background-color: #223348;
    background-size: cover;
    background-position: center center;
}
.sx-hero .hero-slide--dusk .hero-slide-shade {
    background: linear-gradient(
        90deg,
        rgba(34, 51, 72, 0) 0%,
        rgba(34, 51, 72, 0) 50%,
        rgba(34, 51, 72, 0.4) 66%,
        rgba(34, 51, 72, 0.88) 82%,
        #223348 100%
    );
}
.sx-hero .hero-slide--canopy .hero-slide-media {
    right: auto;
    width: 58%;
    background-size: cover;
    background-position: center 16%;
}
.sx-hero .hero-slide--canopy .hero-slide-shade {
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0) 0%,
        rgba(26, 26, 26, 0) 44%,
        rgba(26, 26, 26, 0.28) 52%,
        rgba(26, 26, 26, 0.88) 60%,
        #1a1a1a 68%,
        #1a1a1a 100%
    );
}
.sx-hero-thumb span {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    font-size: 10px;
    font-weight: 600;
    padding: 14px 5px 5px;
    text-align: center;
    line-height: 1.15;
}
.sx-hero-thumb--fit span {
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.82));
}
.sx-hero-thumb:focus { outline: none; }
.sx-hero-thumb:focus-visible {
    outline: 2px solid rgba(255,255,255,.55);
    outline-offset: 2px;
}
.sx-hero-thumb.active {
    border-color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}

/* Featured categories — Sanipex square tiles + bottom-left tab */
.sx-featured-categories { padding: 56px 0 28px; }
.sx-section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: var(--sx-text);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.sx-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.sx-featured-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}
.sx-featured-card:hover { text-decoration: none; color: inherit; }
.sx-featured-media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--sx-radius);
    overflow: hidden;
    background: #f3f3f3;
}
.sx-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.45s ease;
}
/* Studio product thumbs (Track / Frame) — show full fixture in the square */
.sx-featured-card--fit .sx-featured-media {
    background: #fff;
}
.sx-featured-card--fit .sx-featured-img {
    object-fit: contain !important;
    padding: 10%;
    background: #fff;
}
.sx-featured-card:hover .sx-featured-img { transform: scale(1.03); }
.sx-featured-card--fit:hover .sx-featured-img { transform: none; }
.sx-featured-link {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--sx-text);
    padding: 10px 12px;
    border-radius: var(--sx-radius) 0 0 0;
    max-width: 88%;
    z-index: 1;
}
.sx-featured-label {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sx-featured-chevron {
    display: inline-flex;
    color: var(--sx-text);
    flex-shrink: 0;
}

.sx-product-rail { padding: 40px 0; }
.sx-product-rail--alt { background: #fafafa; border-top: 1px solid var(--sx-line); border-bottom: 1px solid var(--sx-line); }
.sx-rail-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.sx-rail-header .sx-section-title { text-align: left; margin-bottom: 18px; }
.sx-rail-link {
    color: var(--sx-navy);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
}
.sx-rail-link:hover { text-decoration: underline; }
.sx-product-grid { gap: 18px; }

/* Sanipex-style Recommended / Collection of the Month mosaic */
.sx-recommend { padding: 28px 0 48px; }
.sx-section-note {
    text-align: center;
    color: var(--sx-muted);
    font-size: 14px;
    margin: -8px 0 28px;
}
.sx-trends {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}
.sx-trends-left {
    flex: 1.55;
    min-width: 0;
}
.sx-trends-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.sx-trend-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.sx-trend-card:hover { text-decoration: none; color: inherit; }
.sx-trend-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #ececec;
    height: 100%;
}
.sx-trends-left .sx-trend-media {
    aspect-ratio: 449 / 591;
    min-height: 100%;
}
.sx-trends-right .sx-trend-media {
    aspect-ratio: 1 / 1;
}
.sx-trend-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.sx-trend-card:hover .sx-trend-img { transform: scale(1.03); }
.sx-trend-action {
    position: absolute;
    bottom: 0;
    left: -18px;
    display: inline-flex;
    align-items: center;
    background: var(--sx-trend-bg, #868686);
    color: #fff;
    padding: 12px 22px;
    border-radius: 0 14px 0 0;
    transition: left 0.3s ease-out;
    z-index: 2;
}
.sx-trend-card:hover .sx-trend-action { left: -3px; }
.sx-trend-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}
.sx-trend-chevron {
    flex-shrink: 0;
    transform: translateX(-10px);
    transition: transform 0.2s ease-out;
}
.sx-trend-card:hover .sx-trend-chevron { transform: translateX(0); }
.sx-trend-sale-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 36, 64, 0.55) 0%, rgba(20, 36, 64, 0.78) 100%);
    color: #fff;
}
.sx-trend-sale-overlay strong {
    font-size: 28px;
    letter-spacing: 0.14em;
    font-weight: 700;
}
.sx-trend-sale-overlay span {
    font-size: 13px;
    opacity: 0.92;
    max-width: 16ch;
    line-height: 1.35;
}
.sx-trend-sale-overlay em {
    margin-top: 6px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #fff;
    color: var(--sx-navy, #1a3358);
    padding: 8px 16px;
    border-radius: 999px;
}

.sx-brands { padding: 48px 0 36px; }
.sx-brands-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.sx-brand-tile {
    display: block;
    text-decoration: none;
    color: inherit;
}
.sx-brand-tile:hover { text-decoration: none; color: inherit; }
.sx-brand-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    border-radius: var(--sx-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid #ece7e1;
}
.sx-brand-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 14px 16px;
    box-sizing: border-box;
    transition: transform 0.45s ease;
}
.sx-brand-tile:hover .sx-brand-media img { transform: scale(1.04); }
.sx-brand-shop {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--sx-text);
}

.sx-collections { padding: 48px 0 36px; }
.sx-collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.sx-collection-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
.sx-collection-card:hover { text-decoration: none; color: inherit; }
.sx-collection-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--sx-radius);
    overflow: hidden;
    background: #eee;
}
.sx-collection-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.45s ease;
}
.sx-collection-card:hover .sx-collection-media img { transform: scale(1.03); }
.sx-collection-name {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.sx-reviews { padding: 48px 0 64px; }
.sx-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sx-review-card {
    margin: 0;
    background: #fff;
    border: 1px solid var(--sx-line);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.sx-review-stars {
    color: #c9a227;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 12px;
}
.sx-review-card p {
    color: var(--sx-text);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.sx-review-card cite {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    color: var(--sx-muted);
}

.sx-newsletter {
    background: transparent;
    border-top: none;
    padding: 48px 0 28px;
}
.sx-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.sx-newsletter h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--sx-text);
}
.sx-newsletter p { color: var(--sx-muted); font-size: 14px; }
.sx-newsletter-form {
    display: flex;
    gap: 0;
    min-width: min(420px, 100%);
    border: 1px solid #d5d5d5;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.sx-newsletter-form input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font: inherit;
    outline: none;
}
.sx-newsletter-form button {
    border: none;
    background: var(--sx-navy);
    color: #fff;
    padding: 14px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}
.sx-newsletter-form button:hover { background: var(--sx-navy-dark); }

.sx-footer {
    margin-top: 0;
    background: var(--sx-footer-bg);
    color: var(--sx-text);
}
.sx-footer .footer-links {
    background: transparent;
    padding: 20px 0 36px;
}
.sx-footer .footer-bottom {
    background: transparent;
    border-top: 1px solid #e0e0e0;
    padding: 28px 0 36px;
}
.sx-footer .footer-col h4 {
    color: var(--sx-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.sx-footer .footer-col a {
    color: var(--sx-muted);
    font-size: 14px;
}
.sx-footer .footer-col a:hover { color: var(--sx-text); }
.sx-footer .footer-grid {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    column-gap: 72px;
}
.sx-footer-grid { gap: 28px 72px; }
.sx-footer .back-to-top { display: none; }
.sx-footer .footer-logo-text {
    color: #111;
    font-size: 1.05rem;
}
.sx-footer .footer-logo-img {
    display: none;
}
.sx-footer .footer-bottom p {
    color: var(--sx-muted);
    font-size: 13px;
    margin-top: 10px;
}
.footer-col-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    color: var(--sx-text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}
.footer-col-toggle::after {
    content: '+';
    float: right;
    font-size: 18px;
    font-weight: 400;
}
.footer-col.is-open .footer-col-toggle::after { content: '−'; }
.sx-footer-bottom-inner { text-align: center; }

@media (max-width: 1100px) {
    .sx-featured-grid,
    .sx-brands-row,
    .sx-collections-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
    .sx-header .nav-categories .nav-category-link,
    .sx-header .nav-categories .nav-dropdown-trigger {
        font-size: 12px;
        padding: 12px 8px;
    }
}

@media (max-width: 1100px) {
    .nav-mega {
        left: 12px;
        right: 12px;
    }
    .nav-mega-feature { display: none; }
    .nav-mega-links { column-count: 2; }
}

@media (max-width: 1024px) {
    .sx-header .nav-categories { display: none; }
    .sx-header .nav-all-wrap { display: block; }
    .sx-header .nav-inner { justify-content: space-between; }
    .nav-mega { display: none !important; }
}

@media (max-width: 900px) {
    .sx-featured-grid,
    .sx-collections-grid,
    .sx-brands-row { grid-template-columns: repeat(2, 1fr); }
    .sx-reviews-grid { grid-template-columns: 1fr; }
    .sx-trends {
        flex-wrap: wrap;
        max-width: 640px;
    }
    .sx-trends-left,
    .sx-trends-right {
        flex: 1 1 100%;
    }
    .sx-trends-right {
        flex-direction: row;
        gap: 16px;
    }
    .sx-trends-right .sx-trend-card {
        flex: 1;
    }
    .sx-trends-left .sx-trend-media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .sx-header .header-top-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sx-header .search-form {
        grid-column: 1 / -1;
        order: 3;
        max-width: none;
    }
    .sx-header .logo-tagline { display: none; }
    .sx-hero { min-height: 300px; height: 360px; }
    .sx-hero .hero-slide-media {
        width: 100%;
        background-size: cover;
        background-position: center 40%;
    }
    .sx-hero .hero-slide--left .hero-slide-media {
        background-size: auto 100%;
        background-position: left center;
    }
    .sx-hero .hero-slide--dusk .hero-slide-media {
        background-size: cover;
        background-position: center 40%;
    }
    .sx-hero .hero-slide--canopy .hero-slide-media {
        inset: 0;
        width: 100%;
        background-size: cover;
        background-position: center 22%;
    }
    .sx-hero .hero-slide-shade {
        background: linear-gradient(
            180deg,
            rgba(26, 26, 26, 0) 0%,
            rgba(26, 26, 26, 0.15) 40%,
            rgba(26, 26, 26, 0.78) 72%,
            rgba(26, 26, 26, 0.92) 100%
        );
    }
    .sx-newsletter-inner { flex-direction: column; align-items: stretch; }
    .sx-newsletter-form { min-width: 0; }
    .sx-sale-strip { flex-direction: column; gap: 8px; text-align: center; font-size: 13px; }
    .sx-footer .footer-grid { grid-template-columns: 1fr; gap: 0; }
    .sx-footer .footer-col h4 { display: none; }
    .sx-footer .footer-col-toggle { display: block; }
    .sx-footer .footer-col-body { display: none; padding: 8px 0 16px; }
    .sx-footer .footer-col.is-open .footer-col-body { display: block; }
    .sx-hero .hero-slide > .container {
        justify-content: flex-start;
        padding-bottom: 36px;
        align-items: flex-end;
    }
    .sx-hero-inner {
        max-width: 100%;
        padding-right: 0;
    }
    .sx-hero-thumbs { bottom: 10px; gap: 6px; }
    .sx-hero-thumb { width: 86px; }
    .sx-hero-thumb img { height: 52px; }
    .sx-featured-grid,
    .sx-brands-row,
    .sx-collections-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sx-section-title { font-size: 24px; }
    .sx-featured-label { font-size: 13px; }
    .sx-rail-header { flex-direction: column; align-items: flex-start; }
    .promo-banner { font-size: 12px; }
    .sx-header .header-wishlist { display: none; }
    .sx-trends-right { flex-wrap: wrap; }
    .sx-trends-right .sx-trend-card { flex: 1 1 46%; }
    .sx-trends-right .sx-trend-card--sale { flex: 1 1 100%; }
    .sx-trend-title { font-size: 14px; }
    .sx-trend-action { padding: 10px 16px; left: -10px; }
    .sx-trend-sale-overlay strong { font-size: 22px; }
}

@media (max-width: 480px) {
    .sx-featured-grid,
    .sx-collections-grid,
    .sx-brands-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-header .header-utility { font-size: 11px; }
    .sx-header .logo-wordmark { font-size: 1rem; letter-spacing: 0.08em; }
    .all-menu-panel { width: min(100%, 360px); max-width: 100%; }
    .sx-product-detail,
    .product-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .sx-pdp-contact { flex: 1 1 auto; max-width: none; width: 100%; }
    .sx-pdp-title { font-size: 1.35rem; }
    .product-specs { display: block; overflow-x: auto; }
    .collection-hero,
    .collection-page--shop .collection-hero {
        height: 280px;
        min-height: 220px;
        max-height: 280px;
    }
}

@media (max-width: 700px) {
    .product-card-spec-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .product-card-spec-list li {
        display: block;
    }
    .product-card-spec-label,
    .product-card-availability {
        white-space: normal;
    }
    .product-card-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .product-card-availability {
        flex: none;
        font-size: 11px;
    }
    .product-card-contact {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
        justify-content: center;
    }
    .product-card-title,
    .product-sku,
    .product-card-brand {
        overflow-wrap: anywhere;
    }
}

.catalog-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 0 8px;
}
.catalog-pager-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #111;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.catalog-pager-link:hover { background: #111; color: #fff; }
.catalog-pager-status { font-size: 14px; color: #555; }
