/* ═══════════════════════════════════════════════
   CÁT TƯỜNG BAKERY — style.css
   v3: full mobile responsive + food picker
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playwrite+HU:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Glory:wght@100..800&display=swap');

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── VARIABLES ──────────────────────────────── */
:root {
  --brown-dark:  #543304;
  --brown-mid:   #975B09;
  --brown-light: #c07451;
  --gold:        #dab65a;
  --gold-deep:   #d2a941;
  --cream:       #FDF8F0;
  --parchment:   #F9F3E8;
  --linen:       #EDE3D0;
  --yellow-soft: #fde37c;
  --text-muted:  #7a5c3a;
  --white:       #FFFCF7;

  --w-image:   500px;
  --calculate: calc(3 / 2);
  --uni-W:    300px;
  --uni-h:    300px;
  --quantity: 10;
}

/* ─── BASE ───────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Glory', 'Times New Roman', sans-serif;
  background: var(--cream);
  color: var(--brown-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ─── UTILITY ────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .8rem;
}
.section-tag::before, .section-tag::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-tag.dark { color: var(--brown-mid); }
.section-tag.dark::before, .section-tag.dark::after { background: var(--brown-mid); }

.signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--gold-deep);
  margin-top: 1.2rem;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .8rem 2rem;
  font-family: 'Glory', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-gold {
  background: var(--gold);
  color: var(--brown-dark);
  box-shadow: 0 4px 18px rgba(210,169,65,.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(210,169,65,.5); }

.btn-brown {
  background: var(--brown-dark);
  color: var(--gold);
  box-shadow: 0 4px 18px rgba(84,51,4,.25);
}
.btn-brown:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(84,51,4,.35); }

.btn-outline-hero {
  background: transparent;
  color: #584404;
  border: 1.5px solid rgba(0, 0, 0, 0.5);
}
.btn-outline-hero:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--brown-dark);
  border: 1.5px solid var(--brown-dark);
}
.btn-outline-dark:hover { background: var(--brown-dark); color: var(--gold); transform: translateY(-2px); }

/* ════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(84,51,4,.12);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--brown-mid);
  padding: 0 24px;
  height: 68px;
}

.logo img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  position: relative;
  z-index: 10;
  margin-top: -30px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}

.phonenumber { display: flex; align-items: center; gap: 8px; }
.phonenumber p { color: #fff; font-size: .95rem; }
.phonenumber i { color: var(--gold-deep); font-size: 1.1rem; }

.social-media { display: flex; gap: 14px; align-items: center; }
.social-media a, .social-media i { color: #fff; font-size: 1.25rem; transition: color .2s, transform .2s; }
.social-media a:hover { color: var(--gold); transform: translateY(-2px); }

nav { background-color: var(--brown-dark); position: relative; }

.categories {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 16px 24px;
  list-style: none;
}
.categories li a {
  color: #fff;
  font-family: 'Glory', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}
.categories li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 99px;
  transition: width .3s ease;
}
.categories li a:hover { color: var(--gold); }
.categories li a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.introduce { width: 100%; }

.slogan {
  height: 92vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.slogan > img { width: 100%; height: 100%; object-fit: cover; }


.intro {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 70px;
  transform: translateY(-50%);
  color: #8a5521;
  max-width: 560px;
}

.intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
}
.intro h1 em { font-style: italic; color: var(--gold); }

.intro-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.4rem 0;
}
.intro-divider span { display: block; width: 50px; height: 1px; background: rgba(107, 90, 47, 0.5); }
.intro-divider i    { color: var(--gold); font-size: .9rem; }

.intro h3 {
  font-family: 'Glory', sans-serif;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: .1em;
  color: rgba(120, 76, 15, 0.82);
  text-transform: uppercase;
}
.intro-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ════════════════════════════════════════════════
   ABOUT US
════════════════════════════════════════════════ */
.about { background: var(--parchment); padding: 6rem 2rem; }

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dark);
  margin-bottom: 1.4rem;
}
.about-text h2 em { font-style: italic; color: var(--brown-light); }
.about-text p { color: var(--text-muted); font-size: .97rem; margin-bottom: .9rem; line-height: 1.85; }

.about-image { position: relative; }
.about-img-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(84,51,4,.18);
  aspect-ratio: 4/5;
  background: var(--linen);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.about-img-wrap:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: -1.4rem; left: -1.4rem;
  width: 100px; height: 100px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid var(--parchment);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(84,51,4,.2);
  color: var(--brown-dark);
}
.about-badge strong { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; line-height: 1; font-weight: 700; }
.about-badge span   { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.3; }

/* ════════════════════════════════════════════════
   HÔM NAY ĂN GÌ? — Food Picker
════════════════════════════════════════════════ */
.food-picker {
  background: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
}

