/* ============================================================
   The Food Palace — core stylesheet (Foodle visual system)
   Used by the home and menu pages.
   ============================================================ */

:root {
  --primary:        #ef4b2c;
  --primary-dark:   #d63e20;
  --primary-soft:   #fde7dd;
  --accent:         #f5a623;
  --accent-soft:    #fcd77d;
  --cream:          #fdece5;
  --cream-soft:     #fff6f2;
  --ink:            #2b2b2b;
  --ink-soft:       #4a4a4a;
  --muted:          #9a9a9a;
  --white:          #ffffff;
  --olive:          #7c6f1f;
  --olive-2:        #8a7a23;
  --yellow-banner:  #f7b733;

  --shadow-sm: 0 8px 20px rgba(0,0,0,.06);
  --shadow-md: 0 18px 45px rgba(239,75,44,.12);
  --shadow-lg: 0 30px 60px rgba(0,0,0,.12);

  --maxw: 1180px;
  --radius: 22px;

  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
*:focus { outline: none; }
button, a { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* image placeholder — replaced by real photos dropped into /public/images */
.ph {
  background:
    radial-gradient(circle at 38% 32%, #fff5ef, #ffd9c7 60%, #f7b79c);
  display: grid; place-items: center; text-align: center;
  color: var(--primary-dark); font-family: var(--font-display); font-weight: 600;
  font-size: 13px; padding: 8px; overflow: hidden;
}
.ph span { opacity: .65; line-height: 1.2; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  padding: 13px 26px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239,75,44,.32);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); }
.btn-primary .btn-ico {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid; place-items: center;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.6px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  padding-left: 6px;
}
.btn-ghost .play {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--primary);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 26px; color: var(--ink);
  letter-spacing: .2px;
}
.logo b { color: var(--primary); }
.logo img { height: 80px; width: auto; display: block; border: none; outline: none; }
.nav-links {
  display: flex; align-items: center; gap: 34px;
}
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2.5px; border-radius: 2px; background: var(--primary);
}
.nav-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid #f0e6e1; border-radius: 50px;
  padding: 8px 16px; min-width: 240px;
  transition: border-color .18s, box-shadow .18s;
}
.nav-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239,75,44,.1);
}
.nav-search svg { color: var(--muted); flex-shrink: 0; }
.nav-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
  min-width: 0;
}
.nav-search input::placeholder { color: #bbb; }

.desktop-search-results {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  border: 1px solid #f0e6e1; z-index: 200;
  overflow: hidden; max-height: 420px; overflow-y: auto;
}
.desktop-search-results.open { display: block; animation: dp-in .15s ease; }

/* Search result shared styles */
.sr-list { padding: 8px 0; }
.sr-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; transition: background .15s;
}
.sr-item:hover { background: var(--cream-soft); }
.sr-thumb {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
  background: var(--primary-soft);
}
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-thumb-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--primary);
}
.sr-info { flex: 1; min-width: 0; }
.sr-name  { display: block; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-price { display: block; font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 2px; }
.sr-add {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; font-size: 20px; font-weight: 700;
  cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.sr-add:hover { background: var(--primary-dark); transform: scale(1.1); }
.sr-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 32px 20px; color: var(--muted); text-align: center;
}
.sr-empty p { margin: 0; font-size: 14px; }
.sr-view-all {
  display: block; text-align: center; padding: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  border-top: 1px solid #f0e6e1;
}
.sr-view-all:hover { background: var(--cream-soft); }
.sr-loading { display: flex; justify-content: center; padding: 24px; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .login { font-weight: 600; color: var(--ink); }
.nav-actions .login:hover { color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--cream);
  position: relative;
  padding-bottom: 170px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  margin: 0 0 26px;
  color: var(--ink);
}
.hero h1 .u { color: var(--primary); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.hero h1 .c { color: var(--primary); }
.hero-sub {
  display: flex; align-items: center; gap: 12px;
  max-width: 360px; margin-bottom: 30px;
}
.hero-sub .avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px;
  background: radial-gradient(circle at 30% 30%, #ffd9a8, #f5a623);
}
.hero-sub p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.hero-cta { display: flex; align-items: center; gap: 22px; }

.hero-art { position: relative; }
.hero-art .food {
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin-left: auto;
  width: 92%;
}
.hero-art .shadow {
  position: absolute; left: 8%; right: 8%; bottom: -6%; height: 36px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.16), transparent 70%);
  filter: blur(2px);
}
/* dashed arrow */
.hero-arrow {
  position: absolute; top: 8%; left: 44%; width: 130px; height: 70px;
  pointer-events: none;
}

