/* CHIP IN MERCH V8 — quieter editorial welcome, design-led asymmetrical hero.
   A real two-layer crossfade for each original artwork/product. */
body.ci-brand .merch-hero-editorial,
body.ci-brand .merch-hero-editorial:has(.merch-real-showcase:not([hidden])){
  display:grid!important;
  grid-template-columns:minmax(235px,.29fr) minmax(0,.71fr)!important;
  column-gap:clamp(24px,3.6vw,75px)!important;
  align-items:center!important;
  width:100%!important;max-width:none!important;
  min-height:0!important;
  padding:clamp(34px,3.5vw,55px) 0 clamp(30px,3.6vw,54px)!important;
  margin:0 0 clamp(10px,1.6vw,28px)!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;background:none!important;
  overflow:visible!important;
}
body.ci-brand .merch-hero-editorial::before,
body.ci-brand .merch-hero-editorial::after{display:none!important;content:none!important}
body.ci-brand .merch-hero-editorial .hero-copy{
  padding:0!important;margin:0!important;
  max-width:460px!important;min-width:0;position:relative;z-index:1;
}
body.ci-brand .merch-hero-editorial .hero-copy h1{
  font:600 clamp(2.2rem,3.1vw,3.8rem)/1.12 Fredoka,Inter,system-ui,sans-serif!important;
  letter-spacing:-.04em!important;
  color:#0b2d62!important;
  margin:0 0 19px!important;padding:0!important;
  max-width:450px!important;
}
body.ci-brand .merch-hero-editorial .merch-hero-subline{
  font:400 clamp(.96rem,1.06vw,1.07rem)/1.62 Inter,system-ui,sans-serif!important;
  color:#596e7d!important;
  max-width:365px!important;
  margin:0!important;padding:0!important;
}
/* Artwork stays free-floating. The mockups form a varied, staggered product
   gallery: one taller hero product and two smaller examples. */
