/* ============================================================
   By George Coffee — styles
   Palette: brand red #FF2D2D on cream #FFF8E1
   ============================================================ */

:root {
  --red: #FF2D2D;
  --red-deep: #E01F1F;
  --red-dark: #C21414;
  --cream: #FFF8E1;
  --cream-2: #FBEFCE;
  --white: #FFFFFF;
  --ink: #33221B;
  --ink-soft: #6E5A50;
  --pink: #F6C9C4;
  --shadow-sm: 0 2px 10px rgba(51, 34, 27, 0.08);
  --shadow-md: 0 10px 30px rgba(51, 34, 27, 0.12);
  --shadow-lg: 0 20px 50px rgba(51, 34, 27, 0.18);
  --radius: 22px;
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --nav-h: 76px;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* prevent intrinsic image widths from blowing out grid/flex tracks */
.hero__inner > *,
.menu__grid > *,
.menu__col > *,
.retail__inner > *,
.inquiries__inner > *,
.staples__grid > *,
.retail__grid > * { min-width: 0; }

a { color: var(--red); }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

::selection { background: var(--red); color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: 2.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--red {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red-dark);
}
.btn--red:hover { background: var(--red-deep); }

.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover { background: var(--red); color: var(--cream); }

.btn--cream {
  background: var(--cream);
  color: var(--red);
  border-color: var(--red-dark);
}
.btn--cream:hover { background: var(--white); }

.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--outline-cream:hover { background: var(--cream); color: var(--red); }

.btn--small { padding: 10px 22px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ---------- Social buttons ---------- */
.social-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  transition: transform 0.25s var(--ease-pop), background 0.25s ease, color 0.25s ease;
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:hover { transform: translateY(-4px) rotate(-6deg) scale(1.08); background: var(--red-deep); }
.social-btn--cream { background: var(--cream); color: var(--red); }
.social-btn--cream:hover { background: var(--white); }

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  text-align: center;
  line-height: 1.1;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 12px;
  margin: 14px auto 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 12'%3E%3Cpath d='M2 8 Q 10 2 18 8 T 34 8 T 50 8 T 66 8 T 82 8 T 98 8 T 110 8' fill='none' stroke='%23FF2D2D' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.section-title--cream { color: var(--cream); }
.section-title--cream::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 12'%3E%3Cpath d='M2 8 Q 10 2 18 8 T 34 8 T 50 8 T 66 8 T 82 8 T 98 8 T 110 8' fill='none' stroke='%23FFF8E1' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 4px; }

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Waves ---------- */
.wave { line-height: 0; position: relative; z-index: 2; }
.wave svg { width: 100%; height: 42px; display: block; }
/* bleed waves 1px over the section seam: kills hairline red lines on
   high-density mobile screens (parent rotation flips the direction) */
.wave--white-to-red svg,
.wave--cream-to-red svg,
.wave--red-to-cream svg { transform: translateY(1px); }
.wave--cream-to-white svg path { fill: var(--white); }
.wave--white-to-red { transform: rotate(180deg); }
.wave--white-to-red svg path { fill: var(--white); }
.wave--red-to-cream svg path { fill: var(--cream); }
.wave--cream-to-red { transform: rotate(180deg); }
.wave--cream-to-red svg path { fill: var(--cream); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-pop);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.22s; }
.reveal[data-delay="3"] { transition-delay: 0.34s; }
.reveal[data-delay="4"] { transition-delay: 0.46s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 248, 225, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-md); background: rgba(255, 248, 225, 0.97); }

.nav__inner {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__mascot { height: 44px; width: auto; transition: transform 0.3s var(--ease-pop); }
.nav__brand:hover .nav__mascot { transform: rotate(-8deg) scale(1.1); }
.nav__logo { height: 34px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-pop);
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
}
.nav__burger span {
  display: block;
  height: 3.5px;
  width: 100%;
  border-radius: 3px;
  background: var(--red);
  transition: transform 0.35s var(--ease-pop), opacity 0.25s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__links { gap: 18px; }
}