.food-picker-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.food-picker-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: .5rem;
}

.food-picker-sub {
  font-size: .97rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Slot display box */
.picker-display {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 2px solid var(--linen);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 32px rgba(84,51,4,.08);
  transition: border-color .3s, box-shadow .3s;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.picker-display.rolling {
  border-color: var(--gold);
  box-shadow: 0 6px 32px rgba(210,169,65,.22);
  animation: displayShake .12s linear infinite;
}
.picker-display.picked {
  border-color: var(--brown-mid);
  box-shadow: 0 8px 36px rgba(84,51,4,.15);
  animation: displayPop .35s cubic-bezier(.3,1.4,.5,1) 1;
}
@keyframes displayShake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-3px); }
  75%      { transform: translateX(3px); }
}
@keyframes displayPop {
  0%   { transform: scale(.92); }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.picker-emoji {
  font-size: 3rem;
  line-height: 1;
  transition: transform .1s;
}
.picker-result {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}

/* Spin button */
.picker-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2.5rem;
  background: linear-gradient(135deg, var(--brown-mid), var(--brown-dark));
  color: var(--gold);
  font-family: 'Glory', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(84,51,4,.28);
  transition: transform .2s, box-shadow .2s;
  margin-bottom: 1.8rem;
  letter-spacing: .04em;
}
.picker-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(84,51,4,.38); }
.picker-btn:disabled { opacity: .65; cursor: not-allowed; }
.picker-btn.spinning i { animation: spinIcon .5s linear infinite; }
@keyframes spinIcon { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Menu pills */
.picker-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  max-width: 560px;
}
.picker-pill {
  padding: .45rem 1.1rem;
  border-radius: 99px;
  border: 1.5px solid var(--linen);
  background: var(--parchment);
  font-family: 'Glory', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.picker-pill:hover {
  border-color: var(--gold);
  background: #fff;
  color: var(--brown-dark);
  transform: translateY(-2px);
}
.picker-pill.active {
  background: var(--gold);
  border-color: var(--gold-deep);
  color: var(--brown-dark);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(210,169,65,.35);
}

/* ════════════════════════════════════════════════
   BESTSELLERS CAROUSEL
════════════════════════════════════════════════ */
.bestseller {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.bestseller-header {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}
.bestseller-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
  letter-spacing: .04em;
}

.bestseller .list { height: 100%; position: relative; overflow: hidden; }
.bestseller .list::before {
  position: absolute;
  height: 100%; width: var(--w-image);
  content: ''; top: 0;
  left: calc(var(--w-image) * var(--calculate));
  z-index: 10;
}

.bestseller .list .item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
}
.bestseller .list .item.active,
.bestseller .list .item.other_1,
.bestseller .list .item.other_2,
.bestseller .list .item.other_3,
.bestseller .list .item.other_4 { display: block; }
.bestseller .list .item.active { z-index: 2; }

.bestseller .list .item .image {
  width: var(--w-image);
  position: absolute; height: 100%; top: 0;
  left: calc(100% - var(--w-image) * var(--calculate));
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
}
.bestseller .list .item .image img {
  width: 90%; margin-bottom: 45px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.bestseller .list .item .main-content {
  height: 100%;
  display: grid;
  grid-template-columns: calc(100% - var(--w-image) * var(--calculate));
}
.bestseller .list .item .main-content .content {
  padding: 100px 20px 20px 80px;
  font-family: 'Glory', sans-serif;
  color: var(--brown-dark);
}
.bestseller .list .item .main-content .content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
}
.bestseller .list .item .main-content .content p {
  font-size: clamp(.95rem, 1.5vw, 1.5rem);
  margin: 40px 0; font-weight: 450; line-height: 1.7; max-width: 520px;
}

