/* style.css */
/**
 * EcommSuite Main Stylesheet
 * EcommSuite storefront styles
 */

/* ===== CSS Variables (neutral fallbacks — kits set --color-* on body) ===== */
:root {
    --primary-color: #334155;
    --secondary-color: #e2e8f0;
    --accent-color: #64748b;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --white: #FFFFFF;
    --border-color: #e2e8f0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FF9800;
    --info-color: #2196F3;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container,
.site-container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:not(.btn):not(.nav-link):not(.nav-account-chip):not(.nav-account-dropdown a):hover {
    color: var(--accent-color);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
}
body.storefront {
    overflow-x: hidden;
}
body.storefront .btn,
body.storefront .hero-seo-ctas .btn,
body.storefront .hero-buttons .btn,
body.storefront .product-actions .btn {
    min-height: 44px;
    min-width: 44px;
}

/* Primary/secondary button visuals — see storefront-modern.css */
.btn-primary {
    background-color: var(--color-primary, var(--primary-color));
    color: var(--color-primary-contrast, var(--white));
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary, var(--primary-color));
    border: 2px solid var(--color-primary, var(--primary-color));
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Storefront header — colours from theme (--color-header) or Settings override */
.storefront-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: transparent;
}

.storefront-header .store-navbar {
    position: relative;
    top: auto;
}

.admin-context-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.35rem clamp(1.25rem, 4vw, 2.5rem);
    background: #1e293b;
    color: #e2e8f0;
    font-size: 0.8125rem;
    border-bottom: 1px solid #334155;
}

.admin-context-bar-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.admin-context-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-context-bar-actions .admin-account-btn,
.admin-context-bar-actions .nav-account-chip {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e2e8f0 !important;
    font-size: 0.8125rem;
}

.admin-context-bar-brand {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #94a3b8;
}

.admin-context-bar-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.5rem;
}

.admin-context-bar-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.admin-context-bar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-context-bar-link.is-active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.admin-context-bar-switch {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.15rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-context-bar-switch-btn {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: background 0.15s, color 0.15s;
}

.admin-context-bar-switch-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-context-bar-switch-btn.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.admin-context-account {
    position: relative;
}

.admin-context-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
}

.admin-context-account-trigger::-webkit-details-marker {
    display: none;
}

.admin-context-account-avatar {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.admin-context-account-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-context-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 200px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    padding: 0.5rem 0;
    z-index: 1200;
}

.admin-context-account:not([open]) .admin-context-account-menu {
    display: none;
}

.admin-context-account-email {
    margin: 0;
    padding: 0.35rem 0.85rem 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    border-bottom: 1px solid #334155;
}

.admin-context-account-menu a {
    display: block;
    padding: 0.45rem 0.85rem;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
}

.admin-context-account-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-context-account-signout {
    color: #fca5a5 !important;
    border-top: 1px solid #334155;
    margin-top: 0.25rem;
    padding-top: 0.55rem !important;
}

/* Mobile slide-out navigation */
.store-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1190;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.store-mobile-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.store-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 88vw);
    z-index: 1200;
    background: var(--color-header, var(--white));
    color: var(--color-text, var(--dark-color));
    border-right: 1px solid var(--color-border, var(--border-color));
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.store-mobile-drawer.is-open {
    transform: translateX(0);
}

body.store-nav-open {
    overflow: hidden;
}

.store-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--color-border, var(--border-color));
    background: var(--color-surface, var(--white));
}

.store-mobile-drawer-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text, var(--dark-color));
}