@media (max-width: 880px) {
  .nav__burger { display: flex; }
  .nav__burger:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 12px; }
  .nav__burger:focus:not(:focus-visible) { outline: none; }
  /* .nav's backdrop-filter makes it the containing block for fixed children,
     so anchor the overlay absolutely to the (full-width, top-fixed) nav instead */
  .nav__links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 101;
  }
  .nav__links::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image: url("assets/brand/mascot-red.png");
    background-size: 110px auto;
    background-repeat: space;
    opacity: 0.05;
    transform: rotate(-6deg);
    pointer-events: none;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__link { font-size: 1.5rem; opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.4s var(--ease-pop), color 0.2s ease; }
  .nav__links.is-open .nav__link { opacity: 1; transform: translateY(0); }
  .nav__links.is-open .nav__link:nth-child(1) { transition-delay: 0.05s; }
  .nav__links.is-open .nav__link:nth-child(2) { transition-delay: 0.1s; }
  .nav__links.is-open .nav__link:nth-child(3) { transition-delay: 0.15s; }
  .nav__links.is-open .nav__link:nth-child(4) { transition-delay: 0.2s; }
  .nav__links.is-open .nav__link:nth-child(5) { transition-delay: 0.25s; }
  .nav__links.is-open .nav__link:nth-child(6) { transition-delay: 0.3s; }
  .nav__cta { opacity: 0; transition-delay: 0.35s !important; }
  .nav__links.is-open .nav__cta { opacity: 1; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cream);
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: -10%;
  background-image: url("assets/brand/mascot-red.png");
  background-size: 110px auto;
  background-repeat: space;
  opacity: 0.05;
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, 100% - 48px);
  margin: auto;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero__logo {
  width: min(460px, 90%);
  height: auto;
}

.hero__tag {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 22px;
}
.hero__tag strong { color: var(--ink); }

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero__delivery {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero__delivery-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.hero__delivery-badge {
  height: 42px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-pop);
}
.hero__delivery-badge:hover { transform: translateY(-3px) scale(1.05); }

.hero__socials { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.hero__review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.25s var(--ease-pop);
}
.hero__review-stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 2px;
}
.hero__review:hover { color: var(--red); transform: translateY(-2px); }

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__blob {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  background: var(--red);
  opacity: 0.1;
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  animation: blobMorph 12s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 45% 55% 44% 56% / 55% 45% 58% 42%; transform: rotate(8deg) scale(1.06); }
}
.hero__shake {
  position: relative;
  width: min(420px, 88%);
  filter: drop-shadow(0 24px 40px rgba(51, 34, 27, 0.25));
  border-radius: 26px;
  animation: heroFloat 5.5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-16px) rotate(1.2deg); }
}
@keyframes mascotBob {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-8px); }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  animation: scrollNudge 2s ease-in-out infinite;
}
.hero__scroll svg { width: 26px; height: 26px; }
@keyframes scrollNudge {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 0.6; }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--nav-h) + 28px); gap: 0; }
  /* flatten the copy wrapper so the image can slot between the buttons:
     logo → tag → ctas → socials → image → review → delivery */
  .hero__copy { display: contents; }
  .hero__logo { order: 1; margin-inline: auto; }
  .hero__tag { order: 2; margin-inline: auto; }
  .hero__ctas { order: 3; }
  .hero__socials { order: 4; }
  .hero__art { order: 5; margin-top: 34px; }
  .hero__review { order: 6; margin-top: 30px; justify-content: center; }
  .hero__delivery { order: 7; margin-top: 20px; }
  .hero__ctas, .hero__delivery, .hero__socials { justify-content: center; }
  .hero__shake { width: min(320px, 76%); }
  .hero__scroll { display: none; }
}

/* ============================================================
   STAPLES
   ============================================================ */
.staples {
  background: var(--white);
  padding: 90px 0 110px;
}

.staples__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.staple-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0 28px 34px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-pop), box-shadow 0.35s ease;
}
.staple-card:hover { transform: translateY(-10px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }
.staple-card:nth-child(2):hover { transform: translateY(-10px) rotate(0.6deg); }

.staple-card__img-wrap {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -36px;
}
.staple-card__img-wrap img {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 14px 20px rgba(51, 34, 27, 0.18));
  transition: transform 0.4s var(--ease-pop);
}
.staple-card:hover .staple-card__img-wrap img { transform: scale(1.08) rotate(2deg); }

