/* FSPV CHRISTMAS INTEGRATED HERO V1 — preview only, no commerce logic */
html:has(.fspv-christmas-hero-v1) body {
  background:
    radial-gradient(ellipse at 85% 22%, rgba(255,185,91,.19), transparent 34%),
    radial-gradient(ellipse at 14% 45%, rgba(150,195,233,.14), transparent 37%),
    linear-gradient(180deg,#07172b 0%,#17354b 48%,#10253a 100%) !important;
}
html:has(.fspv-christmas-hero-v1) .wx-decor-layer,
html:has(.fspv-christmas-hero-v1) .wx-top-greeting {display:none!important}
html:has(.fspv-christmas-hero-v1) .csh-home {
  background:transparent!important;
}
.fspv-christmas-hero-v1 {
  position:relative;
  display:block;
  width:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden;
  isolation:isolate;
  background:#06172b;
  line-height:0;
  box-shadow:none!important;
}
.fspv-christmas-hero-v1__scene,
.fspv-christmas-hero-v1__scene img {
  display:block;
  width:100%;
  height:auto;
}
.fspv-christmas-hero-v1__scene img {aspect-ratio:1448/286;object-fit:cover}
.fspv-christmas-hero-v1::after {
  content:'';
  pointer-events:none;
  position:absolute;
  left:0;right:0;bottom:-1px;height:clamp(13px,3vw,48px);
  background:linear-gradient(0deg,#17354b 0%,rgba(23,53,75,0) 100%);
  z-index:1;
}
.fspv-christmas-hero-v1__action {
  position:absolute;
  z-index:3;
  left:39.8%;
  top:72.6%;
  width:17.8%;
  height:15.2%;
  border-radius:999px;
  display:block;
  background:transparent;
  cursor:pointer;
}
.fspv-christmas-hero-v1__action:focus-visible {
  outline:3px solid #fff1a8;
  outline-offset:3px;
}
.fspv-christmas-hero-v1__sr {
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
@media(max-width:620px) {
  .fspv-christmas-hero-v1__scene img {aspect-ratio:425/286;object-fit:cover}
  .fspv-christmas-hero-v1__action {
    left:20%;width:60%;top:73%;height:16%;
  }
}

/* FSPV CHRISTMAS GLASS BALANCE V2 — only authorized Christmas preview.
   Semi-transparent glass, high-contrast commerce; do not modify layout logic. */
html:has(.fspv-christmas-hero-v1) {
  --xc-glass:rgba(235,242,251,.88);
  --xc-glass-strong:rgba(247,249,253,.95);
  --xc-glass-dark:rgba(16,39,61,.86);
  --xc-border:rgba(255,255,255,.58);
}
html:has(.fspv-christmas-hero-v1) :is(
 .csh-home-categories,.csh-home-promotions,.csh-products,
 .csh-home-products,.csh-home-featured
) {
  background:linear-gradient(135deg,rgba(223,235,248,.84),rgba(246,249,253,.88))!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:20px!important;
  box-shadow:0 15px 40px rgba(1,16,35,.25)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories :is(h2,h3,p,strong),
html:has(.fspv-christmas-hero-v1) .csh-home-promotions :is(h2,h3,p,strong),
html:has(.fspv-christmas-hero-v1) .csh-products :is(h2,h3,p,strong) {
  color:#152940!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-pill {
  background:var(--xc-glass)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:15px!important;
  box-shadow:0 7px 18px rgba(7,25,47,.13)!important;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  color:#172b43!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-pill span {
  background:rgba(255,255,255,.78)!important;
}
html:has(.fspv-christmas-hero-v1) :is(.csh-product-card,.csh-promo-card) {
  background:var(--xc-glass-strong)!important;
  border:1px solid rgba(255,255,255,.85)!important;
  border-radius:14px!important;
  box-shadow:0 7px 22px rgba(4,25,46,.18)!important;
  opacity:1!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
html:has(.fspv-christmas-hero-v1) .csh-product-card :is(.csh-product-image,.csh-product-info) {
  background:rgba(255,255,255,.91)!important;
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-product-card :is(.csh-product-info,.csh-product-info a,.csh-product-info strong,.csh-product-info small) {
  color:#15233a!important;
}
html:has(.fspv-christmas-hero-v1) .csh-product-card img {
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-product-card :is(button,.csh-add-to-cart,.add-to-cart) {
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-promo-card .csh-promo-card__content {
  background:rgba(10,31,52,.62)!important;
  border-radius:12px;
}
html:has(.fspv-christmas-hero-v1) .csh-promo-card .csh-promo-card__content :is(h2,p,b,span) {
  color:#fff!important;
}
html:has(.fspv-christmas-hero-v1) :is(.csh-header,.csh-header-main,.csh-nav) {
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
@media (max-width:720px) {
 html:has(.fspv-christmas-hero-v1) :is(.csh-home-categories,.csh-home-promotions,.csh-products) {
  border-radius:15px!important;
  backdrop-filter:blur(7px);
 }
 html:has(.fspv-christmas-hero-v1) :is(.csh-product-card,.csh-category-pill) {
  backdrop-filter:none;
 }
}
@media (prefers-reduced-transparency:reduce) {
 html:has(.fspv-christmas-hero-v1) :is(.csh-product-card,.csh-category-pill,.csh-home-categories) {
   background:#f4f7fb!important;backdrop-filter:none!important;
 }
}


/* FSPV CHRISTMAS CARDS VISUAL MATCH V3.1
   Screenshot-inspired visuals, scoped strictly to authorized Christmas hero.
   Product data, cart actions, pricing and tenant state remain native. */
html:has(.fspv-christmas-hero-v1) {
 --xm-red:#b40016;
 --xm-gold:#f4c65e;
 --xm-ink:#172b42;
 --xm-ivory:rgba(242,246,251,.94);
}
/* Open winter scenery must continue below the hero, rather than a large white panel. */
html:has(.fspv-christmas-hero-v1) .csh-home {
 padding-inline:clamp(12px,3.6vw,52px)!important;
 background:transparent!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home :is(.csh-home-categories,.csh-products) {
 width:100%!important;max-width:none!important;
 background:transparent!important;border:0!important;
 box-shadow:none!important;backdrop-filter:none!important;
 padding:0!important;overflow:visible!important;
 margin:20px auto 12px!important;
}
/* The reference title is centered, white, with slim warm-gold accents. */
html:has(.fspv-christmas-hero-v1) .csh-home :is(.csh-home-categories__header,.csh-section-head) {
 display:flex!important;justify-content:center!important;align-items:center!important;
 text-align:center!important;gap:12px!important;margin:0 0 12px!important;
 padding:0!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home :is(.csh-home-categories__header h2,.csh-section-head h2) {
 color:#fff!important;font-family:Georgia,serif!important;
 font-size:clamp(22px,2.25vw,32px)!important;
 text-shadow:0 2px 10px rgba(0,0,0,.65)!important;letter-spacing:-.025em;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories__intro {
 display:flex!important;flex-direction:column!important;align-items:center!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories__eyebrow,
html:has(.fspv-christmas-hero-v1) .csh-home-categories__header p {display:none!important;}
html:has(.fspv-christmas-hero-v1) .csh-home :is(.csh-home-categories__all,.csh-section-head .csh-tabs) {
 position:relative!important;font-size:12px!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home :is(.csh-home-categories__all,.csh-section-head .csh-tabs a) {
 color:#ffde88!important;
}
/* Exactly rectangular, low category cards, with separate visible title layer.
   Use actual configured images rather than image/screenshot embedded labels. */
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row {
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 gap:10px!important;padding:0!important;margin:0 auto!important;
 overflow:visible!important;scroll-snap-type:none!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill {
 display:block!important;position:relative!important;width:100%!important;
 min-width:0!important;max-width:none!important;height:115px!important;
 padding:0!important;margin:0!important;overflow:hidden!important;
 border-radius:13px!important;border:1.5px solid rgba(255,255,255,.88)!important;
 background:linear-gradient(145deg,rgba(65,82,103,.82),rgba(19,32,47,.95))!important;
 box-shadow:0 7px 19px rgba(0,0,0,.25)!important;
 text-decoration:none!important;isolation:isolate;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill > span {
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 border:0!important;border-radius:0!important;overflow:hidden!important;
 display:block!important;background:transparent!important;box-shadow:none!important;
 opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill > span img {
 display:block!important;width:100%!important;height:100%!important;
 padding:0!important;object-fit:cover!important;object-position:center!important;
 filter:saturate(1.07) contrast(1.04);
 transition:transform .2s ease!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill::before {
 content:''!important;position:absolute!important;inset:0!important;
 z-index:1!important;background:linear-gradient(180deg,transparent 30%,rgba(8,16,31,.11) 45%,rgba(6,16,28,.87) 100%)!important;
 pointer-events:none!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill strong {
 position:absolute!important;z-index:2!important;bottom:12px!important;left:13px!important;
 right:30px!important;display:block!important;color:#fff!important;
 font-family:inherit!important;font-size:clamp(11px,1.05vw,14px)!important;
 line-height:1.15!important;text-shadow:0 1px 5px rgba(0,0,0,.9)!important;
 text-align:left!important;white-space:normal!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill strong::after {
 content:none!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill::after {
 content:'→'!important;position:absolute!important;z-index:2!important;
 right:12px!important;bottom:9px!important;color:#fff!important;
 font-size:20px!important;font-weight:400!important;background:none!important;
 width:auto!important;height:auto!important;line-height:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill:hover img {
 transform:scale(1.045)!important;
}
/* Real homepage product grid: 6 premium opaque commercial cards, not legacy .csh-product-card. */
html:has(.fspv-christmas-hero-v1) .csh-products .product-grid {
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 gap:10px!important;padding:0!important;align-items:stretch!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card {
 border:1.5px solid rgba(255,255,255,.92)!important;
 border-radius:14px!important;background:rgba(243,246,251,.96)!important;
 box-shadow:0 9px 24px rgba(2,17,36,.25)!important;
 backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
 opacity:1!important;overflow:hidden!important;min-width:0!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__media {
 background:linear-gradient(180deg,rgba(236,242,251,.95),rgba(253,253,255,.96))!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__image {
 padding:12px!important;aspect-ratio:1.12/1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__image img {
 object-fit:contain!important;opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__body {
 padding:9px 12px 12px!important;background:rgba(250,252,255,.97)!important;
 flex:1!important;display:flex!important;flex-direction:column!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__title {
 color:#152036!important;font-size:12px!important;font-weight:750!important;
 line-height:1.3!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__brand {
 color:#5b6474!important;font-size:10px!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__price-row {
 margin-top:auto!important;display:flex!important;flex-wrap:wrap!important;
 gap:4px 7px!important;align-items:baseline!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__price {
 color:#ba0014!important;font-weight:900!important;font-size:clamp(13px,1.22vw,17px)!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__old-price {
 color:#6f7480!important;font-size:11px!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__badge--discount {
 background:#c60019!important;color:#fff!important;border-radius:8px!important;
 font-weight:900!important;box-shadow:0 2px 5px rgba(60,0,0,.2)!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__wishlist {
 color:#263344!important;background:rgba(255,255,255,.52)!important;
 border-radius:50%!important;opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__add {
 background:linear-gradient(180deg,#e30021,#9e0010)!important;
 color:#fff!important;border-radius:8px!important;box-shadow:none!important;
 min-height:37px!important;font-weight:850!important;font-size:12px!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__add:disabled {
 opacity:.65!important;cursor:not-allowed!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__saving {
 font-size:10px!important;line-height:1.25!important;
}
/* Trust and footer remain their real merchant modules, styled rather than replaced. */
html:has(.fspv-christmas-hero-v1) .csh-footer {
 background:linear-gradient(180deg,rgba(7,29,50,.94),rgba(4,20,37,.99))!important;
 border-top:1px solid rgba(230,193,102,.65)!important;
 box-shadow:0 -8px 30px rgba(1,12,25,.32)!important;
 color:#f7f8fa!important;
}
html:has(.fspv-christmas-hero-v1) .csh-footer-accent {
 background:linear-gradient(90deg,transparent,#e2ba63,transparent)!important;
 height:2px!important;
}
html:has(.fspv-christmas-hero-v1) .csh-footer :is(.csh-footer-logo,.csh-footer-column h2) {
 color:#fff!important;
}
html:has(.fspv-christmas-hero-v1) .csh-footer :is(.csh-footer-links a,.csh-footer-description) {
 color:#e2eaf5!important;
}
html:has(.fspv-christmas-hero-v1) .csh-footer-trust {
 background:rgba(92,118,144,.27)!important;
 border-top:1px solid rgba(239,198,105,.5)!important;
 backdrop-filter:blur(10px);
}
@media(max-width:1200px){
 html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 html:has(.fspv-christmas-hero-v1) .csh-products .product-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:660px){
 html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill {
  height:105px!important;
 }
 html:has(.fspv-christmas-hero-v1) .csh-products .product-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 html:has(.fspv-christmas-hero-v1) .csh-products .product-card__body {
  padding:8px!important;
 }
 html:has(.fspv-christmas-hero-v1) .csh-products .product-card__image {
  padding:8px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html:has(.fspv-christmas-hero-v1) .csh-home-categories a.csh-category-pill img {
  transition:none!important;
 }
}


/* CHRISTMAS OPACITY & SINGLE SCENE FIX V3.2
   Preview-scoped. Opaque readable products, restrained frosted category tiles,
   and a single uninterrupted visual transition below the existing hero. */
html:has(.fspv-christmas-hero-v1) body {
  background-color:#122a41!important;
  background-image:linear-gradient(180deg,#0b1c30 0%,#1e3c57 35%,#102a44 70%,#091d34 100%)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center top!important;
}
html:has(.fspv-christmas-hero-v1) body::before,
html:has(.fspv-christmas-hero-v1) body::after {
  background-image:none!important;
}
html:has(.fspv-christmas-hero-v1) .fspv-christmas-hero-v1 {
  background:transparent!important;
  margin:0!important;
  box-shadow:none!important;
  border:0!important;
}
html:has(.fspv-christmas-hero-v1) .fspv-christmas-hero-v1__scene {
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%);
}
html:has(.fspv-christmas-hero-v1) .fspv-christmas-hero-v1::after {
  background:none!important;
}
html:has(.fspv-christmas-hero-v1) :is(.wx-decor-layer,.wx-top-greeting) {
  display:none!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row > a.csh-category-pill {
  background:rgba(40,58,78,.94)!important;
  border:2px solid rgba(255,255,255,.97)!important;
  box-shadow:0 5px 14px rgba(0,8,19,.38),inset 0 0 0 1px rgba(240,247,255,.3)!important;
  opacity:1!important;
  backdrop-filter:none!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row > a.csh-category-pill > span,
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row > a.csh-category-pill > span img {
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-home-categories .csh-category-row > a.csh-category-pill::before {
 background:linear-gradient(180deg,rgba(5,14,24,.05) 0%,rgba(6,16,28,.20) 45%,rgba(4,12,22,.93) 100%)!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card {
  background:rgba(242,246,252,.99)!important;
  border:2px solid rgba(255,255,255,.98)!important;
  box-shadow:0 8px 24px rgba(1,13,30,.29)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__media {
  background:rgba(234,240,248,.99)!important;
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__body {
  background:rgba(250,252,255,.995)!important;
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products :is(.product-card__image img,.product-card__price,.product-card__title,.product-card__add,.product-card__badge) {
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-products .product-card__add:disabled {
  opacity:.65!important;
}
html:has(.fspv-christmas-hero-v1) .csh-footer {
  background:linear-gradient(180deg,rgba(8,29,49,.975),rgba(4,19,35,.99))!important;
  opacity:1!important;
}
html:has(.fspv-christmas-hero-v1) .csh-footer-trust {
  background:rgba(26,53,78,.94)!important;
  opacity:1!important;
  backdrop-filter:none!important;
}
@media(max-width:660px){
  html:has(.fspv-christmas-hero-v1) .fspv-christmas-hero-v1__scene {
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 88%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 88%,transparent 100%);
  }
}
