/* Storefront theme — Gen Z premium tech (Samsung / Motorola inspired)
   Overrides styles-v3 without changing app logic. */

:root {
    --sf-ink: #050507;
    --sf-ink-soft: #101014;
    --sf-surface: #16161a;
    --sf-mist: #f0f1f3;
    --sf-paper: #f7f7f8;
    --sf-muted: #6e727a;
    --sf-muted-dark: #4d5158;
    --sf-white: #ffffff;
    --sf-accent: #ff1e1a;
    --sf-accent-hot: #ff4d3a;
    --sf-link: #1a8cff;
    --sf-glow: rgba(255, 30, 26, 0.22);
    --sf-line: rgba(255, 255, 255, 0.1);
    --sf-line-dark: rgba(5, 5, 7, 0.08);
    --sf-radius: 6px;
    --sf-radius-lg: 16px;
    --sf-nav-h: 68px;
    --sf-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sf-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sf-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
    --color-black: var(--sf-ink);
    --color-gray: var(--sf-muted);
    --color-light-gray: var(--sf-mist);
    --color-white: var(--sf-white);
    --color-red: var(--sf-accent);
    --color-blue: var(--sf-link);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sf-font);
    color: var(--sf-ink);
    background: var(--sf-paper);
    -webkit-font-smoothing: antialiased;
    padding-top: 0;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

main {
    overflow-x: hidden;
}

a {
    transition: color 0.25s var(--sf-ease), opacity 0.25s var(--sf-ease);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Navigation (Motorola-style light bar) ---------- */
.navbar-v3,
.navbar-v3.navbar-moto {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    height: var(--sf-nav-h);
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s var(--sf-ease), background 0.35s var(--sf-ease);
    z-index: 1000;
}

.navbar-v3.scrolled,
.navbar-v3.navbar-moto.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08) !important;
}

.nav-container-v3 {
    max-width: 1440px;
    padding: 0 28px;
}

.nav-brand-v3 {
    gap: 10px;
    color: var(--sf-ink);
}

.nav-brand-v3 img {
    height: 34px !important;
    width: auto;
    filter: none !important;
}

.nav-brand-text {
    font-family: var(--sf-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--sf-ink);
    text-transform: none;
}

.nav-menu-v3 {
    gap: 4px;
}

.nav-menu-v3 a {
    color: #222 !important;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: transparent !important;
}

.nav-menu-v3 a:hover {
    color: #000 !important;
    background: #f0f0f0 !important;
}

.nav-menu-v3 a.active {
    color: #000 !important;
    background: #ececec !important;
}

.has-mega-menu:hover > .mega-trigger,
.has-mega-menu.is-open > .mega-trigger,
.mega-trigger.active {
    background: #ececec !important;
    color: #000 !important;
}

.has-mega-menu:hover .mega-chevron,
.has-mega-menu.is-open .mega-chevron {
    transform: rotate(180deg);
}

.mega-chevron {
    font-size: 0.65rem !important;
    margin-left: 4px;
    transition: transform 0.25s var(--sf-ease);
    opacity: 0.7;
}

.nav-actions-v3 {
    gap: 6px;
}

.nav-auth-link {
    color: #222 !important;
    font-weight: 500;
    border-radius: 8px;
}

.nav-auth-link:hover,
.nav-auth-link.active {
    color: #000 !important;
    background: #f0f0f0;
}

.nav-auth-signup {
    background: var(--sf-ink) !important;
    color: var(--sf-white) !important;
    border-radius: 999px;
    padding: 8px 16px !important;
}

.nav-auth-signup:hover,
.nav-auth-signup.active {
    background: var(--sf-accent) !important;
    color: var(--sf-white) !important;
}

.nav-cart-link {
    color: #222 !important;
}

.cart-count-badge {
    background: var(--sf-accent);
}

.mobile-menu-toggle-v3 span {
    background: #111 !important;
}

/* ---------- Motorola mega menu ---------- */
.has-mega-menu {
    position: static !important;
}

.mega-menu,
.mega-menu.moto-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    margin: 0;
    transform: none !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12) !important;
    padding: 28px 0 36px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
    z-index: 1200;
    overflow-x: hidden;
    box-sizing: border-box;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: block !important;
}

.mega-close {
    position: absolute;
    top: 16px;
    right: 28px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    z-index: 2;
}

.mega-close:hover {
    color: #111;
}

.moto-mega-grid {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 8px clamp(16px, 3vw, 40px) 0;
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 280px);
    gap: 24px;
    align-items: start;
    box-sizing: border-box;
}

.moto-mega-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
    min-width: 0;
}

