/* Touba storefront theme system and mobile-first shopping surfaces. */
:root {
  color-scheme: dark light;
  --touba-nav-height: 64px;
}

/* The storefront chooses one complete palette and persists it through localStorage. */
body.storefront-mode[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f2e9;
  --ink-secondary: #c2cbbf;
  --ink-muted: #96a294;
  --green-dark: #d2dfb2;
  --green-deep: #e8eedc;
  --green-card: #19241c;
  --green-emerald: #a9bf79;
  --green-emerald-hover: #bfd28e;
  --green-emerald-light: #cfdda9;
  --green-tint: rgba(169, 191, 121, .12);
  --gold-primary: #d3b574;
  --gold-light: #e6cb8e;
  --gold-tint: rgba(211, 181, 116, .14);
  --cream: #0d120e;
  --paper: #151c17;
  --paper-elevated: #1b241d;
  --line: #2b382e;
  --line-dark: rgba(236, 241, 226, .12);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, .18);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, .20);
  --shadow-hover: 0 20px 42px rgba(0, 0, 0, .30);
  --shadow-floating: 0 28px 72px rgba(0, 0, 0, .48);
  --touba-bg: #0d120e;
  --touba-surface: #151c17;
  --touba-surface-raised: #1b241d;
  --touba-surface-soft: #202a22;
  --touba-text: #f2f2e9;
  --touba-muted: #b1bbae;
  --touba-subtle: #89958b;
  --touba-border: rgba(218, 228, 207, .13);
  --touba-brand: #a9bf79;
  --touba-brand-strong: #8ca65b;
  --touba-gold: #d3b574;
}

body.storefront-mode[data-theme="light"] {
  color-scheme: light;
  --ink: #253329;
  --ink-secondary: #59695e;
  --ink-muted: #7d8b80;
  --green-dark: #2e4331;
  --green-deep: #26382a;
  --green-card: #ecf0e7;
  --green-emerald: #5e743f;
  --green-emerald-hover: #506638;
  --green-emerald-light: #718b50;
  --green-tint: rgba(114, 138, 76, .10);
  --gold-primary: #aa824a;
  --gold-light: #bd995d;
  --gold-tint: rgba(170, 130, 74, .11);
  --cream: #f6f6f0;
  --paper: #fffefa;
  --paper-elevated: #f7f7f1;
  --line: #e3e7dd;
  --line-dark: rgba(36, 52, 39, .13);
  --shadow-subtle: 0 1px 3px rgba(34, 47, 36, .05);
  --shadow-card: 0 12px 28px rgba(40, 55, 41, .07);
  --shadow-hover: 0 22px 42px rgba(40, 55, 41, .13);
  --shadow-floating: 0 26px 60px rgba(34, 47, 36, .18);
  --touba-bg: #f6f6f0;
  --touba-surface: #fffefa;
  --touba-surface-raised: #ffffff;
  --touba-surface-soft: #f0f1e9;
  --touba-text: #253329;
  --touba-muted: #59695e;
  --touba-subtle: #7d8b80;
  --touba-border: rgba(38, 56, 42, .12);
  --touba-brand: #5e743f;
  --touba-brand-strong: #506638;
  --touba-gold: #aa824a;
}

body.storefront-mode {
  background: var(--touba-bg);
  color: var(--touba-text);
  transition: background-color .28s ease, color .28s ease;
}
body.storefront-mode #app,
body.storefront-mode main,
body.storefront-mode .page {
  color: var(--touba-text);
}
body.storefront-mode .page {
  min-height: 58vh;
}
body.storefront-mode a:not(.btn):not(.lux-pill-btn):not(.mobile-sticky-checkout-btn) {
  color: inherit;
}
body.storefront-mode :focus-visible {
  outline: 3px solid var(--touba-brand);
  outline-offset: 3px;
}
body.storefront-mode button,
body.storefront-mode a,
body.storefront-mode input,
body.storefront-mode select,
body.storefront-mode textarea,
body.storefront-mode .panel,
body.storefront-mode .lux-product-card,
body.storefront-mode .modal {
  transition-property: color, background-color, border-color, box-shadow, transform, opacity;
  transition-duration: .22s;
  transition-timing-function: ease;
}

