/* =====================================================================
   BeautyLab — site v2 (built from Figma "Page — P1" + "Page — P1 · Mobile (390)")

   FLUID SIZING
   Every size is in rem, and the root font-size follows the viewport width,
   so the whole layout scales proportionally:
     • desktop (≥1200px): 1rem = 1/144 of the screen → 10px at 1440 (Figma desktop)
     • mobile  (<1200px): 1rem = 1/39  of the screen → 10px at 390  (Figma mobile)
   "4.8rem" here = "48px" in Figma on the matching frame.

   TYPE RULE (Lika, Nov 2026)
   Smallest text = 16px on desktop AND mobile, line-height 140%.
   Change --fs-min to adjust every small text at once.
   ===================================================================== */

:root {
  --light: #f8f2ed;      /* page background */
  --ivory: #f4efe8;      /* text/buttons on dark */
  --dark: #2b2726;
  --wine: #8a2236;
  --white: #ffffff;
  --hero-bg: #191616;  /* hero + dark bands + footer (Figma 335:732) */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Raleway", system-ui, sans-serif;
  --fs-min: 1.6rem;      /* 16px at 1440 */
  --lh: 1.4;
  /* unified type scale (desktop / mobile in the media query) */
  --h2: 6.4rem;  /* section headers, Cormorant, lh 100% */
  --h3: 2.8rem;  /* large product titles, lh 120% */
  --h4: 2rem;    /* card titles, FAQ questions, intros, lh 130% */
  --price: 1.6rem;   /* card prices = 16 (Lika, Nov 6) */
  --ls-serif: -0.04em; /* Cormorant headers letter-spacing −4% */
  --shadow: 0 .4rem 1.6rem rgba(43,39,38,.06);
}

html { font-size: calc(100vw / 144); scroll-behavior: smooth; scroll-padding-top: 8rem; } /* anchors land below the sticky header */
@media (min-width: 1920px) { html { font-size: 13.333px; } }
@media (max-width: 1199px) { html { font-size: min(calc(100vw / 39), 13px); } :root { --h2: 4rem; --h3: 2.4rem; --h4: 1.8rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }   /* with body: nothing sliding in from the sides can widen the page on phones */
body {
  overflow-x: clip;   /* elements sliding in from the sides never cause sideways scrolling */
  margin: 0; background: var(--light); color: var(--dark);
  font-family: var(--sans); font-size: var(--fs-min); line-height: var(--lh); letter-spacing: 0;
  font-variant-numeric: lining-nums proportional-nums; -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.inner { position: relative; width: 144rem; margin: 0 auto; }

/* ---------- shared pieces ---------- */
.display { font-family: var(--serif); font-weight: 400; font-size: var(--h2); line-height: .8; letter-spacing: var(--ls-serif); }
.display em { font-style: italic; font-weight: 300; }

.eyebrow {
  display: flex; align-items: center; gap: 1.4rem;
  font-size: var(--fs-min); font-weight: 500; line-height: var(--lh); text-transform: uppercase; color: var(--wine);
}
.eyebrow--ivory { color: rgba(244,239,232,.7); }
.eyebrow--name { display: block; text-transform: none; line-height: 1; } /* plain text, so "Olha Borysova" can wrap to its own line on tablet */ /* 16px row, like the Figma eyebrow */
.eyebrow--strong { font-weight: 600; }
.eyebrow--footer { color: rgba(244,239,232,.6); }
.eyebrow--footer::after { content: ""; width: 4rem; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.7rem 3.6rem; border: 1px solid currentColor; border-radius: 1rem;
  font-size: var(--fs-min); font-weight: 500; line-height: 1.2; white-space: nowrap; /* Medium, normal case (Lika, Nov 12) */
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn--sm { padding: 1.2rem 2.4rem; }
.btn--block { width: 100%; }
.btn--ivory { background: var(--ivory); border-color: var(--ivory); color: var(--dark); }
.btn--ghost-ivory { color: var(--ivory); }
.btn--wine { background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.btn--ghost-wine { color: var(--wine); }
.btn--icon svg { width: 1.8rem; height: 1.8rem; }
.btn-pair { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.6rem; width: max-content; }
.btn-pair--tight { gap: 1.2rem; }

.sparkles { color: var(--wine); width: 12rem; height: 9rem; flex: none; }

/* price + countdown (cards, video card, pop-ups) */
.price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .8rem; }
.price strong { font-size: var(--price); font-weight: 600; }
.price s { font-size: var(--fs-min); color: rgba(43,39,38,.7); }
.price__off { font-size: 1.4rem; font-weight: 600; color: var(--wine); } /* −40% / −50% next to the old price: 14px, wine (Lika, Nov 13) */
.countdown { display: flex; align-items: baseline; gap: .6rem; font-size: var(--fs-min); color: rgba(43,39,38,.7); }
.countdown b { font-size: calc(var(--fs-min) - .2rem); font-weight: 400; color: var(--wine); font-variant-numeric: lining-nums tabular-nums; } /* regular, 2px smaller (Lika, Nov 14) */
.countdown[hidden] { display: none; }

/* ======================= HERO ======================= */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--ivory); }
.hero__inner { height: 74.4rem; overflow: hidden; }
/* Moving glow behind the dark areas (hero, Guides/Masterclasses bands, footer): soft wine + gold lights drifting.
   Very low opacity; stops moving for visitors who ask for reduced motion. */
.glow-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow-bg span { position: absolute; border-radius: 50%; filter: blur(9rem); will-change: transform; }
.glow-bg span:nth-child(1) { width: 50%; height: 80%; left: 45%; top: 0; background: rgba(138,34,54,.26); animation: glow1 8s ease-in-out infinite alternate; }
.glow-bg span:nth-child(2) { width: 38%; height: 65%; left: -8%; top: 45%; background: rgba(138,34,54,.17); animation: glow2 10s ease-in-out infinite alternate; }
.glow-bg span:nth-child(3) { width: 30%; height: 50%; left: 25%; top: -15%; background: rgba(201,161,91,.08); animation: glow3 12s ease-in-out infinite alternate; }
.band .glow-bg span:nth-child(1) { animation-delay: -3s; }
.footer .glow-bg span:nth-child(1) { animation-delay: -6s; left: 55%; }
@keyframes glow1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-28%, 22%) scale(1.15); } 100% { transform: translate(14%, -14%) scale(.9); } }
@keyframes glow2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(85%, -40%) scale(1.25); } }
@keyframes glow3 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(110%, 70%) scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .glow-bg span { animation: none; } }
/* Hero photos — Figma 335:732: portrait cut-out on the right, faint mirrored profile behind it (Multiply 75%) */
.hero__photo { position: absolute; z-index: 1; top: -4.5rem; left: 83.4rem; width: 52.42rem; height: 78.94rem; object-fit: cover; object-position: center top; }   /* Figma 377:1118 */
.hero__ghost { display: none; }   /* one portrait only since Nov 19 */
.hero__topfade { position: absolute; z-index: 1; inset: 0 0 auto 0; height: 16rem; background: linear-gradient(rgba(25,22,22,.7), rgba(25,22,22,0)); pointer-events: none; }
.hero__fade { display: none; }

/* Sticky header (Lika, Nov 13): stays on top while scrolling; after the first 40px it gets a dark,
   slightly see-through background with blur and becomes a bit slimmer. Same 1440 grid as the page. */
.nav {
  position: fixed; z-index: 40; top: 0; left: 50%; width: 144rem; max-width: 100%; transform: translateX(-50%);
  height: 10.8rem; padding: 3rem 6.4rem;
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; transition: height .3s, padding .3s;
}
.nav::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -100vw;
  background: rgba(25,22,22,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .3s; }