.moto-mega-link {
    display: block;
    padding: 10px 0 !important;
    color: #222 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-decoration: none;
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 2px solid transparent;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.moto-mega-link:hover {
    color: #000 !important;
    background: transparent !important;
}

.moto-mega-link.is-active {
    font-weight: 700 !important;
    color: #000 !important;
    background: transparent !important;
    border-bottom-color: var(--sf-link);
}

.moto-mega-link-sub {
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    color: #555 !important;
    padding-left: 8px !important;
}

.moto-mega-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.moto-mega-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #222 !important;
    background: #f5f5f5 !important;
    border-radius: 12px;
    padding: 22px 16px 18px;
    min-height: 190px;
    min-width: 0;
    max-width: 100%;
    transition: background 0.25s, transform 0.25s var(--sf-ease);
    box-sizing: border-box;
}

.moto-mega-product:hover {
    background: #ececec !important;
    transform: translateY(-2px);
    color: #000 !important;
}

.moto-mega-product-media {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
}

.moto-mega-product-media img {
    max-height: 110px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.moto-mega-product-media i {
    font-size: 2.5rem;
    color: #ccc;
}

.moto-mega-product span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    color: inherit;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.moto-mega-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.moto-mega-featured h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--sf-link);
    display: inline-block;
}

.moto-mega-featured ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.moto-mega-featured li {
    margin: 0 0 10px;
}

.moto-mega-featured a {
    color: #333 !important;
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    text-decoration: none;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow-wrap: anywhere;
}

.moto-mega-featured a:hover {
    color: var(--sf-link) !important;
    background: transparent !important;
}

.moto-mega-promo {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 3 / 4;
    max-height: 280px;
    max-width: 100%;
}

.moto-mega-promo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--sf-ease);
}

.moto-mega-promo:hover img {
    transform: scale(1.04);
}

@media (max-width: 1100px) {
    .moto-mega-grid {
        grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
        padding: 8px 24px 0;
    }

    .moto-mega-aside {
        display: none;
    }
}

/* ---------- Mobile navigation drawer ---------- */
@media (max-width: 1024px) {
    .mobile-menu-toggle-v3 {
        display: flex !important;
        z-index: 1102;
        padding: 8px;
        position: relative;
    }

    .mobile-menu-toggle-v3 span {
        background: #111 !important;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-menu-toggle-v3[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle-v3[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle-v3[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu-v3 {
        display: none !important;
        position: fixed !important;
        top: var(--sf-nav-h) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100vh - var(--sf-nav-h)) !important;
        height: calc(100dvh - var(--sf-nav-h)) !important;
        margin: 0 !important;
        padding: 12px 0 40px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: #fff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        z-index: 1101 !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        box-sizing: border-box !important;
    }

    .nav-menu-v3.mobile-active {
        display: flex !important;
    }

    .nav-menu-v3 > li {
        display: block !important;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }

    .nav-menu-v3 > li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        padding: 16px 20px !important;
        border-radius: 0 !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #111 !important;
        background: transparent !important;
        box-sizing: border-box;
    }

    .nav-menu-v3 > li > a:hover,
    .nav-menu-v3 > li > a.active {
        background: #f5f5f5 !important;
        color: #000 !important;
    }

    .has-mega-menu {
        position: relative !important;
        overflow: hidden;
    }

    .mega-menu,
    .mega-menu.moto-mega {
        position: static !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 0 12px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none !important;
        background: #f7f7f7 !important;
        overflow-x: hidden !important;
    }

    .has-mega-menu.is-open .mega-menu.moto-mega {
        display: block !important;
    }

    .moto-mega-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 16px !important;
        padding: 8px 16px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .moto-mega-nav {
        gap: 0;
        width: 100%;
        max-width: 100%;
    }

    .moto-mega-link {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 8px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        font-size: 0.95rem !important;
        box-sizing: border-box;
    }

    .moto-mega-link.is-active {
        border-bottom-color: rgba(0, 0, 0, 0.05) !important;
        box-shadow: inset 3px 0 0 var(--sf-link);
        padding-left: 12px !important;
    }

    .moto-mega-products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .moto-mega-product {
        min-height: 140px;
        padding: 12px 8px 10px !important;
        width: 100%;
        max-width: 100%;
    }

    .moto-mega-product:hover {
        transform: none;
    }

    .moto-mega-product-media {
        height: 80px;
        margin-bottom: 8px;
    }

    .moto-mega-product-media img {
        max-height: 72px;
        max-width: 100%;
    }

    .moto-mega-product span {
        font-size: 0.75rem;
        line-height: 1.25;
    }

    .moto-mega-aside {
        display: none !important;
    }

    .mega-close {
        display: none !important;
    }

    .nav-auth-text {
        display: inline !important;
        max-width: 80px;
    }

    body.mobile-nav-open {
        overflow: hidden;
        overflow-x: hidden;
    }

    .navbar-v3.navbar-moto {
        z-index: 1100;
    }

    .nav-container-v3 {
        max-width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 576px) {
    .nav-auth-link:not(.nav-auth-signup) .nav-auth-text {
        display: none !important;
    }

    .nav-auth-signup {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    .moto-mega-products {
        grid-template-columns: 1fr 1fr !important;
    }

    .hero-banner-v3,
    .hero-slider {
        height: 420px !important;
        min-height: 420px !important;
        max-height: none !important;
        aspect-ratio: auto !important;
    }

    .sf-hero-fallback {
        min-height: 320px !important;
        height: auto !important;
        padding: 48px 20px 64px !important;
    }

    .hero-slide {
        height: 100% !important;
        min-height: 100% !important;
    }

    .hero-slide .slide-image img,
    .hero-slide .slide-image .hero-slide-video {
        object-fit: cover !important;
    }

    .hero-slide .slide-text {
        justify-content: flex-end;
        padding: 20px 16px 56px !important;
        max-width: 100%;
    }

    .hero-slide .hero-model {
        font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
        max-width: 100%;
        margin-bottom: 10px !important;
    }

    .hero-slide .hero-tagline {
        font-size: 0.95rem !important;
        max-width: 100%;
        margin-bottom: 16px !important;
    }

    .hero-cta-row {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .hero-btn,
    .sf-btn-ghost {
        width: 100% !important;
        flex: none !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 18px !important;
        font-size: 0.9rem !important;
    }

    .slide-nav {
        left: 16px !important;
        bottom: 24px !important;
        transform: none !important;
    }

    .hero-slide-count {
        right: 16px;
        bottom: 32px;
        font-size: 0.75rem;
    }

    .sf-collection-grid {
        grid-template-columns: 1fr !important;
    }

    .partners-grid,
    .sf-benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .sf-banner-strip {
        grid-template-columns: 1fr !important;
    }

    .sf-blog-grid {
        grid-template-columns: 1fr !important;
    }

    .sf-newsletter-inner {
        grid-template-columns: 1fr !important;
    }

    .sf-newsletter-form {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .sf-newsletter-form input[type="email"],
    .sf-newsletter-form button,
    .sf-newsletter-form .sf-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    .footer-content,
    .footer-links {
        grid-template-columns: 1fr !important;
    }
}

/* ---------- Hero (full image, 1920x600 banner ratio) ---------- */
.hero-banner-v3 {
    position: relative;
    margin: 0;
    margin-top: 0 !important;
    padding: 0;
    background: #050505;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    aspect-ratio: 1920 / 600;
    min-height: 280px;
    max-height: 640px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    height: 100% !important;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s var(--sf-ease), visibility 0.8s;
    pointer-events: none;
    background: #050505;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    display: block !important;
}

.hero-slide .slide-content {
    display: block;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-slide .slide-image {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    background: #050505;
}

.hero-slide .slide-image img,
.hero-slide .slide-image .hero-slide-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: none;
    filter: none;
    display: block;
    background: #050505;
}

.hero-slide.active .slide-image img,
.hero-slide.active .slide-image .hero-slide-video {
    transform: none;
}

.hero-slide .slide-image::before {
    display: none;
}

.hero-slide .slide-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.72) 0%,
        rgba(5, 5, 5, 0.28) 38%,
        rgba(5, 5, 5, 0.05) 62%,
        transparent 100%
    );
}

