/* =============================================
   轻麦日记 QingMai Diary — 减脂面包店
   肯豆日记风格：清新 · 健康 · 透明 · 温暖
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&display=swap');

/* ===== Tokens ===== */
:root {
  /* Natural Warm Palette */
  --bg: #FFFBF6;
  --surface: #FFFFFF;
  --brand: #7A9B6E;
  --brand-light: #A3C298;
  --brand-dark: #5C7A52;
  --brand-pale: #EDF4EA;
  --accent: #D4926A;
  --accent-light: #F0C8AD;
  --text: #3C3228;
  --text-secondary: #6B5F54;
  --text-muted: #9C9288;
  --border: #EBE3D9;
  --cal-badge: #F5E6D8;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;

  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem;
  --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem;
  --text-3xl: 2rem; --text-4xl: 2.5rem;

  --shadow-sm: 0 1px 4px rgba(60,50,40,0.05);
  --shadow-md: 0 4px 16px rgba(60,50,40,0.07);
  --shadow-lg: 0 8px 32px rgba(60,50,40,0.09);

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 150ms; --base: 250ms;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--text-base); line-height: 1.7;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

h1, h2, h3 { font-family: "Noto Serif SC", "Noto Sans SC", serif; color: var(--text); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: var(--text-3xl); font-weight: 700; }
h3 { font-size: var(--text-xl); font-weight: 600; }

::selection { background: var(--brand-light); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ===== Navigation — Clean & Light ===== */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,251,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-8); height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
nav .logo {
  font-family: "Noto Serif SC", serif; font-size: 1.5rem;
  font-weight: 700; color: var(--brand-dark); letter-spacing: 3px;
  text-decoration: none;
}
nav .nav-links { display: flex; align-items: center; gap: var(--space-1); }
nav .nav-links a {
  text-decoration: none; color: var(--text-secondary);
  font-weight: 500; font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4); border-radius: var(--r-full);
  transition: all var(--fast);
}
nav .nav-links a:hover { color: var(--brand-dark); background: var(--brand-pale); }
nav .lang-btn {
  background: var(--brand); color: #fff; border: none;
  padding: 6px 14px; border-radius: var(--r-full); cursor: pointer;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 1px;
  min-width: 44px; min-height: 44px; transition: background var(--fast);
}
nav .lang-btn:hover { background: var(--brand-dark); }

/* ===== Hero — Fresh & Airy ===== */
.hero {
  min-height: 90vh; display: flex; align-items: center; justify-content: center;
  padding: 100px var(--space-8) var(--space-16);
  background:
    linear-gradient(180deg, #F7F3EC 0%, #FFFBF6 40%, #FFFBF6 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(ellipse at center, var(--brand-pale) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12);
  align-items: center; position: relative; z-index: 2;
}
.hero-text .badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--brand-pale); color: var(--brand-dark);
  padding: var(--space-2) var(--space-5); border-radius: var(--r-full);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 1px;
  margin-bottom: var(--space-6);
}
.hero-text h1 { margin-bottom: var(--space-4); }
.hero-text h1 em { font-style: normal; color: var(--brand); }
.hero-text .subtitle { color: var(--text-secondary); font-size: var(--text-lg); margin-bottom: var(--space-8); max-width: 420px; }
.hero-text .kcal-info {
  display: flex; gap: var(--space-6); margin-bottom: var(--space-8);
  font-size: var(--text-sm); color: var(--text-muted);
}
.hero-text .kcal-info span { display: flex; align-items: center; gap: 6px; }
.hero-text .kcal-info strong { color: var(--brand-dark); font-size: var(--text-xl); }
.hero-text .cta {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--brand); color: #fff; padding: var(--space-4) var(--space-10);
  border-radius: var(--r-full); text-decoration: none;
  font-size: var(--text-base); font-weight: 700; letter-spacing: 0.5px;
  transition: all var(--fast); box-shadow: 0 4px 16px rgba(122,155,110,0.3);
}
.hero-text .cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,155,110,0.4); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual .hero-img {
  width: 100%; max-width: 440px; aspect-ratio: 1;
  object-fit: cover; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* ===== Section ===== */
section { padding: var(--space-20) var(--space-8); }
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header .tag {
  display: inline-block; color: var(--accent); font-weight: 600;
  font-size: var(--text-sm); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.section-header h2 { margin-bottom: var(--space-2); }
.section-header .sub { color: var(--text-muted); font-size: var(--text-base); }

/* ===== Menu Grid ===== */
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6); max-width: 1200px; margin: 0 auto;
}
.menu-card {
  background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--base) var(--ease);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  border: 1px solid var(--border); position: relative;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-light); }
