/*
 * Comfortrek V297 — Premium Storefront Theme System
 *
 * Final theme layer: intentionally loaded after legacy/theme rules.
 * Goals:
 * - every storefront theme gets a coherent visual system, not just a color swap
 * - dark mode stays genuinely dark and uses theme-specific surfaces
 * - light mode uses high-contrast readable surfaces
 * - consistent motion, hover/focus states and responsive behavior
 * - no database dependency; presentation-only
 */

  body[class*="site-theme-"]{
    --ct297-bg:#111315;
    --ct297-surface:#191c1f;
    --ct297-surface-2:#202428;
    --ct297-text:#f6f2ea;
    --ct297-muted:#b7b8b7;
    --ct297-line:rgba(255,255,255,.12);
    --ct297-accent:#c7a46a;
    --ct297-accent-strong:#e2c27d;
    --ct297-button:#f1d08c;
    --ct297-button-text:#171512;
    --ct297-shadow:0 24px 80px rgba(0,0,0,.26);
    --ct297-radius:22px;
    --ct297-ease:cubic-bezier(.2,.75,.2,1);
    background:var(--ct297-bg)!important;
    color:var(--ct297-text)!important;
    color-scheme:dark;
    transition:background-color .35s ease,color .35s ease;
  }

  /* -------- DARK MODE: real theme surfaces, never accidental white -------- */
  body.appearance-dark[class*="site-theme-"]{
    background:var(--ct297-bg)!important;
    color:var(--ct297-text)!important;
  }
  body.appearance-dark[class*="site-theme-"] main,
  body.appearance-dark[class*="site-theme-"] .page,
  body.appearance-dark[class*="site-theme-"] .content,
  body.appearance-dark[class*="site-theme-"] section:not(.hero){
    color:var(--ct297-text);
  }
  body.appearance-dark[class*="site-theme-"] .tag-card,
  body.appearance-dark[class*="site-theme-"] .product-card,
  body.appearance-dark[class*="site-theme-"] .category-card,
  body.appearance-dark[class*="site-theme-"] .filter-panel,
  body.appearance-dark[class*="site-theme-"] .search-panel,
  body.appearance-dark[class*="site-theme-"] .modal-content,
  body.appearance-dark[class*="site-theme-"] .drawer,
  body.appearance-dark[class*="site-theme-"] .cart-drawer,
  body.appearance-dark[class*="site-theme-"] .account-card,
  body.appearance-dark[class*="site-theme-"] .luxury-product-info{
    background:linear-gradient(145deg,var(--ct297-surface),var(--ct297-surface-2))!important;
    color:var(--ct297-text)!important;
    border-color:var(--ct297-line)!important;
    box-shadow:var(--ct297-shadow)!important;
  }
  body.appearance-dark[class*="site-theme-"] .tag-card h1,
  body.appearance-dark[class*="site-theme-"] .tag-card h2,
  body.appearance-dark[class*="site-theme-"] .tag-card h3,
  body.appearance-dark[class*="site-theme-"] .product-card h1,
  body.appearance-dark[class*="site-theme-"] .product-card h2,
  body.appearance-dark[class*="site-theme-"] .product-card h3,
  body.appearance-dark[class*="site-theme-"] .account-card h1,
  body.appearance-dark[class*="site-theme-"] .account-card h2,
  body.appearance-dark[class*="site-theme-"] .account-card h3{color:var(--ct297-text)!important}
  body.appearance-dark[class*="site-theme-"] .tag-card small,
  body.appearance-dark[class*="site-theme-"] .product-card small,
  body.appearance-dark[class*="site-theme-"] .tag-card .spec-line,
  body.appearance-dark[class*="site-theme-"] .product-card .spec-line,
  body.appearance-dark[class*="site-theme-"] .muted,
  body.appearance-dark[class*="site-theme-"] .secondary-text{color:var(--ct297-muted)!important}

  body.appearance-dark[class*="site-theme-"] input,
  body.appearance-dark[class*="site-theme-"] textarea,
  body.appearance-dark[class*="site-theme-"] select,
  body.appearance-dark[class*="site-theme-"] .search-input{
    background:var(--ct297-surface)!important;
    color:var(--ct297-text)!important;
    border-color:var(--ct297-line)!important;
    caret-color:var(--ct297-accent-strong);
  }
  body.appearance-dark[class*="site-theme-"] input::placeholder,
  body.appearance-dark[class*="site-theme-"] textarea::placeholder{color:#969b9e!important;opacity:1}
  body.appearance-dark[class*="site-theme-"] .site-footer{background:#0b0d0f!important;color:#d7d3ca!important}

  /* -------- LIGHT MODE: warm/cool paper surfaces with readable ink -------- */
  body.appearance-light[class*="site-theme-"]{
    --ct297-bg:#f4f1ea;
    --ct297-surface:#fffdf8;
    --ct297-surface-2:#f6f2e9;
    --ct297-text:#17191b;
    --ct297-muted:#5e6367;
    --ct297-line:rgba(24,28,31,.14);
    --ct297-shadow:0 22px 65px rgba(28,28,25,.10);
    background:var(--ct297-bg)!important;
    color:var(--ct297-text)!important;
    color-scheme:light;
  }
  body.appearance-light[class*="site-theme-"] .tag-card,
  body.appearance-light[class*="site-theme-"] .product-card,
  body.appearance-light[class*="site-theme-"] .category-card,
  body.appearance-light[class*="site-theme-"] .filter-panel,
  body.appearance-light[class*="site-theme-"] .search-panel,
  body.appearance-light[class*="site-theme-"] .modal-content,
  body.appearance-light[class*="site-theme-"] .drawer,
  body.appearance-light[class*="site-theme-"] .account-card,
  body.appearance-light[class*="site-theme-"] .luxury-product-info{
    background:linear-gradient(145deg,var(--ct297-surface),var(--ct297-surface-2))!important;
    color:var(--ct297-text)!important;
    border-color:var(--ct297-line)!important;
    box-shadow:var(--ct297-shadow)!important;
  }
  body.appearance-light[class*="site-theme-"] .tag-card h1,
  body.appearance-light[class*="site-theme-"] .tag-card h2,
  body.appearance-light[class*="site-theme-"] .tag-card h3,
  body.appearance-light[class*="site-theme-"] .product-card h1,
  body.appearance-light[class*="site-theme-"] .product-card h2,
  body.appearance-light[class*="site-theme-"] .product-card h3{color:var(--ct297-text)!important}
  body.appearance-light[class*="site-theme-"] .tag-card small,
  body.appearance-light[class*="site-theme-"] .product-card small,
  body.appearance-light[class*="site-theme-"] .tag-card .spec-line,
  body.appearance-light[class*="site-theme-"] .product-card .spec-line{color:var(--ct297-muted)!important}
  body.appearance-light[class*="site-theme-"] input,
  body.appearance-light[class*="site-theme-"] textarea,
  body.appearance-light[class*="site-theme-"] select,
  body.appearance-light[class*="site-theme-"] .search-input{background:#fffdf9!important;color:#17191b!important;border-color:var(--ct297-line)!important}
  body.appearance-light[class*="site-theme-"] input::placeholder,
  body.appearance-light[class*="site-theme-"] textarea::placeholder{color:#74797c!important;opacity:1}

  /* -------- Shared premium interaction layer -------- */
  body[class*="site-theme-"] .tag-card,
  body[class*="site-theme-"] .product-card,
  body[class*="site-theme-"] .category-card,
  body[class*="site-theme-"] .btn-primary,
  body[class*="site-theme-"] .btn-secondary,
  body[class*="site-theme-"] button,
  body[class*="site-theme-"] a{transition:transform .34s var(--ct297-ease),box-shadow .34s var(--ct297-ease),border-color .25s ease,background-color .25s ease,color .25s ease,opacity .25s ease}
  body[class*="site-theme-"] .tag-card:hover,
  body[class*="site-theme-"] .product-card:hover,
  body[class*="site-theme-"] .category-card:hover{transform:translateY(-7px)!important}
  body[class*="site-theme-"] .tag-card .tag-image,
  body[class*="site-theme-"] .product-card img{overflow:hidden;transition:transform .65s var(--ct297-ease),filter .65s ease}
  body[class*="site-theme-"] .tag-card:hover .tag-image img,
  body[class*="site-theme-"] .product-card:hover img{transform:scale(1.045)}
  body[class*="site-theme-"] .btn-primary,
  body[class*="site-theme-"] button.btn-primary{background:linear-gradient(135deg,var(--ct297-button),var(--ct297-accent-strong))!important;color:var(--ct297-button-text)!important;border:0!important;box-shadow:0 12px 30px color-mix(in srgb,var(--ct297-accent) 24%,transparent)!important}
  body[class*="site-theme-"] .btn-primary:hover,
  body[class*="site-theme-"] button.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 42px color-mix(in srgb,var(--ct297-accent) 32%,transparent)!important}
  body[class*="site-theme-"] .btn-primary:active,
  body[class*="site-theme-"] button.btn-primary:active{transform:translateY(0) scale(.985)}
  body[class*="site-theme-"] :focus-visible{outline:3px solid color-mix(in srgb,var(--ct297-accent-strong) 80%,white)!important;outline-offset:3px}
  body[class*="site-theme-"] .hero{isolation:isolate;overflow:hidden}
  body[class*="site-theme-"] .hero::after{content:"";position:absolute;inset:auto -10% -45% auto;width:55%;height:75%;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--ct297-accent) 18%,transparent),transparent 68%);filter:blur(8px);pointer-events:none;z-index:0;animation:ct297-orbit 9s ease-in-out infinite alternate}
  body[class*="site-theme-"] .hero-inner{position:relative;z-index:2}
  body[class*="site-theme-"] .hero h1{animation:ct297-title-in .75s var(--ct297-ease) both}
  body[class*="site-theme-"] .hero p.sub{animation:ct297-copy-in .8s .08s var(--ct297-ease) both}
  body[class*="site-theme-"] .hero .btn-primary{animation:ct297-copy-in .8s .16s var(--ct297-ease) both}
  body[class*="site-theme-"] .section-heading{position:relative}
  body[class*="site-theme-"] .section-heading::after{content:"";display:block;width:44px;height:2px;margin-top:10px;background:linear-gradient(90deg,var(--ct297-accent),transparent);transform-origin:left;animation:ct297-line-in .8s var(--ct297-ease) both}
  body[class*="site-theme-"] .announcement-bar{background:color-mix(in srgb,var(--ct297-surface) 92%,var(--ct297-accent))!important;color:var(--ct297-text)!important;border-bottom:1px solid var(--ct297-line)}
  body[class*="site-theme-"] .site-header{border-bottom-color:color-mix(in srgb,var(--ct297-accent) 26%,var(--ct297-line))!important}
  body[class*="site-theme-"] .search-input{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 28px rgba(0,0,0,.06)}

  /* Search / discovery: premium compact controls without stray decorative lines. */
  body[class*="site-theme-"] .search-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--ct297-accent) 20%,transparent),0 12px 34px rgba(0,0,0,.12)!important}
  body[class*="site-theme-"] .search-page .search-input,
  body[class*="site-theme-"] .search-shell .search-input{min-height:54px;padding-inline:18px}

  /* Theme-specific base personalities. */
  body.site-theme-signature{--ct297-bg:#130a0b;--ct297-surface:#241315;--ct297-surface-2:#351a1c;--ct297-accent:#e7b84f;--ct297-accent-strong:#ffd777;--ct297-button:#f2c65b}
  body.site-theme-midnight_luxe{--ct297-bg:#080b12;--ct297-surface:#121722;--ct297-surface-2:#1a2230;--ct297-accent:#ff4fa3;--ct297-accent-strong:#b78cff;--ct297-button:#f4d58c}
  body.site-theme-aurora{--ct297-bg:#0a0b18;--ct297-surface:#17132b;--ct297-surface-2:#251b42;--ct297-accent:#74e0d4;--ct297-accent-strong:#b88cff;--ct297-button:#e9c7ff}
  body.site-theme-obsidian_gold{--ct297-bg:#050706;--ct297-surface:#101612;--ct297-surface-2:#18231c;--ct297-accent:#e7c76a;--ct297-accent-strong:#f5df9b;--ct297-button:#e8ca69}
  body.site-theme-titanium{--ct297-bg:#0b1218;--ct297-surface:#151e27;--ct297-surface-2:#202c38;--ct297-accent:#bfc9d4;--ct297-accent-strong:#e9f0f5;--ct297-button:#dbe5ed}
  body.site-theme-royal_noir{--ct297-bg:#10070d;--ct297-surface:#21101a;--ct297-surface-2:#321522;--ct297-accent:#d34a63;--ct297-accent-strong:#e4bd67;--ct297-button:#efc96d}
  body.site-theme-cyber_chrome{--ct297-bg:#03090e;--ct297-surface:#091722;--ct297-surface-2:#102a3b;--ct297-accent:#56d9ff;--ct297-accent-strong:#9b8cff;--ct297-button:#70dcff}
  body.site-theme-emerald_noir{--ct297-bg:#06100b;--ct297-surface:#0d1d15;--ct297-surface-2:#153025;--ct297-accent:#d7a84a;--ct297-accent-strong:#9ee0bd;--ct297-button:#e8c96c}
  body.site-theme-desert_luxe{--ct297-bg:#170d08;--ct297-surface:#2a180d;--ct297-surface-2:#422515;--ct297-accent:#e1a25d;--ct297-accent-strong:#f1c48a;--ct297-button:#e7ad6c}
  body.site-theme-pearl_luxe{--ct297-bg:#0e1715;--ct297-surface:#18231f;--ct297-surface-2:#22302a;--ct297-accent:#7cc1a3;--ct297-accent-strong:#d8b77a;--ct297-button:#e0c38c}
  body.site-theme-violet_neon{--ct297-bg:#0b0410;--ct297-surface:#190b20;--ct297-surface-2:#28102f;--ct297-accent:#ff4bd6;--ct297-accent-strong:#a75cff;--ct297-button:#ff74dc}
  body.site-theme-monochrome{--ct297-bg:#080808;--ct297-surface:#151515;--ct297-surface-2:#222;--ct297-accent:#fff;--ct297-accent-strong:#ddd;--ct297-button:#fff}
  body.site-theme-palo_alto,body.site-theme-paloalto_travel{--ct297-bg:#09141b;--ct297-surface:#14242d;--ct297-surface-2:#1e3541;--ct297-accent:#d5a35c;--ct297-accent-strong:#f1cf98;--ct297-button:#e7b974}
  body.site-theme-apex_atelier{--ct297-bg:#0f0c09;--ct297-surface:#1d1812;--ct297-surface-2:#2a2118;--ct297-accent:#d6a85d;--ct297-accent-strong:#f0d19a;--ct297-button:#e3bd78}
  body.site-theme-symmetry_studio{--ct297-bg:#0c1217;--ct297-surface:#151e25;--ct297-surface-2:#202d37;--ct297-accent:#8fb0c9;--ct297-accent-strong:#c9dce9;--ct297-button:#dbe9f2}
  body.site-theme-prestige_maison{--ct297-bg:#0d0b09;--ct297-surface:#1a1510;--ct297-surface-2:#2a2119;--ct297-accent:#c7a46a;--ct297-accent-strong:#ecd39e;--ct297-button:#e5c486}
  body.site-theme-motion_gallery{--ct297-bg:#0b101b;--ct297-surface:#141b2b;--ct297-surface-2:#202943;--ct297-accent:#73c8c4;--ct297-accent-strong:#a99cff;--ct297-button:#8ce4df}
  body.site-theme-broadcast_editorial{--ct297-bg:#101010;--ct297-surface:#1b1b19;--ct297-surface-2:#292824;--ct297-accent:#f0c77a;--ct297-accent-strong:#ffe0a2;--ct297-button:#efc878}
  body.site-theme-enterprise_grid{--ct297-bg:#09121a;--ct297-surface:#121e28;--ct297-surface-2:#1b2b39;--ct297-accent:#8bb8e8;--ct297-accent-strong:#c2dcf5;--ct297-button:#9cc6ef}
  body.site-theme-hyper_commerce{--ct297-bg:#12070b;--ct297-surface:#211017;--ct297-surface-2:#351720;--ct297-accent:#ff5f7e;--ct297-accent-strong:#ffb454;--ct297-button:#ff7892}
  body.site-theme-concept_objects{--ct297-bg:#101511;--ct297-surface:#1a211c;--ct297-surface-2:#263129;--ct297-accent:#9db6a8;--ct297-accent-strong:#d4c7a8;--ct297-button:#d7e2da}
  body.site-theme-wonder_immersive{--ct297-bg:#080c18;--ct297-surface:#11182a;--ct297-surface-2:#1d2740;--ct297-accent:#9b7cff;--ct297-accent-strong:#52d6d0;--ct297-button:#b09aff}
  body.site-theme-quiet_luxury{--ct297-bg:#11100d;--ct297-surface:#1b1915;--ct297-surface-2:#28241e;--ct297-accent:#b89262;--ct297-accent-strong:#dec18d;--ct297-button:#d4b47c}
  body.site-theme-nordic_atelier{--ct297-bg:#0e1412;--ct297-surface:#17201d;--ct297-surface-2:#222d29;--ct297-accent:#8a9a96;--ct297-accent-strong:#c9d6d1;--ct297-button:#d6e0dc}
  body.site-theme-gallery_house{--ct297-bg:#100d0c;--ct297-surface:#1d1714;--ct297-surface-2:#2c211c;--ct297-accent:#b46d4d;--ct297-accent-strong:#dba180;--ct297-button:#d99a73}
  body.site-theme-studio_mono{--ct297-bg:#050505;--ct297-surface:#111;--ct297-surface-2:#1d1d1d;--ct297-accent:#fff;--ct297-accent-strong:#cfcfcf;--ct297-button:#fff}
  body.site-theme-editorial_motion{--ct297-bg:#0d1220;--ct297-surface:#171e30;--ct297-surface-2:#232e46;--ct297-accent:#b5a0ff;--ct297-accent-strong:#d9d0ff;--ct297-button:#c6b6ff}
  body.site-theme-neo_utility{--ct297-bg:#071326;--ct297-surface:#0e203b;--ct297-surface-2:#16345f;--ct297-accent:#5e98ff;--ct297-accent-strong:#8eb8ff;--ct297-button:#4f8df5}

  /* Light theme overrides keep each personality while retaining readable ink. */
  body.appearance-light.site-theme-signature{--ct297-bg:#fff7e8;--ct297-surface:#fffdf8;--ct297-surface-2:#fff0d2;--ct297-text:#341315;--ct297-muted:#6a4d45;--ct297-accent:#a9673b;--ct297-button:#e4b64d}
  body.appearance-light.site-theme-midnight_luxe{--ct297-bg:#f2f4f8;--ct297-surface:#fff;--ct297-surface-2:#edf0f7;--ct297-text:#171b25;--ct297-muted:#5d6472;--ct297-accent:#8a4fc4;--ct297-button:#e3b8df}
  body.appearance-light.site-theme-aurora{--ct297-bg:#f4f1f8;--ct297-surface:#fff;--ct297-surface-2:#f1eafa;--ct297-text:#211a2d;--ct297-muted:#625b6c;--ct297-accent:#8c4fae;--ct297-button:#d7b8ee}
  body.appearance-light.site-theme-obsidian_gold{--ct297-bg:#f0f2ed;--ct297-surface:#fff;--ct297-surface-2:#edf4ee;--ct297-text:#102018;--ct297-muted:#5c6961;--ct297-accent:#9b7629;--ct297-button:#d8bb68}
  body.appearance-light.site-theme-titanium{--ct297-bg:#eef2f5;--ct297-surface:#fff;--ct297-surface-2:#edf1f4;--ct297-text:#18222b;--ct297-muted:#5c6770;--ct297-accent:#607688;--ct297-button:#cad8e2}
  body.appearance-light.site-theme-royal_noir{--ct297-bg:#f7eff2;--ct297-surface:#fff;--ct297-surface-2:#f6e6eb;--ct297-text:#27141c;--ct297-muted:#705962;--ct297-accent:#a6334b;--ct297-button:#e0a85e}
  body.appearance-light.site-theme-cyber_chrome{--ct297-bg:#edf6fa;--ct297-surface:#fff;--ct297-surface-2:#e5f4fa;--ct297-text:#10202a;--ct297-muted:#586a73;--ct297-accent:#007da7;--ct297-button:#70cde8}
  body.appearance-light.site-theme-emerald_noir{--ct297-bg:#eef5f0;--ct297-surface:#fff;--ct297-surface-2:#e7f2eb;--ct297-text:#10251a;--ct297-muted:#5d6e63;--ct297-accent:#267a5a;--ct297-button:#d7b45a}
  body.appearance-light.site-theme-desert_luxe{--ct297-bg:#fbf3e8;--ct297-surface:#fffdf8;--ct297-surface-2:#f5e6d3;--ct297-text:#2d1b11;--ct297-muted:#70584a;--ct297-accent:#a95e2f;--ct297-button:#e3aa68}
  body.appearance-light.site-theme-pearl_luxe{--ct297-bg:#f5f7f4;--ct297-surface:#fff;--ct297-surface-2:#edf2ee;--ct297-text:#18221e;--ct297-muted:#5f6964;--ct297-accent:#3b7d65;--ct297-button:#d8c28f}
  body.appearance-light.site-theme-violet_neon{--ct297-bg:#faf0f8;--ct297-surface:#fff;--ct297-surface-2:#f5e7f5;--ct297-text:#28162a;--ct297-muted:#6e5b70;--ct297-accent:#a6389e;--ct297-button:#e7a4df}
  body.appearance-light.site-theme-monochrome{--ct297-bg:#f2f2f0;--ct297-surface:#fff;--ct297-surface-2:#ededeb;--ct297-text:#101010;--ct297-muted:#5e5e5e;--ct297-accent:#111;--ct297-button:#111;--ct297-button-text:#fff}
  body.appearance-light.site-theme-palo_alto,body.appearance-light.site-theme-paloalto_travel{--ct297-bg:#f2f5f5;--ct297-surface:#fff;--ct297-surface-2:#edf0ee;--ct297-text:#16222a;--ct297-muted:#5d6970;--ct297-accent:#936d3e;--ct297-button:#d8ae70}
  body.appearance-light.site-theme-apex_atelier{--ct297-bg:#f7f2e9;--ct297-surface:#fffdf8;--ct297-surface-2:#eee5d6;--ct297-text:#201b15;--ct297-muted:#655e54;--ct297-accent:#8f6b3d;--ct297-button:#d8b274}
  body.appearance-light.site-theme-symmetry_studio{--ct297-bg:#f1f5f7;--ct297-surface:#fff;--ct297-surface-2:#e9f0f4;--ct297-text:#16212a;--ct297-muted:#5c6971;--ct297-accent:#577b98;--ct297-button:#c9dce9}
  body.appearance-light.site-theme-prestige_maison{--ct297-bg:#f7f2e9;--ct297-surface:#fffdf8;--ct297-surface-2:#eee5d8;--ct297-text:#201a13;--ct297-muted:#665d52;--ct297-accent:#9b7748;--ct297-button:#dfbf85}
  body.appearance-light.site-theme-motion_gallery{--ct297-bg:#f0f2f8;--ct297-surface:#fff;--ct297-surface-2:#e9ecf7;--ct297-text:#151a28;--ct297-muted:#5f6677;--ct297-accent:#5e62b8;--ct297-button:#c5baf2}
  body.appearance-light.site-theme-broadcast_editorial{--ct297-bg:#f4f2ec;--ct297-surface:#fffdf8;--ct297-surface-2:#ece8dc;--ct297-text:#171717;--ct297-muted:#5e5b54;--ct297-accent:#8b672f;--ct297-button:#dfb866}
  body.appearance-light.site-theme-enterprise_grid{--ct297-bg:#eef3f7;--ct297-surface:#fff;--ct297-surface-2:#e7eef4;--ct297-text:#14212b;--ct297-muted:#596a76;--ct297-accent:#3975a9;--ct297-button:#a7ccef}
  body.appearance-light.site-theme-hyper_commerce{--ct297-bg:#fff2f2;--ct297-surface:#fff;--ct297-surface-2:#f8e6e5;--ct297-text:#29171b;--ct297-muted:#725c61;--ct297-accent:#c33f5d;--ct297-button:#f17a91}
  body.appearance-light.site-theme-concept_objects{--ct297-bg:#f1f4f0;--ct297-surface:#fff;--ct297-surface-2:#e8eee9;--ct297-text:#17211a;--ct297-muted:#5d6961;--ct297-accent:#557b69;--ct297-button:#cbdad1}
  body.appearance-light.site-theme-wonder_immersive{--ct297-bg:#f0f1f8;--ct297-surface:#fff;--ct297-surface-2:#e9ebf7;--ct297-text:#171c2c;--ct297-muted:#62697b;--ct297-accent:#6d58bd;--ct297-button:#c4b8f4}
  body.appearance-light.site-theme-quiet_luxury{--ct297-bg:#f4f0e8;--ct297-surface:#fffdf8;--ct297-surface-2:#eee8dd;--ct297-text:#211e18;--ct297-muted:#686157;--ct297-accent:#886a43;--ct297-button:#d8b77c}
  body.appearance-light.site-theme-nordic_atelier{--ct297-bg:#f1f4f1;--ct297-surface:#fff;--ct297-surface-2:#e9efeb;--ct297-text:#17201c;--ct297-muted:#5c6963;--ct297-accent:#5d756c;--ct297-button:#cbd8d3}
  body.appearance-light.site-theme-gallery_house{--ct297-bg:#f5eee5;--ct297-surface:#fffdf8;--ct297-surface-2:#eee3d7;--ct297-text:#241b17;--ct297-muted:#6d5c53;--ct297-accent:#9b5c40;--ct297-button:#d49a76}
  body.appearance-light.site-theme-studio_mono{--ct297-bg:#f1f1ef;--ct297-surface:#fff;--ct297-surface-2:#e9e9e7;--ct297-text:#101010;--ct297-muted:#5a5a5a;--ct297-accent:#111;--ct297-button:#111;--ct297-button-text:#fff}
  body.appearance-light.site-theme-editorial_motion{--ct297-bg:#f0f1f6;--ct297-surface:#fff;--ct297-surface-2:#eaebf2;--ct297-text:#171c29;--ct297-muted:#5f6572;--ct297-accent:#7662bf;--ct297-button:#c5b8ee}
  body.appearance-light.site-theme-neo_utility{--ct297-bg:#eef4ff;--ct297-surface:#fff;--ct297-surface-2:#e6efff;--ct297-text:#12213a;--ct297-muted:#53657e;--ct297-accent:#1e5fba;--ct297-button:#4f8df5;--ct297-button-text:#fff}

  /* Responsive polish */
  @media(max-width:900px){
    body[class*="site-theme-"] .hero{min-height:clamp(520px,72svh,680px)!important;border-radius:0 0 24px 24px}
    body[class*="site-theme-"] .hero-inner{padding-top:clamp(54px,10vw,84px)!important;padding-bottom:clamp(54px,10vw,84px)!important}
    body[class*="site-theme-"] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
    body[class*="site-theme-"] .tag-card:hover,body[class*="site-theme-"] .product-card:hover{transform:translateY(-4px)!important}
  }
  @media(max-width:560px){
    body[class*="site-theme-"] .hero{min-height:560px!important}
    body[class*="site-theme-"] .hero-inner{padding-left:18px!important;padding-right:18px!important}
    body[class*="site-theme-"] .hero h1{font-size:clamp(2.6rem,13vw,4.4rem)!important;line-height:.96!important}
    body[class*="site-theme-"] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
    body[class*="site-theme-"] .tag-card,body[class*="site-theme-"] .product-card{border-radius:16px!important}
    body[class*="site-theme-"] .tag-card .tag-image{aspect-ratio:4/5!important}
    body[class*="site-theme-"] .section-heading{margin-bottom:18px}
  }
  @media(prefers-reduced-motion:reduce),body.theme-reduced-motion-on{
    body[class*="site-theme-"] *,body[class*="site-theme-"] *::before,body[class*="site-theme-"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  }

  @keyframes ct297-title-in{from{opacity:0;transform:translateY(18px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
  @keyframes ct297-copy-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  @keyframes ct297-line-in{from{transform:scaleX(0);opacity:.2}to{transform:scaleX(1);opacity:1}}
  @keyframes ct297-orbit{from{transform:translate3d(0,0,0) scale(.96)}to{transform:translate3d(-4%,-5%,0) scale(1.04)}}