/* ---------- feature bar ---------- */
.features {
  position: relative;
  margin-top: 40px;
  z-index: 5;
}
.features-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 18px;
}
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 6px 24px;
  border-right: 1px solid #f0e6e1;
}
.feature:last-child { border-right: none; }
.feature .f-ico {
  width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px;
  background: linear-gradient(135deg, #f8b94a, #f5a623);
  display: grid; place-items: center; color: #fff;
}
.feature h4 { margin: 2px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.feature p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: 78px 0; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
.section-head h2 .c { color: var(--primary); }
.section-head .lead {
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.section-head .lead p { max-width: 320px; color: var(--muted); font-size: 14px; margin: 0; }
.section-sub { color: var(--muted); font-size: 14px; margin: 10px 0 0; max-width: 360px; }
.see-all-link { font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; align-self: center; }
.see-all-link:hover, .see-all-link:active { text-decoration: none; }

/* ============================================================
   BEST DELIVERED CATEGORIES
   ============================================================ */
.cats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 30px;
  margin-top: 56px;
}
.cat {
  text-align: center;
  position: relative;
}
.cat-art {
  position: relative; width: 200px; height: 200px; margin: 0 auto 22px;
}
.cat-art .disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff8f5, #fbd9cc);
  box-shadow: 0 8px 24px rgba(239,75,44,.15);
  z-index: 0;
}
.cat-art .arc { display: none; }
.cat-art .food {
  position: absolute; inset: 12px; border-radius: 50%; z-index: 1;
}
.cat h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.cat .order {
  color: var(--primary); font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================================
   REGULAR MENU (cards)
   ============================================================ */
.menu-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 56px 30px;
  margin-top: 92px;
}
.dish {
  background: var(--primary-soft);
  border-radius: 20px;
  padding: 70px 22px 22px;
  position: relative;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dish .thumb {
  position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
  width: 124px; height: 124px; border-radius: 50%;
  border: 4px solid var(--primary);
  background: radial-gradient(circle at 50% 40%, #fff, #ffe9df);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dish .thumb .food { width: 100%; height: 100%; border-radius: 50%; }
.dish h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 6px; }
.stars { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.stars .count { color: var(--muted); margin-left: 4px; }
.dish .row { display: flex; align-items: center; justify-content: space-between; }
.dish .price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.dish .buy {
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  border-radius: 50%; width: 36px; height: 36px; min-height: 36px; max-height: 36px;
  font-size: 22px; font-weight: 400;
  display: grid; place-items: center; flex-shrink: 0; align-self: center;
  box-shadow: 0 8px 16px rgba(239,75,44,.3); padding: 0;
}
.dish .buy:hover { background: var(--primary-dark); }

/* ============================================================
   DISCOUNT BANNERS
   ============================================================ */
.promos {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px;
}
.promo-big {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; color: #fff;
  background:
    linear-gradient(120deg, rgba(0,0,0,.55), rgba(0,0,0,.05)),
    radial-gradient(circle at 70% 60%, #6a3a23, #2c1813);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 30px 34px;
}
.promo-big h3 { font-family: var(--font-display); font-weight: 700; font-size: 34px; margin: 0; line-height: 1.05; }
.burst {
  position: absolute; top: 26px; right: 30px;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 19px;
  background: var(--primary);
  clip-path: polygon(50% 0%,61% 18%,82% 12%,79% 35%,100% 50%,79% 65%,82% 88%,61% 82%,50% 100%,39% 82%,18% 88%,21% 65%,0% 50%,21% 35%,18% 12%,39% 18%);
  transform: rotate(8deg);
}
.promo-col { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }
.promo-sm {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: 24px 26px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 134px;
}
.promo-sm.olive { background: linear-gradient(100deg, var(--olive), var(--olive-2)); }
.promo-sm.yellow { background: linear-gradient(100deg, #f7b733, #f59f1c); }
.promo-sm .badge {
  position: absolute; top: 16px; left: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 50px;
}
.promo-sm .big { font-family: var(--font-display); font-weight: 700; font-size: 30px; align-self: flex-end; }
.promo-sm h4 { font-family: var(--font-display); font-weight: 700; margin: 0; font-size: 20px; max-width: 60%; }
.promo-sm p { margin: 2px 0 0; font-size: 12.5px; opacity: .9; max-width: 60%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--cream); padding: 64px 0 36px; margin-top: 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
}
.footer-brand h3 { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 26px; margin: 0 0 12px; }
.footer-brand .rights { color: var(--muted); font-size: 13px; max-width: 240px; }
.footer-brand h4 { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 20px; margin: 26px 0 14px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: background .18s, color .18s, transform .18s;
}
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  text-align: center;
  padding: 20px 28px 16px;
  border-top: 1px solid #f0e6e1;
  margin-top: 40px;
}
.footer-bottom p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.footer-social { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer-social span { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 16px; }
.footer-col h5 { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 19px; margin: 0 0 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--ink-soft); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }

/* ============================================================
   RESPONSIVE — global + home page
   ============================================================ */

/* Prevent horizontal scroll globally */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* Better tap targets on interactive controls */
button, .btn, .cart-link, .nav-toggle, .chip { min-height: 44px; }

/* Nav links — shown by default on desktop */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 768px) {
  /* ---- Navigation ---- */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); z-index: 100;
    flex-direction: column; padding: 8px 0 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    border-top: 1px solid #f0e6e1;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a {
    padding: 13px 28px; font-size: 16px;
    border-bottom: 1px solid #f0e6e1;
    min-height: 44px; display: flex; align-items: center;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
  }
  body { padding-top: 80px; background: var(--cream); }

  /* ---- Hero ---- */
  .hero { padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-arrow { display: none; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); margin-bottom: 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-sub { max-width: 100%; }

  /* ---- Features bar ---- */
  .features { display: none; }
  .feature:last-child { border-bottom: none; }

  /* ---- Categories ---- */
  .cats { grid-template-columns: 1fr; gap: 20px; }
  .cat-art { width: 160px; height: 160px; }

  /* ---- Menu grid ---- */
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 70px 20px; margin-top: 70px; }

  /* ---- Promos ---- */
  .promos { grid-template-columns: 1fr; }
  .promo-col { grid-template-rows: auto auto; }

  /* ---- Section head ---- */
  .section-head .lead { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 10px; }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* ---- Wrap padding ---- */
  .wrap { padding: 0 20px; }
}

@media (max-width: 560px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 70px 12px; }
  .dish { padding: 60px 16px 18px; }
  .dish .thumb { width: 104px; height: 104px; top: -46px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .hero { padding-bottom: 60px; }
  .cat-art { width: 140px; height: 140px; }
  .cats { gap: 14px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
}

/* ============================================================
   REAL PHOTOS (override placeholder shapes when an <img> is used)
   ============================================================ */
/* hero transparent PNG: show at natural aspect, floating, no circle */
.hero-art img.food {
  width: 100%; height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  margin-left: 0;
  background: transparent;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.18));
}
/* category circle photos fill the disc */
.cat-art img.food { width: 100%; height: 100%; object-fit: cover; }
/* featured-card circular thumb photos */
.dish .thumb img.food { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PAGE HERO (Offer / Service / About)
   ============================================================ */
.page-hero {
  padding: 70px 0 80px;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}
.page-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.page-hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--ink);
}
.page-hero-copy p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 400px;
  margin: 0 0 30px;
  line-height: 1.7;
}
.page-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;
}