.hero-slide .slide-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: min(520px, 46%);
    height: 100%;
    padding: clamp(24px, 5vh, 56px) clamp(20px, 5vw, 72px);
    color: var(--sf-white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .hero-banner-v3,
    .hero-slider {
        aspect-ratio: auto;
        height: 380px;
        min-height: 380px;
        max-height: none;
    }

    .hero-slide .slide-image img,
    .hero-slide .slide-image .hero-slide-video {
        object-fit: cover !important;
    }

    .hero-slide .slide-text {
        max-width: 100%;
        padding: 24px clamp(16px, 4vw, 32px) 64px !important;
    }
}

.hero-brand-mark {
    font-family: var(--sf-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(18px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-brand-mark::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--sf-accent);
}

.hero-slide.active .hero-brand-mark {
    animation: sfRise 0.75s var(--sf-ease) 0.12s forwards;
}

.hero-slide .hero-model {
    font-family: var(--sf-display);
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--sf-white);
    margin: 0 0 18px;
    max-width: 11ch;
    opacity: 0;
    transform: translateY(24px);
    text-wrap: balance;
}

.hero-slide.active .hero-model {
    animation: sfRise 0.8s var(--sf-ease) 0.22s forwards;
}

.hero-slide .hero-tagline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 32px;
    max-width: 34ch;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide.active .hero-tagline {
    animation: sfRise 0.8s var(--sf-ease) 0.34s forwards;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(16px);
}

.hero-slide.active .hero-cta-row {
    animation: sfRise 0.8s var(--sf-ease) 0.46s forwards;
}

.hero-btn,
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--sf-font);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.25s var(--sf-ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}

.hero-btn,
.sf-btn-primary {
    background: var(--sf-accent);
    color: var(--sf-white);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.35);
}

.hero-btn:hover,
.sf-btn-primary:hover {
    background: var(--sf-accent-hot);
    color: var(--sf-white);
    transform: translateY(-2px);
}

.sf-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sf-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.sf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--sf-white);
    border-color: rgba(255, 255, 255, 0.65);
}

.sf-btn-dark {
    background: var(--sf-ink);
    color: var(--sf-white);
}

