/* ============================================================
   La Pochette — storefront styles
   Palette: cream & ink with a single rose accent (from the bags)
   Type: Chewy (wordmark) · Cormorant Garamond (display) · Jost (body)
   ============================================================ */

:root {
  /* neutrals */
  --bg: #FAF6EC;
  --surface: #F4EEDF;
  --surface-2: #EEE6D2;
  --border: #E4DBC4;
  --ink: #241F17;
  --ink-soft: #6B6152;
  --ink-subtle: #6F6656;   /* 5.2:1 on --bg — AA for the small text it carries */
  --hairline: #9C9280;     /* decorative only: separators, never text */

  /* brand */
  --rose: #B76E79;
  --rose-deep: #9C5762;
  --rose-soft: #F0DAD6;
  --cocoa: #6F4E37;

  /* type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 3rem;
  --text-4xl: 4rem;

  --font-brand: 'Chewy', cursive;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-arch: 180px;

  --shadow: 0 20px 50px -24px rgba(36, 31, 23, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--rose-soft); }

h1, h2, h3 { font-weight: 500; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

/* ---------- entrance loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  transition: transform 0.9s var(--ease);
}
.loader.is-done { transform: translateY(-100%); }
.loader__word {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.01em;
  display: flex;
}
.loader__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotate(4deg);
  animation: letterIn 0.55s var(--ease) forwards;
  white-space: pre;
}
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.loader__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeIn 0.6s ease 0.9s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink);
  color: var(--bg);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}
.announce:empty { display: none; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 32px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__brand {
  font-family: var(--font-brand);
  font-size: var(--text-xl);
  justify-self: start;
  grid-column: 1;
  transition: transform 0.3s var(--ease);
}
.header__brand:hover { transform: rotate(-2deg) scale(1.03); }
.header__nav { grid-column: 2; display: flex; gap: 32px; }
.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease;
}
.header__nav a::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1.5px; background: var(--rose);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.header__nav a:hover, .header__nav a.is-active { color: var(--ink); }
.header__nav a:hover::after, .header__nav a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}
.header__actions { grid-column: 3; justify-self: end; display: flex; gap: 8px; align-items: center; }
.header__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: none; color: var(--ink);
  border-radius: 50%;
  position: relative;
  transition: background 0.25s ease;
}
.header__icon:hover { background: var(--surface-2); }
.header__icon svg { width: 21px; height: 21px; }
.header__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 17px; height: 17px;
  background: var(--rose-deep); color: #fff;
  font-size: 0.65rem; font-weight: 600;
  border-radius: 999px;
  display: grid; place-items: center;
  padding-inline: 4px;
  transition: transform 0.3s var(--ease);
}
.header__count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.header__burger { display: none; }

/* mobile menu */
.mobilemenu {
  /* below the sticky header so the burger stays visible/tappable as a close button */
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none;
  /* visibility keeps the hidden links out of the tab order */
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.mobilemenu.is-open {
  opacity: 1; pointer-events: auto; visibility: visible;
  transition: opacity 0.35s ease;
}
.mobilemenu nav { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mobilemenu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}
.mobilemenu__foot {
  position: absolute; bottom: 40px;
  font-family: var(--font-display); font-style: italic;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .header { grid-template-columns: auto 1fr auto; padding-inline: 16px; }
  .header__nav { display: none; }
  .header__brand { grid-column: 2; justify-self: center; }
  .header__burger {
    grid-column: 1;
    display: flex; flex-direction: column; gap: 6px; justify-content: center;
    width: 44px; height: 44px; align-items: center;
    background: none; border: none; z-index: 160; position: relative;
  }
  .header__burger span {
    width: 22px; height: 1.6px; background: var(--ink); display: block;
    transition: transform 0.35s var(--ease);
  }
  .header__burger.is-open span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .header__burger.is-open span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
}

/* ---------- page transitions & reveals ---------- */
.page { min-height: 60vh; }
.page.is-entering { opacity: 0; transform: translateY(12px); }
.page.is-entered { opacity: 1; transform: none; transition: 0.5s var(--ease); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding-inline: 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-sm); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.2s;
}
.btn:focus-visible, .header__icon:focus-visible, a:focus-visible, .qty button:focus-visible {
  outline: 2px solid var(--rose); outline-offset: 3px;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
/* --rose-deep, not --rose: white on --rose is only 3.8:1 */
.btn--rose { background: var(--rose-deep); color: #fff; }
.btn--rose:hover { background: #874A55; transform: translateY(-2px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--sm { height: 40px; padding-inline: 24px; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-block: 64px 96px;
}
.hero__eyebrow {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--rose); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--rose-deep);
}
.hero__sub {
  font-size: var(--text-lg); font-weight: 300;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 40px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__ig {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-lg);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
  transition: color 0.25s;
}
.hero__ig:hover { color: var(--rose-deep); border-color: var(--rose); }

.hero__visual { position: relative; justify-self: center; }
.hero__img {
  width: min(440px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-arch) var(--r-arch) var(--r-md) var(--r-md);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; top: -34px; right: -34px;
  width: 116px; height: 116px;
  animation: spin 22s linear infinite;
}
.hero__badge text {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  fill: var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__badge, .marquee__track, .header__count.bump { animation: none; }
  .loader__word span { animation-duration: 0.01ms; }
  .loader__sub { animation-delay: 0.01ms; }
  .reveal { transition: opacity 0.4s ease; transform: none; }
  .card:hover .card__media img.primary,
  .card:hover .card__media img.secondary,
  .lookbook a:hover img { transform: none; }
}

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 64px; text-align: left; }
  .hero__visual { justify-self: start; width: 100%; }
  .hero__img { width: 100%; max-width: 480px; }
  .hero__badge { right: 8px; top: -24px; width: 96px; height: 96px; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: var(--bg);
  overflow: hidden;
  padding-block: 14px;
  transform: rotate(-1deg) scale(1.02);
  margin-block: 8px;
}
.marquee__track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-brand);
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 48px;
  white-space: nowrap;
}
.marquee span::after { content: '✿'; font-size: 0.8em; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section__head { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, var(--text-3xl));
  line-height: 1.1;
}
.section__title em { font-style: italic; color: var(--rose-deep); }
.section__sub { color: var(--ink-soft); font-weight: 300; max-width: 52ch; margin-top: 8px; }
.section__link {
  font-size: var(--text-sm); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s, gap 0.25s var(--ease);
}
.section__link:hover { color: var(--rose-deep); border-color: var(--rose); gap: 14px; }