/* ============================================================
   OFFER PAGE
   ============================================================ */
.offer-badge-big {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(239,75,44,.35);
  animation: pulse-badge 2.4s ease-in-out infinite;
}
.ob-pct { font-family: var(--font-display); font-weight: 700; font-size: 56px; color: #fff; line-height: 1; }
.ob-label { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: 3px; }
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); box-shadow: 0 20px 50px rgba(239,75,44,.35); }
  50%       { transform: scale(1.05); box-shadow: 0 28px 60px rgba(239,75,44,.5); }
}

.offers-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
}
.offers-col { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }

.offer-card {
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.offer-card--lg { min-height: 380px; }
.offer-card--sm { min-height: 160px; }
.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 30px; margin: 8px 0 14px; line-height: 1.15;
}
.offer-card h3 span { font-size: 38px; display: block; }
.offer-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 8px 0 8px; }
.offer-card p  { font-size: 13.5px; line-height: 1.6; opacity: .92; margin: 0 0 12px; }
.oc-tag {
  display: inline-block;
  background: rgba(255,255,255,.22);
  font-size: 11px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
  width: fit-content;
}
.oc-burst {
  position: absolute; top: 24px; right: 24px;
  width: 76px; height: 76px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  clip-path: polygon(50% 0%,61% 18%,82% 12%,79% 35%,100% 50%,79% 65%,82% 88%,61% 82%,50% 100%,39% 82%,18% 88%,21% 65%,0% 50%,21% 35%,18% 12%,39% 18%);
}
.oc-price {
  display: inline-block;
  background: rgba(255,255,255,.22);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  padding: 5px 14px; border-radius: 50px;
  margin-top: auto;
}

