/* Comfortrek V313. The existing brand/theme layer now owns readable surfaces
   and theme composition. Existing IDs, CMS sections and commerce hooks stay intact. */
body[class*="site-theme-"] {
  --ct-light-page:#f7f5f0; --ct-light-surface:#ffffff; --ct-light-soft:#f0ede5;
  --ct-dark-page:#101214; --ct-dark-surface:#191d20; --ct-dark-soft:#252b30;
  --ct-light-text:#20272b; --ct-light-muted:#535c63;
  --ct-dark-text:#f4f3ed; --ct-dark-muted:#bcc5cb;
  --ct-light-accent:#865535; --ct-dark-accent:#edba88;
  --ct-serif:Georgia,'Times New Roman',serif;
  --ct-sans:Inter,'Segoe UI',Arial,sans-serif;
  --ct-display:'Arial Black',Inter,'Segoe UI',sans-serif;
  --ct-heading:var(--ct-serif); --ct-radius:var(--theme-editor-radius,16px);
  --ct-gap:var(--theme-editor-card-gap,20px); --ct-button-radius:999px;
  --ct-hero-radius:0 0 32px 32px; --ct-hero-inset:0px;
  --ct-image-ratio:4 / 5; --ct-hero-columns:.9fr 1.1fr;
  --ct-heading-weight:400; --ct-heading-tracking:-.04em;
  --ct-card-shadow:0 12px 35px rgba(18,27,34,.07);
  font-family:var(--ct-sans); font-size:var(--theme-editor-body-scale,100%);
  line-height:1.55; -webkit-font-smoothing:antialiased;
}
/* Each palette is paired with a distinct composition, type and card preset in
   comfortrekThemeDefaults(). No festival is inferred from a theme ID. */
