/* ===========================================
   GLOW BITES (digital order menu)
   Palette provided by client
=========================================== */
:root {
  --glow-orange: #CB7729;
  --cocoa-brown: #73381A;
  --olive-green: #818735;
  --olive-yellow: #C0C04E;
  --warm-cream:  #FFFCF2;
  --soft-beige:  #F5EBDD;
  --dark-cocoa:  #4A2818;
  --white:       #FFFFFF;
  --border:      #E8DCCB;

  --shadow-soft: 0 14px 34px rgba(74, 40, 24, .10);
  --shadow-lift: 0 20px 46px rgba(74, 40, 24, .16);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--warm-cream);
  color: var(--dark-cocoa);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); }

/* ===========================================
   TOPBAR
=========================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 252, 242, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__brand img { height: 44px; width: auto; }

.topbar__right { display: flex; align-items: center; gap: 16px; }

.topbar__social { display: flex; align-items: center; gap: 8px; }
.topbar__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-beige);
  border: 1px solid var(--border);
  color: var(--cocoa-brown);
  font-size: 13.5px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.topbar__social a:hover { background: var(--glow-orange); color: var(--white); transform: translateY(-2px); }
@media (max-width: 420px) {
  .topbar__social { display: none; }
}

.basket-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glow-orange);
  color: var(--white);
  font-size: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.basket-btn:hover { transform: translateY(-2px); }
.basket-btn__count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--dark-cocoa);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--warm-cream);
}

/* ===========================================
   HERO
=========================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 46px;
  text-align: center;
  isolation: isolate;
  background: linear-gradient(180deg, var(--soft-beige) 0%, var(--warm-cream) 100%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/pattern-header.jpg');
  background-repeat: repeat;
  background-size: 380px auto;
  opacity: .55;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.hero__logo {
  width: 220px;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 22px rgba(74, 40, 24, .14));
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-green);
  background: rgba(129, 135, 53, .12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: -.01em;
  color: var(--dark-cocoa);
  margin-bottom: 12px;
}
.hero__title .accent { color: var(--glow-orange); }
.hero__subtitle {
  font-size: 15.5px;
  color: rgba(74, 40, 24, .72);
  margin-bottom: 22px;
}
.hero__social {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--cocoa-brown);
  font-size: 16px;
  box-shadow: var(--shadow-soft);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.hero__social a:hover { background: var(--glow-orange); color: var(--white); transform: translateY(-2px); }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--glow-orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero__cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* ===========================================
   CATEGORY QUICK-NAV PILLS
=========================================== */
.cat-pills {
  position: sticky;
  top: 65px;
  z-index: 150;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 20px;
  background: var(--warm-cream);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--soft-beige);
  border: 1px solid var(--border);
  color: var(--cocoa-brown);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cat-pill i { color: var(--olive-green); font-size: 12px; }
.cat-pill:hover, .cat-pill.is-active {
  background: var(--glow-orange);
  border-color: var(--glow-orange);
  color: var(--white);
}
.cat-pill:hover i, .cat-pill.is-active i { color: var(--white); }

/* ===========================================
   MENU CATEGORIES
=========================================== */
.menu-category {
  padding: 46px 20px 10px;
  scroll-margin-top: 120px;
}
.menu-category__inner { max-width: 1120px; margin: 0 auto; }

.menu-category__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.menu-category__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--soft-beige);
  border: 1px solid var(--border);
  color: var(--glow-orange);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-category__head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-cocoa);
  margin-bottom: 3px;
}
.menu-category__head p {
  font-size: 13.5px;
  color: rgba(74, 40, 24, .62);
}
.menu-category__badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--glow-orange);
  background: rgba(203, 119, 41, .12);
  padding: 4px 10px;
  border-radius: 999px;
}

.menu-subhead {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cocoa-brown);
  margin: 22px 2px 12px;
  padding-bottom: 8px;
  border-bottom: 2px dotted var(--border);
}
.menu-subhead:first-of-type { margin-top: 0; }

/* ===========================================
   ITEM GRID / CARDS
=========================================== */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.item-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(203, 119, 41, .35);
}

.item-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--soft-beige);
  overflow: hidden;
}
.item-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.item-card:hover .item-card__photo img { transform: scale(1.05); }

.item-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 18px 0; }
.item-card__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark-cocoa);
  line-height: 1.35;
}
.item-card__variant {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--olive-green);
  background: rgba(129, 135, 53, .12);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.item-card__note {
  font-size: 12.5px;
  color: rgba(74, 40, 24, .62);
  padding: 8px 18px 0;
  line-height: 1.45;
}

.item-card__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 18px 0;
}
.option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cocoa-brown);
  cursor: pointer;
}
.option-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--glow-orange);
  cursor: pointer;
  flex: 0 0 auto;
}
.option-row em { font-style: normal; color: var(--olive-green); font-weight: 700; }

