/* ==========================================================================
   YIBE L'ALLURE — house layer over the theme's base.css.
   The identity is printed on cream stock in gold foil, so the site runs light
   and warm; the one dark band is the bottle anatomy, which is shot that way.
   ========================================================================== */

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4, h5,
.h0, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-heading-family);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.y-display {
  font-family: var(--font-heading-family);
  font-size: clamp(3.6rem, 5.6vw, 7.2rem);
  line-height: 1.04;
  margin: 0;
}

.y-title {
  font-family: var(--font-heading-family);
  font-size: clamp(2.6rem, 3.2vw, 4.2rem);
  line-height: 1.1;
  margin: 0;
}

.y-sub {
  font-family: var(--font-heading-family);
  font-size: clamp(1.9rem, 2vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
}

/* The packaging sets its small type as wide-tracked caps — the one place this
   site uses caps, because it is quoting the box. */
.y-tracked {
  font-family: var(--font-body-family);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(var(--color-foreground), 0.6);
}

.y-meta {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.62);
}

.y-lede {
  font-size: clamp(1.65rem, 1.5vw, 1.95rem);
  line-height: 1.7;
  max-width: 48ch;
  color: rgba(var(--color-foreground), 0.78);
}

.y-body {
  font-size: 1.55rem;
  line-height: 1.78;
  max-width: 62ch;
  color: rgba(var(--color-foreground), 0.74);
}

.y-body p + p { margin-top: 1.3em; }

.y-num { font-variant-numeric: tabular-nums lining-nums; }

.y-gold { color: var(--y-gold); }

/* ---------------------------------------------------------------- layout */

.y-section { padding-block: clamp(5.6rem, 7vw, 11rem); }
.y-section--tight { padding-block: clamp(3.6rem, 4.5vw, 6.4rem); }

.y-rule { border: 0; border-top: 1px solid var(--y-rule); margin: 0; }
.color-ink .y-rule { border-top-color: var(--y-rule-ink); }

.y-stack { display: grid; gap: 2.2rem; }
.y-stack--sm { gap: 1.1rem; }

.y-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: clamp(2.4rem, 3vw, 4rem);
}

.y-split { display: grid; gap: clamp(3.2rem, 5vw, 7rem); align-items: center; }

@media screen and (min-width: 990px) {
  .y-split { grid-template-columns: 1fr 1fr; }
  .y-split--wide-left { grid-template-columns: 1.2fr 1fr; }
  .y-split--reverse > :first-child { order: 2; }
}

/* The mark, used as a divider between sections the way the box uses it. */
.y-mark {
  display: block;
  width: 3.2rem;
  color: var(--y-gold);
  margin-inline: auto;
}

.y-mark svg { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------- announcement bar */

.y-announce {
  background-color: var(--y-deep);
  color: var(--y-stock);
  overflow: hidden;
  padding-block: 0.85rem;
}

.y-announce__track {
  display: flex;
  width: max-content;
  animation: y-marquee 38s linear infinite;
}

.y-announce__group {
  display: flex;
  gap: 5rem;
  padding-right: 5rem;
  white-space: nowrap;
}

.y-announce span {
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 235, 225, 0.82);
}

.y-announce b { color: var(--y-gold-lt); font-weight: 500; }

@keyframes y-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .y-announce__track { animation: none; width: 100%; justify-content: center; }
  .y-announce__group + .y-announce__group { display: none; }
  .y-announce__group { flex-wrap: wrap; white-space: normal; justify-content: center; }
}

/* ---------------------------------------------------------------- header */

.y-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--y-stock);
  border-bottom: 1px solid var(--y-rule);
}

.y-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding-block: 1.4rem;
}

@media screen and (min-width: 990px) {
  .y-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; }
}

.y-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--y-ink);
}

.y-brand__mark { width: 2.6rem; color: var(--y-gold); flex: 0 0 auto; }
.y-brand__mark svg { display: block; width: 100%; height: auto; }

.y-brand__word {
  font-family: var(--font-heading-family);
  font-size: clamp(2rem, 1.9vw, 2.5rem);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  line-height: 1;
}

.y-brand__sub {
  display: block;
  font-family: var(--font-body-family);
  font-size: 0.95rem;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  color: var(--y-gold);
  margin-top: 0.3rem;
}

.y-nav { display: none; gap: clamp(1.6rem, 2vw, 2.8rem); align-items: center; }

@media screen and (min-width: 990px) { .y-nav { display: flex; } }

.y-nav a,
.y-actions button,
.y-actions a {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(59, 43, 34, 0.78);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
}

.y-nav a[aria-current='page'] { color: var(--y-gold); }