.sf-btn-dark:hover {
    background: #222;
    color: var(--sf-white);
    transform: translateY(-2px);
}

.slide-nav {
    position: absolute;
    bottom: 32px;
    left: clamp(24px, 6vw, 88px);
    transform: none;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
}

.slide-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: var(--sf-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.slide-arrow:hover {
    background: var(--sf-accent);
    border-color: var(--sf-accent);
}

.slide-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.35s, background 0.35s, border-radius 0.35s;
}

.indicator.active {
    width: 36px;
    border-radius: 999px;
    background: #fff;
}

.hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 6;
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    width: 0;
    background: var(--sf-accent);
    transform-origin: left center;
}

.hero-progress-bar.is-running {
    animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
    from { width: 0; }
    to { width: 100%; }
}

.hero-slide-count {
    position: absolute;
    bottom: 40px;
    right: clamp(24px, 5vw, 64px);
    z-index: 5;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes sfRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sfFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sf-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--sf-ease), transform 0.7s var(--sf-ease);
}

.sf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Sections ---------- */
.sf-section {
    padding: clamp(64px, 10vw, 112px) 0;
}

.sf-section-dark {
    background: var(--sf-ink);
    color: var(--sf-white);
}

.sf-section-mist {
    background: var(--sf-mist);
}

.sf-section-paper {
    background: var(--sf-paper);
}

.sf-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.sf-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.sf-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sf-accent);
    margin-bottom: 12px;
}

.sf-section-head h2,
.sf-title {
    font-family: var(--sf-display);
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
    color: inherit;
}

.sf-section-head p,
.sf-lead {
    font-size: 1.05rem;
    color: var(--sf-muted-dark);
    margin: 10px 0 0;
    max-width: 42ch;
}

.sf-section-dark .sf-lead {
    color: rgba(255, 255, 255, 0.65);
}

.sf-link-more {
    font-weight: 600;
    color: var(--sf-ink);
    text-decoration: none;
    border-bottom: 2px solid var(--sf-accent);
    padding-bottom: 2px;
}

.sf-section-dark .sf-link-more {
    color: var(--sf-white);
}

.sf-link-more:hover {
    color: var(--sf-accent);
}

/* Compact Gen Z collection strip */
.sf-collects {
    padding: clamp(28px, 4vw, 44px) 0;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(26, 140, 255, 0.06), transparent 45%),
        radial-gradient(90% 70% at 100% 20%, rgba(255, 30, 26, 0.05), transparent 40%),
        var(--sf-paper);
}

.sf-collects-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.sf-collects-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
}

.sf-collects-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sf-accent);
}

.sf-collects-title {
    font-family: var(--sf-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--sf-ink);
}

.sf-collects-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--sf-ink);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.25s var(--sf-ease), border-color 0.25s var(--sf-ease), gap 0.25s var(--sf-ease);
}

.sf-collects-all:hover {
    color: var(--sf-accent);
    border-bottom-color: var(--sf-accent);
    gap: 12px;
}

.sf-collects-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.sf-collect-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--sf-ink);
    min-width: 0;
}

.sf-collect-tile-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--sf-mist);
    border: 1px solid var(--sf-line-dark);
    transition: transform 0.35s var(--sf-ease), border-color 0.35s, box-shadow 0.35s;
}

.sf-collect-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--sf-ease);
}

.sf-collect-tile-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(5, 5, 7, 0.28);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 30, 26, 0.12), transparent 55%),
        var(--sf-mist);
}

.sf-collect-tile-label {
    font-family: var(--sf-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding: 0 2px;
    transition: color 0.25s var(--sf-ease);
}

.sf-collect-tile:hover .sf-collect-tile-media {
    transform: translateY(-4px);
    border-color: rgba(255, 30, 26, 0.28);
    box-shadow: 0 12px 28px rgba(5, 5, 7, 0.08);
}

.sf-collect-tile:hover .sf-collect-tile-media img {
    transform: scale(1.07);
}

.sf-collect-tile:hover .sf-collect-tile-label {
    color: var(--sf-accent);
}

@media (max-width: 900px) {
    .sf-collects-row {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sf-collects-row::-webkit-scrollbar {
        display: none;
    }

    .sf-collect-tile {
        flex: 0 0 42%;
        max-width: 180px;
        scroll-snap-align: start;
    }
}

@media (max-width: 520px) {
    .sf-collect-tile {
        flex-basis: 46%;
        max-width: 160px;
    }

    .sf-collects-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Compact Gen Z recommended picks */
.sf-picks {
    padding: clamp(28px, 4vw, 48px) 0 56px;
    background:
        linear-gradient(180deg, rgba(5, 5, 7, 0.02) 0%, transparent 28%),
        var(--sf-mist);
}

.sf-picks-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.sf-picks-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
}

.sf-picks-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sf-accent);
}

.sf-picks-title {
    font-family: var(--sf-display);
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--sf-ink);
}