/* Shared storefront surfaces: inner pages, forms, cards, and dialogs. */
body.storefront-mode .panel,
body.storefront-mode .filter-panel,
body.storefront-mode .cart-summary,
body.storefront-mode .auth-card,
body.storefront-mode .checkout-panel,
body.storefront-mode .checkout-summary,
body.storefront-mode .content-panel-modern,
body.storefront-mode .tracking-card-modern,
body.storefront-mode .cart-items-panel,
body.storefront-mode .compact-summary-panel,
body.storefront-mode .empty-cart-box,
body.storefront-mode .cart-row,
body.storefront-mode .compact-cart-row,
body.storefront-mode .shop-sort-sheet,
body.storefront-mode .modal {
  background: var(--touba-surface) !important;
  color: var(--touba-text) !important;
  border-color: var(--touba-border) !important;
  box-shadow: var(--shadow-card);
}
body.storefront-mode .page-title,
body.storefront-mode .product-detail h1,
body.storefront-mode .detail-price,
body.storefront-mode .content-panel-modern h1,
body.storefront-mode .panel h1,
body.storefront-mode .panel h2,
body.storefront-mode .panel h3,
body.storefront-mode .auth-card h1,
body.storefront-mode .auth-card h2,
body.storefront-mode .filter-panel h3,
body.storefront-mode .summary-heading {
  color: var(--touba-text) !important;
}
body.storefront-mode .breadcrumb,
body.storefront-mode .muted,
body.storefront-mode .tracking-desc,
body.storefront-mode .content-body-modern p,
body.storefront-mode .product-detail > p,
body.storefront-mode .section > p,
body.storefront-mode .checkout-trust-features,
body.storefront-mode .summary-line,
body.storefront-mode .cart-items-header,
body.storefront-mode .cart-items-counter,
body.storefront-mode .compact-cart-variant,
body.storefront-mode .compact-cart-unit-price {
  color: var(--touba-muted) !important;
}
body.storefront-mode .text-link,
body.storefront-mode .product-view-link,
body.storefront-mode .cart-items-header a,
body.storefront-mode .breadcrumb a {
  color: var(--touba-brand) !important;
}
body.storefront-mode .field label,
body.storefront-mode .filter-group b,
body.storefront-mode .filter-group label,
body.storefront-mode .checkout-info-col,
body.storefront-mode .shipping-option,
body.storefront-mode .payment-method-card,
body.storefront-mode .summary-line b,
body.storefront-mode .product-detail,
body.storefront-mode .product-detail b,
body.storefront-mode .detail-row,
body.storefront-mode .feature-list,
body.storefront-mode .spec-grid,
body.storefront-mode .contact-form-modern h3 {
  color: var(--touba-text) !important;
}
body.storefront-mode .field input,
body.storefront-mode .field select,
body.storefront-mode .field textarea,
body.storefront-mode .filter-search,
body.storefront-mode input[type="number"],
body.storefront-mode .shop-toolbar select,
body.storefront-mode .select,
body.storefront-mode .compact-coupon-input {
  background: var(--touba-surface-raised) !important;
  color: var(--touba-text) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode input::placeholder,
body.storefront-mode textarea::placeholder {
  color: var(--touba-subtle);
  opacity: .9;
}
body.storefront-mode .field input:focus,
body.storefront-mode .field select:focus,
body.storefront-mode .field textarea:focus,
body.storefront-mode .filter-search:focus {
  border-color: var(--touba-brand) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--touba-brand) 20%, transparent) !important;
}
body.storefront-mode .filter-group,
body.storefront-mode .detail-row,
body.storefront-mode .contact-form-modern,
body.storefront-mode .modal-head,
body.storefront-mode .summary-line,
body.storefront-mode .compact-cart-ctrls {
  border-color: var(--touba-border) !important;
}
body.storefront-mode .gallery-main,
body.storefront-mode .thumbs button,
body.storefront-mode .compact-cart-thumb,
body.storefront-mode .cart-thumb {
  background: var(--touba-surface-soft) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode .payment-method-card,
body.storefront-mode .shipping-option,
body.storefront-mode .spec-grid > div,
body.storefront-mode .review-card,
body.storefront-mode .checkout-trust-features {
  background: var(--touba-surface-soft) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode .tabs,
body.storefront-mode .tab,
body.storefront-mode .pill,
body.storefront-mode .action,
body.storefront-mode .filter-pills span,
body.storefront-mode .size-pill-label span,
body.storefront-mode .color-pill-label span {
  color: var(--touba-text);
}
body.storefront-mode .tab:not(.active),
body.storefront-mode .pill:not(.selected),
body.storefront-mode .action:not(.danger),
body.storefront-mode .size-pill-label span,
body.storefront-mode .color-pill-label span {
  background: var(--touba-surface-soft) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode .notice,
body.storefront-mode .error-notice {
  background: color-mix(in srgb, var(--touba-brand) 13%, var(--touba-surface)) !important;
  color: var(--touba-text) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode .modal-head h2 {
  color: var(--touba-text) !important;
}
body.storefront-mode .modal-head .close {
  color: var(--touba-text) !important;
  background: var(--touba-surface-soft) !important;
}
body.storefront-mode .modal-back {
  background: rgba(5, 10, 7, .68);
}
body.storefront-mode[data-theme="light"] .modal-back {
  background: rgba(30, 42, 32, .42);
}
body.storefront-mode .product-detail h1,
body.storefront-mode .detail-price strong {
  color: var(--touba-text) !important;
}
body.storefront-mode .stock-indicator,
body.storefront-mode .product-rating small {
  color: var(--touba-muted);
}
body.storefront-mode .filter-group:last-child {
  border-bottom-color: transparent !important;
}
body.storefront-mode .mobile-cart-sticky-bar,
body.storefront-mode .mobile-product-bar {
  background: color-mix(in srgb, var(--touba-surface) 93%, transparent) !important;
  border-color: var(--touba-border) !important;
  color: var(--touba-text) !important;
  backdrop-filter: blur(18px);
}
body.storefront-mode .mobile-sticky-label,
body.storefront-mode .mobile-product-bar small {
  color: var(--touba-subtle) !important;
}
body.storefront-mode .mobile-sticky-price,
body.storefront-mode .mobile-product-bar b {
  color: var(--touba-brand) !important;
}

/* Sticky editorial header: restrained in both modes, high-contrast interactive states. */
body.storefront-mode .store-header-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--touba-bg) 88%, transparent) !important;
  border-bottom: 1px solid var(--touba-border) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
body.storefront-mode .store-header {
  background: color-mix(in srgb, var(--touba-bg) 88%, transparent) !important;
  border-bottom-color: var(--touba-border) !important;
}
body.storefront-mode .store-brand,
body.storefront-mode .store-nav > a,
body.storefront-mode .nav-categories > a,
body.storefront-mode .header-action,
body.storefront-mode .mobile-menu-toggle,
body.storefront-mode .search-submit-btn {
  color: var(--touba-text) !important;
}
body.storefront-mode .store-nav > a:hover,
body.storefront-mode .store-nav > a.active,
body.storefront-mode .nav-categories > a:hover,
body.storefront-mode .nav-categories > a.active {
  color: var(--touba-brand) !important;
}
body.storefront-mode .store-nav > a:after,
body.storefront-mode .nav-categories > a:after {
  background: var(--touba-brand) !important;
}
body.storefront-mode .nav-dropdown,
body.storefront-mode .store-nav.nav-open {
  background: var(--touba-surface) !important;
  color: var(--touba-text) !important;
  border-color: var(--touba-border) !important;
  box-shadow: var(--shadow-floating) !important;
}
body.storefront-mode .nav-dropdown a {
  color: var(--touba-text) !important;
}
body.storefront-mode .nav-dropdown a:hover {
  background: var(--touba-surface-soft) !important;
  color: var(--touba-brand) !important;
}
body.storefront-mode .store-search {
  border: 1px solid var(--touba-border) !important;
  border-radius: 999px;
  background: var(--touba-surface) !important;
}
body.storefront-mode .store-search input {
  color: var(--touba-text) !important;
}
body.storefront-mode .store-search input::placeholder {
  color: var(--touba-subtle) !important;
}
body.storefront-mode .store-search.search-open {
  background: var(--touba-surface) !important;
  border-color: var(--touba-brand) !important;
}
body.storefront-mode .header-action:hover,
body.storefront-mode .theme-toggle:hover,
body.storefront-mode .mobile-menu-toggle:hover {
  color: var(--touba-brand) !important;
  background: var(--touba-surface-soft) !important;
}
body.storefront-mode .mobile-nav-backdrop {
  background: rgba(5, 10, 7, .55) !important;
}
body.storefront-mode[data-theme="light"] .mobile-nav-backdrop {
  background: rgba(32, 47, 35, .28) !important;
}
body.storefront-mode .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--touba-border);
  border-radius: 999px;
  background: var(--touba-surface-soft);
  color: var(--touba-text);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
body.storefront-mode .theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
@media (min-width: 1281px) {
  body.storefront-mode .mobile-theme-row {
    display: none;
  }
}

/* Hero photo is shared; copy stays clear of the product on the right. */
body.storefront-mode .lux-hero-content {
  direction: ltr;
  justify-content: flex-start;
}
body.storefront-mode .lux-editorial-box {
  direction: rtl;
  text-align: right;
}
body.storefront-mode .lux-editorial-title {
  max-width: 10.5em;
}
body.storefront-mode[data-theme="dark"] .lux-editorial-box {
  background: linear-gradient(135deg, rgba(13, 20, 14, .83), rgba(13, 20, 14, .30)) !important;
  border-color: rgba(236, 242, 224, .16) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22) !important;
}
body.storefront-mode[data-theme="light"] .lux-hero-image {
  filter: brightness(1.13) saturate(.78) contrast(.96) !important;
}
body.storefront-mode[data-theme="light"] .lux-hero-shade {
  background:
    linear-gradient(90deg, rgba(248, 248, 241, .98) 0%, rgba(248, 248, 241, .87) 28%, rgba(248, 248, 241, .35) 51%, rgba(248, 248, 241, 0) 73%),
    linear-gradient(180deg, rgba(250, 249, 242, .16), rgba(245, 246, 237, .25)) !important;
}
body.storefront-mode[data-theme="light"] .lux-editorial-box {
  background: linear-gradient(135deg, rgba(255, 254, 249, .95), rgba(255, 254, 249, .75)) !important;
  border: 1px solid rgba(69, 87, 55, .16) !important;
  box-shadow: 0 22px 55px rgba(54, 67, 43, .12) !important;
  backdrop-filter: blur(16px) saturate(115%);
}
body.storefront-mode[data-theme="light"] .lux-editorial-title,
body.storefront-mode[data-theme="light"] .lux-hero h1 {
  color: #293a2d !important;
  text-shadow: none !important;
}
body.storefront-mode[data-theme="light"] .lux-editorial-subtitle,
body.storefront-mode[data-theme="light"] .lux-editorial-box > p {
  color: #56655a !important;
}
body.storefront-mode[data-theme="light"] .lux-editorial-kicker,
body.storefront-mode[data-theme="light"] .lux-feat-item {
  color: #617548 !important;
}
body.storefront-mode[data-theme="light"] .lux-pill-outline,
body.storefront-mode[data-theme="light"] .lux-auth-mini {
  color: #334837 !important;
  border-color: rgba(64, 83, 54, .30) !important;
}
body.storefront-mode .lux-pill-gold {
  background: var(--touba-brand) !important;
  color: #11170f !important;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--touba-brand) 26%, transparent) !important;
}
body.storefront-mode[data-theme="light"] .lux-pill-gold {
  color: #fffef7 !important;
}

