/* Whole-site store styles. Loaded only when a style other than "Dhiraa classic" is active,
   so the default look is untouched. Each style sets the --s-* values; the shared layer maps
   them onto the storefront. Seasonal themes still colour their banners and collection pages.
   Keep: green WhatsApp button, GIF status badges, struck-through list price. No web fonts. */

body.store-style {
  --plum: var(--s-heading); --plum-deep: var(--s-footer-bg); --ink: var(--s-text); --cream: var(--s-bg);
  --rose: var(--s-accent); --soft-rose: var(--s-soft); --line: var(--s-line); --shadow: var(--s-card-shadow);
  --theme-accent: var(--s-accent); --theme-bg: var(--s-hero-bg); --theme-text: var(--s-heading);
  background: var(--s-bg); color: var(--s-text); font-family: var(--s-body-font);
}
.store-style [class*="theme-default"] { --theme-accent: var(--s-accent); --theme-bg: var(--s-hero-bg); --theme-text: var(--s-heading); }

/* Header, navigation and mobile bar */
.store-style .site-header { background: var(--s-header-bg); border-bottom: 1px solid var(--s-header-line, var(--s-line)); box-shadow: var(--s-header-shadow, none); }
.store-style .brand strong { color: var(--s-header-text); font-family: var(--s-heading-font); }
.store-style .brand small { color: var(--s-header-muted, var(--s-accent)); }
.store-style .site-header nav a { color: var(--s-header-text); }
.store-style .site-header nav a:hover, .store-style .site-header nav a[aria-current=page] { color: var(--s-header-hover, var(--s-accent)); }
.store-style.public-layout-sidebar .site-header nav a:hover { background: var(--s-soft); }
.store-style .header-list { border-color: var(--s-header-line, var(--s-line)); color: var(--s-header-text); border-radius: var(--s-radius-btn); }
.store-style .header-list:hover { border-color: var(--s-header-hover, var(--s-accent)); color: var(--s-header-hover, var(--s-accent)); }
.store-style .header-list strong, .store-style .mobile-bar strong { background: var(--s-accent); color: var(--s-accent-text, #fff); }
.store-style .mobile-bar { background: var(--s-card); border-top: 1px solid var(--s-line); }
.store-style .mobile-bar a { color: var(--s-muted); }
.store-style .mobile-bar a[aria-current=page] { color: var(--s-accent); }

/* Headings and text */
.store-style :is(.hero h1, .section-intro h1, .section-intro h2, .how-title h2, .contact-inner h2, .product-detail-copy h1, .modal-copy h2,
  .legal-card h1, .legal-section h2, .inner-hero h1, .page-cta h2, .content-grid h2, .contact-card h2, .cart-heading h2, .empty-state h3,
  .step h3, .product-body h3, .product-reviews h3, .collection-theme-copy h1, .campaign-inner h2) {
  font-family: var(--s-heading-font); font-weight: var(--s-heading-weight, 700); letter-spacing: var(--s-heading-spacing, normal);
}
.store-style :is(.hero h1, .section-intro h1, .section-intro h2, .how-title h2, .product-detail-copy h1, .modal-copy h2, .legal-card h1,
  .legal-section h2, .inner-hero h1, .page-cta h2, .content-grid h2, .contact-card h2, .cart-heading h2, .empty-state h3, .step h3,
  .product-body h3, .product-reviews h3) { color: var(--s-heading); }
.store-style :is(.hero h1 em, .section-intro h1 em, .section-intro h2 em, .how-title h2 em) { color: var(--s-accent); }
.store-style :is(.eyebrow, .section-kicker, .product-category, .modal-category, .step > span) {
  color: var(--s-accent); letter-spacing: var(--s-label-spacing, 1.5px); text-transform: uppercase;
}
.store-style :is(.hero-lead, .hero-notes, .section-intro > p, .catalog-status, .product-body p, .modal-description, .how-title > p:last-child,
  .step p, .legal-intro, .legal-section p, .legal-section li, .legal-updated, .inner-hero p:not(.section-kicker), .content-grid p, .contact-card p,
  .product-detail-copy > p, .cart-heading p, .cart-item span, .customer-field small, .customer-phone small, .terms-consent, .trust-points li,
  .product-country, .review-note, .catalog-load-more span, .cart-total, .price-label, .optional, .check-row, .check-row small) { color: var(--s-muted); }
.store-style :is(.text-link, .back-link, .legal-back, .terms-consent a, .product-bottom a, .customer-field, .customer-phone, .catalog-pagination label,
  .product-reviews label, .product-reviews summary, .product-review-page label, .product-review-page summary, .cart-item strong, .cart-total strong,
  .delivery-price-note strong, .product-origin-story strong) { color: var(--s-heading); }
.store-style :is(.back-link:hover, .product-bottom a:hover, .card-link:hover, .customise-banner a, .cart-item button, .cart-clear) { color: var(--s-accent); }

/* Page sections */
.store-style .hero { background: var(--s-hero-bg); }
.store-style :is(.catalog-section, .product-page, .page-cta) { background: var(--s-surface); }
.store-style :is(.legal-main, .inner-hero) { background: var(--s-hero-bg); }
.store-style .how-section { background: var(--s-soft); }
.store-style .categories { background: var(--s-categories-bg); color: var(--s-categories-text); }
.store-style :is(.category-label, .category-label strong, .category-tile strong) { color: var(--s-categories-text); font-family: var(--s-heading-font); }
.store-style .category-tile small { color: var(--s-categories-text); opacity: .75; }
.store-style .category-icon { background: var(--s-categories-icon, rgba(255,255,255,.12)); color: var(--s-categories-text); }
.store-style .contact-band { background: var(--s-band-bg); color: var(--s-band-text); }
.store-style :is(.contact-inner h2, .contact-inner p:last-child, .contact-inner .section-kicker) { color: var(--s-band-text); }
.store-style .button-light { background: var(--s-band-text); color: var(--s-band-bg); }

/* Footer */
.store-style .site-footer { background: var(--s-footer-bg); color: var(--s-footer-text); }
.store-style :is(.site-footer p, .footer-bottom) { color: var(--s-footer-muted); }
.store-style :is(.footer-label, .footer-brand span) { color: var(--s-footer-label, var(--s-footer-muted)); letter-spacing: var(--s-label-spacing, 1.5px); }
.store-style .footer-brand strong { color: var(--s-footer-text); font-family: var(--s-heading-font); }
.store-style .site-footer a:hover { color: var(--s-footer-text); text-decoration: underline; }

/* Buttons */
.store-style :is(.button, .ghost-button, .card-add, .cart-button, .qty-presets button) { border-radius: var(--s-radius-btn); }
.store-style :is(.button-primary, .card-add, .cart-button) { background: var(--s-primary); border-color: var(--s-primary); color: var(--s-primary-text); }
.store-style :is(.button-primary:hover, .card-add:hover) { background: var(--s-primary-hover); border-color: var(--s-primary-hover); color: var(--s-primary-text); }
.store-style .cart-button strong { background: var(--s-accent); color: var(--s-accent-text, #fff); }
.store-style .ghost-button { border-color: var(--s-line-strong, var(--s-line)); color: var(--s-heading); }
.store-style .ghost-button:hover { background: var(--s-primary); border-color: var(--s-primary); color: var(--s-primary-text); }
.store-style .button:hover { box-shadow: none; }
.store-style :is(.button, .card-add, .ghost-button) { text-transform: var(--s-button-transform, none); letter-spacing: var(--s-button-spacing, normal); }

/* Catalogue toolbar and product cards */
.store-style .filter-tab { color: var(--s-muted); border-radius: var(--s-radius-btn); }
.store-style .filter-tab:hover { background: var(--s-soft); }
.store-style .filter-tab.is-active { background: var(--s-chip-active-bg, var(--s-soft)); color: var(--s-chip-active-text, var(--s-heading)); }
.store-style :is(.search-box, .sort-box) { background: var(--s-card); border-color: var(--s-line-strong, var(--s-line)); border-radius: var(--s-radius-field); }
.store-style :is(.search-box input, .sort-box select) { color: var(--s-text); }
.store-style :is(.search-box:focus-within, .sort-box:focus-within) { border-color: var(--s-accent); box-shadow: 0 0 0 3px var(--s-focus, rgba(0,0,0,.08)); }
.store-style .product-card { background: var(--s-card); border-color: var(--s-card-line, var(--s-line)); border-radius: var(--s-radius); box-shadow: var(--s-card-shadow); }
.store-style .product-card:hover { box-shadow: var(--s-card-hover-shadow, var(--s-card-shadow)); }
.store-style .product-photo { background: var(--s-photo-bg, var(--s-soft)); }
.store-style :is(.price, .modal-price, .product-detail-price) { color: var(--s-price, var(--s-heading)); }
.store-style :is(.price .discount-price, .modal-price .discount-price) { color: var(--s-discount); }
.store-style :is(.price .regular-price, .modal-price .regular-price) { color: var(--s-muted); }
.store-style .off-pill { background: var(--s-offer-bg); color: var(--s-offer-text); border-radius: var(--s-radius-btn); }
.store-style :is(.catalog-pagination, .collection-link) { background: var(--s-card); border-color: var(--s-line); color: var(--s-text); border-radius: var(--s-radius); }
.store-style .catalog-pagination select { border-color: var(--s-line); border-radius: var(--s-radius-field); color: var(--s-text); background: var(--s-card); }
.store-style .photo-count { border-radius: var(--s-radius-btn); }

/* Panels, notes and forms */
.store-style :is(.step, .legal-card, .content-grid article, .contact-card, .product-review-page details, .cart-item) {
  background: var(--s-card); border-color: var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-panel-shadow, none);
}
.store-style :is(.empty-state, .customise-banner, .delivery-price-note, .cart-delivery, .cart-bulk-note, .customer-review, .sticker-option, .product-origin-story) {
  background: var(--s-soft); border-color: var(--s-line); border-radius: var(--s-radius); color: var(--s-muted);
}
.store-style .product-review-page .customer-review { background: var(--s-card); }
.store-style :is(.product-modal, .cart-modal) { background: var(--s-card); color: var(--s-text); border-radius: var(--s-radius-modal, var(--s-radius)); }
.store-style :is(.modal-close, .qty-stepper button) { background: var(--s-soft); color: var(--s-heading); }
.store-style :is(.modal-media img, .modal-media video, .cart-item img, .product-detail-media) { background: var(--s-photo-bg, var(--s-soft)); border-radius: var(--s-radius-media, var(--s-radius)); }
.store-style :is(.customer-field input, .customer-field textarea, .customer-phone input, .cart-quantity input, .product-reviews input, .product-reviews select,
  .product-reviews textarea, .product-review-page input, .product-review-page select, .product-review-page textarea, .qty-stepper) {
  background: var(--s-card); border-color: var(--s-line-strong, var(--s-line)); border-radius: var(--s-radius-field); color: var(--s-text);
}
.store-style :is(.customer-field input:focus, .customer-field textarea:focus, .customer-phone input:focus) { border-color: var(--s-accent); box-shadow: 0 0 0 3px var(--s-focus, rgba(0,0,0,.08)); }
.store-style .qty-presets button { background: var(--s-card); border-color: var(--s-line); color: var(--s-muted); }
.store-style .qty-presets button.is-active { border-color: var(--s-accent); background: var(--s-soft); color: var(--s-heading); }
.store-style .product-thumbnails button { border-radius: var(--s-radius-field); }
.store-style .product-thumbnails button.is-active { border-color: var(--s-accent); }
.store-style .delivery-progress { background: var(--s-line); }

/* Admin-only preview notice */
.store-style-preview { position: sticky; top: 0; z-index: 60; padding: 8px 16px; background: #1f2937; color: #fff; font: 600 13px/1.4 system-ui, sans-serif; text-align: center; }
.store-style-preview a { color: #fde68a; margin-left: 8px; }

/* ---------- Clean minimal ---------- */
body.store-style-clean {
  --s-bg: #ffffff; --s-surface: #ffffff; --s-hero-bg: #f5f5f5; --s-card: #ffffff; --s-soft: #f4f4f4; --s-photo-bg: #f2f2f2;
  --s-line: #e6e6e6; --s-line-strong: #cfcfcf; --s-card-line: transparent;
  --s-text: #1a1a1a; --s-muted: #666666; --s-heading: #121212; --s-accent: #121212; --s-accent-text: #fff;
  --s-primary: #121212; --s-primary-text: #ffffff; --s-primary-hover: #3a3a3a;
  --s-header-bg: #ffffff; --s-header-text: #121212; --s-header-muted: #777777; --s-header-hover: #555555;
  --s-footer-bg: #f3f3f3; --s-footer-text: #121212; --s-footer-muted: #5c5c5c;
  --s-band-bg: #121212; --s-band-text: #ffffff; --s-categories-bg: #f3f3f3; --s-categories-text: #121212; --s-categories-icon: #ffffff;
  --s-chip-active-bg: #121212; --s-chip-active-text: #ffffff;
  --s-heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --s-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --s-heading-weight: 600; --s-heading-spacing: -.01em; --s-label-spacing: 1px;
  --s-radius: 4px; --s-radius-btn: 2px; --s-radius-field: 2px; --s-radius-media: 0;
  --s-card-shadow: none; --s-card-hover-shadow: 0 6px 18px rgba(0,0,0,.08);
  --s-discount: #b3261e; --s-offer-bg: transparent; --s-offer-text: #b3261e; --s-focus: rgba(18,18,18,.12);
}
.store-style-clean .product-body { padding-left: 2px; padding-right: 2px; }

/* ---------- Marketplace ---------- */
body.store-style-marketplace {
  --s-bg: #f1f3f6; --s-surface: #f1f3f6; --s-hero-bg: #ffffff; --s-card: #ffffff; --s-soft: #f5f7fa; --s-photo-bg: #ffffff;
  --s-line: #e0e0e0; --s-line-strong: #d0d4da; --s-card-line: #e8e8e8;
  --s-text: #212121; --s-muted: #6b6b6b; --s-heading: #212121; --s-accent: #2874f0; --s-accent-text: #fff;
  --s-primary: #fb641b; --s-primary-text: #ffffff; --s-primary-hover: #e4560f; --s-price: #212121;
  --s-header-bg: #2874f0; --s-header-text: #ffffff; --s-header-muted: #ffe11b; --s-header-hover: #ffe11b; --s-header-line: #2874f0;
  --s-header-shadow: 0 1px 6px rgba(0,0,0,.16);
  --s-footer-bg: #172337; --s-footer-text: #ffffff; --s-footer-muted: #b8c2d3; --s-footer-label: #878787;
  --s-band-bg: #2874f0; --s-band-text: #ffffff; --s-categories-bg: #ffffff; --s-categories-text: #212121; --s-categories-icon: #f1f3f6;
  --s-chip-active-bg: #2874f0; --s-chip-active-text: #ffffff;
  --s-heading-font: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --s-body-font: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --s-heading-weight: 600; --s-label-spacing: .5px;
  --s-radius: 4px; --s-radius-btn: 2px; --s-radius-field: 2px; --s-radius-media: 2px; --s-radius-modal: 6px;
  --s-card-shadow: 0 1px 2px rgba(0,0,0,.1); --s-card-hover-shadow: 0 4px 16px rgba(0,0,0,.16);
  --s-discount: #212121; --s-offer-bg: transparent; --s-offer-text: #388e3c; --s-focus: rgba(40,116,240,.18);
  --s-button-transform: uppercase; --s-button-spacing: .3px;
}
.store-style-marketplace .header-list { border-color: rgba(255,255,255,.55); }
.store-style-marketplace .header-list strong { background: #ffe11b; color: #212121; }
.store-style-marketplace .off-pill { font-weight: 700; padding-left: 0; }
.store-style-marketplace .product-category { text-transform: none; letter-spacing: 0; color: #878787; }

/* ---------- Luxury boutique ---------- */
body.store-style-luxe {
  --s-bg: #faf7f2; --s-surface: #faf7f2; --s-hero-bg: #f3ede4; --s-card: #ffffff; --s-soft: #f3ede4; --s-photo-bg: #f1ebe2;
  --s-line: #e6dccd; --s-line-strong: #cdbfa9; --s-card-line: transparent;
  --s-text: #2b2b2b; --s-muted: #7a7268; --s-heading: #1c1c1c; --s-accent: #a8844f; --s-accent-text: #fff;
  --s-primary: #1c1c1c; --s-primary-text: #f5efe4; --s-primary-hover: #a8844f;
  --s-header-bg: #fffdf9; --s-header-text: #1c1c1c; --s-header-muted: #a8844f; --s-header-hover: #a8844f;
  --s-footer-bg: #1c1c1c; --s-footer-text: #f5efe4; --s-footer-muted: #b9ad9b; --s-footer-label: #c9a96e;
  --s-band-bg: #1c1c1c; --s-band-text: #f5efe4; --s-categories-bg: #1c1c1c; --s-categories-text: #f5efe4; --s-categories-icon: rgba(201,169,110,.18);
  --s-chip-active-bg: transparent; --s-chip-active-text: #1c1c1c;
  --s-heading-font: Didot, "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --s-body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --s-heading-weight: 400; --s-heading-spacing: .01em; --s-label-spacing: 3px;
  --s-radius: 0; --s-radius-btn: 0; --s-radius-field: 0; --s-radius-media: 0;
  --s-card-shadow: none; --s-card-hover-shadow: 0 10px 30px rgba(28,28,28,.08);
  --s-discount: #8c2f39; --s-offer-bg: transparent; --s-offer-text: #8c2f39; --s-focus: rgba(168,132,79,.2);
  --s-button-transform: uppercase; --s-button-spacing: 2px;
}
.store-style-luxe .filter-tab.is-active { box-shadow: inset 0 -2px 0 #a8844f; }
.store-style-luxe .product-body h3 { font-size: 1.15em; }
.store-style-luxe .site-header { border-bottom-color: #e6dccd; }

/* ---------- Bright & playful ---------- */
body.store-style-playful {
  --s-bg: #fff7fb; --s-surface: #fff7fb; --s-hero-bg: linear-gradient(135deg, #ffe3f1, #ece6ff); --s-card: #ffffff; --s-soft: #fde8f3; --s-photo-bg: #fff0f7;
  --s-line: #f6d3e6; --s-line-strong: #eebcd7; --s-card-line: #f9e1ee;
  --s-text: #2d1b33; --s-muted: #7b6680; --s-heading: #2d1b33; --s-accent: #f43397; --s-accent-text: #fff;
  --s-primary: #9f2089; --s-primary-text: #ffffff; --s-primary-hover: #821a70;
  --s-header-bg: #ffffff; --s-header-text: #2d1b33; --s-header-muted: #f43397; --s-header-hover: #9f2089;
  --s-footer-bg: #3d0f3a; --s-footer-text: #ffffff; --s-footer-muted: #e7bfe0;
  --s-band-bg: #9f2089; --s-band-text: #ffffff; --s-categories-bg: #9f2089; --s-categories-text: #ffffff;
  --s-chip-active-bg: #9f2089; --s-chip-active-text: #ffffff;
  --s-heading-font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --s-body-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --s-heading-weight: 800; --s-label-spacing: .5px;
  --s-radius: 20px; --s-radius-btn: 999px; --s-radius-field: 14px; --s-radius-media: 16px; --s-radius-modal: 24px;
  --s-card-shadow: 0 8px 24px rgba(159,32,137,.08); --s-card-hover-shadow: 0 14px 34px rgba(159,32,137,.16);
  --s-discount: #e0245e; --s-offer-bg: #ffe3f1; --s-offer-text: #c2185b; --s-focus: rgba(244,51,151,.18);
}
.store-style-playful .legal-main, .store-style-playful .inner-hero, .store-style-playful .hero { background: var(--s-hero-bg); }

/* ---------- Handcrafted earthy ---------- */
body.store-style-earthy {
  --s-bg: #f6efe6; --s-surface: #f9f4ec; --s-hero-bg: #efe4d4; --s-card: #fffdf9; --s-soft: #efe4d4; --s-photo-bg: #ede2d1;
  --s-line: #e2d3bf; --s-line-strong: #cdb99f; --s-card-line: #eadfce;
  --s-text: #3b2a20; --s-muted: #7c6a5b; --s-heading: #3b2a20; --s-accent: #a4472a; --s-accent-text: #fff;
  --s-primary: #a4472a; --s-primary-text: #fffaf2; --s-primary-hover: #86381f;
  --s-header-bg: #f6efe6; --s-header-text: #3b2a20; --s-header-muted: #4a5d3a; --s-header-hover: #a4472a;
  --s-footer-bg: #2f241c; --s-footer-text: #f4e9db; --s-footer-muted: #c7b39c; --s-footer-label: #d9a26f;
  --s-band-bg: #4a5d3a; --s-band-text: #f4ecd9; --s-categories-bg: #4a5d3a; --s-categories-text: #f4ecd9;
  --s-chip-active-bg: #4a5d3a; --s-chip-active-text: #f4ecd9;
  --s-heading-font: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --s-body-font: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Calibri, sans-serif;
  --s-heading-weight: 600; --s-label-spacing: 2px;
  --s-radius: 8px; --s-radius-btn: 6px; --s-radius-field: 6px; --s-radius-media: 6px;
  --s-card-shadow: 0 6px 18px rgba(59,42,32,.06); --s-card-hover-shadow: 0 12px 28px rgba(59,42,32,.12);
  --s-discount: #a4472a; --s-offer-bg: #f3dfd3; --s-offer-text: #86381f; --s-focus: rgba(164,71,42,.18);
}