.nav.is-scrolled { height: 7.6rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.nav.is-scrolled::before { opacity: 1; }
.nav__logo img { width: 4.8rem; height: 4.8rem; object-fit: contain; }
/* Figma 335:732: links start 100px after the logo (x 212), same line as the left edge of the sale ticket */
.nav__links { display: flex; gap: 3.7rem; margin-left: 10rem; } /* 5px closer (Lika, Nov 13) */
.nav__links a { font-size: var(--fs-min); font-weight: 500; text-transform: none; color: rgba(244,239,232,.85); transition: color .2s; }
.nav__links a:hover { color: var(--ivory); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 1.2rem; }
.icon-btn { width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid rgba(244,239,232,.35); display: grid; place-items: center; }
.icon-btn svg { width: 1.8rem; height: 1.8rem; }
.nav__cart { position: relative; color: var(--ivory); }
.cart-count { position: absolute; top: -.4rem; right: -.4rem; min-width: 1.8rem; height: 1.8rem; padding: 0 .5rem; border-radius: 99rem;
  display: grid; place-items: center; background: var(--wine); color: var(--ivory); font-size: 1.2rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.nav__burger { display: none; }

.hero__copy { position: absolute; z-index: 2; left: 10rem; top: 15rem; transition: top .3s; width: 59rem; display: flex; flex-direction: column; gap: 2.2rem; }
/* Figma 318:491: PROFESSIONAL / digital beauty (Light Italic 110, wine) / EDUCATION — line heights 60 · 60 · 70px */
.hero__title { font-family: var(--serif); font-weight: 400; font-size: 8.4rem; line-height: 7rem; letter-spacing: 0; text-transform: uppercase; }
.hero__title span { display: block; }
.hero__title .l1 { line-height: 6rem; }
.hero__title .l2 { white-space: nowrap; font-size: 11rem; line-height: 6rem; font-style: italic; font-weight: 300; text-transform: none; color: var(--wine); }
.hero__title .l3 { line-height: 7rem; }
/* Figma spaces lines baseline-to-baseline (60, then 70px); the browser centres each line in its box.
   These nudges put the baselines where Figma has them, without moving anything else. */
.hero__title .l2, .hero__title .l3 { position: relative; }
.hero__title .l2 { top: -.8rem; }
.hero__title .l3 { top: .5rem; }
.hero__title { margin-bottom: .5rem; } /* Figma text box is 195px tall */
.hero__text { font-size: var(--fs-min); line-height: 1.3; color: rgba(244,239,232,.72); max-width: 44.1rem; }
.hero__cta { margin-top: .2rem; } /* Figma 335:732: buttons at y 633, 22px under the paragraph */
/* Sale ticket (Figma 315:374): wine ticket between the headline and the paragraph (Figma 335:732, Nov 13): top at y 416, paragraph at y 567 */
/* Left edge at x 212 (same line as the menu links), rotated 3° (right side up) around its top-left corner */
.sale-ticket { position: relative; left: 11.2rem; margin: 1.1rem 0 .8rem; transform-origin: 0 0; transform: rotate(-3deg); display: grid; grid-template-columns: auto 1fr; align-items: center; width: 55.3rem; min-height: 12rem;
  padding: 1.5rem 2.8rem 1.5rem 3.6rem; background: var(--wine); border-radius: 1rem; color: var(--ivory); overflow: hidden; transition: filter .2s; }
.sale-ticket[hidden] { display: none; }
.sale-ticket:hover { filter: brightness(1.08); }
/* Ticket notches = real cut-outs (a mask), so whatever is behind shows through (Lika, Nov 14) */
.sale-ticket {
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 1.5rem, #000 calc(1.5rem + .5px)) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 1.5rem, #000 calc(1.5rem + .5px)) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 1.5rem, #000 calc(1.5rem + .5px)) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 1.5rem, #000 calc(1.5rem + .5px)) 100% 0 / 51% 100% no-repeat;
}
.sale-ticket__pct { padding-right: 2.8rem; margin-right: 2.8rem; border-right: 1px dashed rgba(244,239,232,.5); font-family: var(--serif); font-size: 7.2rem; line-height: 7.2rem; letter-spacing: -.04em; }
.sale-ticket__copy { display: flex; flex-direction: column; gap: .6rem; }
.sale-ticket__name { font-family: var(--serif); font-size: 3.6rem; font-weight: 600; line-height: 3.4rem; letter-spacing: -.04em; text-transform: uppercase; }
.sale-ticket__what { font-weight: 600; text-transform: uppercase; line-height: var(--lh); }
.sale-ticket__when { line-height: var(--lh); color: rgba(244,239,232,.8); font-variant-numeric: lining-nums proportional-nums; }
.sale-ticket__count { font-variant-numeric: lining-nums tabular-nums; } /* same-height figures; fixed widths so the timer doesn't wobble */
.sale-ticket__pct { font-variant-numeric: lining-nums proportional-nums; }
.sale-ticket__dark { color: var(--hero-bg); }   /* "BLACK" in the dark hero colour (Figma 315:374) */
/* subtle shine sweeping across the ticket every few seconds */
.sale-ticket__shine { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.sale-ticket__shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-18deg); animation: ticket-shine 3s ease-in-out infinite; }
@keyframes ticket-shine { 0%, 20% { left: -40%; } 60%, 100% { left: 120%; } } /* a sweep every 3 s */
.sale-ticket { animation: ticket-in 1.4s cubic-bezier(.22,1,.36,1) .8s both; }   /* comes in last in the hero */
@keyframes ticket-in { 0% { opacity: 0; transform: rotate(-3deg) translateY(3rem); } 1% { opacity: 1; } 100% { opacity: 1; transform: rotate(-3deg); } }   /* solid at once, then slides up */
@media (prefers-reduced-motion: reduce) { .sale-ticket, .sale-ticket__shine::before { animation: none; } }

.trust {
  background: var(--wine); color: var(--ivory); height: 9rem;
  display: flex; align-items: center; justify-content: center; gap: 4rem;
  font-size: var(--fs-min); font-weight: 500; text-transform: uppercase;
}
.trust__row { display: flex; align-items: center; gap: 4rem; }
.trust i { font-family: var(--serif); font-style: normal; font-size: 1.6rem; color: rgba(244,239,232,.6); text-transform: none; }

/* mobile menu */
/* Menu (tablet/phone): a dark drawer slides in from the left over a dimmed page, then the links appear one after
   another from the top (Lika's reference video, Nov 14) */
.mmenu { position: fixed; inset: 0; z-index: 50; }
.mmenu[hidden] { display: none; }
.mmenu__backdrop { position: absolute; inset: 0; background: rgba(25,22,22,.55); opacity: 0; transition: opacity .6s ease; }
.mmenu__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(38rem, 86vw); background: var(--dark); color: var(--ivory);
  display: flex; flex-direction: column; padding: 8rem 2.4rem 4rem; overflow-y: auto; transform: translateX(-100%); transition: transform .8s cubic-bezier(.22,1,.36,1); }
.mmenu.is-open .mmenu__backdrop { opacity: 1; }
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu .mi { opacity: 0; transform: translateY(-1.2rem); transition: opacity .2s ease, transform .3s ease; transition-delay: 0s; }
.mmenu.is-open .mi { opacity: 1; transform: none; transition: opacity 0s linear, transform 1.3s cubic-bezier(.22,1,.36,1); transition-delay: calc(.3s + var(--i, 0) * .1s); }
@media (prefers-reduced-motion: reduce) { .mmenu__panel, .mmenu .mi, .mmenu__backdrop { transition: none; } }
.mmenu__close { position: absolute; top: 2.4rem; right: 2rem; width: 2.8rem; height: 2.8rem; }
.mmenu__links { display: flex; flex-direction: column; gap: 1.6rem; }
.mmenu__links a { font-family: var(--serif); font-size: 3.2rem; line-height: 1.1; }
.mmenu__shop { margin-top: 4rem; }
/* currency picker in the menu (Lika, Nov 14) */
.mmenu__cur { display: flex; flex-direction: column; gap: .8rem; margin-top: 2.4rem; }
.mmenu__cur span { font-size: 1.4rem; font-weight: 500; color: rgba(244,239,232,.7); }
.mmenu__cur .co__select select { width: 100%; background: transparent; border-color: rgba(244,239,232,.35); color: var(--ivory); }
.mmenu__cur .co__select select option { color: var(--dark); }
.mmenu__cur .co__select::after { border-color: var(--ivory); }
.mmenu__social { margin-top: auto; display: flex; gap: 2.4rem; font-size: var(--fs-min); font-weight: 500; text-transform: uppercase; color: rgba(244,239,232,.7); }

/* ======================= ABOUT ======================= */
.about__inner { min-height: 68rem; }
.about__head { position: absolute; left: 10rem; top: 6rem; }
.about__titlerow { display: flex; align-items: flex-start; gap: 5rem; margin-top: .6rem; }
.about__titlerow .sparkles { margin-top: -.8rem; }
.about__big { position: absolute; top: 0; right: 0; width: 48rem; height: 100%; object-fit: cover; }
.about__small { position: absolute; left: 77rem; top: 14rem; width: 31rem; height: 40rem; object-fit: cover; border-radius: .8rem; }
.about__copy { position: relative; margin-left: 10rem; padding: 20rem 0 10rem; width: 56rem; display: flex; flex-direction: column; gap: 2rem; }
.about__intro { font-size: var(--h4); line-height: 1.3; }
.about__p { font-size: var(--fs-min); line-height: var(--lh); color: rgba(43,39,38,.7); }
.checks { display: flex; flex-direction: column; gap: 1.2rem; margin-top: .4rem; }
.checks li { display: flex; align-items: center; gap: 1.4rem; font-size: var(--fs-min); }
.checks li::before {
  content: ""; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--wine);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.2 9.6 14.2 15.5 8' fill='none' stroke='%232b2726' stroke-width='1.2'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ======================= PRODUCTS (guides + masterclasses) ======================= */
/* SECTION SPACING (Lika, Nov 14): the same gap between every two blocks — 120px on desktop, 64px on tablet/phone
   (block = a section's content or its dark band). Bands sit 6rem below their section top. */
:root { --sec-gap: 12rem; }
.products--guides { margin-top: calc(var(--sec-gap) - 6rem); }   /* About photo ends flush → gap above the band */
.products__inner { padding: 25.1rem 10rem calc(var(--sec-gap) - 6rem); }
.products--mc .products__inner { padding-bottom: var(--sec-gap); }   /* full gap down to the What's next card */
.products--mc .products__inner { padding-top: 25.2rem; }
.band { position: absolute; top: 6rem; left: 6.4rem; right: 6.4rem; height: 44rem; background: var(--hero-bg); border-radius: 1.2rem; overflow: hidden; }
.products--mc .band { height: 40rem; }
/* Section paragraphs start on the 770px line (left edge of the small About photo) — Figma, Nov 12 */
.sec-head { position: absolute; top: 11.7rem; left: 10rem; right: 10rem; display: grid; grid-template-columns: 67rem 1fr; align-items: start; color: var(--ivory); }
.sec-head__sub { margin-top: 0; max-width: 32.4rem; font-size: var(--fs-min); line-height: var(--lh); color: rgba(244,239,232,.75); }
/* Section icons — where the grey squares are in Figma: top right, level with the title */
.sec-icon { position: absolute; top: 0; right: 0; width: 2.8rem; height: 3.1rem; color: var(--ivory); opacity: .85; }
.sec-icon svg { width: 100%; height: 100%; display: block; }
.sec-icon--works { top: 6rem; right: 10rem; color: var(--wine); opacity: 1; }