.staple-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  margin: 18px 0 10px;
}
.staple-card p { color: var(--ink-soft); font-size: 0.98rem; }
.staple-card a { font-weight: 600; }

@media (max-width: 880px) {
  .staples__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 56px; }
}

/* ============================================================
   RED BAND / GALLERY
   ============================================================ */
.redband {
  background: var(--red);
  padding-bottom: 0;
  position: relative;
}

.marquee {
  overflow: hidden;
  padding: 34px 0 10px;
  user-select: none;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee__track span {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
  padding-right: 20px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.redband__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 34px 0 30px;
}
.redband__handle a {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 800;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 4px solid rgba(255, 248, 225, 0.4);
  transition: border-color 0.25s ease;
}
.redband__handle a:hover { border-color: var(--cream); }
.redband__socials { display: flex; gap: 12px; }

.gallery-marquee {
  overflow: hidden;
  padding: 10px 0 70px;
}
.gallery-marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 55s linear infinite;
}
.gallery-marquee:hover .gallery-marquee__track { animation-play-state: paused; }

.polaroid {
  /* margin instead of track gap so the -50% loop point is exact (no seam jump) */
  margin-right: 26px;
  background: var(--cream);
  padding: 10px 10px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s var(--ease-pop);
  flex-shrink: 0;
}
.polaroid img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}
.polaroid:nth-child(odd)  { transform: rotate(-2.2deg); }
.polaroid:nth-child(even) { transform: rotate(1.8deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.07) translateY(-6px); z-index: 2; }

@media (max-width: 600px) {
  .polaroid img { width: 170px; height: 170px; }
  .polaroid { margin-right: 20px; }
  .redband__head { justify-content: center; text-align: center; }
}

/* ============================================================
   MENU
   ============================================================ */
.menu { background: var(--cream); padding: 90px 0 60px; }

.menu__badge {
  height: 30px;
  width: auto;
  display: inline-block;
  border-radius: 7px;
  vertical-align: middle;
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 56px;
  align-items: start;
}
.menu__grid--bevvies { margin-top: 56px; }

.menu__col { display: flex; flex-direction: column; gap: 34px; }

.menu-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 34px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.menu-block:hover { box-shadow: var(--shadow-md); }

.menu-block__title {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 3px dashed rgba(255, 45, 45, 0.25);
}

.menu-item { padding: 9px 0; }
.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu-item__name {
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.menu-item__name small { font-weight: 500; text-transform: none; color: var(--ink-soft); }
.menu-item__dots {
  flex: 1;
  border-bottom: 2px dotted rgba(51, 34, 27, 0.3);
  transform: translateY(-4px);
  min-width: 20px;
}
.menu-item__price {
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}
.menu-item__price small { font-weight: 500; color: var(--ink-soft); font-size: 0.75em; }
.menu-item__desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 3px;
  max-width: 56ch;
}

.menu-block--addons .addons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.addons span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--cream);
  border: 2px solid rgba(255, 45, 45, 0.25);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 10px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-pop);
}
.addons span b { font-weight: 800; color: var(--red); }
.addons span:hover { border-color: var(--red); transform: translateY(-2px); }

.menu-block--mascot,
.menu-block--pour {
  background: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  padding: 10px;
}
.menu-block--mascot:hover, .menu-block--pour:hover { box-shadow: none; }
.menu__mascot {
  width: 200px;
  animation: mascotBob 4.5s ease-in-out infinite;
}
.menu__pour {
  width: 240px;
  filter: drop-shadow(0 16px 24px rgba(51, 34, 27, 0.18));
  border-radius: 18px;
}

.section-title--bevvies { margin-top: 80px; }

.menu__note {
  text-align: center;
  margin: 54px auto 0;
  font-weight: 600;
  color: var(--red-dark);
  background: rgba(255, 45, 45, 0.08);
  border: 2px dashed rgba(255, 45, 45, 0.35);
  border-radius: 14px;
  padding: 14px 26px;
  width: fit-content;
}

@media (max-width: 880px) {
  .menu__grid { grid-template-columns: 1fr; }
  .menu-block { padding: 26px 22px 20px; }
}

/* ============================================================
   RETAIL
   ============================================================ */
.retail { background: var(--red); position: relative; }

