/* Reference storefront redesign — shared header + home page */
:root {
    --sf-blue: #2474f5;
    --sf-green: #18c96e;
    --sf-orange: #ff8a00;
    --sf-red: #f23f4d;
    --sf-ink: #2d3139;
    --sf-muted: #8a9099;
    --sf-line: #e8eaee;
    --sf-soft: #f6f7f9;
}

.container {
    max-width: 1200px;
    padding-left: 18px;
    padding-right: 18px;
}

.site-header-sticky {
    background: #fff;
    box-shadow: 0 2px 12px rgba(35, 42, 55, .08);
}

.top-bar {
    padding: 0;
    height: 29px;
    background: #fff;
    color: #8a8f97;
    border-bottom: 1px solid #f0f1f3;
    font-size: 10px;
}

.top-bar .container,
.top-bar-content { height: 100%; }
.top-bar-left { display: none; }
.top-bar-right { margin-left: auto; gap: 0; }
.top-bar-right > * { border-left: 1px solid #eceef1; }
.top-link,
.language-selector,
.currency-selector {
    height: 29px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    color: #7f858e;
}
.top-link:hover { color: var(--sf-blue); }
.language-selector,
.currency-selector { gap: 4px; }
.language-selector select,
.currency-selector select { color: #7f858e; font-size: 10px; }
.social-icons { display: none; }

.main-header {
    padding: 10px 0;
    background: #fff;
    border-bottom: 1px solid var(--sf-line);
}
.header-content { min-height: 58px; gap: 28px; }
.logo { flex: 0 0 auto; }
.logo img { height: 48px; max-width: 170px; object-fit: contain; }
.mob-header-bottom { display: none; }

/* Search */
.header-content > .ms-wrap { max-width: 510px; }
#msForm {
    min-height: 40px;
    border: 1px solid #dfe2e7;
    border-radius: 4px;
    box-shadow: none;
}
#msForm:focus-within { border-color: #aeb4bd; box-shadow: 0 0 0 3px rgba(36,116,245,.08); }
#msForm .ms-icon { display: none; }
#msForm .ms-input { padding: 10px 13px; font-size: 11px; }
#msForm .ms-btn {
    width: 38px;
    height: 36px;
    margin: 1px;
    border-radius: 3px;
    background: #fff;
    color: #727984;
}
#msForm .ms-btn:hover { background: #f4f5f7; color: #222; transform: none; }
#msForm #notifWrapper { margin-right: 1px; }
#msForm #notifBtn {
    width: 38px;
    height: 36px;
    border-radius: 3px;
    background: #fff;
    color: #727984;
    border-left: 1px solid #eceef1;
}
#msForm #notifBtn:hover { background: #f4f5f7; }
#msForm #notifBtn svg { width: 19px; height: 19px; }
#notifDropdown { border-radius: 8px; }
.ms-dropdown { border-radius: 8px; }