.cards { position: relative; display: grid; grid-template-columns: repeat(4, 29.2rem); gap: 2.4rem; } /* 4 per row, same grid as My Works */
.card { display: flex; flex-direction: column; min-height: 44rem; overflow: hidden; background: var(--white); border-radius: 1.2rem; box-shadow: var(--shadow); }
.card__img { width: 100%; height: 21.7rem; object-fit: cover; cursor: pointer; }
.card { position: relative; }
/* Bonus ribbon: mint band, wine icon + text, 30px tall, centred 50px in from the top-right corner (Figma 332:375) */
.bonus-ribbon { position: absolute; z-index: 2; top: 3.5rem; right: -7rem; width: 24rem; height: 3rem; transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center; gap: .6rem; background: #A3E4D7; color: var(--wine);
  font-size: 1.4rem; font-weight: 600; letter-spacing: .04em; line-height: 1; text-transform: uppercase; pointer-events: none; }
.bonus-ribbon svg { width: 1.6rem; height: 1.6rem; flex: none; }
.qv__stage { position: relative; overflow: hidden; border-radius: .8rem; }
.card__new { position: absolute; z-index: 1; top: 1.2rem; left: 1.2rem; padding: .4rem 1.2rem; border-radius: 99rem; background: var(--wine); color: var(--ivory); font-size: 1.4rem; font-weight: 600; line-height: 1.4; text-transform: uppercase; pointer-events: none; }
.card__new--offer { background: #E9D6AF; color: #4A3A1E; }   /* "Best offer": soft champagne gold, less red on the page (Lika, Nov 14) */
/* Black Friday tag (first line of every product card while the sale runs) — 14px exception like the badges */
.sale-tag { align-self: flex-start; display: inline-flex; align-items: center; padding: .4rem 1.2rem; border-radius: 99rem; background: var(--hero-bg); color: var(--ivory);
  font-size: 1.4rem; font-weight: 600; line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.sale-tag--outline { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }   /* regular "Discount −40%" tag after Black Friday */
.card__body { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 2rem 2.4rem; }
.card__badge { font-size: 1.4rem; font-weight: 500; text-transform: uppercase; color: var(--wine); } /* 14px: second exception to the 16px rule (Lika, Nov 12) */
.card__title { font-size: var(--h4); font-weight: 600; line-height: 1.3; } /* semi-bold names (Lika, Nov 11) */
.card__cta { margin-top: auto; padding-top: .8rem; width: 100%; } /* two equal buttons, same inner margin left and right */
.card__cta .btn--sm { padding-left: 1.2rem; padding-right: 1.2rem; }
.card__add { display: none; }   /* small cart button: phones only */
.card__add svg { width: 2rem; height: 2rem; }
.card__add.is-added { background: rgba(138,34,54,.06); }
.mc-card > .card__new { z-index: 2; }

/* catalog: filters (on the dark band) + "show all" */
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; margin: -6.1rem 0 1.7rem; min-height: 4.4rem; }
.filter { padding: 1rem 2rem; border: 1px solid rgba(244,239,232,.45); border-radius: 1rem; color: var(--ivory); font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s; }
.filter.is-active { background: var(--ivory); border-color: var(--ivory); color: var(--dark); }
.catalog__more { display: flex; justify-content: center; margin-top: 4rem; }
/* Tabs New / Coming soon sit under the section title (same spot and style as the filter buttons) */
.card--soon .card__img { filter: grayscale(.35); opacity: .85; }
.card__img--empty { background: linear-gradient(135deg, var(--light), #ece2d8); }
.card__text { color: rgba(43,39,38,.7); }
.catalog__empty { position: relative; display: flex; align-items: center; justify-content: center; min-height: 32rem; padding: 4rem; text-align: center; background: var(--white); border-radius: 1.2rem; box-shadow: var(--shadow); color: rgba(43,39,38,.75); }
.catalog__empty a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: .3rem; }
.products--mc.has-grid .products__inner { padding-top: 25.2rem; }

.mc-card {
  position: relative; display: grid; grid-template-columns: 62rem 62rem; min-height: 51.3rem; overflow: hidden;
  background: var(--white); border-radius: 1.2rem; box-shadow: var(--shadow);
}
.mc-card__img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.mc-card__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.8rem; padding: 5.6rem; }
.pill { padding: .5rem 1.2rem; border: 1px solid rgba(138,34,54,.8); border-radius: 99rem; font-size: var(--fs-min); font-weight: 500; text-transform: uppercase; color: var(--wine); }
.mc-card__title { font-size: var(--h3); font-weight: 600; line-height: 1.2; }
.mc-card__text { max-width: 46rem; font-size: var(--fs-min); line-height: var(--lh); color: rgba(43,39,38,.7); }
.features { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; font-size: var(--fs-min); font-weight: 500; }
.features i, .stars li::before { font-family: var(--serif); font-style: normal; color: var(--wine); }
.bonus { font-size: var(--fs-min); }
.bonus b { margin-right: .8rem; font-weight: 600; text-transform: uppercase; color: var(--wine); }
.mc-card__buy { display: flex; flex-direction: column; gap: .6rem; }
.mc-card__cta { margin-top: .4rem; }

/* ======================= MY WORKS ======================= */
.works__inner { padding: 20.8rem 10rem calc(var(--sec-gap) - 6rem); }
.works__head { position: absolute; left: 10rem; top: 6rem; }
.works__title { margin-top: .2rem; }
.works__side { position: absolute; left: 77rem; top: 6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.8rem; }
.works__sub { font-size: var(--fs-min); color: rgba(43,39,38,.7); max-width: 32.4rem; }
.works__grid { display: grid; grid-template-columns: repeat(4, 29.2rem); grid-template-rows: 30.8rem 30.8rem; gap: 2.4rem; }
.works__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: .8rem; }
.works__grid .w6 { object-position: center 35%; }
.works__grid .w1 { grid-column: 1; grid-row: 1; }
.works__grid .w7 { grid-column: 1; grid-row: 2; }
.works__grid .w2 { grid-column: 2; grid-row: 1; }
.works__grid .w3 { grid-column: 2; grid-row: 2; }
.works__grid .w4 { grid-column: 3; grid-row: 1 / 3; }
.works__grid .w5 { grid-column: 4; grid-row: 1; }
.works__grid .w6 { grid-column: 4; grid-row: 2; }

.divider { margin: 0; border: 0; border-top: 1px solid rgba(43,39,38,.25); } /* half as dark (Lika, Nov 14) */

/* ======================= COMING SOON ======================= */
/* What's next = a soft blush card (Lika, Nov 14), inset like the dark bands */
:root { --card-tint: #F2E4DE; }
.soon { position: relative; margin-bottom: calc(var(--sec-gap) - 6rem); }
.soon::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(6.4rem, calc(50% - 65.6rem)); right: max(6.4rem, calc(50% - 65.6rem)); background: var(--card-tint); border-radius: 1.2rem; }
.soon__inner { min-height: 80rem; }
.soon .subscribe input { background: rgba(255,255,255,.6); }
.soon__copy { position: relative; margin-left: 77rem; padding: 10rem 0 calc(var(--sec-gap) - 6rem); width: 53.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 2.2rem; }
.soon__img { position: absolute; left: -67rem; top: 6rem; width: 54rem; height: 68rem; object-fit: cover; border-radius: .8rem; }
.soon__title { }
.soon__text { font-size: var(--fs-min); line-height: var(--lh); color: rgba(43,39,38,.8); }
.soon__text--muted { color: rgba(43,39,38,.7); }
.stars { display: flex; flex-direction: column; gap: 1rem; }
.stars li { display: flex; align-items: center; gap: 1.2rem; font-size: var(--fs-min); font-weight: 500; }
.stars li::before { content: "✦"; font-size: 1.3rem; }
.subscribe { display: flex; gap: 1.2rem; }
.subscribe input {
  width: 27rem; height: 4.6rem; padding: 0 2.4rem; border-radius: 1rem;
  border: 1px solid rgba(43,39,38,.45); background: rgba(244,239,232,.5);
  font: 400 var(--fs-min) var(--sans); color: var(--dark);
}
.subscribe input::placeholder { color: rgba(43,39,38,.7); }
.subscribe .btn { height: 4.6rem; }
.soon__note { font-size: var(--fs-min); color: rgba(43,39,38,.7); }
.soon__sparkles { position: absolute; left: 122rem; top: 10rem; }

/* ======================= FAQ ======================= */
.faq__inner { padding: 6rem 10rem var(--sec-gap); }
.faq__title { margin: 1.8rem 0 7rem; }
.faq__list details { border-bottom: 1px solid rgba(43,39,38,.14); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2rem 0; cursor: pointer; list-style: none; font-size: var(--h4); font-weight: 500; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; font-size: 4rem; font-weight: 300; line-height: 1; color: var(--wine); }
.faq__list details[open] summary::after { content: "×"; }
.faq__list details p { padding: 0 0 2rem; max-width: 90rem; font-size: var(--fs-min); font-weight: 300; line-height: var(--lh); color: rgba(43,39,38,.8); }