/* Sections, product cards, category tiles and footer. */
body.storefront-mode .trust-section.lux-cream-trust {
  background: var(--touba-surface) !important;
  border-bottom: 1px solid var(--touba-border);
}
body.storefront-mode .lux-cream-trust-item,
body.storefront-mode .lux-cream-trust-item b,
body.storefront-mode .lux-cream-trust-item span {
  color: var(--touba-text) !important;
}
body.storefront-mode .lux-cream-trust-item svg {
  color: var(--touba-brand) !important;
}
body.storefront-mode .category-section,
body.storefront-mode .products-section,
body.storefront-mode .about-section,
body.storefront-mode .reviews-section,
body.storefront-mode .newsletter-section {
  color: var(--touba-text);
}
body.storefront-mode .section-heading h2,
body.storefront-mode .about-copy h2,
body.storefront-mode .section-heading p,
body.storefront-mode .about-copy > p {
  color: var(--touba-text) !important;
}
body.storefront-mode .section-eyebrow,
body.storefront-mode .about-signature span {
  color: var(--touba-brand) !important;
}
body.storefront-mode .lux-product-card {
  background: var(--touba-surface) !important;
  border: 1px solid var(--touba-border) !important;
  box-shadow: var(--shadow-subtle);
}
body.storefront-mode .lux-product-card:hover {
  background: var(--touba-surface-raised) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: color-mix(in srgb, var(--touba-brand) 48%, var(--touba-border)) !important;
}
body.storefront-mode .lux-product-info,
body.storefront-mode .lux-product-name,
body.storefront-mode .lux-price-row strong,
body.storefront-mode .product-category,
body.storefront-mode .stock-indicator {
  color: var(--touba-text) !important;
}
body.storefront-mode .lux-product-name:hover,
body.storefront-mode .product-view-link:hover {
  color: var(--touba-brand) !important;
}
body.storefront-mode .lux-product-image {
  background: var(--touba-surface-soft) !important;
}
body.storefront-mode .lux-product-image img,
body.storefront-mode .compact-cart-thumb img,
body.storefront-mode .cart-thumb img {
  background: linear-gradient(100deg, var(--touba-surface-soft) 20%, color-mix(in srgb, var(--touba-surface) 55%, white) 38%, var(--touba-surface-soft) 58%);
  background-size: 220% 100%;
  animation: touba-image-skeleton 1.35s linear infinite;
}
body.storefront-mode .lux-product-image img.image-loaded,
body.storefront-mode .compact-cart-thumb img.image-loaded,
body.storefront-mode .cart-thumb img.image-loaded {
  animation: none;
}
@keyframes touba-image-skeleton {
  to { background-position-x: -220%; }
}
body.storefront-mode .favorite-button {
  background: color-mix(in srgb, var(--touba-surface) 90%, transparent) !important;
  color: var(--touba-text) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode .favorite-button.is-favorite {
  color: #dc6f6b !important;
}
body.storefront-mode .lux-category-card {
  border: 1px solid var(--touba-border) !important;
}
body.storefront-mode .collection-banner,
body.storefront-mode .newsletter-card {
  border-color: var(--touba-border) !important;
}
body.storefront-mode .why-section {
  background: var(--touba-surface) !important;
  color: var(--touba-text) !important;
}
body.storefront-mode .why-card {
  background: var(--touba-surface-raised) !important;
  border-color: var(--touba-border) !important;
  color: var(--touba-text) !important;
}
body.storefront-mode .why-card h3,
body.storefront-mode .why-card p,
body.storefront-mode .light-heading h2,
body.storefront-mode .light-heading p {
  color: var(--touba-text) !important;
}
body.storefront-mode .about-photo-wrap,
body.storefront-mode .collection-visual {
  background: var(--touba-surface-soft) !important;
}
body.storefront-mode .store-footer {
  background: #0a100c !important;
  color: #e7eadf !important;
  border-top-color: rgba(232, 238, 222, .12) !important;
}
body.storefront-mode[data-theme="light"] .store-footer {
  background: #24342a !important;
}
body.storefront-mode .store-footer h3,
body.storefront-mode .store-footer .store-brand {
  color: #f1f3e9 !important;
}
body.storefront-mode .store-footer p,
body.storefront-mode .store-footer a:not(.store-brand),
body.storefront-mode .footer-bottom {
  color: #c2cbbf !important;
}
body.storefront-mode .store-footer a:hover {
  color: var(--touba-brand) !important;
}

/* Product, search and listing utilities. */
body.storefront-mode .shop-hero-bar {
  background: linear-gradient(135deg, var(--touba-surface-raised), var(--touba-surface)) !important;
  border-color: var(--touba-border) !important;
  color: var(--touba-text) !important;
}
body.storefront-mode .shop-hero-bar h1,
body.storefront-mode .shop-hero-sub,
body.storefront-mode .shop-toolbar,
body.storefront-mode .shop-result-count {
  color: var(--touba-text) !important;
}
body.storefront-mode .shop-badge {
  background: var(--touba-surface-soft) !important;
  color: var(--touba-muted) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode .product-discount {
  background: var(--touba-gold) !important;
  color: #1a1c14 !important;
}
body.storefront-mode .mobile-product-bar .btn,
body.storefront-mode .btn:not(.outline):not(.dark):not(.danger),
body.storefront-mode .mobile-sticky-checkout-btn {
  background: var(--touba-brand) !important;
  color: #172016 !important;
  border-color: transparent !important;
}
body.storefront-mode[data-theme="light"] .mobile-product-bar .btn,
body.storefront-mode[data-theme="light"] .btn:not(.outline):not(.dark):not(.danger),
body.storefront-mode[data-theme="light"] .mobile-sticky-checkout-btn {
  color: #fffefa !important;
}
body.storefront-mode .btn.outline,
body.storefront-mode .btn.dark,
body.storefront-mode .action {
  border-color: var(--touba-border) !important;
}
body.storefront-mode .product-detail .notice {
  border-radius: 12px;
}
body.storefront-mode .shop-toolbar select,
body.storefront-mode .shop-toolbar select option {
  color: var(--touba-text) !important;
  background: var(--touba-surface) !important;
}
body.storefront-mode .mobile-nav-backdrop.show {
  z-index: 55;
}

/* Persistent mobile destination bar; sticky commerce actions sit just above it. */
body.storefront-mode .mobile-bottom-nav {
  display: none;
}
@media (max-width: 860px) {
  body.storefront-mode.filter-sheet-open {
    overflow: hidden;
  }
  body.storefront-mode {
    padding-bottom: calc(var(--touba-nav-height) + env(safe-area-inset-bottom));
  }
  body.storefront-mode .mobile-bottom-nav {
    position: fixed;
    z-index: 58;
    inset-inline: 0;
    bottom: 0;
    min-height: calc(var(--touba-nav-height) + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--touba-surface) 94%, transparent);
    color: var(--touba-muted);
    border-top: 1px solid var(--touba-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: transform .22s ease, visibility .22s ease;
  }
  body.storefront-mode.mobile-form-keyboard-open {
    padding-bottom: env(safe-area-inset-bottom) !important;
  }
  body.storefront-mode.mobile-form-keyboard-open .mobile-bottom-nav {
    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
  }
  body.storefront-mode .cart-items-scrollable {
    max-height: none !important;
    overflow-y: visible !important;
    overscroll-behavior: auto;
    padding-inline: 0;
  }
  body.storefront-mode .mobile-bottom-nav a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 12px;
    color: var(--touba-muted) !important;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
  }
  body.storefront-mode .mobile-bottom-nav a.active,
  body.storefront-mode .mobile-bottom-nav a:hover {
    color: var(--touba-brand) !important;
    background: color-mix(in srgb, var(--touba-brand) 10%, transparent);
  }
  body.storefront-mode .mobile-bottom-nav svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }
  body.storefront-mode.has-commerce-sticky .mobile-product-bar,
  body.storefront-mode.has-commerce-sticky .mobile-cart-sticky-bar {
    bottom: calc(var(--touba-nav-height) + env(safe-area-inset-bottom)) !important;
    z-index: 57 !important;
  }
  body.storefront-mode.has-commerce-sticky {
    padding-bottom: calc(var(--touba-nav-height) + 82px + env(safe-area-inset-bottom));
  }
  body.storefront-mode .cart-mobile-page {
    padding-bottom: 20px !important;
  }
  body.storefront-mode .mobile-product-bar {
    padding: 10px 16px !important;
  }
  body.storefront-mode .mobile-cart-sticky-bar {
    padding: 9px 14px !important;
  }
  body.storefront-mode .store-header-inner {
    min-height: 62px !important;
    gap: 8px;
  }
  body.storefront-mode .store-brand {
    gap: 7px;
    font-size: 16px;
  }
  body.storefront-mode .brand-emblem {
    width: auto;
    height: 34px;
    min-width: 0;
    padding-inline-end: 10px;
    border: 0;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  body.storefront-mode .brand-emblem img {
    height: 32px;
    max-width: 50px;
  }
  body.storefront-mode .minimal-actions {
    gap: 1px;
  }
  body.storefront-mode .minimal-actions .account-action {
    display: none !important;
  }
  body.storefront-mode .minimal-actions .theme-toggle {
    display: none;
  }
  body.storefront-mode .store-search {
    width: 38px !important;
    min-width: 38px !important;
  }
  body.storefront-mode .store-search.search-open {
    position: absolute;
    z-index: 5;
    inset-inline: 14px;
    top: 10px;
    width: auto !important;
  }
  body.storefront-mode .store-search.search-open input {
    width: calc(100% - 72px) !important;
  }
  body.storefront-mode .mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 4px 4px;
    border-top: 1px solid var(--touba-border);
  }
  body.storefront-mode .mobile-theme-row .theme-toggle {
    min-width: 112px;
  }
  body.storefront-mode .nav-mobile-secondary {
    display: block !important;
  }
  body.storefront-mode .lux-hero {
    min-height: 410px !important;
    height: auto !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
  }
  body.storefront-mode .lux-hero-image {
    object-position: 69% center !important;
  }
  body.storefront-mode .lux-hero-content {
    direction: ltr;
    min-height: 410px !important;
    height: auto !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 20px 14px !important;
  }
  body.storefront-mode .lux-editorial-box {
    width: min(78%, 430px) !important;
    max-width: min(78%, 430px) !important;
    margin: 0 !important;
    padding: 18px 15px !important;
    align-items: flex-start !important;
  }
  body.storefront-mode .lux-editorial-title {
    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.35;
  }
  body.storefront-mode .lux-editorial-subtitle {
    font-size: 12px !important;
    line-height: 1.8;
  }
  body.storefront-mode .lux-editorial-features {
    gap: 8px !important;
    flex-wrap: wrap;
  }
  body.storefront-mode .lux-feat-item {
    font-size: 10px !important;
  }
  body.storefront-mode .lux-editorial-actions {
    gap: 8px !important;
  }
  body.storefront-mode .lux-editorial-actions .lux-pill-btn {
    padding: 10px 13px !important;
    font-size: 11px !important;
  }
  body.storefront-mode .lux-auth-mini {
    display: none !important;
  }
  body.storefront-mode .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  body.storefront-mode .trust-item {
    padding: 10px 4px !important;
    gap: 7px !important;
  }
  body.storefront-mode .trust-item svg {
    width: 22px;
    height: 22px;
    flex: none;
  }
  body.storefront-mode .trust-item b {
    font-size: 11px !important;
  }
  body.storefront-mode .trust-item span {
    font-size: 9px !important;
    line-height: 1.5;
  }
  body.storefront-mode .shop-toolbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  body.storefront-mode .shop-toolbar .shop-sort-wrap {
    display: none !important;
  }
  body.storefront-mode .shop-toolbar .mobile-sort-trigger {
    display: inline-flex !important;
  }
  body.storefront-mode .shop-layout {
    display: block !important;
  }
  body.storefront-mode .shop-filter-backdrop {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: block;
    background: rgba(4, 8, 6, .58);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
  }
  body.storefront-mode .shop-filter-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
  body.storefront-mode .shop-toolbar .filter-open {
    display: inline-flex !important;
  }
  body.storefront-mode .filter-panel {
    position: fixed !important;
    z-index: 71 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px calc(24px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
    transform: translateX(100%) !important;
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.16, 1, .3, 1), visibility .28s ease !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
  }
  body.storefront-mode .filter-panel.drawer-open {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
  }
  body.storefront-mode .filter-header {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 -20px 12px;
    padding: calc(14px + env(safe-area-inset-top)) 20px 12px;
    background: var(--touba-surface);
    border-bottom: 1px solid var(--touba-border);
  }
  body.storefront-mode .filter-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    padding: 8px 12px;
  }
  body.storefront-mode .shop-filter-backdrop.show {
    z-index: 70;
  }
  body.storefront-mode .shop-layout .filter-panel.drawer-open ~ .shop-main-section {
    pointer-events: none;
  }
  body.storefront-mode .mobile-sort-trigger {
    display: none !important;
  }
  body.storefront-mode .shop-toolbar .mobile-sort-trigger {
    display: inline-flex !important;
  }
  body.storefront-mode .home-mobile-shelf {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    margin: 0 -34px;
    padding: 2px 46px 12px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.storefront-mode .home-mobile-shelf::-webkit-scrollbar {
    display: none;
  }
  body.storefront-mode .home-mobile-shelf > .lux-product-card {
    flex: 0 0 clamp(158px, 46vw, 205px);
    width: clamp(158px, 46vw, 205px);
    max-width: none;
    scroll-snap-align: center;
  }
  body.storefront-mode .home-shelf-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: none;
    width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--touba-border);
    border-radius: 50%;
    background: var(--touba-surface-raised);
    color: var(--touba-text);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
    transform: translateY(-50%);
  }
  body.storefront-mode .home-product-shelf.has-overflow .home-shelf-arrow {
    display: grid;
  }
  body.storefront-mode .home-shelf-arrow-start {
    inset-inline-start: -4px;
  }
  body.storefront-mode .home-shelf-arrow-end {
    inset-inline-end: -4px;
  }
  body.storefront-mode .home-shelf-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* Shared touch sizing for phone and small-tablet storefront controls. */
  body.storefront-mode button,
  body.storefront-mode .btn,
  body.storefront-mode .action,
  body.storefront-mode .filter-open,
  body.storefront-mode .filter-close,
  body.storefront-mode .mobile-sort-trigger {
    min-height: 44px;
  }
  body.storefront-mode .section-heading > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    flex: 0 0 auto;
  }
  body.storefront-mode .cat-arrow,
  body.storefront-mode .favorite-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  body.storefront-mode .quick-add-button {
    width: 44px;
    min-width: 44px;
  }
  body.storefront-mode .mobile-bottom-nav a {
    min-height: 48px;
  }
  body.storefront-mode .filter-checkbox-label {
    min-height: 44px;
    padding-block: 6px;
  }
  body.storefront-mode .qty button,
  body.storefront-mode .compact-qty-stepper button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
  body.storefront-mode .compact-qty-stepper {
    height: 44px;
    min-height: 44px;
  }
  body.storefront-mode .compact-qty-stepper span {
    display: grid;
    min-width: 26px;
    place-items: center;
  }
  body.storefront-mode .compact-delete-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  body.storefront-mode .mobile-sticky-checkout-btn,
  body.storefront-mode .checkout-review-edit {
    min-width: 44px;
    min-height: 44px;
  }
  body.storefront-mode .checkout-step-status,
  body.storefront-mode .checkout-step-description,
  body.storefront-mode .checkout-payment-safety,
  body.storefront-mode .checkout-trust-features,
  body.storefront-mode .payment-method-card .pm-head small {
    font-size: 12.5px !important;
    line-height: 1.8;
  }
  body.storefront-mode .checkout-review-value > span,
  body.storefront-mode .checkout-review-value small {
    font-size: 12px !important;
  }
  body.storefront-mode .checkout-review-value > b {
    font-size: 13px !important;
  }
  body.storefront-mode .field input,
  body.storefront-mode .field select,
  body.storefront-mode .field textarea,
  body.storefront-mode .auth-card .field input,
  body.storefront-mode .filter-search,
  body.storefront-mode .shop-toolbar select {
    min-height: 48px;
    font-size: 16px !important;
    scroll-margin-block: 84px;
  }
  body.storefront-mode .field textarea {
    min-height: 120px;
  }
  body.storefront-mode .store-footer .footer-trust-caption {
    font-size: 12px !important;
  }
}