.y-nav a:hover,
.y-actions button:hover,
.y-actions a:hover { color: var(--y-gold); }

.y-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.2rem, 1.6vw, 2.2rem);
}

.y-nav-toggle { display: inline-flex; }
@media screen and (min-width: 990px) { .y-nav-toggle { display: none; } }

.y-mobile-nav { display: grid; padding-bottom: 2rem; border-top: 1px solid var(--y-rule); }
.y-mobile-nav[hidden] { display: none; }

.y-mobile-nav a {
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  color: var(--y-ink);
  text-decoration: none;
  padding-block: 1rem;
  border-bottom: 1px solid var(--y-rule);
}

@media screen and (min-width: 990px) { .y-mobile-nav { display: none !important; } }

/* ------------------------------------------------------------------ hero

   White copy over a bright campaign shot is unreadable, and darkening the
   image to fix it would throw away the thing being sold. So the hero splits:
   a cream panel carries the words in ink — the same way the packaging does —
   and the photograph keeps its own light.
   -------------------------------------------------------------------------- */

.y-hero { background-color: var(--y-blush); }

.y-hero__grid { display: grid; }

@media screen and (min-width: 900px) {
  .y-hero__grid { grid-template-columns: 0.82fr 1fr; }
}

.y-hero__panel {
  order: 1;
  background-color: var(--y-stock);
  display: flex;
  align-items: center;
  padding: clamp(3.2rem, 5vw, 7rem) clamp(2rem, 4vw, 5.6rem);
}

.y-hero__copy { display: grid; gap: 1.6rem; justify-items: start; max-width: 42rem; }

.y-hero__copy h1 {
  font-size: clamp(3.2rem, 4.2vw, 5.6rem);
  line-height: 1.06;
  margin: 0;
  color: var(--y-ink);
}

.y-hero__copy p {
  margin: 0;
  font-size: clamp(1.55rem, 1.4vw, 1.8rem);
  line-height: 1.72;
  max-width: 36ch;
  color: rgba(59, 43, 34, 0.76);
}

.y-hero__price { font-size: 1.5rem; color: rgba(59, 43, 34, 0.66); }
.y-hero__price strong { color: var(--y-ink); font-weight: 500; }

.y-hero__media { position: relative; min-height: clamp(34rem, 52vh, 60rem); }

.y-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------- benefits strip */

.y-benefits {
  background-color: var(--y-white);
  border-block: 1px solid var(--y-rule);
}

.y-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--y-rule);
}

@media screen and (min-width: 750px) {
  .y-benefits ul { grid-template-columns: repeat(4, 1fr); }
}

.y-benefits li {
  background-color: var(--y-white);
  padding: 2rem 1.6rem;
  text-align: center;
  display: grid;
  gap: 0.5rem;
}

.y-benefits strong {
  font-family: var(--font-heading-family);
  font-weight: 400;
  font-size: 1.6rem;
}

.y-benefits span { font-size: 1.25rem; color: rgba(59, 43, 34, 0.6); }

/* --------------------------------------------------------- product cards */

.y-grid {
  display: grid;
  gap: clamp(2rem, 2.6vw, 3.6rem) clamp(1.4rem, 2vw, 2.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media screen and (min-width: 990px) {
  .y-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .y-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.y-card { display: grid; text-decoration: none; color: inherit; }

.y-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--y-blush);
}

.y-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) { .y-card:hover .y-card__media img { transform: scale(1.04); } }

.y-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: var(--y-gold);
  color: var(--y-white);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
}

.y-card__body { display: grid; gap: 0.5rem; padding-block: 1.4rem 0; }

.y-card__name {
  font-family: var(--font-heading-family);
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0;
}

.y-card:hover .y-card__name { color: var(--y-gold); }

.y-card__spec {
  font-size: 1.2rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(59, 43, 34, 0.52);
}

.y-price { display: flex; align-items: baseline; gap: 0.9rem; font-size: 1.55rem; }
.y-price s { color: rgba(59, 43, 34, 0.42); font-size: 1.3rem; }
.y-price strong { font-weight: 500; }

.y-card__add { margin-top: 0.9rem; }

/* ---------------------------------------------------------------- buttons */

.y-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 0 clamp(2.2rem, 2.4vw, 3.2rem);
  border: 1px solid var(--y-gold);
  border-radius: var(--buttons-radius);
  background-color: var(--y-gold);
  color: var(--y-white);
  font-family: var(--font-body-family);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}