body.site-theme-signature {--ct-light-page:#f8f4ed;--ct-light-soft:#efe5d8;--ct-dark-page:#16130f;--ct-dark-surface:#231e18;--ct-dark-soft:#302920;--ct-light-accent:#865535;--ct-dark-accent:#e6b385;--ct-hero-radius:0 0 44px 0}
body.site-theme-midnight_luxe {--ct-light-page:#f4f2fb;--ct-light-soft:#e9e5f5;--ct-dark-page:#111022;--ct-dark-surface:#1c1b31;--ct-dark-soft:#2a2841;--ct-light-accent:#625099;--ct-dark-accent:#c6b8ff;--ct-hero-inset:18px;--ct-hero-radius:28px}
body.site-theme-aurora {--ct-light-page:#f0f7f6;--ct-light-soft:#e0efeb;--ct-dark-page:#0d191a;--ct-dark-surface:#15282a;--ct-dark-soft:#21353a;--ct-light-accent:#226f66;--ct-dark-accent:#8ce3d2;--ct-hero-radius:0 0 60px 60px}
body.site-theme-obsidian_gold {--ct-light-page:#f7f5ef;--ct-light-soft:#eee9dc;--ct-dark-page:#11110f;--ct-dark-surface:#1c1d19;--ct-dark-soft:#2c2d26;--ct-light-accent:#7e622d;--ct-dark-accent:#dfbe7e;--ct-hero-radius:0;--ct-image-ratio:3 / 4}
body.site-theme-titanium {--ct-light-page:#f1f4f7;--ct-light-soft:#e3eaf0;--ct-dark-page:#121920;--ct-dark-surface:#1a2631;--ct-dark-soft:#283642;--ct-light-accent:#466075;--ct-dark-accent:#bbd0e0;--ct-hero-radius:12px;--ct-hero-inset:16px;--ct-image-ratio:1 / 1}
body.site-theme-royal_noir {--ct-light-page:#f8f1f4;--ct-light-soft:#f0e3e9;--ct-dark-page:#1c1118;--ct-dark-surface:#2b1b26;--ct-dark-soft:#382631;--ct-light-accent:#963f5d;--ct-dark-accent:#f1b8ce;--ct-hero-radius:0 0 60px 0}
body.site-theme-cyber_chrome {--ct-light-page:#f0f6fa;--ct-light-soft:#e0eef4;--ct-dark-page:#0c1820;--ct-dark-surface:#122830;--ct-dark-soft:#213842;--ct-light-accent:#176780;--ct-dark-accent:#8adfee;--ct-hero-radius:0;--ct-image-ratio:1 / 1}
body.site-theme-emerald_noir {--ct-light-page:#f2f6ef;--ct-light-soft:#e6eddc;--ct-dark-page:#0f1b15;--ct-dark-surface:#192a21;--ct-dark-soft:#28392c;--ct-light-accent:#36694d;--ct-dark-accent:#b9ddae;--ct-hero-radius:0 0 64px 8px}
body.site-theme-desert_luxe {--ct-light-page:#fbf4eb;--ct-light-soft:#f2e4d3;--ct-dark-page:#221812;--ct-dark-surface:#30261e;--ct-dark-soft:#3c2e25;--ct-light-accent:#92522f;--ct-dark-accent:#ecc6a3;--ct-hero-radius:32px 0 32px 0;--ct-hero-inset:18px}
body.site-theme-pearl_luxe {--ct-light-page:#faf9f5;--ct-light-soft:#eeefe6;--ct-dark-page:#17201d;--ct-dark-surface:#222d28;--ct-dark-soft:#303c34;--ct-light-accent:#4e7060;--ct-dark-accent:#c7deca;--ct-hero-inset:20px;--ct-hero-radius:32px}
body.site-theme-violet_neon {--ct-light-page:#f7f2fa;--ct-light-soft:#eee3f3;--ct-dark-page:#1a1121;--ct-dark-surface:#271b31;--ct-dark-soft:#37263f;--ct-light-accent:#8243a8;--ct-dark-accent:#dfb6fa;--ct-hero-inset:16px;--ct-hero-radius:24px}
body.site-theme-monochrome {--ct-light-page:#f7f7f5;--ct-light-soft:#eaeae7;--ct-dark-page:#131313;--ct-dark-surface:#202020;--ct-dark-soft:#303030;--ct-light-accent:#292929;--ct-dark-accent:#e8e8e5;--ct-hero-radius:0;--ct-image-ratio:1 / 1}
body.site-theme-palo_alto {--ct-light-page:#f4f6ef;--ct-light-soft:#e5e9db;--ct-dark-page:#142016;--ct-dark-surface:#213024;--ct-dark-soft:#303e2f;--ct-light-accent:#4c6945;--ct-dark-accent:#cedbae;--ct-hero-radius:0 0 32px 32px}
body.site-theme-apex_atelier {--ct-light-page:#f7f4ee;--ct-light-soft:#ebe3d7;--ct-dark-page:#1b1712;--ct-dark-surface:#28221a;--ct-dark-soft:#352e24;--ct-light-accent:#856037;--ct-dark-accent:#dfbc8e;--ct-hero-radius:0;--ct-image-ratio:3 / 4}
body.site-theme-symmetry_studio {--ct-light-page:#f0f4f7;--ct-light-soft:#e3ebf0;--ct-dark-page:#15212a;--ct-dark-surface:#22313c;--ct-dark-soft:#303e47;--ct-light-accent:#4b6982;--ct-dark-accent:#bbd1e3;--ct-hero-radius:16px;--ct-hero-inset:16px;--ct-image-ratio:1 / 1}
body.site-theme-prestige_maison {--ct-light-page:#faf6f0;--ct-light-soft:#eee6d8;--ct-dark-page:#1a1612;--ct-dark-surface:#282119;--ct-dark-soft:#352c22;--ct-light-accent:#7c5d32;--ct-dark-accent:#e5c697;--ct-hero-radius:0;--ct-image-ratio:3 / 4}
body.site-theme-motion_gallery {--ct-light-page:#eff7f8;--ct-light-soft:#dfedf0;--ct-dark-page:#101e25;--ct-dark-surface:#1b2d35;--ct-dark-soft:#2c3b42;--ct-light-accent:#246a74;--ct-dark-accent:#a1dce2;--ct-hero-radius:28px;--ct-hero-inset:16px}
body.site-theme-broadcast_editorial {--ct-light-page:#faf4eb;--ct-light-soft:#f0e6d8;--ct-dark-page:#201714;--ct-dark-surface:#30231d;--ct-dark-soft:#3c2d25;--ct-light-accent:#8e482d;--ct-dark-accent:#eab294;--ct-hero-radius:0;--ct-image-ratio:1 / 1}
body.site-theme-enterprise_grid {--ct-light-page:#f0f4fa;--ct-light-soft:#e1e9f4;--ct-dark-page:#102030;--ct-dark-surface:#1a2c3e;--ct-dark-soft:#2a3b48;--ct-light-accent:#2e6193;--ct-dark-accent:#b4d2f1;--ct-hero-radius:12px;--ct-hero-inset:14px;--ct-image-ratio:1 / 1}
body.site-theme-hyper_commerce {--ct-light-page:#fff3f5;--ct-light-soft:#f7e2e8;--ct-dark-page:#24131b;--ct-dark-surface:#321f2a;--ct-dark-soft:#402a34;--ct-light-accent:#a53555;--ct-dark-accent:#f4b4c4;--ct-hero-radius:0 0 36px 36px;--ct-image-ratio:1 / 1}
body.site-theme-concept_objects {--ct-light-page:#f6f5f0;--ct-light-soft:#e9eadf;--ct-dark-page:#1b211a;--ct-dark-surface:#293128;--ct-dark-soft:#383f32;--ct-light-accent:#586447;--ct-dark-accent:#d2dfbf;--ct-hero-radius:0;--ct-image-ratio:3 / 4}
body.site-theme-paloalto_travel {--ct-light-page:#f2f7f7;--ct-light-soft:#e2edef;--ct-dark-page:#14232a;--ct-dark-surface:#20333a;--ct-dark-soft:#2f4249;--ct-light-accent:#416b79;--ct-dark-accent:#acd2dd;--ct-hero-radius:0 0 40px 0}
body.site-theme-wonder_immersive {--ct-light-page:#f5f3fb;--ct-light-soft:#e9e4f5;--ct-dark-page:#16172b;--ct-dark-surface:#24243b;--ct-dark-soft:#33334a;--ct-light-accent:#6e56a5;--ct-dark-accent:#ccbdff;--ct-hero-inset:18px;--ct-hero-radius:36px}
body.site-theme-quiet_luxury {--ct-light-page:#fbf8f2;--ct-light-soft:#ede7dc;--ct-dark-page:#1a1914;--ct-dark-surface:#28271f;--ct-dark-soft:#353429;--ct-light-accent:#7f6744;--ct-dark-accent:#daccae;--ct-hero-radius:0;--ct-image-ratio:3 / 4}
body.site-theme-nordic_atelier {--ct-light-page:#f3f6f2;--ct-light-soft:#e5ebe2;--ct-dark-page:#1a2421;--ct-dark-surface:#27332d;--ct-dark-soft:#343f36;--ct-light-accent:#4d6c5f;--ct-dark-accent:#c1d9c9;--ct-hero-radius:12px;--ct-hero-inset:16px}
body.site-theme-gallery_house {--ct-light-page:#faf3ee;--ct-light-soft:#f0e2d9;--ct-dark-page:#231913;--ct-dark-surface:#31271f;--ct-dark-soft:#3f3127;--ct-light-accent:#98503b;--ct-dark-accent:#e5b6a1;--ct-hero-radius:0;--ct-image-ratio:3 / 4}
body.site-theme-studio_mono {--ct-light-page:#f5f5f2;--ct-light-soft:#e7e8e4;--ct-dark-page:#191b1c;--ct-dark-surface:#26292a;--ct-dark-soft:#35393a;--ct-light-accent:#30383b;--ct-dark-accent:#dce2df;--ct-hero-radius:0;--ct-image-ratio:1 / 1}
body.site-theme-editorial_motion {--ct-light-page:#f6f3fa;--ct-light-soft:#eae3f1;--ct-dark-page:#211a2a;--ct-dark-surface:#2d2637;--ct-dark-soft:#3c3144;--ct-light-accent:#76548f;--ct-dark-accent:#d7bddf;--ct-hero-radius:24px 0 24px 0;--ct-hero-inset:18px}
body.site-theme-neo_utility {--ct-light-page:#f2f5fa;--ct-light-soft:#e3eaf6;--ct-dark-page:#131e2d;--ct-dark-surface:#202e40;--ct-dark-soft:#303e50;--ct-light-accent:#315fad;--ct-dark-accent:#b6ccf5;--ct-hero-radius:16px;--ct-hero-inset:14px;--ct-image-ratio:1 / 1}
body.appearance-light[class*="site-theme-"] {
  --ct-page:var(--ct-light-page);--ct-surface:var(--ct-light-surface);--ct-soft:var(--ct-light-soft);
  --ct-text:var(--ct-light-text);--ct-muted:var(--ct-light-muted);
  --ct-accent:var(--ct-custom-accent-light,var(--ct-light-accent));--ct-on-accent:var(--ct-on-accent-light,#fff);
  --ct-line:rgba(25,38,47,.16);--ct-success:#216844;--ct-success-surface:#e5f1e8;
  --ct-shadow:0 16px 48px rgba(18,28,34,.09);color-scheme:light;
}
body.appearance-dark[class*="site-theme-"] {
  --ct-page:var(--ct-dark-page);--ct-surface:var(--ct-dark-surface);--ct-soft:var(--ct-dark-soft);
  --ct-text:var(--ct-dark-text);--ct-muted:var(--ct-dark-muted);
  --ct-accent:var(--ct-custom-accent-dark,var(--ct-dark-accent));--ct-on-accent:var(--ct-on-accent-dark,#000);
  --ct-line:rgba(225,235,240,.19);--ct-success:#ace2bc;--ct-success-surface:#223c2c;
  --ct-shadow:0 18px 52px rgba(0,0,0,.22);--ct-card-shadow:0 12px 35px rgba(0,0,0,.18);color-scheme:dark;
}
/* Bridge legacy components to the same semantic palette instead of maintaining
   another light/dark system for every older component. */
body[class*="site-theme-"][class*="appearance-"] {
  --ink:var(--ct-text);--slate:var(--ct-muted);--bone:var(--ct-surface);--cream:var(--ct-page);
  --line:var(--ct-line);--brass:var(--ct-accent);--cognac:var(--ct-accent);--cognac-dark:var(--ct-accent);
  --ct297-bg:var(--ct-page);--ct297-surface:var(--ct-surface);--ct297-surface-2:var(--ct-soft);
  --ct297-text:var(--ct-text);--ct297-muted:var(--ct-muted);--ct297-line:var(--ct-line);
  --ct297-accent:var(--ct-accent);--ct297-accent-strong:var(--ct-accent);--ct297-button:var(--ct-accent);--ct297-button-text:var(--ct-on-accent);
  --ct298-bg:var(--ct-page);--ct298-surface:var(--ct-surface);--ct298-surface2:var(--ct-soft);
  --ct298-text:var(--ct-text);--ct298-muted:var(--ct-muted);--ct298-line:var(--ct-line);--ct298-accent:var(--ct-accent);--ct298-hero:var(--ct-soft);
  --ct307-page:var(--ct-page);--ct307-surface:var(--ct-surface);--ct307-surface-2:var(--ct-soft);
  --ct307-text:var(--ct-text);--ct307-muted:var(--ct-muted);--ct307-line:var(--ct-line);--ct307-orange:var(--ct-accent);--ct307-green:var(--ct-success);
  --ct299-gap:var(--ct-gap);--ct299-card-radius:var(--ct-radius);
  background:var(--ct-page)!important;color:var(--ct-text)!important;
}
body[data-theme-heading-font="serif"] {--ct-heading:var(--ct-serif);--ct-heading-weight:400;--ct-heading-tracking:-.035em}
body[data-theme-heading-font="sans"] {--ct-heading:var(--ct-sans);--ct-heading-weight:650;--ct-heading-tracking:-.045em}
body[data-theme-heading-font="display"] {--ct-heading:var(--ct-display);--ct-heading-weight:800;--ct-heading-tracking:-.055em}
body[data-theme-button-style="square"] {--ct-button-radius:3px}
body[data-theme-button-style="soft"] {--ct-button-radius:12px}
body[data-theme-shadow-style="none"] {--ct-card-shadow:none}
body[data-theme-shadow-style="strong"] {--ct-card-shadow:var(--ct-shadow)}
body[class*="site-theme-"][class*="appearance-"] :is(.section-heading h2,.section-title,.cr-heading,.ct289-shop-head h1,.ct289-search-hero h1) {
  font-family:var(--ct-heading)!important;font-weight:var(--ct-heading-weight)!important;
  letter-spacing:var(--ct-heading-tracking);line-height:1.13;color:var(--ct-text)!important;text-wrap:balance;
}
body[class*="site-theme-"][class*="appearance-"] :is(.section-heading p,.spec-line,.cr-sub,.ct289-shop-head p,.ct289-search-hero p) {color:var(--ct-muted)!important;opacity:1!important;line-height:1.65}
body[class*="site-theme-"] .section-heading::after {background:var(--ct-accent)!important;width:48px;animation:none!important}
/* Header: one logo, flexible desktop controls, a deliberate mobile contract. */
body[class*="site-theme-"][class*="appearance-"] .site-header {background:var(--ct-surface)!important;color:var(--ct-text)!important;border-bottom:1px solid var(--ct-line)!important;backdrop-filter:none}
body[class*="site-theme-"] .site-header .header-inner {width:min(calc(100% - 48px),var(--theme-editor-content-width,1400px))!important;max-width:none!important;grid-template-columns:minmax(150px,190px) minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:0 24px!important;padding:14px 0 0!important;min-height:0!important}
body[class*="site-theme-"] .site-header .logo {grid-column:1!important;grid-row:1!important;justify-self:start!important;min-width:0;width:auto;font-family:'Fraunces',Georgia,serif!important;font-weight:800!important;letter-spacing:.01em!important;overflow:visible!important;text-overflow:clip!important}
body[class*="site-theme-"] .site-header .header-actions {grid-column:2!important;grid-row:1!important;position:static!important;inset:auto!important;margin:0!important;width:100%!important;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;max-width:none}
body[class*="site-theme-"] .site-header .search-wrap {flex:1 1 200px;min-width:170px;max-width:340px}
body[class*="site-theme-"] .site-header .search-input {width:100%!important;min-height:44px;background:var(--ct-soft)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line)!important;border-radius:12px!important;font-size:13px}
body[class*="site-theme-"] .site-header .main-nav {grid-column:1 / -1;grid-row:2;justify-content:center;gap:24px;min-width:0;min-height:48px;border-top:1px solid var(--ct-line);margin-top:12px}
body[class*="site-theme-"][class*="appearance-"] :is(.main-nav a,.header-actions a,.cart-icon-btn,.appearance-toggle,.header-luxe-cta,.market-selector) {color:var(--ct-text)!important;font-size:12px;line-height:1.35}
body[class*="site-theme-"] .site-header :is(.appearance-toggle,.cart-icon-btn,.market-selector,.header-luxe-cta) {min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px;border:1px solid var(--ct-line)!important;background:var(--ct-soft)!important;border-radius:10px;box-sizing:border-box}
body[class*="site-theme-"] .site-header .market-selector select {max-width:88px;font-size:11px;background:transparent!important;border:0!important}
body[class*="site-theme-"] .site-header .header-account-link {max-width:130px}
body[class*="site-theme-"] .announcement-bar {background:var(--ct-soft)!important;color:var(--ct-text)!important;border-bottom:1px solid var(--ct-line)!important;font-size:11px;letter-spacing:.06em}
body[class*="site-theme-"][class*="appearance-"] :is(.mega-menu-dropdown,.search-results,.mobile-menu-drawer,.ct-phone-country-list,.ct-country-menu) {background:var(--ct-surface)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important;box-shadow:var(--ct-shadow)!important}
body[class*="site-theme-"][class*="appearance-"] :is(.mega-menu-dropdown a,.search-results a,.mobile-menu-drawer a,.mobile-menu-drawer button,.mobile-menu-close) {color:var(--ct-text)!important}
body[class*="site-theme-"] :is(.cart-count-badge,#mobile-cart-count,#mobile-wishlist-count) {background:var(--ct-accent)!important;color:var(--ct-on-accent)!important;border:0!important;opacity:1}
/* Shared shopping surfaces, including real overlays and forms. */
body[class*="site-theme-"][class*="appearance-"] :is(.tag-card,.product-card,.category-card,.account-card,.account-auth-card,.account-otp-box,.ct289-filter-bar,.ct289-filter-popover,.filter-panel,.search-panel,.cart-drawer,.modal-content,.quick-view-modal,.qv-dialog,.ct-qv-panel,.luxury-product-info,.ct279-compare-shell) {background:var(--ct-surface)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line)!important;border-radius:var(--ct-radius)!important;box-shadow:var(--ct-card-shadow)!important}
body[class*="site-theme-"][class*="appearance-"] :is(.tag-card h3,.product-card h3,.account-card h2,.account-auth-card h1,.account-auth-card h2,.luxury-product-info h1,.modal-content h2,.cart-drawer h3) {color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),select,textarea) {background:var(--ct-surface)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line)!important;min-height:44px;border-radius:10px;caret-color:var(--ct-accent);font-size:16px}
body[class*="site-theme-"][class*="appearance-"] :is(input,textarea)::placeholder {color:var(--ct-muted)!important;opacity:1!important}
body[class*="site-theme-"] :is(input[type="checkbox"],input[type="radio"],input[type="range"]) {accent-color:var(--ct-accent)}
body[class*="site-theme-"][class*="appearance-"] :is(.btn-primary,button.btn-primary,.add-to-cart-btn,.pdp-add-btn,.pdp-buy-btn) {background:var(--ct-accent)!important;color:var(--ct-on-accent)!important;border:1px solid transparent!important;border-radius:var(--ct-button-radius)!important;box-shadow:none!important;min-height:46px;padding:12px 20px;font-family:var(--ct-sans)!important;font-size:13px!important;font-weight:750!important;letter-spacing:.015em!important;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.3;cursor:pointer}
body[class*="site-theme-"][class*="appearance-"] :is(.btn-secondary,.quick-view-btn,.wishlist-heart-btn,.qty-btn,.cart-remove-btn,.view-toggle-btn,.ct289-filter-chip,.ct289-sort-btn,.pdp-wishlist-btn,.compare-checkbox-label) {background:var(--ct-soft)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line)!important;border-radius:var(--ct-button-radius);min-height:42px;box-shadow:none!important;opacity:1!important}
body[class*="site-theme-"] :is(.btn-primary,.add-to-cart-btn):disabled {cursor:not-allowed;opacity:.65!important}
body[class*="site-theme-"] :is(.price,.product-price,.sale-price,.cart-total,.ct289-product-count) {color:var(--ct-text)!important;font-variant-numeric:tabular-nums;font-weight:750}
body[class*="site-theme-"] :is(.sale-price-old,.compare-price,.mrp) {color:var(--ct-muted)!important;font-weight:400}
body[class*="site-theme-"] :is(.offer-card,.pdp-offer-card,.promotion-card,.sale-price-tag) {background:var(--ct-success-surface)!important;color:var(--ct-success)!important;border-color:var(--ct-line)!important}
/* Catalog: actual product-card markup, also used by wishlists and suggestions. */
body[class*="site-theme-"] .product-grid {gap:var(--ct-gap)!important}
body[class*="site-theme-"] .product-grid .tag-card {padding:16px!important;display:flex;flex-direction:column;min-width:0;overflow:visible!important;transform:none!important;transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease}
body[class*="site-theme-"] .product-card-topline {display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:42px;margin-bottom:8px;position:relative;z-index:2}
body[class*="site-theme-"] .product-card-topline .product-badges {min-width:0;flex:1;display:flex;flex-wrap:wrap;gap:4px}
body[class*="site-theme-"] .product-card-topline .wishlist-heart-btn {position:static!important;flex:0 0 40px;width:40px;height:40px;padding:8px;display:grid;place-items:center;font-size:18px}
body[class*="site-theme-"] .wishlist-heart-btn.is-active {background:var(--ct-accent)!important;color:var(--ct-on-accent)!important;border-color:var(--ct-accent)!important}
body[class*="site-theme-"] .product-grid .tag-card > a {display:block;color:var(--ct-text)!important;text-decoration:none;flex:1;min-width:0}
body[class*="site-theme-"] .product-grid .tag-card .tag-image {aspect-ratio:var(--ct-image-ratio);height:auto!important;min-height:0!important;padding:8px;background:var(--ct-soft)!important;border-radius:max(0px,calc(var(--ct-radius) - 6px));position:relative;overflow:hidden;margin-bottom:16px}
body[class*="site-theme-"] .product-grid .tag-image img {height:100%!important;width:100%!important;object-fit:contain!important;mix-blend-mode:normal!important}
body[class*="site-theme-"] .product-grid .tag-card h3 {font-family:var(--ct-sans)!important;font-size:15px!important;font-weight:650!important;line-height:1.45!important;letter-spacing:-.01em;min-height:2.9em;margin:0 0 8px!important;overflow-wrap:anywhere}
body[class*="site-theme-"] .product-grid .tag-card .price {font-size:18px!important;margin:0 0 5px!important;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
body[class*="site-theme-"] .product-grid .tag-card .spec-line {font-size:12px!important;line-height:1.55;min-height:1.55em}
body[class*="site-theme-"] .compare-checkbox-label {display:flex;align-items:center;gap:8px;width:fit-content;padding:5px 10px;margin-top:14px;font-size:12px;cursor:pointer;user-select:none}
body[class*="site-theme-"] .compare-checkbox-label input {width:16px;height:16px}
body[class*="site-theme-"] .tag-card .card-actions {position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin-top:12px;padding:0!important;opacity:1!important;visibility:visible!important;transform:none!important}
body[class*="site-theme-"] .tag-card .card-actions .add-to-cart-btn {width:100%;padding:10px 8px;font-size:12px!important;min-width:0}
body[class*="site-theme-"] .tag-card .card-actions .quick-view-btn {width:44px;min-height:44px;display:grid;place-items:center;padding:0}
body[data-theme-card-style="editorial"] .product-grid .tag-card {box-shadow:none!important;border-radius:var(--ct-radius)!important}
body[data-theme-card-style="glass"] .product-grid .tag-card {background:var(--ct-surface)!important;border-top:2px solid var(--ct-accent)!important}
body.theme-product-layout-dense .product-grid .tag-card {padding:12px!important}
body.theme-product-layout-minimal .product-grid .tag-card {box-shadow:none!important;background:transparent!important;border-color:transparent!important}
body.theme-product-layout-image_first .product-grid .tag-image {padding:0;background:var(--ct-soft)!important}
/* Product hero: composition changes, but assets and brand remain identical. */
body[class*="site-theme-"][class*="appearance-"] .hero.ck-featured-hero {margin:var(--ct-hero-inset)!important;width:calc(100% - var(--ct-hero-inset)*2)!important;padding:0!important;min-height:0!important;border-radius:var(--ct-hero-radius)!important;clip-path:none!important;background:var(--ct-soft)!important;color:var(--ct-text)!important;border:0;isolation:isolate;overflow:hidden}
body[class*="site-theme-"] .ck-featured-hero::before {background:radial-gradient(ellipse at 90% 5%,color-mix(in srgb,var(--ct-accent) 12%,transparent),transparent 55%)!important;z-index:0!important}
body[class*="site-theme-"] .ck-featured-hero::after {animation:none!important;background:none!important}
body[class*="site-theme-"] .ck-featured-hero__inner {width:min(100%,var(--theme-editor-content-width,1400px))!important;max-width:none!important;min-height:min(690px,var(--theme-editor-hero-height,680px))!important;display:grid!important;grid-template-columns:var(--ct-hero-columns)!important;gap:clamp(28px,4vw,64px)!important;padding:clamp(44px,6vw,88px) clamp(24px,4vw,56px)!important;align-items:center;box-sizing:border-box}
body[class*="site-theme-"] .ck-featured-hero__copy {max-width:650px;min-width:0;z-index:2}
body[class*="site-theme-"] .ck-featured-hero__copy h1 {font-family:var(--ct-heading)!important;font-weight:var(--ct-heading-weight)!important;font-size:clamp(2.7rem,5.2vw,5.7rem)!important;line-height:1.04!important;letter-spacing:var(--ct-heading-tracking)!important;max-width:12ch!important;margin:16px 0 22px!important;color:var(--ct-text)!important;text-wrap:balance;text-transform:none!important;animation:none!important}
body[class*="site-theme-"] .ck-featured-hero__copy .sub {max-width:45ch;font-size:16px!important;line-height:1.7!important;color:var(--ct-muted)!important;opacity:1!important;margin:0 0 28px!important}
body[class*="site-theme-"] :is(.hero-eyebrow,.cr-eyebrow) {color:var(--ct-accent)!important;opacity:1!important;font:700 11px/1.5 var(--ct-sans)!important;letter-spacing:.14em;text-transform:uppercase}
body[class*="site-theme-"] .ck-featured-hero__products {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0;align-items:center}
body[class*="site-theme-"] .ck-featured-card {border-radius:var(--ct-radius)!important;border:1px solid var(--ct-line)!important;padding:12px!important;background:var(--ct-surface)!important;color:var(--ct-text)!important;box-shadow:var(--ct-card-shadow)!important;transform:none!important;overflow:hidden;transition:transform .25s ease}
body[class*="site-theme-"] .ck-featured-card__image {aspect-ratio:3 / 4;margin-bottom:12px;background:var(--ct-soft);border-radius:max(0px,calc(var(--ct-radius) - 6px))}
body[class*="site-theme-"] .ck-featured-card__image img {object-fit:contain!important;mix-blend-mode:normal!important}
body[class*="site-theme-"] .ck-featured-card h3 {font-family:var(--ct-sans)!important;font-size:13px!important;font-weight:650;line-height:1.4!important;min-height:2.8em;margin-bottom:5px;color:var(--ct-text)!important}
body[class*="site-theme-"] .ck-featured-card .price {font-size:13px!important;color:var(--ct-text)!important}
body.theme-hero-layout-centered .ck-featured-hero__inner {grid-template-columns:1fr!important;text-align:center;gap:32px!important}
body.theme-hero-layout-centered .ck-featured-hero__copy {max-width:800px;margin:auto}
body.theme-hero-layout-centered .ck-featured-hero__copy h1 {max-width:18ch!important;margin-inline:auto!important}
body.theme-hero-layout-centered .ck-featured-hero__copy .sub {margin-inline:auto!important;max-width:55ch}
body.theme-hero-layout-centered .ck-featured-hero__products {width:min(100%,850px);margin:auto}
body.theme-hero-layout-centered .ck-featured-card__image {aspect-ratio:1 / 1;max-height:190px}
body.theme-hero-layout-asymmetric .ck-featured-hero__inner {--ct-hero-columns:.85fr 1.15fr}
body.theme-hero-layout-asymmetric .ck-featured-hero__products {grid-template-columns:1.35fr .8fr;grid-template-rows:1fr 1fr;align-items:stretch;gap:12px}
body.theme-hero-layout-asymmetric .ck-featured-card:first-child {grid-row:1 / 3;justify-content:center}
body.theme-hero-layout-asymmetric .ck-featured-card:not(:first-child) .ck-featured-card__image {aspect-ratio:1 / 1;max-height:135px}
body.theme-hero-layout-collage .ck-featured-card:nth-child(2) {margin-top:48px}
body.theme-hero-layout-collage .ck-featured-card:nth-child(3) {margin-top:88px}
body.theme-hero-layout-full_bleed .ck-featured-hero__inner {--ct-hero-columns:.85fr 1.15fr;min-height:660px!important}
body.site-theme-gallery_house .ck-featured-hero__products {grid-template-columns:1.5fr 1fr}
body.site-theme-gallery_house .ck-featured-card:first-child {grid-column:1;grid-row:1 / 3}
body.site-theme-monochrome .ck-featured-hero__copy h1,body.site-theme-studio_mono .ck-featured-hero__copy h1 {text-transform:uppercase!important;font-weight:800!important}
body.site-theme-broadcast_editorial .section-heading {border-bottom:2px solid var(--ct-text);padding-bottom:16px}
body.site-theme-apex_atelier .ck-featured-hero__copy h1 {font-style:italic}
body.site-theme-quiet_luxury .ck-featured-hero__inner {gap:72px!important}
/* Actual CMS image/video heroes use a readable copy panel over arbitrary photos. */
body[class*="site-theme-"] .premium-hero {border-radius:var(--ct-hero-radius)!important;margin:var(--ct-hero-inset);min-height:0!important;background:#101418!important;position:relative}
body[class*="site-theme-"] .premium-hero .hero-slide {min-height:clamp(480px,70vh,780px);padding:48px 64px 96px;box-sizing:border-box;align-items:center}
body[class*="site-theme-"] .premium-hero .hero-content {width:min(100%,720px)!important;max-width:720px!important;margin:0!important;padding:36px!important;background:rgba(6,10,14,.88);border:1px solid rgba(255,255,255,.18);border-radius:var(--ct-radius);color:#fff!important;box-sizing:border-box;box-shadow:0 24px 60px rgba(0,0,0,.2)}
body[class*="site-theme-"] .premium-hero .hero-title {font:var(--ct-heading-weight) clamp(2.5rem,5vw,5.5rem)/1.07 var(--ct-heading)!important;letter-spacing:var(--ct-heading-tracking);color:#fff!important;max-width:16ch;margin:16px 0 22px;text-transform:none;overflow-wrap:anywhere}
body[class*="site-theme-"] .premium-hero :is(.hero-content p,.hero-eyebrow,.hero-secondary) {color:#f1f3f5!important;opacity:1!important;line-height:1.65}
body[class*="site-theme-"] .premium-hero .hero-cta-primary {background:var(--ct-custom-accent-dark,var(--ct-dark-accent))!important;color:var(--ct-on-accent-dark,#000)!important;border-radius:var(--ct-button-radius)!important;font:750 13px/1.3 var(--ct-sans)!important;letter-spacing:0;text-transform:none;box-shadow:none!important}
body[class*="site-theme-"] .premium-hero .hero-cta-primary::after {animation:none!important;content:none}
body[class*="site-theme-"] .premium-hero :is(.hero-arrow,.hero-pause,.hero-secondary) {background:#182029!important;color:#fff!important;border:1px solid #89949f;border-radius:var(--ct-button-radius);min-height:44px;cursor:pointer}
body[class*="site-theme-"] .premium-hero .hero-arrow {border-radius:50%;width:44px;height:44px}
body[class*="site-theme-"] .premium-hero .hero-dots {bottom:24px;gap:4px}
body[class*="site-theme-"] .premium-hero .hero-dot {width:32px;height:32px;padding:12px 0;background:transparent;border:0;position:relative}
body[class*="site-theme-"] .premium-hero .hero-dot::after {content:'';display:block;width:24px;height:4px;margin:auto;border-radius:4px;background:#bac2cb}
body[class*="site-theme-"] .premium-hero .hero-dot.is-active::after {background:#fff}
body[class*="site-theme-"] .premium-hero .hero-pause {position:absolute;bottom:20px;right:24px;z-index:3;padding:9px 14px;font-size:12px}
body.theme-hero-layout-centered .premium-hero .hero-slide {justify-content:center}
body.theme-hero-layout-centered .premium-hero .hero-content {text-align:center}
body.theme-hero-layout-centered .premium-hero .hero-actions {justify-content:center}
body.theme-hero-layout-asymmetric .premium-hero .hero-content {margin-left:6%!important}
/* Discovery routes through the existing catalog and Bag Finder. */
body[class*="site-theme-"] .home-experience-rail {padding:var(--theme-editor-section-spacing,80px) 24px;background:var(--ct-page)!important}
body[class*="site-theme-"] .home-experience-inner {max-width:var(--theme-editor-content-width,1400px)}
body[class*="site-theme-"] .cr-discovery-grid {gap:var(--ct-gap)}
body[class*="site-theme-"] :is(.cr-discovery-card,.cr-benefit) {background:var(--ct-surface)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line)!important;border-radius:var(--ct-radius)!important;box-shadow:none;min-width:0}
body[class*="site-theme-"] :is(.cr-discovery-card span,.cr-benefit span) {opacity:1!important;color:var(--ct-muted)!important;font-size:13px;line-height:1.65}
body[class*="site-theme-"] .cr-finder-panel {background:var(--ct-soft)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line);border-radius:var(--ct-radius);box-shadow:none;padding:32px}
body[class*="site-theme-"] .cr-finder-panel h3 {font:var(--ct-heading-weight) clamp(1.8rem,3vw,2.7rem)/1.15 var(--ct-heading);margin:12px 0}
body[class*="site-theme-"] .cr-finder-panel p {opacity:1!important;color:var(--ct-muted)!important;line-height:1.7}
body[class*="site-theme-"] .cr-finder-actions {margin-top:24px}
/* Footer remains its own readable surface in every mode. */
body[class*="site-theme-"][class*="appearance-"] .site-footer {background:var(--ct-dark-page)!important;color:#eef1ed!important;border-top:1px solid rgba(255,255,255,.18)!important}
body[class*="site-theme-"] .site-footer :is(h3,h4,strong,.footer-brand) {color:#f7f7f3!important}
body[class*="site-theme-"] .site-footer :is(a,p,small,span) {color:#c9d1ce!important;opacity:1}
body.theme-footer-light .site-footer {background:var(--ct-surface)!important;color:var(--ct-text)!important}
body.theme-footer-light .site-footer :is(a,p,small,span,h3,h4,strong,.footer-brand) {color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] :focus-visible {outline:3px solid var(--ct-accent)!important;outline-offset:4px!important}
body[class*="site-theme-"] .premium-hero :focus-visible {outline-color:#fff!important}
body[class*="site-theme-"] .site-footer :focus-visible {outline-color:#fff!important}
@media (hover:hover) and (pointer:fine) {
  body[class*="site-theme-"] .product-grid .tag-card:hover {transform:translateY(-4px)!important;border-color:var(--ct-accent)!important;box-shadow:var(--ct-shadow)!important}
  body.theme-product-layout-minimal .product-grid .tag-card:hover {border-color:var(--ct-line)!important}
  body[class*="site-theme-"] :is(.btn-primary,.add-to-cart-btn):hover {filter:brightness(.96);transform:translateY(-1px)}
  body[class*="site-theme-"] .ck-featured-card:hover {transform:translateY(-4px)!important}
}
@media (max-width:1100px) {
  body[class*="site-theme-"] .site-header .header-inner {gap:0 16px!important}
  body[class*="site-theme-"] .site-header .header-actions {gap:6px}
  body[class*="site-theme-"] .site-header .main-nav {gap:16px}
  body[class*="site-theme-"] .product-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[class*="site-theme-"] .ck-featured-hero__inner {min-height:0!important;padding:48px 24px!important;gap:28px!important}
  body[class*="site-theme-"] .ck-featured-hero__copy h1 {font-size:clamp(2.7rem,5.5vw,4.5rem)!important}
  body[class*="site-theme-"] .ck-featured-card {padding:9px!important}
}
@media (max-width:1099px) {
  body[class*="site-theme-"] .site-header .header-inner {width:calc(100% - 24px)!important;grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-rows:60px!important;gap:6px!important;padding:0!important;min-height:60px!important}
  body[class*="site-theme-"] .site-header .logo {grid-column:2!important;grid-row:1!important;justify-self:start!important;max-width:100%!important;font-size:clamp(17px,5.2vw,22px)!important;line-height:1!important}
  body[class*="site-theme-"] .site-header .logo img {max-width:100%!important;max-height:40px!important;object-fit:contain}
  body[class*="site-theme-"] .site-header .brand-logo-stage {max-width:100%}
  body[class*="site-theme-"] .site-header .mobile-menu-toggle {grid-column:1;grid-row:1;width:40px;height:44px;color:var(--ct-text)!important;background:transparent!important;border:0!important}
  body[class*="site-theme-"] .site-header .mobile-menu-toggle span {background:var(--ct-text)!important}
  body[class*="site-theme-"] .site-header .mobile-header-actions {grid-column:3;grid-row:1;display:flex!important;gap:2px}
  body[class*="site-theme-"] .site-header .mobile-header-actions :is(a,button) {position:relative;min-width:40px;min-height:44px;background:transparent!important;color:var(--ct-text)!important;border:0!important;padding:6px!important;display:grid;place-items:center;box-shadow:none!important}
  body[class*="site-theme-"] .site-header :is(.header-actions,.main-nav) {display:none!important}
}
@media (max-width:767px) {
  body[class*="site-theme-"] .hero.ck-featured-hero {margin:10px!important;width:calc(100% - 20px)!important;border-radius:min(24px,var(--ct-radius))!important}
  body[class*="site-theme-"] .ck-featured-hero__inner {grid-template-columns:1fr!important;gap:28px!important;padding:36px 20px!important;min-height:0!important;text-align:left}
  body[class*="site-theme-"] .ck-featured-hero__copy {margin:0;max-width:100%!important}
  body[class*="site-theme-"] .ck-featured-hero__copy h1 {font-size:clamp(2.3rem,10vw,3.8rem)!important;max-width:14ch!important;margin:12px 0 18px!important}
  body[class*="site-theme-"] .ck-featured-hero__copy .sub {font-size:15px!important;margin:0 0 22px!important;max-width:100%}
  body[class*="site-theme-"] .ck-featured-hero__products {width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:8px!important;margin:0!important;align-items:start}
  body[class*="site-theme-"] .ck-featured-card {grid-column:auto!important;grid-row:auto!important;margin:0!important;padding:7px!important;min-height:0!important}
  body[class*="site-theme-"] .ck-featured-card .ck-featured-card__image {aspect-ratio:3 / 4!important;max-height:none!important;margin-bottom:9px}
  body[class*="site-theme-"] .ck-featured-card h3 {font-size:12px!important;line-height:1.4!important;min-height:2.8em}
  body[class*="site-theme-"] .ck-featured-card .price {font-size:12px!important}
  body[class*="site-theme-"] .product-grid {width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body[data-theme-mobile-two-col="0"] .product-grid {grid-template-columns:1fr!important}
  body[class*="site-theme-"] .product-grid .tag-card {padding:10px!important}
  body[class*="site-theme-"] .product-grid .tag-card h3 {font-size:13px!important}
  body[class*="site-theme-"] .product-grid .tag-card .price {font-size:16px!important}
  body[class*="site-theme-"] .product-grid .tag-card .tag-image {margin-bottom:12px}
  body[class*="site-theme-"] .tag-card .card-actions {grid-template-columns:minmax(0,1fr) 40px;gap:5px}
  body[class*="site-theme-"] .tag-card .card-actions .quick-view-btn {width:40px}
  body[class*="site-theme-"] .tag-card .card-actions .add-to-cart-btn {font-size:11px!important;padding:10px 5px}
  body[class*="site-theme-"] .premium-hero .hero-slide {padding:28px 18px 92px;min-height:560px}
  body[class*="site-theme-"] .premium-hero .hero-content {padding:24px!important;max-width:100%!important;margin-left:0!important}
  body[class*="site-theme-"] .premium-hero .hero-title {font-size:clamp(2.15rem,9vw,3.4rem)!important}
  body[class*="site-theme-"] .premium-hero .hero-arrow {top:auto;bottom:22px;transform:none;z-index:4}
  body[class*="site-theme-"] .premium-hero .hero-prev {left:18px}
  body[class*="site-theme-"] .premium-hero .hero-next {left:70px;right:auto}
  body[class*="site-theme-"] .premium-hero .hero-dots {left:50%;max-width:calc(100% - 220px);overflow:auto;transform:translateX(-50%);bottom:26px}
  body[class*="site-theme-"] .premium-hero .hero-pause {right:18px}
  body[class*="site-theme-"] .home-experience-rail {padding:48px 16px}
  body[class*="site-theme-"] .cr-discovery-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body[class*="site-theme-"] .cr-discovery-card {min-height:160px;padding:18px}
  body[class*="site-theme-"] .cr-discovery-card strong {font-size:15px}
  body[class*="site-theme-"] .cr-finder {grid-template-columns:1fr}
  body[class*="site-theme-"] .cr-finder-panel {padding:24px}
  body[class*="site-theme-"] .cr-finder-benefits {grid-template-columns:repeat(2,minmax(0,1fr))}
  body[class*="site-theme-"] .cr-benefit {padding:16px}
}
@media (max-width:359px) {
  body[class*="site-theme-"] .site-header .mobile-header-actions :is(a,button) {min-width:36px}
  body[class*="site-theme-"] .ck-featured-hero__inner {padding:30px 16px!important}
  body[class*="site-theme-"] .cr-discovery-grid {grid-template-columns:1fr}
  body[class*="site-theme-"] .cr-finder-benefits {grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce) {
  body[class*="site-theme-"] *,body[class*="site-theme-"] *::before,body[class*="site-theme-"] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
  body[class*="site-theme-"] .product-grid .tag-card:hover,body[class*="site-theme-"] .ck-featured-card:hover {transform:none!important}
}
body[data-theme-reduced-motion="1"] *,body[data-theme-reduced-motion="1"] *::before,body[data-theme-reduced-motion="1"] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
body[class*="site-theme-"] .premium-hero .hero-track {display:flex;width:100%;transition:transform .65s cubic-bezier(.22,.61,.36,1)}
body[class*="site-theme-"] .premium-hero .hero-slide {position:relative;min-width:100%;display:flex;isolation:isolate}
body[class*="site-theme-"] .premium-hero :is(.hero-media,.hero-media picture,.hero-media img,.hero-media video) {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body[class*="site-theme-"] .premium-hero .hero-overlay {position:absolute;inset:0;background:#000;z-index:1}
body[class*="site-theme-"] .premium-hero .hero-content {position:relative;z-index:2}
body[class*="site-theme-"] .premium-hero .hero-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px}
body[class*="site-theme-"] .premium-hero .hero-secondary {text-decoration:none;padding:12px 20px}
body[class*="site-theme-"] .premium-hero .hero-arrow {position:absolute;z-index:3;top:50%;transform:translateY(-50%)}
body[class*="site-theme-"] .premium-hero .hero-prev {left:14px}
body[class*="site-theme-"] .premium-hero .hero-next {right:14px}
body[class*="site-theme-"] .premium-hero .hero-dots {position:absolute;z-index:3;left:50%;transform:translateX(-50%);display:flex}
body[class*="site-theme-"] .ck-featured-hero--copy .ck-featured-hero__inner {grid-template-columns:1fr!important}
@media(max-width:767px) {
  body[class*="site-theme-"] .premium-hero .hero-arrow {top:auto;bottom:22px;transform:none}
  body[class*="site-theme-"] .premium-hero .hero-prev {left:18px}
  body[class*="site-theme-"] .premium-hero .hero-next {left:70px;right:auto}
}
/* Component-level contrast survives legacy rules with stronger selectors. */
body[class*="site-theme-"][class*="appearance-"] .ck-featured-hero .ck-featured-card .price {color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] .ck-featured-hero .btn-primary {background:var(--ct-accent)!important;color:var(--ct-on-accent)!important;box-shadow:none!important;border-radius:var(--ct-button-radius)!important}
body[class*="site-theme-"][class*="appearance-"] .site-footer .footer-inner :is(a,p,li,span,small,.footer-contact) {color:#c9d1ce!important;opacity:1!important}
body[class*="site-theme-"][class*="appearance-"] .site-footer .footer-inner :is(h4,h3,strong) {color:#f7f7f3!important;opacity:1!important}
body[class*="site-theme-"].theme-footer-light[class*="appearance-"] .site-footer .footer-inner :is(a,p,li,span,small,h4,h3,strong,.footer-contact) {color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] :is(.home-faq,.marketplace-band,.market-band) {background:var(--ct-soft)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important}
body[class*="site-theme-"][class*="appearance-"] :is(.home-faq-heading p,.home-faq-kicker,.home-faq-answer) {color:var(--ct-muted)!important;opacity:1!important}
body[class*="site-theme-"][class*="appearance-"] .home-faq-heading h2 {font-family:var(--ct-heading)!important;font-weight:var(--ct-heading-weight)!important;color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] .home-faq-item {background:var(--ct-surface)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important;border-radius:var(--ct-radius);box-shadow:none}
body[class*="site-theme-"][class*="appearance-"] :is(.marketplace-band,.market-band) :is(a,span,strong,small,p) {color:var(--ct-muted)!important;opacity:1!important}
body[class*="site-theme-"][class*="appearance-"] #quick-view-modal .qv-modal {background:var(--ct-surface)!important;color:var(--ct-text)!important;border:1px solid var(--ct-line)!important;border-radius:var(--ct-radius)!important;box-shadow:var(--ct-shadow)!important;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}
body[class*="site-theme-"][class*="appearance-"] #quick-view-modal .qv-content :is(h3,.price,.ct269-qv-link) {color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] #quick-view-modal .qv-content .ct269-qv-copy {color:var(--ct-muted)!important;opacity:1!important}
body[class*="site-theme-"][class*="appearance-"] :is(.home-feature-card,.home-quote,.home-tile,.home-product-tile,.home-trust-item,.home-split,.home-newsletter) {background:var(--ct-surface)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important;border-radius:var(--ct-radius)}
body[class*="site-theme-"][class*="appearance-"] .home-custom-head :is(h2,h3) {font-family:var(--ct-heading);color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] .home-custom :is(p,small) {color:var(--ct-muted)!important;opacity:1!important}
body[class*="site-theme-"] .cr-discovery-icon {display:grid!important;place-items:center;width:40px;height:40px;border:1px solid var(--ct-line);border-radius:12px;background:var(--ct-soft);color:var(--ct-accent)!important}
body[class*="site-theme-"] .cr-discovery-icon svg {width:24px;height:24px}
body[class*="site-theme-"][class*="appearance-"] .ck-featured-hero .ck-featured-hero__copy .hero-eyebrow {color:var(--ct-accent)!important}
body[class*="site-theme-"][class*="appearance-"] .product-grid .tag-card .card-actions .add-to-cart-btn {background:var(--ct-accent)!important;color:var(--ct-on-accent)!important}
body[class*="site-theme-"][class*="appearance-"] .site-footer .footer-bottom {color:#c9d1ce!important;opacity:1!important}
body[class*="site-theme-"][class*="appearance-"] .site-header .header-actions .header-account-link {background:var(--ct-soft)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important}
/* Foreground and surface switch together; legacy colour transitions must not
   leave light text on a light header during an appearance change. */
body[class*="site-theme-"] .site-header,
body[class*="site-theme-"] .site-header * {transition-property:transform,box-shadow,border-color!important}
body[class*="site-theme-"][class*="appearance-"] #ct-delivery-promise .ct-pincode-row .btn-secondary {background:var(--ct-soft)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important}
body[class*="site-theme-"][class*="appearance-"] .site-header .main-nav a {background:transparent!important;color:var(--ct-text)!important}
body[class*="site-theme-"][class*="appearance-"] .ck-featured-hero .ck-featured-hero__copy .btn-primary {background:var(--ct-accent)!important;color:var(--ct-on-accent)!important}
body[class*="site-theme-"][class*="appearance-"] :is(.marketplace-band,.market-band) .marketplace-label {color:var(--ct-muted)!important;opacity:1!important}
body[class*="site-theme-"][class*="appearance-"] .product-grid .tag-card .card-actions .add-to-cart-btn {color:var(--ct-on-accent)!important;-webkit-text-fill-color:var(--ct-on-accent)!important;background-color:var(--ct-accent)!important}
body[class*="site-theme-"][class*="appearance-"] .ck-featured-hero .ck-featured-hero__copy .btn-primary {color:var(--ct-on-accent)!important;-webkit-text-fill-color:var(--ct-on-accent)!important}
body[class*="site-theme-"][class*="appearance-"] .ct289-shop-page .ct289-shop-head :is(h1,p) {color:var(--ct-text)!important;opacity:1!important}
/* Preserve mobile support placement from the merged V274 presentation layer. */
@media(max-width:760px) {
  #live-chat-widget.cr-support-widget,
  #live-chat-widget.cr-support-widget > #chat-toggle-btn.cr-chat-toggle {right:14px!important;bottom:92px!important}
  #live-chat-widget.cr-support-widget > .cr-support-greeting {right:14px!important;bottom:160px!important}
  #chat-window.cr-chat-window {bottom:86px!important;max-height:calc(100dvh - 104px)!important}
  body[data-theme-sticky-mobile-nav="1"] #storefront-home {padding-bottom:18px!important}
}

/* Navigation compositions retain every existing commerce control. */
@media(min-width:1100px){
 body[class*="site-theme-"] .site-header .logo{font-size:30px!important;line-height:1!important;letter-spacing:.01em!important;max-width:190px}
 body[class*="site-theme-"] .site-header .brand-logo-stage{max-width:100%;box-sizing:border-box}
 body[class*="site-theme-"] .site-header .logo img{max-width:100%!important}
 body.theme-nav-layout-floating .site-header .main-nav{width:fit-content;max-width:100%;justify-self:center;border:1px solid var(--ct-line);border-radius:999px;padding:0 22px;background:var(--ct-soft);margin-bottom:12px}
 body.theme-nav-layout-minimal .site-header .main-nav{border-top:0;gap:32px;min-height:54px}
 body.theme-nav-layout-minimal .site-header .main-nav a{letter-spacing:.12em!important;font-size:10px!important}
 body.theme-nav-layout-classic .site-header .main-nav{justify-content:flex-start;gap:22px;min-height:44px}
}

body[class*="site-theme-"] #mobile-cart-open-btn svg{width:22px;height:22px;flex:none}
body[class*="site-theme-"][class*="appearance-"] .mobile-store-nav {background:var(--ct-surface)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important}
body[class*="site-theme-"][class*="appearance-"] .mobile-store-nav a {color:var(--ct-muted)!important;transition:transform .18s ease!important}
body[class*="site-theme-"][class*="appearance-"] .mobile-store-nav a.active {color:var(--ct-accent)!important;background:var(--ct-soft)!important;border-radius:10px}
body[class*="site-theme-"][class*="appearance-"] .mobile-store-nav a :is(strong,span) {color:inherit!important}
/* This reward panel retains its dark metallic surface in both appearances. */
body[class*="site-theme-"][class*="appearance-"] .ct-coins-card {background:linear-gradient(135deg,#17211f,#2d261c)!important;background-color:#17211f!important;color:#f7f6ef!important}
body[class*="site-theme-"][class*="appearance-"] .ct-coins-card .ct-coins-copy strong {color:#f7f6ef!important}
body[class*="site-theme-"][class*="appearance-"] .ct-coins-card .ct-coins-copy small {color:#c5cec8!important;opacity:1!important}