/* Compact actions from reference */
.new-header-actions { margin-left: auto; gap: 5px; }
.hdr-quick-actions { display: flex; align-items: stretch; gap: 2px; }
.hdr-quick-action {
    min-width: 66px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    color: #626974;
    text-decoration: none;
    border-radius: 5px;
    transition: background .18s, color .18s;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
}
.hdr-quick-action:hover { background: #f4f6f8; color: var(--sf-blue); }
.hdr-quick-action svg { width: 21px; height: 21px; }
.hdr-quick-badge {
    position: absolute;
    top: 2px;
    right: 16px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sf-red);
    color: #fff;
    border: 2px solid #fff;
    font-size: 8px;
    font-weight: 700;
}
.hdr-quick-badge:empty { display: none; }
.hdr-auth-group { display: none !important; }
.new-cart-wrapper { margin: 0; }
.new-cart-button {
    min-width: 66px;
    height: 48px;
    padding: 3px 8px;
    gap: 3px;
    flex-direction: column;
    justify-content: center;
    border-radius: 5px;
    color: #626974;
}
.new-cart-button:hover { background: #f4f6f8; transform: none; }
.cart-icon-container svg { width: 21px; height: 21px; }
.new-cart-count {
    top: -6px;
    right: -9px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border: 2px solid #fff;
    background: var(--sf-red);
    font-size: 8px;
}
.new-cart-price { display: block; line-height: 1; }
.new-cart-price .cart-label { font-size: 9px; font-weight: 500; color: #626974; }
.new-cart-price .cart-amount { display: none; }
.new-cart-dropdown { border-radius: 8px; }

/* Icon category navigation */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--sf-line);
    box-shadow: none;
}
.main-nav .container { overflow: hidden; }
.nav-menu.sf-category-nav {
    width: 100%;
    min-height: 57px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-category-nav .nav-item { flex: 1 1 0; min-width: 100px; border-right: 1px solid #f0f1f3; }
.sf-category-nav .nav-item:first-child { border-left: 1px solid #f0f1f3; }
.sf-category-nav .nav-link {
    height: 57px;
    padding: 5px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #424852;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}
.sf-category-nav .nav-link::after { display: none; }
.sf-category-nav .nav-link:hover,
.sf-category-nav .nav-link.active { color: var(--sf-blue); background: #f8fafc; }
.sf-category-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.sf-category-icon svg { width: 21px; height: 21px; margin: 0; transform: none; stroke: currentColor; }
.sf-category-nav .nav-item:hover .nav-link svg { transform: none; }
.sf-category-label { max-width: 115px; }

/* Home shell */
.sf-home { background: #fff; padding: 13px 0 50px; }
.sf-home .container { max-width: 1200px; }
.sf-home-section { margin-top: 14px; }

/* Hero */
.sf-hero-grid {
    min-height: 356px;
    display: grid;
    grid-template-columns: minmax(0, 2.45fr) minmax(250px, 1fr);
    gap: 10px;
}
.sf-main-slider,
.sf-promo-card {
    position: relative;
    overflow: hidden;
    background: #edf0f4;
    border: 1px solid #e6e8ec;
}
.sf-main-slider { min-height: 356px; }
.sf-slider-track { display: flex; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.sf-slide { position: relative; flex: 0 0 100%; min-width: 100%; min-height: 356px; color: #fff; background: linear-gradient(135deg,#5732c7,#6d28d9); }
.sf-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,18,30,.55),rgba(12,18,30,.05) 62%,transparent); }
.sf-slide-content {
    position: absolute;
    z-index: 2;
    left: 38px;
    top: 50%;
    width: min(52%, 470px);
    transform: translateY(-50%);
}
.sf-slide.has-image .sf-slide-content { display: none; }
.sf-slide-content h1 { margin: 0 0 9px; font-size: clamp(25px,3vw,43px); line-height: 1.05; color: inherit; font-weight: 800; }
.sf-slide-content p { margin: 0 0 18px; font-size: 13px; line-height: 1.55; }
.sf-slide-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 4px;
    background: #17dd85;
    color: #092719;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}
.sf-slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.94);
    color: #555d68;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.16);
}
.sf-slider-arrow:hover { background: #fff; color: #111; }
.sf-slider-prev { left: 12px; }
.sf-slider-next { right: 12px; }
.sf-slider-dots { position: absolute; z-index: 5; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 5px; }
.sf-slider-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.sf-slider-dot.active { width: 18px; border-radius: 4px; background: #fff; }
.sf-hero-empty { height: 100%; min-height: 356px; display: grid; place-items: center; color: #7d8490; font-size: 13px; }

.sf-promo-stack { display: grid; grid-template-rows: repeat(2, minmax(0,1fr)); gap: 10px; }
.sf-promo-card { display: block; min-height: 173px; text-decoration: none; color: #fff; }
.sf-promo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-promo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(10,15,25,.42),transparent 72%); }
.sf-promo-content { position: absolute; z-index: 2; left: 17px; bottom: 15px; right: 14px; }
.sf-promo-card.has-image .sf-promo-content { display: none; }
.sf-promo-title { display: block; font-size: 16px; line-height: 1.15; font-weight: 800; text-shadow: 0 1px 5px rgba(0,0,0,.35); }
.sf-promo-cta { display: inline-block; margin-top: 7px; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.8); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.sf-promo-placeholder { display:block; width:100%; height:100%; background: linear-gradient(135deg,#ffb86c,#ff6f61); }
.sf-promo-card:nth-child(2) .sf-promo-placeholder { background: linear-gradient(135deg,#7038f0,#e657c8); }

/* Brands */
.sf-brand-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(0,1fr));
    gap: 9px;
}
.sf-brand-card {
    height: 63px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 4px;
    color: #616873;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.3px;
    overflow: hidden;
}
.sf-brand-card:hover { border-color: #bfc4cc; box-shadow: 0 3px 12px rgba(30,40,55,.07); }
.sf-brand-card img { max-width: 100%; max-height: 35px; object-fit: contain; filter: grayscale(1); opacity: .82; }
.sf-brand-card:hover img { filter: none; opacity: 1; }

/* Product tabs + shelf */
.sf-product-tabs { margin-top: 19px; }
.sf-tab-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;
    border-bottom: 1px solid #e7e9ed;
}
.sf-tab-button {
    position: relative;
    padding: 9px 2px 11px;
    border: 0;
    background: transparent;
    color: #555d67;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}
.sf-tab-button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.sf-tab-button.active { color: var(--sf-blue); }
.sf-tab-button.active::after { background: var(--sf-blue); }
.sf-tab-panel { display: none; padding-top: 6px; }
.sf-tab-panel.active { display: block; }
.sf-product-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    align-items: stretch;
    gap: 10px;
}
.sf-product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.sf-product-card:hover {
    border-color: #bfc6cf;
    box-shadow: 0 5px 16px rgba(30,40,55,.08);
}
.sf-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 0;
    background: #f2f3f5;
}
.sf-product-media > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sf-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
.sf-product-card:hover .sf-product-media img { transform: none; }
.sf-product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #adb2ba; }
.sf-product-placeholder svg { width: 42px; height: 42px; }
.sf-product-wishlist {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #dfe3e8;
    border-radius: 0;
    background: rgba(255,255,255,.94);
    color: #68707b;
    cursor: pointer;
}
.sf-product-wishlist svg { width: 15px; height: 15px; }
.sf-product-wishlist.active { color: var(--sf-red); }
.sf-product-wishlist.active svg { fill: currentColor; }
.sf-product-labels { position: absolute; z-index: 2; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sf-product-label { padding: 4px 7px; color: #fff; font-size: 7px; line-height: 1; font-weight: 800; text-transform: uppercase; }
.sf-product-label.new { background: var(--sf-orange); }
.sf-product-label.best { background: #ffd928; color: #333; }
.sf-product-label.shipping { background: var(--sf-green); }
.sf-product-body {
    min-height: 116px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 11px;
    border-top: 1px solid #e7e9ed;
    background: #fff;
}
.sf-product-name { min-height: 32px; margin: 0 0 6px; font-size: 11px; line-height: 1.45; font-weight: 500; color: #3f4650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-product-name a { color: inherit; text-decoration: none; }
.sf-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 8px; color: #ffba00; font-size: 9px; }
.sf-rating span { color: #9aa0a8; font-size: 8px; }
.sf-product-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.sf-price { color: #282e37; font-size: 15px; line-height: 1; font-weight: 800; }
.sf-price-old { display: block; margin-top: 4px; color: #9ca2aa; font-size: 9px; font-weight: 400; text-decoration: line-through; }
.sf-add-cart {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #d7dbe1;
    border-radius: 0;
    background: #fff;
    color: #4f5864;
    cursor: pointer;
}
.sf-add-cart:hover { background: var(--sf-blue); border-color: var(--sf-blue); color: #fff; }
.sf-add-cart svg { width: 15px; height: 15px; }
.sf-empty-state { grid-column: 1/-1; padding: 45px 18px; text-align: center; color: #9298a1; border: 1px dashed #dfe2e7; background: #fafbfc; }

/* Slim benefit row */
.sf-benefits { margin-top: 23px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #e7e9ed; }
.sf-benefit { min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; border-right: 1px solid #e7e9ed; }
.sf-benefit:last-child { border-right: 0; }
.sf-benefit svg { width: 25px; height: 25px; color: var(--sf-blue); }
.sf-benefit strong { display: block; font-size: 10px; color: #414852; }
.sf-benefit span { display: block; margin-top: 2px; font-size: 8px; color: #969ca5; }

@media (max-width: 1100px) {
    .header-content { gap: 14px; }
    .logo img { height: 42px; max-width: 135px; }
    .header-content > .ms-wrap { max-width: 430px; }
    .hdr-quick-action,
    .new-cart-button { min-width: 56px; }
    .sf-category-nav .nav-item { min-width: 92px; }
    .sf-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .sf-brand-strip { grid-template-columns: repeat(6,minmax(0,1fr)); }
}

@media (max-width: 900px) {
    .hdr-quick-action { min-width: 48px; }
    .hdr-quick-action span:not(.hdr-quick-badge),
    .new-cart-price { display: none; }
    .header-content > .ms-wrap { max-width: none; }
    .sf-hero-grid { grid-template-columns: minmax(0,2fr) minmax(220px,1fr); }
}

@media (max-width: 768px) {
    html,
    body { max-width: 100%; overflow-x: hidden; }
    body { padding-bottom: 0 !important; -webkit-text-size-adjust: 100%; }
    .container { width: 100%; padding-left: 12px; padding-right: 12px; box-sizing: border-box; }
    .site-header-sticky { width: 100%; max-width: 100vw; }

    /* PC üst bilgi bandını mobilde de aynı sırayla göster */
    .top-bar { display: block !important; height: 23px; overflow: hidden; }
    .top-bar .container { padding: 0 5px; overflow: visible; }
    .top-bar-content { width: 100%; min-width: 0; justify-content: flex-end; }
    .top-bar-right { width: auto; max-width: 100%; margin-left: auto; gap: 0; justify-content: flex-end; }
    .top-bar .top-link { display: inline-flex !important; }
    .top-link,
    .language-selector,
    .currency-selector { height: 23px; padding: 0 5px; font-size: 7px; white-space: nowrap; }
    .language-selector svg,
    .currency-selector svg { width: 9px; height: 9px; }
    .language-selector select,
    .currency-selector select { max-width: 37px; font-size: 7px; padding: 0; }

    /* Eski mobil header/drawer/alt bar tamamen kapalı */
    .mob-header-bottom,
    .mob-header-top,
    .mob-bottom-bar,
    .mob-drawer,
    .mob-drawer-overlay { display: none !important; }

    /* PC header bileşenleri mobilde aynı tek satıra küçültülür */
    .main-header { display: block !important; width: 100%; padding: 0 !important; }
    .main-header .container { padding: 0 6px; }
    .header-content {
        width: 100%;
        min-width: 0;
        min-height: 0 !important;
        height: 55px !important;
        padding: 5px 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .header-content > .logo {
        display: block !important;
        flex: 0 0 58px;
        min-width: 58px;
    }
    .header-content > .logo img {
        display: block;
        width: 58px;
        max-width: 58px;
        height: 31px !important;
        object-fit: contain;
    }
    .header-content > .ms-wrap {
        display: block !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    .header-content > .new-header-actions {
        display: flex !important;
        flex: 0 0 auto;
        min-width: 0;
        margin: 0;
        justify-content: flex-end;
        gap: 0;
    }
    .hdr-quick-actions { min-width: 0; gap: 0; }
    .hdr-quick-action {
        min-width: 25px !important;
        width: 25px !important;
        height: 34px;
        padding: 0 !important;
    }
    .new-cart-button {
        min-width: 29px !important;
        width: 29px !important;
        height: 34px;
        padding: 0 !important;
    }
    .hdr-quick-action svg,
    .cart-icon-container svg { width: 15px; height: 15px; }
    .hdr-quick-action span:not(.hdr-quick-badge),
    .new-cart-price { display: none !important; }
    .hdr-quick-badge,
    .new-cart-count { transform: scale(.75); transform-origin: top right; }
    .new-cart-wrapper { display: block !important; }
    #msForm { width: 100%; min-height: 34px; height: 34px; }
    #msForm .ms-input { min-width: 0; padding: 7px 7px; font-size: 8px; }
    #msForm .ms-clear { width: 20px; height: 20px; margin-right: 1px; }
    #msForm .ms-btn,
    #msForm #notifBtn { width: 27px; height: 30px; margin: 1px; }
    #msForm .ms-btn svg,
    #msForm #notifBtn svg { width: 14px; height: 14px; }

    /* PC kategori şeridi aynı ikonlu yapıyla yatay kayar */
    .main-nav { display: block !important; width: 100%; }
    .main-nav .container { padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; touch-action: pan-x; scrollbar-width: none; }
    .main-nav .container::-webkit-scrollbar { display: none; }
    .nav-menu.sf-category-nav { width: max-content; min-width: 100%; min-height: 52px; justify-content: flex-start; }
    .sf-category-nav .nav-item { flex: 0 0 88px; min-width: 88px; scroll-snap-align: start; }
    .sf-category-nav .nav-link { height: 52px; padding: 4px 6px; font-size: 7.5px; }
    .sf-category-icon { width: 19px; height: 19px; }
    .sf-category-icon svg { width: 18px; height: 18px; }

    .sf-home { width: 100%; padding: 9px 0 42px; overflow: hidden; }
    .sf-home > .container { width: 100%; min-width: 0; }

    /* PC hero kompozisyonu: ana banner solda, iki promosyon sağda */
    .sf-hero-grid {
        width: 100%;
        height: 222px;
        min-height: 222px;
        grid-template-columns: minmax(0,2.45fr) minmax(0,1fr);
        gap: 6px;
        overflow: hidden;
    }
    .sf-main-slider,
    .sf-promo-stack {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .sf-slider-track,
    .sf-slide { min-width: 0; max-width: 100%; }
    .sf-main-slider,
    .sf-slide,
    .sf-hero-empty { height: 222px; min-height: 222px; }
    .sf-slide img { object-position: center; }
    .sf-slide-content { left: 15px; width: 70%; }
    .sf-slide-content h1 { font-size: 21px; }
    .sf-slide-content p { display: none; }
    .sf-slide-link { min-height: 28px; padding: 0 11px; font-size: 7px; }
    .sf-slider-arrow { width: 27px; height: 27px; }
    .sf-slider-prev { left: 5px; }
    .sf-slider-next { right: 5px; }
    .sf-promo-stack {
        height: 222px;
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: repeat(2,minmax(0,1fr));
        gap: 6px;
    }
    .sf-promo-card { min-height: 0; height: 108px; }
    .sf-promo-card img { object-position: center; }
    .sf-promo-title { font-size: 10px; }

    .sf-brand-strip { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; scroll-snap-type: x proximity; scrollbar-width: none; }
    .sf-brand-strip::-webkit-scrollbar { display: none; }
    .sf-brand-card { flex: 0 0 112px; height: 55px; scroll-snap-align: start; font-size: 12px; }

    .sf-tab-list { justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: none; }
    .sf-tab-list::-webkit-scrollbar { display: none; }
    .sf-tab-button { flex: 0 0 auto; font-size: 9px; }
    .sf-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .sf-product-body { min-height: 105px; padding: 8px; }
    .sf-product-name { font-size: 9.5px; }
    .sf-price { font-size: 13px; }
    .sf-benefits { grid-template-columns: repeat(2,1fr); }
    .sf-benefit:nth-child(2) { border-right: 0; }
    .sf-benefit:nth-child(-n+2) { border-bottom: 1px solid #e7e9ed; }
    #backToTop { bottom: 18px !important; }
}

@media (max-width: 480px) {
    .sf-main-slider,
    .sf-slide,
    .sf-hero-empty { min-height: 218px; }
    .sf-slide-content { left: 17px; width: 70%; }
    .sf-slide-content h1 { font-size: 23px; }
    .sf-slide-content p { display: none; }
    .sf-slide-link { min-height: 30px; padding: 0 13px; font-size: 8px; }
    .sf-slider-arrow { display: none; }
    .sf-promo-card { min-height: 105px; }
    .sf-promo-content { left: 10px; bottom: 10px; }
    .sf-promo-title { font-size: 11px; }
    .sf-promo-cta { font-size: 7px; }
    .sf-tab-list { gap: 18px; }
    .sf-product-label { font-size: 6px; padding: 3px 5px; }
    .sf-benefit { min-height: 62px; }
}

/* Desktop header: keep it centered and aligned with the storefront banners. */
@media (min-width: 769px) {
    .site-header-sticky > .top-bar > .container,
    .site-header-sticky > .main-header > .container,
    .site-header-sticky > .main-nav > .container {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Keep separators between categories, but remove the two outer edge lines. */
    .site-header-sticky .sf-category-nav .nav-item:first-child {
        border-left: 0;
    }

    .site-header-sticky .sf-category-nav .nav-item:last-child {
        border-right: 0;
    }
}