.menu-card .card-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform var(--base) var(--ease); }
.menu-card:hover .card-img { transform: scale(1.04); }
.menu-card .card-body { padding: var(--space-5) var(--space-5) var(--space-6); flex: 1; display: flex; flex-direction: column; }
.menu-card .cal-badge {
  position: absolute; top: var(--space-3); right: var(--space-3);
  background: rgba(255,255,255,0.92); color: var(--accent);
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: 700; z-index: 2;
  backdrop-filter: blur(4px); letter-spacing: 0.5px;
}
.menu-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.menu-card .desc { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-4); flex: 1; }
.menu-card .price-row { display: flex; align-items: baseline; justify-content: space-between; }
.menu-card .price { font-size: 1.6rem; font-weight: 700; color: var(--text); }
.menu-card .price .yen { color: var(--accent); font-size: 0.9rem; margin-right: 1px; }
.menu-card .price small { font-size: var(--text-xs); color: var(--text-muted); font-weight: 400; }

/* Category Tabs */
.cat-tabs { display: flex; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-10); flex-wrap: wrap; }
.cat-tab {
  padding: var(--space-2) var(--space-5); border-radius: var(--r-full);
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text-secondary); font-size: var(--text-sm);
  font-weight: 600; cursor: pointer; transition: all var(--fast);
  font-family: inherit; min-height: 44px;
}
.cat-tab:hover { border-color: var(--brand-light); color: var(--brand-dark); }
.cat-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ===== About — Warm White Block ===== */
.about-section { background: #fff; }
.about { max-width: 720px; margin: 0 auto; text-align: center; }
.about p { color: var(--text-secondary); font-size: var(--text-base); margin-bottom: var(--space-3); line-height: 1.8; }
.about .values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
.value-item { text-align: center; }
.value-item .value-icon { font-size: 2.2rem; margin-bottom: var(--space-2); }
.value-item .value-title { font-weight: 700; color: var(--text); font-size: var(--text-sm); margin-bottom: 2px; }
.value-item .value-desc { font-size: var(--text-xs); color: var(--text-muted); }

/* ===== Form ===== */
.order-section { background: var(--brand-pale); }
.form-wrapper { max-width: 600px; margin: 0 auto; }
.form-card {
  background: var(--surface); border-radius: var(--r-xl);
  padding: var(--space-10) var(--space-8); box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: var(--text-2xl); margin-bottom: var(--space-8); text-align: center; }
.form-group { margin-bottom: var(--space-5); }
.form-group label { display: block; font-weight: 600; color: var(--text); margin-bottom: var(--space-2); font-size: var(--text-sm); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: var(--text-base); font-family: inherit;
  background: var(--bg); color: var(--text); outline: none;
  min-height: 48px; transition: border-color var(--fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122,155,110,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.btn-submit {
  width: 100%; padding: var(--space-4); background: var(--brand); color: #fff;
  border: none; border-radius: var(--r-full); font-size: var(--text-base);
  font-weight: 700; cursor: pointer; letter-spacing: 0.5px;
  transition: all var(--fast); font-family: inherit; min-height: 52px;
  box-shadow: 0 4px 16px rgba(122,155,110,0.25);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,155,110,0.35); }
.btn-submit:active { transform: scale(0.97); }

/* ===== Footer ===== */
footer {
  text-align: center; padding: var(--space-8);
  background: #fff; color: var(--text-muted); font-size: var(--text-sm);
  border-top: 1px solid var(--border);
}
footer a { color: var(--brand-dark); text-decoration: none; font-weight: 500; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: var(--space-8); left: 50%; transform: translateX(-50%);
  background: var(--text); color: #fff; padding: var(--space-3) var(--space-6);
  border-radius: var(--r-full); font-weight: 600; z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--base);
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; }

/* ===== Product Detail ===== */
.product-hero {
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--space-6) var(--space-12);
  background: linear-gradient(180deg, #F7F3EC, var(--bg));
}
.product-hero .p-img {
  width: 220px; height: 220px; object-fit: cover; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); border: 3px solid #fff;
}
.product-hero .p-name { font-size: var(--text-3xl); margin: var(--space-5) 0 var(--space-2); }
.product-hero .p-price { color: var(--accent); font-size: var(--text-2xl); font-weight: 700; }
.product-hero .p-price small { color: var(--text-muted); font-size: var(--text-base); font-weight: 400; }
.product-hero .p-kcal {
  display: inline-block; background: var(--brand-pale); color: var(--brand-dark);
  padding: 4px 16px; border-radius: var(--r-full);
  font-size: var(--text-sm); font-weight: 700; margin-top: var(--space-3);
}
.product-detail {
  max-width: 760px; margin: 0 auto; padding: var(--space-8) var(--space-6) var(--space-20);
}
.product-detail .block { margin-bottom: var(--space-10); }
.product-detail .block h3 {
  font-size: var(--text-lg); color: var(--brand-dark);
  margin-bottom: var(--space-3); padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--brand-pale); display: inline-block;
}
.product-detail .block p, .product-detail .block li { color: var(--text-secondary); line-height: 1.8; }
.product-detail .block ul { list-style: none; padding: 0; }
.product-detail .block ul li { padding: var(--space-2) 0 var(--space-2) var(--space-5); position: relative; }
.product-detail .block ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-light); }
.back-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--brand-dark); text-decoration: none; font-weight: 600;
  margin-bottom: var(--space-6); min-height: 44px; padding: var(--space-2) 0;
  transition: gap var(--fast);
}
.back-link:hover { gap: 8px; }
.pairing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--space-4); }
.pairing-card {
  background: var(--surface); border-radius: var(--r-md); padding: var(--space-4);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: all var(--fast); display: flex; align-items: center; gap: var(--space-3);
  border: 1px solid var(--border);
}
.pairing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--brand-light); }
.pairing-card .pe-img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; }
.pairing-card .pe-info { flex: 1; }
.pairing-card .pe-name { font-weight: 600; color: var(--text); font-size: var(--text-sm); }
.pairing-card .pe-price { font-size: var(--text-xs); color: var(--text-muted); }