@media (max-width: 520px) {
  body.storefront-mode .mobile-bottom-nav a {
    font-size: 9.5px;
  }
  body.storefront-mode .lux-hero,
  body.storefront-mode .lux-hero-content {
    min-height: 370px !important;
  }
  body.storefront-mode .lux-editorial-box {
    width: min(84%, 390px) !important;
    max-width: min(84%, 390px) !important;
    padding: 15px 13px !important;
  }
  body.storefront-mode .lux-editorial-features .lux-feat-item:nth-child(3) {
    display: none;
  }
  body.storefront-mode .lux-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.storefront-mode .shop-grid {
    gap: 10px !important;
  }
  body.storefront-mode .lux-product-card {
    border-radius: 15px !important;
  }
  body.storefront-mode .lux-product-name {
    font-size: 12px !important;
  }
  body.storefront-mode .product-card-bottom {
    gap: 4px !important;
  }
  body.storefront-mode .product-view-link {
    font-size: 10px !important;
  }
  body.storefront-mode .compact-cart-row {
    align-items: flex-start;
  }
  body.storefront-mode .cart-page-header .page-title {
    font-size: 22px !important;
  }
  body.storefront-mode .content-panel-modern {
    padding: 24px 18px !important;
  }
}

@media (max-width: 390px) {
  body.storefront-mode .store-brand {
    font-size: 14px;
  }
  body.storefront-mode .store-header-inner {
    gap: 4px;
  }
  body.storefront-mode .mobile-menu-toggle,
  body.storefront-mode .minimal-btn {
    width: 34px !important;
    min-width: 34px !important;
  }
  body.storefront-mode .lux-editorial-actions .lux-pill-btn {
    padding-inline: 10px !important;
  }
}

/* Visibly honors reduced-motion and keeps modal/sheet semantics legible. */
@media (prefers-reduced-motion: reduce) {
  body.storefront-mode *,
  body.storefront-mode *::before,
  body.storefront-mode *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Store-specific navigation and new views. */
body.storefront-mode .skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  inset-inline-start: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--touba-brand);
  color: #182016 !important;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-150%);
}
body.storefront-mode .skip-link:focus {
  transform: translateY(0);
}
body.storefront-mode .nav-mobile-secondary,
body.storefront-mode .mobile-sort-trigger {
  display: none !important;
}
body.storefront-mode .shop-filter-backdrop {
  display: none;
}
body.storefront-mode .wishlist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
body.storefront-mode .wishlist-heading .page-title {
  margin: 0 0 4px;
}
body.storefront-mode .wishlist-heading p,
body.storefront-mode .wishlist-empty p {
  margin: 0;
  color: var(--touba-muted);
}
body.storefront-mode .wishlist-grid {
  margin-bottom: 32px;
}
body.storefront-mode .wishlist-empty {
  max-width: 620px;
  margin: 32px auto 64px;
  padding: 48px 24px;
  text-align: center;
}
body.storefront-mode .wishlist-empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 22px;
  background: color-mix(in srgb, var(--touba-brand) 13%, var(--touba-surface));
  color: var(--touba-brand);
}
body.storefront-mode .wishlist-empty-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
body.storefront-mode .wishlist-empty h2 {
  margin: 0 0 8px;
}
body.storefront-mode .wishlist-empty .btn {
  display: inline-flex;
  margin-top: 18px;
}
body.storefront-mode .size-guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 2px;
  color: var(--touba-muted);
  font-size: 12px;
}
body.storefront-mode .size-guide-link {
  padding: 5px 0;
  background: none;
  color: var(--touba-brand);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.storefront-mode .size-guide-content p,
body.storefront-mode .size-guide-content small {
  color: var(--touba-muted);
  line-height: 1.9;
}
body.storefront-mode .size-guide-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid var(--touba-border);
  border-radius: 13px;
}
body.storefront-mode .size-guide-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--touba-text);
  font-size: 12px;
  text-align: right;
}
body.storefront-mode .size-guide-table th,
body.storefront-mode .size-guide-table td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--touba-border);
  white-space: nowrap;
}
body.storefront-mode .size-guide-table th {
  background: var(--touba-surface-soft);
  color: var(--touba-brand);
}
body.storefront-mode .size-guide-table tr:last-child td {
  border-bottom: 0;
}
body.storefront-mode .shop-sort-options {
  display: grid;
  gap: 7px;
}
body.storefront-mode .shop-sort-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--touba-border);
  border-radius: 12px;
  color: var(--touba-text);
  cursor: pointer;
}
body.storefront-mode .shop-sort-options input {
  accent-color: var(--touba-brand);
}
body.storefront-mode .mobile-bottom-nav .active svg {
  stroke-width: 2.3;
}
body.storefront-mode .lux-cream-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.storefront-mode .trust-item {
  min-width: 0;
}
body.storefront-mode .trust-item > div {
  min-width: 0;
}
body.storefront-mode .trust-item span {
  color: var(--touba-muted) !important;
}

