/* =========================================================
   Brembelle Bakes — "cozy homemade"
   Warm milky tones, rounded & arched shapes, a handwritten
   accent, soft diffuse shadows. Editorial bones, cottage heart.
   ========================================================= */

:root {
  /* Warm, milky palette */
  --paper:   #f8f1e3;
  --paper-2: #f1e5d0;
  --ink:     #43301f;   /* warm cocoa, softer than black */
  --ink-2:   #7a6553;
  --ink-3:   #a8927d;
  --accent:  #c07a4c;   /* soft caramel-terracotta */
  --accent-2:#b56a64;   /* dusty berry/rose */
  --line:    rgba(67, 48, 31, 0.13);
  --line-2:  rgba(67, 48, 31, 0.07);

  /* Soft tile backgrounds */
  --blush:  #f1d9cb;
  --butter: #f3e7c2;
  --sage:   #dde4ce;
  --clay:   #eed7c4;
  --oat:    #efe3cd;

  --font-display: "Fraunces", Georgia, serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --font-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 28px 56px -30px rgba(67, 48, 31, 0.4);
  --shadow-soft: 0 14px 34px -22px rgba(67, 48, 31, 0.34);

  /* hand-drawn wave (accent + cream variants) */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14' viewBox='0 0 60 14'%3E%3Cpath d='M2 7 q5.5-4 11 0 t11 0 11 0 11 0 11 0' fill='none' stroke='%23c07a4c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --wave-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14' viewBox='0 0 60 14'%3E%3Cpath d='M2 7 q5.5-4 11 0 t11 0 11 0 11 0 11 0' fill='none' stroke='%23f3e3c8' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(1rem, .97rem + .16vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
section[id] { scroll-margin-top: 96px; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 300; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 100px; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.06; letter-spacing: -.018em; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-hand); font-size: 1.4rem; font-weight: 600;
  letter-spacing: .01em; color: var(--accent); line-height: 1;
  display: inline-flex; flex-direction: column; gap: .35rem; margin-bottom: 1.2rem;
}
.eyebrow::after { content: ""; width: 52px; height: 12px; background: var(--wave) left center / contain no-repeat; }
.eyebrow--center { align-items: center; }
.eyebrow--light { color: #fbeede; }
.eyebrow--light::after { background-image: var(--wave-light); }

.tag {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .01em; color: var(--ink);
  background: rgba(255, 255, 255, .72); padding: .42rem .85rem; border-radius: 100px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .9rem; font-weight: 700;
  letter-spacing: .01em; padding: .95rem 1.7rem; border-radius: 100px;
  border: 2px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--sm { padding: .7rem 1.35rem; font-size: .82rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--cream { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn--cream:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--line-light { border-color: rgba(251,238,222,.65); color: var(--paper); }
.btn--line-light:hover { background: var(--paper); color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(248, 241, 227, .82); }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .55rem 0; font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.topbar__sep { color: var(--accent); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .35s, box-shadow .35s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(67,48,31,.5); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: 1.05rem; }

.brand { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .05rem; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1; }
.brand__tag { font-family: var(--font-hand); font-size: 1.05rem; color: var(--accent); line-height: 1; }

.nav ul { display: flex; align-items: center; gap: 1.9rem; }
.nav--left ul { justify-content: flex-start; }
.nav--right { display: flex; }
.nav--right ul { justify-content: flex-end; }
.nav__link { font-size: .98rem; font-weight: 600; color: var(--ink-2); position: relative; padding: .3rem 0; transition: color .25s; }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 34px; height: 9px; background: var(--wave) center / contain no-repeat; opacity: 0; transform: translate(-50%, 4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { opacity: 1; transform: translate(-50%, 0); }

.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 1.6rem; }
.cart-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.cart-btn:hover { background: var(--paper-2); }
.cart-btn__count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; border-radius: 100px; transform: scale(0); transition: transform .3s var(--ease); }
.cart-btn__count:not([data-count="0"]) { transform: scale(1); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; justify-content: center; align-items: center; }
.hamburger span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--paper); z-index: 200; padding: 5rem 2.2rem 2rem; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow); border-radius: 28px 0 0 28px; }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav .nav__link { display: block; padding: 1.1rem 0; font-size: 1.15rem; font-family: var(--font-display); }
.mobile-nav .nav__link::after { display: none; }
.mobile-nav__close { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 2rem; line-height: 1; color: var(--ink-2); }
.nav__cta { margin-top: 1.8rem; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(67,48,31,.42); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .4s; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(50,34,22,.32) 0%, rgba(50,34,22,0) 30%, rgba(50,34,22,.1) 52%, rgba(50,34,22,.72) 100%); }
.hero__content { padding-bottom: clamp(3rem, 2rem + 5vw, 6rem); padding-top: 7rem; color: var(--paper); max-width: 760px; }
.hero__title { font-size: clamp(3.6rem, 1.8rem + 8.6vw, 8.2rem); font-weight: 400; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 36px rgba(0,0,0,.22); }
.hero__title em { font-weight: 400; color: #fbeede; }
.hero__lede { font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem); max-width: 46ch; margin: 1.5rem 0 2.2rem; color: rgba(248,241,227,.94); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__scroll { position: absolute; right: max(1.25rem, calc((100vw - var(--container)) / 2)); bottom: clamp(3rem, 2rem + 5vw, 6rem); display: flex; flex-direction: column; align-items: center; gap: .7rem; font-family: var(--font-hand); font-size: 1.05rem; color: rgba(248,241,227,.9); writing-mode: vertical-rl; }
.hero__scroll-line { width: 2px; height: 44px; border-radius: 2px; background: rgba(248,241,227,.55); }
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- Ethos ---------- */
.ethos { padding-block: clamp(4rem, 3rem + 6vw, 8rem); position: relative; }
.ethos::before { content: ""; position: absolute; top: 12%; left: 50%; transform: translateX(-50%); width: 60vw; max-width: 720px; height: 320px; background: radial-gradient(ellipse, rgba(192,122,76,.14), transparent 70%); z-index: 0; }
.ethos__inner { max-width: 940px; margin-inline: auto; text-align: center; position: relative; }
.ethos__statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 1.1rem + 3vw, 3.3rem); line-height: 1.2; letter-spacing: -.015em; }
.ethos__statement em { color: var(--accent); }
.ethos__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; margin-top: 3rem; }
.ethos__points li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.ethos__num { font-family: var(--font-hand); font-size: 1.4rem; color: var(--accent); }

