.nsd-fold-hero {
  --nsd-fold-red: #a61927;
  --nsd-fold-line: #e3dbd9;
  color: #1c1718;
  font-family: system-ui, sans-serif;
  width: min(100% - 3rem, 78rem);
  margin: 1.1rem auto;
}

.nsd-fold-hero *, .nsd-fold-hero *::before, .nsd-fold-hero *::after { box-sizing: border-box; }
.nsd-fold-hero :focus-visible { outline: 3px solid #691b24; outline-offset: 3px; }
.nsd-fold-brand { position: absolute; z-index: 1; top: 1.25rem; left: 1.25rem; padding: 0; background: transparent; }
.nsd-fold-brand p { margin: .48rem 0 0; color: #594c50; font-size: .9rem; line-height: 1.4; }
.nsd-fold-wordmark { display: flex; align-items: center; gap: .63rem; margin: 0; padding: 0; color: inherit; font: inherit; }
.nsd-fold-wordmark img { width: 40px; height: 40px; border-radius: .5rem; }
.nsd-fold-wordmark span { font-size: 1.05rem; font-weight: 820; line-height: 1; letter-spacing: -.04em; }
.nsd-fold-wordmark small { display: block; margin-top: .25rem; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; }
.nsd-fold-age { position: absolute; z-index: 1; top: 1.25rem; right: 1.25rem; padding: .3rem .55rem; border-radius: .28rem; background: #fffdf8; color: #442429; font-size: .72rem; font-weight: 750; white-space: nowrap; }


.nsd-fold-slides { position: relative; overflow: hidden; border: 1px solid var(--nsd-fold-line); border-radius: .7rem; background: #f6f3f2 url("red-fold.webp") center 48% / cover no-repeat; cursor: grab; touch-action: pan-y pinch-zoom; }
.nsd-fold-slides[data-dragging] { cursor: grabbing; user-select: none; }
.nsd-fold-slide {
  --banner-height: clamp(24rem, 36vw, 31rem);
  --product-size: min(76%, 56rem, calc(var(--banner-height) * 1.6));
  --product-centre: -48%;
  position: relative;
  min-height: var(--banner-height);
}
.nsd-fold-slide[hidden] { display: none; }
#nsd-fold-packs { --product-size: min(60%, 37rem, calc(var(--banner-height) * 1.12)); --product-centre: -50%; }
#nsd-fold-cigars { --product-size: min(67%, 47rem, calc(var(--banner-height) * 1.28)); --product-centre: -50%; }

.nsd-fold-product {
  position: absolute;
  top: 51.5%;
  left: 49%;
  width: var(--product-size);
  height: auto;
  transform: translate(-50%, var(--product-centre));
}

#nsd-fold-cartons .nsd-fold-product, #nsd-fold-packs .nsd-fold-product { filter: drop-shadow(0 .95rem .9rem #4c303449); }
.nsd-fold-shop {
  position: absolute;
  bottom: 1.2rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: .56rem .87rem;
  border-radius: .38rem;
  background: var(--nsd-fold-red);
  font-size: .92rem;
  font-weight: 750;
}
.nsd-fold-hero a.nsd-fold-shop { color: #fff; text-decoration: none; }
.nsd-fold-hero a.nsd-fold-shop:is(:hover, :active) { background: #861420; }
.nsd-fold-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 631px) and (max-width: 1100px) {
  #nsd-fold-cartons { --product-size: min(76%, calc(var(--banner-height) * 1.25)); }
  #nsd-fold-cigars { --product-size: min(67%, calc(var(--banner-height) * 1.03)); }
}

@media (max-width: 900px) {
  .nsd-fold-hero { width: calc(100% - 2rem); }
  .nsd-fold-slide { --banner-height: clamp(22rem, 48vw, 25rem); }
}

@media (max-width: 630px) {
  .nsd-fold-hero { width: min(100% - 1.25rem, 34rem); margin-block: .7rem 1rem; }
  .nsd-fold-brand { top: .75rem; left: .75rem; }
  .nsd-fold-brand p { margin-top: .36rem; font-size: .82rem; }
  .nsd-fold-age { top: .75rem; right: .75rem; }
  .nsd-fold-wordmark img { width: 33px; height: 33px; }
  .nsd-fold-slides { background-position: 58% center; }
  .nsd-fold-slide { --product-size: 100%; --banner-height: clamp(19rem, 68vw, 23rem); }
  #nsd-fold-packs { --product-size: min(77%, 21rem, calc(var(--banner-height) * 1.05)); }
  #nsd-fold-cigars { --product-size: min(83%, calc(var(--banner-height) * 1.25)); }
  .nsd-fold-product { top: 51.5%; left: 50%; }
  .nsd-fold-shop { min-height: 2.75rem; bottom: .75rem; left: .75rem; }
}