/* ---------- product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr 1fr; } }

.card { position: relative; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 16px;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.5s ease;
}
.card:hover .card__media img.primary { transform: scale(1.06); }
.card__media img.secondary {
  position: absolute; inset: 0; opacity: 0;
}
.card:hover .card__media img.secondary { opacity: 1; transform: scale(1.03); }
.card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg); color: var(--ink);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.card__tag--soldout { background: var(--ink); color: var(--bg); }
.card__add {
  /* above .card__name a::after, which stretches over the whole card */
  position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px;
  height: 44px;
  border: none; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.card:hover .card__add, .card__add:focus-visible { opacity: 1; transform: none; }
.card__add:hover { background: var(--ink); color: var(--bg); }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.25; }
.card__name a::after { content: ''; position: absolute; inset: 0; }
.card__price { font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.card__price s { color: var(--ink-subtle); margin-right: 6px; font-weight: 400; }
.card__cat { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle); margin-top: 2px; }
@media (max-width: 640px) {
  .card__add { opacity: 1; transform: none; height: 38px; }
  .card__name { font-size: var(--text-base); }
}

/* ---------- category chips ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  height: 40px; padding-inline: 24px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- about / story ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.story__img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-arch) var(--r-arch) var(--r-md) var(--r-md);
  box-shadow: var(--shadow);
  width: 100%;
}
.story__eyebrow {
  font-family: var(--font-brand); font-size: var(--text-lg);
  color: var(--rose-deep); margin-bottom: 16px; display: block;
  transform: rotate(-2deg);
}
.story__text { color: var(--ink-soft); font-weight: 300; font-size: var(--text-lg); max-width: 56ch; margin-block: 24px 32px; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 40px; }
  .story__img { max-width: 420px; }
}

/* values row */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
}
.value svg { width: 34px; height: 34px; margin-inline: auto; margin-bottom: 16px; stroke: var(--rose-deep); }
.value h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: 8px; }
.value p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