@media (max-width: 1280px) {
  body.storefront-mode .nav-mobile-secondary {
    display: block !important;
  }
}
@media (max-width: 860px) {
  body.storefront-mode .lux-cream-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.storefront-mode .nav-mobile-secondary {
    display: block !important;
  }
  body.storefront-mode .wishlist-heading {
    align-items: flex-start;
  }
  body.storefront-mode #modal-root:has(.shop-sort-sheet) .modal-back,
  body.storefront-mode #modal-root:has(#quick-add-btn) .modal-back {
    align-items: end;
    padding: 0;
  }
  body.storefront-mode #modal-root:has(.shop-sort-sheet) .modal,
  body.storefront-mode #modal-root:has(#quick-add-btn) .modal {
    width: 100%;
    max-width: none;
    max-height: min(82dvh, 680px);
    padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    animation: touba-sheet-up .32s cubic-bezier(.16, 1, .3, 1) forwards !important;
  }
  body.storefront-mode .shop-sort-sheet > p {
    margin: 0 0 14px;
    color: var(--touba-muted);
  }
  body.storefront-mode .shop-toolbar .mobile-sort-trigger {
    display: inline-flex !important;
  }
  body.storefront-mode .shop-toolbar .filter-open,
  body.storefront-mode .shop-toolbar .mobile-sort-trigger {
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding-inline: 15px;
    border-radius: 999px;
    background: var(--touba-surface) !important;
    color: var(--touba-text) !important;
    border: 1px solid var(--touba-border) !important;
  }
  body.storefront-mode .shop-toolbar .shop-result-count {
    margin-inline-start: auto;
  }
  body.storefront-mode .lux-hero-shade {
    background: linear-gradient(90deg, rgba(5, 12, 8, .90) 0%, rgba(5, 12, 8, .68) 32%, rgba(5, 12, 8, .15) 68%, transparent 100%) !important;
  }
  body.storefront-mode[data-theme="light"] .lux-hero-shade {
    background: linear-gradient(90deg, rgba(248, 248, 241, .98) 0%, rgba(248, 248, 241, .85) 38%, rgba(248, 248, 241, .25) 72%, transparent 100%) !important;
  }
}
@media (max-width: 520px) {
  body.storefront-mode .lux-editorial-box {
    width: min(70%, 330px) !important;
    max-width: min(70%, 330px) !important;
  }
  body.storefront-mode .wishlist-heading {
    display: block;
  }
  body.storefront-mode .wishlist-heading > .btn {
    margin-top: 12px;
  }
  body.storefront-mode .size-guide-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
@keyframes touba-sheet-up {
  from { opacity: .6; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contrast tuning for controls whose legacy base styles used fixed whites. */
body.storefront-mode .store-search .search-submit-btn svg,
body.storefront-mode .header-action svg,
body.storefront-mode .mobile-menu-toggle svg {
  stroke: var(--touba-text) !important;
}
body.storefront-mode .mobile-menu-toggle {
  background: var(--touba-surface-soft) !important;
  border-color: var(--touba-border) !important;
  box-shadow: none !important;
}
body.storefront-mode .mobile-menu-toggle span {
  background: var(--touba-text) !important;
}
body.storefront-mode .store-search.search-open .search-close-btn {
  background: var(--touba-surface-soft) !important;
  color: var(--touba-text) !important;
}
body.storefront-mode .wishlist-action .count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  border: 2px solid var(--touba-surface);
  border-radius: 999px;
  background: var(--touba-brand);
  color: #172016;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
body.storefront-mode .wishlist-action .count[hidden] {
  display: none !important;
}
body.storefront-mode .reviews-section {
  background: var(--touba-surface-soft) !important;
}
body.storefront-mode .collection-content h2,
body.storefront-mode .newsletter-copy h2 {
  color: #f1f4e8 !important;
}
body.storefront-mode .collection-content p,
body.storefront-mode .newsletter-card p {
  color: #c5d0c5 !important;
}
body.storefront-mode .collection-content h2 em {
  color: var(--touba-brand) !important;
}
@media (max-width: 1280px) {
  body.storefront-mode .nav-categories .nav-dropdown {
    background: transparent !important;
    border: 0 !important;
    border-right: 1.5px solid color-mix(in srgb, var(--touba-brand) 35%, transparent) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* Editorial hero tuned to the supplied olive/stone reference: quiet copy on the left, product on the right. */
body.storefront-mode .lux-hero {
  min-height: 560px !important;
  height: auto !important;
  padding: 0 !important;
  background: var(--touba-bg) !important;
}
body.storefront-mode .lux-hero-image {
  object-position: center 44% !important;
  filter: brightness(.94) saturate(.92) contrast(1.02) !important;
}
body.storefront-mode .lux-hero-shade {
  background: linear-gradient(90deg, rgba(5, 12, 8, .72) 0%, rgba(5, 12, 8, .48) 31%, rgba(5, 12, 8, .10) 57%, rgba(5, 12, 8, 0) 74%) !important;
}
body.storefront-mode .lux-hero-content {
  min-height: 560px !important;
  height: auto !important;
  justify-content: flex-start !important;
  padding: 24px 0 !important;
}
body.storefront-mode .lux-editorial-box,
body.storefront-mode[data-theme="dark"] .lux-editorial-box,
body.storefront-mode[data-theme="light"] .lux-editorial-box {
  width: min(520px, 48%) !important;
  max-width: min(520px, 48%) !important;
  margin: 0 auto 0 0 !important;
  padding: 0 !important;
  align-items: flex-start !important;
  text-align: right !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.storefront-mode .lux-editorial-kicker,
body.storefront-mode .lux-editorial-features {
  display: none !important;
}
body.storefront-mode .lux-hero h1.lux-editorial-title,
body.storefront-mode .lux-editorial-title {
  display: block !important;
  max-width: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(38px, 4.1vw, 58px) !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  color: #f4f5ef !important;
  -webkit-text-fill-color: #f4f5ef !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24) !important;
}
body.storefront-mode .lux-editorial-title em {
  display: block !important;
  margin-top: 2px;
  font-size: 1.12em;
  font-style: normal;
  font-weight: 900;
  color: var(--touba-brand) !important;
  -webkit-text-fill-color: var(--touba-brand) !important;
}
body.storefront-mode .lux-editorial-subtitle {
  max-width: 36ch;
  margin: 0 0 22px !important;
  color: #e0e5da !important;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  line-height: 1.8 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .36) !important;
}
body.storefront-mode .lux-editorial-actions {
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap;
}
body.storefront-mode .lux-pill-btn {
  min-height: 44px !important;
  border-radius: 999px !important;
}
body.storefront-mode[data-theme="light"] .lux-hero-image {
  filter: brightness(1.09) saturate(.84) contrast(.97) !important;
}
body.storefront-mode[data-theme="light"] .lux-hero-shade {
  background: linear-gradient(90deg, rgba(247, 247, 239, .96) 0%, rgba(247, 247, 239, .86) 30%, rgba(247, 247, 239, .35) 52%, rgba(247, 247, 239, .02) 73%) !important;
}
body.storefront-mode[data-theme="light"] .lux-hero h1.lux-editorial-title,
body.storefront-mode[data-theme="light"] .lux-editorial-title {
  color: #293a2d !important;
  -webkit-text-fill-color: #293a2d !important;
  text-shadow: none !important;
}
body.storefront-mode[data-theme="light"] .lux-editorial-subtitle {
  color: #4f6053 !important;
  text-shadow: none !important;
}
body.storefront-mode .lux-cream-trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 0 !important;
}
body.storefront-mode .lux-cream-trust-item {
  min-width: 0 !important;
  padding: 16px 12px !important;
  border-left: 1px solid rgba(145, 118, 90, .22) !important;
  gap: 11px !important;
}
body.storefront-mode .lux-cream-trust-item > svg {
  flex: 0 0 30px;
  width: 30px !important;
  height: 30px !important;
  color: var(--touba-brand) !important;
  stroke: currentColor !important;
}
body.storefront-mode[data-theme="dark"] .trust-section.lux-cream-trust {
  background: linear-gradient(180deg, #1a241c 0%, #151c17 100%) !important;
  color: var(--touba-text) !important;
  border-color: var(--touba-border) !important;
}
body.storefront-mode[data-theme="dark"] .lux-cream-trust-item b {
  color: var(--touba-text) !important;
}
body.storefront-mode[data-theme="dark"] .lux-cream-trust-item span {
  color: var(--touba-muted) !important;
}
body.storefront-mode[data-theme="light"] .trust-section.lux-cream-trust {
  background: linear-gradient(180deg, #f4efe6 0%, #ece5d9 100%) !important;
}
body.storefront-mode .latest-products-section {
  padding-top: clamp(26px, 4vw, 52px);
}

@media (max-width: 1100px) {
  body.storefront-mode .lux-cream-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 860px) {
  body.storefront-mode .lux-hero,
  body.storefront-mode .lux-hero-content {
    min-height: 292px !important;
  }
  body.storefront-mode .lux-hero {
    height: auto !important;
  }
  body.storefront-mode .lux-hero-image {
    object-position: 69% center !important;
  }
  body.storefront-mode .lux-hero-shade {
    background: linear-gradient(90deg, rgba(5, 14, 9, .82) 0%, rgba(5, 14, 9, .62) 42%, rgba(5, 14, 9, .12) 73%, rgba(5, 14, 9, .02) 100%) !important;
  }
  body.storefront-mode[data-theme="light"] .lux-hero-shade {
    background: linear-gradient(90deg, rgba(247, 247, 239, .96) 0%, rgba(247, 247, 239, .84) 44%, rgba(247, 247, 239, .22) 73%, rgba(247, 247, 239, .02) 100%) !important;
  }
  body.storefront-mode .lux-hero-content {
    justify-content: flex-start !important;
    padding: 18px 14px !important;
  }
  body.storefront-mode .lux-editorial-box,
  body.storefront-mode[data-theme="dark"] .lux-editorial-box,
  body.storefront-mode[data-theme="light"] .lux-editorial-box {
    width: min(62%, 300px) !important;
    max-width: min(62%, 300px) !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
  }
  body.storefront-mode .lux-hero h1.lux-editorial-title,
  body.storefront-mode .lux-editorial-title {
    margin-bottom: 6px !important;
    font-size: clamp(22px, 5.8vw, 30px) !important;
    line-height: 1.28 !important;
  }
  body.storefront-mode .lux-editorial-title em {
    font-size: 1.08em;
  }
  body.storefront-mode .lux-editorial-subtitle {
    margin-bottom: 12px !important;
    font-size: clamp(10px, 2.8vw, 13px) !important;
    line-height: 1.55 !important;
  }
  body.storefront-mode .lux-editorial-actions {
    gap: 7px !important;
    flex-wrap: nowrap;
  }
  body.storefront-mode .lux-editorial-actions .lux-pill-btn {
    min-height: 44px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
  }
  body.storefront-mode .lux-auth-mini {
    display: none !important;
  }
  body.storefront-mode .lux-cream-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 9px 0 !important;
  }
  body.storefront-mode .lux-cream-trust-item {
    min-height: 54px;
    padding: 8px 7px !important;
    border-bottom: 1px solid var(--touba-border) !important;
    gap: 7px !important;
  }
  body.storefront-mode .lux-cream-trust-item > svg {
    flex-basis: 22px;
    width: 22px !important;
    height: 22px !important;
  }
  body.storefront-mode .lux-cream-trust-item b {
    font-size: 13px !important;
    line-height: 1.5;
  }
  body.storefront-mode .lux-cream-trust-item span {
    font-size: 12px !important;
    line-height: 1.65;
  }
  body.storefront-mode .lux-cream-trust-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 300px);
    border-left: 0 !important;
  }
}
@media (max-width: 520px) {
  body.storefront-mode .lux-hero,
  body.storefront-mode .lux-hero-content {
    min-height: 270px !important;
  }
  body.storefront-mode .lux-hero-content {
    padding: 15px 12px !important;
  }
  body.storefront-mode .lux-editorial-box,
  body.storefront-mode[data-theme="dark"] .lux-editorial-box,
  body.storefront-mode[data-theme="light"] .lux-editorial-box {
    width: min(62%, 250px) !important;
    max-width: min(62%, 250px) !important;
  }
  body.storefront-mode .lux-hero h1.lux-editorial-title,
  body.storefront-mode .lux-editorial-title {
    font-size: clamp(21px, 5.8vw, 27px) !important;
    line-height: 1.3 !important;
  }
  body.storefront-mode .lux-editorial-subtitle {
    font-size: clamp(10px, 2.65vw, 12px) !important;
  }
  body.storefront-mode .lux-cream-trust-item:last-child {
    width: min(100%, 260px);
  }
}

/* Brand emblem: keep the logo divider and fallback mark readable on the light theme */
body.storefront-mode[data-theme="light"] .brand-emblem {
  color: inherit;
  border-inline-end-color: rgba(15, 23, 17, 0.22);
}

/* ═══════ هم‌سازی مؤلفه‌ها و کنتراست: هر دو تم، دکمه‌ها و فرم‌ها ═══════
   استایل پایه (stage4.css) روشن‌محور نوشته شده؛ این بلوک همهٔ کنترل‌های ویترین را
   در دو تم روی متغیرهای مشترک می‌آورد: چیپ‌ها، پیل‌ها، شمارندهٔ تعداد، توست،
   مودال، تایم‌لاین، کارت رهگیری، حالت انتخاب رادیویی، autofill و افکت hover. */

/* چیپ وضعیت — سبز/قرمز/آبی؛ در تیره به‌جای پس‌زمینهٔ پاستلیِ سفید، تیِنت نیمه‌شفاف. */
body.storefront-mode .badge.green{background:#e3f3e6;color:#1f7a3d;border:1px solid #bfe3c8}
body.storefront-mode .badge.red{background:#fdecec;color:#b3372f;border:1px solid #f2c4bf}
body.storefront-mode .badge.info{background:#e8f0fe;color:#1a56b4;border:1px solid #c6daf5}
body.storefront-mode[data-theme="dark"] .badge{background:rgba(236,241,226,.09);color:var(--touba-muted);border-color:var(--touba-border)}
body.storefront-mode[data-theme="dark"] .badge.green{background:rgba(74,222,128,.13);color:#6fca8b;border-color:rgba(74,222,128,.28)}
body.storefront-mode[data-theme="dark"] .badge.red{background:rgba(248,113,113,.13);color:#ef9d97;border-color:rgba(248,113,113,.3)}
body.storefront-mode[data-theme="dark"] .badge.info{background:rgba(96,165,250,.14);color:#9ec3f5;border-color:rgba(96,165,250,.35)}

/* پیل سایز/رنگ و تب‌ها — حالت انتخاب با رنگ برند. */
body.storefront-mode .pill{border-color:var(--touba-border)}
body.storefront-mode .pill:hover{border-color:var(--touba-brand)}
body.storefront-mode .pill.selected{background:color-mix(in srgb,var(--touba-brand) 20%,var(--touba-surface))!important;border-color:var(--touba-brand)!important;color:var(--touba-text)!important;font-weight:700}
body.storefront-mode .tab{color:var(--touba-muted)}
body.storefront-mode .tab.active{color:var(--touba-brand)!important;border-bottom-color:var(--touba-brand)!important}

/* شمارندهٔ تعداد (سبد و صفحهٔ محصول). */
body.storefront-mode .qty{background:var(--touba-surface)!important;border-color:var(--touba-border)!important}
body.storefront-mode .qty button{background:var(--touba-surface-soft)!important;color:var(--touba-text)!important}
body.storefront-mode .qty button:hover{background:color-mix(in srgb,var(--touba-brand) 22%,var(--touba-surface-soft))!important}
body.storefront-mode .qty button:active{transform:scale(.94)}
body.storefront-mode .qty span{color:var(--touba-text)!important}

/* توست: هم‌خانوادهٔ سطحِ تم، با حاشیه و سایهٔ شناور. */
body.storefront-mode .toast{background:var(--touba-surface-raised)!important;color:var(--touba-text)!important;border:1px solid var(--touba-border)!important;box-shadow:var(--shadow-floating)!important}

/* دکمه‌های عملیات ریز (حذف/ویرایش/کد تخفیف). */
body.storefront-mode .action{background:var(--touba-surface-soft)!important;color:var(--touba-text)!important;border:1px solid var(--touba-border)!important}
body.storefront-mode .action:hover{background:color-mix(in srgb,var(--touba-brand) 16%,var(--touba-surface-soft))!important;border-color:var(--touba-brand)!important}
body.storefront-mode .action.danger{color:#c53a2d}
body.storefront-mode[data-theme="dark"] .action.danger{color:#f19189}

/* مودال: هاورِ دکمهٔ بستن. */
body.storefront-mode .modal-head .close:hover{background:color-mix(in srgb,var(--touba-brand) 18%,var(--touba-surface-soft))!important}

/* رادیو/چک‌باکس: رنگ انتخاب از برند + هایلایت گزینهٔ انتخابی در کارت‌های ارسال و پرداخت. */
body.storefront-mode input[type="radio"],
body.storefront-mode input[type="checkbox"]{accent-color:var(--touba-brand)}
body.storefront-mode .shipping-option:has(input:checked),
body.storefront-mode .payment-method-card:has(input:checked){border-color:var(--touba-brand)!important;background:color-mix(in srgb,var(--touba-brand) 10%,var(--touba-surface-soft))!important}

/* خودکارپُرکردن مرورگر در تیره: بلوک زرد پیش‌فرض کروم حذف می‌شود. */
body.storefront-mode input:-webkit-autofill,
body.storefront-mode input:-webkit-autofill:hover,
body.storefront-mode input:-webkit-autofill:focus{box-shadow:0 0 0 1000px var(--touba-surface-raised) inset!important;-webkit-text-fill-color:var(--touba-text)!important;border-radius:10px}

/* بازشوی select در تم تیره. */
body.storefront-mode[data-theme="dark"] select option{background:var(--touba-surface-raised);color:var(--touba-text)}

/* سلکت‌های رنگ/سایز داخل سبد و برچسب موجودی. */
body.storefront-mode .cart-variant-fields select{background:var(--touba-surface-raised)!important;color:var(--touba-text)!important;border:1px solid var(--touba-border)!important;border-radius:8px;padding:4px 8px}
body.storefront-mode .variant-stock-label{color:var(--touba-subtle)!important}

/* کارت رهگیری و تایم‌لاین مراحل. */
body.storefront-mode .tracking-card{background:var(--touba-surface-soft)!important;border:1px solid var(--touba-border)!important;color:var(--touba-text)!important}
body.storefront-mode .tracking-card p{color:var(--touba-muted)}
body.storefront-mode .timeline-step{color:var(--touba-subtle)!important}
body.storefront-mode .timeline-step:before{background:var(--touba-border)!important}
body.storefront-mode .timeline-step i{background:var(--touba-surface-raised)!important;color:var(--touba-subtle)!important;border:1px solid var(--touba-border)}
body.storefront-mode .timeline-step.done{color:var(--touba-brand)!important}
body.storefront-mode .timeline-step.done i{background:var(--touba-brand)!important;border-color:transparent!important;color:#10190f!important}
body.storefront-mode[data-theme="light"] .timeline-step.done i{color:#fbfdf7!important}
body.storefront-mode .timeline-step.done:before{background:var(--touba-brand)!important}

/* یادداشت خطا: تیِنت قرمز ماندگار در هر دو تم (از قاعدهٔ عمومی .notice بعدتر می‌آید). */
body.storefront-mode .notice.error-notice,
body.storefront-mode .error-notice{background:color-mix(in srgb,#e5484d 13%,var(--touba-surface))!important;color:var(--touba-text)!important;border-color:color-mix(in srgb,#e5484d 32%,var(--touba-border))!important}

/* هایلایت سبزِ آیکون نتیجهٔ پرداخت در تم تیره (پاستلِ روشن در stage3.css ثابت است). */
body.storefront-mode[data-theme="dark"] .payment-result-icon.success{background:rgba(74,222,128,.14);color:#6fca8b}
body.storefront-mode[data-theme="dark"] .payment-result-icon.failure{background:rgba(248,113,113,.14);color:#ef9d97}
body.storefront-mode[data-theme="dark"] .payment-result-icon.pending{background:rgba(252,211,77,.14);color:#e8c473}
body.storefront-mode[data-theme="dark"] .category-card:hover .category-icon{background:rgba(74,222,128,.14);color:#6fca8b}

/* حالت غیرفعال دکمه‌ها (دکمهٔ «افزودن» ناموجود/در حال ارسال). */
body.storefront-mode .btn:disabled{opacity:.55;filter:saturate(.55);cursor:not-allowed}
body.storefront-mode .btn:disabled:hover{transform:none;box-shadow:none}

/* قابِ بندانگشتیِ انتخابی گالری محصول. */
body.storefront-mode .thumbs button.selected,
body.storefront-mode .gallery-thumb.selected{outline:2px solid var(--touba-brand);outline-offset:2px}

/* حالت خالی و کادر سبد خالی. */
body.storefront-mode .empty{color:var(--touba-muted)!important}
body.storefront-mode .empty-cart-box p{color:var(--touba-muted)}

/* در تم تیره نشانِ سبز لوگو با درخشش ملایم از پس‌زمینه جدا می‌شود. */
body.storefront-mode[data-theme="dark"] .auth-touba-mark{filter:drop-shadow(0 0 18px rgba(140,173,75,.30)) brightness(1.18) saturate(1.05)}
body.storefront-mode .pf-adv-hint{color:var(--touba-subtle)}

/* نوار اسلایدهای فرم محصول در تم تیره (مودال‌های داخل ویترین). */
body.storefront-mode .img-slide{background:var(--touba-surface-raised);border-color:var(--touba-border)}
body.storefront-mode .img-slide.main{border-color:var(--touba-brand);box-shadow:0 0 0 2px rgba(140,173,75,.22)}
body.storefront-mode .img-slide figcaption{color:var(--touba-muted)}
body.storefront-mode .img-slide .img-actions{border-top-color:var(--touba-border)}
body.storefront-mode .img-slide .img-actions button{color:var(--touba-text);border-inline-start-color:var(--touba-border)}
body.storefront-mode .img-slide .img-actions button:hover{background:var(--touba-surface-soft)}
body.storefront-mode .img-slide .img-actions .rm{color:#f19189}

body.storefront-mode .pf-colors-hex{background:var(--touba-surface-soft);border-color:var(--touba-border)}
body.storefront-mode .chf{color:var(--touba-text)}
body.storefront-mode .chf-note{color:var(--touba-muted)}
body.storefront-mode .chf input[type=color]{border-color:var(--touba-border)}

/* ==========================================================================
   Home category row (v1.0.8) — ONE horizontal strip showing ONLY the
   registered categories, in the admin's own table order. No auto-carousel,
   no clones: the artwork sits on a transparent stage (no frame, no white
   matte) with the category name centered underneath; edge arrows (shown
   only when the row overflows) page through it, plus hand-swipe with snap.
   Sizes: 136/150/208px media across the phone/default/desktop tiers.
   Emoji tile only until an image is set for the category.
   ========================================================================== */
.cat-tile-row{display:flex;align-items:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 2px 16px;margin:14px -2px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cat-tile-row::-webkit-scrollbar{display:none}
.cat-tile{flex:0 0 auto;width:158px;margin-inline-end:16px;display:flex;flex-direction:column;align-items:center;gap:9px;scroll-snap-align:start;-webkit-tap-highlight-color:transparent;text-decoration:none}
.cat-tile-media{width:150px;height:150px;display:grid;place-items:center;border-radius:28px;overflow:hidden;transition:transform .22s cubic-bezier(.16,1,.3,1)}
.cat-tile-media img{display:block;width:100%;height:100%;object-fit:contain;border:0;background:transparent}
.cat-tile:hover .cat-tile-media{transform:scale(1.05)}
.cat-tile:active .cat-tile-media{transform:scale(.97);opacity:.85}
.cat-tile-name{font-size:14px;font-weight:800;line-height:1.65;text-align:center;color:var(--touba-text,#253329);transition:color .2s ease}
.cat-tile:hover .cat-tile-name{color:var(--touba-brand,#5e743f)}
.cat-tile-emoji{border-radius:50%;background:var(--touba-surface-soft,#f0f1e9);border:1px solid var(--touba-border,rgba(38,56,42,.12))}
.cat-tile-emoji i{font-style:normal;font-size:52px;line-height:1}
@supports (background:color-mix(in srgb,red 50%,blue)){
.cat-tile-emoji{background:color-mix(in srgb,var(--cat-tint,#b9cf8e) 24%,var(--touba-surface-soft,#f0f1e9))}
body.storefront-mode[data-theme="dark"] .cat-tile-emoji{background:color-mix(in srgb,var(--cat-tint,#b9cf8e) 14%,var(--touba-surface-soft,#1c261d))}
}
@media (min-width:720px){
.cat-tile-row{padding:6px 2px 18px}
.cat-tile{width:216px;margin-inline-end:24px}
.cat-tile-media{width:208px;height:208px;border-radius:36px}
.cat-tile-emoji i{font-size:72px}
.cat-tile-name{font-size:16px}
}
@media (max-width:379px){
.cat-tile{width:144px;margin-inline-end:10px}
.cat-tile-media{width:136px;height:136px;border-radius:24px}
.cat-tile-emoji i{font-size:46px}
.cat-tile-name{font-size:13.5px}
}
.cat-row-wrap{position:relative}
.cat-arrow{display:none;position:absolute;top:96px;transform:translateY(-50%);z-index:6;width:38px;height:38px;border-radius:50%;place-items:center;padding:0;border:1px solid var(--touba-border,rgba(38,56,42,.12));background:var(--touba-surface-raised,#ffffff);color:var(--touba-text,#253329);box-shadow:0 6px 18px rgba(10,18,12,.16);cursor:pointer;transition:transform .18s cubic-bezier(.16,1,.3,1),color .2s ease,box-shadow .2s ease}
.cat-row-wrap.has-overflow .cat-arrow{display:grid}
.cat-arrow svg{width:19px;height:19px}
.cat-arrow-start{inset-inline-start:2px}
.cat-arrow-end{inset-inline-end:2px}
.cat-arrow:hover{color:var(--touba-brand,#5e743f);transform:translateY(-50%) scale(1.1);box-shadow:0 10px 24px rgba(10,18,12,.24)}
.cat-arrow:active{transform:translateY(-50%) scale(.94)}
@media (min-width:720px){
.cat-arrow{width:44px;height:44px;top:124px}
.cat-arrow svg{width:22px;height:22px}
.cat-arrow-start{inset-inline-start:-16px}
.cat-arrow-end{inset-inline-end:-16px}
}
/* — صفحهٔ بازیابی رمز عبور v1.1.0 — */
body.storefront-mode .rp-steps{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:12px 0 4px}
body.storefront-mode .rp-step{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--touba-muted);border:1px solid var(--touba-border);background:var(--touba-surface-soft);border-radius:999px;padding:4px 12px}
body.storefront-mode .rp-step i{font-style:normal;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-size:10px;background:var(--touba-border);color:var(--touba-text)}
body.storefront-mode .rp-step.active{border-color:var(--touba-brand);color:var(--touba-text)}
body.storefront-mode .rp-step.active i{background:var(--touba-brand);color:#fff}
body.storefront-mode .rp-step.done{opacity:.75}
body.storefront-mode .rp-step.done i{background:#5d8a3c;color:#fff}
body.storefront-mode .rp-pw-row{display:flex;gap:8px;align-items:stretch}
body.storefront-mode .rp-pw-row input{flex:1}
body.storefront-mode .rp-eye{flex:0 0 auto;border:1px solid var(--touba-line,#dfdfd7);background:var(--touba-surface-soft);color:var(--touba-muted);border-radius:9px;padding:0 14px;font-size:11.5px;font-weight:700;cursor:pointer;transition:.18s}
body.storefront-mode .rp-eye:hover{color:var(--touba-brand);border-color:var(--touba-brand)}
/* — نماد اعتماد الکترونیکی (اینماد) v1.1.2 — لوگوی ترنسپرنت، بدون هیچ بکگراند، چسبیده به گوشه — */
.store-footer .footer-enamad{display:flex;justify-content:flex-end;align-items:flex-end;margin-top:16px}
.store-footer .enamad-seal{display:block;padding:0;border:0;background:none;box-shadow:none;border-radius:0;transition:transform .22s cubic-bezier(.16,1,.3,1),filter .2s ease}
.store-footer .enamad-seal img{height:150px;width:auto;max-width:150px;display:block;background:transparent;border:0;filter:drop-shadow(0 8px 22px rgba(0,0,0,.45))}
.store-footer .enamad-seal:hover{transform:translateY(-3px) scale(1.05)}
.store-footer .enamad-seal:hover img{filter:drop-shadow(0 12px 26px rgba(0,0,0,.55))}
.store-footer .enamad-seal:active{transform:scale(.97)}
@media (max-width:379px){.store-footer .enamad-seal img{height:126px;max-width:126px}}

/* Footer trust marks — side by side, transparent artwork, explanatory captions. */
.store-footer .footer-trust-pair{display:flex;align-items:flex-end;gap:28px}
.store-footer .footer-trust-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-width:150px;text-align:center}
.store-footer .footer-enamad .enamad-seal{margin:0}
.store-footer .bitpay-seal{display:flex;align-items:center;justify-content:center;width:150px;height:150px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transition:transform .22s cubic-bezier(.16,1,.3,1),filter .2s ease}
.store-footer .bitpay-seal img{display:block;width:auto;height:auto;max-width:150px;max-height:150px;object-fit:contain;background:transparent;border:0;filter:drop-shadow(0 8px 22px rgba(0,0,0,.45))}
.store-footer .enamad-seal:hover,.store-footer .bitpay-seal:hover{transform:translateY(-3px) scale(1.05)}
.store-footer .bitpay-seal:hover img{filter:drop-shadow(0 12px 26px rgba(0,0,0,.55))}
.store-footer .footer-trust-caption{display:block;max-width:170px;margin:0;color:#aeb9aa;font-size:11px;font-weight:600;line-height:1.7;text-align:center}
@media (max-width:379px){.store-footer .footer-trust-pair{gap:12px}.store-footer .footer-trust-item{min-width:126px}.store-footer .bitpay-seal{width:126px;height:126px}.store-footer .bitpay-seal img{max-width:126px;max-height:126px}.store-footer .footer-trust-caption{max-width:140px;font-size:10.5px}}

/* Guided checkout — one clear step at a time with a live three-step timeline. */
body.storefront-mode .checkout-flow-header{grid-column:1/-1;width:100%;min-width:0;padding:10px 0 4px}
body.storefront-mode .checkout-flow-intro{text-align:center;margin:0 auto 18px}
body.storefront-mode .checkout-flow-intro h2{margin:0 0 5px;color:var(--touba-text);font-size:19px;font-weight:800}
body.storefront-mode .checkout-flow-intro p{margin:0;color:var(--touba-muted);font-size:12px;line-height:1.8}
body.storefront-mode .checkout-timeline-wrap{position:relative;max-width:720px;margin:18px auto 0;padding:0 4px}
body.storefront-mode .checkout-timeline-track{position:absolute;top:16px;inset-inline-start:16.6667%;inset-inline-end:16.6667%;height:2px;border-radius:99px;background:var(--touba-border);overflow:hidden}
body.storefront-mode #checkout-timeline-progress{display:block;width:0;height:100%;background:var(--touba-brand);transition:width .3s ease}
body.storefront-mode .checkout-timeline{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0}
body.storefront-mode .checkout-timeline li{display:flex;min-width:0;flex-direction:column;align-items:center;gap:7px;color:var(--touba-subtle);font-size:11px;font-weight:600;text-align:center;transition:color .2s ease}
body.storefront-mode .checkout-timeline-number{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--touba-border);border-radius:50%;background:var(--touba-surface-raised);color:var(--touba-muted);font-size:13px;font-weight:800;transition:background .2s ease,color .2s ease,border-color .2s ease}
body.storefront-mode .checkout-timeline li.is-active{color:var(--touba-text)}
body.storefront-mode .checkout-timeline li.is-active .checkout-timeline-number,body.storefront-mode .checkout-timeline li.is-complete .checkout-timeline-number{border-color:var(--touba-brand);background:var(--touba-brand);color:var(--touba-bg)}
body.storefront-mode .checkout-step-status{margin:12px 0 0;color:var(--touba-muted);font-size:11px;text-align:center}
body.storefront-mode .checkout-info-col{min-width:0}
body.storefront-mode .checkout-step-page{min-width:0}
body.storefront-mode .checkout-step-page[hidden]{display:none!important}
body.storefront-mode .checkout-step-title{margin:0;color:var(--touba-text);font-size:16px;font-weight:800}
body.storefront-mode .checkout-step-description{margin:0 0 16px;color:var(--touba-muted);font-size:12px;line-height:1.9}
body.storefront-mode .checkout-step-actions{display:flex;align-items:stretch;justify-content:space-between;gap:10px;margin-top:20px}
body.storefront-mode .checkout-step-actions>.btn{display:inline-flex;flex:1;min-height:44px;align-items:center;justify-content:center;padding:10px 12px;text-align:center;line-height:1.6}
body.storefront-mode .checkout-step-actions>.checkout-submit-btn{background:var(--touba-brand)!important;color:var(--touba-bg)!important}
body.storefront-mode .checkout-review-card{margin:10px 0 18px;padding:4px 14px;border:1px solid var(--touba-border);border-radius:14px;background:var(--touba-surface-soft)}
body.storefront-mode .checkout-review-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--touba-border)}
body.storefront-mode .checkout-review-row:last-child{border-bottom:0}
body.storefront-mode .checkout-review-value{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px;overflow-wrap:anywhere}
body.storefront-mode .checkout-review-value>span{color:var(--touba-muted);font-size:11px}
body.storefront-mode .checkout-review-value>b{color:var(--touba-text);font-size:12px;line-height:1.8}
body.storefront-mode .checkout-review-value small{color:var(--touba-muted);font-size:11px}
body.storefront-mode .checkout-review-value small b{color:var(--touba-text)}
body.storefront-mode .checkout-review-edit{flex:0 0 auto;padding:4px 2px;border:0;background:transparent;color:var(--touba-brand);font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body.storefront-mode .checkout-final-payment{margin-top:8px}
body.storefront-mode .checkout-final-payment>h3{margin:0 0 10px;color:var(--touba-text);font-size:14px}
body.storefront-mode .checkout-final-payment .payment-method-card{margin:0}
body.storefront-mode .checkout-payment-safety{margin:10px 0 0;color:var(--touba-muted);font-size:11px;line-height:1.9}
body.storefront-mode .home-product-shelf {
  position: relative;
  min-width: 0;
}
body.storefront-mode .home-shelf-arrow {
  display: none;
}

/* Consolidated phone rules for the shelves and guided checkout. */
@media (max-width: 640px) {
  body.storefront-mode .products-section {
    padding-top: 26px;
    padding-bottom: 12px;
  }
  body.storefront-mode .section-heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  body.storefront-mode .checkout-flow-header {
    padding-top: 4px;
  }
  body.storefront-mode .checkout-flow-intro {
    margin-bottom: 14px;
  }
  body.storefront-mode .checkout-flow-intro h2 {
    font-size: 16px;
  }
  body.storefront-mode .checkout-flow-intro p {
    font-size: 12px;
  }
  body.storefront-mode .checkout-timeline-wrap {
    margin-top: 14px;
    padding: 0;
  }
  body.storefront-mode .checkout-timeline-track {
    top: 14px;
  }
  body.storefront-mode .checkout-timeline-number {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  body.storefront-mode .checkout-timeline li {
    gap: 6px;
    font-size: 12px;
    line-height: 1.5;
  }
  body.storefront-mode .checkout-step-actions {
    gap: 8px;
  }
  body.storefront-mode .checkout-step-actions > .btn {
    min-height: 48px;
    padding: 9px 7px;
    font-size: 12px;
  }
  body.storefront-mode .checkout-review-card {
    padding-inline: 10px;
  }
  body.storefront-mode .checkout-review-edit {
    font-size: 12px;
  }

  body.storefront-mode .lux-cream-trust-grid {
    gap: 4px !important;
  }
  body.storefront-mode .lux-cream-trust-item {
    min-height: 74px;
    padding: 9px 8px !important;
    gap: 8px !important;
  }
  body.storefront-mode .lux-cream-trust-item > svg {
    flex-basis: 24px;
    width: 24px !important;
    height: 24px !important;
  }
}
@media (max-width: 360px) {
  body.storefront-mode .checkout-timeline-label {
    max-width: 82px;
    line-height: 1.5;
  }
}