/* ======================= FOOTER ======================= */
.footer { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--ivory); }
.footer__inner { height: 45rem; }
.footer__logo { position: absolute; left: 10rem; top: 6rem; }
.footer__logo img { width: 4.8rem; height: 4.8rem; object-fit: contain; }
.footer__desc { position: absolute; left: 10rem; top: 13rem; width: 38rem; font-size: var(--fs-min); line-height: var(--lh); color: rgba(244,239,232,.7); }
.footer__cols { position: absolute; right: 10rem; top: 6rem; display: grid; grid-template-columns: auto auto; column-gap: 14rem; }   /* at the right border, no labels (Lika, Nov 19) */
.footer__col ul { display: flex; flex-direction: column; gap: 1.2rem; }
.footer__col a { font-size: var(--fs-min); font-weight: 500; text-transform: none; } /* normal case (Lika, Nov 14) */
.footer__col a:hover { opacity: .7; }
.footer__divider { position: absolute; left: 10rem; right: 10rem; top: 31rem; margin: 0; border: 0; border-top: 1px solid rgba(244,239,232,.15); }
.footer__copy, .footer__credit, .footer__legal { position: absolute; top: 33.6rem; font-size: var(--fs-min); color: rgba(244,239,232,.6); }
.footer__copy { left: 10rem; }
.footer__credit { right: 10rem; }   /* right side (Lika, Nov 19) */
.footer__legal { left: 50%; transform: translateX(-50%); display: flex; gap: 2.8rem; }

/* ======================= POP-UPS =======================
   Fixed to the viewport → always opens in the visible area wherever the
   visitor has scrolled. Desktop: centred window. Mobile: bottom sheet. */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 3.2rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(43,39,38,.55); animation: fade .2s ease; }
.modal__box {
  position: relative; width: 100%; max-width: 108rem; max-height: calc(100dvh - 6.4rem);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 1.2rem; box-shadow: 0 2.4rem 6rem rgba(43,39,38,.25);
  animation: pop .22s ease; outline: none;
}
.modal--checkout .modal__box { max-width: 52rem; }
.modal--message .modal__box { max-width: 48rem; }
.modal__close {
  position: absolute; z-index: 2; top: 1.6rem; right: 1.6rem; width: 4rem; height: 4rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--dark);
}
.modal__close svg { width: 2rem; height: 2rem; }
.modal__content { overflow-y: auto; overscroll-behavior: contain; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(1.6rem) scale(.98); } }