/* ---------- lookbook ---------- */
.lookbook { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lookbook a {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 4 / 5;
}
.lookbook a:nth-child(3n+2) { transform: translateY(24px); }
.lookbook img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.lookbook a:hover img { transform: scale(1.07); }
.lookbook a::after {
  content: '@lapochette.lb';
  position: absolute; inset: auto 0 0 0;
  padding: 32px 16px 14px;
  background: linear-gradient(transparent, rgba(36, 31, 23, 0.55));
  color: #fff; font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.14em;
  opacity: 0; transition: opacity 0.35s ease;
}
.lookbook a:hover::after { opacity: 1; }
@media (max-width: 720px) {
  .lookbook { grid-template-columns: repeat(2, 1fr); }
  .lookbook a:nth-child(3n+2) { transform: none; }
  .lookbook a:nth-child(2n) { transform: translateY(16px); }
}

/* ---------- shipping note ---------- */
.note {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 64px 32px;
  text-align: center;
}
.note h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin-bottom: 12px; }
.note h2 em { font-style: italic; color: var(--rose-deep); }
.note p { color: var(--ink-soft); font-weight: 300; max-width: 60ch; margin-inline: auto; }

/* ---------- shop page ---------- */
.shop__head { padding-block: 48px 32px; }
.shop__title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, var(--text-3xl)); margin-bottom: 8px; }
.shop__toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.shop select {
  height: 40px; padding-inline: 16px;
  border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-sm);
}
.shop__empty { text-align: center; color: var(--ink-soft); padding-block: 64px; font-family: var(--font-display); font-size: var(--text-xl); font-style: italic; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; padding-block: 48px 96px; }
.gallery__main {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 16px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.gallery__thumbs { display: flex; gap: 12px; }
.gallery__thumbs button {
  width: 76px; height: 92px;
  border-radius: var(--r-sm);
  overflow: hidden; border: 1.5px solid transparent;
  padding: 0; background: var(--surface);
  transition: border-color 0.25s;
}
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pinfo { padding-top: 8px; }
.pinfo__cat { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 12px; }
.pinfo__name { font-family: var(--font-display); font-size: clamp(2rem, 4vw, var(--text-3xl)); line-height: 1.08; margin-bottom: 16px; }
.pinfo__price { font-size: var(--text-xl); font-weight: 500; margin-bottom: 24px; }
.pinfo__price s { color: var(--ink-subtle); font-size: var(--text-lg); margin-right: 10px; }
.pinfo__desc { color: var(--ink-soft); font-weight: 300; margin-bottom: 32px; max-width: 52ch; }
.pinfo__label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.pinfo__colors { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.colorchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px; border: 1px solid var(--border);
  background: transparent; font-size: var(--text-sm); color: var(--ink-soft);
  transition: all 0.25s;
}
.colorchip .dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); }
.colorchip.is-active { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.pinfo__row { display: flex; gap: 16px; align-items: stretch; margin-bottom: 16px; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 999px;
  height: 48px;
}
.qty button {
  width: 44px; height: 100%; background: none; border: none;
  font-size: var(--text-lg); color: var(--ink-soft);
  transition: color 0.2s;
}
.qty button:hover { color: var(--ink); }
.qty output { min-width: 28px; text-align: center; font-weight: 500; }
.pinfo__status {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cocoa); background: var(--rose-soft);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 24px;
}
.pinfo__status--soldout { background: var(--ink); color: var(--bg); }
.pinfo__details { border-top: 1px solid var(--border); margin-top: 32px; }
.pinfo__details summary {
  padding-block: 16px; cursor: pointer; list-style: none;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.pinfo__details summary::after { content: '+'; font-size: var(--text-lg); font-weight: 400; transition: transform 0.3s var(--ease); }
.pinfo__details[open] summary::after { transform: rotate(45deg); }
.pinfo__details p { padding-bottom: 16px; color: var(--ink-soft); font-weight: 300; font-size: var(--text-sm); }
.pinfo__whats {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); color: var(--ink-soft);
  margin-top: 16px; border-bottom: 1px solid var(--border); padding-bottom: 2px;
  transition: color 0.25s;
}
.pinfo__whats:hover { color: var(--rose-deep); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 40px; padding-block: 32px 64px; }
}

/* ---------- breadcrumb ---------- */
.crumbs { padding-top: 32px; font-size: var(--text-sm); color: var(--ink-subtle); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--rose-deep); }