.y-btn:hover { background-color: #966C36; border-color: #966C36; }

.y-btn--ghost {
  background-color: transparent;
  color: var(--y-ink);
  border-color: rgba(59, 43, 34, 0.35);
}

.y-btn--ghost:hover {
  background-color: var(--y-ink);
  border-color: var(--y-ink);
  color: var(--y-white);
}

.y-btn--light {
  background-color: var(--y-white);
  color: var(--y-ink);
  border-color: var(--y-white);
}

.y-btn--light:hover { background-color: var(--y-gold); color: var(--y-white); border-color: var(--y-gold); }

.y-btn--full { width: 100%; }
.y-btn--sm { min-height: 4.2rem; font-size: 1.15rem; }
.y-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ------------------------------------------------------------------ notes */

.y-notes {
  display: grid;
  gap: 1px;
  background-color: var(--y-rule);
  border: 1px solid var(--y-rule);
}

@media screen and (min-width: 750px) { .y-notes { grid-template-columns: repeat(3, 1fr); } }

.y-note {
  background-color: var(--y-white);
  padding: clamp(2.2rem, 2.6vw, 3.4rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.y-note h3 { font-family: var(--font-heading-family); font-size: 2rem; margin: 0; }
.y-note p { margin: 0; font-size: 1.5rem; line-height: 1.7; color: rgba(59, 43, 34, 0.72); }

/* --------------------------------------------------------- product layout */

.y-product { display: grid; gap: clamp(3rem, 4vw, 5.6rem); align-items: start; }

@media screen and (min-width: 990px) {
  .y-product { grid-template-columns: 1.1fr 1fr; }
  .y-product__info { position: sticky; top: 11rem; }
}

.y-gallery { display: grid; gap: 1rem; }

.y-gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--y-blush);
}

.y-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.y-gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; }

.y-gallery__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.y-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.y-gallery__thumb[aria-current='true'] { border-color: var(--y-gold); }

.y-sizes { display: flex; flex-wrap: wrap; gap: 1rem; }

.y-size {
  flex: 1 1 12rem;
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(59, 43, 34, 0.22);
  background-color: transparent;
  color: rgba(59, 43, 34, 0.8);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body-family);
}

.y-size strong { font-family: var(--font-heading-family); font-size: 1.8rem; font-weight: 400; }
.y-size span { font-size: 1.25rem; }
.y-size[aria-checked='true'] { border-color: var(--y-gold); background-color: rgba(176, 130, 74, 0.08); color: var(--y-ink); }

.y-qty { display: inline-flex; border: 1px solid rgba(59, 43, 34, 0.22); }
.y-qty button { width: 4.4rem; background: none; border: 0; font-size: 1.8rem; color: var(--y-ink); cursor: pointer; }
.y-qty button:hover { background-color: rgba(59, 43, 34, 0.06); }
.y-qty input {
  width: 5rem; border: 0; border-inline: 1px solid rgba(59, 43, 34, 0.22);
  background: none; text-align: center; font-family: var(--font-body-family);
  font-size: 1.5rem; color: var(--y-ink); -moz-appearance: textfield;
}
.y-qty input::-webkit-outer-spin-button,
.y-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.y-add { display: flex; gap: 1rem; flex-wrap: wrap; }

.y-acc { border-top: 1px solid var(--y-rule); }
.y-acc details { border-bottom: 1px solid var(--y-rule); }
.y-acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding-block: 1.7rem; cursor: pointer; list-style: none;
  font-family: var(--font-heading-family); font-size: 1.8rem;
}
.y-acc summary::-webkit-details-marker { display: none; }
.y-acc summary::after {
  content: ''; width: 1rem; height: 1rem; flex: 0 0 auto;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-25%); transition: transform 260ms ease;
}
.y-acc details[open] summary::after { transform: rotate(225deg) translateY(-25%); }
.y-acc__body { padding-bottom: 2.2rem; font-size: 1.48rem; line-height: 1.75; color: rgba(59, 43, 34, 0.74); max-width: 60ch; }

.y-specs { width: 100%; border-collapse: collapse; font-size: 1.42rem; }
.y-specs th, .y-specs td { text-align: left; padding: 1.1rem 0; border-bottom: 1px solid var(--y-rule); vertical-align: top; }
.y-specs th { width: 40%; font-weight: 400; color: rgba(59, 43, 34, 0.55); }

/* ----------------------------------------------------- anatomy sequence */

.y-seq { background-color: var(--y-deep); --y-header-h: 6.4rem; }

@media screen and (min-width: 990px) { .y-seq { --y-header-h: 6.9rem; } }

.y-seq__track { position: relative; height: 340vh; }