.coupons-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.coupon-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.coupon-left {
  width: 90px; flex: 0 0 90px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 1px;
}
.coupon-right { padding: 18px 20px; flex: 1; }
.coupon-right p { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.5; }
.coupon-code {
  display: flex; align-items: center; gap: 10px;
}
.coupon-code span {
  font-family: monospace; font-size: 15px; font-weight: 700;
  background: var(--cream-soft); padding: 6px 14px; border-radius: 8px;
  letter-spacing: 1.5px; color: var(--ink);
  border: 1.5px dashed #ddd;
}
.coupon-code button {
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 600;
  transition: background .18s;
}
.coupon-code button:hover { background: var(--primary-dark); }

.loyalty-banner {
  background: linear-gradient(120deg, var(--ink) 55%, #3a2a2a);
  border-radius: var(--radius);
  padding: 50px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  color: #fff;
}
.loyalty-text h3 { font-family: var(--font-display); font-weight: 700; font-size: 32px; margin: 0 0 14px; }
.loyalty-text p  { font-size: 14px; opacity: .82; margin: 0 0 26px; max-width: 420px; line-height: 1.7; }
.loyalty-ring {
  width: 160px; height: 160px; border-radius: 50%;
  border: 4px solid var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 8px rgba(239,75,44,.15), 0 0 0 16px rgba(239,75,44,.07);
}
.lr-val { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--primary); line-height: 1; }
.lr-sub { font-size: 11px; opacity: .7; margin-top: 6px; max-width: 80px; line-height: 1.3; }

/* ============================================================
   SERVICE PAGE
   ============================================================ */
.svc-icons-art { gap: 20px; }
.svc-icon-float {
  width: 68px; height: 68px; border-radius: 20px;
  background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  position: absolute;
}
.svc-i1 { top: 10%; left: 10%; }
.svc-i2 { top: 5%; right: 15%; }
.svc-i3 { bottom: 15%; left: 22%; }
.svc-center-badge {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 16px 40px rgba(239,75,44,.4);
}
.svc-center-badge span { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; }
.svc-center-badge small { font-size: 11px; opacity: .85; letter-spacing: .5px; }

.svc-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.svc-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-card-ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.svc-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 50px;
  margin-bottom: 12px;
}
.svc-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.svc-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 30px; left: 18%; right: 18%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.step p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; max-width: 240px; margin: 0 auto; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-val  { display: block; font-family: var(--font-display); font-weight: 700; font-size: 40px; color: #fff; line-height: 1; }
.stat-label { display: block; font-size: 14px; color: rgba(255,255,255,.75); margin-top: 8px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-img {
  width: 88%;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.18));
  margin: 0 auto;
  display: block;
}