.retail__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 54px;
  padding: 70px 0 90px;
  align-items: start;
  transition: grid-template-columns 0.4s var(--ease-pop);
}
/* The receipt doubles as the product viewer, so it grows when one is open. */
.retail__inner.is-detail { grid-template-columns: 430px 1fr; }

.receipt {
  background: var(--white);
  padding: 30px 26px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-lg);
  /* zig-zag receipt edges */
  clip-path: polygon(
    0% 1.5%, 4% 0%, 8% 1.5%, 12% 0%, 16% 1.5%, 20% 0%, 24% 1.5%, 28% 0%, 32% 1.5%, 36% 0%,
    40% 1.5%, 44% 0%, 48% 1.5%, 52% 0%, 56% 1.5%, 60% 0%, 64% 1.5%, 68% 0%, 72% 1.5%, 76% 0%,
    80% 1.5%, 84% 0%, 88% 1.5%, 92% 0%, 96% 1.5%, 100% 0%,
    100% 98.5%, 96% 100%, 92% 98.5%, 88% 100%, 84% 98.5%, 80% 100%, 76% 98.5%, 72% 100%,
    68% 98.5%, 64% 100%, 60% 98.5%, 56% 100%, 52% 98.5%, 48% 100%, 44% 98.5%, 40% 100%,
    36% 98.5%, 32% 100%, 28% 98.5%, 24% 100%, 20% 98.5%, 16% 100%, 12% 98.5%, 8% 100%, 4% 98.5%, 0% 100%
  );
  transition: transform 0.35s var(--ease-pop);
}
.receipt:hover { transform: rotate(0deg) scale(1.02); }
/* Straighten up and stop wobbling once it is being read rather than admired. */
.receipt.is-detail,
.receipt.is-detail:hover { transform: rotate(0deg); }
.receipt.is-detail { padding: 26px 24px 30px; }
/* A tall product does not push its Add to cart button off a short screen. */
@media (min-width: 881px) {
  .receipt.is-detail { max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; }
}
.receipt__logo { width: 150px; margin: 4px auto 18px; }
.receipt__stamp {
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 10px;
  padding: 8px 12px;
  transform: rotate(-1.5deg);
  margin-bottom: 20px;
}
.receipt__lines { font-size: 0.9rem; border-top: 2px dashed #ccc; padding-top: 14px; }
.receipt__lines div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-weight: 600;
  color: var(--ink-soft);
}
.receipt__lines div span:last-child { color: var(--ink); }
.receipt__footer {
  border-top: 2px dashed #ccc;
  margin-top: 14px;
  padding-top: 14px;
  font-size: 0.78rem;
  text-align: center;
  color: var(--ink-soft);
}
.receipt__hint {
  margin-top: 14px;
  font-size: 0.78rem;
  text-align: center;
  color: var(--red);
  font-weight: 600;
}

/* ---- Receipt as product viewer ---- */
.receipt__back {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: none; cursor: pointer; padding: 0 0 14px;
  font: 700 0.8rem var(--font); color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.2s ease;
}
.receipt__back:hover { color: var(--red); }
.receipt__back svg { width: 15px; height: 15px; }

.receipt__gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 1;
  margin-bottom: 18px;
}
.receipt__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.receipt__gallery.is-soldout img { filter: grayscale(0.55); opacity: 0.8; }
.receipt__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s var(--ease-pop);
}
.receipt__nav:hover { background: var(--red); color: var(--white); transform: translateY(-50%) scale(1.08); }
.receipt__nav svg { width: 18px; height: 18px; }
.receipt__nav--prev { left: 10px; }
.receipt__nav--next { right: 10px; }
.receipt__count {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(51, 34, 27, 0.72); color: var(--white);
  font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 3px 10px;
}
.receipt__desc { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }
.receipt__detail .size-pills { margin: 14px 0 4px; }
.receipt__stock { font-size: 0.78rem; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.receipt__detail .btn { margin-top: 12px; }
.receipt__instore {
  margin-top: 14px; text-align: center;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--cream-2); color: var(--ink-soft); border-radius: 999px; padding: 9px 14px;
}

.retail__products .section-title { text-align: left; }
.retail__products .section-title::after { margin-left: 4px; }