.y-seq__sticky {
  position: sticky;
  top: var(--y-header-h);
  height: calc(100vh - var(--y-header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.y-seq__inner { display: grid; gap: clamp(2rem, 4vw, 6rem); align-items: center; width: 100%; }

@media screen and (min-width: 750px) { .y-seq__inner { grid-template-columns: 1fr 0.85fr; } }

.y-seq__copy { display: grid; gap: 1.8rem; align-content: center; color: var(--y-stock); }
.y-seq__copy .y-tracked { color: rgba(245, 235, 225, 0.6); }
.y-seq__copy .y-body { color: rgba(245, 235, 225, 0.74); }

.y-seq__stage {
  position: relative;
  width: 100%;
  max-width: 40rem;
  aspect-ratio: 720 / 1280;
  margin-inline: auto;
  max-height: 74vh;
}

.y-seq__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.y-seq__frame[data-current='true'] { opacity: 1; }

.y-seq__caption { display: grid; gap: 0.5rem; min-height: 6.4rem; }
.y-seq__caption strong {
  font-family: var(--font-heading-family); font-weight: 400;
  font-size: clamp(1.9rem, 2.1vw, 2.4rem); color: var(--y-stock);
}

.y-seq__pips { display: flex; gap: 0.4rem; }
.y-seq__pip { height: 2px; flex: 1; background-color: rgba(245, 235, 225, 0.2); transition: background-color 260ms ease; }
.y-seq__pip[data-on='true'] { background-color: var(--y-gold-lt); }

@media screen and (max-width: 749px) {
  .y-seq__inner { gap: 1.4rem; }
  .y-seq__copy { gap: 1rem; }
  .y-seq__copy .y-body { display: none; }
  .y-seq__caption { min-height: 5rem; }
  .y-seq__stage { max-height: 44vh; }
}

@media (prefers-reduced-motion: reduce) {
  .y-seq__track { height: auto; }
  .y-seq__sticky { position: static; height: auto; padding-block: 7rem; }
  .y-seq__frame { position: relative; }
  .y-seq__frame:last-of-type { opacity: 1; }
}

/* ---------------------------------------------------------------- banner */

.y-banner { position: relative; display: grid; align-items: center; min-height: clamp(36rem, 46vw, 56rem); overflow: hidden; }
.y-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.y-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(58,40,30,0.6) 0%, rgba(58,40,30,0.15) 55%, rgba(58,40,30,0) 100%);
}
.y-banner__inner { position: relative; z-index: 2; }

.y-quote {
  font-family: var(--font-heading-family);
  font-size: clamp(2.2rem, 3vw, 4rem);
  line-height: 1.25;
  max-width: 26ch;
  margin: 0;
  color: var(--y-white);
}

/* --------------------------------------------------------------- reviews */

.y-reviews { display: grid; gap: 1px; background-color: var(--y-rule); border: 1px solid var(--y-rule); }
@media screen and (min-width: 750px) { .y-reviews { grid-template-columns: repeat(3, 1fr); } }

.y-review { background-color: var(--y-stock); padding: clamp(2.2rem, 2.6vw, 3.2rem); display: grid; gap: 1.1rem; align-content: start; }
.y-review p { margin: 0; font-size: 1.5rem; line-height: 1.72; color: rgba(59, 43, 34, 0.78); }
.y-review cite { font-style: normal; font-size: 1.25rem; letter-spacing: 0.08em; color: rgba(59, 43, 34, 0.5); }
.y-stars { color: var(--y-gold); letter-spacing: 0.24em; font-size: 1.2rem; }

/* ------------------------------------------------------------- gallery row */

.y-tiles { display: grid; gap: 1px; background-color: var(--y-rule); grid-template-columns: repeat(2, 1fr); }
@media screen and (min-width: 750px) { .y-tiles { grid-template-columns: repeat(4, 1fr); } }
.y-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.y-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(0.22,0.61,0.36,1); }
@media (hover: hover) { .y-tile:hover img { transform: scale(1.05); } }

/* ------------------------------------------------------------ newsletter */