.about-card-float {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  position: absolute; bottom: 10%; left: 0;
}
.about-card-float div { display: flex; flex-direction: column; }
.about-card-float strong { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1; }
.about-card-float span  { font-size: 12px; color: var(--muted); }
.about-year-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 130px; height: 130px;
  min-width: 130px; min-height: 130px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff; box-shadow: 0 16px 40px rgba(239,75,44,.4);
  position: absolute; bottom: 5%; right: 0;
  text-align: center; padding: 0;
}
.ayb-num { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; }
.ayb-sub { font-size: 10px; opacity: .85; margin-top: 4px; max-width: 80px; line-height: 1.3; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.story-img-frame {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.story-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.story-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 8px 18px; border-radius: 50px;
}
.about-story-text h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 0 0 20px;
}
.about-story-text p {
  font-size: 14px; color: var(--ink-soft); line-height: 1.75; margin: 0 0 14px;
}
.story-stats { display: flex; gap: 32px; margin-top: 28px; }
.ss-item { text-align: center; }
.ss-item strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--primary); }
.ss-item span   { font-size: 13px; color: var(--muted); }

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.mv-card {
  border-radius: 20px; padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}
.mv-card--mission { background: #fff; }
.mv-card--vision  { background: #fff; }
.mv-card--values  { background: #fff; }
.mv-ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--cream-soft); display: grid; place-items: center;
  color: var(--primary); margin-bottom: 18px;
}
.mv-card--vision .mv-ico  { color: var(--accent); }
.mv-card--values .mv-ico  { color: #3bbf7a; }
.mv-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 12px; }
.mv-card p  { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.mv-list { list-style: none; padding: 0; margin: 0; }
.mv-list li {
  font-size: 13px; color: var(--ink-soft);
  padding: 6px 0 6px 20px; position: relative;
  border-bottom: 1px solid #f4ede9;
}
.mv-list li:last-child { border-bottom: none; }
.mv-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: 20px; padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
}
.team-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; }
.team-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.team-card p { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #f0e6e1;
}
.contact-row:last-of-type { border-bottom: none; }
.contact-ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  margin-top: 2px;
}
.contact-row strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-row p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.contact-row a { color: var(--primary); }
.contact-map { border-radius: var(--radius); overflow: hidden; }

/* ============================================================
   RESPONSIVE — inner pages
   ============================================================ */