.item-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 0; }
.item-card__price { font-size: 15px; font-weight: 800; color: var(--glow-orange); }
.item-card__price--tbd { color: rgba(74, 40, 24, .5); font-size: 13.5px; font-weight: 700; font-style: italic; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--soft-beige);
}
.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--cocoa-brown);
  transition: background-color .2s ease, color .2s ease;
}
.qty-btn:hover { background: var(--glow-orange); color: var(--white); }
.qty-value {
  min-width: 22px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--dark-cocoa);
}

.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: var(--dark-cocoa);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin: 12px 18px 16px;
  transition: background-color .25s ease, transform .2s ease;
}
.add-btn:hover { background: var(--glow-orange); transform: translateY(-1px); }
.add-btn.is-added { background: var(--olive-green); }
.add-btn--disabled {
  background: var(--soft-beige);
  color: rgba(74, 40, 24, .55);
  cursor: default;
}
.add-btn--disabled:hover { background: var(--soft-beige); transform: none; }

.add-btn--ask { background: #25D366; }
.add-btn--ask:hover { background: #1fb955; }
.add-btn--ask:disabled {
  background: var(--soft-beige);
  color: rgba(74, 40, 24, .45);
  cursor: default;
}
.add-btn--ask:disabled:hover { background: var(--soft-beige); transform: none; }

.item-card--tbd { background: var(--soft-beige); }

/* ---- special cards: Balls Box checklist + Choco Cup custom CTA ---- */
.item-card--special {
  border-color: rgba(203, 119, 41, .3);
  background: linear-gradient(180deg, var(--white) 0%, var(--soft-beige) 100%);
  grid-column: span 2;
}
@media (max-width: 560px) { .item-card--special { grid-column: span 1; } }

.checklist-counter {
  display: inline-block;
  font-weight: 800;
  color: var(--glow-orange);
  font-style: normal;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  padding: 10px 18px 0;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cocoa-brown);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.checklist-item:has(input:checked) {
  border-color: var(--glow-orange);
  background: rgba(203, 119, 41, .1);
}
.checklist-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--glow-orange);
  cursor: pointer;
  flex: 0 0 auto;
}
.checklist-item input:disabled { cursor: not-allowed; }
.checklist-item:has(input:disabled) { opacity: .5; }

.custom-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 640px;
}
.custom-cta-card__photo {
  flex: 0 0 200px;
  aspect-ratio: 1 / 1;
  background: var(--soft-beige);
}
.custom-cta-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.custom-cta-card__body {
  flex: 1 1 260px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.custom-cta-card__body h3 { font-size: 17px; font-weight: 800; color: var(--dark-cocoa); }
.custom-cta-card__body p { font-size: 13.5px; color: rgba(74, 40, 24, .65); margin-bottom: 4px; }
.custom-cta-card__body .add-btn { margin: 0; align-self: flex-start; padding: 11px 20px; }
@media (max-width: 480px) {
  .custom-cta-card { flex-direction: column; }
  .custom-cta-card__photo { flex: 0 0 auto; aspect-ratio: 16 / 9; }
}

/* ===========================================
   BASKET DRAWER
=========================================== */
.basket-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 40, 24, .38);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.basket-overlay.is-open { opacity: 1; pointer-events: auto; }

.basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--warm-cream);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22, .8, .28, 1);
  box-shadow: -18px 0 50px rgba(74, 40, 24, .22);
}
.basket-drawer.is-open { transform: translateX(0); }

.basket-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}
.basket-drawer__head h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark-cocoa);
  display: flex;
  align-items: center;
  gap: 9px;
}
.basket-drawer__head h2 i { color: var(--glow-orange); }
.basket-drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cocoa-brown);
  font-size: 15px;
  transition: background-color .2s ease;
}
.basket-drawer__close:hover { background: var(--soft-beige); }

.basket-drawer__body { flex: 1; overflow-y: auto; padding: 10px 22px; }

.basket-empty {
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(74, 40, 24, .5);
  gap: 6px;
}
.basket-empty i { font-size: 34px; color: var(--border); margin-bottom: 8px; }
.basket-empty p { font-weight: 700; color: var(--cocoa-brown); }
.basket-empty span { font-size: 13px; }

.basket-lines { display: flex; flex-direction: column; gap: 14px; padding: 12px 0; }
.basket-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.basket-line__info { min-width: 0; }
.basket-line__name { font-size: 14px; font-weight: 700; color: var(--dark-cocoa); }
.basket-line__variant { font-size: 11.5px; color: var(--olive-green); font-weight: 700; }
.basket-line__price { font-size: 12.5px; color: rgba(74, 40, 24, .6); margin-top: 2px; }