.sf-picks-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--sf-ink);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.25s var(--sf-ease), border-color 0.25s var(--sf-ease), gap 0.25s var(--sf-ease);
}

.sf-picks-all:hover {
    color: var(--sf-accent);
    border-bottom-color: var(--sf-accent);
    gap: 12px;
}

.sf-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sf-picks-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding: 0;
}

.sf-picks .sf-product-card {
    background: var(--sf-white) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(5, 5, 7, 0.06) !important;
    box-shadow: 0 1px 0 rgba(5, 5, 7, 0.03) !important;
}

.sf-picks .sf-product-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 30, 26, 0.22) !important;
    box-shadow: 0 16px 36px rgba(5, 5, 7, 0.08) !important;
}

.sf-picks .sf-product-media {
    padding: 18px 16px 8px !important;
}

.sf-picks .sf-product-media img {
    height: 148px !important;
}

.sf-picks .sf-product-body {
    padding: 8px 16px 16px !important;
}

.sf-picks .sf-product-body h3,
.sf-picks .sf-product-body h3 a {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-picks .sf-product-badge {
    font-size: 0.58rem !important;
    padding: 3px 8px !important;
    margin-bottom: 6px !important;
}

.sf-picks .sf-price {
    font-size: 1rem !important;
}

.sf-picks .sf-price-compare {
    font-size: 0.78rem !important;
}

.sf-picks .sf-product-cta {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .sf-picks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .sf-picks-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .sf-picks-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sf-picks-grid::-webkit-scrollbar {
        display: none;
    }

    .sf-picks-grid > [class*="col-"] {
        flex: 0 0 68%;
        max-width: 240px;
        scroll-snap-align: start;
    }
}

/* Collection showcase — Motorola-style category planes (legacy) */
.sf-collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 992px) {
    .sf-collection-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: minmax(280px, 36vh);
        gap: 18px;
    }

    .sf-collection-card:nth-child(1) {
        grid-column: span 7;
    }

    .sf-collection-card:nth-child(2) {
        grid-column: span 5;
    }

    .sf-collection-card:nth-child(3),
    .sf-collection-card:nth-child(4) {
        grid-column: span 6;
    }

    .sf-collection-card:nth-child(n + 5) {
        grid-column: span 4;
    }
}

.sf-collection-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--sf-radius-lg);
    min-height: 260px;
    text-decoration: none;
    color: var(--sf-white);
    background: var(--sf-surface);
}

.sf-collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--sf-ease);
}

.sf-collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0.15) 55%, transparent 100%);
    z-index: 1;
}

.sf-collection-card:hover img {
    transform: scale(1.06);
}

.sf-collection-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px;
}

.sf-collection-body h3 {
    font-family: var(--sf-display);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.sf-collection-body span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.sf-collection-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 30% 20%, rgba(225, 6, 0, 0.35), transparent 50%),
        var(--sf-surface);
}

/* Product cards */
.product-card,
.sf-product-card {
    background: var(--sf-white) !important;
    border-radius: var(--sf-radius-lg) !important;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--sf-line-dark);
    box-shadow: none !important;
    transition: transform 0.35s var(--sf-ease), border-color 0.35s, box-shadow 0.35s !important;
    display: flex;
    flex-direction: column;
}

.product-card:hover,
.sf-product-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(225, 6, 0, 0.25);
    box-shadow: 0 20px 48px rgba(10, 10, 11, 0.1) !important;
}

.sf-product-media {
    padding: 28px 24px 12px !important;
    text-align: center;
    /* background: var(--sf-mist) !important; */
    position: relative;
}

.sf-product-media img {
    max-width: 100%;
    height: 200px !important;
    object-fit: contain;
    transition: transform 0.45s var(--sf-ease);
}

.product-card:hover .sf-product-media img {
    transform: scale(1.05);
}

.sf-product-badge {
    display: inline-block !important;
    background: var(--sf-accent) !important;
    color: var(--sf-white) !important;
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.sf-product-body {
    padding: 20px 22px 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sf-product-body h3,
.sf-product-body h3 a {
    font-family: var(--sf-display) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--sf-ink) !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
}

.sf-product-body p {
    font-size: 0.85rem !important;
    color: var(--sf-muted-dark) !important;
    margin-bottom: 14px !important;
    flex: 1;
}

.sf-price {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--sf-ink) !important;
}

.sf-price-compare {
    font-size: 0.9rem !important;
    text-decoration: line-through;
    color: var(--sf-muted) !important;
    margin-left: 8px;
}

.sf-product-cta {
    display: block !important;
    text-align: center;
    padding: 12px !important;
    background: var(--sf-ink) !important;
    color: var(--sf-white) !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-top: auto;
    border: none;
}

.sf-product-cta:hover {
    background: var(--sf-accent) !important;
    color: var(--sf-white) !important;
}

/* Full-bleed home banners (after slider) */
.sf-home-banners {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sf-home-banner {
    position: relative;
    min-height: clamp(320px, 48vw, 520px);
    overflow: hidden;
    color: var(--sf-white);
    isolation: isolate;
}

.sf-home-banner-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sf-home-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.9s var(--sf-ease);
}