.arrows {
  position: absolute;
  display: flex; gap: 10px;
  left: 80px; bottom: 40px; z-index: 20;
}
.arrows button {
  width: 52px; height: 52px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, transform .2s;
}
.arrows button:hover { background: rgba(255,255,255,.2); border-color: #fff; transform: scale(1.1); }

.bestseller .list .item.active .main-content {
  animation: showContent 1.5s ease-in-out forwards;
}
@keyframes showContent {
  from { clip-path: circle(0%   at 70% 50%); }
  to   { clip-path: circle(100% at 70% 50%); }
}

.next .item.other_1 { z-index: 1; }
.next .item .image img { animation: GoNext 2s ease-in-out forwards; }
.next .item.active  .image { --transform-form: var(--w-image); }
.next .item.other_1 .image { z-index: 3; --transform-form: 0px; overflow: hidden; }
.next .item.other_2 .image { z-index: 3; --transform-form: calc(var(--w-image) * 2); }
@keyframes GoNext {
  from { transform: translateX(var(--transform-form)); }
  to   { transform: translateX(calc(var(--transform-form) - var(--w-image))); }
}

.prev .item .image img { animation: GoPrevious 2s ease-in-out forwards; }
.prev .item.active  .image { --transform-form: calc(var(--w-image) * -1); overflow: hidden; }
.prev .item.other_1 .image { z-index: 3; --transform-form: 0px; }
.prev .item.other_2 .image { z-index: 3; --transform-form: var(--w-image); }
@keyframes GoPrevious {
  from { transform: translateX(var(--transform-form)); }
  to   { transform: translateX(calc(var(--transform-form) + var(--w-image))); }
}

/* ════════════════════════════════════════════════
   UNIQUE COLLECTION — Infinite Scroll
════════════════════════════════════════════════ */
.unique { background: var(--parchment); padding: 4rem 0 5rem; overflow: hidden; }

.collection-header { text-align: center; padding: 0 2rem; margin-bottom: 2.5rem; }
.collection-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--brown-dark);
}

.scroll {
  width: 100%; height: var(--uni-h); overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8% 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8% 92%, transparent);
}
.scroll .list {
  display: flex;
  min-width: calc(var(--uni-W) * var(--quantity));
  position: relative; height: var(--uni-h);
}
.scroll .list .uni {
  width: var(--uni-W); height: var(--uni-h);
  position: absolute; left: 100%;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(84,51,4,.12);
  animation: autoRun 20s linear infinite;
  animation-delay: calc((20s / var(--quantity)) * (var(--position) - 1));
  transition: transform .3s;
}
.scroll .list .uni:hover { transform: scale(1.05); z-index: 2; }
.scroll .list .uni img { width: 100%; height: var(--uni-h); object-fit: cover; }
@keyframes autoRun {
  from { left: 100%; }
  to   { left: calc(var(--uni-W) * -1); }
}
.scroll:hover .uni { animation-play-state: paused !important; }

/* ════════════════════════════════════════════════
   ORDERING
════════════════════════════════════════════════ */
.order {
  background: var(--yellow-soft);
  padding: 5rem 2rem;
  display: flex;
  align-items: center; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}

.mascot { flex: 0 0 280px; max-width: 280px; }
.mascot img {
  width: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(84,51,4,.18));
  animation: mascotFloat 4s ease-in-out infinite;
}
@keyframes mascotFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.order-content { flex: 1; min-width: 280px; max-width: 580px; }
.order-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; color: rgb(178,7,7); line-height: 1.2; margin-bottom: 1.4rem;
}

.attention-box {
  display: flex; align-items: center; gap: .8rem;
  background: rgba(178,7,7,.1);
  border-left: 4px solid rgb(178,7,7);
  border-radius: 8px; padding: .9rem 1.2rem;
  margin-bottom: 1.2rem; color: rgb(132,44,20);
}
.attention-box i    { font-size: 1.3rem; color: rgb(178,7,7); flex-shrink: 0; }
.attention-box span { font-family: 'Glory', sans-serif; font-size: 1.1rem; font-weight: 800; }

.order-note-text { font-family: 'Glory', sans-serif; font-size: 1rem; color: rgb(132,44,20); margin-bottom: 2rem; }

.order-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.step { display: flex; align-items: flex-start; gap: 1rem; }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown-dark); color: var(--gold);
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-desc { font-family: 'Glory', sans-serif; font-size: .92rem; color: var(--brown-dark); line-height: 1.55; padding-top: .25rem; }
.step-desc strong { color: var(--brown-mid); }

.order-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
footer { background: #1f2d58; padding: 4rem 2rem 0; }

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1.4fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(218,182,90,.15);
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: #fff; }
.footer-script { font-family: 'Dancing Script', cursive; font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: .8rem; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.75; max-width: 260px; }

.footer-col h5 { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--gold); letter-spacing: .06em; margin-bottom: 1.2rem; }

.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-contact-item i { color: var(--gold-deep); font-size: .95rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: var(--gold); }
.footer-contact-item a:hover { text-decoration: underline; }

.social-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .9rem; transition: all .2s;
}
.social-btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--brown-dark); transform: translateY(-3px); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 1.4rem 0; font-size: .82rem;
  color: rgba(255,255,255,.4); text-align: center;
}