.retail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.product-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 22px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s var(--ease-pop), box-shadow 0.35s ease;
}
.product-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
/* Every catalog photo is now a square packshot, so the box is square too and the
   product fills the card instead of sitting in a 130px letterbox. */
.product-card__img {
  position: relative;
  aspect-ratio: 1;
  /* Two columns on a tablet make a card wide enough that a square photo would be
     taller than the rest of the card put together. */
  max-height: 240px;
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s var(--ease-pop), opacity 0.3s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.08) rotate(2deg); }
/* Back print sits over the front shot and cross-fades on hover. Scoped to --flip,
   which shop.js only adds when a second photo exists: fading the front out of a
   one-photo card left an empty frame. */
.product-card__back { position: absolute; inset: 0; opacity: 0; }
.product-card--flip:hover .product-card__back { opacity: 1; }
.product-card--flip:hover .product-card__front { opacity: 0; }

.product-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); line-height: 1.3; text-wrap: balance; }
.product-card__title {
  border: none; background: none; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: center;
  transition: color 0.2s ease;
}
.product-card__title:hover { color: var(--red); }
/* The description lives in the receipt viewer, not on the card: at two columns on a
   phone it ran longer than everything else on the card put together. */

.retail__shipping {
  color: var(--pink);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Small print, but on the page rather than buried in the footer: someone choosing
   between seventeen colours should read it beside the photos it is about. */
.retail__disclaimer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 225, 0.22);
  color: var(--pink);
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 66ch;
}

@media (max-width: 1020px) {
  .retail__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Two columns on a phone is about 160px a card. Everything on it has to give back
   some room, or the tile is all padding and wrapped words. */
@media (max-width: 600px) {
  .retail__grid { gap: 14px; margin-top: 32px; }
  .product-card { padding: 14px 10px 14px; border-radius: 14px; }
  .product-card h4 { font-size: 0.86rem; }
  .product-card__price { font-size: 1rem; }
  .product-card .size-pills { gap: 6px; margin: 10px 0; }
  .product-card .size-pill,
  .product-card .size-more { min-width: 32px; padding: 5px 8px; font-size: 0.72rem; border-width: 2px; }
}
@media (max-width: 880px) {
  .retail__inner,
  .retail__inner.is-detail { grid-template-columns: 1fr; }
  .receipt { position: relative; top: 0; max-width: 320px; margin-inline: auto; }
  .receipt.is-detail { max-width: 420px; }
  .retail__products .section-title { text-align: center; }
  .retail__products .section-title::after { margin-inline: auto; }
  .retail__shipping { text-align: center; }
  .retail__disclaimer { text-align: center; margin-inline: auto; }
}

/* ============================================================
   INQUIRIES
   ============================================================ */
.inquiries { background: var(--cream); padding: 100px 0; }

.inquiries__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.inquiries__copy p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 20px; max-width: 40ch; }

.inquiries__contacts { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.inquiries__contacts li { display: flex; align-items: flex-start; gap: 14px; font-weight: 600; }
.inquiries__contacts svg { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.inquiries__contacts a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.inquiries__contacts a:hover { color: var(--red); }

.inquiries__mascot { width: 150px; margin-top: 36px; animation: mascotBob 5s ease-in-out infinite; }

.inquiry-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.inquiry-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  line-height: 1.5;
}
.field textarea { resize: vertical; }
/* iOS gives date inputs an intrinsic width and their own inner padding, which made
   this one taller and wider than the fields beside it. */
.field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  min-height: 0;
  text-align: left;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: #B4A79A; }

.inquiry-form__status { margin-top: 14px; font-weight: 600; text-align: center; min-height: 1.4em; }
.inquiry-form__status.is-success { color: #1B8A3C; }
.inquiry-form__status.is-error { color: var(--red-dark); }

@media (max-width: 880px) {
  .inquiries__inner { grid-template-columns: 1fr; gap: 40px; }
  .inquiries__copy { text-align: center; }
  /* --left sets text-align on the heading itself, so inheriting centre from the
     column never reaches it. The squiggle was centring while the words stayed left. */
  .inquiries__copy .section-title--left { text-align: center; }
  .inquiries__copy .section-title--left::after { margin-inline: auto; }
  .inquiries__copy p { margin-inline: auto; }
  .inquiries__contacts li { justify-content: center; text-align: left; }
  .inquiries__mascot { margin-inline: auto; }
  .inquiry-form { padding: 28px 22px; }
  .inquiry-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   CONTACT / MAP
   ============================================================ */
.contact__map-wrap {
  position: relative;
  height: 460px;
}
.contact__map-wrap iframe {
  width: 100%;
  height: 100%;
  filter: saturate(0.9);
}

.hours-card {
  position: absolute;
  top: 50%;
  right: max(6vw, 40px);
  transform: translateY(-50%);
  background: var(--red);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-lg);
  width: 300px;
}
.hours-card.reveal { transform: translateY(calc(-50% + 34px)); }
.hours-card.reveal.is-visible { transform: translateY(-50%); }
.hours-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hours-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 248, 225, 0.35);
  font-size: 0.95rem;
}
.hours-card dt { font-weight: 700; }
.hours-card dd { text-align: right; }
.hours-card .btn { margin-top: 20px; width: 100%; }
.hours-card .btn + .btn { margin-top: 10px; }