.store-mobile-drawer-close {
    border: none;
    background: var(--color-secondary, #f0f0f0);
    color: var(--color-text, #333);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.store-mobile-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.store-mobile-drawer .nav-menu--drawer {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.store-mobile-drawer .nav-menu--drawer .nav-link {
    display: block;
    padding: 0.85rem 1.25rem;
    text-align: left;
    color: var(--color-text, var(--dark-color));
    border-bottom: 1px solid var(--color-border, #eee);
    font-weight: 600;
    text-decoration: none;
}

.store-mobile-drawer .nav-menu--drawer .nav-link:hover {
    background: var(--color-secondary, #f5f5f5);
    color: var(--color-primary, var(--primary-color));
}

.store-mobile-drawer-footer {
    padding: 1rem 1.1rem 1.25rem;
    border-top: 1px solid var(--color-border, var(--border-color));
    background: var(--color-surface, var(--white));
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.store-drawer-link {
    display: block;
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-radius: 8px;
    color: var(--color-text, #333);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.store-drawer-link:hover {
    background: var(--color-secondary, #f0f0f0);
    color: var(--color-primary, var(--primary-color));
}

.store-drawer-link--signout {
    color: #b42318;
    margin-top: 0.35rem;
}

.store-desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nav-menu--desktop {
    display: flex;
    list-style: none;
    gap: clamp(1.25rem, 3vw, 2.75rem);
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.store-navbar-inner {
    gap: 1rem;
}

@media (max-width: 768px) {
    .store-desktop-nav {
        display: none;
    }

    .store-navbar-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto;
    }

    .store-navbar-inner .nav-menu--drawer {
        display: none;
    }
}

@media (min-width: 769px) {
    .store-mobile-drawer,
    .store-mobile-backdrop {
        display: none !important;
    }

    .nav-hamburger {
        display: none !important;
    }
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.navbar {
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.navbar .container,
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.navbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.store-navbar {
    background: var(--color-header, var(--white));
    border-bottom: 1px solid var(--color-border, var(--border-color));
    width: 100%;
}

.store-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
    position: relative;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.nav-hamburger {
    display: none;
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0.35rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text, var(--dark-color));
    min-width: 0;
}

.nav-brand-text {
    font-weight: 700;
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(52vw, 280px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 20;
    overflow: visible;
}

.nav-account-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--color-border, var(--border-color));
    border-radius: 8px;
    background: var(--color-surface, #fff);
    color: var(--color-text, var(--dark-color));
    font-weight: 600;
    font-size: 0.875rem;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    line-height: 1.2;
}

button.nav-account-chip {
    appearance: none;
}

.nav-account-chip:hover {
    border-color: var(--color-primary, var(--primary-color));
    background: var(--color-secondary, #f8f8f8);
    color: var(--color-text, var(--dark-color));
}

.nav-account-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--color-primary, var(--primary-color));
    color: var(--color-primary-contrast, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nav-account-label {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .nav-account-label {
        display: none;
    }
}

.nav-account-divider {
    border: 0;
    border-top: 1px solid var(--color-border, #eee);
    margin: 0.35rem 0;
}

.nav-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, var(--border-color));
    border-radius: var(--radius-card, 12px);
    box-shadow: var(--shadow-card, 0 12px 40px rgba(0, 0, 0, 0.12));
    z-index: 1100;
    padding: 0.5rem 0;
}

.nav-account-dropdown[hidden] {
    display: none !important;
}

.nav-account-dropdown a {
    display: block;
    padding: 0.55rem 1rem;
    color: var(--color-text, #222);
    text-decoration: none;
    font-weight: 500;
}

.nav-account-dropdown a:hover {
    background: var(--color-secondary, #f5f5f5);
}

.nav-account-dropdown-head {
    padding: 0.65rem 1rem 0.5rem;
    border-bottom: 1px solid var(--color-border, #eee);
    margin-bottom: 0.25rem;
}

.nav-account-signout {
    color: #b42318 !important;
}

.nav-account-badge-pending {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #b45309;
    background: #fffbeb;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
}

.nav-account-wrap {
    position: relative;
}

.nav-account-details summary {
    list-style: none;
    cursor: pointer;
}

.nav-account-details summary::-webkit-details-marker {
    display: none;
}

.nav-account-details summary::marker {
    content: '';
}

.nav-account-details:not([open]) .nav-account-dropdown {
    display: none;
}

.nav-account-details[open] .nav-account-dropdown {
    display: block;
}

.storefront-header,
.store-navbar,
.store-navbar-inner,
.nav-actions,
.nav-account-wrap {
    overflow: visible;
}

.logo-img {
    height: auto;
    max-height: var(--logo-max-height, 40px);
    width: auto;
    max-width: min(220px, 48vw);
    object-fit: contain;
    display: block;
    overflow: visible;
}

@media (min-width: 769px) {
    .store-navbar {
        display: block;
    }

    .store-navbar-inner {
        display: flex;
        flex-wrap: nowrap;
    }

    .nav-hamburger {
        display: none !important;
    }

    .nav-brand {
        flex-shrink: 0;
        justify-content: flex-start;
    }

    .store-navbar-inner .nav-menu {
        display: flex !important;
        flex: 1;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        border: none;
        margin: 0;
        padding: 0;
        position: static;
        background: transparent;
        list-style: none;
    }

    .nav-actions {
        flex-shrink: 0;
        margin-left: 0;
    }
}

.hero-image-placeholder .hero-graphic {
    width: min(420px, 90vw);
    height: 280px;
    border-radius: var(--radius-card, 12px);
    background: linear-gradient(145deg, var(--color-primary, var(--primary-color)) 0%, var(--color-surface, #fff) 70%);
    opacity: 0.85;
    display: block;
    margin: 0 auto;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text, var(--dark-color));
    text-decoration: none;
}

.navbar-brand {
    flex-shrink: 0;
}

.logo-img {
    height: auto !important;
    max-height: var(--logo-max-height, 40px);
    width: auto;
    max-width: min(220px, 48vw);
    object-fit: contain;
    display: block;
    overflow: visible;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu .nav-has-children {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--color-surface, var(--white));
    border: 1px solid var(--color-border, var(--border-color));
    border-radius: var(--radius-card, var(--border-radius));
    box-shadow: var(--shadow-card, var(--box-shadow-lg));
    z-index: 100;
}

.nav-has-children:hover > .nav-submenu,
.nav-has-children:focus-within > .nav-submenu {
    display: block;
}

.nav-submenu .nav-link {
    display: block;
    padding: 0.4rem 1rem;
    white-space: nowrap;
}

.nav-caret {
    font-size: 0.65em;
    opacity: 0.7;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-account {
    position: relative;
}

.account-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.account-btn:hover {
    background-color: var(--accent-color);
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    min-width: 200px;
    box-shadow: var(--box-shadow-lg);
    margin-top: var(--spacing-sm);
    z-index: 1001;
}

.account-dropdown a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--dark-color);
    transition: var(--transition);
}

.account-dropdown a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.account-dropdown hr {
    margin: var(--spacing-xs) 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--secondary-color) 100%);
}

.hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: var(--font-size-lg);
    color: #555;
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

/* ===== Social Proof Section ===== */
.social-proof {
    background-color: var(--light-color);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.social-proof h2 {
    margin-bottom: var(--spacing-xl);
}

.section-lead {
    color: var(--color-muted, #666);
    max-width: 42rem;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.trust-card {
    background: var(--white);
    border-radius: var(--radius-card, var(--border-radius));
    box-shadow: var(--shadow-card, var(--box-shadow));
    padding: var(--spacing-lg);
    text-align: center;
}

.trust-card .trust-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.design-fallback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.design-card {
    background: var(--white);
    border-radius: var(--radius-card, var(--border-radius));
    box-shadow: var(--shadow-card, var(--box-shadow));
    overflow: hidden;
    transition: transform 0.2s;
}

/* Card hover — storefront-modern.css */

.design-card .design-thumb-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-card, 12px) var(--radius-card, 12px) 0 0;
    background: var(--color-secondary, #f0f0f0);
}
.design-card .design-thumb {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
    opacity: 0.4;
}

.design-card .design-body { padding: var(--spacing-md); }

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.proof-item {
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.proof-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.proof-item .icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.proof-item p {
    font-weight: 600;
    margin: 0;
}

/* ===== Featured Products Section ===== */
.featured-products {
    padding: var(--spacing-2xl) 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.product-card {
    background-color: var(--color-surface, var(--white));
    border: 1px solid var(--color-border, var(--border-color));
    border-radius: var(--radius-card, var(--border-radius));
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card, var(--box-shadow));
}

.product-card:hover {
    transform: translateY(var(--card-lift, -8px));
    box-shadow: var(--shadow-card-hover, var(--box-shadow-lg));
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--light-color);
}

.product-info {
    padding: var(--spacing-md);
}

.product-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-price {
    color: var(--color-primary, var(--primary-color));
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.product-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.product-actions .btn {
    flex: 1;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
}

/* ===== About Section ===== */
.about {
    background-color: var(--light-color);
    padding: var(--spacing-2xl) 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    font-size: var(--font-size-lg);
    color: #555;
    margin-bottom: var(--spacing-md);
}

/* ===== Footer (token paint — kits / layout-footer-* own look) ===== */
.footer {
    background-color: var(--color-surface, var(--color-bg, #fff));
    color: var(--color-text, var(--dark-color));
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    border-top: 1px solid var(--color-border, var(--border-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-content--spread {
    display: grid;
    grid-template-columns: minmax(10rem, 1.15fr) minmax(12rem, 2fr) minmax(9rem, 0.85fr);
    align-items: start;
    gap: var(--spacing-xl) var(--spacing-2xl);
}

.footer-section--brand {
    flex: 1 1 180px;
    min-width: 160px;
}

.footer-section--links {
    flex: 2 1 320px;
}

.footer-section--contact {
    flex: 0 1 200px;
    text-align: right;
}

.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links-row li {
    margin: 0;
}

.footer-tagline {
    max-width: 28rem;
    color: #ccc;
    font-size: 0.9375rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    .footer-content--spread {
        grid-template-columns: 1fr;
    }

    .footer-section--contact {
        text-align: left;
    }

    .footer-links-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer-section h4 {
    color: inherit;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: inherit;
    opacity: 0.85;
}

.footer-section a:hover {
    color: var(--color-primary, var(--primary-color));
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.12));
    color: inherit;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.65;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 180, 212, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== Loading & States ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Alert Messages ===== */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.alert-error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.alert-warning {
    background-color: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.alert-info {
    background-color: #E3F2FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: inherit;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--box-shadow-lg);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    cursor: pointer;
    color: var(--dark-color);
}

.modal-body {
    margin-bottom: var(--spacing-lg);
}

.modal-footer {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

/* ===== Tabs ===== */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.tab-button {
    background: none;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    font-weight: 600;
    color: #999;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination button {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.pagination a:hover,
.pagination button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Responsive Design ===== */
/* Blog feed layout lives in storefront-modern.css (.blog-feed) since 1.1.74 */


@media (max-width: 1024px) {
    .hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-3xl: 2rem;
        --font-size-2xl: 1.5rem;
        --spacing-2xl: 2rem;
    }

    .store-navbar-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0 0.5rem;
        position: relative;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        min-height: 52px;
    }

    .nav-hamburger {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        z-index: 3;
    }

    .nav-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        position: static;
        left: auto;
        transform: none;
        max-width: min(52vw, 240px);
        z-index: 1;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0;
        z-index: 2;
    }

    .hamburger {
        display: flex;
    }

    .nav-link {
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg) 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    .navbar .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .logo-img {
        max-height: min(var(--logo-max-height, 40px), 36px);
    }

    .nav-menu {
        gap: 0;
    }

    .account-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-sm);
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-content p {
        font-size: var(--font-size-base);
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        margin-bottom: var(--spacing-md);
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    .modal-content {
        padding: var(--spacing-md);
    }

    .modal-header h2 {
        font-size: var(--font-size-xl);
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* ===== PWA install banner ===== */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: #1f2937;
    color: #fff;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.pwa-install-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.pwa-install-banner__btn {
    background: #c45c6a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
}
.pwa-install-banner__dismiss {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    background: #111827;
    color: #f9fafb;
    padding: 1rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,.2);
}
.cookie-consent-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}
.cookie-consent-banner__text { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
.cookie-consent-banner__actions { display: flex; gap: 0.5rem; }
.cookie-consent-banner__btn {
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
}
.cookie-consent-banner__btn--accept { background: #c45c6a; color: #fff; }
.cookie-consent-banner__btn--decline { background: transparent; color: #d1d5db; border: 1px solid #4b5563; }

.guest-cart-email-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.guest-cart-email-modal__box {
    background: #fff; border-radius: 12px; padding: 1.25rem; max-width: 360px; width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
[data-wishlist-id].is-active { color: #c45c6a; border-color: #c45c6a; }

/* responsive.css */
/**
 * Responsive Design Utilities
 * Additional responsive classes and utilities
 */

/* ===== Display Utilities ===== */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

.d-grid {
    display: grid !important;
}

/* ===== Flex Utilities ===== */
.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.items-stretch {
    align-items: stretch;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

/* ===== Grid Utilities ===== */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.col-span-3 {
    grid-column: span 3 / span 3;
}

.col-span-4 {
    grid-column: span 4 / span 4;
}

.col-span-6 {
    grid-column: span 6 / span 6;
}

/* ===== Width Utilities ===== */
.w-full {
    width: 100%;
}

.w-1\/2 {
    width: 50%;
}

.w-1\/3 {
    width: 33.333333%;
}

.w-2\/3 {
    width: 66.666667%;
}

.w-1\/4 {
    width: 25%;
}

.w-3\/4 {
    width: 75%;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-full {
    max-width: 100%;
}

/* ===== Height Utilities ===== */
.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.min-h-screen {
    min-height: 100vh;
}

/* ===== Text Utilities ===== */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.5rem;
}

.text-2xl {
    font-size: 1.875rem;
}

.text-3xl {
    font-size: 2.25rem;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Color Utilities ===== */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-dark {
    color: var(--dark-color);
}

.text-light {
    color: #999;
}

.text-success {
    color: var(--success-color);
}

.text-error {
    color: var(--error-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-white {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--dark-color);
}

/* ===== Opacity Utilities ===== */
.opacity-0 {
    opacity: 0;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}

/* ===== Border Utilities ===== */
.border {
    border: 1px solid var(--border-color);
}

.border-t {
    border-top: 1px solid var(--border-color);
}

.border-r {
    border-right: 1px solid var(--border-color);
}

.border-b {
    border-bottom: 1px solid var(--border-color);
}

.border-l {
    border-left: 1px solid var(--border-color);
}

.rounded {
    border-radius: var(--border-radius);
}

.rounded-sm {
    border-radius: 4px;
}

.rounded-lg {
    border-radius: 12px;
}

.rounded-full {
    border-radius: 9999px;
}

/* ===== Shadow Utilities ===== */
.shadow {
    box-shadow: var(--box-shadow);
}

.shadow-lg {
    box-shadow: var(--box-shadow-lg);
}

.shadow-none {
    box-shadow: none;
}

/* ===== Overflow Utilities ===== */
.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* ===== Position Utilities ===== */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.z-auto {
    z-index: auto;
}

/* ===== Tablet Breakpoint (768px) ===== */
@media (max-width: 768px) {
    .hidden-tablet {
        display: none !important;
    }

    .visible-tablet {
        display: block !important;
    }

    .grid-cols-1-tablet {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grid-cols-2-tablet {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flex-column-tablet {
        flex-direction: column;
    }

    .w-full-tablet {
        width: 100%;
    }

    .text-center-tablet {
        text-align: center;
    }
}

/* ===== Mobile Breakpoint (480px) ===== */
@media (max-width: 480px) {
    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block !important;
    }

    .grid-cols-1-mobile {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .flex-column-mobile {
        flex-direction: column;
    }

    .w-full-mobile {
        width: 100%;
    }

    .text-center-mobile {
        text-align: center;
    }

    .text-sm-mobile {
        font-size: 0.875rem;
    }

    .p-2-mobile {
        padding: 1rem;
    }

    .m-0-mobile {
        margin: 0;
    }
}

/* ===== Large Screen Breakpoint (1200px+) ===== */
@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }

    .visible-lg {
        display: block !important;
    }

    .grid-cols-4-lg {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .grid-cols-6-lg {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* EcommSuite storefront — mobile layout */
@media (max-width: 768px) {
    .navbar-inner:not(.store-navbar-inner) { flex-direction: column; align-items: stretch; }
    .nav-menu { flex-direction: column; width: 100%; text-align: center; gap: 0.5rem; }
    .hero .hero-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .trust-grid, .design-fallback-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .trust-grid, .design-fallback-grid { grid-template-columns: 1fr; }
}

/* storefront-layouts.css */
/**
 * Layout presets — each theme should feel unmistakably different on the storefront.
 * All presets include mobile-first overrides at the bottom.
 */

/* ===== Soft Linen (default / featured #1) ===== */
.layout-preset-soft_linen .hero { padding: 4rem 0; border-radius: 0 0 32px 32px; }
.layout-preset-soft_linen .hero .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.layout-preset-soft_linen .hero-content h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; }
.layout-preset-soft_linen .design-fallback-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.75rem; }
.layout-preset-soft_linen .design-card { border-radius: var(--radius-card, 20px); overflow: hidden; }
.layout-preset-soft_linen .trust-grid { grid-template-columns: repeat(4, 1fr); }
.layout-preset-soft_linen .hero-seo { border-radius: 0 0 32px 32px; }

/* ===== Kitchen Atelier (Kutchara-inspired) ===== */
.layout-preset-kitchen_atelier .hero { padding: 3.5rem 0 4rem; border-bottom: 1px solid var(--color-border); }
.layout-preset-kitchen_atelier .hero .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.layout-preset-kitchen_atelier .hero-content h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; letter-spacing: -0.02em; }
.layout-preset-kitchen_atelier .hero-content p { max-width: 32rem; color: var(--color-muted); }
.layout-preset-kitchen_atelier .navbar { border-bottom: 1px solid var(--color-border) !important; }
.layout-preset-kitchen_atelier .design-fallback-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.layout-preset-kitchen_atelier .design-card { border-radius: var(--radius-card, 12px); border: 1px solid var(--color-border); }
.layout-preset-kitchen_atelier .hero-seo { min-height: 62vh; }
.layout-preset-kitchen_atelier .hero-seo-heading { font-weight: 500; letter-spacing: -0.02em; }
.layout-preset-kitchen_atelier .seo-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ===== Homestead (Sitora-inspired) ===== */
.layout-preset-homestead .hero { padding: 2.5rem 0 3rem; }
.layout-preset-homestead .hero .hero-grid { grid-template-columns: 1fr; max-width: 760px; text-align: left; }
.layout-preset-homestead .hero-content h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 600; letter-spacing: -0.03em; }
.layout-preset-homestead .hero-buttons { justify-content: flex-start; }
.layout-preset-homestead .navbar { box-shadow: none !important; border-bottom: 1px solid var(--color-border) !important; }
.layout-preset-homestead .design-fallback-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.layout-preset-homestead .design-card { border-radius: var(--radius-card, 8px); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
.layout-preset-homestead .hero-seo { min-height: 54vh; border-radius: 0; }
.layout-preset-homestead .hero-seo-heading { font-weight: 600; letter-spacing: -0.03em; }

/* ===== Luxe Minimal (Mizu-inspired) ===== */
.layout-preset-luxe_minimal .hero { min-height: 72vh; display: flex; align-items: flex-end; padding: 0 0 3.5rem; }
.layout-preset-luxe_minimal .hero .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: end; }
.layout-preset-luxe_minimal .hero-content h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: 0.95; font-weight: 500; }
.layout-preset-luxe_minimal .hero-content p { max-width: 26rem; color: var(--color-muted); }
.layout-preset-luxe_minimal .nav-link { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; }
.layout-preset-luxe_minimal .design-fallback-grid { grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); }
.layout-preset-luxe_minimal .design-card { border-radius: 0; background: var(--color-surface); box-shadow: none; border: none; }
.layout-preset-luxe_minimal .btn { border-radius: 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.layout-preset-luxe_minimal .hero-seo { min-height: 78vh; }
.layout-preset-luxe_minimal .hero-seo-heading { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 0.95; }
.layout-preset-luxe_minimal .hero-seo-overlay { background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.55) 100%); }

/* ===== Wellness Soft (Sophia Pro-inspired) ===== */
.layout-preset-wellness_soft .hero { padding: 3rem 0; background: var(--color-secondary) !important; border-radius: 28px; margin: 1rem auto; max-width: calc(1140px - 2rem); }
.layout-preset-wellness_soft .hero .hero-grid { grid-template-columns: 0.95fr 1.05fr; gap: 2rem; }
.layout-preset-wellness_soft .hero-content h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 500; }
.layout-preset-wellness_soft .design-fallback-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; }
.layout-preset-wellness_soft .design-card { border-radius: var(--radius-card, 18px); box-shadow: var(--shadow-card); border: 1px solid var(--color-border); }
.layout-preset-wellness_soft .trust-card { border-radius: var(--radius-card, 18px); }
.layout-preset-wellness_soft .hero-seo { margin: 1rem auto; max-width: calc(1140px - 2rem); border-radius: 28px; min-height: 52vh; }
.layout-preset-wellness_soft .seo-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ===== Shared helpers for “more” themes ===== */
.layout-preset-beauty_glow .hero,
.layout-preset-cosmetics_desk .hero { padding: 3.25rem 0; }
.layout-preset-beauty_glow .hero-content h1,
.layout-preset-cosmetics_desk .hero-content h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 500; }
.layout-preset-beauty_glow .design-card,
.layout-preset-cosmetics_desk .design-card { border-radius: var(--radius-card, 16px); box-shadow: var(--shadow-card); }

.layout-preset-tech_vault .hero { padding: 3rem 0; border-bottom: 3px solid var(--color-primary); }
.layout-preset-tech_vault .hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; }
.layout-preset-tech_vault .navbar { background: var(--color-header) !important; }
.layout-preset-tech_vault .navbar .logo,
.layout-preset-tech_vault .nav-link { color: #f8fafc !important; }
.layout-preset-tech_vault .design-fallback-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }

.layout-preset-pet_haven .hero,
.layout-preset-pet_play .hero { padding: 3rem 0; background: var(--color-secondary) !important; border-radius: 24px; margin: 1rem auto; max-width: calc(1140px - 2rem); }
.layout-preset-pet_haven .design-card,
.layout-preset-pet_play .design-card { border-radius: var(--radius-card, 20px); border: 2px solid var(--color-border); }

.layout-preset-fashion_runway .hero { min-height: 70vh; padding: 0 0 3rem; display: flex; align-items: flex-end; }
.layout-preset-fashion_runway .hero-content h1 { font-size: clamp(3rem, 10vw, 6rem); text-transform: uppercase; line-height: 0.9; }
.layout-preset-fashion_runway .navbar { background: var(--color-header) !important; }
.layout-preset-fashion_runway .navbar .logo,
.layout-preset-fashion_runway .nav-link { color: #fff !important; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.layout-preset-fashion_runway .design-fallback-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
.layout-preset-fashion_runway .design-card:nth-child(3n+1) { grid-column: span 2; }

.layout-preset-fresh_market .hero { padding: 2.5rem 0; text-align: center; border-bottom: 3px solid var(--color-primary); }
.layout-preset-fresh_market .hero .hero-grid { grid-template-columns: 1fr; }
.layout-preset-fresh_market .hero-content h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; }
.layout-preset-fresh_market .hero-buttons { justify-content: center; }
.layout-preset-fresh_market .navbar { background: var(--color-header) !important; }
.layout-preset-fresh_market .navbar .logo,
.layout-preset-fresh_market .nav-link { color: #fff !important; }
.layout-preset-fresh_market .design-fallback-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.85rem; }

.layout-preset-jewel_case .hero { padding: 4rem 0; }
.layout-preset-jewel_case .hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-style: italic; font-weight: 500; }
.layout-preset-jewel_case .design-fallback-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.75rem; }
.layout-preset-jewel_case .design-card { border: 1px solid var(--color-border); }

.layout-preset-trail_outdoors .hero,
.layout-preset-cycle_gear .hero { padding: 4rem 0; text-align: center; background: var(--color-header) !important; color: #fff; }
.layout-preset-trail_outdoors .hero-content h1,
.layout-preset-cycle_gear .hero-content h1 { color: #fff; font-size: clamp(2.4rem, 7vw, 4rem); text-transform: uppercase; }
.layout-preset-trail_outdoors .hero-content p,
.layout-preset-cycle_gear .hero-content p { color: rgba(255,255,255,0.85); margin: 0 auto 1.5rem; max-width: 36rem; }
.layout-preset-trail_outdoors .hero-buttons,
.layout-preset-cycle_gear .hero-buttons { justify-content: center; }
.layout-preset-trail_outdoors .navbar,
.layout-preset-cycle_gear .navbar { background: var(--color-header) !important; }
.layout-preset-trail_outdoors .navbar .logo,
.layout-preset-trail_outdoors .nav-link,
.layout-preset-cycle_gear .navbar .logo,
.layout-preset-cycle_gear .nav-link { color: #fff !important; }
.layout-preset-trail_outdoors .design-fallback-grid,
.layout-preset-cycle_gear .design-fallback-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.layout-preset-trail_outdoors .design-card:nth-child(3n+1),
.layout-preset-cycle_gear .design-card:nth-child(3n+1) { grid-column: span 2; }

.layout-preset-glam_events .hero,
.layout-preset-night_events .hero { min-height: 70vh; padding: 0 0 3.5rem; display: flex; align-items: flex-end; background: var(--color-bg) !important; }
.layout-preset-glam_events .hero-content h1 { font-size: clamp(2.8rem, 8vw, 5rem); font-style: italic; }
.layout-preset-night_events .hero-content h1 { font-size: clamp(3rem, 11vw, 6rem); text-transform: uppercase; color: var(--color-primary); line-height: 0.9; }
.layout-preset-glam_events .navbar { background: transparent !important; position: absolute; width: 100%; z-index: 10; border: none !important; }
.layout-preset-night_events .navbar { background: var(--color-primary) !important; }
.layout-preset-night_events .navbar .logo,
.layout-preset-night_events .nav-link { color: var(--color-primary-contrast) !important; text-transform: uppercase; }
.layout-preset-glam_events .design-fallback-grid { columns: 2; column-gap: 1.25rem; display: block; }
.layout-preset-glam_events .design-card { break-inside: avoid; margin-bottom: 1.25rem; }
.layout-preset-night_events .design-fallback-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
.layout-preset-night_events .btn-primary { box-shadow: 0 0 24px rgba(124, 58, 237, 0.35); }

.layout-preset-travel_trek .hero { padding: 3.5rem 0; }
.layout-preset-travel_trek .hero .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.layout-preset-travel_trek .hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; }
.layout-preset-travel_trek .design-card { border-radius: var(--radius-card, 16px); box-shadow: var(--shadow-card); }

.layout-preset-street_swag .hero { padding: 1.75rem 0 2.5rem; border-bottom: 2px solid var(--color-text); }
.layout-preset-street_swag .hero .hero-grid { grid-template-columns: 1fr; max-width: 720px; }
.layout-preset-street_swag .hero-content h1 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; letter-spacing: -0.04em; font-weight: 700; }
.layout-preset-street_swag .navbar { border-bottom: 2px solid var(--color-text) !important; box-shadow: none !important; }
.layout-preset-street_swag .design-fallback-grid { grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); }
.layout-preset-street_swag .design-card { border-radius: 0; border: 1px solid var(--color-text); box-shadow: 0 4px 0 var(--color-text); }
.layout-preset-street_swag .btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }

.layout-preset-ornate_home .hero { padding: 3rem 0; background: var(--color-secondary) !important; border-radius: 20px; margin: 1rem auto; max-width: calc(1140px - 2rem); }
.layout-preset-ornate_home .hero .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
.layout-preset-ornate_home .design-card { border: 1px solid var(--color-border); border-radius: var(--radius-card, 12px); }

.layout-preset-table_service .hero { padding: 3rem 0; }
.layout-preset-table_service .hero .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.layout-preset-table_service .hero-content h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.layout-preset-table_service .design-card { border-radius: var(--radius-card, 18px); box-shadow: var(--shadow-card); }

.layout-preset-boutique_cards .hero-seo { border-radius: 0 0 28px 28px; overflow: hidden; }
.layout-preset-boutique_cards .hero-seo-content { max-width: 520px; }
.layout-preset-boutique_cards .hero-seo-heading { font-weight: 600; letter-spacing: -0.02em; }
.layout-preset-boutique_cards .seo-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.layout-preset-boutique_cards .seo-trust-card { border-radius: var(--radius-card, 16px); box-shadow: var(--shadow-card); }
.layout-preset-boutique_cards .seo-collections-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.layout-preset-boutique_cards .seo-collection-tile { border-radius: var(--radius-card, 16px); overflow: hidden; box-shadow: var(--shadow-card); }

/* Layout-mode helpers */
.layout-home-hero-minimal .hero-media { min-height: 360px; }
.layout-home-hero-bold .hero-content { text-align: center; max-width: 900px; margin: 0 auto; }
.layout-home-hero-editorial .hero { position: relative; }
.layout-home-hero-warm .hero-buttons .btn-secondary {
    background: var(--color-accent);
    color: #fff !important;
    border-color: var(--color-accent);
}
.layout-home-hero-warm .hero-buttons .btn-secondary:hover {
    color: #fff !important;
}

/* ===== Mobile / tablet (all themes) ===== */
@media (max-width: 900px) {
    .layout-preset-soft_linen .hero .hero-grid,
    .layout-preset-kitchen_atelier .hero .hero-grid,
    .layout-preset-luxe_minimal .hero .hero-grid,
    .layout-preset-wellness_soft .hero .hero-grid,
    .layout-preset-travel_trek .hero .hero-grid,
    .layout-preset-table_service .hero .hero-grid,
    .layout-preset-ornate_home .hero .hero-grid,
    .layout-preset-pet_haven .hero .hero-grid,
    .layout-preset-pet_play .hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .layout-preset-soft_linen .trust-grid,
    .layout-preset-kitchen_atelier .seo-trust-grid,
    .layout-preset-wellness_soft .seo-trust-grid,
    .layout-preset-boutique_cards .seo-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .layout-preset-luxe_minimal .design-fallback-grid,
    .layout-preset-tech_vault .design-fallback-grid,
    .layout-preset-street_swag .design-fallback-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layout-preset-fashion_runway .design-card:nth-child(3n+1),
    .layout-preset-trail_outdoors .design-card:nth-child(3n+1),
    .layout-preset-cycle_gear .design-card:nth-child(3n+1) {
        grid-column: span 1;
    }

    .layout-preset-glam_events .design-fallback-grid { columns: 1; }

    .layout-preset-wellness_soft .hero,
    .layout-preset-pet_haven .hero,
    .layout-preset-pet_play .hero,
    .layout-preset-ornate_home .hero,
    .layout-preset-wellness_soft .hero-seo {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        max-width: none;
        border-radius: 18px;
    }

    .layout-preset-luxe_minimal .hero,
    .layout-preset-glam_events .hero,
    .layout-preset-night_events .hero,
    .layout-preset-fashion_runway .hero {
        min-height: 56vh;
    }

    .layout-preset-kitchen_atelier .hero-seo,
    .layout-preset-homestead .hero-seo,
    .layout-preset-luxe_minimal .hero-seo {
        min-height: 48vh;
    }

    .layout-preset-glam_events .navbar {
        position: relative;
        background: var(--color-header) !important;
    }
}

@media (max-width: 560px) {
    .layout-preset-soft_linen .trust-grid,
    .layout-preset-kitchen_atelier .seo-trust-grid,
    .layout-preset-wellness_soft .seo-trust-grid,
    .layout-preset-boutique_cards .seo-trust-grid {
        grid-template-columns: 1fr;
    }

    .layout-preset-fresh_market .design-fallback-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layout-preset-homestead .design-fallback-grid,
    .layout-preset-kitchen_atelier .design-fallback-grid,
    .layout-preset-wellness_soft .design-fallback-grid,
    .layout-preset-beauty_glow .design-fallback-grid,
    .layout-preset-cosmetics_desk .design-fallback-grid,
    .layout-preset-jewel_case .design-fallback-grid,
    .layout-preset-travel_trek .design-fallback-grid,
    .layout-preset-table_service .design-fallback-grid,
    .layout-preset-ornate_home .design-fallback-grid,
    .layout-preset-pet_haven .design-fallback-grid,
    .layout-preset-pet_play .design-fallback-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .layout-preset-hero .hero-content h1,
    .layout-preset-soft_linen .hero-content h1,
    .layout-preset-kitchen_atelier .hero-content h1,
    .layout-preset-homestead .hero-content h1,
    .layout-preset-wellness_soft .hero-content h1 {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
    }

    .layout-preset-luxe_minimal .hero-content h1,
    .layout-preset-fashion_runway .hero-content h1,
    .layout-preset-night_events .hero-content h1,
    .layout-preset-glam_events .hero-content h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .layout-preset-trail_outdoors .hero,
    .layout-preset-cycle_gear .hero,
    .layout-preset-fresh_market .hero,
    .layout-preset-night_events .hero {
        padding: 2.25rem 1rem;
    }

    .layout-preset-street_swag .design-fallback-grid,
    .layout-preset-luxe_minimal .design-fallback-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* storefront-modern.css */
/**
 * Modern storefront UI — elevated cards, 3D buttons, rich hovers (all theme presets).
 */

body.storefront {
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, color-mix(in srgb, var(--color-primary, #888) 8%, transparent), transparent),
        var(--color-bg, var(--light-color, #fafafa));
    background-attachment: fixed;
}

:root {
    --shadow-btn: 0 4px 0 color-mix(in srgb, var(--color-primary, #1a1a1a) 35%, #000),
        0 8px 20px color-mix(in srgb, var(--color-primary, #1a1a1a) 25%, transparent);
    --shadow-btn-hover: 0 6px 0 color-mix(in srgb, var(--color-primary, #1a1a1a) 35%, #000),
        0 14px 28px color-mix(in srgb, var(--color-primary, #1a1a1a) 30%, transparent);
    --shadow-card-hover: 0 20px 50px color-mix(in srgb, var(--color-text, #000) 14%, transparent),
        0 8px 16px color-mix(in srgb, var(--color-text, #000) 8%, transparent);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* Links — do not steal button label colour on hover */
a:not(.btn):not(.nav-link):not(.nav-account-chip):hover {
    color: var(--color-accent, var(--accent-color));
}

/* ===== Buttons (3D + glow) ===== */
.btn {
    position: relative;
    border: 2px solid transparent;
    border-radius: var(--radius-btn, var(--radius-card, 12px));
    font-weight: 600;
    letter-spacing: 0.02em;
    transition:
        transform 0.2s var(--ease-spring),
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    will-change: transform;
}

.btn:active {
    transform: translateY(2px) scale(0.98);
}

.btn-primary {
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--color-primary, var(--primary-color)) 88%, #fff) 0%,
        var(--color-primary, var(--primary-color)) 55%,
        color-mix(in srgb, var(--color-primary, var(--primary-color)) 85%, #000) 100%
    );
    color: var(--color-primary-contrast, #fff) !important;
    border-color: color-mix(in srgb, var(--color-primary, var(--primary-color)) 70%, #000);
    box-shadow: none;
}

.btn-primary:hover,
a.btn-primary:hover,
.hero-buttons .btn-primary:hover {
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--color-accent, var(--accent-color)) 75%, #fff) 0%,
        var(--color-accent, var(--accent-color)) 50%,
        color-mix(in srgb, var(--color-accent, var(--accent-color)) 80%, #000) 100%
    );
    color: var(--color-primary-contrast, #fff) !important;
    border-color: color-mix(in srgb, var(--color-accent, var(--accent-color)) 65%, #000);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

.btn-secondary {
    background: var(--color-surface, var(--white));
    color: var(--color-primary, var(--primary-color)) !important;
    border: 2px solid var(--color-primary, var(--primary-color));
    box-shadow: none;
}

.btn-secondary:hover,
a.btn-secondary:hover,
.hero-buttons .btn-secondary:hover {
    background: var(--color-primary, var(--primary-color));
    color: var(--color-primary-contrast, #fff) !important;
    border-color: var(--color-primary, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

/* ===== Cards ===== */
.design-card,
.trust-card,
.product-card {
    background: var(--color-surface, var(--white));
    border: 1px solid color-mix(in srgb, var(--color-border, #e5e5e5) 85%, var(--color-primary, transparent));
    border-radius: var(--radius-card, 14px);
    box-shadow: var(--shadow-card, 0 10px 30px rgba(0, 0, 0, 0.08));
    transition:
        transform 0.28s var(--ease-spring),
        box-shadow 0.28s ease,
        border-color 0.2s ease;
}

.design-card:hover,
.trust-card:hover,
.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-card-hover);
    border-color: color-mix(in srgb, var(--color-primary, #888) 35%, var(--color-border, #ddd));
}

.design-card .design-body {
    padding: 1rem 1.1rem 1.15rem;
}

/* Account chip — subtle lift */
.nav-account-chip {
    box-shadow: 0 2px 8px color-mix(in srgb, var(--color-text, #000) 10%, transparent);
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, border-color 0.15s;
}

.nav-account-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--color-text, #000) 12%, transparent);
}

.nav-account-dropdown {
    box-shadow: var(--shadow-card-hover);
    border: 1px solid var(--color-border, #e8e8e8);
}

/* Space below top bar before first homepage section (rounded hero/slider) */
.storefront--modern .vb-page-main > .vb-section:first-child,
.storefront--modern .vb-page-main > .hero:first-child {
    margin-top: clamp(1rem, 2.5vw, 1.75rem);
}

.storefront--modern .vb-page-main > .vb-section:first-child .hero-media.hero-slider,
.storefront--modern .vb-page-main > .hero:first-child .hero-media.hero-slider {
    border-radius: var(--radius-card, 0.75rem);
}

/* Hero polish + image slider */
.hero {
    position: relative;
}

.hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.hero-content h1 {
    letter-spacing: -0.02em;
}

.hero-media.hero-slider {
    position: relative;
    min-height: clamp(320px, 42vw, 520px);
    border-radius: var(--radius-card, 20px);
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 20px 50px rgba(0, 0, 0, 0.12));
    background: var(--color-secondary, #eee);
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: clamp(320px, 42vw, 520px);
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-slider-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.65rem;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    z-index: 2;
}

.hero-slider-btn {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.hero-slider-dots {
    display: flex;
    gap: 0.35rem;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-slider-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* Homepage business gallery (SEO / store imagery) */
.home-gallery-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.home-gallery-section h2 {
    margin-bottom: 0.5rem;
}

.home-gallery-subtitle {
    color: var(--color-muted, #666);
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.home-gallery-slider {
    border-radius: var(--radius-card, 16px);
    overflow: hidden;
    min-height: 320px;
    box-shadow: var(--shadow-card, 0 12px 32px rgba(0, 0, 0, 0.1));
}

.home-gallery-slider .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-height: 320px;
}

.home-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.75));
    color: #fff;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media.hero-slider {
        order: -1;
        min-height: 280px;
    }

    .home-gallery-slider {
        min-height: 240px;
    }
}

/* Pass E: per-preset chrome moved to theme-kits.css (layout-preset-*). */

/* ===== Blog feed + reader (1.1.74) — Facebook-style vertical floating cards ===== */
.blog-feed-header {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* Single-column social feed — same chrome on every install */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.5vw, 1.35rem);
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 2rem;
    box-sizing: border-box;
}

/*
 * Theme-agnostic card chrome.
 * Higher specificity than theme-kits `body.storefront .blog-card` so kit radii,
 * shadows, and fonts cannot turn the feed into a different product per brand.
 */
body.storefront .blog-feed .blog-card,
.blog-feed .blog-card {
    display: block;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: var(--color-surface, #ffffff);
    border: 1px solid color-mix(in srgb, var(--color-border, #e8e6e3) 90%, transparent);
    border-radius: 18px;
    box-shadow:
        var(--shadow-card, 0 10px 28px rgba(15, 23, 42, 0.1)),
        0 1px 0 rgba(255, 255, 255, 0.35) inset;
    transform: translateY(0);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.26s ease,
        border-color 0.2s ease;
    font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
    color: var(--color-text, #111827);
}

body.storefront .blog-feed .blog-card:hover,
.blog-feed .blog-card:hover {
    transform: translateY(var(--card-lift, -8px));
    box-shadow: var(--shadow-card-hover, 0 18px 40px rgba(15, 23, 42, 0.16));
    border-color: color-mix(in srgb, var(--color-border, #e8e6e3) 80%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    body.storefront .blog-feed .blog-card,
    .blog-feed .blog-card {
        transition: none;
    }
    body.storefront .blog-feed .blog-card:hover,
    .blog-feed .blog-card:hover {
        transform: none;
    }
}

.blog-feed .blog-card-hit {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.blog-feed .blog-card-hit:focus-visible {
    outline: 2px solid var(--color-primary, #333);
    outline-offset: 3px;
}

.blog-feed .blog-card-img,
.blog-feed .blog-card-img--placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--color-primary, #888) 10%, #e8eef5),
            color-mix(in srgb, var(--color-accent, #aaa) 8%, #f3f4f6));
}

.blog-feed .blog-card-body {
    padding: 1rem 1.15rem 1.25rem;
}

.blog-feed .blog-card-date,
.blog-feed .blog-reader-date {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--color-muted, #64748b);
}

.blog-feed .blog-card-title {
    margin: 0 0 0.5rem;
    font-family: inherit;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--color-text, #111827);
}

.blog-feed .blog-card-excerpt {
    margin: 0 0 0.9rem;
    color: var(--color-muted, #64748b);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-feed .blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary, #1a1a1a);
}

.blog-feed .blog-card-read::after {
    content: "\2192";
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-feed .blog-card:hover .blog-card-read::after,
.blog-feed .blog-card-hit:focus-visible .blog-card-read::after {
    transform: translateX(3px);
}

.blog-empty {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1rem;
    border: 1px dashed var(--color-border, #e5e5e5);
    border-radius: 18px;
    background: color-mix(in srgb, var(--color-surface, #fff) 80%, transparent);
}

/* Reader modal — same floating curved card depth */
html.blog-reader-open,
body.blog-reader-open {
    overflow: hidden;
}

.blog-reader {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.blog-reader[hidden] {
    display: none !important;
}

.blog-reader-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

body.storefront .blog-reader-dialog,
.blog-reader-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    height: min(100dvh, 100vh);
    max-height: min(100dvh, 100vh);
    margin: 0;
    background: var(--color-surface, #ffffff);
    border: 1px solid color-mix(in srgb, var(--color-border, #e8e6e3) 90%, transparent);
    border-radius: 18px 18px 0 0;
    box-shadow: var(--shadow-card-hover, 0 24px 60px rgba(15, 23, 42, 0.22));
    outline: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    color: var(--color-text, #111827);
}

@media (min-width: 768px) {
    .blog-reader {
        align-items: center;
        padding: 1.5rem;
    }
    body.storefront .blog-reader-dialog,
    .blog-reader-dialog {
        border-radius: 18px;
        height: auto;
        max-height: min(88vh, 900px);
    }
}

.blog-reader-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-surface, #fff) 88%, #000);
    color: var(--color-text, #111);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.blog-reader-close:hover,
.blog-reader-close:focus-visible {
    background: var(--color-primary, #1a1a1a);
    color: var(--color-primary-contrast, #fff);
}

.blog-reader-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.25rem 2rem;
    max-height: inherit;
}

.blog-reader-loading,
.blog-reader-error {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-muted, #64748b);
}

.blog-reader-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 1rem;
    border: 3px solid color-mix(in srgb, var(--color-primary, #888) 25%, transparent);
    border-top-color: var(--color-primary, #333);
    border-radius: 50%;
    animation: blog-spin 0.7s linear infinite;
}

@keyframes blog-spin {
    to { transform: rotate(360deg); }
}

.blog-reader-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--color-primary, #888) 10%, #e8eef5),
            color-mix(in srgb, var(--color-accent, #aaa) 8%, #f3f4f6));
}

.blog-reader-gallery[hidden] {
    display: none !important;
}

.blog-reader-gallery-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.blog-reader-gallery-track {
    display: flex;
    width: 100%;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.blog-reader-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

.blog-reader-gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

.blog-reader-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-surface, #fff) 90%, #000);
    color: var(--color-text, #111);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.blog-reader-gallery-nav[hidden] {
    display: none !important;
}

.blog-reader-gallery-prev { left: 0.5rem; }
.blog-reader-gallery-next { right: 0.5rem; }

.blog-reader-gallery-nav:hover,
.blog-reader-gallery-nav:focus-visible {
    background: var(--color-primary, #1a1a1a);
    color: var(--color-primary-contrast, #fff);
}

.blog-reader-gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.65rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    z-index: 2;
    pointer-events: none;
}

.blog-reader-gallery-dots[hidden] {
    display: none !important;
}

.blog-reader-gallery-dot {
    pointer-events: auto;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.blog-reader-gallery-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.blog-reader-error-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 0.75rem;
    padding: 0.5rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-primary, #1a1a1a);
    color: var(--color-primary-contrast, #fff);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.blog-reader-error-close:hover,
.blog-reader-error-close:focus-visible {
    filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .blog-reader-gallery-track {
        transition: none;
    }
}

.blog-reader-header {
    margin-bottom: 1.25rem;
    padding-right: 2.5rem;
}

.blog-reader-title {
    margin: 0.35rem 0 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-reader-content {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.blog-reader-content img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.blog-reader-content p {
    margin: 0 0 1rem;
}


/* storefront-topbar-modern.css */
/**
 * Modern storefront top bar — EcommSuite storefront chrome.
 * White sticky bar, gray page canvas, floating cards.
 */

body.storefront--modern {
    background: #f3f4f6;
    background-attachment: scroll;
    color: #111827;
}

.storefront-header--modern {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: transparent;
}

.storefront-header--modern .store-topbar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.storefront-header--modern .store-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.storefront-header--modern .store-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #111827;
    flex-shrink: 0;
    min-width: 0;
}

.storefront-header--modern .store-topbar-brand .logo-img {
    max-height: 44px;
    width: auto;
    max-width: min(220px, 40vw);
    object-fit: contain;
}

.storefront-header--modern .store-topbar-brand-text {
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.125rem);
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(40vw, 240px);
}

.storefront-header--modern .store-topbar-nav {
    display: none;
    flex: 1;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.storefront-header--modern .store-topbar-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.storefront-header--modern .store-topbar-links > li {
    position: relative;
}

.storefront-header--modern .nav-has-children {
    position: relative;
}

.storefront-header--modern .store-topbar .nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 11.5rem;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    z-index: 1200;
}

.storefront-header--modern .nav-has-children:hover > .nav-submenu,
.storefront-header--modern .nav-has-children:focus-within > .nav-submenu {
    display: block;
}

.storefront-header--modern .store-topbar .nav-submenu .store-topbar-link,
.storefront-header--modern .store-topbar .nav-submenu .nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    text-align: left;
}

.storefront-header--modern .store-topbar .nav-submenu .store-topbar-link:hover {
    background: #f3f4f6;
}

.storefront-header--modern .store-topbar .nav-caret {
    font-size: 0.6em;
    margin-left: 0.15rem;
    opacity: 0.65;
}

.storefront-header--modern .store-mobile-drawer .nav-has-children {
    position: static;
}

.storefront-header--modern .store-mobile-drawer .nav-submenu {
    display: block;
    position: static;
    transform: none;
    min-width: 0;
    margin: 0.25rem 0 0.5rem 0.75rem;
    padding: 0.25rem 0 0.25rem 0.75rem;
    border: none;
    border-left: 2px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.storefront-header--modern .store-mobile-drawer .nav-submenu .store-topbar-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.875rem;
}

.storefront-header--modern .store-topbar-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 0.5rem;
    color: #374151 !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.storefront-header--modern .store-topbar-link:hover {
    color: #3b82f6 !important;
    background: #f9fafb;
}

.storefront-header--modern .store-topbar-link.is-accent {
    color: #3b82f6 !important;
    font-weight: 600;
}

.storefront-header--modern .store-topbar-link.is-accent:hover {
    color: #2563eb !important;
    background: #eff6ff;
}

.storefront-header--modern .store-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.storefront-header--modern .store-topbar-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    color: #111827;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: background 0.15s, border-color 0.15s;
}

.storefront-header--modern .store-topbar-cart:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.storefront-header--modern .store-topbar-cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}

.storefront-header--modern .store-topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.storefront-header--modern .store-topbar-btn--primary {
    background: #111827;
    color: #fff !important;
    border: 1px solid #111827;
}

.storefront-header--modern .store-topbar-btn--primary:hover {
    background: #1f2937;
    border-color: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.storefront-header--modern .store-topbar-btn--ghost {
    color: #3b82f6 !important;
    background: transparent;
    border: 1px solid transparent;
    padding-inline: 0.75rem;
}

.storefront-header--modern .store-topbar-btn--ghost:hover {
    color: #2563eb !important;
    text-decoration: underline;
}

.storefront-header--modern .nav-hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
}

.storefront-header--modern .nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #111827;
    border-radius: 1px;
}

/* Account chip — match app bar buttons */
.storefront-header--modern .nav-account-chip {
    border: 1px solid #1e293b;
    border-radius: 0.5rem;
    background: #0b1220;
    color: #e8eef6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.storefront-header--modern .nav-account-chip:hover {
    border-color: #334155;
    background: #111827;
    color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.storefront-header--modern .nav-account-dropdown {
    background: #0b1220;
    color: #e8eef6;
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.storefront-header--modern .nav-account-dropdown a {
    color: #e8eef6;
}

.storefront-header--modern .nav-account-dropdown a:hover {
    background: #111827;
    color: #93c5fd;
}

.storefront-header--modern .nav-account-dropdown-head {
    border-bottom-color: #1e293b;
    color: #e8eef6;
}

.storefront-header--modern .nav-account-divider {
    border-top-color: #1e293b;
}

/* Mobile drawer */
.storefront-header--modern .store-mobile-backdrop {
    z-index: 1195;
}

.storefront-header--modern .store-mobile-drawer {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
}

.storefront-header--modern .store-mobile-drawer .store-mobile-drawer-head {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.1rem;
}

.storefront-header--modern .store-mobile-drawer .nav-link,
.storefront-header--modern .store-mobile-drawer .store-drawer-link {
    color: #374151;
    border-radius: 0.5rem;
}

.storefront-header--modern .store-mobile-drawer .nav-link:hover,
.storefront-header--modern .store-mobile-drawer .store-drawer-link:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Main content — floating card sections on gray canvas (soft themes only) */
.storefront--modern.layout-preset-soft_linen .vb-page-main,
.storefront--modern.layout-preset-soft_linen main.vb-page-main,
.storefront--modern.layout-preset-kitchen_atelier .vb-page-main,
.storefront--modern.layout-preset-kitchen_atelier main.vb-page-main,
.storefront--modern.layout-preset-wellness_soft .vb-page-main,
.storefront--modern.layout-preset-wellness_soft main.vb-page-main,
.storefront--modern.layout-preset-boutique_cards .vb-page-main,
.storefront--modern.layout-preset-boutique_cards main.vb-page-main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem) 3rem;
}

.storefront--modern.layout-preset-soft_linen .hero,
.storefront--modern.layout-preset-soft_linen .design-card,
.storefront--modern.layout-preset-soft_linen .trust-card,
.storefront--modern.layout-preset-soft_linen .product-card,
.storefront--modern.layout-preset-soft_linen .blog-card,
.storefront--modern.layout-preset-soft_linen .seo-trust-card,
.storefront--modern.layout-preset-kitchen_atelier .hero,
.storefront--modern.layout-preset-kitchen_atelier .design-card,
.storefront--modern.layout-preset-kitchen_atelier .trust-card,
.storefront--modern.layout-preset-kitchen_atelier .product-card,
.storefront--modern.layout-preset-wellness_soft .hero,
.storefront--modern.layout-preset-wellness_soft .design-card,
.storefront--modern.layout-preset-wellness_soft .trust-card,
.storefront--modern.layout-preset-wellness_soft .product-card,
.storefront--modern.layout-preset-boutique_cards .hero,
.storefront--modern.layout-preset-boutique_cards .design-card,
.storefront--modern.layout-preset-boutique_cards .trust-card,
.storefront--modern.layout-preset-boutique_cards .product-card,
.storefront--modern.layout-preset-boutique_cards .blog-card,
.storefront--modern.layout-preset-boutique_cards .seo-trust-card {
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-card, 0.75rem);
    box-shadow: var(--shadow-card, 0 1px 3px rgba(0, 0, 0, 0.05));
    background: var(--color-surface, #fff);
}

.storefront--modern.layout-preset-soft_linen .hero:hover,
.storefront--modern.layout-preset-soft_linen .design-card:hover,
.storefront--modern.layout-preset-kitchen_atelier .design-card:hover,
.storefront--modern.layout-preset-wellness_soft .design-card:hover,
.storefront--modern.layout-preset-boutique_cards .hero:hover,
.storefront--modern.layout-preset-boutique_cards .design-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border, #d1d5db);
}

/* Full-bleed layouts — no card shell on hero slider */
.storefront--modern.layout-preset-homestead .vb-page-main,
.storefront--modern.layout-preset-luxe_minimal .vb-page-main,
.storefront--modern.layout-preset-street_swag .vb-page-main,
.storefront--modern.layout-preset-fashion_runway .vb-page-main,
.storefront--modern.layout-preset-night_events .vb-page-main,
.storefront--modern.layout-preset-glam_events .vb-page-main {
    max-width: none;
    padding: 0 0 3rem;
}

.storefront--modern.layout-preset-homestead .hero-seo,
.storefront--modern.layout-preset-luxe_minimal .hero-seo,
.storefront--modern.layout-preset-street_swag .hero-seo,
.storefront--modern.layout-preset-fashion_runway .hero-seo,
.storefront--modern.layout-preset-night_events .hero-seo,
.storefront--modern.layout-preset-glam_events .hero-seo {
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.storefront--modern .ntr-platform-card,
.storefront--modern .card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.storefront--modern .ntr-platform-showcase {
    background: transparent;
    padding-top: 1rem;
}

.storefront--modern .footer {
    margin-top: 1.25rem;
    border-top: 1px solid #1e293b;
    background: var(--color-bg, #05070a);
    color: var(--color-muted, #8b9bb0);
    padding: 1.1rem 0 0.85rem;
}

@media (min-width: 900px) {
    .storefront-header--modern .store-topbar-nav {
        display: flex;
    }

    .storefront-header--modern .nav-hamburger {
        display: none !important;
    }

    .storefront-header--modern .store-topbar-actions {
        margin-left: 0;
    }
}

@media (max-width: 899px) {
    .storefront-header--modern .store-topbar-brand-text {
        max-width: min(50vw, 180px);
    }

    .storefront-header--modern .store-topbar-btn--ghost {
        display: none;
    }
}

/* homepage-seo.css */
/* SEO homepage sections */
.hero-seo {
    position: relative;
    overflow: hidden;
    min-height: clamp(420px, 62vh, 640px);
    background: var(--color-primary, #1a1a1a);
}

.hero-seo-track {
    position: relative;
    min-height: inherit;
}

.hero-seo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-seo-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    min-height: clamp(420px, 62vh, 640px);
}

.hero-seo-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-seo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-seo--overlay-darken .hero-seo-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.hero-seo--overlay-none .hero-seo-overlay {
    background: transparent;
}

.hero-seo-content {
    position: relative;
    z-index: 2;
    padding: clamp(3rem, 8vw, 5rem) 1rem;
    max-width: 640px;
    color: #fff;
}

.hero-seo-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.hero-seo-heading {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-seo-sub {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.55;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-seo-tagline {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-seo-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-seo-controls {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-section-intro {
    max-width: 48rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.seo-section-link {
    margin-top: 1.25rem;
}

.seo-section-link a {
    font-weight: 600;
}

.seo-trust {
    padding: 3rem 0;
    background: var(--color-surface, #fafafa);
}

.seo-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.seo-trust-card {
    background: #fff;
    border: 1px solid var(--color-border, #e8e6e3);
    border-radius: 12px;
    padding: 1.25rem;
}

.seo-trust-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.seo-trust-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.seo-trust-card p {
    font-size: 0.9375rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.seo-collections,
.seo-featured,
.seo-why,
.seo-spotlights,
.seo-whats-new,
.seo-content-block,
.seo-faq {
    padding: 3rem 0;
}

.seo-latest-blog {
    padding: 3rem 0;
}

.seo-latest-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.seo-latest-blog-card {
    border: 1px solid var(--color-border, #e8e6e3);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface, #fff);
}

.seo-latest-blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 0 1rem;
}

.seo-latest-blog-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.seo-latest-blog-card h3 {
    margin: 0.85rem 1rem 0.35rem;
    font-size: 1.125rem;
}

.seo-latest-blog-card p {
    margin: 0 1rem 0.5rem;
    color: var(--color-muted, #64748b);
    font-size: 0.9375rem;
}

.seo-latest-blog-card time {
    display: block;
    margin: 0 1rem;
    font-size: 0.8125rem;
    color: var(--color-muted, #94a3b8);
}

.seo-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .seo-collections-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 1100px) {
    .seo-collections-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

.seo-collection-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-border, #e8e6e3);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.seo-collection-tile:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.seo-collection-tile img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #0b1220;
}

.seo-collection-tile-body {
    padding: 0.85rem;
}

.seo-collection-tile-body h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.seo-collection-tile-body p {
    font-size: 0.8125rem;
    color: #666;
    margin: 0;
}

.seo-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.seo-products-grid--compact {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .seo-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.seo-product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.seo-product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.seo-product-card h3,
.seo-product-card h4 {
    font-size: 0.9375rem;
    margin: 0 0 0.25rem;
}

.seo-product-price {
    font-weight: 600;
    margin: 0;
}

.seo-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.seo-why-card {
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--color-surface, #fafafa);
}

.seo-why-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.seo-spotlights-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .seo-spotlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.seo-spotlight figure {
    margin: 0 0 1rem;
}

.seo-spotlight img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.seo-spotlight figcaption {
    font-size: 0.8125rem;
    color: #666;
    margin-top: 0.35rem;
}

.seo-subheading {
    font-size: 1.125rem;
    margin: 2rem 0 1rem;
}

.seo-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-post-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-border, #eee);
}

.seo-post-list time {
    display: block;
    font-size: 0.8125rem;
    color: #888;
}

.seo-rich-text {
    line-height: 1.65;
    max-width: 48rem;
}

.seo-bullets {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.seo-internal-links a {
    font-weight: 600;
}

.seo-faq-list {
    max-width: 48rem;
}

.seo-faq-item {
    border-bottom: 1px solid var(--color-border, #e8e6e3);
    padding: 0.75rem 0;
}

.seo-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary h3 {
    display: inline;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.seo-faq-item p {
    margin: 0.75rem 0 0;
    color: #555;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .hero-seo-ctas {
        flex-direction: column;
    }

    .hero-seo-ctas .btn {
        width: 100%;
        text-align: center;
    }
}

/* rr-float-cards moved */


/* Reef Revolution Sintra homepage additions */
.seo-latest-blog-layout { display:grid; grid-template-columns:minmax(220px,.9fr) minmax(0,1.4fr); gap:clamp(1.75rem,4vw,3.25rem); align-items:center; }
.seo-latest-blog-intro { position:static; top:auto; }
.seo-latest-blog-intro h2 { margin:0 0 .75rem; color:var(--color-text,#e8eef6); }
.seo-latest-blog-intro .seo-section-intro { max-width:28rem; color:var(--color-muted,#8b9bb0); }
.seo-latest-blog-grid { grid-template-columns:1fr; max-width:34rem; }
.seo-latest-blog-category { margin:.75rem 0 .25rem; color:var(--color-accent,#55d9df); text-transform:uppercase; letter-spacing:.08em; font-size:.75rem; font-weight:700; }
.seo-rich-text { color:var(--color-muted,#8b9bb0); }
.seo-content-block > .site-container > h2 { color:var(--color-text,#e8eef6); }
@media (max-width:800px) { .seo-latest-blog-layout { grid-template-columns:1fr; } .seo-latest-blog-intro { position:static; } .seo-latest-blog-grid { max-width:none; } }

/* === RR-WHY-GRID-0908 === */
.seo-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
@media (min-width: 640px) {
    .seo-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .seo-why-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.35rem;
    }
}
.seo-why-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    height: 100%;
    margin: 0;
}
.seo-why-icon:empty {
    display: none;
}
.seo-why-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}
.seo-why-card p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}
/* === /RR-WHY-GRID-0908 === */

/* Light-touch slider paint relief (local PHP server + large heroes) */
.hero-seo {
  contain: layout paint;
}
.hero-seo-slide:not(.is-active) {
  visibility: hidden;
  pointer-events: none;
}
.hero-seo-slide img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* storefront-catalog.css */
/**
 * Shop / categories catalog — compact grid + 3D floating cards
 */

.shop-catalog-page {
    padding: 2.5rem clamp(1.75rem, 6vw, 3.5rem) 3rem !important;
}

.shop-catalog-page .vb-native-slot {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.shop-catalog-page .vb-section {
    position: relative;
    z-index: 1;
}

.shop-catalog--categories {
    --shop-card-radius: 14px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(0.25rem, 2vw, 1rem);
}

/* Category browse cards — stable auto-fill grid (no collapsed 0px tracks) */
.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    justify-content: stretch;
    gap: 1.35rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .shop-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .shop-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.65rem;
    }
}

.shop-category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: var(--shop-card-radius, 14px);
    overflow: hidden;
    background: var(--color-surface, #fff);
    border: 1px solid color-mix(in srgb, var(--color-border, #e5e7eb) 90%, transparent);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 4px 14px rgba(15, 23, 42, 0.07);
    transform: translateY(0);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
}

.shop-category-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.12),
        0 4px 10px rgba(15, 23, 42, 0.06);
    border-color: color-mix(in srgb, var(--color-primary, #6366f1) 25%, var(--color-border, #e5e7eb));
}

 .shop-category-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--color-primary, #6366f1) 14%, #f8fafc),
        color-mix(in srgb, var(--color-secondary, #e0e7ff) 35%, #fff)
    );
}

.shop-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* overridden to cover+square in rr-storefront.css */
    display: block;
    transition: transform 0.35s ease;
}

.shop-category-card:hover .shop-category-card-media img {
    transform: scale(1.04);
}

.shop-category-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--color-primary, #6366f1) 20%, #fff),
        color-mix(in srgb, var(--color-secondary, #e0e7ff) 45%, #fff)
    );
}

.shop-category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 55%);
    pointer-events: none;
}

.shop-category-card-label {
    padding: 0.65rem 0.75rem 0.75rem;
    text-align: center;
}

.shop-category-card-label span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--color-text, var(--dark-color, #1f2937));
}

.shop-catalog--products {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(0.25rem, 2vw, 1rem);
}

.shop-subcategory-bar {
    margin-top: -0.25rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.shop-catalog-header--compact + .shop-subcategory-bar {
    margin-top: 0;
}

.shop-catalog-header--compact {
    margin-bottom: 0.85rem;
    text-align: left;
}

.shop-catalog-header--compact h1 {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    margin-bottom: 0;
}

.shop-category-back {
    margin-bottom: 1rem;
}

.shop-category-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-muted, #6b7280);
    transition: color 0.15s ease;
}

.shop-category-back a:hover {
    color: var(--color-primary, var(--primary-color, #6366f1));
}

.shop-catalog {
    --shop-card-radius: 12px;
    --shop-card-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 6px 16px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(15, 23, 42, 0.04);
    --shop-card-shadow-hover:
        0 16px 32px rgba(15, 23, 42, 0.14),
        0 6px 12px rgba(15, 23, 42, 0.08),
        0 0 0 1px color-mix(in srgb, var(--color-primary, #6366f1) 22%, transparent);
}

/* Header */
.shop-catalog-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.shop-catalog-header h1 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.shop-catalog-header .section-lead {
    font-size: 0.9375rem;
    margin-bottom: 0;
    max-width: 36rem;
}

/* Category filter pills */
.shop-catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.shop-catalog-filters .shop-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--color-border, #e5e7eb);
    background: var(--color-surface, #fff);
    color: var(--color-text, #374151);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.shop-catalog-filters .shop-filter-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border-color: color-mix(in srgb, var(--color-primary, #6366f1) 35%, var(--color-border, #e5e7eb));
}

.shop-catalog-filters .shop-filter-pill.is-active {
    background: var(--color-primary, var(--primary-color, #6366f1));
    border-color: var(--color-primary, var(--primary-color, #6366f1));
    color: var(--color-primary-contrast, #fff);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary, #6366f1) 35%, transparent);
}

/* Sections */
.shop-catalog-section {
    margin-bottom: 2rem;
}

.shop-catalog-section:last-child {
    margin-bottom: 0;
}

.shop-catalog-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
    color: var(--color-text, var(--dark-color, #1f2937));
}

/* Product listing — same grid + card size as categories */
.shop-catalog-section .shop-category-grid,
.shop-catalog-grid--products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    justify-content: center;
    gap: 1.35rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .shop-catalog-section .shop-category-grid,
    .shop-catalog-grid--products {
        grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .shop-catalog-section .shop-category-grid,
    .shop-catalog-grid--products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
        gap: 1.65rem;
    }
}

.shop-product-card .shop-category-card-label span {
    font-size: 0.9375rem;
}

.shop-product-card .shop-category-card-price {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text, #111827);
    margin-top: 0.15rem;
}

/* Legacy product grid alias */
.shop-catalog-grid,
.shop-catalog .design-fallback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    justify-content: center;
    gap: 1.35rem;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .shop-catalog-grid,
    .shop-catalog .design-fallback-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .shop-catalog-grid,
    .shop-catalog .design-fallback-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
        gap: 1.65rem;
    }
}

.shop-card,
.shop-catalog .design-card,
.shop-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: var(--shop-card-radius);
    overflow: hidden;
    background: var(--color-surface, #fff);
    border: 1px solid color-mix(in srgb, var(--color-border, #e5e7eb) 90%, transparent);
    box-shadow: var(--shop-card-shadow);
    transform: translateY(0);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
}

.shop-card:hover,
.shop-catalog .design-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shop-card-shadow-hover);
    border-color: color-mix(in srgb, var(--color-primary, #6366f1) 28%, var(--color-border, #e5e7eb));
}

.shop-card-media,
.shop-catalog .design-thumb-img,
.shop-catalog .design-thumb {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover; /* overridden to cover+square in rr-storefront.css */
    display: block;
    flex-shrink: 0;
    border-radius: 0;
}

.shop-catalog .design-thumb {
    min-height: 0;
    opacity: 0.35;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--color-primary, #6366f1) 35%, #fff),
        color-mix(in srgb, var(--color-secondary, #e0e7ff) 60%, #fff)
    );
}

.shop-card-body,
.shop-catalog .design-body {
    padding: 0.65rem 0.75rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.shop-card-body h3,
.shop-catalog .design-body h3 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card-body p,
.shop-catalog .design-body p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    color: var(--color-muted, #6b7280);
}

.shop-card-body p:not(.small) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card-price {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.25rem;
    color: var(--color-text, #111827);
}

.shop-catalog-empty {
    font-size: 0.875rem;
    padding: 2rem 1rem;
}

/* Override theme preset grid sizing inside shop catalog */
.storefront--modern .shop-catalog .design-fallback-grid {
    max-width: none;
}

.layout-preset-soft_linen .shop-catalog .design-fallback-grid,
.layout-preset-kitchen_atelier .shop-catalog .design-fallback-grid,
.layout-preset-homestead .shop-catalog .design-fallback-grid,
.layout-preset-wellness_soft .shop-catalog .design-fallback-grid,
.layout-preset-luxe_minimal .shop-catalog .design-fallback-grid,
.layout-preset-boutique_cards .shop-catalog .design-fallback-grid,
.layout-preset-beauty_glow .shop-catalog .design-fallback-grid,
.layout-preset-pet_haven .shop-catalog .design-fallback-grid,
.layout-preset-ornate_home .shop-catalog .design-fallback-grid,
.layout-preset-street_swag .shop-catalog .design-fallback-grid,
.layout-preset-fashion_runway .shop-catalog .design-fallback-grid,
.layout-preset-night_events .shop-catalog .design-fallback-grid,
.layout-preset-glam_events .shop-catalog .design-fallback-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    justify-content: center;
    gap: 1.35rem;
    columns: unset;
    display: grid;
    background: transparent;
    border: none;
}

@media (min-width: 640px) {
    .layout-preset-soft_linen .shop-catalog .design-fallback-grid,
    .layout-preset-kitchen_atelier .shop-catalog .design-fallback-grid,
    .layout-preset-homestead .shop-catalog .design-fallback-grid,
    .layout-preset-wellness_soft .shop-catalog .design-fallback-grid,
    .layout-preset-boutique_cards .shop-catalog .design-fallback-grid,
    .layout-preset-pet_haven .shop-catalog .design-fallback-grid,
    .layout-preset-ornate_home .shop-catalog .design-fallback-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .layout-preset-soft_linen .shop-catalog .design-fallback-grid,
    .layout-preset-kitchen_atelier .shop-catalog .design-fallback-grid,
    .layout-preset-homestead .shop-catalog .design-fallback-grid,
    .layout-preset-wellness_soft .shop-catalog .design-fallback-grid,
    .layout-preset-boutique_cards .shop-catalog .design-fallback-grid,
    .layout-preset-pet_haven .shop-catalog .design-fallback-grid,
    .layout-preset-ornate_home .shop-catalog .design-fallback-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
        gap: 1.65rem;
    }
}

.layout-preset-night_events .shop-catalog .design-card:nth-child(3n+1),
.layout-preset-fashion_runway .shop-catalog .design-card:nth-child(3n+1),
.layout-preset-trail_outdoors .shop-catalog .design-card:nth-child(3n+1),
.layout-preset-cycle_gear .shop-catalog .design-card:nth-child(3n+1) {
    grid-column: span 1;
}

.layout-preset-glam_events .shop-catalog .design-card {
    break-inside: unset;
    margin-bottom: 0;
}

/* Homepage collection tiles — match 3D card feel */
.seo-collections-grid {
    perspective: 1100px;
}

.seo-collection-tile {
    border-radius: var(--shop-card-radius, 12px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 6px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(0) rotateX(0deg);
    transform-style: preserve-3d;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease,
        border-color 0.2s ease;
}

.seo-collection-tile:hover {
    transform: translateY(-8px) rotateX(5deg) scale(1.015);
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.14),
        0 6px 12px rgba(15, 23, 42, 0.08);
}

.seo-collection-tile img {
    aspect-ratio: 5 / 4;
}

.seo-collection-tile-body {
    padding: 0.65rem 0.75rem;
}

.seo-collection-tile-body h3 {
    font-size: 0.875rem;
}

.seo-collection-tile-body p {
    font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
    .shop-card,
    .shop-catalog .design-card,
    .shop-category-card,
    .seo-collection-tile,
    .shop-catalog-filters .shop-filter-pill {
        transition: none;
    }

    .shop-card:hover,
    .shop-catalog .design-card:hover,
    .shop-category-card:hover,
    .shop-category-card:hover .shop-category-card-media img,
    .seo-collection-tile:hover,
    .shop-catalog-filters .shop-filter-pill:hover {
        transform: none;
    }
}

/* Brand page — collections sidebar */
.brands-layout {
    display: grid;
    grid-template-columns: minmax(11rem, 15rem) 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
}
.brands-sidebar {
    position: sticky;
    top: 1rem;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 12px;
    padding: 0.85rem 0.65rem 1rem;
}
.brands-sidebar-title {
    font-size: 0.95rem;
    margin: 0 0 0.65rem;
    padding: 0 0.5rem;
}
.brands-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.brands-sidebar-link {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text, #1a1a1a);
    font-weight: 600;
    font-size: 0.875rem;
}
.brands-sidebar-link:hover {
    background: color-mix(in srgb, var(--color-primary, #2563eb) 10%, transparent);
}
.brands-sidebar-link.is-active {
    background: var(--color-primary, #2563eb);
    color: var(--color-primary-contrast, #fff);
}
@media (max-width: 767.98px) {
    .brands-layout {
        grid-template-columns: 1fr;
    }
    .brands-sidebar {
        position: static;
    }
    .brands-sidebar-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
}

/* Homepage featured products — compact 3D cards */
.seo-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.85rem;
    perspective: 1100px;
}

@media (min-width: 640px) {
    .seo-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
        gap: 1rem;
    }
}

.seo-product-card {
    border-radius: var(--shop-card-radius, 12px);
    overflow: hidden;
    background: var(--color-surface, #fff);
    border: 1px solid color-mix(in srgb, var(--color-border, #e5e7eb) 90%, transparent);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 6px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(0) rotateX(0deg);
    transform-style: preserve-3d;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease;
}

.seo-product-card:hover {
    transform: translateY(-8px) rotateX(5deg) scale(1.015);
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.14),
        0 6px 12px rgba(15, 23, 42, 0.08);
}

.seo-product-card img {
    aspect-ratio: 5 / 4;
    border-radius: 0;
    margin-bottom: 0;
}

.seo-product-card h3,
.seo-product-card h4 {
    font-size: 0.875rem;
    padding: 0.55rem 0.65rem 0;
}

.seo-product-price {
    font-size: 0.8125rem;
    padding: 0 0.65rem 0.65rem;
}

.featured-products .design-fallback-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.85rem;
    perspective: 1100px;
}

.featured-products .design-card {
    border-radius: var(--shop-card-radius, 12px);
    transform-style: preserve-3d;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease;
}

.featured-products .design-card:hover {
    transform: translateY(-8px) rotateX(5deg) scale(1.015);
}

.featured-products .design-body {
    padding: 0.65rem 0.75rem 0.75rem;
}

.featured-products .design-body h3 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.featured-products .design-thumb-img {
    aspect-ratio: 5 / 4;
}

/* rr-float-light */
.shop-category-card,
.seo-trust-card,
.seo-collection-tile,
.seo-why-card,
.seo-latest-blog-card,
.seo-product-card {
    background: #eef6f8;
    color: #12323c;
    border: 0 !important;
    outline: none !important;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(4, 16, 24, 0.22);
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.28, 1), box-shadow 0.35s ease;
}

.shop-category-card:hover,
.seo-trust-card:hover,
.seo-collection-tile:hover,
.seo-why-card:hover,
.seo-latest-blog-card:hover,
.seo-product-card:hover {
    transform: translateY(-10px);
    border: 0 !important;
    outline: none !important;
    border-color: transparent !important;
    box-shadow: 0 22px 44px rgba(4, 16, 24, 0.28);
}

.shop-category-card-overlay {
    background: linear-gradient(to top, rgba(8, 28, 36, 0.12) 0%, transparent 45%);
}

.shop-category-card-label span,
.seo-trust-card h3,
.seo-collection-tile-body h3,
.seo-why-card h3,
.seo-latest-blog-card h3 {
    color: #12323c;
}

.seo-trust-card p,
.seo-collection-tile-body p,
.seo-why-card p,
.seo-latest-blog-card p,
.shop-category-card-label {
    color: #3d5c66;
}

@media (prefers-reduced-motion: reduce) {
    .shop-category-card,
    .seo-trust-card,
    .seo-collection-tile,
    .seo-why-card,
    .seo-latest-blog-card,
    .seo-product-card,
    .shop-category-card:hover,
    .seo-trust-card:hover,
    .seo-collection-tile:hover,
    .seo-why-card:hover,
    .seo-latest-blog-card:hover,
    .seo-product-card:hover {
        transform: none;
        transition: none;
    }
}



/* storefront-product.css */
/**
 * Product detail page — modern e-commerce layout (contained, not floating cards).
 */

.product-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.product-page-main {
    padding: 2.5rem clamp(1.75rem, 6vw, 3.5rem) 3.5rem !important;
}

.product-breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
}

.product-breadcrumb a {
    color: var(--color-muted, #6b7280);
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-breadcrumb a:hover {
    color: var(--color-primary, #111827);
}

.product-breadcrumb span {
    color: var(--color-muted, #9ca3af);
    margin: 0 0.35rem;
}

.product-detail-shell {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2.5rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 5.5rem;
}

.product-gallery-main {
    background: #f9fafb;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    max-width: 420px;
}

.product-gallery-main img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    object-fit: cover;
    background: #f3f4f6;
}

.product-gallery-video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    object-fit: cover;
    background: #111827;
}

.product-gallery-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    background: #111827;
}

.product-gallery-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    max-width: 420px;
}

.product-gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
    border-color: var(--color-primary, #111827);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-thumb.is-video {
    background: #111827;
    color: #fff;
}

.product-gallery-thumb-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.1rem;
}

.product-info h1 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
    color: var(--color-muted, #6b7280);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.product-badge-digital {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #0369a1;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-price-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.product-price-block .product-price,
.product-price-block .fw-semibold {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.product-description {
    color: var(--color-text, #374151);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.product-options label.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text, #374151);
    margin-bottom: 0.35rem;
}

.product-options .form-select {
    max-width: 100%;
    border-radius: 8px;
    border-color: var(--color-border, #d1d5db);
    font-size: 0.875rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.product-qty-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.product-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.product-qty-control input {
    width: 3rem;
    border: none;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.65rem 0.25rem;
    -moz-appearance: textfield;
}

.product-qty-control input::-webkit-outer-spin-button,
.product-qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-btn-add {
    flex: 1;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: var(--color-primary, #111827);
    color: var(--color-primary-contrast, #fff);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.product-btn-add:hover {
    background: color-mix(in srgb, var(--color-primary, #111827) 88%, #000);
}

.product-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-secondary-actions .product-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text, #374151);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.product-secondary-actions .product-link-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.product-stock-note {
    font-size: 0.8125rem;
    color: var(--color-muted, #6b7280);
    margin: 0;
}

.product-related {
    margin-top: 0.5rem;
}

.product-related h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* No floaty hover on product page */
.product-page .shop-category-card:hover,
.product-page .design-card:hover {
    transform: none;
}

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .product-gallery-main,
    .product-gallery-thumbs {
        max-width: none;
    }
}

/* rr-pdp-live */
.product-page { max-width: 1080px; }
.product-detail-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: start;
}
.product-gallery-main {
    background: #fff !important;
    border: none !important;
    border-radius: 0;
    max-width: none !important;
}
.product-gallery-main img {
    object-fit: contain !important;
    background: #fff !important;
    aspect-ratio: 1;
    max-height: none !important;
}
.product-info h1 {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #e8eef6;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1e293b;
}
.product-price-block .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #93c5fd;
    margin: 0.75rem 0 1rem;
}
.product-description--short { display: none; }
.product-options .form-label { font-weight: 600; color: #e8eef6; }
.product-options .form-select {
    width: 100%;
    max-width: 22rem;
    padding: 0.5rem 0.7rem;
    background: #0b1220;
    color: #e8eef6;
    border: 1px solid #1e293b;
}
.product-qty-row { display: flex; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.product-btn-add {
    background: #3b82f6 !important;
    color: #000 !important;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    padding: 0.65rem 1.3rem;
    border-radius: 3px;
}
.product-btn-add:hover { background: #2563eb !important; }
.product-secondary-actions { display: none !important; }
.product-tabs {
    margin-top: 2.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #1e293b;
}
.product-tabs h2 {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: #93c5fd;
}
.product-description--full {
    max-width: 72ch;
    line-height: 1.65;
    color: #c5d0de;
    white-space: pre-wrap;
}
@media (max-width: 800px) {
    .product-detail-grid { grid-template-columns: 1fr; }
}

/* rr-storefront.css */
/**
 * Reef Revolution storefront overrides.
 * Accents: blue + black. No green/teal. No card fill behind pack shots.
 */

/* Logo replaces the site name, never sits beside it */
.store-topbar-brand:has(.logo-img) .store-topbar-brand-text,
.store-topbar-brand:has(.logo-img)::after,
.store-topbar-brand:has(.logo-img)::before {
    display: none !important;
}
.storefront-header--modern .store-topbar-brand .logo-img,
.logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
}

/* PDP: 1080px centred, flat white, no card chrome */
body.layout-product .product-page-main,
.product-page-main {
    background: #fff;
    color: #111;
}
.product-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
    background: transparent;
    overflow-x: clip;
}
.product-detail-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2rem;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: start;
    max-width: 100%;
}
.product-breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: #6b7280;
}
.product-breadcrumb a { color: #1d4ed8; text-decoration: none; }
.product-breadcrumb a:hover { color: #1e40af; }

.product-info h1 {
    font-size: clamp(1.5rem, 2.6vw, 1.85rem);
    font-weight: 700;
    color: #111 !important;
    margin: 0 0 0.5rem;
    padding: 0;
    border: none !important;
    letter-spacing: -0.02em;
}
.product-meta { color: #6b7280; }
.product-price-block {
    margin: 0.35rem 0 1rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.product-price-block .product-price,
.product-price-block .fw-semibold {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111 !important;
    margin: 0;
}

.product-description--short { display: none !important; }

.product-options .form-label {
    font-weight: 600;
    color: #111;
}
.product-options .form-select {
    width: 100%;
    max-width: 22rem;
    padding: 0.7rem 0.85rem;
    min-height: 2.75rem;
    background: #fff;
    color: #111;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
}

.product-qty-row { display: flex; gap: 0.75rem; align-items: stretch; margin-top: 1rem; }
.product-qty-control {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    min-height: 2.75rem;
}
.product-qty-control input {
    min-height: 2.75rem;
    min-width: 3.25rem;
    font-size: 1rem;
    border: 0;
    background: transparent;
    color: #111;
    text-align: center;
}
.product-btn-add {
    background: #111 !important;
    color: #fff !important;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.75rem 1.4rem;
    border-radius: 3px;
    min-height: 2.75rem;
    flex: 1 1 auto;
}
.product-btn-add:hover { background: #1d4ed8 !important; color: #fff !important; }
.product-secondary-actions { display: none !important; }
.product-stock-note { color: #6b7280; }

/* Pack shot floats - no panel, no fill, no outline */
.product-gallery-main {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
    max-width: none !important;
}
.product-gallery-main img {
    object-fit: contain !important;
    background: transparent !important;
    aspect-ratio: 1;
    max-height: none !important;
    width: 100%;
    height: auto;
    max-width: 100%;
}
.product-gallery-thumbs { max-width: none; }
.product-gallery-thumb {
    background: transparent !important;
    border: 1px solid transparent;
    box-shadow: none;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
    border-color: #1d4ed8;
}

/* Description | Additional information — full-width bar, larger type */
.product-tabs {
    margin-top: 2.5rem;
    padding-top: 0;
    border-top: 1px solid #e5e7eb;
    width: 100%;
    max-width: none;
}
.product-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}
.product-tab-btn {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 3.25rem;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #6b7280;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
}
.product-tab-btn.is-active {
    color: #111;
    border-bottom-color: #1d4ed8;
}
.product-tab-panel {
    display: none;
    width: 100%;
    max-width: none;
    padding: 1.35rem 0 0;
}
.product-tab-panel.is-active { display: block; }
.product-description--full {
    max-width: none !important;
    width: 100%;
    line-height: 1.7;
    color: #1f2937;
    white-space: normal !important;
}
.product-description--full p { margin: 0 0 0.9rem; }
.product-description--full img {
    max-width: 100%;
    height: auto;
}
.product-attrs {
    width: 100%;
    max-width: none;
    border-collapse: collapse;
}
.product-attrs th,
.product-attrs td {
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #e5e7eb;
    color: #111;
}
.product-attrs th {
    width: 38%;
    font-weight: 600;
    background: #f9fafb;
}
.product-related h2 {
    font-size: 1.15rem;
    color: #111;
}

/* Product / collection cards: no fill, no outline, hover lift */
.shop-category-card:has(.shop-category-card-price),
.shop-product-card,
.shop-card,
.seo-product-card,
.featured-products .design-card,
.shop-catalog .design-card {
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none;
    overflow: visible;
    color: #111;
}
.shop-category-card:has(.shop-category-card-price) .shop-category-card-media,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-placeholder,
.shop-product-card .shop-category-card-media,
.shop-product-card .shop-category-card-placeholder,
.seo-product-card img,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-media img,
.shop-product-card .shop-category-card-media img,
.featured-products .design-thumb-img,
.shop-catalog .design-thumb-img,
.shop-catalog .design-thumb {
    background: transparent !important;
    object-fit: contain;
}
.shop-category-card:has(.shop-category-card-price) .shop-category-card-media,
.shop-product-card .shop-category-card-media {
    aspect-ratio: 1;
    overflow: visible;
}
.shop-category-card:has(.shop-category-card-price) .shop-category-card-media img,
.seo-product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    background: transparent !important;
    transform: none;
}
.shop-category-card:has(.shop-category-card-price) .shop-category-card-overlay { display: none !important; }
.shop-category-card:has(.shop-category-card-price) .shop-category-card-label,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-label span,
.seo-product-card h3,
.seo-product-card h4 {
    color: #111 !important;
    background: transparent;
}
.shop-category-card-price,
.seo-product-price { color: #111 !important; }

.shop-category-card:has(.shop-category-card-price):hover,
.shop-product-card:hover,
.shop-card:hover,
.seo-product-card:hover,
.featured-products .design-card:hover,
.shop-catalog .design-card:hover {
    transform: translateY(-8px);
    border: 0 !important;
    outline: none !important;
    border-color: transparent !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    background: transparent !important;
}
.shop-category-card:hover .shop-category-card-media img {
    transform: none;
}

.product-page .shop-category-card:hover,
.product-page .design-card:hover {
    transform: translateY(-8px);
}

@media (max-width: 800px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-gallery { position: static; }
    .product-options .form-select {
        max-width: 100%;
    }
    .product-qty-row {
        flex-wrap: wrap;
    }
    .product-qty-control {
        min-width: 5.5rem;
    }
    .product-btn-add {
        flex: 1 1 12rem;
        width: auto;
        min-width: min(100%, 12rem);
    }
}

@media (max-width: 640px) {
    .product-page {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .product-tabs-nav {
        flex-direction: column;
    }
    .product-tab-btn {
        flex: 1 1 auto;
        width: 100%;
        min-height: 3rem;
        font-size: 1.05rem;
        text-align: left;
        border-bottom: 1px solid #e5e7eb;
        border-left: 3px solid transparent;
        padding: 0.9rem 1rem;
    }
    .product-tab-btn.is-active {
        border-bottom-color: #e5e7eb;
        border-left-color: #1d4ed8;
        background: #f8fafc;
        color: #111;
    }
    .product-qty-row {
        flex-direction: column;
        align-items: stretch;
    }
    .product-qty-control,
    .product-qty-control input,
    .product-btn-add {
        width: 100%;
        max-width: 100%;
    }
    .product-btn-add {
        min-height: 3rem;
    }
    .product-attrs th,
    .product-attrs td {
        display: block;
        width: 100%;
        padding: 0.45rem 0;
    }
    .product-attrs th {
        background: transparent;
        padding-bottom: 0.15rem;
    }
    .product-attrs tr {
        display: block;
        padding: 0.65rem 0;
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-category-card:has(.shop-category-card-price):hover,
    .shop-product-card:hover,
    .shop-card:hover,
    .seo-product-card:hover,
    .featured-products .design-card:hover,
    .shop-catalog .design-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Account area — dark marine, no beige/Woo chrome, no broken icon glyphs */
body.account-area-page {
    background: var(--color-bg, #05070a);
    color: var(--color-text, #e8eef6);
}
body.account-area-page .text-muted { color: var(--color-muted, #8b9bb0) !important; }
body.account-area-page .small { font-size: 0.875rem; }
body.account-area-page .h6 {
    font-size: 1.05rem;
    font-weight: 650;
    margin: 0 0 0.75rem;
    color: var(--color-text, #e8eef6);
}
body.account-area-page .mb-0 { margin-bottom: 0; }
body.account-area-page .mb-2 { margin-bottom: 0.5rem; }
body.account-area-page .mb-3 { margin-bottom: 1rem; }
body.account-area-page .mt-1 { margin-top: 0.25rem; }
body.account-area-page .mt-2 { margin-top: 0.5rem; }
body.account-area-page .d-flex { display: flex; }
body.account-area-page .flex-wrap { flex-wrap: wrap; }
body.account-area-page .gap-2 { gap: 0.5rem; }
body.account-area-page .text-success { color: #93c5fd; }
body.account-area-page .text-danger { color: #fca5a5; }

body.account-area-page .account-sidebar-icon { display: none !important; }
/* Category / homepage collection tiles: photo cards with overlay title */
.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
.shop-catalog--categories .shop-category-card,
.seo-collection-tile {
    position: relative;
    display: block;
    overflow: hidden !important;
    border-radius: 16px;
    background: #0b1220 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow:
        0 8px 22px rgba(4, 16, 24, 0.14),
        0 2px 6px rgba(4, 16, 24, 0.08);
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 0.8, 0.28, 1),
        box-shadow 0.35s ease;
    color: #fff;
}
.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
.shop-catalog--categories .shop-category-card:hover,
.seo-collection-tile:hover {
    transform: translateY(-8px);
    border: 0 !important;
    outline: none !important;
    border-color: transparent !important;
    box-shadow:
        0 18px 36px rgba(4, 16, 24, 0.22),
        0 6px 14px rgba(4, 16, 24, 0.12);
    background: #0b1220 !important;
}
.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media,
.shop-catalog--categories .shop-category-card-media,
.shop-category-grid .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    background: #0b1220 !important;
    border-radius: 0;
}
.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media img,
.shop-catalog--categories .shop-category-card-media img,
.seo-collection-tile img,
.seo-collections-grid .seo-collection-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #0b1220 !important;
    transform: none !important;
    display: block;
}
.seo-collection-tile img {
    aspect-ratio: 1 / 1;
}
.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover .shop-category-card-media img,
.seo-collection-tile:hover img {
    transform: none !important;
}

.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-overlay,
.shop-catalog--categories .shop-category-card-overlay {
    display: block !important;
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.12) 72%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label,
.shop-catalog--categories .shop-category-card-label,
.seo-collection-tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0 !important;
    padding: 2.85rem 1rem 0.95rem;
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.2) 82%, transparent 100%);
    color: #f8fafc !important;
}

.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label span,
.shop-catalog--categories .shop-category-card-label span,
.seo-collection-tile-body h3 {
    display: block;
    color: #fff !important;
    background: transparent !important;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 12px rgba(0, 0, 0, 0.8);
}

.seo-collection-tile-body h3 {
    margin-bottom: 0.15rem;
}

.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-desc,
.shop-catalog--categories .shop-category-card-desc,
.seo-collection-tile-body p {
    color: rgba(255, 255, 255, 0.88) !important;
    background: transparent !important;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0.22rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.seo-collection-tile-body p:empty {
    display: none;
}

@media (max-width: 640px) {
    .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label,
    .shop-catalog--categories .shop-category-card-label,
    .seo-collection-tile-body {
        padding: 2.15rem 0.8rem 0.75rem;
    }
    .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label span,
    .shop-catalog--categories .shop-category-card-label span,
    .seo-collection-tile-body h3 {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
    .shop-catalog--categories .shop-category-card,
    .seo-collection-tile,
    .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
    .shop-catalog--categories .shop-category-card:hover,
    .seo-collection-tile:hover {
        transform: none;
        transition: none;
    }
}


/* Product cards: equal image boxes, name+price pinned to card bottom, no crop */

.shop-catalog--products .shop-category-card,
.shop-catalog .shop-product-card,
.shop-catalog .seo-product-card,
.shop-catalog .design-card,
.shop-product-grid .shop-category-card,
.shop-product-grid .seo-product-card,
.shop-category-card:has(.shop-category-card-price),
.seo-product-card,
.featured-products .design-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    min-height: 100%;
    background: transparent !important;
}

.shop-catalog--products .shop-category-card-media,
.shop-catalog .shop-product-card .shop-category-card-media,
.shop-catalog .design-thumb,
.shop-catalog .seo-product-card img,
.shop-product-grid .shop-category-card-media,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-media,
.seo-product-card .shop-category-card-media,
.seo-product-card img {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 220px;
    overflow: visible !important;
    background: transparent !important;
}

.shop-catalog--products .shop-category-card-media img,
.shop-catalog .shop-product-card .shop-category-card-media img,
.shop-catalog .design-thumb-img,
.shop-product-grid .shop-category-card-media img,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-media img,
.seo-product-card img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    background: transparent !important;
}

.shop-catalog--products .shop-category-card-label,
.shop-catalog .shop-product-card .shop-category-card-label,
.shop-catalog .shop-category-card-price,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-label,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-price,
.seo-product-card h3,
.seo-product-card h4,
.seo-product-price {
    margin-top: 0;
}

.shop-catalog--products .shop-category-card-label,
.shop-catalog .shop-product-card .shop-category-card-label,
.shop-category-card:has(.shop-category-card-price) .shop-category-card-label,
.seo-product-card h3,
.seo-product-card .seo-product-card-body,
.shop-catalog .design-card-body {
    margin-top: auto !important;
    padding-top: 0.75rem;
}

.shop-catalog .shop-category-card-price,
.seo-product-price {
    margin-top: 0.25rem;
}

.shop-catalog--categories .shop-category-grid,
.seo-collections-grid {
    overflow: visible;
    padding: 0.35rem 0.2rem 1.15rem;
}

.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
.shop-catalog--categories .shop-category-card:hover,
.seo-collection-tile:hover {
    z-index: 3;
}

/* -------------------------------------------------------------------------
   Shop dropdown: no hover-gap. Attached to the SHOP item (top: 100%).
   Extra ::before hit area + padding-top so the pointer never leaves
   :hover while moving from the link into the category list.
   Desktop only — drawer/hamburger rules are untouched.
   ------------------------------------------------------------------------- */
@media (min-width: 900px) {
    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children {
        position: relative;
    }

    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu {
        top: 100%;
        margin-top: 0;
        padding-top: 0.5rem;
        border: 0;
        outline: none;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
        background: var(--color-header, #000000);
        border-radius: 0 0 0.5rem 0.5rem;
    }

    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px;
        background: transparent;
        pointer-events: auto;
    }

    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children:hover > .nav-submenu,
    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children:focus-within > .nav-submenu {
        display: block;
    }

    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .store-topbar-link,
    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .nav-link {
        color: var(--color-text, #e8eef6) !important;
        background: transparent;
        outline: none;
        border: 0;
        border-radius: 0.35rem;
    }

    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .store-topbar-link:hover,
    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .nav-link:hover,
    .storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .store-topbar-link:focus {
        color: #93c5fd !important;
        background: rgba(29, 78, 216, 0.28);
        outline: none;
    }
}


/* -------------------------------------------------------------------------
   Pink / magenta / fuchsia / visited-purple links -> Reef blue.
   Source of pink: css/style.css :root --primary-color:#E8B4D4
   --accent-color:#D4A5C7 --secondary-color:#F5D5E8, which load in the
   storefront bundle AFTER theme JSON and overwrite --primary-color.
   night_events preset primary is violet #7c3aed (already overridden in
   site_theme_json to #3b82f6). Body text stays theme/black.
   ------------------------------------------------------------------------- */
:root {
    --primary-color: #1d4ed8;
    --accent-color: #1d4ed8;
}

body.storefront a,
body.storefront a:link,
body.storefront a:visited,
body.account-area-page a,
body.account-area-page a:link,
body.account-area-page a:visited {
    color: #1d4ed8;
}

body.storefront a:hover,
body.storefront a:focus,
body.storefront a:focus-visible,
body.account-area-page a:hover,
body.account-area-page a:focus {
    color: #1e40af;
}

body.storefront .product-breadcrumb a,
body.storefront .product-breadcrumb a:link,
body.storefront .product-breadcrumb a:visited,
body.storefront .breadcrumb a,
body.storefront .breadcrumb a:link,
body.storefront .breadcrumb a:visited,
body.storefront .breadcrumbs a,
body.storefront .shop-category-back a,
body.storefront .shop-category-back a:link,
body.storefront .shop-category-back a:visited,
body.storefront .footer a,
body.storefront .footer a:link,
body.storefront .footer a:visited,
body.storefront .footer-section a,
body.storefront .footer-section a:link,
body.storefront .footer-section a:visited,
body.storefront .footer-bottom a,
body.storefront .site-footer a,
body.storefront .store-footer a,
body.storefront .product-tabs a,
body.storefront .product-tab-panel a,
body.storefront .blog-content a,
body.storefront .blog-post a,
body.storefront .blog-card a,
body.storefront .seo-section-link a,
body.storefront .seo-section-link a:link,
body.storefront .seo-section-link a:visited,
body.storefront .seo-internal-links a,
body.storefront .seo-internal-links a:link,
body.storefront .seo-internal-links a:visited,
body.account-area-page .account-main a:not(.btn):not(.account-btn),
body.account-area-page .account-table a {
    color: #1d4ed8;
}

body.storefront .product-breadcrumb a:hover,
body.storefront .breadcrumb a:hover,
body.storefront .breadcrumbs a:hover,
body.storefront .shop-category-back a:hover,
body.storefront .footer a:hover,
body.storefront .footer-section a:hover,
body.storefront .footer-bottom a:hover,
body.storefront .site-footer a:hover,
body.storefront .store-footer a:hover,
body.storefront .product-tabs a:hover,
body.storefront .product-tab-panel a:hover,
body.storefront .blog-content a:hover,
body.storefront .blog-post a:hover,
body.storefront .blog-card a:hover,
body.storefront .seo-section-link a:hover,
body.storefront .seo-internal-links a:hover,
body.account-area-page .account-main a:not(.btn):not(.account-btn):hover,
body.account-area-page .account-table a:hover {
    color: #1e40af;
}

/* Keep dark header chrome off the blue-link pass */
.storefront-header--modern .store-topbar a.store-topbar-link,
.storefront-header--modern .store-topbar a.store-topbar-link:link,
.storefront-header--modern .store-topbar a.store-topbar-link:visited {
    color: var(--color-text, #e8eef6) !important;
}
.storefront-header--modern .store-topbar a.store-topbar-link:hover,
.storefront-header--modern .store-topbar a.store-topbar-link.is-accent {
    color: #93c5fd !important;
}
.storefront-header--modern .store-topbar a.store-topbar-brand,
.storefront-header--modern .store-topbar a.store-topbar-cart {
    color: var(--color-text, #e8eef6) !important;
}
.storefront-header--modern .store-topbar a.store-topbar-btn--primary,
.storefront-header--modern .store-topbar a.store-topbar-btn--primary:link,
.storefront-header--modern .store-topbar a.store-topbar-btn--primary:visited,
.storefront-header--modern .store-topbar a.store-topbar-btn--primary:hover {
    color: #fff !important;
}

/* Shop dropdown items stay on the dark panel (not body-text blue) */
.storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .store-topbar-link,
.storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .nav-link {
    color: var(--color-text, #e8eef6) !important;
}
.storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .store-topbar-link:hover,
.storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .nav-link:hover,
.storefront-header--modern .store-topbar .store-topbar-links > .nav-has-children > .nav-submenu .store-topbar-link:focus {
    color: #93c5fd !important;
}

/* -------------------------------------------------------------------------
   Heading contrast after dark-marine theme.
   Theme sets body.storefront h1-h6 to --color-text (#e8eef6). That vanishes
   on white/pale surfaces (footer, trust/why cards, PDP). Pale salt photos
   also wash out overlay names; gradient/shadow are stronger above.
   Body copy is left alone. Shop dropdown, Ranges overlay labels, and blue
   content links are not reverted.
   ------------------------------------------------------------------------- */

/* Dark canvases: page chrome, hero, shop/journal titles, FAQ, account */
body.storefront .hero-seo-heading,
body.storefront .hero-seo-heading span,
body.storefront h1.hero-seo-heading,
body.storefront h2.hero-seo-heading,
body.storefront .seo-trust > .site-container > h2,
body.storefront .seo-collections > .site-container > h2,
body.storefront .seo-why > .site-container > h2,
body.storefront .seo-content-block > .site-container > h2,
body.storefront .seo-faq > .site-container > h2,
body.storefront .seo-featured > .site-container > h2,
body.storefront .seo-spotlights > .site-container > h2,
body.storefront .seo-whats-new > .site-container > h2,
body.storefront .seo-latest-blog > .site-container > h2,
body.storefront .shop-catalog-header h1,
body.storefront .page-header h1,
body.storefront .shop-catalog-page h1,
body.storefront .seo-faq-item summary h3,
body.account-area-page h1,
body.account-area-page h2,
body.account-area-page h3,
body.account-area-page h4,
body.account-area-page .h6,
body.storefront .blog-card h2,
body.storefront .auth-card h1 {
    color: #fff;
    opacity: 1;
}

body.storefront .shop-catalog-header,
body.storefront .page-header {
    overflow: visible;
}

/* Heading-as-link: keep the heading colour, not the body-link blue */
body.storefront h1 a,
body.storefront h2 a,
body.storefront h3 a,
body.storefront h4 a,
body.storefront h5 a,
body.storefront h6 a,
body.storefront h1 a:link,
body.storefront h2 a:link,
body.storefront h3 a:link,
body.storefront h4 a:link,
body.storefront h5 a:link,
body.storefront h6 a:link,
body.storefront h1 a:visited,
body.storefront h2 a:visited,
body.storefront h3 a:visited,
body.storefront h4 a:visited,
body.storefront h5 a:visited,
body.storefront h6 a:visited {
    color: inherit;
}
body.storefront h1 a:hover,
body.storefront h2 a:hover,
body.storefront h3 a:hover,
body.storefront h4 a:hover,
body.storefront h5 a:hover,
body.storefront h6 a:hover,
body.storefront h1 a:focus,
body.storefront h2 a:focus,
body.storefront h3 a:focus,
body.storefront h4 a:focus,
body.storefront h5 a:focus,
body.storefront h6 a:focus {
    color: inherit;
}

/* Light canvases: white footer, pale trust/why/blog cards, white PDP */
body.storefront .footer h1,
body.storefront .footer h2,
body.storefront .footer h3,
body.storefront .footer h4,
body.storefront .footer-section h4,
body.storefront .seo-trust-card h3,
body.storefront .seo-why-card h3,
body.storefront .seo-latest-blog-card h3,
body.storefront .product-page-main h1,
body.storefront .product-page-main h2,
body.storefront .product-page-main h3,
body.storefront .product-page-main h4,
body.storefront .product-info h1,
body.storefront .product-related h2 {
    color: #111 !important;
}

/* Product names on the dark shop/category canvas (labels are spans, not h*) */
body.storefront .shop-catalog-page .shop-category-card:has(.shop-category-card-price) .shop-category-card-label,
body.storefront .shop-catalog-page .shop-category-card:has(.shop-category-card-price) .shop-category-card-label span,
body.storefront .shop-catalog-page .shop-category-card-price {
    color: #f8fafc !important;
}

/* Product names on the white PDP stay dark */
body.storefront .product-page-main .shop-category-card:has(.shop-category-card-price) .shop-category-card-label,
body.storefront .product-page-main .shop-category-card:has(.shop-category-card-price) .shop-category-card-label span,
body.storefront .product-page-main .shop-category-card-price,
body.storefront .product-page-main .seo-product-card h3,
body.storefront .product-page-main .seo-product-card h4 {
    color: #111 !important;
}

/* Homepage collection tiles: extra bottom scrim for pale salt/powder photos */
body.storefront .seo-collection-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 42%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
body.storefront .seo-collection-tile-body {
    z-index: 2;
}
body.storefront .seo-collection-tile-body h3 {
    color: #fff !important;
}

/* === RR-FLOAT-CATEGORY-CARDS ===
   3D floating photo tiles only.
   Does not restyle product pack-shot cards (name/price at bottom).
   === */

/* Keep lift shadows visible — clip radius on inner media, not the card. */
body.storefront .shop-catalog--categories,
body.storefront .shop-catalog--categories .shop-category-grid,
body.storefront .shop-catalog--categories .shop-category-grid > *,
body.storefront .shop-catalog.shop-catalog--categories,
body.storefront .seo-collections,
body.storefront .seo-collections .site-container,
body.storefront .seo-collections-grid,
body.storefront .seo-collections-grid > * {
    overflow: visible !important;
}

body.storefront .shop-catalog--categories .shop-category-grid,
body.storefront .seo-collections-grid {
    padding: 0.6rem 0.65rem 2.5rem;
}

body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
body.storefront .shop-catalog--categories a.shop-category-card,
body.storefront .shop-catalog--categories .shop-category-card,
body.storefront a.seo-collection-tile,
body.storefront .seo-collection-tile,
body.storefront .seo-collections-grid a.seo-collection-tile,
body.storefront .seo-collections-grid .seo-collection-tile {
    position: relative;
    display: block;
    overflow: visible !important;
    border-radius: 18px;
    background: #0b1220 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.16),
        0 10px 22px -4px rgba(15, 23, 42, 0.20),
        0 28px 56px -10px rgba(15, 23, 42, 0.24) !important;
    transform: translateY(0) scale(1) !important;
    transition:
        transform 240ms cubic-bezier(0.22, 0.8, 0.28, 1),
        box-shadow 240ms ease !important;
    color: #fff;
    isolation: isolate;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):focus-visible,
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):focus-visible,
body.storefront .shop-catalog--categories a.shop-category-card:hover,
body.storefront .shop-catalog--categories a.shop-category-card:focus-visible,
body.storefront .shop-catalog--categories .shop-category-card:hover,
body.storefront a.seo-collection-tile:hover,
body.storefront a.seo-collection-tile:focus-visible,
body.storefront .seo-collection-tile:hover,
body.storefront .seo-collection-tile:focus-visible,
body.storefront .seo-collections-grid a.seo-collection-tile:hover,
body.storefront .seo-collections-grid .seo-collection-tile:hover {
    transform: translateY(-12px) scale(1.02) !important;
    z-index: 4;
    border: 0 !important;
    outline: none !important;
    border-color: transparent !important;
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.18),
        0 18px 34px -6px rgba(15, 23, 42, 0.24),
        0 42px 76px -12px rgba(15, 23, 42, 0.30) !important;
    background: #0b1220 !important;
}

/* Inner photo clips to radius; card overflow stays visible for the shadow. */
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media,
body.storefront .shop-catalog--categories .shop-category-card-media,
body.storefront .shop-category-grid .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    background: #0b1220 !important;
    border-radius: 18px;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media img,
body.storefront .shop-catalog--categories .shop-category-card-media img,
body.storefront .seo-collection-tile img,
body.storefront .seo-collections-grid .seo-collection-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #0b1220 !important;
    transform: none !important;
    display: block;
    border-radius: 18px;
}

body.storefront .seo-collection-tile img {
    aspect-ratio: 1 / 1;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover .shop-category-card-media img,
body.storefront .seo-collection-tile:hover img {
    transform: none !important;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-overlay,
body.storefront .shop-catalog--categories .shop-category-card-overlay {
    display: block !important;
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 42%, transparent 68%);
    pointer-events: none;
    z-index: 1;
    border-radius: 18px;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label,
body.storefront .shop-catalog--categories .shop-category-card-label,
body.storefront .seo-collection-tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0 !important;
    padding: 2.85rem 1rem 0.95rem;
    text-align: left;
    background: linear-gradient(to top, rgba(6, 10, 18, 0.86) 0%, rgba(6, 10, 18, 0.42) 58%, transparent 100%);
    color: #f8fafc !important;
    border-radius: 0 0 18px 18px;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label span,
body.storefront .shop-catalog--categories .shop-category-card-label span,
body.storefront .seo-collection-tile-body h3 {
    display: block;
    color: #fff !important;
    background: transparent !important;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-desc,
body.storefront .shop-catalog--categories .shop-category-card-desc,
body.storefront .seo-collection-tile-body p {
    color: rgba(255, 255, 255, 0.88) !important;
    background: transparent !important;
}

@media (max-width: 640px) {
    body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
    body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
    body.storefront .shop-catalog--categories .shop-category-card,
    body.storefront a.seo-collection-tile,
    body.storefront .seo-collection-tile {
        box-shadow:
            0 2px 4px rgba(15, 23, 42, 0.14),
            0 8px 18px -4px rgba(15, 23, 42, 0.16),
            0 20px 40px -8px rgba(15, 23, 42, 0.18) !important;
        transform: translateY(0) scale(1) !important;
    }
    body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
    body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
    body.storefront .shop-catalog--categories .shop-category-card:hover,
    body.storefront a.seo-collection-tile:hover,
    body.storefront .seo-collection-tile:hover {
        transform: translateY(-6px) scale(1.01) !important;
        box-shadow:
            0 3px 6px rgba(15, 23, 42, 0.16),
            0 12px 24px -6px rgba(15, 23, 42, 0.20),
            0 28px 48px -10px rgba(15, 23, 42, 0.22) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
    body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
    body.storefront .shop-catalog--categories .shop-category-card,
    body.storefront a.seo-collection-tile,
    body.storefront .seo-collection-tile,
    body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
    body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
    body.storefront .shop-catalog--categories .shop-category-card:hover,
    body.storefront a.seo-collection-tile:hover,
    body.storefront .seo-collection-tile:hover {
        transform: none !important;
        transition: none !important;
    }
}
/* === /RR-FLOAT-CATEGORY-CARDS === */

/* === RR-CATEGORY-TILE-FIT ===
   Category photos fill the tile (cover, centered). Not overly zoomed.
   Does not change floating card shadow / transform / overflow.
   === */
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media,
body.storefront .shop-catalog--categories .shop-category-card-media,
body.storefront .shop-category-grid .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media {
    background: #0a0a0a !important;
}
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-media img,
body.storefront .shop-catalog--categories .shop-category-card-media img,
body.storefront .seo-collection-tile img,
body.storefront .seo-collections-grid .seo-collection-tile img {
    object-fit: cover !important;
    object-position: center center !important;
}
/* === /RR-CATEGORY-TILE-FIT === */

/* === RR-CATEGORY-DEPTH === */
/* Stronger 3D float on category photo tiles only. No black outline. */

body.storefront .shop-catalog--categories,
body.storefront .shop-category-grid,
body.storefront .seo-collections,
body.storefront .seo-collections-grid {
    overflow: visible !important;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
body.storefront .shop-catalog--categories .shop-category-card,
body.storefront .seo-collection-tile,
body.storefront .seo-collections-grid .seo-collection-tile {
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    border-radius: 18px !important;
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.18),
        0 8px 16px rgba(15, 23, 42, 0.22),
        0 24px 40px -8px rgba(15, 23, 42, 0.32),
        0 48px 80px -16px rgba(15, 23, 42, 0.28) !important;
    transition: transform 240ms ease, box-shadow 240ms ease;
}

body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
body.storefront .shop-catalog--categories .shop-category-card:hover,
body.storefront .seo-collection-tile:hover,
body.storefront .seo-collections-grid .seo-collection-tile:hover {
    border: 0 !important;
    outline: none !important;
    transform: translateY(-16px) scale(1.03);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 16px 28px rgba(15, 23, 42, 0.28),
        0 36px 56px -8px rgba(15, 23, 42, 0.36),
        0 64px 110px -18px rgba(15, 23, 42, 0.34) !important;
}

@media (max-width: 640px) {
    body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
    body.storefront .shop-catalog--categories .shop-category-card,
    body.storefront .seo-collection-tile {
        transform: translateY(-2px);
        box-shadow:
            0 1px 2px rgba(0, 0, 0, 0.16),
            0 10px 22px rgba(15, 23, 42, 0.22),
            0 28px 48px -10px rgba(15, 23, 42, 0.26) !important;
    }
    body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)):hover,
    body.storefront .seo-collection-tile:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* === RR-TIDY-0831 ===
   Store-local visual tidy. Does not rewrite homepage copy.
   === */

/* 1. Dark header + white topbar tabs (beat extra storefront-topbar-modern.css) */
body.storefront .storefront-header--modern .store-topbar {
    background: #000 !important;
    border-bottom: 1px solid #1e293b !important;
    box-shadow: none !important;
}
body.storefront .storefront-header--modern .store-topbar-inner {
    background: transparent !important;
}
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link:link,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link:visited,
body.storefront .storefront-header--modern .store-topbar .store-topbar-links > li > a.nav-link {
    color: #fff !important;
    background: transparent !important;
}
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link:hover,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link:focus,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link.is-accent,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-link.is-accent:hover {
    color: #93c5fd !important;
    background: transparent !important;
}
body.storefront .storefront-header--modern .store-topbar a.store-topbar-btn--ghost,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-btn--ghost:link,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-btn--ghost:visited {
    color: #fff !important;
    background: transparent !important;
    border-color: transparent !important;
}
body.storefront .storefront-header--modern .store-topbar a.store-topbar-btn--ghost:hover,
body.storefront .storefront-header--modern .store-topbar a.store-topbar-btn--ghost:focus {
    color: #93c5fd !important;
}
body.storefront .storefront-header--modern .store-topbar a.store-topbar-cart {
    color: #fff !important;
    background: transparent !important;
    border-color: transparent !important;
}
body.storefront .storefront-header--modern .store-topbar a.store-topbar-cart:hover {
    color: #93c5fd !important;
    background: transparent !important;
}
body.storefront .storefront-header--modern .nav-hamburger {
    background: transparent !important;
    border-color: #334155 !important;
}
body.storefront .storefront-header--modern .nav-hamburger span {
    background: #fff !important;
}
/* Light wordmark on the dark bar â€” keep letterforms (no invert flatten) */
body.storefront .storefront-header--modern .store-topbar-brand .logo-img {
    filter: none;
    opacity: 1;
    display: block;
    background: transparent !important;
}
/* Logo still replaces the site name */
body.storefront .store-topbar-brand:has(.logo-img) .store-topbar-brand-text {
    display: none !important;
}

/* 5. PDP: full pack shot, less gap from image to Description */
body.storefront .product-detail-grid {
    gap: 1.15rem !important;
}
body.storefront .product-detail-shell {
    margin-bottom: 0.65rem !important;
    padding: 0 !important;
}
body.storefront .product-page-main {
    padding-top: 1.15rem !important;
    padding-bottom: 2rem !important;
}
body.storefront .product-tabs {
    margin-top: 0.75rem !important;
    padding-top: 0.35rem !important;
}
body.storefront .product-gallery-main {
    overflow: visible !important;
    background: transparent !important;
    max-width: none !important;
}
body.storefront .product-gallery-main img,
body.storefront .product-gallery-main #productMainImage {
    object-fit: contain !important;
    object-position: center center !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: 28rem !important;
    background: transparent !important;
}

/* 6. Footer: drop Reef Revolution + Contact titles, keep content */
body.storefront .footer-section--brand > h4,
body.storefront .footer-section--contact > h4 {
    display: none !important;
}

/* 7. Shop dropdown + overlay names: Title Case as authored, not uppercase */
body.storefront .storefront-header--modern .store-topbar .nav-submenu .store-topbar-link,
body.storefront .storefront-header--modern .store-topbar .nav-submenu .nav-link,
body.storefront.layout-preset-night_events .store-topbar .nav-submenu .nav-link,
body.storefront.layout-preset-night_events .store-topbar .nav-submenu .store-topbar-link {
    text-transform: none !important;
    letter-spacing: normal;
}
body.storefront .seo-collection-tile-body h3,
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)) .shop-category-card-label span {
    text-transform: none !important;
}

/* 8. Section headings: light text on dark marine canvas (cards stay dark-on-light below) */
body.storefront .seo-collections > .site-container > h2,
body.storefront section.seo-collections h2,
body.storefront .seo-why > .site-container > h2,
body.storefront .seo-content-block > .site-container > h2,
body.storefront .seo-faq > .site-container > h2,
body.storefront .seo-featured > .site-container > h2,
body.storefront .seo-spotlights > .site-container > h2,
body.storefront .seo-whats-new > .site-container > h2,
body.storefront .seo-latest-blog > .site-container > h2,
body.storefront .seo-latest-blog-intro h2,
body.storefront .shop-catalog-header h1,
body.storefront .page-header h1,
body.storefront .shop-catalog-page h1,
body.storefront .shop-catalog-header .section-lead,
body.storefront .page-header .section-lead,
body.storefront .seo-section-intro,
body.storefront .seo-latest-blog-intro .seo-section-intro,
body.storefront .seo-rich-text {
    color: #e8eef6 !important;
    opacity: 1;
}
/* Trust band sits on a pale strip — keep its heading dark */
body.storefront .seo-trust > .site-container > h2 {
    color: #111 !important;
    opacity: 1;
}

/* 4. Quick tidy: less empty air under collection grids */
body.storefront .seo-collections {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
}
body.storefront .shop-catalog--categories .shop-category-grid,
body.storefront .seo-collections-grid {
    padding-bottom: 1.5rem;
}

/* === /RR-TIDY-0831 === */

/* === RR-TRUST-0831 === */
body.storefront .vb-section[data-vb-section-id="seo_trust"],
body.storefront .vb-section[data-vb-type="trust_band"],
body.storefront .seo-trust,
body.storefront .seo-trust > .site-container {
    overflow: visible !important;
    max-width: none;
}
body.storefront .seo-trust {
    background: #f6f7f8;
    padding: 2.75rem 0 3rem;
}
body.storefront .seo-trust > .site-container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.storefront .seo-trust > .site-container > h2,
body.storefront .vb-section[data-vb-section-id="seo_trust"] .seo-trust > .site-container > h2 {
    color: #111 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
    overflow: visible !important;
    overflow-x: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    clip-path: none !important;
    display: block;
    float: none;
    opacity: 1 !important;
    line-height: 1.25;
}
body.storefront .seo-trust-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    perspective: none;
    text-align: center;
}
@media (min-width: 640px) {
    body.storefront .seo-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1100px) {
    body.storefront .seo-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
body.storefront .seo-trust-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
    outline: none !important;
    border-radius: 16px;
    overflow: hidden;
    padding: 0 1.25rem 1.4rem !important;
    box-shadow:
        0 8px 22px rgba(4, 16, 24, 0.14),
        0 2px 6px rgba(4, 16, 24, 0.08);
    transform: translateY(0);
    transform-style: flat;
    transition:
        transform 0.35s cubic-bezier(0.22, 0.8, 0.28, 1),
        box-shadow 0.35s ease;
}
body.storefront .seo-trust-card:hover {
    transform: translateY(-8px);
    border: 0 !important;
    outline: none !important;
    box-shadow:
        0 18px 36px rgba(4, 16, 24, 0.22),
        0 6px 14px rgba(4, 16, 24, 0.12);
    background: #fff !important;
}
body.storefront .seo-trust-card::before {
    content: "";
    display: block;
    align-self: stretch;
    height: 7.25rem;
    margin: 0 -1.25rem 1.05rem;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
body.storefront .seo-trust-card:nth-child(1)::before {
    background-image: url("/uploads/categories/cat-marine-salts.jpg");
    background-color: #334155;
}
body.storefront .seo-trust-card:nth-child(2)::before {
    background-image: url("/uploads/hero/extras/extra-reefscape.jpg");
    background-color: #1e3a5f;
}
body.storefront .seo-trust-card:nth-child(3)::before {
    background-image: url("/uploads/hero/extras/extra-blue-water.jpg");
    background-color: #16324a;
}
body.storefront .seo-trust-card:nth-child(4)::before {
    background-image: url("/uploads/homepage-slider/slide-2.jpg");
    background-color: #243044;
}
body.storefront .seo-trust-icon,
body.storefront .seo-trust-icon:empty {
    display: none !important;
}
body.storefront .seo-trust-card h3 {
    color: #111 !important;
    text-align: center !important;
    width: 100%;
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}
body.storefront .seo-trust-card p {
    color: #111 !important;
    text-align: center !important;
    width: 100%;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    opacity: 1 !important;
}
@media (prefers-reduced-motion: reduce) {
    body.storefront .seo-trust-card,
    body.storefront .seo-trust-card:hover {
        transform: none;
        transition: none;
    }
}
/* === /RR-TRUST-0831 === */

/* === RR-BLOG-UI-0908 === */
/* Homepage Blog split: left title+desc, right single featured card */
body.storefront .seo-latest-blog-intro h2 {
    color: #e8eef6 !important;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    letter-spacing: 0.02em;
}
body.storefront .seo-latest-blog-intro .seo-section-intro,
body.storefront .seo-latest-blog .seo-section-intro {
    color: #b6c3d6 !important;
}
body.storefront .seo-latest-blog .seo-section-link a {
    color: #93c5fd !important;
}
body.storefront .seo-latest-blog-card {
    background: #f7f9fc !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 14px;
    overflow: hidden;
}
body.storefront .seo-latest-blog-card h3 {
    color: #111827 !important;
    font-size: 1.05rem !important;
    margin: 0.75rem 1rem 0.35rem !important;
}
body.storefront .seo-latest-blog-card p,
body.storefront .seo-latest-blog-card time {
    color: #475569 !important;
}
body.storefront .seo-latest-blog-category {
    color: #60a5fa !important;
    padding: 0 1rem;
}

/* Authority / content blocks on dark canvas */
body.storefront .seo-content-block > .site-container > h2 {
    color: #e8eef6 !important;
}
body.storefront .seo-content-block .seo-rich-text,
body.storefront .seo-content-block .seo-internal-links {
    color: #b6c3d6 !important;
}
body.storefront .seo-content-block .seo-internal-links a {
    color: #93c5fd !important;
}

/* Why RR heading on dark canvas; cards stay light with dark text */
body.storefront .seo-why > .site-container > h2 {
    color: #e8eef6 !important;
}
body.storefront .seo-why-card {
    background: #f7f9fc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 1.15rem 1.2rem;
}
body.storefront .seo-why-card h3 {
    color: #111827 !important;
}
body.storefront .seo-why-card p {
    color: #334155 !important;
}

/* Collections section heading readable on dark */
body.storefront .seo-collections > .site-container > h2,
body.storefront section.seo-collections h2 {
    color: #e8eef6 !important;
}
body.storefront .seo-collections .seo-section-intro {
    color: #b6c3d6 !important;
}

/* Blog listing page: smaller, tighter, centred cards */
body.storefront .vb-native-slot[data-vb-native="blog"] .page-header h1,
body.storefront .page-header h1 {
    color: #e8eef6 !important;
    font-size: clamp(1.85rem, 3vw, 2.5rem);
}
body.storefront .vb-native-slot[data-vb-native="blog"] .section-lead,
body.storefront .page-header .section-lead {
    color: #b6c3d6 !important;
    font-size: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
body.storefront .blog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: stretch;
    justify-content: center;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}
body.storefront .blog-card.design-card,
body.storefront .blog-card {
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}
body.storefront .blog-card .design-body {
    text-align: center;
    padding: 0.7rem 0.75rem 0.9rem !important;
}
body.storefront .blog-card h2 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin: 0 0 0.3rem !important;
    color: #111827 !important;
}
body.storefront .blog-card h2 a {
    color: inherit !important;
    text-decoration: none;
}
body.storefront .blog-card p,
body.storefront .blog-card .small,
body.storefront .blog-card .text-muted {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    color: #475569 !important;
    margin: 0.2rem 0 0 !important;
}
body.storefront .blog-card-img,
body.storefront .blog-card .design-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 120px;
    object-fit: cover;
    display: block;
}
body.storefront .blog-card .design-thumb {
    opacity: 0.55;
}
@media (min-width: 900px) {
    body.storefront .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    }
}
/* === /RR-BLOG-UI-0908 === */

/* === RR-HOME-POLISH-0908 ===
   Natural homepage polish: no scroll-chasing motion,
   unified 3D floating cards (hover lift only).
   === */

/* Kill smooth-scroll / sticky catch-up on storefront */
html:has(body.storefront),
body.storefront {
    scroll-behavior: auto !important;
}
body.storefront .seo-latest-blog-intro {
    position: static !important;
    top: auto !important;
}
body.storefront .vb-section,
body.storefront .seo-why,
body.storefront .seo-collections,
body.storefront .seo-latest-blog,
body.storefront .seo-content-block,
body.storefront .cta-band {
    transform: none;
    opacity: 1;
    filter: none;
    animation: none !important;
    content-visibility: visible;
}

/* Shared 3D float tokens — hover only, never scroll-linked */
body.storefront .seo-why-card,
body.storefront .seo-latest-blog-card,
body.storefront .seo-collection-tile,
body.storefront .seo-collections-grid .seo-collection-tile {
    border-radius: 18px !important;
    transition: transform 220ms ease, box-shadow 220ms ease !important;
    will-change: auto;
}

/* Why cards: equal-height floating tiles, clean hierarchy */
body.storefront .seo-why > .site-container > h2 {
    color: #e8eef6 !important;
    margin-bottom: 1.5rem;
}
body.storefront .seo-why-grid {
    overflow: visible !important;
    align-items: stretch;
}
body.storefront .seo-why-card {
    position: relative;
    height: 100%;
    padding: 1.35rem 1.3rem 1.4rem !important;
    background: linear-gradient(165deg, #ffffff 0%, #f3f6fb 55%, #eef2f7 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: #1a1f2a;
    text-align: left;
    transform: translateY(-3px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.22),
        0 10px 22px rgba(15, 23, 42, 0.28),
        0 28px 48px -12px rgba(2, 8, 23, 0.45) !important;
}
body.storefront .seo-why-card::before {
    content: "";
    display: block;
    width: 2.25rem;
    height: 3px;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    background: linear-gradient(90deg, #55d9df, #38bdf8);
}
body.storefront .seo-why-icon:empty {
    display: none !important;
}
body.storefront .seo-why-card h3 {
    color: #111827 !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.45rem !important;
    line-height: 1.25 !important;
}
body.storefront .seo-why-card p {
    color: #334155 !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
body.storefront .seo-why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(85, 217, 223, 0.28) !important;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.24),
        0 18px 34px rgba(15, 23, 42, 0.34),
        0 42px 72px -14px rgba(2, 8, 23, 0.55) !important;
}

/* Blog featured card — same float language */
body.storefront .seo-latest-blog-grid {
    overflow: visible !important;
}
body.storefront .seo-latest-blog-card {
    background: linear-gradient(165deg, #ffffff 0%, #f3f6fb 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 18px !important;
    overflow: hidden;
    transform: translateY(-3px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.22),
        0 10px 22px rgba(15, 23, 42, 0.28),
        0 28px 48px -12px rgba(2, 8, 23, 0.45) !important;
}
body.storefront .seo-latest-blog-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.24),
        0 18px 34px rgba(15, 23, 42, 0.34),
        0 42px 72px -14px rgba(2, 8, 23, 0.55) !important;
}
body.storefront .seo-latest-blog-card h3 {
    color: #111827 !important;
}
body.storefront .seo-latest-blog-card p,
body.storefront .seo-latest-blog-card time {
    color: #475569 !important;
}

/* Category tiles — strengthen float consistently (hover only) */
body.storefront .seo-collections,
body.storefront .seo-collections-grid {
    overflow: visible !important;
}
body.storefront .seo-collection-tile,
body.storefront .seo-collections-grid .seo-collection-tile {
    transform: translateY(-4px) scale(1) !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 12px 24px rgba(15, 23, 42, 0.28),
        0 32px 56px -12px rgba(2, 8, 23, 0.42) !important;
}
body.storefront .seo-collection-tile:hover,
body.storefront .seo-collection-tile:focus-visible,
body.storefront .seo-collections-grid .seo-collection-tile:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.24),
        0 20px 36px rgba(15, 23, 42, 0.34),
        0 48px 88px -16px rgba(2, 8, 23, 0.5) !important;
}

/* Soft float on homepage CTA band so it matches the card system */
body.storefront .cta-band {
    overflow: visible;
}
body.storefront .cta-band > .site-container {
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(165deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.22),
        0 12px 28px rgba(15, 23, 42, 0.3),
        0 32px 56px -14px rgba(2, 8, 23, 0.45);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
body.storefront .cta-band > .site-container:hover {
    transform: translateY(-8px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.24),
        0 20px 40px rgba(15, 23, 42, 0.36),
        0 48px 80px -16px rgba(2, 8, 23, 0.52);
}
body.storefront .cta-band h2 {
    color: #111827 !important;
}
body.storefront .cta-band p {
    color: #475569 !important;
}

/* Authority strip: readable, not oversized */
body.storefront .seo-content-block > .site-container > h2 {
    color: #e8eef6 !important;
}
body.storefront .seo-content-block .seo-rich-text {
    color: #b6c3d6 !important;
    max-width: 52rem;
}

@media (max-width: 640px) {
    body.storefront .seo-why-card,
    body.storefront .seo-latest-blog-card {
        transform: translateY(-2px);
    }
    body.storefront .seo-why-card:hover,
    body.storefront .seo-latest-blog-card:hover {
        transform: translateY(-8px);
    }
    body.storefront .seo-collection-tile,
    body.storefront .seo-collections-grid .seo-collection-tile {
        transform: translateY(-2px) scale(1) !important;
    }
    body.storefront .seo-collection-tile:hover,
    body.storefront .seo-collections-grid .seo-collection-tile:hover {
        transform: translateY(-8px) scale(1.01) !important;
    }
}
/* === /RR-HOME-POLISH-0908 === */
/* === RR-LIGHT-CARDS-ON-DARK-0908 ===
   Dark marine page canvas + light floating cards.
   Restyles colours only; keeps 3D hover float from RR-HOME-POLISH / float tiles.
   No black outline on cards. No scroll-linked motion.
   === */

/* Force dark marine storefront canvas (wins over light Soft Linen flash / pale overrides) */
html:has(body.storefront),
body.storefront {
    background-color: #05070a !important;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.10), transparent),
        linear-gradient(#05070a, #05070a) !important;
    background-attachment: scroll !important;
    color: #e8eef6 !important;
    scroll-behavior: auto !important;
}

/* Section titles + intros on dark page bg */
body.storefront .seo-why > .site-container > h2,
body.storefront .seo-collections > .site-container > h2,
body.storefront section.seo-collections h2,
body.storefront .seo-latest-blog-intro h2,
body.storefront .seo-latest-blog > .site-container > h2,
body.storefront .seo-content-block > .site-container > h2,
body.storefront .seo-trust > .site-container > h2,
body.storefront .seo-faq > .site-container > h2,
body.storefront .seo-featured > .site-container > h2,
body.storefront .cta-band h2 {
    color: #e8eef6 !important;
}
body.storefront .seo-section-intro,
body.storefront .seo-why .seo-section-intro,
body.storefront .seo-collections .seo-section-intro,
body.storefront .seo-latest-blog-intro .seo-section-intro,
body.storefront .seo-latest-blog .seo-section-intro,
body.storefront .seo-content-block .seo-rich-text,
body.storefront .seo-content-block .seo-internal-links,
body.storefront .cta-band p {
    color: #b6c3d6 !important;
}

/* Shared light card chrome (Why / Blog featured / trust / CTA) */
body.storefront .seo-why-card,
body.storefront .seo-latest-blog-card,
body.storefront .seo-trust-card,
body.storefront .cta-band > .site-container {
    background: linear-gradient(165deg, #ffffff 0%, #f3f6fb 55%, #eef2f7 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    outline: none !important;
    color: #1a1f2a !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.18),
        0 12px 28px rgba(2, 8, 23, 0.28),
        0 32px 56px -14px rgba(2, 8, 23, 0.42) !important;
}

/* Why cards: light surface, dark readable type, keep float */
body.storefront .seo-why-card {
    position: relative;
    transform: translateY(-3px);
    border-radius: 18px !important;
    transition: transform 220ms ease, box-shadow 220ms ease !important;
}
body.storefront .seo-why-card::before {
    background: linear-gradient(90deg, #55d9df, #3b82f6) !important;
}
body.storefront .seo-why-card h3 {
    color: #111827 !important;
}
body.storefront .seo-why-card p {
    color: #334155 !important;
}
body.storefront .seo-why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.18) !important;
    outline: none !important;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 20px 40px rgba(2, 8, 23, 0.34),
        0 48px 80px -16px rgba(2, 8, 23, 0.5) !important;
}

/* Blog featured card on homepage */
body.storefront .seo-latest-blog-card {
    transform: translateY(-3px);
    border-radius: 18px !important;
    transition: transform 220ms ease, box-shadow 220ms ease !important;
    overflow: hidden;
}
body.storefront .seo-latest-blog-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 20px 40px rgba(2, 8, 23, 0.34),
        0 48px 80px -16px rgba(2, 8, 23, 0.5) !important;
}
body.storefront .seo-latest-blog-card h3 {
    color: #111827 !important;
}
body.storefront .seo-latest-blog-card p,
body.storefront .seo-latest-blog-card time {
    color: #475569 !important;
}
body.storefront .seo-latest-blog-category {
    color: #2563eb !important;
}

/* Trust cards */
body.storefront .seo-trust {
    background: transparent !important;
}
body.storefront .seo-trust-card h3 {
    color: #111827 !important;
}
body.storefront .seo-trust-card p {
    color: #475569 !important;
}

/* CTA band as light floating panel */
body.storefront .cta-band > .site-container {
    transform: translateY(-3px);
    border-radius: 20px;
    transition: transform 220ms ease, box-shadow 220ms ease;
}
body.storefront .cta-band > .site-container:hover {
    transform: translateY(-8px);
}
body.storefront .cta-band h2 {
    color: #111827 !important;
}
body.storefront .cta-band p {
    color: #475569 !important;
}

/* Blog listing cards: light chrome, dark text (page stays dark) */
body.storefront .blog-card.design-card,
body.storefront .blog-card {
    background: #f7f9fc !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    outline: none !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.16),
        0 12px 28px rgba(2, 8, 23, 0.26) !important;
}
body.storefront .blog-card h2,
body.storefront .blog-card h2 a {
    color: #111827 !important;
}
body.storefront .blog-card p,
body.storefront .blog-card .small,
body.storefront .blog-card .text-muted {
    color: #475569 !important;
}
body.storefront .blog-card .design-thumb {
    opacity: 1;
}

/* Category photo tiles: keep float; no black outline; soft chrome (photo fills tile) */
body.storefront a.seo-collection-tile,
body.storefront .seo-collection-tile,
body.storefront .seo-collections-grid .seo-collection-tile,
body.storefront a.shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
body.storefront .shop-category-card:not(.shop-product-card):not(:has(.shop-category-card-price)),
body.storefront .shop-catalog--categories .shop-category-card {
    border: 0 !important;
    outline: none !important;
    background: #eef2f7 !important;
}

@media (max-width: 640px) {
    body.storefront .seo-why-card,
    body.storefront .seo-latest-blog-card {
        transform: translateY(-2px);
    }
    body.storefront .seo-why-card:hover,
    body.storefront .seo-latest-blog-card:hover {
        transform: translateY(-8px);
    }
}
/* === /RR-LIGHT-CARDS-ON-DARK-0908 === */


/* RR footer compact mid-grey centred */
body.storefront .footer,
.storefront--modern .footer,
.footer.footer--spread {
    background: #1a1f27 !important;
    color: #cbd5e1;
    border-top: 1px solid #2a3038;
    padding: 0.55rem 0 0.4rem !important;
    margin-top: 1rem !important;
}
body.storefront .footer-content,
body.storefront .footer-content--spread {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    text-align: center !important;
    margin-bottom: 0.25rem !important;
    grid-template-columns: none !important;
}
body.storefront .footer-section--brand,
body.storefront .footer-section--links {
    width: 100%;
    text-align: center;
}
body.storefront .footer-links-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem 1.5rem !important;
    margin: 0 auto !important;
    width: auto !important;
}
body.storefront .footer-section h4,
body.storefront .footer-section--brand > h4 {
    color: var(--color-text, #e8eef6) !important;
    margin-bottom: 0.25rem !important;
}
body.storefront .footer-bottom {
    padding-top: 0.55rem !important;
    border-top: 1px solid #1e293b !important;
    color: #64748b !important;
}
body.storefront .footer a,
body.storefront .footer-section a {
    color: #cbd5e1 !important;
}
body.storefront .footer a:hover,
body.storefront .footer-section a:hover {
    color: #93c5fd !important;
}

/* Hide listing / card prices (PDP keeps prices) */
.shop-catalog--products .shop-category-card-price,
.shop-product-card .shop-category-card-price,
.seo-featured .seo-product-price,
.seo-product-card .seo-product-price,
.featured-products .product-price,
.brands-page .shop-category-card-price,
.product-related .shop-category-card-price {
    display: none !important;
}

/* === RR-ACCOUNT-DROPDOWN-DARK-0908 ===
   Header account menu must match dark marine platform theme.
   Beats style.css / storefront-topbar-modern.css white surfaces.
   === */
body.storefront .storefront-header--modern .nav-account-chip,
body.storefront .nav-account-chip,
.storefront-header--modern .nav-account-chip {
    background: #0b1220 !important;
    border: 1px solid #1e293b !important;
    color: #e8eef6 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}
body.storefront .storefront-header--modern .nav-account-chip:hover,
body.storefront .nav-account-chip:hover,
.storefront-header--modern .nav-account-chip:hover {
    background: #111827 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}
body.storefront .nav-account-avatar,
.storefront-header--modern .nav-account-avatar {
    background: #1d4ed8 !important;
    color: #fff !important;
}
body.storefront .nav-account-label,
.storefront-header--modern .nav-account-label {
    color: #e8eef6 !important;
}
body.storefront .storefront-header--modern .nav-account-dropdown,
body.storefront .nav-account-dropdown,
.storefront-header--modern .nav-account-dropdown,
.nav-account-dropdown {
    background: #0b1220 !important;
    border: 1px solid #1e293b !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    color: #e8eef6 !important;
}
body.storefront .nav-account-dropdown-head,
.nav-account-dropdown-head {
    border-bottom: 1px solid #1e293b !important;
    color: #e8eef6 !important;
}
body.storefront .nav-account-dropdown a,
.nav-account-dropdown a {
    color: #e8eef6 !important;
    background: transparent !important;
}
body.storefront .nav-account-dropdown a:hover,
body.storefront .nav-account-dropdown a:focus,
.nav-account-dropdown a:hover,
.nav-account-dropdown a:focus {
    background: #111827 !important;
    color: #93c5fd !important;
}
body.storefront .nav-account-divider,
.nav-account-divider {
    border-top-color: #1e293b !important;
}
body.storefront .nav-account-signout,
.nav-account-signout {
    color: #fca5a5 !important;
}
body.storefront .nav-account-signout:hover,
.nav-account-signout:hover {
    background: rgba(127, 29, 29, 0.35) !important;
    color: #fecaca !important;
}
body.storefront .nav-account-badge-pending,
.nav-account-badge-pending {
    color: #fcd34d !important;
    background: rgba(120, 53, 15, 0.45) !important;
}
/* === /RR-ACCOUNT-DROPDOWN-DARK-0908 === */


/* === RR-PRODUCT-PACKSHOT-CONTAIN-0908 ===
   Product pack shots must use contain (no crop/zoom).
   Category photo tiles keep cover. Product cards no longer have
   .shop-category-card-price in markup, so exclude via .shop-product-card.
   === */
body.storefront .shop-product-card .shop-category-card-media,
body.storefront .shop-product-card .shop-category-card-placeholder,
body.storefront .shop-catalog--products .shop-category-card-media,
body.storefront .shop-catalog .shop-product-card .shop-category-card-media,
body.storefront .shop-product-grid .shop-category-card-media,
body.storefront .seo-product-card img,
body.storefront .seo-product-card .shop-category-card-media,
body.storefront .featured-products .design-thumb,
body.storefront .featured-products .design-thumb-img,
body.storefront .product-related .shop-product-card .shop-category-card-media {
    background: transparent !important;
    overflow: visible !important;
    aspect-ratio: 1 / 1 !important;
}
body.storefront .shop-product-card .shop-category-card-media img,
body.storefront .shop-catalog--products .shop-category-card-media img,
body.storefront .shop-catalog .shop-product-card .shop-category-card-media img,
body.storefront .shop-product-grid .shop-category-card-media img,
body.storefront .seo-product-card img,
body.storefront .featured-products .design-thumb-img,
body.storefront .product-related .shop-product-card .shop-category-card-media img,
body.storefront .brands-page .shop-product-card .shop-category-card-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
    transform: none !important;
    display: block;
}
body.storefront .shop-product-card,
body.storefront a.shop-product-card,
body.storefront .seo-product-card {
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: #e8eef6 !important;
}
body.storefront .shop-product-card .shop-category-card-overlay {
    display: none !important;
}
body.storefront .product-gallery-main img,
body.storefront .product-gallery-main #productMainImage {
    object-fit: contain !important;
    object-position: center center !important;
}
/* === /RR-PRODUCT-PACKSHOT-CONTAIN-0908 === */
/* === RR-PDP-DESC-LIGHT-0908 ===
   Immersive-dark PDP: description / tab body text must read on marine canvas.
   Dark #1f2937 description colour was unreadable on dark bg.
   Does not restyle account menu, pack shots, listing prices, nav, or footer.
   === */
body.storefront.layout-product .product-page-main,
body.storefront .product-page-main {
    background: transparent !important;
    color: #e8eef6 !important;
}
body.storefront.layout-product .product-description,
body.storefront.layout-product .product-description--short,
body.storefront.layout-product .product-description--full,
body.storefront.layout-product .product-description--full p,
body.storefront.layout-product .product-description--full li,
body.storefront.layout-product .product-description--full span,
body.storefront.layout-product .product-description--full strong,
body.storefront.layout-product .product-description--full em,
body.storefront.layout-product .product-tab-panel,
body.storefront.layout-product .product-tab-panel p,
body.storefront.layout-product .product-tab-panel li,
body.storefront .product-description,
body.storefront .product-description--full,
body.storefront .product-description--full p,
body.storefront .product-description--full li,
body.storefront .product-tab-panel,
body.storefront .product-tab-panel p {
    color: #e8eef6 !important;
}
body.storefront.layout-product .product-attrs th,
body.storefront.layout-product .product-attrs td,
body.storefront .product-attrs th,
body.storefront .product-attrs td {
    color: #e8eef6 !important;
    background: transparent !important;
    border-bottom-color: #1e293b !important;
}
body.storefront.layout-product .product-tab-btn,
body.storefront .product-tab-btn {
    color: #94a3b8 !important;
}
body.storefront.layout-product .product-tab-btn.is-active,
body.storefront .product-tab-btn.is-active {
    color: #f8fafc !important;
    background: transparent !important;
}
body.storefront.layout-product .product-tabs {
    border-top-color: #1e293b !important;
}
body.storefront.layout-product .product-tabs-nav {
    border-bottom-color: #1e293b !important;
}
/* Title / price / meta on same transparent PDP must stay light too */
body.storefront.layout-product .product-page-main h1,
body.storefront.layout-product .product-page-main h2,
body.storefront.layout-product .product-page-main h3,
body.storefront.layout-product .product-page-main h4,
body.storefront.layout-product .product-info h1,
body.storefront.layout-product .product-related h2,
body.storefront.layout-product .product-price-block .product-price,
body.storefront.layout-product .product-price-block .fw-semibold,
body.storefront.layout-product .product-meta,
body.storefront.layout-product .product-breadcrumb,
body.storefront.layout-product .product-stock-note {
    color: #e8eef6 !important;
}
body.storefront.layout-product .product-breadcrumb a {
    color: #93c5fd !important;
}
body.storefront.layout-product .product-price-block {
    border-bottom-color: #1e293b !important;
}
/* === /RR-PDP-DESC-LIGHT-0908 === */

/* RR footer grey polish (height + readable light text) */
body.storefront .footer-content,
body.storefront .footer-content--spread {
    margin-bottom: 0.2rem !important;
    gap: 0.25rem !important;
}
body.storefront .footer-bottom {
    padding-top: 0.35rem !important;
    padding-bottom: 0 !important;
    border-top: 1px solid #2a3038 !important;
    color: #94a3b8 !important;
}
body.storefront .footer-bottom p {
    margin: 0 !important;
    font-size: 0.8rem;
    color: #94a3b8 !important;
}
body.storefront .footer,
body.storefront .footer-section,
body.storefront .footer-tagline {
    color: #cbd5e1 !important;
}
body.storefront .footer a,
body.storefront .footer-section a,
body.storefront .footer-links-row a {
    color: #e2e8f0 !important;
}
body.storefront .footer a:hover,
body.storefront .footer-section a:hover {
    color: #93c5fd !important;
}
body.storefront .footer-section--brand { display: none !important; }

/* Column footer was inheriting a 320px row flex-basis, which made the legal links block ~320px tall. */
body.storefront .footer-section,
body.storefront .footer-section--links,
body.storefront .footer-section--brand,
body.storefront .footer-section--contact {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
}
body.storefront .footer-links-row li {
    margin: 0 !important;
}

/* Hero: stack slides and crossfade. A blue primary fill was showing between slides,
   and visibility:hidden plus height:auto made the swap flash and paint late. */
body.storefront .hero-seo {
    background: #05070a !important;
    contain: none;
}
body.storefront .hero-seo-track {
    position: relative;
    height: clamp(420px, 62vh, 640px);
    min-height: clamp(420px, 62vh, 640px);
}
body.storefront .hero-seo-slide,
body.storefront .hero-seo-slide.is-active {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
}
body.storefront .hero-seo-slide.is-active {
    z-index: 1;
    pointer-events: auto;
}
/* Photos crossfade. Text and buttons stay on the current slide only, so they don't double up or flash the blue fill. */
body.storefront .hero-seo-slide img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    opacity: 0;
    transition: opacity 0.45s ease;
}
body.storefront .hero-seo-slide.is-active img {
    opacity: 1;
}
body.storefront .hero-seo-slide:not(.is-active) .hero-seo-content,
body.storefront .hero-seo-slide:not(.is-active) .hero-seo-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 640px) {
    body.storefront .hero-seo-track {
        height: auto;
        min-height: 32rem;
    }
    body.storefront .hero-seo-content {
        padding: 4.5rem 1rem 4.75rem;
        max-width: none;
    }
    body.storefront .footer {
        padding: 0.7rem 0 0.55rem !important;
    }
}

/* === RR-WHITE-CARDS-LIFE ===
   Why, blog, and wholesale panels: light cards with blue depth.
   Category photo tiles are unchanged.
   === */
body.storefront .seo-why-card,
body.storefront .seo-latest-blog-card,
body.storefront .cta-band > .site-container {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(56, 189, 248, 0.18), transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 10px 24px rgba(2, 8, 23, 0.28),
        0 28px 50px -16px rgba(2, 8, 23, 0.45) !important;
}
body.storefront .seo-why-card::before,
body.storefront .seo-latest-blog-card::before,
body.storefront .cta-band > .site-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8 55%, #93c5fd);
    pointer-events: none;
}

body.storefront .seo-why-card {
    padding: 1.2rem 1.2rem 1.25rem !important;
}
body.storefront .seo-why-card .seo-why-icon,
body.storefront .seo-why-card .seo-why-icon:empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    margin: 0.35rem 0 0.15rem;
    border-radius: 12px;
    background-color: #1d4ed8;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.2rem 1.2rem, cover;
    box-shadow: 0 8px 16px rgba(29, 78, 216, 0.28);
}
body.storefront .seo-why-card:nth-child(1) .seo-why-icon {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"),
        linear-gradient(145deg, #1d4ed8, #38bdf8);
}
body.storefront .seo-why-card:nth-child(2) .seo-why-icon {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.8 6 11a6 6 0 0 1-12 0c0-4.2 6-11 6-11z'/%3E%3C/svg%3E"),
        linear-gradient(145deg, #0369a1, #38bdf8);
}
body.storefront .seo-why-card:nth-child(3) .seo-why-icon {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v5.5L6.2 18.2A2 2 0 0 0 8 21h8a2 2 0 0 0 1.8-2.8L14 8.5V3'/%3E%3C/svg%3E"),
        linear-gradient(145deg, #1e40af, #60a5fa);
}
body.storefront .seo-why-card:nth-child(4) .seo-why-icon {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 11.2a2 2 0 0 1-2 1.8H9a2 2 0 0 1-2-1.8L6 8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"),
        linear-gradient(145deg, #1d4ed8, #0ea5e9);
}
body.storefront .seo-why-card:hover {
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 0 0 1px rgba(56, 189, 248, 0.18),
        0 18px 36px rgba(2, 8, 23, 0.34),
        0 40px 70px -16px rgba(29, 78, 216, 0.35) !important;
}
body.storefront .seo-why-card:hover .seo-why-icon {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(29, 78, 216, 0.36);
}

body.storefront .seo-latest-blog-card-link {
    padding: 0.35rem 0 1.15rem;
}
body.storefront .seo-latest-blog-category {
    display: inline-block;
    margin: 0.95rem 1.05rem 0.15rem !important;
    padding: 0.28rem 0.65rem !important;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.1);
    color: #1d4ed8 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em;
}
body.storefront .seo-latest-blog-card h3 {
    font-size: 1.2rem !important;
    letter-spacing: -0.02em;
    margin: 0.55rem 1.05rem 0.4rem !important;
}
body.storefront .seo-latest-blog-card p,
body.storefront .seo-latest-blog-card time {
    margin-left: 1.05rem !important;
    margin-right: 1.05rem !important;
}
body.storefront .seo-latest-blog-card:hover {
    border-color: rgba(56, 189, 248, 0.45) !important;
}
body.storefront .seo-latest-blog-card:hover h3 {
    color: #1d4ed8 !important;
}

body.storefront .cta-band > .site-container {
    background:
        radial-gradient(70% 120% at 0% 0%, rgba(37, 99, 235, 0.16), transparent 58%),
        radial-gradient(60% 100% at 100% 110%, rgba(14, 165, 233, 0.18), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%) !important;
}
body.storefront .cta-band > .site-container:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
}

@media (prefers-reduced-motion: reduce) {
    body.storefront .seo-why-card:hover .seo-why-icon {
        transform: none;
    }
}
/* === /RR-WHITE-CARDS-LIFE === */