/* quick view (Preview / Overview) */
.qv { display: grid; grid-template-columns: 52rem 1fr; min-height: 100%; }
.qv__gallery { background: var(--light); padding: 3.2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.qv__main { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--white); border-radius: .8rem; }
.qv__thumbs { display: flex; gap: 1rem; }
.qv__thumbs button { flex: 0 0 7.2rem; height: 9rem; border-radius: .6rem; overflow: hidden; border: 1px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.qv__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--wine); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: 4.8rem 4.8rem 4rem; display: flex; flex-direction: column; gap: 2rem; }
.qv__badge { font-size: var(--fs-min); font-weight: 500; text-transform: uppercase; color: var(--wine); }
.qv__title { margin-top: -1.2rem; font-size: var(--h3); font-weight: 600; line-height: 1.2; padding-right: 4rem; }
.qv__tagline { color: rgba(43,39,38,.7); }
.qv__desc { display: flex; flex-direction: column; gap: 1.2rem; color: rgba(43,39,38,.75); }
.qv__lead { font-weight: 600; color: var(--dark); }
.qv__more { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.qv__desc.is-clamped { max-height: 12.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.qv__toggle { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--wine); text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; }
/* What's inside / Bonuses: closed by default, open on click (+ turns into −) */
.qv__acc { border-top: 1px solid rgba(43,39,38,.14); }
.qv__acc details { border-bottom: 1px solid rgba(43,39,38,.14); }
.qv__acc summary { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 0; cursor: pointer; list-style: none; }
.qv__acc summary::-webkit-details-marker { display: none; }
.qv__acc summary::after { content: "+"; font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--wine); }
.qv__acc details[open] summary::after { content: "−"; }
.qv__acc .qv__list { margin: 0 0 1.8rem; }
.qv__acc + .qv__buy { border-top: 0; padding-top: .8rem; } /* no double line under the dropdowns */
.qv__meta { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; font-weight: 500; }
.qv__meta span + span::before { content: "✦"; margin-right: 1.6rem; font-family: var(--serif); color: var(--wine); }
.qv__h { font-size: var(--fs-min); font-weight: 600; text-transform: uppercase; }
.qv__list { display: flex; flex-direction: column; gap: .8rem; margin-top: 1rem; }
.qv__list li { display: flex; gap: 1.2rem; }
.qv__list li::before { content: "✦"; flex: none; font-family: var(--serif); color: var(--wine); }
.qv__list--checks li::before {
  content: ""; width: 2rem; height: 2rem; margin-top: .1rem; border-radius: 50%; border: 1px solid var(--wine);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.2 9.6 14.2 15.5 8' fill='none' stroke='%232b2726' stroke-width='1.2'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.qv__buy { margin-top: .8rem; padding-top: 2.4rem; border-top: 1px solid rgba(43,39,38,.14); display: flex; flex-direction: column; gap: 1.6rem; }

/* format choice (PDF / Canva) */
.formats { display: grid; gap: 1rem; border: 0; padding: 0; margin: 0; }
.formats legend { padding: 0; margin-bottom: 1rem; }
.format { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; border: 1px solid rgba(43,39,38,.2); border-radius: 1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.format:has(input:checked) { border-color: var(--wine); background: rgba(138,34,54,.04); }
.format input { appearance: none; width: 2rem; height: 2rem; margin: 0; border: 1px solid rgba(43,39,38,.45); border-radius: 50%; display: grid; place-items: center; }
.format input:checked { border-color: var(--wine); }
.format input:checked::after { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: var(--wine); }
/* Option: name (semi-bold), small hint (14px), price + old price on one line below; right column free for badges */
.format__body { display: flex; flex-direction: column; gap: .4rem; }
.format__name { font-weight: 600; }
.format__hint { display: block; font-size: 1.4rem; font-weight: 400; line-height: 1.4; color: rgba(43,39,38,.7); }
.format__price { font-size: 1.4rem; font-weight: 500; white-space: nowrap; }
.format__price s { margin-left: .6rem; font-weight: 400; color: rgba(43,39,38,.6); }

/* Black Friday promo pop-up: campaign picture left, text right */
.modal--promo .modal__box { max-width: 92rem; }
.promo { display: grid; grid-template-columns: 44rem minmax(0, 1fr); }
.promo__media { background: #000; }
.promo__img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.promo__body { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 5.6rem 4.8rem 4.8rem; }
.promo__title { font-family: var(--serif); font-size: 4.8rem; font-weight: 400; line-height: 1; letter-spacing: var(--ls-serif); }
.promo__title em { font-style: italic; font-weight: 300; color: var(--wine); }
.promo__text { color: rgba(43,39,38,.75); }
.promo__code { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; margin-top: .8rem; padding: 1.4rem 2rem;
  border: 1px dashed var(--wine); border-radius: 1rem; background: rgba(138,34,54,.04); }
.promo__code span { white-space: nowrap; font-weight: 500; text-transform: uppercase; color: rgba(43,39,38,.7); }
.promo__code b { font-size: 2.4rem; font-weight: 600; letter-spacing: .08em; color: var(--wine); }
.promo__cta.btn-pair { margin-top: .8rem; width: 100%; grid-auto-columns: minmax(0, 1fr); }
.promo__cta .btn { min-width: 0; padding-left: 1.2rem; padding-right: 1.2rem; }
.promo__cta:not(.btn-pair) { margin-top: .8rem; }
.promo__cta.promo__cta--3 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.promo__cta.promo__cta--3 > :first-child { grid-column: 1 / -1; }

/* basket button next to Checkout + the basket pop-up (Lika, Nov 13) */
.co__actions { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; }
.co__add { width: 5.6rem; padding: 0; }
.co__add svg { width: 2.2rem; height: 2.2rem; }
.co__add.is-added { background: rgba(138,34,54,.06); }
.co__added { margin-top: -.4rem; color: rgba(43,39,38,.75); }
.co__added button { font-weight: 600; color: var(--wine); text-decoration: underline; text-underline-offset: .3rem; }
.cart { display: flex; flex-direction: column; }
.cart__item { display: grid; grid-template-columns: 6.4rem 1fr auto auto; align-items: center; gap: 1.4rem; padding: 1.4rem 0; border-top: 1px solid rgba(43,39,38,.1); }
.cart__item:first-child { border-top: 0; padding-top: 0; }
.cart__item img { width: 6.4rem; height: 6.4rem; object-fit: cover; border-radius: .8rem; }
.cart__item b { display: block; font-weight: 500; }
.cart__item span { color: rgba(43,39,38,.7); }
.cart__price { text-align: right; white-space: nowrap; }
.cart__price strong { display: block; color: var(--dark); font-weight: 600; }
.cart__price s { font-size: 1.4rem; }
.cart__remove { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; color: rgba(43,39,38,.6); }
.cart__remove:hover { background: var(--light); color: var(--wine); }
.cart__remove svg { width: 1.6rem; height: 1.6rem; }
.cart__empty { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; color: rgba(43,39,38,.75); }
.co--cart-empty { text-align: center; padding-bottom: 4.8rem; } /* empty cart: everything centred (Lika, Nov 13) */

/* Contact button, bottom left (Lika, Nov 13): dark, white chat icon, button radius */
.contact { position: fixed; z-index: 45; right: 2.4rem; bottom: 2.4rem; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.contact__btn { width: 5.6rem; height: 5.6rem; border-radius: 1rem; display: grid; place-items: center; background: var(--hero-bg); color: var(--white);
  box-shadow: 0 .6rem 2rem rgba(25,22,22,.25); opacity: .95; transition: transform .2s, opacity .2s; } /* 95% (Lika, Nov 14) */
.contact__btn:hover, .contact__btn[aria-expanded="true"] { transform: translateY(-2px); opacity: 1; }
.contact__btn svg { width: 2.4rem; height: 2.4rem; }
.contact__panel { width: 32rem; max-width: calc(100vw - 3.2rem); padding: 1.6rem; border-radius: 1.2rem; background: var(--white); box-shadow: 0 1.2rem 4rem rgba(25,22,22,.2); display: flex; flex-direction: column; gap: .4rem; }
.contact__panel[hidden] { display: none; }
.contact__title { padding: 0 .8rem .6rem; font-size: 1.4rem; font-weight: 600; text-transform: uppercase; color: var(--wine); }
.contact__link { display: flex; align-items: center; gap: 1.2rem; padding: 1rem .8rem; border-radius: .8rem; font-weight: 500; }
.contact__link:hover { background: var(--light); }
.contact__link svg { width: 2rem; height: 2rem; color: var(--wine); flex: none; }

/* message form inside the contact panel */
.contact__form { display: flex; flex-direction: column; gap: .8rem; margin-top: .8rem; padding: 1.4rem .8rem 0; border-top: 1px solid rgba(43,39,38,.1); }
.contact__form label { font-size: 1.4rem; font-weight: 500; color: rgba(43,39,38,.75); }
.contact__form input, .contact__form textarea { width: 100%; padding: 1rem 1.2rem; border: 1px solid rgba(43,39,38,.25); border-radius: .8rem; background: var(--white);
  font: 400 var(--fs-min) var(--sans); font-variant-numeric: lining-nums; color: var(--dark); }
.contact__form textarea { min-height: 9rem; resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--wine); }
.contact__form .btn { align-self: stretch; }
.contact__form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__status { font-size: 1.4rem; color: rgba(43,39,38,.75); }
.contact__status.is-error { color: var(--wine); }

/* legal pop-ups (Privacy policy, Terms of sale) */
.modal--legal .modal__box { max-width: 72rem; }
.legal { padding: 4.8rem 4.8rem 4rem; display: flex; flex-direction: column; gap: 1.2rem; }
.legal__title { font-family: var(--serif); font-size: 4rem; font-weight: 400; line-height: 1; padding-right: 4rem; margin-bottom: .8rem; }
.legal h4 { margin: 1.6rem 0 0; font-size: var(--h4); font-weight: 600; line-height: 1.3; }
.legal h5 { margin: .8rem 0 0; font-size: var(--fs-min); font-weight: 600; text-transform: uppercase; color: var(--wine); }
.legal p, .legal li { color: rgba(43,39,38,.8); }
.legal ul { display: flex; flex-direction: column; gap: .6rem; padding-left: 2rem; list-style: disc; }
.legal__updated { font-size: 1.4rem; color: rgba(43,39,38,.6); }
.legal a { color: var(--wine); text-decoration: underline; text-underline-offset: .2rem; }

/* consent checkbox under email fields (Lika, Nov 14) */
.consent { display: flex; align-items: flex-start; gap: 1rem; flex-basis: 100%; font-size: 1.4rem; line-height: 1.4; color: rgba(43,39,38,.75); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 1.8rem; height: 1.8rem; margin: .1rem 0 0; border: 1px solid rgba(43,39,38,.45); border-radius: .4rem; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.subscribe .consent input, .contact__form .consent input { width: 1.8rem; height: 1.8rem; padding: 0; border-radius: .4rem; background: var(--white); }
.consent input:checked { background: var(--wine); border-color: var(--wine); }
.consent input:checked::after { content: ""; width: .5rem; height: .9rem; margin-top: -.2rem; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.consent input:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.consent a { color: var(--wine); text-decoration: underline; text-underline-offset: .2rem; }
.consent__msg { flex-basis: 100%; font-size: 1.4rem; color: var(--wine); }
.subscribe { flex-wrap: wrap; }

/* Scroll-in animation (Lika, Nov 14, v2): staggered "spring" entrances that start only when the element is
   already well inside the screen (under the visitor's finger/mouse), never ahead of time.
   Text slides up from below with a light blur, headings word by word; pictures come from the sides; cards one after
   another. Classes are added by main.js; visitors who ask for reduced motion see everything still. */
:root { --spring: cubic-bezier(.22, 1, .36, 1); }   /* smooth, long ease-out (slower and softer, Lika Nov 14) */
/* No blur, no see-through: hidden until its turn, then fully solid at once while it slides into place (Lika, Nov 14) */
.reveal { opacity: 0; transition: opacity 0s linear, transform 1.6s var(--spring); transition-delay: var(--d, 0s); }
.reveal--down { transform: translateY(-4rem); }
.reveal--up { transform: translateY(4rem); }
.reveal--left { transform: translateX(-8rem) scale(.96); }
.reveal--right { transform: translateX(8rem) scale(.96); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-words .w { display: inline-block; opacity: 0; transform: translateY(.55em);
  transition: opacity 0s linear, transform 1.5s var(--spring); transition-delay: calc(var(--d, 0s) + var(--wd, 0s)); }
.reveal-words.is-in .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-words .w { opacity: 1; transform: none; transition: none; } }

/* Desktop cursor = lash tweezers (dark; wine over anything clickable) — Lika, Nov 14 */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M6 28 L26.5 5.2 Q28.6 3.4 29.6 5.6 L8.2 28.6' stroke='white' stroke-width='4.2'/%3E%3Cpath d='M6 28 L26.5 5.2 Q28.6 3.4 29.6 5.6 L8.2 28.6' stroke='%232B2726' stroke-width='1.8'/%3E%3Cpath d='M22.5 9.7 L25 12.2' stroke='%232B2726' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E") 6 28, auto; }
  a, button, summary, label, select, [role="button"], .card__img, .mc-card__img, .qv__thumbs button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M6 28 L26.5 5.2 Q28.6 3.4 29.6 5.6 L8.2 28.6' stroke='white' stroke-width='4.2'/%3E%3Cpath d='M6 28 L26.5 5.2 Q28.6 3.4 29.6 5.6 L8.2 28.6' stroke='%238A2236' stroke-width='1.8'/%3E%3Cpath d='M22.5 9.7 L25 12.2' stroke='%238A2236' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E") 6 28, pointer; }
  input[type="text"], input[type="email"], textarea { cursor: text; }
}

.cursor-trail { position: fixed; z-index: 9999; left: 0; top: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%; pointer-events: none;
  background: rgba(138,34,54,.35); filter: blur(10px); opacity: 0; will-change: transform, opacity; }

/* format badges (Preview + Checkout): soft wine pill on the top edge of the option */
.format { position: relative; }
.format__tag { position: absolute; top: -1.1rem; right: 1.6rem; padding: .3rem 1rem; border-radius: 99rem; background: #F4E4E7; border: 1px solid rgba(138,34,54,.18);
  color: var(--wine); font-size: 1.2rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }

/* star rating + reviews (from Etsy) */
.rating { display: inline-flex; align-items: center; gap: .8rem; align-self: flex-start; padding: 0; color: var(--dark); }
.rating:hover .rating__num { text-decoration: underline; text-underline-offset: .2rem; }
.stars-row { display: inline-flex; gap: .2rem; }
.stars-row span { width: 1.5rem; height: 1.5rem; color: rgba(43,39,38,.2); }
.stars-row span.on { color: var(--wine); }
.stars-row svg { width: 100%; height: 100%; display: block; }
.rating__num { font-size: 1.4rem; color: rgba(43,39,38,.7); font-variant-numeric: lining-nums; }
.qv__title + .rating { margin-top: -1rem; }
.reviews { display: flex; flex-direction: column; margin: 0 0 1.2rem; }
.review { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 0; border-top: 1px solid rgba(43,39,38,.1); }
.review:first-child { border-top: 0; padding-top: .4rem; }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__rec { font-size: 1.4rem; color: rgba(43,39,38,.65); }
.review__rec::before { content: "✓ "; color: var(--wine); }
.review__who { display: flex; gap: 1rem; align-items: baseline; }
.review__who span { font-size: 1.4rem; color: rgba(43,39,38,.6); }
.review__item { font-size: 1.4rem; color: rgba(43,39,38,.65); }
.review__text { color: var(--dark); }
.review__reply { margin-top: .4rem; padding: 1.2rem 1.4rem; border-radius: .8rem; background: var(--light); }
.review__reply b { display: block; font-size: 1.4rem; font-weight: 600; margin-bottom: .3rem; }
.review__reply p { font-size: 1.4rem; color: rgba(43,39,38,.75); }
.reviews__src { margin: 0 0 1.6rem; font-size: 1.2rem; color: rgba(43,39,38,.5); }

/* no Black Friday ticket → the hero text block sits 30px lower on desktop (Lika, Nov 14) */
@media (min-width: 1200px) { html:not(.sale-on) .hero__copy { top: 18rem; } }

/* portfolio from the admin: photos in order, packed without gaps; tall = 2 rows, wide = 2 columns */
.works__grid.works__grid--free { grid-template-rows: none; grid-auto-rows: 30.8rem; grid-auto-flow: row dense; }
.works__grid.works__grid--free img { grid-column: auto !important; grid-row: auto !important; }
.works__grid.works__grid--free img.pf-tall { grid-row: span 2 !important; }
.works__grid.works__grid--free img.pf-wide { grid-column: span 2 !important; }

/* preview video inside the Preview gallery */
.qv__video { aspect-ratio: 4 / 5; background: #000; border-radius: .8rem; overflow: hidden; }
.qv__video iframe, .qv__video video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.qv__thumb-video { position: relative; }
.qv__thumb-video span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(25,22,22,.35); color: #fff; }
.qv__thumb-video span svg { width: 2.4rem; height: 2.4rem; }

/* review form (buyers) */
.rv__form { display: flex; flex-direction: column; gap: 1.6rem; }
.rv__product { font-weight: 600; }
.rv__label { display: flex; flex-direction: column; gap: .6rem; font-weight: 500; }
.rv__label input, .rv__label textarea { width: 100%; padding: 1.2rem 1.4rem; border: 1px solid rgba(43,39,38,.3); border-radius: 1rem; font: 400 var(--fs-min) var(--sans); color: var(--dark); background: var(--white); }
.rv__label input:focus, .rv__label textarea:focus { outline: none; border-color: var(--wine); }
.rv__label .co__select select { width: 100%; }
.rv__stars { display: flex; gap: .6rem; }
.rv__stars button { width: 3.6rem; height: 3.6rem; color: rgba(43,39,38,.2); }
.rv__stars button.on { color: var(--wine); }
.rv__stars svg { width: 100%; height: 100%; display: block; }

/* checkout */
.co { padding: 4.8rem 4rem 4rem; display: flex; flex-direction: column; gap: 2rem; }
.co__title { font-family: var(--serif); font-size: 4rem; font-weight: 400; line-height: 1; }
.co__product { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.6rem; align-items: center; }
.co__product img { width: 8rem; height: 8rem; object-fit: cover; border-radius: .8rem; }
.co__product b { display: block; font-weight: 500; }
.co__product span { color: rgba(43,39,38,.7); }
.co__lines { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0; border-top: 1px solid rgba(43,39,38,.14); border-bottom: 1px solid rgba(43,39,38,.14); }
.co__line { display: flex; justify-content: space-between; gap: 1.6rem; }
.co__line--discount strong { color: var(--wine); font-weight: 600; }
[data-co-body] { display: flex; flex-direction: column; gap: 1.6rem; }
.co__line--total { font-size: 2rem; font-weight: 600; }
/* currency picker (flag + code) and promo code field — Lika, Nov 13 */
.co__line--cur { align-items: center; }
.co__select { position: relative; }
.co__select select { appearance: none; -webkit-appearance: none; min-width: 11rem; padding: .8rem 3.6rem .8rem 1.2rem; border: 1px solid rgba(43,39,38,.25); border-radius: .8rem;
  background: var(--white); font: 500 var(--fs-min) var(--sans); color: var(--dark); cursor: pointer; }
.co__select::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.55rem; border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); transform: rotate(45deg); pointer-events: none; }
.co__select select:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.co__remove { margin-left: .8rem; font-size: 1.4rem; font-weight: 500; color: rgba(43,39,38,.6); text-decoration: underline; text-underline-offset: .2rem; }
.co__promo { display: flex; flex-direction: column; gap: .8rem; }
.co__promo-label { font-weight: 500; }
.co__promo-row { display: flex; gap: 1rem; }
.co__promo-row input { flex: 1; min-width: 0; height: 4.4rem; padding: 0 1.6rem; border: 1px solid rgba(43,39,38,.3); border-radius: 1rem; background: var(--white);
  font: 500 var(--fs-min) var(--sans); font-variant-numeric: lining-nums; letter-spacing: .04em; text-transform: uppercase; color: var(--dark); } /* numbers same height as letters */
.co__promo-row input::placeholder { text-transform: none; letter-spacing: 0; color: rgba(43,39,38,.5); }
.co__promo-row input:focus { outline: none; border-color: var(--wine); }
.co__promo-row .btn { height: 4.4rem; }
.co__promo-msg { text-align: left; }
.co__methods { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.co__methods span { padding: .4rem 1.2rem; border: 1px solid rgba(43,39,38,.2); border-radius: .6rem; font-weight: 500; }
.co__note { text-align: center; color: rgba(43,39,38,.7); }
.co__note--warn { color: var(--wine); }
.co__lock { display: inline-flex; align-items: center; gap: .6rem; }
.co__lock svg { width: 1.6rem; height: 1.6rem; }
.co__stripe { min-height: 32rem; }
.co__stripe > .co__note { padding-top: 12rem; }
.co__back { display: block; margin-top: 1.6rem; background: none; border: 0; padding: .4rem 0; font: inherit; font-weight: 500; color: var(--wine); cursor: pointer; }
.co__back:hover { text-decoration: underline; }
/* Thank-you step (same window, after payment) */
.co--done { text-align: center; }
.co--done .sparkles { width: 9rem; height: 6.8rem; align-self: center; }
.co--done .co__title { margin-top: -.8rem; }
.co__lead { color: rgba(43,39,38,.75); margin-top: -.8rem; }
.co__product--done { grid-template-columns: 8rem 1fr; text-align: left; padding: 1.6rem; background: var(--light); border-radius: 1.2rem; }
.co__back--center { align-self: center; margin-top: 0; }
.co__downloads { display: flex; flex-direction: column; gap: 1.2rem; }
.co__downloads + .btn, .co--done > .btn--ghost-wine { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; }
.co__product--link { grid-template-columns: 8rem 1fr auto; color: inherit; text-decoration: none; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.co__product--link:hover, .co__product--link:focus-visible { border-color: var(--wine); background: #f3e9e1; }
.co__dl { display: block; margin-top: .6rem; font-style: normal; font-weight: 600; color: var(--wine); text-transform: uppercase; }
.co__product .co__dl-icon { width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--wine); color: var(--ivory); display: grid; place-items: center; }
.co__dl-icon svg { width: 2rem; height: 2rem; }
.btn__icon { width: 1.8rem; height: 1.8rem; flex: none; }
.co__demo { align-self: center; padding: .4rem 1.2rem; border-radius: .6rem; background: #fdf0c8; color: #6b5200; font-weight: 500; }

/* message (thank-you) */
.msg { padding: 5.6rem 4rem 4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.msg .sparkles { width: 9rem; height: 6.8rem; }
.msg__title { font-family: var(--serif); font-size: 4.4rem; font-weight: 400; line-height: 1; }
.msg p { color: rgba(43,39,38,.75); }

/* =====================================================================
   MOBILE / TABLET  (< 1200px) — values match the 390px Figma frame
   ===================================================================== */
@media (max-width: 1199px) {
  .inner { width: 100%; }

  /* hero */
  .hero__inner { height: auto; padding-bottom: 4.8rem; }
  .hero__photo { top: 0; left: 0; width: 100%; height: 47rem; }
  .hero__ghost { display: none; }
  .hero__topfade { height: 11rem; }
  .hero__fade { display: block; position: absolute; z-index: 1; left: 0; right: 0; top: 27rem; height: 20rem; background: linear-gradient(rgba(25,22,22,0), var(--hero-bg)); }
  .nav { left: 0; width: 100%; transform: none; height: 7.2rem; padding: 1.6rem 2rem; display: flex; align-items: center; gap: 1.6rem; }
  .nav.is-scrolled { height: 6rem; padding-top: 1rem; padding-bottom: 1rem; }
  .nav__logo img { width: 4rem; height: 4rem; }
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
  .nav__right .icon-btn:not(.nav__cart) { display: none; }
  .nav__burger { display: block; width: 2.8rem; height: 1.8rem; color: var(--ivory); }
  .nav__burger svg { width: 100%; height: 100%; display: block; }
  .hero__copy { position: relative; left: auto; top: auto; width: auto; padding: 40rem 2rem 0; gap: 1.8rem; }
  .hero__title { font-size: 4.8rem; line-height: 4rem; margin-top: -.8rem; }
  .hero__title .l1 { line-height: 3.43rem; }
  .hero__title .l2 { font-size: 6.3rem; line-height: 3.43rem; }
  .hero__title .l3 { line-height: 4rem; top: .29rem; }
  .hero__title .l2 { top: -.46rem; }
  .hero__title { margin-bottom: .29rem; }
  .btn-pair { grid-auto-flow: row; width: 100%; }
  .hero__cta { margin-top: 1rem; gap: 1.2rem; }
  .sale-ticket { position: relative; left: auto; top: auto; transform-origin: center; width: calc(100% - 1rem - 30px); min-height: 0; margin: 1.2rem 0 .8rem .5rem; /* 40px shorter, less empty red on the right (Lika, Nov 13) */ padding: 1.4rem 1.2rem 1.4rem 2rem; }
  .sale-ticket__pct { padding-right: 1.2rem; margin-right: 1.2rem; font-size: 4rem; line-height: 4rem; }
  .sale-ticket__name { font-size: 2.4rem; line-height: 2.6rem; white-space: nowrap; } /* "BLACK FRIDAY" stays on one line */
  .sale-ticket__what, .sale-ticket__when { font-size: 1.4rem; }
  /* trust band: 2 rows × 2 items — 13px is the one exception to the 16px rule (Lika, Nov 11) */
  .trust { height: auto; padding: 1.8rem 2rem; flex-direction: column; gap: 1rem; font-size: 1.3rem; }
  .trust__row { gap: 1rem; }
  .trust i { font-size: 1.2rem; }
  .trust__sep { display: none; }

  /* about */
  /* Figma 285:300 (Nov 13): intro line under the title, then the photos, then the rest of the text.
     .about__copy "dissolves" so its intro can move above the photos without changing the HTML. */
  .about__inner { display: flex; flex-direction: column; min-height: 0; padding: 4rem 0 6.4rem; }
  .about__head { position: static; padding: 0 2rem; }
  .about__titlerow { gap: 3.1rem; margin-top: .2rem; }
  .about__titlerow .sparkles { position: absolute; top: 4rem; right: 2rem; width: 6.6rem; height: 5rem; margin: 0; } /* top-right corner of the section (Lika, Nov 14) */
  .about__copy { display: contents; }
  .about__intro { order: 1; margin: .4rem 2rem 0; }
  .about__photos { order: 2; position: relative; height: 45.1rem; margin-top: 2.7rem; }
  .about__big { width: 100%; height: 40.1rem; }
  .about__small { left: 2rem; top: 20.2rem; width: 18.7rem; height: 24.9rem; border-radius: .8rem; } /* rounded, a bit less than cards (Lika, Nov 13) */
  .about__p, .about__copy .checks { order: 3; margin: 1.8rem 2rem 0; }
  .about__intro + .about__p { margin-top: 3.2rem; }

  /* products */
  :root { --sec-gap: 6.4rem; }
  .products--guides { margin-top: 0; }
  .products__inner { padding: 4rem 0 calc(var(--sec-gap) - 4rem); }
  .products--mc .products__inner { padding: 4rem 0 var(--sec-gap); }
  .band { top: 0; left: 0; right: 0; height: 25.6rem; border-radius: 0; } /* tall enough for the New / Coming soon tabs */
  .products--mc .band { height: 30.2rem; }
  .products--mc.has-grid .band { height: 22rem; }
  .products--mc.has-grid .products__inner { padding-top: 4rem; }
  .sec-head { position: relative; top: auto; left: auto; right: auto; display: block; padding: 0 2rem; }
  .sec-head__sub { margin-top: 1.2rem; }
  .sec-icon { right: 2rem; width: 2.4rem; height: 2.7rem; }
  .sec-icon--works { top: 4rem; right: 2rem; }
  /* compact product cards: photo left, text right — scales to any number of products */
  .filters { margin: 2.4rem 0 0; padding: 0 2rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .cards { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.4rem; padding: 0 2rem; }
  .card { display: grid; grid-template-columns: 12rem 1fr; min-height: 0; }
  .card__img { width: 12rem; height: 100%; min-height: 17rem; }
  .card__body { padding: 1.6rem 1.6rem 1.8rem; gap: .6rem; }
  .card__badge { display: none; }
  /* smaller ribbon on the compact mobile card; keep the title clear of the corner */
  .bonus-ribbon { top: 2.2rem; right: -5.4rem; width: 17rem; height: 2.4rem; font-size: 1.2rem; }
  .bonus-ribbon svg { width: 1.3rem; height: 1.3rem; }
  .card.has-bonus .card__title { padding-right: 6rem; }
  .card__cta { padding-top: .8rem; width: 100%; }
  .card .btn-pair { grid-auto-flow: column; width: 100%; }
  .card__preview { display: none; }
  .catalog__more { margin: 2.4rem 2rem 0; }
  .catalog__empty { margin: 2.4rem 2rem 0; min-height: 20rem; }
  .catalog--soon .card__cta { display: block; }
  .catalog__more .btn { width: 100%; }

  .mc-card { margin: 3.2rem 2rem 0; grid-template-columns: 1fr; min-height: 0; }
  .mc-card__img { height: 26.2rem; object-position: center top; } /* crop from the bottom, never the top (Lika, Nov 13) */
  .mc-card__body { padding: 2.4rem 2rem; gap: 1.4rem; align-items: stretch; }
  .mc-card__body .pill { align-self: flex-start; }
  .features { gap: 1rem; }

  /* works */
  .works__inner { padding: 4rem 2rem var(--sec-gap); }
  .works__head, .works__side { position: static; }
  .works__side { align-items: flex-start; }
  .works__sub { text-align: left; }
  .works__title { margin-top: .3rem; }
  .works__side { margin-top: 1.2rem; gap: 1.6rem; }
  .works__grid { margin-top: 2.8rem; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 17rem); gap: .8rem; }
  .works__grid .w1 { grid-column: 1; grid-row: 1; }
  .works__grid .w7 { grid-column: 1; grid-row: 2; }
  .works__grid .w2 { grid-column: 1; grid-row: 3; }
  .works__grid .w3 { grid-column: 2; grid-row: 1; }
  .works__grid .w4 { grid-column: 2; grid-row: 2 / 4; }
  .works__grid .w5 { grid-column: 1; grid-row: 4; }
  .works__grid .w6 { grid-column: 2; grid-row: 4; }

  /* coming soon */
  .soon { margin-bottom: calc(var(--sec-gap) - 4rem); }
  .soon::before { left: 1.2rem; right: 1.2rem; }
  .soon__inner { min-height: 0; padding: 3.2rem 3.2rem 3.6rem; }
  .soon__copy { margin: 0; padding: 0; width: auto; gap: 1.6rem; align-items: stretch; }
  .soon__copy .eyebrow { align-self: flex-start; }
  .soon__img { position: static; width: 100%; height: 42rem; }
  .soon__sparkles { display: none; }
  .subscribe { flex-direction: column; gap: 1rem; }
  .subscribe input { width: 100%; }

  /* faq */
  .faq__inner { padding: 4rem 2rem var(--sec-gap); }
  .faq__title { margin: 1.2rem 0 3.2rem; }
  .faq__list summary { padding: 1.8rem 0; }
  .faq__list summary::after { font-size: 2.8rem; }
  .faq__list details p { padding-bottom: 1.8rem; }

  /* footer */
  .footer__inner { height: auto; padding: 4rem 2rem; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; align-items: center; }
  .footer__inner > :not(.footer__logo):not(.footer__desc) { grid-column: 1 / -1; }   /* text next to the logo (Lika, Nov 14) */
  .footer__logo, .footer__desc, .footer__cols, .footer__divider, .footer__copy, .footer__credit, .footer__legal { position: static; transform: none; }
  .footer__logo img { width: 4rem; height: 4rem; }
  .footer__desc { width: auto; margin-top: 0; }
  .footer__cols { margin-top: 3.2rem; grid-template-columns: 1fr 1fr; }
  .footer__col ul { gap: 1rem; }
  .footer__divider { margin-top: 3.2rem; }
  .footer__legal { margin-top: 2rem; }
  .footer__copy { margin-top: 1.2rem; }
  .footer__credit { margin-top: .8rem; }

  /* pop-ups become bottom sheets, always inside the visible screen */
  .modal { align-items: flex-end; padding: 0; }
  .modal__box, .modal--checkout .modal__box, .modal--message .modal__box {
    max-width: none; max-height: 92dvh; border-radius: 1.6rem 1.6rem 0 0;
    animation: sheet .25s ease;
  }
  @keyframes sheet { from { transform: translateY(100%); } }
  .modal__close { top: 1.2rem; right: 1.2rem; width: 3.6rem; height: 3.6rem; }
  .promo { grid-template-columns: 1fr; }
  .promo__img { height: 30rem; aspect-ratio: auto; object-fit: contain; }  /* whole campaign picture, black sides */
  .promo__body { padding: 2.4rem 2rem 3.2rem; gap: 1.2rem; }
  .promo__title { font-size: 3.2rem; }
  .promo__cta.btn-pair { grid-auto-flow: row; width: 100%; }
  .promo__cta:not(.btn-pair) .btn { width: 100%; }
  .contact { right: 1.6rem; bottom: 1.6rem; }
  .contact__btn { width: 4.8rem; height: 4.8rem; }
  .cart__item { grid-template-columns: 5.6rem 1fr auto; }
  .cart__item img { width: 5.6rem; height: 5.6rem; }
  .cart__price { grid-column: 2; text-align: left; }
  .cart__price strong { display: inline; margin-right: .6rem; }
  .cart__remove { grid-row: 1; grid-column: 3; }
  .legal { padding: 4rem 2rem 3.2rem; }
  .legal__title { font-size: 3.2rem; }
  .works__grid.works__grid--free { grid-auto-rows: 17rem; }
  .qv { grid-template-columns: 1fr; }
  .qv__gallery { padding: 1.6rem 2rem; }
  .qv__main { aspect-ratio: 4 / 3; }
  .qv__thumbs button { flex-basis: 5.6rem; height: 7rem; }
  .qv__info { padding: 2.4rem 2rem 3.2rem; gap: 1.6rem; }
  .qv__title { padding-right: 0; }
  .co { padding: 4rem 2rem 3.2rem; gap: 1.6rem; }
  .co__title { font-size: 3.2rem; }
  .msg { padding: 4.8rem 2rem 3.2rem; }
}

/* =====================================================================
   TABLET  (600–1199px) — on top of the mobile rules above (Lika, Nov 13)
   1rem = 13px here. Hero: two photos like desktop; About: photos side by side;
   Guides: normal cards 2 per row; Portfolio: text to the right of the title;
   Masterclass: picture left, text right.
   ===================================================================== */
@media (min-width: 600px) and (max-width: 1199px) {
  /* hero — portrait pushed right, mirrored profile behind it (same pairing as desktop) */
  /* Figma 341:374 (Lika, Nov 13): portrait 600×603 at x 179, ghost 336×504 at x 109, headline from y 388,
     ticket 542 wide at x 91 between headline and paragraph, buttons at normal width */
  /* Figma 341:374 v2 (Nov 14): portrait 545×548 at x 290 y 10, ghost 305×458 at x 195 y 4, fade 309→569,
     "BeautyLab by / Olha Borysova" in two staggered lines under the logo, headline from y 305, trust band at y 800 */
  .hero__inner { padding-bottom: 4.8rem; }   /* same space under the buttons as on phone (4.8rem) */
  .hero__photo { top: -5.62rem; left: auto; right: 2.21rem; width: 34.94rem; height: 52.62rem; }   /* Figma 377:2478 (Nov 19) */
  .hero__fade { top: 27.6rem; height: 20rem; }
  .hero__copy { padding: 22.8rem 2rem 0; }
  .hero .eyebrow--name { position: absolute; z-index: 2; top: 7.8rem; left: 2rem; display: block; line-height: 1.1; }
  .eyebrow__name { display: block; margin-left: 5.5rem; }
  .hero__text { max-width: 44rem; }
  .btn-pair.hero__cta { grid-auto-flow: column; width: max-content; margin-top: .4rem; }
  .sale-ticket { top: -.5rem; width: 41.7rem; margin: 1.5rem 0 -.5rem 5.5rem; transform-origin: 0 0; padding: 1.4rem 1.6rem 1.4rem 2.4rem; } /* right corner almost touches the H1 (Lika, Nov 14) */
  .sale-ticket__pct { padding-right: 1.6rem; margin-right: 1.6rem; font-size: 4.8rem; line-height: 4.8rem; }
  .sale-ticket__name { font-size: 2.6rem; }

  /* about — Figma 341:374 (Nov 13): intro left of the big photo; big photo to the right edge;
     small photo from the left edge, over the big one; then the rest of the text */
  .about__photos { height: 49.2rem; margin-top: 3.1rem; }
  .about__big { left: auto; right: 0; width: 60%; height: 46.5rem; border-radius: 0; }
  .about__small { left: 0; top: 16.2rem; width: 41.4%; height: 33rem; border-radius: 0 .8rem .8rem 0; } /* rounded, a bit less than cards; square on the screen edge */
  .about__intro { position: absolute; left: 2rem; top: 14.3rem; width: calc(40% - 2.5rem); margin: 0; } /* top = top of the photos */
  .about__intro + .about__p { margin-top: 2.9rem; }

  /* guides — desktop-style cards, 2 per row */
  .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .card { display: flex; flex-direction: column; }
  .card__img { width: 100%; height: auto; min-height: 0; aspect-ratio: 292 / 217; }
  .card__body { padding: 2rem 2rem 2.4rem; gap: 1rem; }
  .card__badge { display: block; }
  .card__preview { display: inline-flex; }
  .bonus-ribbon { top: 3.5rem; right: -7rem; width: 24rem; height: 3rem; font-size: 1.4rem; }
  .bonus-ribbon svg { width: 1.6rem; height: 1.6rem; }
  .card.has-bonus .card__title { padding-right: 0; }

  /* masterclass — picture on top (Figma, Nov 13), body padding like the desktop card */
  .mc-card__img { height: 27rem; }
  .mc-card__body { padding: 3.2rem 2.4rem; }
  .mc-card__cta.btn-pair { grid-auto-flow: column; width: 100%; }

  /* portfolio — no icon; paragraph + button to the right of the title */
  .sec-icon--works { display: none; }
  .catalog__more .btn { width: auto; }
  .works__grid.works__grid--free { grid-auto-rows: 22rem; }   /* Show more: normal width, centred (as on desktop) */

  /* What's next: picture left, text + form right (Lika, Nov 14) */
  .soon__copy { display: grid; grid-template-columns: 42% minmax(0, 1fr); column-gap: 3.2rem; row-gap: 1.6rem; align-items: start; }
  .soon__copy > * { grid-column: 2; }
  .soon__copy > .soon__img { grid-column: 1; grid-row: 1 / span 8; align-self: stretch; height: 100%; min-height: 44rem; }

  /* promo pop-up: a centred window on tablet, not a bottom sheet (Lika, Nov 13) */
  .modal--promo { align-items: center; padding: 3.2rem; }
  .modal--promo .modal__box { max-height: calc(100dvh - 6.4rem); border-radius: 1.2rem; animation: pop .22s ease; }
  /* promo pop-up: picture left again (sheet is wide enough) */
  .promo { grid-template-columns: 40% minmax(0, 1fr); }
  .promo__img { height: 100%; aspect-ratio: auto; object-fit: contain; }
  .promo__body { padding: 4rem 3.2rem 3.2rem; }
  .works__inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: start; }
  .works__side { margin-top: 0; padding-top: .4rem; }
  .works__grid { grid-column: 1 / -1; grid-template-rows: repeat(4, 22rem); }
}

/* =====================================================================
   PHONE ONLY (< 600px) — Lika, Nov 13
   Hero: same two-photo pairing as tablet/desktop (portrait pushed right, mirrored profile behind it).
   Sale ticket: only "Now – Nov 30" (no "ends in …"), so it is one line shorter.
   ===================================================================== */
@media (max-width: 599px) {
  /* hero — Lika's mobile reference (Nov 13): bigger portrait pushed right, profile behind it, text over a soft
     fade, ticket right under the headline */
  /* Figma 285:300 (Nov 14): portrait 424×436 at x 35 y 5 (top of the photo, bottom cropped), mirrored profile
     238×356 at x −14 y 0 to its left, fade 180→467, text from y 320 */
  .hero__photo { top: -5.3rem; left: auto; right: 2.03rem; width: 33.87rem; height: 51rem; }   /* Figma 377:2236 (Nov 19) */
  .hero__fade { top: 18rem; height: 28.7rem; background: linear-gradient(rgba(25,22,22,0), var(--hero-bg)); }
  .hero__copy { padding-top: 32rem; }
  .sale-ticket { margin-top: -.6rem; }
  .sale-ticket__left { display: none; }
  .mmenu__links a { font-size: 2.8rem; }   /* 4px smaller menu links on phones */
  /* footer: the text starts on the line of the second column */
  .footer__inner { grid-template-columns: 1fr 1fr; column-gap: 0; }

  /* guide cards: vertical (picture on top) so the pictures stay big; small cart button + Buy now */
  .cards { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
  .card { display: flex; flex-direction: column; }
  .card__img { width: 100%; height: auto; min-height: 0; aspect-ratio: 292 / 217; }
  .card__body { padding: 1.6rem 1.6rem 2rem; gap: .8rem; }
  .card__badge { display: block; }
  .bonus-ribbon { top: 3.5rem; right: -7rem; width: 24rem; height: 3rem; font-size: 1.4rem; }
  .bonus-ribbon svg { width: 1.6rem; height: 1.6rem; }
  .card.has-bonus .card__title { padding-right: 0; }
  .sale-tag { padding: .3rem 1rem; font-size: 1.2rem; }   /* 12px on phones */
  .price { flex-wrap: nowrap; white-space: nowrap; }
  .card__add { display: inline-flex; width: 4.4rem; padding: 0; }
  .card .card__cta.btn-pair, .mc-card__cta.btn-pair { grid-auto-flow: column; grid-template-columns: 4.4rem 1fr; grid-auto-columns: auto; width: 100%; }
  .card__preview { display: none; }

  /* Guides only: two cards per row (Lika, Nov 14) */
  #guides .cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
  #guides .card__body { padding: 1.2rem 1.2rem 1.4rem; gap: .6rem; }
  #guides .card__title { font-size: 1.6rem; }
  #guides .card__badge { font-size: 1.2rem; }
  #guides .price { flex-wrap: wrap; white-space: normal; row-gap: .2rem; }
  #guides .countdown { flex-wrap: wrap; column-gap: .4rem; row-gap: 0; font-size: 1.4rem; line-height: 1.2; }
  /* phone price line: price, old price and −40% in one row, smaller; "from" hidden. During the sale the
     Black Friday tag shows instead of the −% (Lika, Nov 14) */
  #guides .price { flex-wrap: wrap; column-gap: .5rem; row-gap: 0; }
  #guides .price strong { font-size: 1.4rem; }
  #guides .price s { font-size: 1.2rem; }
  #guides .price__off { font-size: 1.1rem; }
  .sale-on #guides .price__off { display: none; }
  #guides .bonus-ribbon { top: 1.9rem; right: -5.6rem; width: 17rem; height: 2.2rem; font-size: 1.1rem; }
  #guides .bonus-ribbon svg { width: 1.2rem; height: 1.2rem; }
  #guides .card__new { top: .8rem; left: .8rem; padding: .2rem .8rem; font-size: 1.2rem; }
  #guides .card__cta.btn-pair { grid-template-columns: 4rem 1fr; gap: .6rem; }
  #guides .card__add { width: 4rem; }
  #guides .card__cta .btn--sm { padding-left: .6rem; padding-right: .6rem; }
}

/* phones/tablets: 16px in form fields so Safari doesn't zoom in on tap (zoomed pages could be dragged sideways) */
@media (max-width: 1024px) { input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; } }

/* footer on tablet: menu at the right border, "Designed by" on the right of the copyright line (Lika, Nov 19) */
@media (min-width: 600px) and (max-width: 1199px) {
  .footer__cols { justify-self: end; grid-template-columns: auto auto; column-gap: 8rem; }
  .footer__copy, .footer__credit { grid-row: 5; margin-top: 1.2rem; }
  .footer__credit { justify-self: end; text-align: right; }
}