.sf-home-banner:hover .sf-home-banner-media img {
    transform: scale(1.06);
}

.sf-home-banner-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.sf-home-banner.is-content-left .sf-home-banner-shade {
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.78) 0%, rgba(8, 8, 10, 0.35) 48%, rgba(8, 8, 10, 0.08) 100%);
}

.sf-home-banner.is-content-right .sf-home-banner-shade {
    background: linear-gradient(270deg, rgba(8, 8, 10, 0.78) 0%, rgba(8, 8, 10, 0.35) 48%, rgba(8, 8, 10, 0.08) 100%);
}

.sf-home-banner-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 2.5rem));
    margin: 0 auto;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vw, 72px) 0;
}

.sf-home-banner.is-content-left .sf-home-banner-inner {
    justify-content: flex-start;
    text-align: left;
}

.sf-home-banner.is-content-right .sf-home-banner-inner {
    justify-content: flex-end;
    text-align: right;
}

.sf-home-banner-copy {
    max-width: min(34rem, 100%);
}

.sf-home-banner.is-content-right .sf-home-banner-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sf-home-banner-title {
    font-family: var(--sf-display);
    font-size: clamp(1.85rem, 4.2vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 14px;
    text-wrap: balance;
}

.sf-home-banner-detail {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.55;
    max-width: 36ch;
}

.sf-home-banner-cta {
    align-self: flex-start;
}

.sf-home-banner.is-content-right .sf-home-banner-cta {
    align-self: flex-end;
}

@media (max-width: 640px) {
    .sf-home-banner {
        min-height: 380px;
    }

    .sf-home-banner.is-content-left .sf-home-banner-shade,
    .sf-home-banner.is-content-right .sf-home-banner-shade {
        background: linear-gradient(180deg, rgba(8, 8, 10, 0.2) 0%, rgba(8, 8, 10, 0.82) 70%);
    }

    .sf-home-banner-inner,
    .sf-home-banner.is-content-left .sf-home-banner-inner,
    .sf-home-banner.is-content-right .sf-home-banner-inner {
        align-items: flex-end;
        justify-content: flex-start;
        text-align: left;
        padding-bottom: 36px;
    }

    .sf-home-banner.is-content-right .sf-home-banner-copy {
        align-items: flex-start;
    }

    .sf-home-banner-cta {
        align-self: flex-start !important;
    }
}

/* Legacy banner card strip (kept for other pages if reused) */
.sf-banner-strip {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .sf-banner-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sf-banner-card {
    position: relative;
    display: block;
    min-height: 280px;
    border-radius: var(--sf-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--sf-white);
    background: var(--sf-surface);
}

.sf-banner-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--sf-ease);
}

.sf-banner-card:hover img {
    transform: scale(1.05);
}

.sf-banner-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 10, 11, 0.82), rgba(10, 10, 11, 0.2));
}

.sf-banner-copy {
    position: relative;
    z-index: 1;
    padding: 36px;
    max-width: 28ch;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sf-banner-copy h3 {
    font-family: var(--sf-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.sf-banner-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Benefits / BNPL */
.bnpl-section-v3,
.sf-benefits {
    background: var(--sf-ink) !important;
    color: var(--sf-white);
    padding: clamp(64px, 10vw, 100px) 0 !important;
}

.bnpl-section-v3 .section-header h2,
.sf-benefits .sf-title {
    color: var(--sf-white) !important;
    font-family: var(--sf-display);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bnpl-section-v3 .section-header p {
    color: rgba(255, 255, 255, 0.65) !important;
}

.partners-grid,
.sf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .partners-grid,
    .sf-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.partner-item,
.sf-benefit {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    padding: 28px 22px;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s var(--sf-ease);
}

.partner-item:hover,
.sf-benefit:hover {
    border-color: rgba(225, 6, 0, 0.45);
    transform: translateY(-4px);
}

.partner-icon,
.sf-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(225, 6, 0, 0.15);
    color: var(--sf-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.partner-item h4,
.sf-benefit h4 {
    font-family: var(--sf-display);
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: var(--sf-white);
}

.partner-item p,
.sf-benefit p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Blog teaser */
.sf-blog-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .sf-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sf-blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--sf-white);
    border-radius: var(--sf-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sf-line-dark);
    height: 100%;
    transition: transform 0.35s var(--sf-ease);
}

.sf-blog-card:hover {
    transform: translateY(-4px);
}

.sf-blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--sf-mist);
}

.sf-blog-card .body {
    padding: 20px;
}

.sf-blog-card h3 {
    font-family: var(--sf-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--sf-ink);
}

.sf-blog-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--sf-muted-dark);
}

/* Newsletter */
.sf-newsletter {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(225, 6, 0, 0.35), transparent 50%),
        var(--sf-ink-soft);
    color: var(--sf-white);
    padding: clamp(48px, 8vw, 88px) 0;
    overflow-x: hidden;
}