.contact__strip {
  background: var(--cream);
  text-align: center;
  padding: 22px 24px;
  font-weight: 600;
}
.contact__strip a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.contact__strip a:hover { color: var(--red); }

@media (max-width: 700px) {
  .contact__map-wrap { height: auto; }
  .contact__map-wrap iframe { height: 320px; }
  .hours-card {
    position: relative;
    top: 0; right: 0;
    transform: none;
    width: calc(100% - 48px);
    margin: -60px auto 30px;
  }
  .hours-card.reveal { transform: translateY(34px); }
  .hours-card.reveal.is-visible { transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--red);
  color: var(--cream);
  padding: 60px 0 30px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__logo { height: 60px; width: auto; }
.footer__mascot { height: 74px; width: auto; animation: mascotBob 5s ease-in-out infinite; }

.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-pop);
}
.footer__links a:hover { opacity: 1; transform: translateY(-2px); }

.footer__socials { display: flex; gap: 12px; }

.footer__copyright {
  text-align: center;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 225, 0.25);
  font-size: 0.9rem;
  opacity: 0.85;
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 880px) {
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ---------- Mobile rhythm ---------- */
@media (max-width: 600px) {
  .staples { padding: 70px 0 84px; }
  .menu { padding: 70px 0 50px; }
  .inquiries { padding: 76px 0; }
  .section-title--bevvies { margin-top: 60px; }
  .footer { padding: 48px 0 26px; }
}

/* ---------- Back to top ---------- */
/* ============================================================
   Shop — groups, merch cards, size pills
   ============================================================ */
.shop-group { margin-top: 34px; }
.shop-group__title {
  font-size: 1.35rem; font-weight: 800; color: var(--cream);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.shop-group__sub { color: var(--pink); font-size: 0.9rem; margin: 2px 0 16px; }

/* Apparel gets square photos that fill the frame; pantry cut-outs stay contained. */
/* Merch is shot edge to edge, so it crops; pantry packshots sit on their own ground
   and would lose the bottle cap or the lid to a crop. */
.product-card--merch .product-card__img img { object-fit: cover; }
.product-card__ribbon {
  position: absolute; top: 12px; left: -34px; transform: rotate(-35deg);
  background: var(--ink); color: var(--cream); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 40px; pointer-events: none;
}
/* Dim a sold-out photo with the filter only. Setting opacity on the shared `img`
   out-specifies .product-card__back's opacity:0, which paints the hover image over the
   front permanently — a sold-out tee was showing its back print at rest. The front/back
   swap therefore has to be restated at this specificity. */
.product-card.is-soldout .product-card__img img { filter: grayscale(0.55); }
.product-card.is-soldout .product-card__front { opacity: 0.75; }
.product-card.is-soldout .product-card__back { opacity: 0; }
.product-card.is-soldout.product-card--flip:hover .product-card__front { opacity: 0; }
.product-card.is-soldout.product-card--flip:hover .product-card__back { opacity: 0.75; }
/* Centred, not space-between: the row holds one child, so space-between parked the
   price hard left while the name above it sat centred. */
.product-card__row { display: flex; align-items: center; justify-content: center; margin-top: 6px; }
.product-card__price { font-weight: 800; color: var(--red); font-size: 1.12rem; line-height: 1.2; }
.product-card__chip {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--cream-2); color: var(--ink-soft); border-radius: 999px; padding: 6px 12px;
  margin-top: auto; align-self: center;
}
.size-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.product-card .size-pills { justify-content: center; }
.size-pill {
  min-width: 40px; padding: 6px 10px; border-radius: 999px; border: 2px solid var(--cream-2);
  background: var(--white); color: var(--ink); font: 700 0.82rem var(--font); cursor: pointer;
  transition: all 0.18s var(--ease-pop);
}
.size-pill:hover:not(:disabled) { border-color: var(--red); transform: translateY(-2px); }
.size-pill.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.size-pill:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
/* Reads as a pill so the row stays even, but it opens the product rather than picking. */
.size-more {
  min-width: 40px; padding: 6px 10px; border-radius: 999px; border: 2px dashed var(--cream-2);
  background: transparent; color: var(--ink-soft); font: 700 0.82rem var(--font); cursor: pointer;
  transition: all 0.18s var(--ease-pop);
}
.size-more:hover { border-color: var(--red); color: var(--red); }
.product-card__add { margin-top: auto; width: 100%; justify-content: center; }
.product-card__add:disabled { opacity: 0.55; cursor: not-allowed; }

/* ============================================================
   Merch By George (under hero)
   ============================================================ */
.merch { background: var(--white); padding: 84px 0 96px; }
.merch__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

/* Two shots, offset, with a tinted card peeking out behind the pair. */
.merch__art { position: relative; display: flex; gap: 18px; padding: 56px 32px 32px 56px; }
.merch__frame {
  position: absolute;
  inset: 0;
  background: var(--cream-2);
  border-radius: 8px;
}
.merch__photo {
  position: relative;
  width: 50%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.merch__photo--a { margin-top: 34px; }
.merch__photo--b { aspect-ratio: 3 / 4.5; }

.merch__copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 46ch;
}
.merch__cta { margin-top: 30px; }

@media (max-width: 900px) {
  .merch__inner { grid-template-columns: 1fr; gap: 44px; }
  .merch__art { max-width: 460px; margin-inline: auto; padding: 38px 22px 22px 38px; }
  .merch__copy { text-align: center; }
  .merch__copy .section-title--left { text-align: center; }
  .merch__copy .section-title::after { margin-inline: auto; }
  .merch__copy p { margin-inline: auto; }
}


/* ============================================================
   Cart FAB, drawer, toast
   ============================================================ */
/* Cream disc, red line work. It sits over cream and red sections in turn, so the
   outline is what keeps it readable on both rather than a solid fill that vanishes
   into one of them. The back-to-top button used to sit under this; with that gone
   the cart drops into the corner on its own. */
.cart-fab {
  position: fixed; right: 24px; bottom: 26px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: var(--cream); color: var(--red); border: 2.5px solid var(--red);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: transform 0.2s var(--ease-pop), background 0.2s ease, color 0.2s ease;
}
.cart-fab:hover { transform: scale(1.08); background: var(--red); color: var(--cream); }
.cart-fab svg { width: 24px; height: 24px; }
/* `has-items` was being toggled in shop.js with nothing listening, so an empty cart
   still wore a "0". The badge now appears only when there is something in it. */
.cart-fab__count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 999px;
  background: var(--red); color: var(--cream); font: 700 0.72rem/22px var(--font); text-align: center; padding: 0 5px;
  border: 2px solid var(--cream); opacity: 0; transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-pop);
}
.cart-fab.has-items .cart-fab__count { opacity: 1; transform: none; }
.cart-fab:hover .cart-fab__count { background: var(--ink); border-color: var(--red); }
.cart-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.cart-drawer__overlay {
  position: absolute; inset: 0; background: rgba(51, 34, 27, 0.45); opacity: 0; transition: opacity 0.25s;
}
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 92vw);
  background: var(--white); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.3s var(--ease-pop);
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 2px solid var(--cream-2);
}
.cart-drawer__head h3 { font-size: 1.15rem; font-weight: 800; }
.cart-drawer__close { border: none; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.cart-drawer__items { list-style: none; flex: 1; overflow-y: auto; padding: 14px 22px; }
.cart-drawer__empty { color: var(--ink-soft); padding: 22px 0; text-align: center; }
/* position: relative so the remove button can sit in the line's top-right corner
   rather than pushing the name and price around. */
.cart-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--cream-2); position: relative; }
.cart-item__remove {
  position: absolute; top: 12px; right: 0; width: 26px; height: 26px; border-radius: 50%;
  border: none; background: none; color: var(--ink-soft); cursor: pointer; line-height: 1;
  display: grid; place-items: center;
}
.cart-item__remove svg { width: 15px; height: 15px; }
.cart-item__remove:hover { background: var(--cream-2); color: var(--red); }
.cart-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; padding-right: 30px; }
.cart-item__info span { color: var(--ink-soft); font-size: 0.82rem; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-item__qty button {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cream-2); background: var(--white);
  font-weight: 700; cursor: pointer; line-height: 1;
}
.cart-item__qty button:hover { border-color: var(--red); color: var(--red); }
.cart-drawer__foot { padding: 18px 22px 24px; border-top: 2px solid var(--cream-2); }
.cart-drawer__total { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: 4px; }
.cart-drawer__ship { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 14px; }
.cart-drawer__total strong { color: var(--red); font-weight: 800; }
.cart-drawer__status { min-height: 1.2em; margin-top: 10px; font-size: 0.85rem; color: var(--red-dark); }
/* Post-checkout confirmation. This used to be a toast that vanished after five
   seconds, which is too easy to miss for the one screen that tells someone their
   money went somewhere. Now it is a plain white box they have to dismiss. */
