/* Shared color tokens for the theme and the official.commerce presentation bridge. */
body[data-palette="sage"]{--ink:#252b25;--muted:#68716a;--line:#dce3d9;--paper:#fffefa;--soft:#f3f5ef;--dark:#244033;--accent:#b64f36;--warm:#efe6da;--hero:#e8e9df}
body[data-palette="charcoal"]{--ink:#202326;--muted:#686d70;--line:#dde0e1;--paper:#fff;--soft:#f3f4f4;--dark:#24292d;--accent:#b66633;--warm:#eee9e2;--hero:#e9e9e5}
body[data-palette="navy"]{--ink:#202c3b;--muted:#657185;--line:#d8e0e9;--paper:#fbfcff;--soft:#eff3f8;--dark:#193552;--accent:#b96a4c;--warm:#eaf0f5;--hero:#e3eaf2}
body[data-palette="cobalt"]{--ink:#172b47;--muted:#5d6c84;--line:#d8e3f0;--paper:#fff;--soft:#edf4fd;--dark:#1855a2;--accent:#d45e42;--warm:#e8f1fc;--hero:#e2edfa}
body[data-palette="terracotta"]{--ink:#362a24;--muted:#7b6c63;--line:#eadbd1;--paper:#fffaf5;--soft:#faf0e9;--dark:#7c3f32;--accent:#b75335;--warm:#f2e2d5;--hero:#f2e7dc}
body[data-palette="wine"]{--ink:#30262b;--muted:#796a72;--line:#e6dce0;--paper:#fffbfd;--soft:#f7eff3;--dark:#68283f;--accent:#ba6954;--warm:#f1e5e9;--hero:#eee2e8}
body[data-palette="custom"]{--ink:#252b25;--muted:#68716a;--line:#dce3d9;--paper:#fffefa;--soft:#f3f5ef;--dark:#244033;--accent:#b64f36;--warm:#efe6da;--hero:#e8e9df}
body[data-palette]{background:var(--paper);color:var(--ink)}
body[data-palette] .announcement,body[data-palette] .category-rail,body[data-palette] .commerce-filters{background:var(--soft)}
body[data-palette] .main-nav,body[data-palette] .brand-mark,body[data-palette] .site-search button,body[data-palette] .top-search button,body[data-palette] .commerce-search button,body[data-palette] .commerce-button{background:var(--dark);color:#fff}
body[data-palette] .main-nav .nav-all{background:color-mix(in srgb,var(--dark),#000 18%)}
body[data-palette] .hero,body[data-palette] .commerce-shop-hero{background:var(--hero);color:var(--ink)}
body[data-palette] .promo-card.warm,body[data-palette] .category-tiles a{background:var(--warm)}
body[data-palette] .promo-card.sand,body[data-palette] .campaign{background:var(--soft)}
body[data-palette] .eyebrow,body[data-palette] .commerce-shop-hero p,body[data-palette] .commerce-brand,body[data-palette] .commerce-price,body[data-palette] .commerce-card-price{color:var(--accent)}
body[data-palette] .top .brand,body[data-palette] .top nav a,body[data-palette] .top-actions>a{color:var(--dark)}
body[data-palette] .commerce-categories a.active,body[data-palette] .commerce-filter-options a.active,body[data-palette] .commerce-sort a.active{background:var(--dark);border-color:var(--dark);color:#fff}
body[data-palette] .top,body[data-palette] .commerce-footer{background:var(--paper);border-color:var(--line)}
body[data-palette] .commerce-card-media,body[data-palette] .commerce-hero-img,body[data-palette] .commerce-card img{background:var(--soft)}
body[data-palette] .commerce-toolbar h2,body[data-palette] .commerce-product h1{color:var(--ink)}
body[data-palette] .commerce-stock,body[data-palette] .commerce-variant-meta strong{color:var(--dark)}
body[data-palette] .category-section[hidden]{display:none!important}
body[data-palette] #rail-categories>a{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:17px 5px;font-size:12px}
body[data-palette] #rail-categories>a:hover{color:var(--accent)}
body[data-palette] .nav-categories,body[data-palette] #mobile-categories{display:contents}
body[data-palette] .hero-photo{object-fit:cover;object-position:center;width:70%;height:100%;right:-8%}
body[data-palette] .promo-photo{position:absolute;right:-18px;bottom:0;width:61%;height:100%;object-fit:cover;object-position:center;-webkit-mask-image:linear-gradient(to right,transparent,#000 35%);mask-image:linear-gradient(to right,transparent,#000 35%)}
body[data-palette] .category-image{position:absolute;right:0;bottom:0;width:58%;height:100%;object-fit:cover;-webkit-mask-image:linear-gradient(to right,transparent,#000 32%);mask-image:linear-gradient(to right,transparent,#000 32%)}
body[data-palette] .campaign{grid-template-columns:1fr}
body[data-palette] .campaign>div:first-child{max-width:780px}
@media(max-width:760px){body[data-palette] .hero-photo{top:48%;right:0;width:100%;height:52%;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 30%);mask-image:linear-gradient(to bottom,transparent,#000 30%)}}