/* ---------- cart drawer ---------- */
.drawer-veil {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(36, 31, 23, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.drawer-veil.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 130;
  width: min(430px, 100vw);
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  box-shadow: -24px 0 60px -30px rgba(36,31,23,0.4);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.drawer__head h3 { font-family: var(--font-brand); font-size: var(--text-xl); font-weight: 400; }
.drawer__close { background: none; border: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.drawer__close:hover { background: var(--surface-2); }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer__empty { text-align: center; padding-block: 64px; color: var(--ink-soft); }
.drawer__empty p { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); margin-bottom: 24px; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--border); align-items: center; }
.citem img { width: 72px; height: 88px; object-fit: cover; border-radius: var(--r-sm); }
.citem__name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 500; line-height: 1.3; }
.citem__meta { font-size: var(--text-xs); color: var(--ink-subtle); margin-block: 2px 8px; }
.citem .qty { height: 34px; }
.citem .qty button { width: 32px; font-size: var(--text-base); }
.citem__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.citem__price { font-weight: 500; font-size: var(--text-sm); }
.citem__rm { background: none; border: none; font-size: var(--text-xs); color: var(--ink-subtle); text-decoration: underline; }
.citem__rm:hover { color: var(--rose-deep); }
.citem--gone img { opacity: 0.45; filter: grayscale(1); }
.citem--gone .citem__name { text-decoration: line-through; color: var(--ink-soft); }
.citem--gone .citem__meta { color: var(--rose-deep); }
.drawer__foot { border-top: 1px solid var(--border); padding: 20px 24px 24px; }
.drawer__total { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 6px; }
.drawer__hint { font-size: var(--text-xs); color: var(--ink-subtle); margin-bottom: 16px; }
.drawer__foot .btn { width: 100%; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; padding-block: 48px 96px; align-items: start; }
.checkout h1 { font-family: var(--font-display); font-size: var(--text-3xl); margin-bottom: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-soft);
}
.field input[aria-invalid="true"] { border-color: var(--rose-deep); }
.field .err { color: var(--rose-deep); font-size: var(--text-xs); margin-top: 6px; display: none; }
.field.has-error .err { display: block; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary {
  background: var(--surface); border-radius: var(--r-md);
  padding: 32px; position: sticky; top: calc(var(--header-h) + 24px);
}
.summary h2 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: 24px; }
.sline { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-sm); padding-block: 6px; color: var(--ink-soft); }
.sline strong { color: var(--ink); }
.summary__total { display: flex; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; font-weight: 600; font-size: var(--text-lg); }
.summary__note { font-size: var(--text-xs); color: var(--ink-subtle); margin-top: 12px; }
@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; gap: 40px; }
  .summary { position: static; order: -1; }
  .field__row { grid-template-columns: 1fr; }
}

/* success */
.success { text-align: center; padding-block: 96px; max-width: 560px; margin-inline: auto; }
.success__mark {
  width: 88px; height: 88px; margin-inline: auto; margin-bottom: 32px;
  background: var(--rose-soft); border-radius: 50%;
  display: grid; place-items: center;
}
.success__mark svg { width: 40px; height: 40px; stroke: var(--rose-deep); }
.success h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin-bottom: 12px; }
.success p { color: var(--ink-soft); font-weight: 300; margin-bottom: 8px; }
.success__num { font-family: var(--font-brand); font-size: var(--text-xl); color: var(--rose-deep); margin-block: 16px 32px; }
.success .btn { margin: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--bg); margin-top: 32px; }
.footer__inner { padding-block: 80px 40px; }
.footer__brand { font-family: var(--font-brand); font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1; margin-bottom: 40px; color: var(--bg); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(250, 246, 236, 0.16); }
.footer__blurb { color: rgba(250, 246, 236, 0.65); font-weight: 300; max-width: 36ch; }
.footer h4 { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,246,236,0.5); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(250, 246, 236, 0.85); font-weight: 300; transition: color 0.25s; }
.footer ul a:hover { color: var(--rose); }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px;
  font-size: var(--text-xs); color: rgba(250, 246, 236, 0.45);
}
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; z-index: 140;
  transform: translate(-50%, 80px);
  background: var(--ink); color: var(--bg);
  padding: 13px 28px; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 500;
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s ease;
  pointer-events: none;
  max-width: calc(100vw - 48px);
  text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