@media (max-width: 900px) {
  .svc-cards  { grid-template-columns: repeat(2,1fr); }
  .team-grid  { grid-template-columns: repeat(2,1fr); }
  .mv-grid    { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Page hero */
  .page-hero { padding: 40px 0 50px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-art   { display: none; }
  .page-hero-copy h1 { font-size: clamp(30px, 7vw, 42px); }
  .page-hero-copy p { max-width: 100%; }

  /* Offer page */
  .offers-grid   { grid-template-columns: 1fr; }
  .offers-col    { grid-template-rows: auto auto; }
  .coupons-grid  { grid-template-columns: 1fr; }
  .loyalty-banner { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
  .loyalty-graphic { display: none; }
  .loyalty-ring  { display: none; }
  .loyalty-text h3 { font-size: 26px; }

  /* Service page */
  .steps         { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .stats-row     { grid-template-columns: repeat(2,1fr); }
  .svc-cards     { grid-template-columns: 1fr; }

  /* About page */
  .about-story-img  { display: none; }
  .about-story-text h2 { font-size: 26px; }
  .story-stats      { flex-wrap: wrap; gap: 16px; }
  .ss-item          { min-width: 80px; }
  .mv-grid          { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item { padding: 14px 8px; }
  .stat-val  { font-size: 30px; }
  .offer-card h3 { font-size: 24px; }
  .offer-card h3 span { font-size: 30px; }
  .coupon-left { width: 70px; flex: 0 0 70px; font-size: 13px; }
}

/* ============================================================
   AUTH PAGES (Login & Register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-card {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 56px;
  background: #fff;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.auth-brand { margin-bottom: 32px; }
.auth-brand p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.auth-logo { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--ink); }
.auth-logo b { color: var(--primary); }

.auth-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  font-size: 13.5px; font-weight: 500;
  margin-bottom: 22px;
}
.auth-alert--error { background: #fef2f2; color: #c0392b; border: 1px solid #fecaca; }

.auth-form { display: flex; flex-direction: column; gap: 20px; }

.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field label {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.auth-forgot { font-size: 12.5px; font-weight: 500; color: var(--primary); }
.auth-forgot:hover { text-decoration: underline; }

.auth-input-wrap {
  position: relative; display: flex; align-items: center;
}
.auth-input-wrap > svg {
  position: absolute; left: 14px; color: var(--muted); pointer-events: none; flex-shrink: 0;
}
.auth-input-wrap input {
  width: 100%; height: 48px;
  border: 1.5px solid #e8ddd9;
  border-radius: 12px;
  padding: 0 44px 0 44px;
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  background: var(--cream-soft);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.auth-input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239,75,44,.1);
  background: #fff;
}
.auth-input-wrap input::placeholder { color: #bbb; }
.toggle-pw {
  position: absolute; right: 14px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); display: grid; place-items: center; padding: 0;
}
.toggle-pw:hover { color: var(--ink); }

.pw-strength-bar {
  height: 4px; background: #f0e6e1; border-radius: 4px;
  overflow: hidden; margin-top: 6px;
}
.pw-strength-bar div {
  height: 100%; width: 0; border-radius: 4px;
  transition: width .3s ease, background .3s ease;
}
.pw-label { font-size: 11.5px; font-weight: 600; margin-top: 2px; }

.auth-remember, .auth-terms { margin-top: -4px; }
.auth-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--ink-soft); }
.auth-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--primary); width: 15px; height: 15px; flex-shrink: 0; }
.auth-terms a { color: var(--primary); }

.auth-submit {
  width: 100%; justify-content: center;
  height: 50px; font-size: 15px; border-radius: 12px;
  margin-top: 4px;
}

.auth-switch {
  text-align: center; margin-top: 24px;
  font-size: 13.5px; color: var(--muted);
}
.auth-switch a { color: var(--primary); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* right visual panel */
.auth-visual {
  background: linear-gradient(135deg, var(--cream) 40%, #fbd9cc);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-visual-inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 40px; text-align: center;
}
.auth-food-img {
  width: 320px; max-width: 80%;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.2));
  margin-bottom: 36px;
}
.auth-quote {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border-radius: 16px; padding: 20px 28px;
  max-width: 320px;
}
.auth-quote p { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 8px; line-height: 1.45; }
.auth-quote span { font-size: 12.5px; color: var(--muted); }

/* user menu in header */
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  display: grid; place-items: center;
  overflow: hidden; flex-shrink: 0;
}
/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.45);
}
.cart-sidebar-overlay.open { display: block; }

.cart-sidebar {
  position: fixed; top: 0; right: -420px; bottom: 0; z-index: 301;
  width: 400px; max-width: 100vw;
  background: #fff;
  display: flex; flex-direction: column;
  transition: right .3s ease;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.cart-sidebar.open { right: 0; }
body.sidebar-open { overflow: hidden; }

.csb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid #f0e6e1;
  flex-shrink: 0;
}
.csb-header h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; color: var(--ink); }
.csb-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--cream-soft); cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  transition: background .15s;
}
.csb-close:hover { background: var(--primary-soft); color: var(--primary); }

.csb-items { flex: 1; overflow-y: auto; padding: 8px 0; }

.csb-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid #f8f0ed;
  transition: background .15s;
}
.csb-item:hover { background: var(--cream-soft); }
.csb-thumb {
  width: 60px; height: 60px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
  background: var(--primary-soft);
}
.csb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csb-thumb-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--primary);
}
.csb-info { flex: 1; min-width: 0; }
.csb-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.csb-name small { font-weight: 400; color: var(--muted); font-size: 12px; }
.csb-price { display: block; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.csb-qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid #f0e6e1; border-radius: 50px; overflow: hidden;
}
.csb-qty button {
  width: 30px; height: 28px; border: none; background: transparent; cursor: pointer;
  font-size: 16px; color: var(--ink); display: grid; place-items: center;
  transition: background .15s;
}
.csb-qty button:hover { background: var(--primary-soft); color: var(--primary); }
.csb-qty span { min-width: 28px; text-align: center; font-size: 13px; font-weight: 600; }
.csb-del {
  background: none; border: none; cursor: pointer; color: var(--muted); padding: 6px;
  border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  transition: color .15s, background .15s;
}
.csb-del:hover { color: var(--primary); background: var(--primary-soft); }

.csb-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 14px; color: var(--muted); text-align: center; padding: 40px;
}
.csb-empty p { margin: 0; font-size: 15px; font-weight: 500; }
.csb-empty a { color: var(--primary); font-weight: 600; font-size: 14px; }