.sf-newsletter .sf-container {
    width: 100%;
    max-width: 1440px;
    box-sizing: border-box;
}

.sf-newsletter-inner {
    display: grid;
    gap: 24px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 900px) {
    .sf-newsletter-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 36px;
    }
}

.sf-newsletter h2 {
    font-family: var(--sf-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.sf-newsletter p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    max-width: 40ch;
}

.sf-newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .sf-newsletter-form {
        flex-direction: row;
        align-items: center;
    }
}

.sf-newsletter-form input[type="email"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--sf-white);
    padding: 0 18px;
    font-family: var(--sf-font);
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

.sf-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.sf-newsletter-form button,
.sf-newsletter-form .sf-btn {
    flex: 0 0 auto;
    width: 100%;
    min-height: 52px;
    white-space: nowrap;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .sf-newsletter-form button,
    .sf-newsletter-form .sf-btn {
        width: auto;
        min-width: 140px;
        padding-left: 28px;
        padding-right: 28px;
    }
}

#sf-newsletter-msg {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Page header */
.sf-page-header {
    padding: 48px 0 56px;
    background:
        linear-gradient(135deg, #121214 0%, #1c1c20 60%, #2a1212 100%);
    color: var(--sf-white);
    text-align: left;
}

.sf-page-header h1 {
    font-family: var(--sf-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
    color: var(--sf-white);
}

.sf-page-header p {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 40ch;
}

.page-section {
    padding: 64px 0 88px;
    background: var(--sf-paper);
}

.page-section h2 {
    font-family: var(--sf-display) !important;
    color: var(--sf-ink) !important;
    letter-spacing: -0.02em;
}

.page-section h2 .fas {
    color: var(--sf-accent) !important;
}

/* Footer */
.footer-v3 {
    background: #070708 !important;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 28px !important;
    border-top: 1px solid var(--sf-line);
}

.footer-v3 .footer-brand img {
    filter: brightness(0) invert(1);
    height: 36px !important;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-family: var(--sf-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--sf-white);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-v3 .footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    max-width: 32ch;
    line-height: 1.6;
}

.footer-v3 .footer-column h4 {
    font-family: var(--sf-display);
    color: var(--sf-white);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-v3 .footer-column a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-v3 .footer-column a:hover {
    color: var(--sf-white);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--sf-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-white);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--sf-accent);
    border-color: var(--sf-accent);
}

.footer-bottom {
    border-top: 1px solid var(--sf-line);
    margin-top: 48px;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-content {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Forms / inner pages polish */
.btn-primary {
    background: var(--sf-accent) !important;
    border-color: var(--sf-accent) !important;
}

.btn-primary:hover {
    background: var(--sf-accent-hot) !important;
    border-color: var(--sf-accent-hot) !important;
}

/* Empty hero fallback */
.sf-hero-fallback {
    min-height: 420px;
    aspect-ratio: 1920 / 600;
    max-height: 640px;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(225, 6, 0, 0.35), transparent 45%),
        linear-gradient(160deg, #0a0a0b, #1a1010 60%, #0a0a0b);
    display: flex;
    align-items: flex-end;
    padding: clamp(48px, 10vh, 120px) clamp(24px, 5vw, 80px);
    color: var(--sf-white);
}

.sf-hero-fallback .hero-brand-mark {
    opacity: 1;
    transform: none;
}

.sf-hero-fallback h1 {
    font-family: var(--sf-display);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    max-width: 12ch;
    margin: 0 0 16px;
}

.sf-hero-fallback p {
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

/* ---------- Gen Z motion + premium polish ---------- */
.sf-product-body h3,
.sf-product-body h3 a,
.sf-title,
.hero-model,
.sf-collection-body h3 {
    font-family: var(--sf-display) !important;
}

.product-card,
.sf-product-card {
    border-radius: var(--sf-radius-lg) !important;
}

.product-card:hover,
.sf-product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 24px 56px rgba(5, 5, 7, 0.14) !important;
}

.product-card:hover .sf-product-media img {
    transform: scale(1.08);
}

.sf-btn,
.hero-btn,
.sf-product-cta {
    transition: transform 0.25s var(--sf-ease), background 0.25s, box-shadow 0.25s, color 0.25s !important;
}

.sf-btn:hover,
.hero-btn:hover,
.sf-product-cta:hover {
    transform: translateY(-2px);
}

.hero-btn,
.sf-btn-primary {
    box-shadow: 0 0 0 0 var(--sf-glow);
}

.hero-btn:hover,
.sf-btn-primary:hover {
    box-shadow: 0 10px 28px var(--sf-glow);
}

.sf-collection-card {
    transition: transform 0.45s var(--sf-ease), box-shadow 0.45s !important;
}

.sf-collection-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.sf-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s var(--sf-ease), transform 0.8s var(--sf-ease);
    will-change: opacity, transform;
}

.sf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sf-section-mist {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(255, 30, 26, 0.06), transparent 42%),
        var(--sf-mist);
}

.sf-section-dark {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(26, 140, 255, 0.12), transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 30, 26, 0.1), transparent 45%),
        var(--sf-ink);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .sf-reveal,
    .sf-reveal.is-visible,
    .product-card,
    .sf-product-card,
    .sf-product-media img,
    .sf-btn,
    .hero-btn,
    .sf-product-cta,
    .sf-collection-card,
    .hero-slide,
    .hero-progress-bar {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }

    .sf-reveal {
        opacity: 1;
    }
}