body.ci-brand .merch-hero-editorial .merch-real-showcase,
body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.88fr) minmax(0,.68fr)!important;
  grid-template-rows:minmax(0,1.1fr) minmax(0,.9fr)!important;
  gap:clamp(9px,1.1vw,19px)!important;
  width:100%!important;
  height:clamp(340px,29vw,495px)!important;
  min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;
  padding:0!important;margin:0!important;
  background:none!important;border:0!important;
  align-items:stretch!important;justify-items:stretch!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase[hidden]{display:none!important}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product,
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:first-child,
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(2),
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(3),
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(4){
  position:relative!important;display:block!important;
  width:100%!important;height:100%!important;
  aspect-ratio:auto!important;min-width:0!important;min-height:0!important;
  overflow:hidden!important;
  border:0!important;box-shadow:none!important;
  opacity:1!important;transform:none!important;
  text-decoration:none!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-design{
  grid-column:1!important;grid-row:1/3!important;
  background:transparent!important;
  border-radius:0!important;
  overflow:visible!important;
  filter:none!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(2){
  grid-column:2!important;grid-row:1/3!important;
  background:#eff5f1!important;border-radius:22px!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(3){
  grid-column:3!important;grid-row:1!important;
  background:#f6f5f0!important;border-radius:19px!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(4){
  grid-column:3!important;grid-row:2!important;
  background:#eef3f7!important;border-radius:19px!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:hover,
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:focus-visible{
  box-shadow:none!important;
  transform:none!important;opacity:1!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-hero-layer{
  position:absolute!important;inset:0!important;
  display:block!important;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  object-fit:contain!important;object-position:center!important;
  padding:10px!important;margin:0!important;
  opacity:0!important;transform:none!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;
  transition:opacity .68s ease-in-out!important;
  pointer-events:none;
  will-change:opacity;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-hero-layer.is-current{
  opacity:1!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-design .merch-hero-layer{
  padding:0!important;
}
/* The artwork is not a fourth product card. Slight visual breathing space
   around the original graphic distinguishes it from the merchandise. */
body.ci-brand .merch-hero-editorial .merch-showcase-design:hover img{transform:none!important}
@media(min-width:1750px){
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    height:clamp(420px,27vw,570px)!important;
  }
}
@media(min-width:701px) and (max-width:1120px){
  body.ci-brand .merch-hero-editorial,
  body.ci-brand .merch-hero-editorial:has(.merch-real-showcase:not([hidden])){
    grid-template-columns:minmax(205px,.34fr) minmax(0,.66fr)!important;
    gap:clamp(19px,3vw,35px)!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    height:clamp(320px,38vw,420px)!important;
    gap:9px!important;
  }
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:clamp(2.1rem,3.7vw,3.05rem)!important;
  }
}
@media(max-width:700px){
  body.ci-brand .merch-hero-editorial,
  body.ci-brand .merch-hero-editorial:has(.merch-real-showcase:not([hidden])){
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:20px!important;
    padding:28px 0 28px!important;
    margin:0 0 11px!important;
  }
  body.ci-brand .merch-hero-editorial .hero-copy{
    max-width:520px!important;
  }
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:clamp(2.4rem,8vw,3.25rem)!important;
    margin:0 0 10px!important;
    line-height:1.09!important;
  }
  body.ci-brand .merch-hero-editorial .merch-hero-subline{
    font-size:.96rem!important;max-width:440px!important;line-height:1.5!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:minmax(0,205px) minmax(0,146px)!important;
    width:100%!important;max-width:600px!important;height:366px!important;
    margin:0 auto!important;gap:8px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-design{
    grid-column:1/-1!important;grid-row:1!important;
    max-width:100%!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(2){
    grid-column:1!important;grid-row:2!important;border-radius:13px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(3){
    grid-column:2!important;grid-row:2!important;border-radius:13px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(4){
    grid-column:3!important;grid-row:2!important;border-radius:13px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-hero-layer{
    padding:4px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-design .merch-hero-layer{
    padding:0!important;
  }
}
@media(max-width:390px){
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    grid-template-rows:minmax(0,183px) minmax(0,125px)!important;
    height:316px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.ci-brand .merch-hero-editorial .merch-hero-layer{transition:none!important;will-change:auto}
}


/* V9: warmer, less oversized text and a deliberately irregular merchandise
   arrangement. Artwork remains completely free of a framing tile. */
body.ci-brand .merch-hero-editorial,
body.ci-brand .merch-hero-editorial:has(.merch-real-showcase:not([hidden])){
  grid-template-columns:minmax(260px,.33fr) minmax(0,.67fr)!important;
  gap:clamp(26px,3.4vw,65px)!important;
  padding-top:clamp(28px,3vw,45px)!important;
  padding-bottom:clamp(25px,3vw,43px)!important;
  margin-bottom:clamp(8px,1.2vw,20px)!important;
}
body.ci-brand .merch-hero-editorial .hero-copy{max-width:510px!important}
body.ci-brand .merch-hero-editorial .hero-copy h1{
  font:600 clamp(2.35rem,3vw,3.5rem)/1.09 Fredoka,Inter,system-ui,sans-serif!important;
  max-width:510px!important;letter-spacing:-.04em!important;
  text-wrap:balance;margin:0 0 15px!important;
}
body.ci-brand .merch-hero-editorial .merch-hero-subline{
  font:400 clamp(1rem,1.08vw,1.13rem)/1.57 Inter,system-ui,sans-serif!important;
  color:#546e7c!important;max-width:410px!important;margin:0!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase,
body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
  grid-template-columns:minmax(0,1.24fr) minmax(0,1fr) minmax(0,.8fr)!important;
  grid-template-rows:minmax(0,1fr) minmax(0,.9fr)!important;
  height:clamp(330px,27vw,470px)!important;
  gap:clamp(10px,1.14vw,20px)!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-design,
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:first-child{
  background:none!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;overflow:visible!important;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(2){
  background:transparent!important;border:0!important;border-radius:0!important;
  translate:0 12px;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(3){
  background:linear-gradient(145deg,#f4f8f4,#eaf3ec)!important;
  border-radius:22px!important;translate:-8px -10px;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(4){
  background:linear-gradient(145deg,#f7f5ee,#edf3f7)!important;
  border-radius:22px!important;translate:9px 10px;
}
body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-hero-layer{
  transition:opacity .76s cubic-bezier(.25,.65,.2,1)!important;
}
@media(min-width:1750px){
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    height:clamp(430px,25vw,540px)!important;
  }
}
@media(min-width:701px) and (max-width:1120px){
  body.ci-brand .merch-hero-editorial,
  body.ci-brand .merch-hero-editorial:has(.merch-real-showcase:not([hidden])){
    grid-template-columns:minmax(210px,.34fr) minmax(0,.66fr)!important;
    gap:clamp(17px,3vw,32px)!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.78fr)!important;
    height:clamp(290px,36vw,400px)!important;
  }
}
@media(max-width:700px){
  body.ci-brand .merch-hero-editorial,
  body.ci-brand .merch-hero-editorial:has(.merch-real-showcase:not([hidden])){
    grid-template-columns:minmax(0,1fr)!important;gap:18px!important;
    padding:22px 0 21px!important;
  }
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:clamp(2.15rem,8.3vw,2.95rem)!important;
    line-height:1.09!important;margin-bottom:9px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-hero-subline{
    max-width:490px!important;font-size:.96rem!important;line-height:1.5!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:minmax(0,205px) minmax(0,146px)!important;
    height:366px!important;gap:8px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(2){
    translate:0 0;background:transparent!important;
  }
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(3),
  body.ci-brand .merch-hero-editorial .merch-real-showcase .merch-showcase-product:nth-child(4){
    translate:0 0;border-radius:13px!important;
  }
}
@media(max-width:390px){
  body.ci-brand .merch-hero-editorial .merch-real-showcase,
  body.storefront-dark.merch-refined.ci-brand .merch-hero-editorial .merch-real-showcase{
    grid-template-rows:minmax(0,180px) minmax(0,125px)!important;height:313px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.ci-brand .merch-hero-editorial .merch-hero-layer{transition:none!important}
}

/* V10 – fill the gallery-height welcome space with confident editorial copy.
   Product mockups and their crossfade are unaffected. */
body.ci-brand .merch-hero-editorial .hero-copy{
  max-width:none!important;
  width:100%;
}
body.ci-brand .merch-hero-editorial .hero-copy h1{
  font:600 clamp(3.4rem,5vw,6rem)/1.025 Fredoka,Inter,system-ui,sans-serif!important;
  letter-spacing:-.052em!important;
  margin:0 0 clamp(24px,2.7vw,38px)!important;
  max-width:none!important;
  text-wrap:initial!important;
}
body.ci-brand .merch-hero-editorial .hero-copy h1 .merch-headline-line{display:block}
body.ci-brand .merch-hero-editorial .hero-copy h1 .merch-headline-line:last-child{color:#c18b00}
body.ci-brand .merch-hero-editorial .merch-hero-subline{
  font:400 clamp(1.08rem,1.32vw,1.45rem)/1.48 Inter,system-ui,sans-serif!important;
  max-width:540px!important;
  color:#455f70!important;
  margin:0!important;
}
@media(min-width:901px) and (max-width:1250px){
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:clamp(3.25rem,4.7vw,3.8rem)!important;
    margin-bottom:21px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-hero-subline{
    font-size:clamp(1.01rem,1.5vw,1.17rem)!important;
    line-height:1.48!important;
  }
}
@media(max-width:900px){
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:clamp(2.75rem,6.3vw,4.4rem)!important;
    line-height:1.04!important;
    margin-bottom:19px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-hero-subline{
    font-size:clamp(1.025rem,2.2vw,1.23rem)!important;
    line-height:1.48!important;
    max-width:610px!important;
  }
}
@media(max-width:640px){
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:clamp(2.6rem,10.6vw,3.45rem)!important;
    margin-bottom:17px!important;
  }
  body.ci-brand .merch-hero-editorial .merch-hero-subline{
    font-size:1rem!important;
    line-height:1.5!important;
  }
}
/* Crossfade the audience-led copy in step with each five-second artwork change. */
body.ci-brand .merch-hero-editorial .hero-copy {isolation:isolate;}
body.ci-brand .merch-hero-editorial .hero-copy .merch-copy-outgoing {
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  width:100%;
}
@media(prefers-reduced-motion:reduce) {
  body.ci-brand .merch-hero-editorial .merch-copy-outgoing {display:none!important}
}

/* V12: exactly three visual lines for every rotating design, at every width.
   JS measures the longest line once per breakpoint and sets the shared size. */
body.ci-brand .merch-hero-editorial .hero-copy h1 {
  font-size:var(--merch-headline-fit-size,clamp(3.4rem,5vw,6rem))!important;
}
@media(min-width:901px) and (max-width:1250px){
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:var(--merch-headline-fit-size,clamp(3.25rem,4.7vw,3.8rem))!important;
  }
}
@media(max-width:900px){
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:var(--merch-headline-fit-size,clamp(2.75rem,6.3vw,4.4rem))!important;
  }
}
@media(max-width:640px){
  body.ci-brand .merch-hero-editorial .hero-copy h1{
    font-size:var(--merch-headline-fit-size,clamp(2.6rem,10.6vw,3.45rem))!important;
  }
}
body.ci-brand .merch-hero-editorial .hero-copy h1 .merch-headline-line {
  display:block!important;
  white-space:nowrap!important;
  overflow:visible;
}
