/* Storefront colours only; dimensions and the admin theme stay unchanged. */
:root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f4f4f4;
    --text: #171717;
    --muted: #626262;
    --line: rgba(0, 0, 0, 0.14);
    --shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
}

html, body { background: #ffffff; color: var(--text); }
body::before { display: none; }
:focus-visible { outline-color: #171717; }

.loading-screen, .mobile-menu, .cart-drawer, .modal-panel,
.auth-divider span, .home-split-panel, .home-newsletter,
.product-card, .premium-product-grid .product-card {
    background: #ffffff;
    color: var(--text);
}

.site-header.scrolled, .nav, .redesigned-home .nav {
    background: rgba(255, 255, 255, 0.97);
    border-color: var(--line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.redesigned-home .section-head a { color: #525252; }
.button.primary, .card-actions .buy-now-button,
.redesigned-home .card-actions .buy-now-button {
    background: #171717;
    border-color: #171717;
    color: #ffffff;
}

.button.secondary, .icon-button, input, select, textarea {
    border-color: var(--line);
}
.button.secondary, .icon-button { background-color: #f4f4f4; }
.button.secondary:hover, .icon-button:hover { background-color: #e9e9e9; }
select, select option { color: #171717; background-color: #ffffff; }
input::placeholder, textarea::placeholder { color: #626262; }

.product-badges span, .category-card, .social-tile span, .limited-drop {
    color: #ffffff;
}
.limited-drop { --text: #ffffff; --muted: #eeeeee; }
.category-card:focus-visible, .limited-drop :focus-visible { outline-color: #ffffff; }

.home-split-panel, .home-newsletter, .product-card { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); }
.drawer-upsells button, .mobile-sticky-add, .toast {
    background: #ffffff;
    color: #171717;
}
.privacy-choice {
    color: #171717;
    background: #ffffff;
    border-color: #bdbdbd;
    box-shadow: var(--shadow);
}
.mobile-menu-head .icon-button { color: #171717; background: #f4f4f4; }
.card-actions .quick-add-button, .card-actions .icon-button {
    color: #171717;
    background: #f4f4f4;
    border-color: var(--line);
}
.card-actions .icon-button.active { color: #d7193f; border-color: #d7193f; }
.redesigned-home .home-product-rail .product-card,
.product-card:hover, .home-split-panel { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
.mobile-toggle, .mobile-bag { box-shadow: none; }

/* Storefront relaunch: shared sizing and page templates, excluded from admin. */
:root { --radius: 8px; --gutter: 24px; --nav-height: 104px; }
body { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; }
main { padding-top: 0; }
body * { letter-spacing: 0; }
.container { width: min(100% - 48px, 1280px); }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
input, select, textarea { font: inherit; min-height: 44px; border-radius: 6px; }
.button, .icon-button { border-radius: 6px; box-shadow: none; }
.button { min-height: 48px; font-size: 14px; padding: 12px 20px; }
.icon-button { width: 44px; height: 44px; min-width: 44px; }
.site-header, .site-header.scrolled { height: 104px; background: #fff; backdrop-filter: none; border-bottom: 1px solid #ddd; }
.sale-ticker { height: 28px; background: #171717; color: #fff; font-size: 11px; }
.nav, .redesigned-home .nav { width: min(100% - 32px, 1440px); height: 76px; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.nav-left > .icon-button, .nav-left > .nav-link:nth-of-type(4) { display: none; }
.nav-link { padding: 0 8px; border-radius: 0; font-size: 13px; text-transform: none; }
.nav-right { gap: 6px; }
.nav-right .icon-button { background: transparent; border: 0; }
.currency-chip { font-size: 12px; padding: 8px; }
.mobile-currency { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.mobile-currency select { width: 100px; }
.page-hero, .shop-page .page-hero, .categories-page .page-hero { min-height: 0; padding: 136px 0 28px; background: none; border: 0; color: #171717; }
.page-hero::before, .categories-page .page-hero::before { display: none; }
.page-hero h1, .shop-page .page-hero h1, .categories-page .page-hero h1 { font-size: 36px; color: #171717; margin: 0 0 12px; }
.page-hero p, .shop-page .page-hero p { font-size: 16px; color: #626262; max-width: 600px; }
.eyebrow { font-size: 12px; }
.store-intro { position: relative; margin-top: 104px; height: 340px; isolation: isolate; overflow: hidden; }
.store-intro > img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.store-intro::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0,0,0,.56), transparent 75%); }
.store-intro-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; z-index: 1; color: white; }
.store-intro-copy h1 { font-size: 56px; margin: 0; }
.store-intro-copy p { font-size: 20px; margin: 8px 0 20px; }
.store-intro-copy .button { background: white; color: #171717; border-color: white; }
.category-shortcuts { display: flex; gap: 28px; padding: 20px 0; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid #ddd; }
.category-shortcuts a { font-size: 14px; font-weight: 700; padding: 8px 0; }
.category-shortcuts { scrollbar-width: none; }
.category-shortcuts::-webkit-scrollbar { display: none; }
[data-reveal] { opacity: 1; transform: none; transition: none; }
.redesigned-home .home-section, .redesigned-home #trending, .redesigned-home #categories { padding: 32px 0; margin: 0 auto; }
.redesigned-home .section-head { margin-bottom: 20px; align-items: center; }
.redesigned-home .section-head h2, .home-split-panel h2, .home-newsletter h2 { font-size: 28px; margin: 0; }
.redesigned-home .section-head a { font-size: 13px; }
.redesigned-home .home-product-rail { grid-auto-columns: 252px; gap: 20px; margin: 0; padding: 0 0 8px; }
.product-card, .premium-product-grid .product-card, .redesigned-home .home-product-rail .product-card { border: 0; border-radius: 0; box-shadow: none; background: #fff; transform: none; height: auto; }
.product-image, .redesigned-home .home-product-rail .product-image { aspect-ratio: 1; border-radius: 6px; background: #f4f4f4; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-info, .premium-product-grid .product-info, .redesigned-home .home-product-rail .product-info { padding: 12px 0 0; min-height: 0; display: flex; flex-direction: column; }
.product-info h3, .redesigned-home .home-product-rail .product-info h3 { font-size: 15px; margin: 5px 0 8px; min-height: 2.3em; line-height: 1.2; }
.product-info > p, .product-meta span + span, .product-info .option-row { display: none; }
.product-meta, .redesigned-home .home-product-rail .product-meta { font-size: 12px; color: #626262; }
.price-row, .redesigned-home .home-product-rail .price-row { justify-content: flex-start; gap: 10px; margin: 0; }
.price-row strong, .redesigned-home .home-product-rail .price-row strong { font-size: 16px; }
.product-card .price-row s { color: #626262; font-size: 13px; }
.card-actions, .redesigned-home .home-product-rail .card-actions { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; margin-top: 12px; }
.card-actions .button, .card-actions .icon-button, .redesigned-home .home-product-rail .card-actions .button, .redesigned-home .home-product-rail .card-actions .icon-button { height: 44px; min-height: 44px; border-radius: 6px; font-size: 12px; padding: 0; }
.card-actions .quick-view-button { display: none; }
.product-badges span { border-radius: 3px; font-size: 10px; }
.product-badges span:not(:first-child) { display: none; }
.cinematic-category-grid .category-card, .category-card { border-radius: 6px; box-shadow: none; }
.home-split-panel, .home-newsletter { border: 0; border-radius: 0; box-shadow: none; background: #f4f4f4; padding: 28px; }
.arrival-card, .carousel-card { border-radius: 6px; box-shadow: none; }
.shop-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
.filters { position: static; padding: 0; border: 0; background: none; box-shadow: none; }
.filters summary { cursor: pointer; font-size: 16px; font-weight: 700; padding: 12px 0; }
.filter-buttons { display: grid; gap: 16px; }
.filter-buttons label { font-size: 13px; }
.shop-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; }
.shop-content .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.product-layout { padding: 136px 0 40px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.purchase-panel { border: 0; border-radius: 0; padding: 0; box-shadow: none; position: static; }
.purchase-panel h1 { font-size: 30px; line-height: 1.15; }
.purchase-panel > p { font-size: 15px; }
.gallery-main { border: 0; border-radius: 6px; }
.gallery-main img { aspect-ratio: 1; object-fit: contain; background: #f4f4f4; }
.gallery-thumbs { grid-template-columns: repeat(auto-fill, 76px); }
.gallery-thumbs button { border-radius: 4px; }
.product-image-dialog { width: min(95vw, 1000px); max-height: 95dvh; border: 0; border-radius: 6px; padding: 16px; background: white; }
.product-image-dialog::backdrop { background: rgba(0,0,0,.7); }
.product-image-dialog form { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.product-image-dialog img { width: 100%; height: auto; max-height: 78dvh; object-fit: contain; }
[data-image-zoom] { margin-top: 10px; }
.price-large { margin: 14px 0; }
.price-large strong { font-size: 28px; }
.product-facts { font-size: 14px; }
.setup-bundle-card { margin-top: 24px; border-radius: 6px; box-shadow: none; }
.product-offer-strip { background: #f4f4f4; color: #171717; border: 0; border-radius: 4px; }
.summary-card, .contact-form, .contact-card { box-shadow: none; border-radius: 6px; }
.cart-line { border: 0; border-bottom: 1px solid #ddd; border-radius: 0; padding: 16px 0; }
.cart-layout { gap: 32px; padding-bottom: 48px; }
.cart-reward-card { background: #f4f4f4; padding: 12px; border-radius: 4px; }
.account-layout { padding-bottom: 48px; }
.site-footer { margin-top: 40px; padding: 36px 0; border-top: 1px solid #ddd; background: #f7f7f7; }
.footer-grid { gap: 28px; }
.site-footer a, .site-footer p { font-size: 14px; }
.mobile-sticky-add { border-top: 1px solid #ddd; box-shadow: none; }
@media (max-width: 980px) {
    .nav-left { display: none; }
    .mobile-toggle { display: inline-flex; }
    .nav { grid-template-columns: 44px 1fr auto; }
    .logo { justify-self: center; }
    .nav .logo { position: static; grid-column: 2; transform: none; max-width: 100%; width: auto; overflow: visible; font-size: 24px; white-space: nowrap; }
    .nav .mobile-toggle { grid-column: 1; grid-row: 1; }
    .nav .mobile-bag { grid-column: 3; grid-row: 1; justify-self: end; }
    .shop-content .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 32px); }
    .nav-right { display: none; }
    .mobile-bag { display: inline-flex; }
    .store-intro { height: 260px; }
    .store-intro-copy h1 { font-size: 40px; }
    .store-intro-copy p { font-size: 18px; }
    .category-shortcuts { gap: 24px; padding: 12px 0; }
    .page-hero, .shop-page .page-hero, .categories-page .page-hero { padding: 128px 0 20px; }
    .page-hero h1, .shop-page .page-hero h1, .categories-page .page-hero h1 { font-size: 28px; }
    .redesigned-home .home-section, .redesigned-home #trending, .redesigned-home #categories,
    .in-app-browser .redesigned-home #trending, .in-app-browser .redesigned-home #categories { padding: 24px 0 !important; margin: 0 !important; }
    .redesigned-home .section-head h2, .home-split-panel h2, .home-newsletter h2 { font-size: 24px; }
    .redesigned-home .home-section, .redesigned-home #trending, .redesigned-home #categories { margin-inline: auto !important; }
    .redesigned-home .section-head { display: flex; flex-direction: row; text-align: left; gap: 12px; }
    .redesigned-home .section-head a { font-size: 11px; }
    .redesigned-home .home-product-rail { grid-auto-columns: minmax(200px, 64%); gap: 14px; padding: 0 0 4px; margin: 0; }
    .shop-shell { display: block; }
    .filters { border-bottom: 1px solid #ddd; margin-bottom: 16px; }
    .filters[open] { padding-bottom: 16px; }
    .filter-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .shop-toolbar { grid-template-columns: minmax(0, 1fr); }
    .shop-content .product-grid { gap: 24px 12px; }
    .shop-content .card-actions { grid-template-columns: 44px minmax(0, 1fr); }
    .shop-content .card-actions .buy-now-button { display: none; }
    .shop-content .card-actions .icon-button { justify-self: end; }
    .product-layout { display: block; padding: 120px 0 24px; }
    .purchase-panel { margin-top: 24px; }
    .purchase-panel h1 { font-size: 26px; }
    .cart-layout, .account-layout { grid-template-columns: minmax(0, 1fr); }
    .cart-line { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
    .cart-line img { width: 72px; }
    .cart-line > .quantity { grid-column: 2; }
    .cart-line > b { grid-column: 2; }
    .summary-card { padding: 16px; }
    .home-newsletter { display: grid; gap: 20px; padding: 24px 16px; }
    .home-newsletter form { display: flex; flex-wrap: wrap; gap: 8px; }
    .home-newsletter input { min-width: 0; flex: 1 1 160px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-card s, .product-card del { color: #626262; }
@media (prefers-reduced-motion: reduce) {
    .sale-ticker-track { animation: none; }
    html { scroll-behavior: auto; }
}