.csb-footer {
  padding: 16px 20px; border-top: 1px solid #f0e6e1;
  flex-shrink: 0; background: #fff;
}
.csb-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.csb-total span { font-size: 14px; color: var(--muted); }
.csb-total strong { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.csb-hint { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.csb-hint--free { color: #16a34a !important; font-weight: 600; }
.csb-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; border-radius: 12px;
  background: var(--primary); color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: background .18s, transform .18s; margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(239,75,44,.3);
}
.csb-checkout-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.csb-view-cart {
  display: block; text-align: center; font-size: 13.5px;
  font-weight: 600; color: var(--ink-soft);
  padding: 8px; border-radius: 8px; transition: color .15s, background .15s;
}
.csb-view-cart:hover { color: var(--primary); background: var(--cream-soft); }

/* ============================================================
   BOTTOM NAV + MOBILE SEARCH
   ============================================================ */
.bottom-nav { display: none; }
.mobile-search-overlay { display: none; }
.nav-mobile-only { display: none; }
.nav-desktop-only { display: flex; }

@media (max-width: 768px) {
  .nav-mobile-only  { display: flex !important; align-items: center; }
  .nav-desktop-only { display: none !important; }
  #mobileSearchBtn  { order: -1; }
  .user-dropdown, .nav-mobile-icon:not(#mobileSearchBtn) { order: 0; }

  /* Bottom nav */
  .bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: #fff;
    border-top: 1px solid #f0e6e1;
    box-shadow: 0 -4px 16px rgba(0,0,0,.07);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bn-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px; padding: 10px 4px;
    color: var(--muted); text-decoration: none;
    font-family: var(--font-body); font-size: 10px; font-weight: 500;
    transition: color .18s;
    position: relative;
  }
  .bn-item svg { transition: transform .18s; }
  .bn-item.active { color: var(--primary); }
  .bn-item.active svg { transform: scale(1.1); }
  .bn-item.active::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%;
    height: 3px; background: var(--primary); border-radius: 0 0 4px 4px;
  }
  .bn-item:hover { color: var(--primary); }

  .bn-cart-wrap { position: relative; display: inline-flex; }
  .bn-cart-count {
    position: absolute; top: -6px; right: -8px;
    min-width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary); color: #fff;
    font-size: 10px; font-weight: 700;
    display: none; align-items: center; justify-content: center; padding: 0 3px;
  }
  .bn-cart-count.show { display: flex; }

  /* Extra body padding for bottom nav */
  body { padding-bottom: 64px; }

  /* Mobile search icon button */
  .nav-mobile-icon {
    background: none; border: none; cursor: pointer;
    color: var(--ink); padding: 6px;
    display: grid; place-items: center;
  }
  .nav-mobile-icon:hover { color: var(--primary); }

  /* Mobile search overlay */
  .mobile-search-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.45);
  }
  .mobile-search-overlay.open { display: block; animation: fadeIn .18s ease; }
  @keyframes fadeIn { from{opacity:0} to{opacity:1} }

  .mobile-search-box {
    position: absolute; top: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    overflow: hidden;
    animation: slideDown .22s ease;
  }
  @keyframes slideDown { from{transform:translateY(-20px);opacity:0} to{transform:translateY(0);opacity:1} }

  .mobile-search-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0e6e1;
  }
  .mobile-search-bar input {
    flex: 1; height: 44px; border: none; outline: none;
    font-family: var(--font-body); font-size: 15px; color: var(--ink);
    background: transparent;
  }
  .mobile-search-bar input::placeholder { color: #bbb; }
  .mobile-search-bar button {
    width: 36px; height: 36px; border: none; background: var(--cream-soft);
    border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink);
    flex-shrink: 0;
  }

  /* Search results (mobile-specific only) */
  .search-results { max-height: 60vh; overflow-y: auto; }
  .sr-spinner {
    width: 28px; height: 28px; border-radius: 50%;
    border: 3px solid var(--primary-soft); border-top-color: var(--primary);
    animation: spin .7s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* user dropdown */
.user-dropdown { position: relative; }

.user-dp-trigger {
  width: 38px; height: 38px; border-radius: 50%;
  border: none; outline: none;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  cursor: pointer; padding: 0; flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.user-dp-trigger:hover,
.user-dp-trigger:focus,
.user-dp-trigger:active { border: none; outline: none; box-shadow: none; }
.user-dp-trigger img {
  display: block;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0; left: 0;
}
.user-dp-trigger:has(img) {
  position: relative;
  background: transparent;
}

.user-dp-menu {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border-radius: 14px; min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,.14); z-index: 200;
  overflow: hidden; border: 1px solid #f0e6e1;
}
.user-dp-menu.open { display: block; animation: dp-in .15s ease; }
@keyframes dp-in { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

.user-dp-header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f0e6e1;
  background: var(--cream-soft);
}
.user-dp-header strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.user-dp-header small  { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.user-dp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft); transition: background .15s;
}
.user-dp-item:hover { background: var(--cream-soft); color: var(--ink); }
.user-dp-divider { height: 1px; background: #f0e6e1; margin: 4px 0; }
.user-dp-logout { color: var(--primary); }
.user-dp-logout:hover { background: #fff0ee; }

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; height: 48px;
  background: #fff; color: #3c4043;
  border: 1.5px solid #dadce0;
  border-radius: 12px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.btn-google:hover { background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.btn-google--disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 4px 0;
  color: var(--muted); font-size: 12.5px;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: #f0e6e1; }

@media (max-width: 768px) {
  .auth-page    { grid-template-columns: 1fr; }
  .auth-visual  { display: none; }
  .auth-card    { padding: 40px 20px; max-width: 100%; }
}
@media (max-width: 480px) {
  .auth-card    { padding: 32px 16px; }
}

/* ============================================================
   PROFILE & MY ORDERS PAGES
   ============================================================ */
.profile-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 40px;
}
.profile-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.profile-avatar-wrap {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 32px;
  display: grid; place-items: center; overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 4px; }
.profile-email { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.provider-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 50px; background: var(--cream-soft); color: var(--ink-soft);
}
.profile-edit-form { display: flex; gap: 10px; margin-top: 20px; }
.profile-edit-form input {
  flex: 1; height: 42px; border: 1.5px solid #e8ddd9; border-radius: 10px;
  padding: 0 14px; font-family: var(--font-body); font-size: 14px;
  outline: none; background: var(--cream-soft);
}
.profile-edit-form input:focus { border-color: var(--primary); background: #fff; }
.profile-edit-form button {
  height: 42px; padding: 0 20px; background: var(--primary); color: #fff;
  border: none; border-radius: 10px; font-weight: 600; font-size: 13px; cursor: pointer;
}
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--cream-soft); border-radius: 14px; padding: 18px;
  text-align: center;
}
.stat-card strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--primary); }
.stat-card span { font-size: 12px; color: var(--muted); }