.basket-line__controls { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.basket-line__remove {
  color: rgba(74, 40, 24, .4);
  font-size: 13px;
  transition: color .2s ease;
}
.basket-line__remove:hover { color: #c0392b; }

.basket-drawer__foot {
  border-top: 1px solid var(--border);
  padding: 18px 22px 22px;
  background: var(--soft-beige);
}

.order-type { margin-bottom: 16px; }
.order-type__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cocoa-brown);
  margin-bottom: 8px;
}
.order-type__choices { display: flex; gap: 8px; }
.order-type__choice {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cocoa-brown);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.order-type__choice input { position: absolute; opacity: 0; pointer-events: none; }
.order-type__choice:has(input:checked) {
  border-color: var(--glow-orange);
  background: var(--glow-orange);
  color: var(--white);
}
.delivery-address { margin-top: 10px; }
.delivery-address label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cocoa-brown);
  margin-bottom: 6px;
}
.delivery-address textarea {
  width: 100%;
  resize: vertical;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--dark-cocoa);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.delivery-address textarea:focus { outline: 2px solid var(--glow-orange); outline-offset: 1px; }
.delivery-address.has-error textarea { outline: 2px solid #c0392b; outline-offset: 1px; }

.basket-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark-cocoa);
  margin-bottom: 14px;
}
.basket-subtotal span:last-child { color: var(--glow-orange); font-size: 17px; font-weight: 800; }

.checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border-radius: 12px;
  background: #25D366;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.checkout-btn i { font-size: 18px; }
.checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.checkout-btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

.clear-btn {
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(74, 40, 24, .55);
  padding: 6px;
  transition: color .2s ease;
}
.clear-btn:hover { color: #c0392b; }

/* ===========================================
   FLOATING BASKET BUTTON (mobile quick-access)
=========================================== */
.basket-fab {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 250;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--glow-orange);
  color: var(--white);
  font-size: 21px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(203, 119, 41, .4);
  transition: transform .25s ease;
}
.basket-fab:hover { transform: translateY(-3px) scale(1.03); }
.basket-fab.is-visible { display: flex; }
.basket-fab__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--dark-cocoa);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--warm-cream);
}

/* ===========================================
   TOAST
=========================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 400;
  background: var(--dark-cocoa);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--olive-yellow); }

/* ===========================================
   THANK YOU / CONFIRM MODAL
=========================================== */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 40, 24, .45);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.thankyou-overlay.is-open { opacity: 1; pointer-events: auto; }

.thankyou-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.94);
  width: min(380px, 90vw);
  background: var(--warm-cream);
  border-radius: 22px;
  padding: 36px 28px 26px;
  text-align: center;
  z-index: 501;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22, .8, .28, 1);
}
.thankyou-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.thankyou-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cocoa-brown);
  font-size: 14px;
  transition: background-color .2s ease;
}
.thankyou-modal__close:hover { background: var(--soft-beige); }

.thankyou-modal__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(203, 119, 41, .12);
  color: var(--glow-orange);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thankyou-modal h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--dark-cocoa);
  margin-bottom: 8px;
}
.thankyou-modal p {
  font-size: 13.5px;
  color: rgba(74, 40, 24, .68);
  line-height: 1.5;
  margin-bottom: 22px;
}
.thankyou-modal .checkout-btn { margin-bottom: 10px; }
.thankyou-modal__cancel {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(74, 40, 24, .55);
  padding: 6px;
  transition: color .2s ease;
}
.thankyou-modal__cancel:hover { color: var(--glow-orange); }

/* ===========================================
   FOOTER
=========================================== */
.footer {
  position: relative;
  padding: 50px 20px 30px;
  text-align: center;
  background: var(--soft-beige);
  border-top: 1px solid var(--border);
  margin-top: 30px;
}
.footer__inner { max-width: 480px; margin: 0 auto; }
.footer__logo { width: 130px; margin: 0 auto 18px; }
.footer__social { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--cocoa-brown);
  font-size: 14.5px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--glow-orange); color: var(--white); transform: translateY(-2px); }
.footer__copy {
  font-size: 13px;
  color: rgba(74, 40, 24, .6);
  margin-bottom: 14px;
}
.footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(74, 40, 24, .5);
}
.footer__credit { display: inline-flex; align-items: baseline; gap: 5px; }
.footer__credit-label { font-style: italic; }
.footer__credit a {
  color: var(--cocoa-brown);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.footer__credit a:hover { color: var(--glow-orange); border-color: var(--glow-orange); }
.footer__sep { color: rgba(74, 40, 24, .3); }

/* ===========================================
   SCROLL-IN ANIMATION (progressive enhancement — see script.js)
=========================================== */
.js-anim .anim-block {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .28, 1);
}
.js-anim .anim-block.is-visible { opacity: 1; transform: none; }

.js-anim .anim-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .8, .28, 1);
  transition-delay: var(--anim-delay, 0ms);
}
.js-anim .anim-block.is-visible .anim-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-anim .anim-block,
  .js-anim .anim-item { opacity: 1 !important; transform: none !important; }
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 620px) {
  .cat-pills { top: 61px; }
  .hero { padding: 42px 18px 36px; }
  .hero__logo { width: 180px; }
  .menu-category { padding: 34px 16px 6px; }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .basket-fab { width: 54px; height: 54px; font-size: 19px; }
}