.y-signup { display: grid; grid-template-columns: 1fr auto; max-width: 46rem; border: 1px solid rgba(59,43,34,0.22); }
.y-signup input { border: 0; background: none; padding: 1.5rem 1.6rem; font-family: var(--font-body-family); font-size: 1.45rem; color: inherit; min-width: 0; }
.y-signup input::placeholder { color: rgba(59,43,34,0.42); }
.y-signup button {
  border: 0; background-color: var(--y-gold); color: var(--y-white);
  font-family: var(--font-body-family); font-size: 1.15rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0 2.4rem; cursor: pointer;
}
.y-signup button:hover { background-color: #966C36; }

/* ----------------------------------------------------------------- forms */

.y-field { display: grid; gap: 0.7rem; }
.y-field label { font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(59,43,34,0.6); }
.y-field input, .y-field textarea, .y-field select {
  border: 1px solid rgba(59,43,34,0.22); border-radius: var(--inputs-radius);
  background-color: var(--y-white); padding: 1.3rem 1.5rem;
  font-family: var(--font-body-family); font-size: 1.45rem; color: var(--y-ink);
}
.y-field textarea { min-height: 13rem; resize: vertical; }

/* ------------------------------------------------------------ cart drawer */

.y-drawer { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto; pointer-events: none; visibility: hidden; }
.y-drawer[data-open='true'] { pointer-events: auto; visibility: visible; }
.y-drawer__scrim { background-color: rgba(42,30,24,0.55); opacity: 0; transition: opacity 340ms ease; border: 0; padding: 0; cursor: pointer; }
.y-drawer[data-open='true'] .y-drawer__scrim { opacity: 1; }
.y-drawer__panel {
  width: min(44rem, 100vw); display: grid; grid-template-rows: auto 1fr auto;
  background-color: var(--y-stock); transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.22,0.61,0.36,1);
}
.y-drawer[data-open='true'] .y-drawer__panel { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .y-drawer__panel, .y-drawer__scrim { transition: none; } }

.y-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 2.2rem clamp(1.8rem,2.2vw,2.8rem); border-bottom: 1px solid var(--y-rule); }
.y-drawer__body { overflow-y: auto; padding: 0 clamp(1.8rem,2.2vw,2.8rem); }
.y-drawer__foot { padding: 2.2rem clamp(1.8rem,2.2vw,2.8rem); border-top: 1px solid var(--y-rule); display: grid; gap: 1.4rem; }
.y-drawer__close { background: none; border: 0; font-size: 2.2rem; line-height: 1; cursor: pointer; color: var(--y-ink); }

.y-line { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1.4rem; padding-block: 1.8rem; border-bottom: 1px solid var(--y-rule); align-items: start; }
.y-line img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.y-line__name { font-family: var(--font-heading-family); font-size: 1.65rem; margin: 0 0 0.3rem; }
.y-line__remove { background: none; border: 0; padding: 0; margin-top: 0.8rem; font-size: 1.2rem; color: rgba(59,43,34,0.55); text-decoration: underline; text-underline-offset: 0.3rem; cursor: pointer; }
.y-line__remove:hover { color: var(--y-gold); }
.y-totals { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.45rem; }
.y-totals strong { font-family: var(--font-heading-family); font-size: 2.2rem; font-weight: 400; }
.y-empty { padding-block: 5rem; display: grid; gap: 1.4rem; justify-items: start; }

/* ---------------------------------------------------------------- footer */

.y-footer { background-color: var(--y-deep); color: var(--y-stock); padding-block: clamp(4.4rem,5.5vw,7rem) 2.8rem; }
.y-footer__grid { display: grid; gap: clamp(2.8rem,4vw,5.6rem); grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.y-footer h4 { font-family: var(--font-body-family); font-size: 1.15rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,235,225,0.5); margin: 0 0 1.4rem; }
.y-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.y-footer a { color: rgba(245,235,225,0.8); text-decoration: none; font-size: 1.42rem; }
.y-footer a:hover { color: var(--y-gold-lt); }
.y-footer .y-brand { color: var(--y-stock); }
.y-footer .y-brand__mark { color: var(--y-gold-lt); }
.y-footer__base { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; justify-content: space-between; margin-top: clamp(3.4rem,4.5vw,5.6rem); padding-top: 2.2rem; border-top: 1px solid var(--y-rule-ink); font-size: 1.2rem; color: rgba(245,235,225,0.5); }

/* -------------------------------------------------------------- utilities */

.y-toast {
  position: fixed; left: 50%; bottom: 2.8rem; transform: translate(-50%, 200%);
  z-index: 80; background-color: var(--y-deep); color: var(--y-stock);
  padding: 1.3rem 2.2rem; font-size: 1.35rem; max-width: calc(100vw - 3.2rem);
  transition: transform 420ms cubic-bezier(0.22,0.61,0.36,1);
}
.y-toast[data-show='true'] { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .y-toast { transition: none; } }

.y-note-bar { background-color: var(--y-gold); color: var(--y-white); text-align: center; padding: 0.9rem 1.6rem; font-size: 1.2rem; letter-spacing: 0.06em; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--y-gold);
  outline-offset: 3px;
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.y-no-scroll { overflow: hidden; }