/* ===== Cart ===== */
.cart-icon-wrap {
  position: relative; display: flex; align-items: center;
  text-decoration: none; color: var(--text-secondary);
  padding: var(--space-2) var(--space-4); border-radius: var(--r-full);
  transition: all var(--fast); cursor: pointer; background: none; border: none;
  font-family: inherit; min-height: 44px;
}
.cart-icon-wrap:hover { color: var(--brand-dark); background: var(--brand-pale); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  line-height: 1;
}

/* Add to Cart Btn */
.btn-add-cart {
  display: inline-flex; align-items: center; gap: var(--space-1);
  background: var(--brand-pale); color: var(--brand-dark);
  border: 1.5px solid var(--brand-light); padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full); font-size: var(--text-sm); font-weight: 700;
  cursor: pointer; transition: all var(--fast); font-family: inherit;
  min-height: 40px; white-space: nowrap;
}
.btn-add-cart:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-add-cart:active { transform: scale(0.95); }
.btn-add-cart.in-cart { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Slide-out Cart Panel */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--base);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-panel {
  position: fixed; top: 0; right: 0; width: 400px; max-width: 90vw; height: 100vh;
  background: #fff; z-index: 201; box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--base) var(--ease);
}
.cart-panel.open { transform: translateX(0); }
.cart-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border);
}
.cart-panel-header h3 { font-size: var(--text-lg); }
.cart-close {
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--text-muted); padding: var(--space-1); min-width: 44px; min-height: 44px;
}
.cart-panel-items { flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-6); }
.cart-panel-empty { text-align: center; padding: var(--space-12) var(--space-6); color: var(--text-muted); }
.cart-item {
  display: flex; gap: var(--space-3); padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border); align-items: center;
}
.cart-item-img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: var(--text-sm); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-kcal { font-size: var(--text-xs); color: var(--text-muted); }
.cart-item-price { font-weight: 700; color: var(--accent); }
.cart-item-qty { display: flex; align-items: center; gap: var(--space-1); }
.cart-item-qty button {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; font-size: 1rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all var(--fast);
}
.cart-item-qty button:hover { border-color: var(--brand); color: var(--brand); }
.cart-item-qty span { width: 24px; text-align: center; font-weight: 600; font-size: var(--text-sm); }
.cart-item-remove {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 1.2rem; padding: var(--space-1); min-width: 32px; min-height: 32px;
}
.cart-item-remove:hover { color: #C44536; }
.cart-panel-footer {
  padding: var(--space-5) var(--space-6); border-top: 2px solid var(--border);
}
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-4); }
.cart-total-label { font-weight: 600; color: var(--text); }
.cart-total-price { font-size: var(--text-2xl); font-weight: 900; color: var(--accent); }
.btn-checkout {
  width: 100%; padding: var(--space-3); background: var(--brand); color: #fff;
  border: none; border-radius: var(--r-full); font-size: var(--text-base);
  font-weight: 700; cursor: pointer; font-family: inherit; min-height: 48px;
  transition: all var(--fast); text-decoration: none; display: flex;
  align-items: center; justify-content: center; gap: var(--space-2);
}
.btn-checkout:hover { background: var(--brand-dark); box-shadow: 0 4px 16px rgba(122,155,110,0.3); }

