@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* Linkoyer — mobile-first. Base styles target phones; media queries scale up. */

:root {
  /* Brand palette taken from the Instagram logo */
  --wine: #591C24;
  --wine-deep: #591C24;
  --wine-soft: #F3E8E8;
  --bg: #FFFFFF;
  --surface: #FAF6F4;
  --ink: #1C1416;
  --muted: #7E7173;
  --line: #ECE2E0;
  --ivory: #FBF5F2;

  --logo: "Evolventa", "Futura", "Century Gothic", sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --serif: var(--sans);

  --gutter: 20px;
  --tabbar-h: 0px;
  --header-h: 56px;
  --announce-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
html, body { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

/* ---------- Typography ---------- */
.logo { font: 400 22px/1 var(--logo); letter-spacing: .12em; padding-left: .12em; white-space: nowrap; display: inline-block; }
.title {
  font: 500 14px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0;
}
.eyebrow { font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 14px; }
.muted { color: var(--muted); margin: 10px 0 0; }
.link { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: transform .15s var(--ease), background .2s, color .2s;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Image placeholders (swap for <picture> with AVIF/WebP srcset) ---------- */
.ph { background: var(--wine-soft); position: relative; overflow: hidden; display: block; }
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 70% at 35% 25%, rgba(255,255,255,.35), transparent 60%);
}
.ph[data-tone="hero"] { background: linear-gradient(170deg, #3B1018 0%, #591C24 45%, #C7A49C 100%); }
.ph[data-tone="wine"] { background: var(--wine); }
.ph[data-tone="1"] { background: linear-gradient(165deg, #E9DCD6, #C9ADA4); }
.ph[data-tone="2"] { background: linear-gradient(165deg, #F3ECE8, #DCCBC4); }
.ph[data-tone="3"] { background: linear-gradient(165deg, #2A1E21, #5A3A40); }
.ph[data-tone="4"] { background: linear-gradient(165deg, #EFE7E3, #D6C3BC); }
.ph[data-tone="5"] { background: linear-gradient(165deg, #8C3A45, #3E1219); }
.ph[data-tone="6"] { background: linear-gradient(165deg, #D8C0B6, #A98276); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 8px;
  color: #fff;
  background: var(--wine);
  border-bottom: 1px solid var(--wine);
}
/* White cover above the sticky header: on iPhone the page is also painted under the
   browser's top bar, so scrolling content would otherwise show through there. */
.header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 400px; background: var(--wine); pointer-events: none; }
.header-left, .header-right { display: flex; align-items: center; }
.header-right { justify-content: flex-end; }
.header-catalog { display: none; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; position: relative; }
.header .icon-btn svg { stroke-width: 1; }
.header-right .icon-btn { width: 32px; }
.header-right { padding-right: 4px; }
.badge {
  position: absolute; top: 5px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #fff; color: var(--wine);
  font: 500 10px/16px var(--sans); font-style: normal; text-align: center;
}
[data-cart-count="0"], [data-fav-count="0"] { display: none; }
.only-desktop { display: none !important; }

/* ---------- Hero: photo fills the first screen with title and CTA on it ---------- */
.hero { position: relative; background: #fff; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 480px; max-height: 900px; overflow: hidden; }
.hero-pic { position: absolute; inset: 0; display: block; }
.hero-pic img { position: absolute; left: 0; bottom: 15%; width: 100%; height: 108%; object-fit: cover; object-position: 38% 100%; display: block; }
.hero-content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 14px;
  padding: 0 var(--gutter) 15%; text-align: center;
}
.hero-tag { margin: 0; font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.hero-content .btn { min-width: 220px; min-height: 48px; padding: 0 24px; font-size: 12px; }

/* ---------- Scroller ---------- */
.scroller {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  scroll-padding-left: var(--gutter);
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 52px var(--gutter) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }

/* ---------- Product card ---------- */
.products-row .card { width: 62%; }
.card { position: relative; }
.card-media-wrap { position: relative; margin-bottom: 14px; }
.card-media { aspect-ratio: 3 / 4; }
.card-tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: #fff; color: var(--wine);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px;
}
.card-fav { position: absolute; top: 2px; right: 2px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; }
.card-fav svg { width: 20px; height: 20px; }
.card-fav.on { color: var(--wine); }
.card-fav.on svg { fill: currentColor; }
.card-add {
  position: absolute; right: 8px; bottom: 8px; z-index: 1; width: 40px; height: 40px;
  background: #fff; display: grid; place-items: center;
}
.card-add svg { width: 18px; height: 18px; }
.card-name { font: 400 12.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.price { font-weight: 400; font-size: 14px; margin: 0; }
.price s { color: var(--muted); margin-left: 8px; }
.price .sale { color: var(--wine); }
.swatches { display: flex; gap: 6px; margin-top: 10px; }
.sw { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.swatches.lg { gap: 12px; }
.swatches.lg .sw { width: 34px; height: 34px; outline-offset: 3px; }
.swatches.lg .sw.on { outline: 1px solid var(--ink); }

.progress { height: 1px; background: var(--line); margin-top: 24px; position: relative; }
.progress span { position: absolute; left: 0; top: -0.5px; height: 2px; width: 30%; background: var(--wine); transition: transform .15s linear; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }

/* ---------- Categories carousel (burgundy band) ---------- */
.car-band { margin-top: 32px; background: var(--wine); color: #fff; padding: 10px 0 26px; }
.carousel-section { padding-top: 0; }
.car-arrows { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 4px; }
.car-btn { width: 44px; height: 36px; display: grid; place-items: center; color: #fff; transition: opacity .2s; }
.car-btn svg { width: 26px; height: 26px; stroke-width: 1; }
.car-btn[disabled] { opacity: .3; cursor: default; }
.car { gap: 10px; }
.car-item { width: 44%; display: block; text-align: center; }
.car-img { display: block; position: relative; aspect-ratio: 1 / 1; margin-bottom: 8px; }
.car-img img { position: absolute; inset: 6% 17%; width: 66%; height: 88%; object-fit: contain; display: block; }
.car-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car-set img { inset: 15% 0; width: 100%; height: 70%; object-fit: contain; }
.car-label { display: inline-block; white-space: nowrap; font-size: 10.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.8); }

/* ---------- Gift card ---------- */
.gift { padding: 8px 0 0; display: grid; gap: 28px; }
.gift-card {
  aspect-ratio: 1.6; max-width: 320px; width: 100%; margin: 0 auto;
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 18px 40px -18px rgba(75,18,28,.6);
  transform: rotate(-3deg);
}
.gift-logo { display: inline-block; font: 400 26px/1 var(--logo); letter-spacing: .12em; padding-left: .12em; }
.gift-amount { font: 300 13px var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.gift .btn { margin-top: 22px; width: 100%; }

/* ---------- About ---------- */
.about .title { margin-bottom: 16px; }
.about p { margin: 0 0 12px; color: #3E3335; }
.about b { font-weight: 500; color: var(--ink); }
.more-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.more-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.footer { margin-top: 64px; background: var(--wine-deep); color: #fff; padding: 44px var(--gutter) 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.footer-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.footer-cols a { display: block; padding: 5px 0; color: rgba(255,255,255,.75); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; color: rgba(255,255,255,.6); }
.lang { display: flex; gap: 14px; font-size: 12px; letter-spacing: .1em; }
.lang a { opacity: .55; }
.lang a.on { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Overlay, drawer, sheets ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(28,10,14,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; z-index: 60; top: 0; bottom: 0; left: 0;
  width: min(88vw, 420px); overflow-y: auto;
  background: #fff; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-100%); transition: transform .35s var(--ease);
}
.drawer.show { transform: none; }
.drawer-head {
  position: sticky; top: 0; z-index: 1; background: #fff;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 60px; border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); padding: 0 8px 0 var(--gutter);
}
.drawer-head .logo { font-size: 19px; color: var(--wine); }
.drawer-head .icon-btn { justify-self: end; }
.drawer-head .lang a.on { color: var(--wine); }
.drawer-h { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 24px 0 14px; color: var(--muted); }
.drawer-list a { display: block; padding: 10px 0; font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.drawer-sec a { display: block; padding: 9px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer-list a.wine { color: var(--wine); }
.drawer-sec { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }

.sheet {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  max-height: 88vh; max-height: 88svh; overflow-y: auto;
  background: #fff;
  padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.sheet.show { transform: none; }
.sheet-grip { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 18px; }

.quick-top { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.quick-img { width: 72px; aspect-ratio: 3/4; flex-shrink: 0; }
.quick-name { font: 400 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin: 22px 0 12px; }
.opt-label span { color: var(--muted); margin-left: 4px; margin-right: auto; }
.opt-label .link { font-size: 11px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 24px; }
.size { min-height: 48px; border: 1px solid var(--line); font-size: 13px; transition: border-color .15s, background .15s; }
.size.on { border-color: var(--wine); background: var(--wine); color: #fff; }
.size[disabled] { color: #CBBFC0; text-decoration: line-through; cursor: default; }

.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.free-ship { font-size: 13px; background: var(--wine-soft); padding: 10px 12px; margin-bottom: 6px; }
.free-ship i { display: block; height: 2px; background: #fff; margin-top: 8px; position: relative; }
.free-ship i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--wine); }
.cart-items { min-height: 80px; }
.cart-empty { color: var(--muted); text-align: center; padding: 32px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cart-item .ph { aspect-ratio: 3/4; }
.cart-item p { margin: 0 0 2px; }
.cart-item .card-name { font-size: 12px; }
.cart-item .remove { color: var(--muted); font-size: 12px; align-self: start; }
.cart-foot { position: sticky; bottom: 0; background: #fff; padding-top: 16px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.cart-total strong { font-weight: 500; }

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--wine); color: #fff; font-size: 13px; padding: 12px 18px;
  transition: all .3s var(--ease); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hero entrance animation ---------- */
@keyframes tag-in {
  from { opacity: 0; letter-spacing: .5em; filter: blur(6px); }
  to   { opacity: 1; letter-spacing: .2em; filter: blur(0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.home.play .hero-tag { animation: tag-in 1.1s cubic-bezier(.2,.7,.2,1) 1s both; }
.home.play .hero-content .btn { animation: rise-in .8s cubic-bezier(.2,.7,.2,1) 1.4s both; }

/* The intro stays hidden only while JS is about to start it; without JS everything is simply visible. */
.js .home:not(.play) :is(.hero-pic, .hero-tag, .hero-content .btn) { opacity: 0; }

/* Camera reveal: the white backdrop stays put, the model drifts into frame
   while the lens slowly pushes in a few percent. */
@keyframes cam-reveal {
  from { opacity: 0; transform: translate3d(7%, 3%, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes cam-push {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
.home.play .hero-pic { animation: cam-reveal 2.4s cubic-bezier(.22,.7,.2,1) .4s both; }
.home.play .hero-pic img { transform-origin: 50% 72%; animation: cam-push 2.4s cubic-bezier(.22,.7,.2,1) .4s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ================= Large phones ≥ 400px ================= */
@media (min-width: 400px) {
  .header-catalog { display: inline; margin-left: 2px; }
}

/* ================= Tablet ≥ 768px ================= */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .gift { grid-template-columns: 1fr 1fr; align-items: center; padding: 8px 0 0; gap: 56px; }
  .gift .btn { width: auto; }
  .products-row .card { width: 32%; }
  .car-item { width: calc((100% - 20px) / 3); }
  .about { max-width: 760px; margin: 0 auto; text-align: center; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .sheet { left: 50%; right: auto; width: 520px; transform: translate(-50%, 100%); }
  .sheet.show { transform: translate(-50%, 0); }
}

/* ================= Desktop ≥ 1024px ================= */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --header-h: 72px; --tabbar-h: 0px; }
  .only-desktop { display: grid !important; }
  .header { padding: 0 calc(var(--gutter) - 12px); }
  .logo { font-size: 30px; }

  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; max-height: 860px; height: calc(100vh - var(--header-h)); }
  .hero-pic { position: relative; grid-column: 2; grid-row: 1; }
  .hero-pic img { object-position: 50% 60%; }
  .hero-content { position: static; grid-column: 1; grid-row: 1; justify-content: center; align-items: flex-start; gap: 32px; text-align: left; padding: 0 8vw 0 var(--gutter); }
  .hero-tag { font-size: 13px; }
  .hero-pic img { height: 100%; }

  .section { padding-top: 96px; max-width: 1440px; margin: 0 auto; }
  .products-row .card { width: calc((100% - 36px) / 4); }
  .car-item { width: calc((100% - 30px) / 4); }
  .card-add { opacity: 0; transition: opacity .2s; }
  .card:hover .card-add, .card-add:focus-visible { opacity: 1; }

  /* Cart & quick-add slide in from the right on desktop */
  .sheet { top: 0; bottom: 0; left: auto; right: 0; width: 460px; max-height: none; padding: 32px; transform: translateX(100%); }
  .sheet.show { transform: none; }
  .sheet-grip { display: none; }
  .toast { bottom: 24px; }

  .footer { padding: 72px var(--gutter) 28px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 0 64px; }
  .footer-top { grid-column: 1 / -1; }
  .footer-cols { grid-column: 1 / -1; margin-top: 36px; }
  .footer-bottom { grid-column: 1 / -1; }
}

/* ---------- Gift page ---------- */
.gift-page { padding-top: 40px; }

a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* ---------- Catalog page ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-list { padding-top: 16px; }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
.p-card { position: relative; min-width: 0; }
.p-media { display: block; position: relative; aspect-ratio: 2 / 3; background: #fff; margin-bottom: 10px; overflow: hidden; }
.p-media img { position: absolute; inset: 6% 10%; width: 80%; height: 88%; object-fit: contain; }
.p-media.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Bras and panties are cut on one common canvas, so they fill the card the same way. */
.p-media.wide img { inset: 0 2%; width: 96%; height: 100%; }
.p-card .card-fav { top: 4px; right: 4px; }
.p-name { margin: 0 0 4px; font: 400 11px/1.35 var(--sans); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.p-price { margin: 0; font: 400 12px/1.4 var(--sans); color: var(--ink); }
@media (min-width: 768px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 16px; }
}
@media (min-width: 1024px) {
  .p-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 20px; }
}

.cat-title { margin: 0 0 4px; font: 500 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.cat-list { padding-top: 6px; min-height: 75vh; min-height: 75svh; }
/* Extra white cover above the page frame, for browsers that draw page content under their top bar. */
html { background: #fff; }
body::before { content: ""; position: fixed; left: 0; right: 0; top: -300px; height: 300px; background: var(--wine); z-index: 35; pointer-events: none; }

/* Category links under the page title: plain text, no boxes. */
.cat-tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 0 var(--gutter); }
.cat-tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; padding: 12px 0 10px; font-size: 14px; color: var(--muted); white-space: nowrap; border-bottom: 1px solid transparent; }
.tab.on { color: var(--ink); border-bottom-color: var(--wine); }


.drawer-home { margin-top: 10px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-home a { display: block; padding: 8px 0; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer-home + .drawer-h { margin-top: 18px; }

/* Panties sets: burgundy card like the brand's own artwork, and a struck-through old price next to the new one. */
.p-media.dark { background: var(--wine); }
.p-media.dark img { inset: 0; width: 100%; height: 100%; }
.p-price s { margin-right: 8px; color: var(--muted); text-decoration-thickness: 1px; }
.p-price .now { color: var(--wine); font-weight: 500; }

/* ---------- Cart thumbnails for catalog products ---------- */
.cart-img { width: 64px; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px var(--gutter) 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a:last-of-type { color: var(--ink); }
.pdp-media { position: relative; margin: 0 var(--gutter); }
.pdp-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-slides::-webkit-scrollbar { display: none; }
.pdp-photo { display: block; position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 4; background: #fff; overflow: hidden; }
.pdp-bars { display: flex; gap: 4px; margin-top: 8px; }
.pdp-bars button { flex: 1; height: 14px; padding: 0; display: grid; align-items: center; cursor: pointer; }
.pdp-bars button::before { content: ""; height: 2px; background: rgba(89,28,36,.2); transition: background .25s; }
.pdp-bars button.on::before { background: #591C24; }
.pdp-slides.multi .pdp-photo { aspect-ratio: 2 / 3; }
.pdp-photo img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }
.pdp-photo.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-fav { top: 6px; right: 6px; }
.pdp-body { padding: 22px var(--gutter) 0; }
.pdp-name { margin: 0 0 8px; font: 500 15px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.pdp-price { margin: 0 0 14px; font-size: 15px; }
.pdp-price s { margin-right: 10px; color: var(--muted); text-decoration-thickness: 1px; }
.pdp-price .now { color: var(--wine); font-weight: 500; }
.pdp-lead { margin: 0 0 24px; color: #3E3335; }
.pdp-lead p { margin: 0 0 10px; }
.pdp-lead p:last-child { margin-bottom: 0; }
.size-group { margin-bottom: 18px; }
.size-group .opt-label { margin: 0 0 10px; }
.size-group .opt-label .link { font-size: 11px; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 52px; height: 46px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; transition: border-color .15s, background .15s, color .15s; }
.size-btn.on { background: var(--wine); border-color: var(--wine); color: #fff; }
.pdp-add { margin: 8px 0 28px; }
.pdp-acc details { border-top: 1px solid var(--line); }
.pdp-acc details:last-child { border-bottom: 1px solid var(--line); }
.pdp-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: "+"; font-size: 20px; line-height: 1; font-weight: 300; }
.pdp-acc details[open] summary::after { content: "−"; }
.pdp-acc details p { margin: 0 0 18px; color: var(--muted); }
.pdp-more { margin-top: 44px; }
.pdp-more .title { margin-bottom: 18px; }
.size-note { margin: 0 0 18px; font-size: 13px; }
.size-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 13px; }
.size-table th, .size-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 500; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
@media (min-width: 900px) {
  .pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 0 56px; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
  .crumbs { grid-column: 1 / -1; padding-left: 0; }
  .pdp-media, .pdp-body { margin: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- Size guide (sheet) ---------- */
.size-h { margin: 22px 0 10px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.size-table th, .size-table td { padding: 9px 4px 9px 0; }
.size-table thead th { font-size: 11px; }
.size-table tbody th { font-weight: 400; color: var(--ink); }
.size-table td { white-space: nowrap; }
.size-foot { margin: 0 0 8px; font-size: 13px; }
.size-photo { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 8px; }

.pdp-acc details > *:not(summary) { color: #3E3335; }
.pdp-acc h4 { margin: 4px 0 8px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pdp-acc details p, .pdp-acc details li { margin: 0 0 12px; color: #3E3335; }
.pdp-acc ul { margin: 0 0 14px; padding-left: 18px; }
.pdp-acc b { font-weight: 500; color: var(--ink); }
.pdp-acc details[open] > :last-child { margin-bottom: 18px; }
.size-steps { margin: 0 0 16px; padding-left: 18px; font-size: 13.5px; }
.size-steps li { margin-bottom: 8px; color: #3E3335; }
.size-steps b { font-weight: 500; color: var(--ink); }

/* Care instructions: a small line icon beside each paragraph */
.pdp-acc ul.care { list-style: none; margin: 0 0 8px; padding: 0; }
.pdp-acc ul.care li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; margin-bottom: 16px; }
.pdp-acc ul.care svg { width: 28px; height: 28px; stroke-width: 1.1; color: var(--wine); margin-top: 1px; }
.pdp-acc ul.care p { margin: 0 0 8px; }
.pdp-acc ul.care p:last-child { margin-bottom: 0; }

/* Size guide: the measuring picture runs edge to edge like a block, not a framed photo */
.sheet { --sheet-pad: var(--gutter); }
@media (min-width: 1024px) { .sheet { --sheet-pad: 32px; } }
.size-photo { width: calc(100% + 2 * var(--sheet-pad)); max-width: none; margin: 40px calc(-1 * var(--sheet-pad)) calc(-1 * (20px + env(safe-area-inset-bottom))); }

.pdp-acc a { text-decoration: underline; text-underline-offset: 3px; }

/* Small print under the returns rules: quieter than the rules themselves */
.pdp-acc details p.fine { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.pdp-acc details p.fine a { color: var(--muted); }

/* ---------- Press feedback ---------- */
.btn { position: relative; overflow: hidden; }
.btn:active, .btn.going { scale: .97; }
.btn.going { opacity: .85; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: rgba(255,255,255,.38); animation: ripple .65s ease-out forwards; }
.btn-light .ripple, .btn-ghost .ripple { background: rgba(89,28,36,.2); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.pdp-add.done { background: #3b0f16; letter-spacing: .2em; }
.pdp-add { transition: scale .15s var(--ease), background .25s, letter-spacing .25s; }

.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }

.card-fav.pop svg { animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.card-fav:active svg { transform: scale(.85); }
.size-btn:active { transform: scale(.94); }
.tab:active, .car-btn:active, .icon-btn:active { opacity: .6; }

/* Optional belt on a set */
.pdp-belt { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 13px 14px; border: 1px solid var(--line, #E3DADB); cursor: pointer; font-size: 14px; }
.pdp-belt input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-belt .tick { flex: none; width: 18px; height: 18px; border: 1px solid #591C24; display: grid; place-items: center; transition: background .2s; }
.pdp-belt .tick::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; rotate: -45deg; translate: 0 -1px; opacity: 0; transition: opacity .15s; }
.pdp-belt input:checked + .tick { background: #591C24; }
.pdp-belt input:checked + .tick::after { opacity: 1; }
.pdp-belt input:focus-visible + .tick { outline: 2px solid #591C24; outline-offset: 2px; }
.pdp-belt-name { flex: 1; }
.pdp-belt b { font-weight: 500; white-space: nowrap; }

/* Sizes that are sold out or not made */
.size-btn:disabled { color: #B7ACAE; background: transparent; text-decoration: line-through; cursor: default; }
.size-btn:disabled:active { transform: none; }
.pdp-belt.off { opacity: .55; cursor: default; }
.pdp-belt-note { margin: -6px 0 14px; font-size: 12.5px; }

/* Empty cart + "Оформити замовлення" */
.cart-warn { margin: 0 0 12px; font-size: 13px; text-align: center; color: #591C24; }
.cart-warn.shake { animation: warn-in .35s ease; }
@keyframes warn-in { 0% { opacity: 0; translate: 0 4px; } 100% { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .cart-warn.shake { animation: none; } }

/* ---------- Checkout ---------- */
.checkout { padding-bottom: 8px; }
.co-grid { display: grid; gap: 32px; margin-top: 22px; }
.co-block { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.co-block legend { padding: 0; margin-bottom: 14px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.co-row { display: grid; gap: 0 12px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }
.field i { font-style: normal; opacity: .8; }
.field input, .field textarea, .field select { display: block; width: 100%; padding: 0 14px; height: 48px; border: 1px solid var(--line); border-radius: 0; background: #fff; font: 400 16px var(--sans); color: var(--ink); transition: border-color .15s; appearance: none; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); }
.field input[aria-invalid="true"] { border-color: #B3382F; }
.err { display: block; min-height: 0; margin-top: 5px; font: 400 12.5px/1.35 var(--sans); font-style: normal; color: #B3382F; }
.err:empty { display: none; }
.co-option { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s; }
.co-option.on { border-color: var(--wine); }
.co-option input { position: absolute; opacity: 0; pointer-events: none; }
.co-option .dot { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--wine); border-radius: 50%; display: grid; place-items: center; }
.co-option .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); opacity: 0; transition: opacity .15s; }
.co-option.on .dot::after { opacity: 1; }
.co-option input:focus-visible ~ .dot { outline: 2px solid var(--wine); outline-offset: 2px; }
.co-option-text b { display: block; font-weight: 500; font-size: 14px; }
.co-option-text small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.co-agree { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 6px; font-size: 13px; cursor: pointer; }
.co-agree input { position: absolute; opacity: 0; pointer-events: none; }
.co-agree .tick { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--wine); display: grid; place-items: center; }
.co-agree .tick::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.co-agree input:checked + .tick { background: var(--wine); }
.co-agree input:checked + .tick::after { opacity: 1; }
.co-agree input:focus-visible + .tick { outline: 2px solid var(--wine); outline-offset: 2px; }
.co-form .btn { margin-top: 18px; }
.co-note { font-size: 12.5px; text-align: center; }
.co-summary { order: -1; align-self: start; }
.co-h { margin: 0 0 4px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.co-item:last-child { border-bottom: 0; }
.co-item img { width: 56px; height: 72px; object-fit: contain; }
.co-item-name { margin: 0; font-weight: 500; }
.co-item-meta { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.co-empty, .co-done { margin-top: 22px; max-width: 460px; }
.co-done .co-h { margin-bottom: 16px; }
.co-empty .btn, .co-done .btn { margin-top: 20px; }
.co-done p { margin: 0 0 6px; }
@media (min-width: 560px) { .co-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .co-summary { order: 0; position: sticky; top: 84px; }
}

/* Nova Poshta pickers */
.field > label { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }
.combo { position: relative; }
.combo input:disabled { background: var(--surface); color: var(--muted); }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; max-height: 264px; overflow-y: auto; background: #fff; border: 1px solid var(--wine); box-shadow: 0 10px 28px rgba(89, 28, 36, .12); }
.combo-list[hidden] { display: none; }
.combo-list li { padding: 11px 14px; font-size: 14px; line-height: 1.35; cursor: pointer; }
.combo-list li.on, .combo-list li[role="option"]:hover { background: var(--wine-soft); }
.combo-list .combo-msg { color: var(--muted); cursor: default; }
.seg { display: inline-flex; margin: 0 0 10px; border: 1px solid var(--wine); }
.seg[hidden] { display: none; }
.seg button { padding: 9px 16px; font: 400 13px var(--sans); color: var(--wine); background: #fff; transition: background .15s, color .15s; }
.seg button.on { background: var(--wine); color: #fff; }
.np-note { margin: 8px 0 0; font-size: 12.5px; }
.np-note[hidden] { display: none; }

.field select { cursor: pointer; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23591C24' stroke-width='1.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }
.field select[aria-invalid="true"] { border-color: #B3382F; }

.combo input { padding-right: 44px; }
.combo-x { position: absolute; top: 0; right: 0; width: 44px; height: 48px; display: grid; place-items: center; color: var(--wine); }
.combo-x[hidden] { display: none; }
.combo-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.combo-x:active { opacity: .6; }

.co-agree a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }

/* Help pages from the footer */
.info-page { padding-bottom: 8px; max-width: 760px; margin: 0 auto; }
.info-body { margin-top: 20px; color: #3E3335; }
.info-body ul { margin: 0 0 14px; padding-left: 18px; }
.info-body li, .info-body p { margin: 0 0 12px; }
.info-body b { font-weight: 500; color: var(--ink); }
.info-body a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.info-body .fine { color: var(--muted); font-size: 13px; }
.info-body .size-h:first-child { margin-top: 0; }
.info-body .size-photo { width: 100%; max-width: 420px; margin: 24px auto 0; }
.info-h { margin: 28px 0 10px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.info-h3 { margin: 18px 0 8px; font: 500 14px/1.35 var(--sans); color: var(--ink); }
.info-body .fine { margin-bottom: 16px; }
.info-h { scroll-margin-top: 76px; }
.info-body .doc-sub { margin: 0 0 6px; color: var(--ink); font-weight: 500; }

/* Gift certificate rules */
.gift-rules { margin-top: 36px; max-width: 560px; }
.gift-rules .co-h { margin-bottom: 12px; }
.gift-rules ol { margin: 0; padding-left: 20px; color: #3E3335; }
.gift-rules li { margin-bottom: 10px; }

/* About page */
.info-body .about-hero { margin: 0 0 24px; }
.about-hero img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.info-body .about-lead { margin: 0 0 18px; font-size: 19px; line-height: 1.5; color: var(--wine); }
.about-values { display: grid; gap: 4px; }
.about-values .info-h3 { margin-top: 14px; }
.about-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 30px 0 6px; }
.about-pair img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about-btn { margin-top: 18px; text-decoration: none; }
.info-body a.btn { color: #fff; text-decoration: none; }
@media (min-width: 720px) { .about-values { grid-template-columns: repeat(3, 1fr); gap: 28px; } .about-values .info-h3 { margin-top: 8px; } }

/* Empty favourites: air between the text and the button */
.fav-empty { max-width: 460px; }
.fav-empty .btn { margin-top: 24px; }

/* Gift certificate order */
.cert-form .seg { margin-bottom: 16px; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 14px; }
.cert-chips button { padding: 9px 14px; border: 1px solid var(--line); background: #fff; font: 400 13px var(--sans); color: var(--ink); transition: border-color .15s; }
.cert-chips button:hover, .cert-chips button:focus-visible { border-color: var(--wine); outline: none; }
.cert-note { margin: 0 0 14px; font-size: 12.5px; }
.cert-fee { margin: 4px 0 8px; }
.cert-sum { margin: 4px 0 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.cert-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 14px; }
.cert-total { font-size: 16px; }
.cert-form [hidden] { display: none; }
.cert-form { margin-top: 22px; }

/* Certificate for a product: pick it by photo */
.cert-group { margin: 6px 0 10px; font: 500 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.cert-item { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; text-align: left; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s; }
.cert-item .p-media { margin: 0 0 6px; }
.cert-item:hover { border-color: #C9B5B8; }
.cert-item.on { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.cert-item.on::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cert-item-name { font-size: 13px; color: var(--ink); }
.cert-item-price { font-size: 13px; color: var(--muted); }
.cert-note a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert-item-price s { margin-right: 8px; color: var(--muted); text-decoration-thickness: 1px; }
.cert-item-price .now { color: var(--wine); font-weight: 500; }

/* "Back" link above a page title */
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.back-link:hover { color: var(--wine); }
.cert-chips { flex-wrap: nowrap; gap: 6px; }
.cert-chips button { flex: 1 1 0; padding: 9px 2px; white-space: nowrap; }

/* the back link on the certificate page is just an arrow, a little higher */
.cert .back-link { width: 40px; height: 40px; margin: -24px 0 6px -10px; justify-content: center; }
.cert .back-link svg { width: 24px; height: 24px; }

/* Certificate rules: a closed bar that opens on tap, like the care instructions on a product */
.gift-acc { margin-top: 32px; max-width: 560px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gift-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.gift-acc summary::-webkit-details-marker { display: none; }
.gift-acc summary::after { content: "+"; font-size: 20px; line-height: 1; font-weight: 300; }
.gift-acc[open] summary::after { content: "−"; }
.gift-acc ol { margin: 0 0 8px; padding-left: 20px; color: #3E3335; }
.gift-acc li { margin-bottom: 12px; }

/* Cart: quantity */
.qty { display: inline-flex; align-items: center; margin: 6px 0 4px; border: 1px solid var(--line); }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; font-size: 16px; line-height: 1; color: var(--ink); }
.qty button:active { background: var(--surface); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.qty button:disabled { opacity: .35; }

/* 404 */
.nf-page { max-width: 520px; margin: 0 auto; padding-top: 72px; padding-bottom: 40px; text-align: center; }
.nf-code { margin: 0 0 8px; font: 300 64px/1 var(--sans); letter-spacing: .12em; color: var(--wine); }
.nf-page .btn { margin-top: 24px; }

/* Tablets (portrait): the box is wider than the photo, so show the top of it (the head), not the middle */
@media (min-width: 600px) and (max-width: 1023px) {
  /* the whole figure stays above the tagline and the button */
  .hero-pic img { bottom: 21%; height: 79%; object-fit: contain; object-position: 40% 100%; }
}

/* Tablets (portrait): the product photo is not taller than the screen, the text sits in a comfortable column */
@media (min-width: 600px) and (max-width: 899px) {
  .pdp-media, .pdp-body { max-width: 520px; margin-left: auto; margin-right: auto; }
  .pdp-body { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* "New" mark on a card and on the product page */
.p-badge { position: absolute; top: 6px; left: 6px; z-index: 2; padding: 3px 7px; background: rgba(255, 255, 255, .92); color: var(--wine, #591C24); font: 500 9px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.pdp-badge { margin: 0 0 8px; font: 500 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine, #591C24); }

/* colour circles: a card shows the colours of the item, a tap opens that colour */
.c-dots { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.c-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, .2); }
.c-dot.on { outline: 1px solid var(--ink); outline-offset: 2px; }
.c-dots.lg { gap: 12px; margin-top: 10px; }
.c-dots.lg .c-dot { width: 26px; height: 26px; }
.pdp-colors { margin: 0 0 18px; }

/* the announcement bar above the header (text and link come from the admin) */
.announce { display: block; padding: 9px 40px; background: #3d1218; color: #fff; text-align: center; font: 400 12px/1.4 var(--sans); letter-spacing: .04em; text-decoration: none; }
a.announce:hover { text-decoration: underline; }