/* ════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 960px)
════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .about-inner       { grid-template-columns: 1fr; gap: 3rem; }
  .about-image       { max-width: 480px; margin: 0 auto; order: -1; }
  .footer-inner      { grid-template-columns: 1fr 1fr; }
  .footer-brand      { grid-column: 1 / -1; }
  :root { --w-image: 360px; }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Nav ── */
  .nav-toggle { display: flex; }
  .categories {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--brown-dark);
    padding: .5rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    z-index: 200;
  }
  .categories.open { display: flex; }
  .categories li a { padding: 14px 24px; display: block; }

  /* ── Top bar ── */
  .phonenumber p { display: block; font-size: .78rem; }
  .top-bar { padding: 0 12px; height: 60px; overflow: visible; }
  .social-media { gap: 10px; }
  .social-media a, .social-media i { font-size: 1.05rem; }
  .logo img { width: 84px; height: 84px; margin-top: -16px; }

  /* ── Hero ── */
  .slogan { height: 85vh; }
  .slogan::after {
    background: linear-gradient(
      to bottom,
      rgba(20,10,2,.55) 0%,
      rgba(20,10,2,.45) 100%
    );
  }
  .intro {
    left: 20px; right: 20px;
    max-width: 100%;
    top: 50%;
  }
  .intro-script { font-size: 1.1rem; }
  .intro h3 { font-size: .85rem; }

  /* ── About ── */
  .about { padding: 3.5rem 1.2rem; }
  .about-badge { width: 80px; height: 80px; bottom: -1rem; left: -1rem; }
  .about-badge strong { font-size: 1.3rem; }

  /* ── Food picker ── */
  .food-picker { padding: 3rem 1.2rem; }
  .picker-display { padding: 1.5rem 1rem; }

  /* ── Carousel: CHANGE 4 — full responsive stack on phone ── */
  .bestseller { height: auto; min-height: unset; }
  :root { --w-image: 0px; }

  /* Stack image on top, content below */
  .bestseller .list .item {
    position: relative;
    display: none;
    flex-direction: column;
    height: auto;
  }
  .bestseller .list .item.active { display: flex; z-index: 2; }
  .bestseller .list .item.other_1,
  .bestseller .list .item.other_2,
  .bestseller .list .item.other_3,
  .bestseller .list .item.other_4 { display: none; }

  .bestseller .list .item .image {
    position: relative;
    width: 100%; height: 260px;
    left: unset; top: unset;
    justify-content: center;
    align-items: center;
  }
  .bestseller .list .item .image img {
    width: 80%; max-width: 260px;
    margin-bottom: 0;
    border-radius: 12px;
  }

  .bestseller .list .item .main-content {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }
  .bestseller .list .item .main-content .content {
    padding: 20px 20px 80px 20px;
  }
  .bestseller .list .item .main-content .content h2 { font-size: 2rem; }
  .bestseller .list .item .main-content .content p  { font-size: .9rem; margin: 14px 0; max-width: 100%; }

  /* Keep animations off on mobile to avoid glitches */
  .bestseller .list .item .image img { animation: none !important; }
  .bestseller .list .item.active .main-content { animation: none; clip-path: none; }

  .bestseller .list { height: auto; overflow: visible; }
  .bestseller-header { position: relative; top: unset; left: unset; transform: none; padding: 1.2rem 1rem 0; white-space: normal; }
  .arrows { position: relative; left: unset; bottom: unset; justify-content: center; padding: 1rem 0 1.5rem; }
  .arrows button { width: 42px; height: 42px; border-color: rgba(0,0,0,.3); color: var(--brown-dark); }

  /* ── Infinite scroll: smaller tiles on mobile ── */
  :root { --uni-W: 200px; --uni-h: 200px; }

  /* ── Order ── */
  .order { flex-direction: column; gap: 2rem; padding: 3rem 1.2rem; }
  .mascot { flex: none; max-width: 180px; margin: 0 auto; }
  .order-content { max-width: 100%; }
  .attention-box span { font-size: .95rem; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr; }
  footer { padding: 3rem 1.2rem 0; }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONE  (≤ 480px)
════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Hero text */
  .intro h1          { font-size: 2rem; }
  .intro-actions     { flex-direction: column; align-items: flex-start; }
  .intro-actions .btn { width: 100%; justify-content: center; }

  /* Food picker */
  .food-picker-title { font-size: 1.8rem; }
  .picker-result     { font-size: 1.4rem; }
  .picker-btn        { width: 100%; justify-content: center; }
  .picker-pill       { font-size: .8rem; padding: .38rem .9rem; }

  /* Carousel: stack layout on tiny screens */
  :root { --w-image: 180px; }
  .bestseller .list .item .main-content .content h2 { font-size: 1.5rem; }
  .bestseller .list .item .main-content .content p  { font-size: .82rem; }

  /* Order */
  .order-cta         { flex-direction: column; }
  .order-cta .btn    { width: 100%; justify-content: center; }

  /* Footer */
  .footer-logo       { font-size: 1.6rem; }
  .footer-bottom     { font-size: .75rem; }
}