/* Cart Page */
.cart-page { max-width: 800px; margin: 0 auto; padding: 120px var(--space-6) var(--space-16); }
.cart-page h2 { margin-bottom: var(--space-8); }
.cart-page-empty { text-align: center; padding: var(--space-16) 0; color: var(--text-muted); }
.cart-page-item {
  display: flex; gap: var(--space-4); padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border); align-items: center;
}
.cart-page-item .cart-item-img { width: 80px; height: 80px; }
.cart-page-total { text-align: right; margin-top: var(--space-6); }
.cart-page-total .big-price { font-size: var(--text-3xl); font-weight: 900; color: var(--accent); }
.cart-actions { display: flex; gap: var(--space-4); justify-content: flex-end; margin-top: var(--space-6); }
.btn-outline {
  padding: var(--space-3) var(--space-6); background: #fff; color: var(--brand-dark);
  border: 2px solid var(--brand); border-radius: var(--r-full);
  font-weight: 700; cursor: pointer; font-family: inherit; text-decoration: none;
  transition: all var(--fast); min-height: 48px; display: inline-flex; align-items: center;
}
.btn-outline:hover { background: var(--brand-pale); }

/* ===== Order List Layout ===== */
.order-layout { display: flex; gap: var(--space-6); max-width: 1300px; margin: 0 auto; align-items: flex-start; }
.order-menu { flex: 1; min-width: 0; }
.order-sidebar { width: 360px; flex-shrink: 0; position: sticky; top: 80px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.order-sidebar-header { padding: var(--space-5) var(--space-5) var(--space-3); border-bottom: 2px solid var(--brand); display: flex; align-items: center; justify-content: space-between; }
.order-sidebar-header h3 { font-size: var(--text-lg); display: flex; align-items: center; gap: var(--space-2); }
.order-sidebar-header .item-count { background: var(--brand); color: #fff; width: 24px; height: 24px; border-radius: 50%; font-size: var(--text-xs); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.order-sidebar-items { flex: 1; overflow-y: auto; padding: var(--space-3) var(--space-5); }
.order-sidebar-empty { text-align: center; padding: var(--space-10) var(--space-4); color: var(--text-muted); font-size: var(--text-sm); }
.order-sidebar-footer { padding: var(--space-4) var(--space-5); border-top: 2px solid var(--border); background: var(--bg); }
.order-sidebar-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-3); }
.order-sidebar-total .total-label { font-weight: 600; color: var(--text); }
.order-sidebar-total .total-price { font-size: var(--text-2xl); font-weight: 900; color: var(--accent); }
.btn-order-submit { width: 100%; padding: var(--space-3); background: var(--brand); color: #fff; border: none; border-radius: var(--r-full); font-size: var(--text-base); font-weight: 700; cursor: pointer; font-family: inherit; min-height: 48px; transition: all var(--fast); }
.btn-order-submit:hover { background: var(--brand-dark); box-shadow: 0 4px 16px rgba(122,155,110,0.3); }

/* Order sidebar item row */
.order-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.order-row:last-child { border-bottom: none; }
.order-row-info { flex: 1; min-width: 0; }
.order-row-name { font-weight: 600; font-size: var(--text-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-row-kcal { font-size: var(--text-xs); color: var(--text-muted); }
.order-row-price { font-weight: 700; color: var(--accent); font-size: var(--text-sm); }
.order-row-qty { display: flex; align-items: center; gap: 2px; }
.order-row-qty button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: all var(--fast); }
.order-row-qty button:hover { border-color: var(--brand); color: var(--brand); }
.order-row-qty span { width: 22px; text-align: center; font-weight: 700; font-size: var(--text-sm); }
.order-row-del { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 2px; min-width: 28px; min-height: 28px; }
.order-row-del:hover { color: #C44536; }

/* Qty controls on cards */
.qty-ctrl { display: flex; align-items: center; gap: 1px; }
.qty-ctrl button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; transition: all var(--fast); font-family: inherit; }
.qty-ctrl button:hover { border-color: var(--brand); color: var(--brand); }
.qty-ctrl .qty-num { width: 28px; text-align: center; font-weight: 700; font-size: var(--text-sm); }

/* Bottom order bar (mobile) */
.order-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 2px solid var(--brand); z-index: 150; padding: var(--space-3) var(--space-5); box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
.order-bottom-bar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 600px; margin: 0 auto; }
.order-bottom-info { display: flex; align-items: baseline; gap: var(--space-3); }
.order-bottom-count { background: var(--accent); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.order-bottom-total { font-size: var(--text-lg); font-weight: 900; color: var(--accent); }
.btn-order-bottom { padding: var(--space-2) var(--space-6); background: var(--brand); color: #fff; border: none; border-radius: var(--r-full); font-size: var(--text-sm); font-weight: 700; cursor: pointer; font-family: inherit; min-height: 44px; }

/* ===== Animations ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .order-sidebar { display: none; }
  .order-bottom-bar { display: block; }
}
@media (max-width: 800px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text .subtitle { max-width: 100%; }
  .hero-text .kcal-info { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual .hero-img { max-width: 280px; }
  .about .values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: var(--space-12) var(--space-4); }
  .menu-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .form-row { grid-template-columns: 1fr; }
  nav { padding: 0 var(--space-4); }
}
