/* Home page: scrolling banner, categories, ready to order, personalize */

/* Scrolling banner of products and collections: big cards, sized from the screen width */
.marquee { --mq: clamp(84px, 11vw, 132px); overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); padding: clamp(18px, 3vw, 34px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); flex: none; margin: 0; padding: 0 clamp(6px, 1vw, 12px); list-style: none; }
.mq-product { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding: clamp(8px, 1vw, 14px) clamp(18px, 2.4vw, 34px) clamp(8px, 1vw, 14px) clamp(8px, 1vw, 14px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg-soft); transition: box-shadow .2s, transform .2s; }
.mq-product:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .12); transform: translateY(-3px); }
.mq-product img { width: var(--mq); height: var(--mq); object-fit: contain; border-radius: 14px; background: transparent; padding: 6px; flex: none; }
.mq-product span { display: grid; gap: 2px; line-height: 1.25; }
.mq-product b { font-size: clamp(1rem, 1.5vw, 1.3rem); white-space: nowrap; }
.mq-product small { color: var(--muted); font-weight: 700; font-size: clamp(.9rem, 1.2vw, 1.05rem); }
.mq-collection { display: grid; align-content: center; gap: 2px; height: calc(var(--mq) + clamp(16px, 2vw, 28px) + 2px); padding: 0 clamp(26px, 3.6vw, 52px); border-radius: 20px; color: #fff; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.mq-collection:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.mq-collection small { font-size: clamp(.68rem, .9vw, .8rem); text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.mq-collection b { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 800; }
.mq-collection.c0 { background: var(--magenta); }
.mq-collection.c1 { background: var(--cyan); }
.mq-collection.c2 { background: var(--green); }
.mq-collection.c3 { background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-back { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-gallery { padding: clamp(10px, 1.6vw, 18px) 0; background: var(--bg-soft); }
.marquee-gallery .marquee-track { animation-name: marquee-back; animation-duration: 90s; }
.mq-photo { display: block; transition: transform .2s, box-shadow .2s; border-radius: 16px; overflow: hidden; }
.mq-photo:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.mq-photo img { display: block; width: calc(var(--mq) * 1.25); height: calc(var(--mq) * 1.25); object-fit: cover; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-list[aria-hidden="true"] { display: none; }
}

/* Categories section, just above "Ready to order" */
.home-cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.home-cats { background: #e8f5fb; }  /* light cyan */
.home-cats-grid .cat { background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.home-cats .eyebrow { background: #cdeaf7; color: #14688f; }

/* Section headings */
.home-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.eyebrow { display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px; background: #fde3f1; color: var(--magenta-dark); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.personalize .eyebrow { background: #ffe38a; color: #6b4e00; }

/* Ready to order: one shelf per collection, a grid that shows 6 products and reveals the rest on demand */
.shelf + .shelf { margin-top: 44px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shelf-head h3 { font-size: 1.5rem; font-weight: 800; }
.shelf-head a { color: var(--magenta); font-weight: 700; white-space: nowrap; }
.shelf-head a:hover { text-decoration: underline; }
.shelf-desc { margin: 4px 0 0; color: var(--muted); }
.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.shelf-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
.shelf-more small { color: var(--muted); font-size: .85rem; }
.shelf-more .btn { min-width: 200px; }

/* Personalize */
.personalize { background: #fff4cf; }  /* light yellow */
.pz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pz-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .05); transition: transform .25s, box-shadow .25s; }
a.pz-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .13); }
.pz-media { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: 12px; background: var(--bg-soft); overflow: hidden; }
.pz-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.pz-name { font-size: 1.15rem; font-weight: 800; }
.pz-go { color: var(--magenta); font-weight: 700; font-size: .92rem; }
.pz-more { margin: 28px 0 0; text-align: center; }
.pz-more a { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.pz-more a:hover { color: var(--magenta); }

@media (max-width: 980px) {
  .pz-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf-grid { gap: 18px; }
}
@media (max-width: 600px) {
  .home-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shelf-head h3 { font-size: 1.25rem; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  /* compact cards for two columns: smaller text, the price above a full-width button */
  .shelf-grid .p-media .sale { top: 8px; left: 8px; padding: 3px 8px; font-size: .68rem; }
  .shelf-grid .p-body { padding-top: 10px; }
  .shelf-grid .p-cat { font-size: .68rem; }
  .shelf-grid .p-body h3 { font-size: .95rem; line-height: 1.25; }
  .shelf-grid .p-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .shelf-grid .p-foot .btn { width: 100%; }
  .shelf-grid .price { font-size: 1rem; }
  .shelf-more .btn { width: 100%; }
  .pz-grid { gap: 12px; }
  .pz-card { padding: 10px; }
  .pz-name { font-size: 1rem; }
}

/* Trust strip: yellow, so it never sits black against the plum slide */
.strip { background: var(--yellow); color: var(--ink); }
.strip svg { color: #8a3b00; }

/* Hero carousel: the original static banner first, the customization proposal slides in after 2.5 s */
.hero-carousel { position: relative; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; transform: translateX(110%); opacity: 0; visibility: hidden; transition: transform .75s cubic-bezier(.4, 0, .2, 1), opacity .75s ease, visibility 0s .75s; }
.hero-slide.is-active { transform: none; opacity: 1; visibility: visible; transition: transform .75s cubic-bezier(.4, 0, .2, 1), opacity .75s ease, visibility 0s 0s; }
.hero-slide.is-left { transform: translateX(-110%); }  /* the slide that just left: it waits on the left, then jumps back to the right unseen */
.hero-slide.no-anim { transition: none !important; }
.hero-slide.s1 { background: var(--bg-soft); }
.hero-slide.s3 { color: #fff; background: radial-gradient(circle at 12% 90%, #ff5cb8 0%, transparent 45%), linear-gradient(135deg, #e5188b 0%, #a40b66 100%); }
.hero-slide.s2 { color: #fff; background: radial-gradient(circle at 85% 20%, #5a1a6e 0%, transparent 55%), linear-gradient(135deg, #2b1040 0%, #3a1450 100%); }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: #c9ccd3; cursor: pointer; transition: width .25s, background .25s; }
.hero-dots button.on { width: 30px; background: var(--magenta); }
.hero-dots button:hover:not(.on) { background: #9aa0ab; }
.hero-dots button:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.hero-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); cursor: pointer; transform: translateY(-50%); transition: background .2s, transform .2s; }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-carousel[data-slide="2"] .hero-dots button, .hero-carousel[data-slide="3"] .hero-dots button { background: rgba(255, 255, 255, .4); }
.hero-carousel[data-slide="2"] .hero-dots button.on, .hero-carousel[data-slide="3"] .hero-dots button.on { background: var(--yellow); }

/* Slide 2: customize */
.hero-grid.cz { padding: 40px 0 64px; }
.cz-eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 16px; border-radius: 999px; background: var(--yellow); color: #3b1450; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.cz-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.05; }
.cz-title em { font-style: normal; color: var(--yellow); }
.hero.hero-carousel .cz p { max-width: 480px; margin: 20px 0 22px; color: #e4d8ee; font-size: 1.1rem; }
.cz-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.cz-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 600; font-size: .92rem; }
.cz-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--magenta); color: #fff; font-size: .8rem; }
.cz-btn { background: var(--yellow); color: #3b1450; }
.cz-btn:hover { background: #ffe08a; }
.cz-link { color: #fff; }
.cz-link:hover { color: var(--yellow); }

.cz-visual { position: relative; aspect-ratio: 5 / 4; }
.cz-blob { position: absolute; border-radius: 50%; }
.cz-pink { width: 64%; aspect-ratio: 1; background: var(--magenta); right: 2%; top: -2%; }
.cz-yellow { width: 40%; aspect-ratio: 1; background: var(--yellow); left: 2%; bottom: 0; }
.cz-violet { width: 24%; aspect-ratio: 1; background: #7b3fe4; right: 0; bottom: 4%; }
.cz-shirt { position: absolute; z-index: 2; width: 68%; right: 9%; top: 1%; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .4)); }
.cz-shirt img { display: block; width: 100%; }
.cz-shirt .cz-design { position: absolute; left: 50%; top: 44%; width: 34%; height: auto; transform: translate(-50%, -50%); }
.cz-cap { position: absolute; z-index: 3; width: 38%; left: 3%; bottom: 8%; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .4)); }
.cz-chip { position: absolute; z-index: 4; left: 0; top: 14%; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.cz-chip span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-carousel[data-slide] .hero-slide { transition: none; }
}
@media (max-width: 860px) {
  .hero-grid.cz { padding: 28px 0 56px; }
  .cz-visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (min-width: 761px) and (max-width: 860px) {
  .hero-arrow { display: none; }  /* tablets: swipe or use the dots */
}
@media (max-width: 600px) {
  .hero-dots { bottom: 12px; }
  .cz-steps li { font-size: .85rem; }
  .cz-chip { padding: 8px 12px; font-size: .8rem; }
}

/* Products chosen in the admin: shown like the original pictures (cut out, with a soft shadow), at the same sizes */
.hero-eyebrow { display: inline-block; margin-bottom: 12px; padding: 5px 16px; border-radius: 999px; background: #fde3f1; color: var(--magenta-dark); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual .item.is-photo { aspect-ratio: 1; object-fit: contain; }
.cz-shirt.is-photo img, .cz-cap.is-photo { aspect-ratio: 1; object-fit: contain; }

/* Phones: the whole slide (text, buttons and picture) fits on the first screen, and the slider stays in view.
 * The picture is sized from the screen height (svh): big on tall phones, smaller on short ones, so the text never gets pushed away. */
@media (max-width: 760px) {
  .hero-slide .hero-grid, .hero-slide .hero-grid.cz { gap: 12px; padding: 14px 0 50px; }
  .hero-slide h1, .hero-slide .cz-title { font-size: clamp(1.9rem, 8.6vw, 2.4rem); line-height: 1.08; }
  .hero-slide p, .hero.hero-carousel .hero-slide .cz p { margin: 8px auto 12px; font-size: .92rem; line-height: 1.4; }
  .cz-eyebrow, .hero-eyebrow { margin-bottom: 8px; padding: 3px 12px; font-size: .72rem; }
  .cz-steps { justify-content: center; gap: 6px; margin: 0 0 12px; }
  .cz-steps li { gap: 6px; padding: 4px 10px 4px 4px; font-size: .75rem; }
  .cz-steps b { width: 20px; height: 20px; font-size: .7rem; }
  .hero-slide .hero-cta { flex-wrap: wrap; gap: 4px 12px; }
  .hero-slide .hero-cta .btn { width: auto; min-height: 42px; padding-top: 0; padding-bottom: 0; font-size: .9rem; }
  .hero-slide .hero-visual, .hero-slide .cz-visual { width: clamp(150px, 120vh - 530px, 100%); width: clamp(150px, 120svh - 530px, 100%); max-width: none; }
  .hero-slide .price-tag { padding: 6px 10px; font-size: .7rem; }
  .hero-slide .price-tag b { font-size: 1rem; }
  .cz-chip { padding: 6px 10px; font-size: .72rem; }

  /* the slider: "‹ ● ● ›" at the bottom of the banner (swiping works too) */
  .hero-arrow { display: grid; top: auto; bottom: 8px; width: 34px; height: 34px; transform: none; }
  .hero-arrow:hover { transform: none; }
  .hero-arrow svg { width: 17px; height: 17px; }
  .hero-prev { left: calc(50% - 71px); }
  .hero-next { right: auto; left: calc(50% + 37px); }
  .hero-dots { bottom: 8px; height: 34px; align-items: center; pointer-events: none; }  /* the bar spans the banner: only the dots catch taps, so the arrows beside them stay reachable */
  .hero-dots button { pointer-events: auto; }
  .hero-dots button { width: 12px; height: 12px; }
  .hero-dots button.on { width: 30px; }
}

/* Narrow phones (360 px and below 400): a little tighter so the steps and the two buttons stay on one line each */
@media (max-width: 400px) {
  .hero-slide p, .hero.hero-carousel .hero-slide .cz p { font-size: .88rem; margin: 6px auto 10px; }
  .cz-steps { gap: 4px; margin-bottom: 10px; }
  .cz-steps li { gap: 5px; padding: 3px 8px 3px 3px; font-size: .7rem; }
  .cz-steps b { width: 18px; height: 18px; font-size: .65rem; }
  .hero-slide .hero-cta { gap: 0 8px; flex-wrap: nowrap; justify-content: center; }
  .hero-slide .hero-cta .btn { min-height: 40px; padding-left: 12px; padding-right: 12px; font-size: .82rem; white-space: nowrap; }
  .hero-slide .hero-cta .btn svg { width: 14px; height: 14px; }
}

/* Phones, slide 1: it has no label and no steps, so it has room for a bigger picture than slide 2 (the banner's height follows the taller slide 2) */
@media (max-width: 760px) {
  .hero-slide.s1 .hero-visual { width: clamp(170px, 120vh - 450px, 100%); width: clamp(170px, 120svh - 450px, 100%); }
}

/* Slide 3: "We do it for you". The person points at the text and the button, so the picture sits on the right,
   the way they face; on a phone it goes under the text, as large as the screen height allows. */
.hero-slide.s3 .cz p { color: #ffe3f2; }
.hero-slide.s3 .cz-steps li { background: rgba(255, 255, 255, .16); }
.hero-slide.s3 .cz-steps b { background: var(--yellow); color: #3b1450; }
.b3-visual { position: relative; aspect-ratio: 494 / 348; width: 100%; max-width: 620px; justify-self: center; }
.b3-blob { position: absolute; border-radius: 50%; }
.b3-a { width: 62%; aspect-ratio: 1; right: 6%; bottom: -6%; background: #fff; opacity: .95; }
.b3-b { width: 30%; aspect-ratio: 1; left: 2%; top: 2%; background: var(--yellow); }
.b3-img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .28)); }
@media (max-width: 760px) {
  .hero-slide .b3-visual { width: clamp(190px, 150vh - 520px, 100%); width: clamp(190px, 150svh - 520px, 100%); max-width: 420px; }
}
@media (max-width: 860px) {
  .hero-slide.s3 .cz p { margin-left: auto; margin-right: auto; }
  .hero-slide.s3 .cz-steps { justify-content: center; }
  .b3-visual { max-width: 440px; }  /* stacked under the text: not taller than the other two slides */
}
@media (max-width: 400px) {
  .hero-slide.s3 .hero-cta { flex-wrap: wrap; }
}

/* the two scrolling bands, a little larger on a phone (84px before) */
@media (max-width: 760px) {
  .marquee { --mq: 96px; }
}

/* New home structure: hero with the three ways to order */
.home-hero { color: #fff; background: radial-gradient(circle at 85% 20%, #5a1a6e 0%, transparent 55%), linear-gradient(135deg, #2b1040 0%, #3a1450 100%); padding: clamp(18px, 2.6vw, 34px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.home-hero h1 { font-size: clamp(1.7rem, 4.4vw, 3.2rem); font-weight: 900; max-width: 15ch; margin: 0 auto; }
.home-hero h1 em { font-style: normal; color: var(--yellow); }
.hh-sub { max-width: 620px; margin: 18px auto 0; font-size: clamp(.88rem, 1.3vw, 1rem); color: #e9dff0; }
.hh-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 960px; margin: clamp(24px, 4vw, 40px) auto 0; text-align: left; }
.hh-opt { position: relative; display: grid; gap: 2px; padding: 20px 52px 20px 20px; border-radius: 18px; color: #fff; background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .22); transition: transform .2s, background .2s, border-color .2s; }
.hh-opt:hover, .hh-opt:focus-visible { transform: translateY(-3px); background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.hh-num { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%; background: var(--magenta); color: #fff; font-weight: 800; font-size: .9rem; }
.hh-opt b { font-size: 1.15rem; }
.hh-opt small { color: #e9dff0; font-size: .92rem; }
.hh-opt i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.4rem; font-weight: 800; color: #fff; }
.marquee-hero { margin-top: clamp(22px, 3.4vw, 36px); padding: 0; background: transparent; border: 0; }
/* No frame around the products for now. To bring the transparent white squares back, use:
   background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .22);  (hover: .2 and .5) */
.marquee-hero .mq-product { color: #fff; background: transparent; border: 0; }
.marquee-hero .mq-product:hover { background: transparent; box-shadow: none; }
.marquee-hero .mq-product img { background: transparent; }
.marquee-hero .mq-product small { color: var(--yellow); }

/* Collections: cards that switch the products shown below */
.col-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto 34px; }
.col-card { display: grid; align-content: center; gap: 2px; min-height: 110px; padding: 18px 22px; border-radius: 18px; color: #fff; border: 3px solid transparent; opacity: .72; transition: transform .2s, box-shadow .2s, opacity .2s; }
.col-card:hover, .col-card.on { opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.col-card.on { border-color: var(--ink); }
.col-card small { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.col-card b { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; }
.col-card span { font-size: .88rem; opacity: .9; }
.col-card.c0 { background: var(--magenta); } .col-card.c1 { background: var(--cyan); } .col-card.c2 { background: var(--green); } .col-card.c3 { background: var(--ink); }
.col-panel[hidden] { display: none; }
.col-empty { margin: 24px 0 0; padding: 32px 16px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: 16px; }

/* Custom print yourself: the categories that can be customized sit under the pitch */
.pz-wrap { margin-top: clamp(32px, 5vw, 56px); }
.pz-title { margin-bottom: 18px; text-align: center; font-size: 1.4rem; color: #fff; }
.calc .pz-more a { color: #fff; }

@media (max-width: 760px) {
  /* phone: the name and the price under the picture */
  /* the violet start fills the screen under the header, whatever the phone (svh: the visible height, with the browser bars) */
  .home-hero { display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100vh - var(--header-h) - 1px); min-height: calc(100svh - var(--header-h) - 1px); padding: 4px 0 16px; }
  .home-hero .marquee-hero { margin-top: 0; }
  .home-hero .hh-options { margin-top: 0; }
  .home-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hh-sub { margin-top: 10px; font-size: .88rem; }
  /* same size as the picture of "Your design, exactly as you imagined it" (84% of the width), less on short screens so the start still fits */
  .marquee-hero { --mq: min(calc((100vw - 40px) * .86), 38svh); }
  .marquee-hero .mq-product { flex-direction: column; align-items: center; gap: 8px; padding: 10px 10px 14px; text-align: center; }
  .marquee-hero .mq-product span { justify-items: center; }
  /* the picture is as wide as the one of the showcase and as tall (same proportions) */
  /* the product sits on the light sheet: a big picture, its name under it, no price on a phone */
  .marquee-hero .mq-product img { width: min(calc(100vw - 24px), calc(var(--mq) * 1.5)); height: min(calc(100vw - 24px), calc(var(--mq) * 1.5)); padding: 0; background: transparent; box-shadow: none; }
  .marquee-hero .mq-product small { display: none; }
  .marquee-hero .mq-product { gap: 6px; color: var(--ink); }
  .marquee-hero .mq-product { gap: 14px; }
  .marquee-hero .mq-product b { font-size: 1.25rem; }
  .marquee-hero .mq-product small { font-size: 1.15rem; }
  .hh-options { margin-top: 22px; }
  /* phone: the three options side by side, just the number and the name */
  .hh-options { gap: 8px; }
  .hh-opt { justify-items: center; align-content: start; padding: 8px 4px; text-align: center; border-radius: 14px; }
  .hh-opt b { font-size: .76rem; line-height: 1.2; }
  .hh-opt small, .hh-opt i { display: none; }
  .hh-num { width: 24px; height: 24px; margin-bottom: 4px; font-size: .8rem; }
  .col-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .col-card { min-height: 92px; padding: 14px 16px; }
}

/* short phones: everything gets a bit smaller so the violet start still fits the screen */
@media (max-width: 760px) and (max-height: 720px) {
  .home-hero { padding: 10px 0 14px; }
  .home-hero h1 { font-size: clamp(1.4rem, 6.6vw, 1.8rem); }
  .hh-sub { margin-top: 8px; font-size: .8rem; line-height: 1.4; }
  .marquee-hero { --mq: min(calc((100vw - 40px) * .86), 23svh); }
  .marquee-hero .mq-product { gap: 4px; padding: 8px 8px 10px; }
  .marquee-hero .mq-product b { font-size: 1rem; }
  .marquee-hero .mq-product small { font-size: .95rem; }
  .hh-opt { padding: 8px 4px; }
  .hh-num { width: 26px; height: 26px; margin-bottom: 3px; }
  .hh-opt b { font-size: .76rem; }
}
.hh-sub strong { display: inline-block; margin-top: 6px; color: var(--yellow); }

/* The bands move by themselves (home.js) and can also be pulled: a swipe on a phone, a drag with the mouse */
.marquee.is-js { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.marquee.is-js::-webkit-scrollbar { display: none; }
.marquee.is-js .marquee-track { animation: none; }
.marquee.is-dragging { cursor: grabbing; user-select: none; }
.marquee.is-dragging a { pointer-events: none; }
.marquee img { -webkit-user-drag: none; user-select: none; }

/* The three options: solid cards in the colors of the logo (pink, blue, yellow) */
.hh-opt { --c: var(--magenta); background: var(--c); border-color: var(--c); color: #fff; }
.hh-opt.o2 { --c: var(--cyan); }
.hh-opt.o3 { --c: var(--yellow); color: #3b1450; }
.hh-opt small, .hh-opt i { color: inherit; }
.hh-num { background: #fff; color: var(--c); }
.o3 .hh-num { background: #3b1450; color: var(--yellow); }
.hh-opt:hover, .hh-opt:focus-visible { background: var(--c); border-color: #fff; filter: brightness(1.06); }

/* Gallery: one picture and a "See more" button */
.gal-feature { padding: clamp(28px, 5vw, 60px) 0 0; }
.gf-card { position: relative; display: block; aspect-ratio: 16 / 7; border-radius: 24px; overflow: hidden; background: var(--bg-soft); box-shadow: 0 16px 40px rgba(0, 0, 0, .15); }
.gf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gf-card:hover img { transform: scale(1.04); }
.gf-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 8, 40, .82) 0%, rgba(26, 8, 40, .25) 45%, transparent 70%); }
.gf-text { position: absolute; left: clamp(18px, 3.4vw, 44px); right: clamp(18px, 3.4vw, 44px); bottom: clamp(16px, 3vw, 38px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; color: #fff; }
.gf-text small { flex-basis: 100%; margin-bottom: -8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.gf-text b { max-width: 28ch; font-size: clamp(1.25rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.12; }
.gf-btn { flex: none; }
.gf-card:hover .gf-btn { background: var(--magenta-dark); }
@media (max-width: 760px) {
  .gf-card { aspect-ratio: 4 / 5; border-radius: 18px; }
  .gf-btn { width: 100%; justify-content: center; }
}

/* Phone: the products of the violet start slide sideways, one at a time: one picture fills the width, stays 5 seconds,
   then slides out to the left while the next one comes in (home.js moves the list; the neighbours are never visible) */
@media (max-width: 760px) {
  .marquee-hero.is-js { overflow: hidden; cursor: auto; }
  .marquee-hero .marquee-track { display: block; width: 100%; }
  .marquee-hero .marquee-list { display: flex; width: 100%; padding: 0; gap: 0; will-change: transform; }
  .marquee-hero .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-hero .marquee-list li { flex: 0 0 100%; display: flex; justify-content: center; }
}

/* The sheet: transparent wrapper on a wide screen; on a phone a light rounded sheet that rises over the violet */
.hh-sheet { display: contents; }
@media (max-width: 760px) {
  .home-hero { padding-bottom: 0; }
  .hh-sheet { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 12px 0 18px; border-radius: 30px 30px 0 0; background: var(--bg-soft); box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }
  .hh-sheet .marquee-hero { margin: auto 0; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .hh-sheet { margin-top: 8px; padding: 8px 0 12px; border-radius: 24px 24px 0 0; }
  .marquee-hero .mq-product img { width: min(calc(100vw - 24px), calc(var(--mq) * 1.3)); height: min(calc(100vw - 24px), calc(var(--mq) * 1.3)); }
}

/* The sheet: transparent wrapper on a wide screen; on a phone a light rounded sheet that rises over the violet */
.hh-sheet { display: contents; }
@media (max-width: 760px) {
  .home-hero { padding-bottom: 0; }
  .hh-sheet { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 12px 0 18px; border-radius: 30px 30px 0 0; background: var(--bg-soft); box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }
  .hh-sheet .marquee-hero { margin: auto 0; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .hh-sheet { margin-top: 8px; padding: 8px 0 12px; border-radius: 24px 24px 0 0; }
  .marquee-hero .mq-product img { width: min(calc(100vw - 24px), calc(var(--mq) * 1.3)); height: min(calc(100vw - 24px), calc(var(--mq) * 1.3)); }
}

/* A collection that has products shows one of them (instead of the solid color); an empty collection keeps its color */
.col-card { position: relative; overflow: hidden; }
.col-card.has-img { min-height: 250px; align-content: end; opacity: 1; color: #fff; background: radial-gradient(circle at 50% 38%, #6a2a80 0%, #3a1450 62%, #2b1040 100%); }
.col-card.has-img:not(.on):not(:hover) { filter: saturate(.85) brightness(.92); }
.col-card.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(26, 8, 40, .92) 0%, rgba(26, 8, 40, .55) 30%, transparent 55%); }
.col-card.has-img > * { position: relative; z-index: 2; }
.col-card.has-img .col-img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5% 16% 46%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); transition: transform .5s; }
.col-card.has-img:hover .col-img, .col-card.has-img.on .col-img { transform: scale(1.06); }
.col-card.has-img small { color: var(--yellow); opacity: 1; }
@media (max-width: 760px) { .col-card.has-img { min-height: 230px; } }