/* ---------- Immersive video hero (under transparent menu) ---------- */
body.has-hero-video {
    padding-top: 0;
}

body.has-hero-video .navbar-v3,
body.has-hero-video .navbar-v3.navbar-moto {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    background: transparent !important;
    border-bottom: 1px solid transparent;
    box-shadow: none !important;
}

/* Keep transparent even if a scrolled class is present */
body.has-hero-video .navbar-v3.scrolled,
body.has-hero-video .navbar-v3.navbar-moto.scrolled {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

body.has-hero-video .navbar-v3 .nav-menu-v3 > li > a,
body.has-hero-video .navbar-v3 .nav-auth-link,
body.has-hero-video .navbar-v3 .nav-brand-text {
    color: #fff !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.has-hero-video .navbar-v3 .nav-menu-v3 > li > a:hover,
body.has-hero-video .navbar-v3 .nav-menu-v3 > li > a.active,
body.has-hero-video .navbar-v3 .has-mega-menu:hover > .mega-trigger,
body.has-hero-video .navbar-v3 .has-mega-menu.is-open > .mega-trigger,
body.has-hero-video .navbar-v3 .mega-trigger.active,
body.has-hero-video .navbar-v3 .nav-auth-link:hover,
body.has-hero-video .navbar-v3 .nav-auth-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

body.has-hero-video .navbar-v3 .nav-brand-v3 img {
    filter: brightness(0) invert(1);
}

body.has-hero-video .navbar-v3 .nav-cart-link,
body.has-hero-video .navbar-v3 .mobile-menu-toggle-v3 {
    color: #fff !important;
}

body.has-hero-video .navbar-v3 .mobile-menu-toggle-v3 span {
    background: #fff !important;
}

body.has-hero-video .hero-banner-v3 {
    aspect-ratio: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    height: 100vh;
    height: 100dvh;
}

body.has-hero-video .hero-slide .slide-image .hero-slide-video,
body.has-hero-video .hero-slide .slide-image img {
    object-fit: cover;
    object-position: center center;
}

body.has-hero-video .hero-slide .slide-image::after {
    background: linear-gradient(
        180deg,
        rgba(5, 5, 7, 0.55) 0%,
        rgba(5, 5, 7, 0.15) 28%,
        rgba(5, 5, 7, 0.2) 55%,
        rgba(5, 5, 7, 0.65) 100%
    );
}

body.has-hero-video .hero-slide .slide-text {
    max-width: min(560px, 55%);
    padding-top: calc(var(--sf-nav-h) + clamp(24px, 6vh, 72px));
}

/* Products mega menu over video — frosted glass panel, readable text */
body.has-hero-video .mega-menu,
body.has-hero-video .mega-menu.moto-mega {
    background: rgba(12, 12, 16, 0.88) !important;
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45) !important;
}

body.has-hero-video .mega-close {
    color: rgba(255, 255, 255, 0.7);
}

body.has-hero-video .mega-close:hover {
    color: #fff;
}

body.has-hero-video .moto-mega-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.has-hero-video .moto-mega-link:hover {
    color: #fff !important;
}

body.has-hero-video .moto-mega-link.is-active {
    color: #fff !important;
    border-bottom-color: var(--sf-accent);
}

body.has-hero-video .moto-mega-link-sub {
    color: rgba(255, 255, 255, 0.62) !important;
}

body.has-hero-video .moto-mega-product {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

body.has-hero-video .moto-mega-product:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.18);
}

body.has-hero-video .moto-mega-product-media {
    background: rgba(255, 255, 255, 0.06);
}

body.has-hero-video .moto-mega-product span {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.has-hero-video .moto-mega-featured h4 {
    color: rgba(255, 255, 255, 0.55) !important;
}

body.has-hero-video .moto-mega-featured a {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.has-hero-video .moto-mega-featured a:hover {
    color: var(--sf-accent-hot) !important;
}

@media (max-width: 1024px) {
    body.has-hero-video .hero-banner-v3 {
        min-height: 78vh;
        height: 78vh;
    }

    body.has-hero-video .hero-slide .slide-text {
        max-width: 90%;
    }

    body.has-hero-video .nav-menu-v3.mobile-active {
        background: rgba(5, 5, 7, 0.96) !important;
    }

    body.has-hero-video .nav-menu-v3.mobile-active .moto-mega-link,
    body.has-hero-video .nav-menu-v3.mobile-active > li > a {
        color: rgba(255, 255, 255, 0.92) !important;
    }
}