.confirm-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
/* An author `display` beats the UA sheet's [hidden] rule at any specificity, so
   without this the dismissed overlay stays laid out over the whole page and quietly
   swallows every click on the site. */
.confirm-overlay[hidden] { display: none; }
.confirm-overlay__backdrop { position: absolute; inset: 0; background: rgba(51, 34, 27, 0.55); }
.confirm-box {
  position: relative; width: min(430px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 32px 28px 26px; text-align: center;
  box-shadow: 0 30px 70px rgba(51, 34, 27, 0.35);
  animation: confirm-pop 0.34s var(--ease-pop) both;
}
@keyframes confirm-pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.confirm-box__close {
  position: absolute; top: 12px; right: 14px; border: none; background: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft); padding: 4px 8px; border-radius: 50%;
}
.confirm-box__close:hover { background: var(--cream-2); color: var(--ink); }
.confirm-box__tick { width: 68px; height: 68px; margin: 0 auto 16px; }
.confirm-box__tick svg { width: 100%; height: 100%; fill: none; stroke: #1E9E4A; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.confirm-box__tick circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: confirm-draw 0.5s ease 0.1s forwards; }
.confirm-box__tick path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: confirm-draw 0.32s ease 0.5s forwards; }
@keyframes confirm-draw { to { stroke-dashoffset: 0; } }
.confirm-box h3 { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.confirm-box__sub { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; margin-bottom: 20px; }
.confirm-box__body { text-align: left; margin-bottom: 22px; }
.confirm-box__number { text-align: center; font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 14px; }
.confirm-box__number strong { display: inline-block; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 4px 14px; letter-spacing: 0.06em; font-weight: 800; margin-left: 4px; }
.confirm-box__lines { border-top: 2px solid var(--cream-2); }
.confirm-box__line { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--cream-2); font-size: 0.9rem; }
.confirm-box__line span:first-child { color: var(--ink); }
.confirm-box__line small { display: block; color: var(--ink-soft); font-size: 0.78rem; }
.confirm-box__line strong { white-space: nowrap; }
.confirm-box__total { display: flex; justify-content: space-between; padding: 12px 0 0; font-size: 1.05rem; font-weight: 800; }
.confirm-box__total span:last-child { color: var(--red); }
.confirm-box__meta { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; margin-top: 12px; }
.confirm-box__ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; word-break: break-all; }
@media (prefers-reduced-motion: reduce) {
  .confirm-box { animation: none; }
  .confirm-box__tick circle, .confirm-box__tick path { animation: none; stroke-dashoffset: 0; }
}
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 95;
  background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transition: all 0.3s var(--ease-pop);
  max-width: min(520px, 90vw); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track, .gallery-marquee__track { animation: none; }
}