/* ---------- Section heads ---------- */
.menu, .flavors, .about, .gallery, .contact { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.flavors, .contact { background: var(--paper-2); }
.sec-head { max-width: 660px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.sec-head__title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 400; }
.sec-head__lede { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.08rem; }
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sec-head--split .sec-head__lede { max-width: 40ch; margin-top: 0; }
.sec-head__link { font-family: var(--font-hand); font-size: 1.3rem; color: var(--accent); white-space: nowrap; transition: color .25s; }
.sec-head__link:hover { color: var(--ink); }

/* ---------- Product tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { background: var(--oat); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.tile--blush { background: var(--blush); }
.tile--butter { background: var(--butter); }
.tile--sage { background: var(--sage); }
.tile--clay { background: var(--clay); }
.tile--oat { background: var(--oat); }
.tile--wide { grid-column: span 2; flex-direction: row; }
.tile--wide .tile__media { flex: 1 1 50%; }
.tile--wide .tile__body { flex: 1 1 50%; justify-content: center; }
.tile--reverse { flex-direction: row-reverse; }
.tile__media { overflow: hidden; padding: 1.1rem 1.1rem 0; }
.tile--wide .tile__media { padding: 1.3rem; display: flex; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border-radius: 18px; transition: transform .9s var(--ease); }
.tile--wide .tile__media img { aspect-ratio: auto; min-height: 290px; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; }
.tile__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.tile__price { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.tile__name { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); margin-bottom: .5rem; }
.tile__desc { color: var(--ink-2); font-size: .96rem; margin-bottom: 1.2rem; }
.tile__body .btn { align-self: flex-start; margin-top: auto; }

.tile--cta { background: var(--ink); color: var(--paper); }
.tile__body--center { justify-content: center; align-items: flex-start; height: 100%; padding: 2.2rem 1.7rem; }
.tile--cta .tile__name { color: #fff; }
.tile--cta .tile__desc { color: rgba(248,241,227,.78); }
.tile--cta .btn--line { border-color: rgba(248,241,227,.5); color: var(--paper); }
.tile--cta .btn--line:hover { background: var(--paper); color: var(--ink); }

/* ---------- Flavors rail (arched cards) ---------- */
.flavor-rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.1rem; }
.flavor { min-width: 0; }
.flavor__img { aspect-ratio: 3 / 4; border-radius: 130px 130px 20px 20px; overflow: hidden; background: var(--clay); box-shadow: var(--shadow-soft); }
.flavor__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.flavor:hover .flavor__img img { transform: scale(1.06); }
.flavor__img--note { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--font-hand); font-size: 1.7rem; text-align: center; line-height: 1.05; }
.flavor figcaption { margin-top: .9rem; font-size: .95rem; font-weight: 700; line-height: 1.25; display: flex; flex-direction: column; gap: .2rem; text-align: center; }
.flavor__no { font-family: var(--font-hand); font-size: 1.15rem; font-weight: 600; color: var(--accent); }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 26px 26px; box-shadow: var(--shadow); }
.about__caption { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.1rem; background: var(--paper); color: var(--accent); font-family: var(--font-hand); font-size: 1.15rem; padding: .4rem 1rem; border-radius: 100px; box-shadow: var(--shadow-soft); white-space: nowrap; }
.about__title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); margin-bottom: 1.6rem; }
.about__title em { color: var(--accent); }
.about__copy p { color: var(--ink-2); margin-bottom: 1.1rem; max-width: 52ch; }
.about__note { font-size: .98rem; color: var(--ink) !important; background: var(--paper-2); border-radius: 16px; padding: 1rem 1.2rem; }
.about__note-label { font-family: var(--font-hand); font-size: 1.2rem; color: var(--accent); margin-right: .5rem; }
.about__note b { color: var(--accent); }
.about__quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.65rem); line-height: 1.4; margin-top: 1.6rem; padding-left: 1.4rem; border-left: 3px solid var(--accent); color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 205px; gap: 1.1rem; }
.gallery__item { padding: 0; border-radius: 20px; overflow: hidden; position: relative; line-height: 0; background: var(--paper-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item::after { content: "♥"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: rgba(67,48,31,.32); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); margin-bottom: 1.2rem; }
.contact__title em { color: var(--accent); }
.contact__lede { color: var(--ink-2); margin-bottom: 2.4rem; max-width: 42ch; }
.contact__list { display: grid; gap: 1.3rem; }
.contact__list li { display: flex; flex-direction: column; gap: .25rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.contact__k { font-family: var(--font-hand); font-size: 1.15rem; color: var(--accent); }
.contact__list a, .contact__list li { font-size: 1.05rem; }
.contact__list a:hover { color: var(--accent); }

.order-form { background: var(--paper); padding: clamp(1.6rem, 1rem + 2vw, 2.5rem); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: .96rem; color: var(--ink); background: var(--paper-2); border: 2px solid transparent; border-radius: 14px; padding: .8rem .95rem; width: 100%; transition: border-color .25s, background .25s; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.field input:user-invalid { border-color: var(--accent-2); }
.order-form .btn { margin-top: .4rem; }
.order-form__hint { margin-top: .9rem; font-size: .82rem; color: var(--ink-3); text-align: center; }
.order-form__hint.is-error { color: var(--accent-2); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(248,241,227,.75); padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); border-radius: 40px 40px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer__name { font-family: var(--font-display); font-size: 1.8rem; color: var(--paper); }
.footer__tag { font-family: var(--font-hand); font-size: 1.25rem; color: rgba(248,241,227,.8); margin-top: .3rem; max-width: 26ch; }
.footer h3 { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .7rem; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--paper); }
.footer address { font-style: normal; line-height: 1.9; }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(248,241,227,.08); color: var(--paper); transition: background .25s, transform .25s; }
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(248,241,227,.12); padding-block: 1.4rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(248,241,227,.6); }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 250; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(67,48,31,.5); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow); border-radius: 28px 0 0 28px; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.55rem; }
.drawer__close { font-size: 1.9rem; line-height: 1; width: 40px; height: 40px; color: var(--ink-2); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer__empty { color: var(--ink-3); text-align: center; margin-top: 2rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-line__name { font-weight: 700; }
.cart-line__price { font-size: .82rem; color: var(--ink-2); }
.cart-line__qty { display: inline-flex; align-items: center; gap: .6rem; }
.cart-line__qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 800; transition: background .2s; }
.cart-line__qty button:hover { background: var(--accent); color: #fff; }
.cart-line__remove { grid-column: 2; font-size: .76rem; color: var(--ink-3); text-decoration: underline; }
.cart-line__remove:hover { color: var(--accent-2); }
.drawer__foot { padding: 1.3rem 1.5rem; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-family: var(--font-display); font-size: 1.7rem; }
.drawer__note { font-size: .72rem; color: var(--ink-3); margin: .4rem 0 1rem; line-height: 1.5; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 260; background: rgba(40,28,18,.93); display: none; place-items: center; padding: 5vw; }
.lightbox.is-open { display: grid; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 18px; animation: zoom .4s var(--ease); }
@keyframes zoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; background: rgba(255,255,255,.12); display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.lightbox__close { top: 4vw; right: 4vw; width: 46px; height: 46px; font-size: 1.7rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.9rem; }
.lightbox__nav--prev { left: 3vw; } .lightbox__nav--next { right: 3vw; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 1.6rem; left: 50%; transform: translate(-50%, 200%); background: var(--ink); color: var(--paper); padding: .85rem 1.5rem; border-radius: 100px; font-size: .92rem; font-weight: 600; z-index: 270; pointer-events: none; transition: transform .45s var(--ease); display: inline-flex; gap: .5rem; box-shadow: var(--shadow); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast::before { content: "♥"; color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
  .flavor-rail { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav--left, .nav--right { display: none; }
  .hamburger { display: flex; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .brand { align-items: flex-start; }
  .header__right { gap: .4rem; }
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; flex-direction: column; }
  .tile--reverse { flex-direction: column; }
  .tile--wide .tile__media img { min-height: 0; aspect-ratio: 4 / 3; }
  .flavor-rail { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .ethos__points { flex-direction: column; align-items: center; gap: .8rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