.my-orders-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.my-order-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1.5px solid transparent; transition: border-color .2s;
}
.my-order-card:hover { border-color: var(--primary-soft); }
.moc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid #f4ede9;
}
.moc-number { font-family: monospace; font-weight: 700; font-size: 15px; color: var(--ink); }
.moc-date   { font-size: 12px; color: var(--muted); }
.order-status-badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 600; color: #fff; text-transform: capitalize;
}
.status-received  { background: #f5a623; }
.status-preparing { background: #3b82f6; }
.status-ready     { background: #3bbf7a; }
.status-delivered { background: #16a34a; }
.status-cancelled { background: #ef4b2c; }
@keyframes status-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.status-updated { animation: status-pulse .5s ease; }
.moc-items { padding: 14px 22px; font-size: 13.5px; color: var(--ink-soft); }
.moc-items span { margin-right: 14px; }
.moc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; background: var(--cream-soft);
}
.moc-total { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.moc-pay   { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.moc-view  { font-size: 13px; font-weight: 600; color: var(--primary); }
.moc-view:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
  .stat-cards   { grid-template-columns: 1fr 1fr; }
  .profile-card { padding: 24px 20px; }
  .moc-header   { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .moc-items    { padding: 12px 16px; }
  .moc-footer   { padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
  .profile-edit-form { flex-direction: column; }
  .profile-edit-form input { width: 100%; }
  .profile-edit-form button { width: 100%; height: 46px; }
}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .moc-number { font-size: 13px; }
}
