/**
 * KeyFood - Design System Tokens & Base Styles (G1)
 * Chuẩn nhận diện: Xanh lá đậm (#173F35), Kem gốm (#F6F1E7), Trắng ấm (#FFFDFA).
 * Font chữ: Sử dụng kiểu chữ "Coolvetica Rg" làm chủ đạo toàn bộ website; các kiểu khác chỉ sử dụng cho những trường hợp đặc biệt.
 */

/* ==========================================================================
   1. Typography (@font-face Coolvetica Rg - Kiểu chữ chính)
   ========================================================================== */

/* Coolvetica Rg (Font chữ chính thức tiêu chuẩn toàn hệ thống) */
@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Ánh xạ font-family "Coolvetica" trỏ về Coolvetica Rg để tương thích tuyệt đối */
@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Coolvetica Rg Italic (Trường hợp đặc biệt: chú thích, slogan, nhấn mạnh nghiêng) */
@font-face {
  font-family: "Coolvetica Rg";
  src: url("../fonts/Coolvetica Rg It.otf") format("opentype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Rg It.otf") format("opentype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Các biến thể khác chỉ sử dụng cho những trường hợp đặc biệt:
   ========================================================================== */

/* Coolvetica Heavy Compressed (Chỉ dùng cho trường hợp đặc biệt) */
@font-face {
  font-family: "Coolvetica Heavy";
  src: url("../fonts/Coolvetica Hv Comp.otf") format("opentype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

/* Coolvetica Regular Condensed (Chỉ dùng cho trường hợp đặc biệt) */
@font-face {
  font-family: "Coolvetica Condensed";
  src: url("../fonts/Coolvetica Rg Cond.otf") format("opentype");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* Coolvetica Regular Crammed (Chỉ dùng cho trường hợp đặc biệt) */
@font-face {
  font-family: "Coolvetica Crammed";
  src: url("../fonts/Coolvetica Rg Cram.otf") format("opentype");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Design Tokens
   ========================================================================== */
:root {
  /* Palette */
  --bep-green: #173F35;
  --bep-green-dark: #0F2D26;
  --bep-green-light: #225649;
  --bep-green-subtle: #EDF3F0;
  --bep-cream: #F6F1E7;
  --bep-cream-dark: #E6DCcb;
  --bep-cream-light: #FAF7F2;
  --bep-white: #FFFDFA;
  --bep-ink: #1B211D;
  --bep-ink-muted: #3D4842;
  --bep-ink-faint: #56635C;
  --bep-terracotta: #B85D19;
  --bep-terracotta-hover: #9E4D12;
  --bep-terracotta-subtle: #FDF3EB;

  /* Typography: Chuẩn "Coolvetica Rg" cho toàn bộ hệ thống; các kiểu khác chỉ dùng cho trường hợp đặc biệt */
  --font-family: "Coolvetica Rg", "Coolvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Coolvetica Rg", "Coolvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-condensed: "Coolvetica Rg", "Coolvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-crammed: "Coolvetica Rg", "Coolvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Biến thể dự phòng cho các trường hợp đặc biệt */
  --font-special-heavy: "Coolvetica Heavy", "Coolvetica Rg", "Coolvetica", sans-serif;
  --font-special-condensed: "Coolvetica Condensed", "Coolvetica Rg", "Coolvetica", sans-serif;
  --font-special-crammed: "Coolvetica Crammed", "Coolvetica Rg", "Coolvetica", sans-serif;

  --letter-spacing-body: 0.25px;
  --letter-spacing-title: 0.4px;

  /* Table wheel dimensions — Đảm bảo hiển thị trọn vẹn tại desktop 1280x720 mà không cắt tên */
  --table: 880px;
  --center: -170px;
  --orbit: 350px;
  --plate: 345px;
  --duration: 1100ms;
  --stage-height: 440px;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(23, 63, 53, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 63, 53, 0.08);
  --shadow-lg: 0 16px 40px rgba(23, 63, 53, 0.12);
  --container-desktop: 1200px;
}

/* Responsive Table Tokens */
@media (max-width: 991px) {
  :root {
    --table: 760px;
    --center: -150px;
    --orbit: 295px;
    --plate: 240px;
    --stage-height: 280px;
  }
}

@media (max-width: 600px) {
  :root {
    --table: 480px;
    --center: -105px;
    --orbit: 190px;
    --plate: 220px;
    --stage-height: 255px;
    --duration: 650ms;
  }
}

@media (max-width: 359px) {
  :root {
    --table: 420px;
    --center: -90px;
    --orbit: 175px;
    --plate: 195px;
    --stage-height: 240px;
    --duration: 650ms;
  }
}

/* ==========================================================================
   3. Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  font-family: var(--font-family);
  background-color: var(--bep-cream-light);
  color: var(--bep-ink);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  letter-spacing: var(--letter-spacing-body);
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
}

#main-content {
  overflow-x: clip;
  max-width: 100vw;
}

/* Lucide Web Icons */
.bep-icon,
svg.lucide {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  stroke-width: 2.2;
  display: inline-block;
  stroke: currentColor;
  fill: none;
}

/* Hiệu ứng 3D & Gương soi (Mirror Specular Shine) khi hover - Requirement 6 */
.card-3d-lift,
.menu-card,
.process-step-card,
.btn-primary-add,
.btn-card-add,
.btn-submit-sub,
.btn-spin-roulette,
.btn-cat-picker-open,
.btn-open-group-modal {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: perspective(800px) translateZ(0);
}

.menu-card:hover,
.process-step-card:hover {
  transform: perspective(800px) translateY(-5px) translateZ(10px);
  box-shadow: 0 16px 36px rgba(23, 63, 53, 0.16), 0 4px 12px rgba(23, 63, 53, 0.08);
}

/* Card Gói trả trước & Đặt theo nhóm: Tuyệt đối KHÔNG có hiệu ứng khi hover */
.plan-box,
.sub-config-box {
  transform: none !important;
  transition: none !important;
}

.plan-box:hover,
.sub-config-box:hover {
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.sub-config-box:hover {
  box-shadow: var(--shadow-md) !important;
}

.plan-box::after,
.sub-config-box::after {
  display: none !important;
}

/* ==========================================================================
   Thanh Thông Báo Chế Độ Thử Nghiệm G1 (Top Announcement Bar)
   ========================================================================== */
.top-announcement-bar {
  background: #112d26;
  color: #EDE8DF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  font-size: 13.5px;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-pill {
  display: inline-block;
  background: var(--bep-terracotta);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.announcement-text {
  font-weight: 500;
  color: #EDE8DF;
}

.announcement-text strong {
  color: #FFD285;
}

@media (max-width: 576px) {
  .top-announcement-bar {
    padding: 6px 12px;
    font-size: 12px;
  }
  .announcement-inner {
    gap: 6px;
  }
}

/* ==========================================================================
   KEYFOOD TACTILE BUTTON SYSTEM
   Hệ nút bấm tinh gọn, thanh thoát, không cạnh tranh thị giác với đĩa thức ăn
   ========================================================================== */

/* 1. Nút Xanh Lá Chính (Primary CTAs: Thêm vào giỏ, Xác nhận, Đặt hàng, v.v.) */
.btn-primary-add,
.btn-hero-add-cart,
.btn-submit-sub,
.btn-cat-picker-open,
.btn-open-group-modal,
.btn-modal-add-large,
.btn-goc-nhin-goto-menu,
.btn-concave-view-detail,
.btn-member-login,
#btn-blog-goto-menu,
#btn-cart-continue,
#btn-checkout-confirm,
#btn-finish-add-member,
#btn-save-inline-customer,
#btn-admin-confirm-order,
.btn-admin-quick-approve {
  position: relative;
  background: linear-gradient(180deg, #1d5244 0%, #173F35 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(19, 54, 45, 0.45) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 5px rgba(23, 63, 53, 0.2) !important;
  transform: translateY(0);
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s ease !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.btn-primary-add:hover:not(:disabled),
.btn-hero-add-cart:hover:not(:disabled),
.btn-submit-sub:hover:not(:disabled),
.btn-cat-picker-open:hover:not(:disabled),
.btn-open-group-modal:hover:not(:disabled),
.btn-modal-add-large:hover:not(:disabled),
.btn-goc-nhin-goto-menu:hover:not(:disabled),
.btn-concave-view-detail:hover:not(:disabled),
.btn-member-login:hover:not(:disabled),
#btn-blog-goto-menu:hover:not(:disabled),
#btn-cart-continue:hover:not(:disabled),
#btn-checkout-confirm:hover:not(:disabled),
#btn-finish-add-member:hover:not(:disabled),
#btn-save-inline-customer:hover:not(:disabled),
#btn-admin-confirm-order:hover:not(:disabled),
.btn-admin-quick-approve:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 10px rgba(23, 63, 53, 0.25) !important;
}

.btn-primary-add:active:not(:disabled),
.btn-hero-add-cart:active:not(:disabled),
.btn-submit-sub:active:not(:disabled),
.btn-cat-picker-open:active:not(:disabled),
.btn-open-group-modal:active:not(:disabled),
.btn-modal-add-large:active:not(:disabled),
.btn-goc-nhin-goto-menu:active:not(:disabled),
.btn-concave-view-detail:active:not(:disabled),
.btn-member-login:active:not(:disabled),
#btn-blog-goto-menu:active:not(:disabled),
#btn-cart-continue:active:not(:disabled),
#btn-checkout-confirm:active:not(:disabled),
#btn-finish-add-member:active:not(:disabled),
#btn-save-inline-customer:active:not(:disabled),
#btn-admin-confirm-order:active:not(:disabled),
.btn-admin-quick-approve:active:not(:disabled) {
  transform: translateY(1px) !important;
  filter: brightness(0.97) !important;
  box-shadow: 
    0 1px 2px rgba(23, 63, 53, 0.2) !important;
}

/* 2. Nút Cam Đất (Accent CTAs: Quay Roulette, Mèo Chọn, Đặt Nhanh, Đọc Blog) */
.btn-spin-roulette,
.btn-cat-start,
.btn-cat-action-primary,
.btn-cat-action-add,
.btn-read-blog,
.btn-goc-nhin-quick-order {
  position: relative;
  background: linear-gradient(180deg, #c2611a 0%, #B85D19 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(184, 93, 25, 0.45) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 5px rgba(184, 93, 25, 0.22) !important;
  transform: translateY(0);
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s ease !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.btn-spin-roulette:hover:not(:disabled),
.btn-cat-start:hover:not(:disabled),
.btn-cat-action-primary:hover:not(:disabled),
.btn-cat-action-add:hover:not(:disabled),
.btn-read-blog:hover:not(:disabled),
.btn-goc-nhin-quick-order:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4px 10px rgba(184, 93, 25, 0.28) !important;
}

.btn-spin-roulette:active:not(:disabled),
.btn-cat-start:active:not(:disabled),
.btn-cat-action-primary:active:not(:disabled),
.btn-cat-action-add:active:not(:disabled),
.btn-read-blog:active:not(:disabled),
.btn-goc-nhin-quick-order:active:not(:disabled) {
  transform: translateY(1px) !important;
  filter: brightness(0.97) !important;
  box-shadow: 
    0 1px 2px rgba(184, 93, 25, 0.2) !important;
}

/* 3. Nút Mini "+ Thêm món" trên các thẻ thực đơn & bàn xoay */
.btn-card-add,
.btn-summary-add {
  position: relative;
  background: linear-gradient(180deg, #1d5244 0%, #173F35 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(23, 63, 53, 0.35) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1.5px 3px rgba(23, 63, 53, 0.16) !important;
  transform: translateY(0);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.btn-card-add:hover:not(:disabled),
.btn-summary-add:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  filter: brightness(1.06) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 6px rgba(23, 63, 53, 0.2) !important;
}

.btn-card-add:active:not(:disabled),
.btn-summary-add:active:not(:disabled) {
  transform: translateY(1px) !important;
  filter: brightness(0.96) !important;
  box-shadow: 
    0 1px 2px rgba(23, 63, 53, 0.15) !important;
}

/* 4. Nút 3D Tròn Stepper Tăng/Giảm Số Lượng (+ / −) */
.btn-drink-step,
.btn-step-plus,
.btn-step-minus,
.btn-qty-plus,
.btn-qty-minus,
.btn-qty-step,
.member-qty-stepper .btn-step-minus,
.member-qty-stepper .btn-step-plus,
#btn-cal-prev-month,
#btn-cal-next-month {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5EFE4 100%) !important;
  border: 1px solid #d4cbbd !important;
  border-bottom: 2px solid #b8ab96 !important;
  color: var(--bep-green) !important;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.9),
    0 2.5px 0 #b8ab96,
    0 3px 6px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.1s ease !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.btn-drink-step:hover:not(:disabled),
.btn-step-plus:hover:not(:disabled),
.btn-step-minus:hover:not(:disabled),
.btn-qty-plus:hover:not(:disabled),
.btn-qty-minus:hover:not(:disabled),
.btn-qty-step:hover:not(:disabled),
.member-qty-stepper .btn-step-minus:hover:not(:disabled),
.member-qty-stepper .btn-step-plus:hover:not(:disabled),
#btn-cal-prev-month:hover:not(:disabled),
#btn-cal-next-month:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  filter: brightness(1.03) !important;
  box-shadow: 
    inset 0 1px 0.5px #fff,
    0 3.5px 0 #a99a83,
    0 5px 8px rgba(0, 0, 0, 0.12) !important;
  color: var(--bep-green-dark) !important;
}

.btn-drink-step:active:not(:disabled),
.btn-step-plus:active:not(:disabled),
.btn-step-minus:active:not(:disabled),
.btn-qty-plus:active:not(:disabled),
.btn-qty-minus:active:not(:disabled),
.btn-qty-step:active:not(:disabled),
.member-qty-stepper .btn-step-minus:active:not(:disabled),
.member-qty-stepper .btn-step-plus:active:not(:disabled),
#btn-cal-prev-month:active:not(:disabled),
#btn-cal-next-month:active:not(:disabled) {
  transform: translateY(2px) !important;
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.4),
    0 0.5px 0 #b8ab96,
    0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

/* 5. Nút 3D Kem/Viền (Secondary, View All, Quay Lại, Giỏ Header, Toggle More) */
.btn-view-all-menu,
.btn-cart-back-nav,
.btn-cart-change-size,
.btn-cart-add-member,
.btn-summary-select,
.btn-header-cart,
.btn-toggle-more-goc-nhin,
.concave-nav-btn,
#btn-blog-toggle-more,
#btn-blog-bottom-close,
#btn-goc-nhin-bottom-close,
.btn-inv-tab {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F1E7 100%) !important;
  border: 1.5px solid #dcd3c4 !important;
  border-bottom: 2px solid #bfb29c !important;
  color: var(--bep-green) !important;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.9),
    0 3px 0 #bfb29c,
    0 4px 8px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.12s ease !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.btn-view-all-menu:hover:not(:disabled),
.btn-cart-back-nav:hover:not(:disabled),
.btn-cart-change-size:hover:not(:disabled),
.btn-cart-add-member:hover:not(:disabled),
.btn-summary-select:hover:not(:disabled),
.btn-header-cart:hover:not(:disabled),
.btn-toggle-more-goc-nhin:hover:not(:disabled),
.concave-nav-btn:hover:not(:disabled),
#btn-blog-toggle-more:hover:not(:disabled),
#btn-blog-bottom-close:hover:not(:disabled),
#btn-goc-nhin-bottom-close:hover:not(:disabled),
.btn-inv-tab:hover:not(:disabled) {
  transform: translateY(-1.5px) !important;
  filter: brightness(1.03) !important;
  box-shadow: 
    inset 0 1px 0.5px #fff,
    0 4.5px 0 #ad9e87,
    0 7px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-view-all-menu:active:not(:disabled),
.btn-cart-back-nav:active:not(:disabled),
.btn-cart-change-size:active:not(:disabled),
.btn-cart-add-member:active:not(:disabled),
.btn-summary-select:active:not(:disabled),
.btn-header-cart:active:not(:disabled),
.btn-toggle-more-goc-nhin:active:not(:disabled),
.concave-nav-btn:active:not(:disabled),
#btn-blog-toggle-more:active:not(:disabled),
#btn-blog-bottom-close:active:not(:disabled),
#btn-goc-nhin-bottom-close:active:not(:disabled),
.btn-inv-tab:active:not(:disabled) {
  transform: translateY(2.5px) !important;
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.3),
    0 0.5px 0 #bfb29c,
    0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* 6. Trạng thái Disabled: Khóa hiệu ứng 3D cơ học khi nút bị vô hiệu */
.btn-primary-add:disabled,
.btn-hero-add-cart:disabled,
.btn-card-add:disabled,
.btn-submit-sub:disabled,
.btn-spin-roulette:disabled,
.btn-cat-picker-open:disabled,
.btn-drink-step:disabled,
.btn-step-plus:disabled,
.btn-step-minus:disabled,
.btn-qty-plus:disabled,
.btn-qty-minus:disabled {
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.2) !important;
}

.has-mirror-shine {
  position: relative;
  overflow: hidden;
}

.has-mirror-shine::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -85%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(26deg);
  pointer-events: none;
  opacity: 0;
  transition: none;
  z-index: 10;
}

.has-mirror-shine:hover::after {
  opacity: 1;
  left: 145%;
  transition: left 0.75s ease-in-out, opacity 0.25s;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-desktop);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.top-notice-bar {
  display: none !important;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bep-cream-dark);
  height: 68px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--bep-green);
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
  transition: transform var(--transition-fast);
}

@media (max-width: 768px) {
  .brand-logo {
    font-size: 26px;
  }
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bep-ink);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: var(--bep-cream);
  color: var(--bep-green);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bep-white);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 110;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  display: flex;
}

.dropdown-link {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--bep-ink);
  transition: background 0.15s;
}

.dropdown-link:hover {
  background: var(--bep-cream);
  color: var(--bep-green);
}

.dropdown-link small {
  display: block;
  font-size: 13px;
  color: var(--bep-ink-faint);
  font-weight: 500;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: #925C19;
  background: #FEF3C7;
  border: 1.5px solid #F59E0B;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-header-admin:hover {
  background: #F59E0B;
  color: #fff;
}

.btn-header-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bep-green);
  border: 1.5px solid var(--bep-green);
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.btn-header-account:hover {
  background: var(--bep-green);
  color: var(--bep-white);
}

.btn-header-cart {
  position: relative;
  overflow: visible !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--bep-cream);
  color: var(--bep-green);
  font-size: 22px;
  transition: all 0.2s;
}

.btn-header-cart:hover {
  background: var(--bep-green);
  color: var(--bep-white);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--bep-terracotta);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bep-white);
  z-index: 30;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.mobile-menu-trigger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--bep-ink);
  font-size: 24px;
}

@media (max-width: 991px) {

  .desktop-nav,
  .btn-header-account,
  .btn-header-admin {
    display: none;
  }

  .mobile-menu-trigger {
    display: flex;
  }
}

/* ==========================================================================
   5. Mobile Drawer Menu
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 45, 38, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: var(--bep-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bep-cream-dark);
  padding-bottom: 12px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  font-size: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bep-ink);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--bep-cream-dark);
}

.drawer-group-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--bep-terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
}

.drawer-link {
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--bep-ink);
}

.drawer-link:hover {
  background: var(--bep-cream);
  color: var(--bep-green);
}

.drawer-sublink {
  padding: 6px 12px 6px 20px;
  font-size: 15px;
  color: var(--bep-ink-muted);
  font-weight: 500;
}

.drawer-sublink:hover {
  color: var(--bep-green);
}

/* ==========================================================================
   6. Hero Section — Bàn Xoay Tròn (Visual table-wheel.html)
   ========================================================================== */
.hero-experience {
  position: relative;
  background: radial-gradient(ellipse at 50% 25%, #FFFDF7 0%, var(--bep-cream-light) 75%);
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--bep-cream-dark);
  overflow: visible;
  min-height: 440px;
}

/* Stage Bàn Xoay (Chứa mặt bàn gỗ và các đĩa) */
.stage {
  position: relative;
  left: 0;
  top: 0;
  right: 0;
  height: 420px;
  min-height: 420px;
  touch-action: pan-y;
  overflow: visible;
  pointer-events: none;
  z-index: 30;
}

.table-wheel {
  width: var(--table);
  height: var(--table);
  position: absolute;
  left: calc(50% - var(--table) / 2);
  top: calc(var(--center) - var(--table) / 2);
  border-radius: 50%;
  transform: rotate(var(--rotation, 0deg)) translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform var(--duration) cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  pointer-events: auto;
}

.table-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url("table-walnut.webp") center / contain no-repeat;
  filter: saturate(0.85) brightness(0.95);
  box-shadow: 0 14px 34px rgba(56, 39, 25, 0.22);
}

.plate-position {
  position: absolute;
  width: var(--plate);
  height: var(--plate);
  left: calc(50% - var(--plate) / 2);
  top: calc(50% - var(--plate) / 2);
  transform: rotate(var(--angle)) translateY(var(--orbit)) translateZ(0);
  backface-visibility: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}

.plate-position img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(62, 44, 39, 0.2));
  user-select: none;
  -webkit-user-drag: none;
  transform: rotate(calc(-1 * (var(--angle) + var(--rotation, 0deg)))) translateZ(0);
  backface-visibility: hidden;
  transition: transform var(--duration) cubic-bezier(0.16, 1, 0.3, 1), scale 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.plate-position:hover img {
  transform: rotate(calc(-1 * (var(--angle) + var(--rotation, 0deg)))) scale(1.04) translateZ(0);
}

/* Wheel Navigation Arrows — Tách biệt hai bên đĩa */
.wheel-nav-arrow {
  position: absolute;
  top: calc(var(--center) + var(--orbit) - 24px);
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5EFE4 100%);
  border: 1.5px solid #d5cbba;
  border-bottom: 2.5px solid #b8ab96;
  border-radius: 50%;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.9),
    0 3.5px 0 #b8ab96,
    0 6px 14px rgba(0, 0, 0, 0.1);
  color: var(--bep-green);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  z-index: 35;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.wheel-nav-arrow:hover {
  background: linear-gradient(180deg, #1f5648 0%, #173F35 100%);
  color: #fff;
  border-color: #13362d;
  border-bottom-color: #0c231d;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.4),
    0 5.5px 0 #0d251f,
    0 10px 18px rgba(13, 37, 31, 0.3);
}

.wheel-nav-arrow:active {
  transform: translateY(2.5px);
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.2),
    0 1px 0 #b8ab96,
    0 2px 4px rgba(0, 0, 0, 0.1);
}

.wheel-nav-arrow svg {
  pointer-events: none;
}

.wheel-nav-prev {
  left: calc(50% - 198px);
}

/* Hiệu ứng zoom in / zoom out nhẹ cho nút next để tăng độ tương tác với người dùng (nghỉ 65% chu kỳ cho êm ái) */
@keyframes pulseNextSoft {
  0%, 65%, 100% {
    transform: scale(1);
  }
  82% {
    transform: scale(1.09);
  }
}

.wheel-nav-next {
  right: calc(50% - 198px);
  animation: pulseNextSoft 2.4s ease-in-out infinite;
  transform-origin: center;
}

.wheel-nav-next:hover:not(:disabled) {
  animation-play-state: paused;
}

.wheel-nav-next:active:not(:disabled) {
  animation: none !important;
  transform: scale(0.96) translateY(2.5px) !important;
}

@media (prefers-reduced-motion: reduce) {
  .wheel-nav-next {
    animation: none !important;
  }
}

@media (max-width: 600px) {
  .wheel-nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
    top: calc(var(--center) + var(--orbit) - 19px);
  }

  .wheel-nav-prev {
    left: calc(50% - var(--plate) / 2 - 18px);
  }

  .wheel-nav-next {
    right: calc(50% - var(--plate) / 2 - 18px);
  }
}

/* ==========================================================================
   Hero Bàn Xoay Tròn — Thiết kế chuẩn trực quan La Table & Yêu cầu mới
   ========================================================================== */

/* Tag giá sản phẩm ở góc trên bên phải của đĩa chính */
.hero-plate-price-tag {
  position: absolute;
  top: calc(var(--center) + var(--orbit) - var(--plate) / 2 + 10px);
  left: calc(50% + var(--plate) / 2 - 20px);
  z-index: 36;
  background: rgba(255, 253, 250, 0.96);
  border: 1.5px solid var(--bep-cream-dark);
  box-shadow: 0 4px 16px rgba(23, 63, 53, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  pointer-events: none;
  white-space: nowrap;
}

.hero-plate-price-tag .price-from-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--bep-ink-muted);
}

.hero-plate-price-tag .hero-price-val {
  font-size: 19px;
  font-weight: 800;
  color: var(--bep-terracotta);
}

/* Nút + Thêm món ở hero: dịch xuống dưới 50px và qua bên trái 50px */
.hero-dish-right {
  position: absolute;
  left: calc(50% + var(--plate) / 2 - 84px);
  top: calc(var(--center) + var(--orbit) + 86px);
  z-index: 36;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: auto;
}

.btn-hero-add-cart {
  background: var(--bep-green);
  color: #fff;
  padding: 13px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(23, 63, 53, 0.25);
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-hero-add-cart:hover {
  background: var(--bep-green-light);
  transform: translateY(-2px);
}

.hero-touch-hint {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bep-ink-muted);
  background: rgba(255, 253, 250, 0.94);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bep-cream-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* Tên món hiển thị rõ ràng ngay dưới đĩa đang chọn — Không bị cắt ở 1280x720 */
.hero-plate-caption {
  position: absolute;
  top: calc(var(--center) + var(--orbit) + var(--plate) / 2 + 14px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 34;
  width: min(90%, 640px);
  padding-bottom: 12px;
  overflow: visible;
}

.hero-plate-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--bep-green);
  line-height: 1.4;
  margin: 0;
  padding-bottom: 6px;
  text-shadow: 0 1px 2px rgba(255, 253, 250, 0.9);
  overflow: visible;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-plate-name:hover {
  color: var(--bep-green-dark);
  transform: scale(1.02);
}

/* Lớp phủ nhẹ bán trong suốt ở nửa dưới đĩa khi Hover/Focus (vẫn nhìn thấy món ăn) */
.plate-hover-overlay {
  position: absolute;
  width: 92%;
  height: 92%;
  left: 4%;
  top: 4%;
  border-radius: 50%;
  background: linear-gradient(to top, rgba(14, 38, 31, 0.90) 0%, rgba(14, 38, 31, 0.55) 48%, transparent 88%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 16px 20px;
  text-align: center;
  color: #FFFDF7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(0.98);
  z-index: 15;
  user-select: none;
  overflow: hidden;
}

.plate-position.is-active:hover .plate-hover-overlay,
.plate-position.is-active:focus-visible .plate-hover-overlay,
.plate-position.is-active.is-focused .plate-hover-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hover-overlay-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFDF7;
  line-height: 1.25;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hover-overlay-price {
  font-size: 14px;
  font-weight: 800;
  color: #FFD285;
  margin-bottom: 4px;
}

.hover-overlay-brief {
  font-size: 12px;
  font-weight: 500;
  color: #EDE8DF;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hover-overlay-components {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 7px;
}

.hover-click-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: #FFD285;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 210, 133, 0.4);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
}

@media (max-width: 991px) {
  .hero-plate-price-tag {
    top: calc(var(--center) + var(--orbit) - var(--plate) / 2 + 4px);
    left: calc(50% + var(--plate) / 2 - 25px);
  }

  .hero-dish-right {
    left: calc(50% + var(--plate) * 0.24 - 100px);
    top: calc(var(--center) + var(--orbit) + var(--plate) * 0.18);
  }
}

@media (max-width: 768px) {
  .hero-dish-right {
    display: none;
    /* Trên màn hình nhỏ, ưu tiên nút thêm ở khối hero-mobile-summary bên dưới */
  }

  .hero-plate-caption {
    display: none;
  }

  .hero-plate-price-tag {
    display: none;
  }
}

/* Mobile Hero Summary (Xếp gọn dưới bàn trên màn hình nhỏ) */
.hero-mobile-summary {
  display: none;
  padding: 12px 18px 18px;
  max-width: 520px;
  margin: 0 auto;
}

.hero-mobile-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hero-mobile-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.hero-mobile-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--bep-green);
  line-height: 1.25;
  word-break: break-word;
  margin: 0;
}

.hero-mobile-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero-mobile-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--bep-terracotta);
  white-space: nowrap;
  line-height: 1.2;
}

.hero-mobile-brief {
  display: none !important; /* Yêu cầu mobile: bỏ mô tả món ăn ở phần hero */
}

.hero-mobile-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
}

.hero-mobile-actions .btn-hero-add-cart {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}

.hero-mobile-hint {
  font-size: 14px;
  font-weight: 600;
  color: var(--bep-ink-muted);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .hero-experience {
    padding: 0;
    min-height: auto;
  }

  .hero-content-wrap,
  .hero-dish-right {
    display: none;
  }

  .stage {
    position: relative;
    height: 200px;
    min-height: 200px;
    pointer-events: auto;
  }

  .hero-mobile-summary {
    display: block;
    padding: 6px 16px 12px;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   7. Carousel Dải Món Hôm Nay & Vòng Quay Roulette
   ========================================================================== */
.carousel-section {
  padding: 18px 0 16px;
  background: var(--bep-white);
  border-bottom: 1px solid var(--bep-cream-dark);
}

@media (max-width: 768px) {
  .desktop-only-text {
    display: none !important;
  }

  .carousel-section {
    padding: 14px 0 16px;
  }

  .carousel-section .section-head-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 10px !important;
  }

  .carousel-section .section-head-bar > div:first-child {
    flex: 1;
    min-width: 0;
  }

  .carousel-section .section-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }

  .carousel-section .section-subtitle {
    font-size: 13px !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
  }

  .carousel-actions-group {
    width: auto !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .btn-view-all-menu {
    padding: 8px 14px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    min-height: 40px !important;
  }

  /* Mobile: Ẩn nút xem bàn và câu hướng dẫn bàn xoay trong popup toàn bộ menu */
  .menu-summary-hint,
  .menu-summary-wheel-hint,
  .btn-summary-select {
    display: none !important;
  }
}

.section-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 800;
  color: var(--bep-green);
  letter-spacing: var(--letter-spacing-title);
  line-height: 1.25;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 26px;
    letter-spacing: 0.4px;
  }
}

.section-subtitle {
  font-size: 16px;
  color: var(--bep-ink-muted);
  margin-top: 4px;
}

.carousel-actions-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-view-all-menu {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--bep-green);
  color: var(--bep-green);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-view-all-menu:hover {
  background: var(--bep-green);
  color: #fff;
}

/* Carousel Viewport với Vạch Chỉ Điểm Trung Tâm */
.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 18px 0 24px;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.carousel-viewport:active {
  cursor: grabbing;
}

/* Vạch chọn cố định giữa dải slide */
.carousel-center-marker {
  position: absolute;
  top: 0;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.marker-pin {
  color: var(--bep-terracotta);
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 5px rgba(184, 93, 25, 0.4));
  animation: pinBounce 1.5s ease-in-out infinite;
}

.marker-line {
  width: 2.5px;
  flex-grow: 1;
  background: linear-gradient(to bottom, var(--bep-terracotta) 0%, rgba(184, 93, 25, 0.2) 100%);
  box-shadow: 0 0 8px rgba(184, 93, 25, 0.4);
}

@keyframes pinBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.carousel-card {
  width: 240px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EE 100%);
  border: 1.5px solid #E6DCcb;
  border-bottom: 3.5px solid #D1C5B0;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Đổ bóng đa tầng sâu: Tiếp xúc + Tản sáng + Chiều sâu thương hiệu KeyFood */
  box-shadow: 
    0 2px 4px rgba(23, 63, 53, 0.04),
    0 8px 20px rgba(23, 63, 53, 0.10),
    0 18px 36px rgba(23, 63, 53, 0.08);
  transform: translateY(0);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.2s ease, 
              background 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.carousel-card:hover {
  transform: translateY(-6px);
  border-color: #D6CAB8;
  border-bottom-color: #BEB09A;
  background: #FFFFFF;
  box-shadow: 
    0 4px 8px rgba(23, 63, 53, 0.06),
    0 16px 32px rgba(23, 63, 53, 0.15),
    0 30px 60px rgba(23, 63, 53, 0.12);
}

.carousel-card.is-selected {
  border: 2px solid var(--bep-green);
  border-bottom: 4px solid #0d251f;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBF8 100%);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 0 0 1px rgba(23, 63, 53, 0.2),
    0 8px 22px rgba(23, 63, 53, 0.16),
    0 24px 52px rgba(23, 63, 53, 0.24);
}

.carousel-card.is-winner {
  border: 3px solid #F59E0B !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF9C3 100%) !important;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.45), 0 16px 40px rgba(245, 158, 11, 0.45) !important;
  transform: scale(1.06) !important;
  z-index: 20;
  animation: winnerGoldPulse 1s ease-in-out infinite;
}

@keyframes winnerGoldPulse {
  0%, 100% {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.45), 0 14px 36px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: scale(1.10);
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.75), 0 20px 48px rgba(245, 158, 11, 0.6);
  }
}

.plate-position.is-winner-plate img {
  filter: drop-shadow(0 0 22px rgba(245, 158, 11, 0.95)) drop-shadow(0 14px 18px rgba(62, 44, 39, 0.35)) !important;
  transform: rotate(calc(-1 * (var(--angle) + var(--rotation, 0deg)))) scale(1.08) !important;
  transition: all 0.4s ease;
}

.card-thumb {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin: 0 auto;
  /* Đổ bóng cho đĩa thức ăn để đĩa nổi khỏi mặt card */
  filter: drop-shadow(0 8px 14px rgba(23, 63, 53, 0.18));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
}

.carousel-card:hover .card-thumb,
.carousel-card:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 12px 20px rgba(23, 63, 53, 0.26));
}

.card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--bep-green);
  line-height: 1.35;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--bep-cream-dark);
}

.card-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--bep-terracotta);
  white-space: nowrap;
}

.btn-card-add {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bep-green);
  color: #fff;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-card-add:hover {
  background: var(--bep-green-light);
}

/* Nút điều khiển quay ngẫu nhiên chính giữa */
.carousel-spin-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-spin-roulette {
  background: var(--bep-terracotta);
  color: #fff;
  padding: 14px 34px;
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(184, 93, 25, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-spin-roulette:hover {
  background: var(--bep-terracotta-hover);
  transform: translateY(-2px);
}

.btn-spin-roulette:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.btn-spin-icon {
  font-size: 20px;
}

.btn-cat-picker-open {
  background: var(--bep-green);
  color: #fff;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(23, 63, 53, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cat-picker-open:hover {
  background: var(--bep-green-light);
  transform: translateY(-2px);
}

.btn-cat-icon {
  font-size: 20px;
}

.btn-spin-skip {
  background: var(--bep-cream);
  color: var(--bep-ink);
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 700;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-spin-skip:hover {
  background: var(--bep-cream-dark);
}

.btn-spin-sound-toggle {
  background: var(--bep-cream-light);
  color: var(--bep-green);
  border: 1.5px solid var(--bep-cream-dark);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-spin-sound-toggle:hover {
  background: var(--bep-cream);
  border-color: var(--bep-green);
  transform: translateY(-1px);
}

.btn-spin-sound-toggle.is-muted {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}

.spin-result-announce {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bep-green);
}

/* ==========================================================================
   Popup 🐾 Hội Mèo Chọn Món (Kiểu ngẫu nhiên 2)
   ========================================================================== */
.cat-picker-box {
  max-width: 580px;
  background: radial-gradient(circle at 50% 0%, #FFFDF9 0%, #FAF5EC 100%);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(23, 63, 53, 0.18);
}

.cat-header-title-wrap {
  display: flex;
  flex-direction: column;
}

.cat-header-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bep-terracotta);
  letter-spacing: 1px;
}

.cat-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sound-toggle {
  background: #fff;
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bep-ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.btn-sound-toggle:hover {
  background: var(--bep-cream);
  color: var(--bep-ink);
}

.btn-sound-toggle.is-active {
  background: var(--bep-green);
  color: #fff;
  border-color: var(--bep-green);
}

.cat-picker-body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Vùng Đám Mây Suy Nghĩ của Mèo */
.cat-thought-container {
  position: relative;
  background: #fff;
  border: 2px solid var(--bep-cream-dark);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(23, 63, 53, 0.06);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thought-bubble-tail {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(23, 63, 53, 0.08));
}

.cat-state-view {
  width: 100%;
  text-align: center;
}

.cat-intro-speech {
  font-size: 16px;
  line-height: 1.55;
  color: var(--bep-ink);
  font-weight: 500;
}

.cat-idle-sparkles {
  font-size: 24px;
  margin-top: 8px;
}

/* Thinking View */
.thinking-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--bep-terracotta);
  margin-bottom: 8px;
}

.thinking-dish-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px;
  background: var(--bep-cream-light);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.thinking-dish-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  animation: dishPulse 0.4s ease-in-out infinite alternate;
}

@keyframes dishPulse {
  0% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1.05);
  }
}

.thinking-dish-info {
  text-align: left;
}

.thinking-dish-info strong {
  display: block;
  font-size: 16px;
  color: var(--bep-green);
}

.thinking-dish-info span {
  font-size: 15px;
  font-weight: 700;
  color: var(--bep-terracotta);
}

.btn-cat-skip {
  background: var(--bep-cream);
  color: var(--bep-ink);
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-top: 4px;
}

/* Result View */
.cat-result-verdict-bar {
  font-size: 14.5px;
  color: var(--bep-green);
  margin-bottom: 12px;
  background: rgba(23, 63, 53, 0.06);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.cat-result-card {
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border: 1.5px solid #dfd8cb;
  border-bottom: 3px solid #bfaea0;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 
    0 4px 12px rgba(23, 63, 53, 0.08),
    0 14px 30px rgba(23, 63, 53, 0.09);
}

.cat-result-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bep-cream-dark);
}

.cat-result-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cat-result-info {
  flex: 1;
}

.cat-result-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--bep-green);
  line-height: 1.35;
  margin-bottom: 4px;
}

.cat-result-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cat-result-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--bep-terracotta);
}

.cat-result-tag {
  font-size: 12px;
  font-weight: 700;
  background: var(--bep-white);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bep-cream-dark);
  color: var(--bep-green);
}

.cat-result-brief {
  font-size: 14px;
  color: var(--bep-ink-muted);
  line-height: 1.45;
}

.cat-combo-disclaimer {
  display: block;
  font-size: 12.5px;
  color: var(--bep-ink-faint);
  margin-top: 4px;
  font-style: italic;
}

.cat-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-cat-action {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-cat-action-primary {
  background: var(--bep-green);
  color: #fff;
  grid-column: span 1;
}

.btn-cat-action-primary:hover {
  background: var(--bep-green-light);
}

.btn-cat-action-add {
  background: var(--bep-terracotta);
  color: #fff;
  grid-column: span 1;
}

.btn-cat-action-add:hover {
  background: var(--bep-terracotta-hover);
}

.btn-cat-action-reroll {
  background: var(--bep-cream);
  color: var(--bep-ink);
  border: 1px solid var(--bep-cream-dark);
}

.btn-cat-action-reroll:hover {
  background: var(--bep-cream-dark);
}

.btn-cat-action-detail {
  background: #fff;
  color: var(--bep-ink-muted);
  border: 1px solid var(--bep-cream-dark);
}

.btn-cat-action-detail:hover {
  background: var(--bep-cream);
  color: var(--bep-green);
}

/* ==========================================================================
   Cảnh Ba Chú Mèo Chuyển Động (Cats Animated Stage)
   ========================================================================== */
.cats-animated-stage {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 10px 10px 0;
  gap: 14px;
  border-bottom: 2px dashed var(--bep-cream-dark);
}

.cat-character {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cat-avatar {
  width: 90px;
  height: 84px;
  position: relative;
  border-radius: 46% 46% 42% 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 6px 14px rgba(23, 63, 53, 0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

.cat-avatar:hover {
  transform: scale(1.05);
}

/* Avatar Colors */
.cat-avatar-chef {
  background: linear-gradient(135deg, #FAF7F2 0%, #EDE6DC 100%);
  border: 2px solid #D8CFC4;
  animation: catChefBob 2.2s ease-in-out infinite;
}

.cat-avatar-calico {
  background: linear-gradient(135deg, #FBF7F0 0%, #F5E9DA 60%, #E8A87C 100%);
  border: 2px solid #D9C3B0;
  animation: catCalicoWave 2.8s ease-in-out infinite;
}

.cat-avatar-ginger {
  background: linear-gradient(135deg, #FCE8D5 0%, #F7C59F 100%);
  border: 2px solid #EAA87B;
  animation: catGingerTilt 2.5s ease-in-out infinite;
}

@keyframes catChefBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes catCalicoWave {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(-3deg);
  }
}

@keyframes catGingerTilt {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

/* Cat Face Features */
.cat-face {
  position: absolute;
  top: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-ears {
  position: absolute;
  top: -26px;
  width: 82px;
  display: flex;
  justify-content: space-between;
}

.ear {
  width: 22px;
  height: 24px;
  background: #EDE6DC;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 4px;
}

.ear-orange {
  background: #E8A87C;
}

.ear-black {
  background: #333333;
}

.cat-accessory-hat {
  position: absolute;
  top: -28px;
  font-size: 26px;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  animation: hatWobble 2.2s ease-in-out infinite;
}

@keyframes hatWobble {

  0%,
  100% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(-6deg);
  }
}

.cat-eyes {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.eye {
  width: 7px;
  height: 7px;
  background: #2D231E;
  border-radius: 50%;
}

.eye-happy {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  color: #2D231E;
  line-height: 1;
}

.eye-sparkle {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 14px;
  color: #D97706;
  line-height: 1;
}

.cat-nose {
  width: 6px;
  height: 4px;
  background: #E8908B;
  border-radius: 50%;
  margin-top: 2px;
}

.cat-whiskers {
  position: absolute;
  top: 12px;
  width: 76px;
  display: flex;
  justify-content: space-between;
}

.w-l,
.w-r {
  width: 14px;
  height: 1.5px;
  background: #AFA89F;
  border-radius: 1px;
}

.cat-body-wrap {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cat-scarf-green {
  width: 44px;
  height: 8px;
  background: var(--bep-green);
  border-radius: var(--radius-full);
  margin-bottom: 2px;
}

.cat-paw-spoon {
  position: absolute;
  right: 6px;
  bottom: 0px;
  font-size: 18px;
  animation: spoonStir 1.5s ease-in-out infinite;
}

@keyframes spoonStir {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(15deg);
  }
}

.cat-paw-waving {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 18px;
  animation: pawWave 1s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes pawWave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-25deg);
  }
}

.cat-fish-thought {
  position: absolute;
  top: -8px;
  right: -4px;
  font-size: 16px;
  animation: fishFloat 2s ease-in-out infinite;
}

@keyframes fishFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.cat-name-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bep-ink);
  margin-top: 6px;
  white-space: nowrap;
}

/* Nút Bắt Đầu Ban Đầu Trong Popup */
.cat-start-control {
  text-align: center;
}

.btn-cat-start {
  width: 100%;
  background: var(--bep-terracotta);
  color: #fff;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(184, 93, 25, 0.25);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cat-start:hover {
  background: var(--bep-terracotta-hover);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cat-result-card {
    flex-direction: column;
    text-align: center;
  }

  .cat-result-price-wrap {
    justify-content: center;
  }

  .cat-result-actions {
    grid-template-columns: 1fr;
  }

  .btn-cat-action-primary,
  .btn-cat-action-add {
    grid-column: span 1;
  }

  .cats-animated-stage {
    gap: 8px;
  }

  .cat-avatar {
    width: 78px;
    height: 74px;
  }
}

/* Multi-Date Picker Tag Chips */
.selected-dates-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.date-chip {
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  color: var(--bep-ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.date-chip-remove {
  color: var(--bep-terracotta);
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.date-chip-remove:hover {
  color: red;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--bep-cream-dark);
}

.card-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--bep-terracotta);
  white-space: nowrap;
}

.btn-card-add {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bep-green);
  color: #fff;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-card-add:hover {
  background: var(--bep-green-light);
}

/* ==========================================================================
   8. Plans & Subscriptions Configurator
   ========================================================================== */
.plans-section {
  padding: 56px 0;
  background: var(--bep-cream-light);
  border-bottom: 1px solid var(--bep-cream-dark);
}

.plan-kicker {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--bep-terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section 5: Balanced 2-card Duo Grid on Homepage */
.plans-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .plans-duo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
  }
}

.plan-duo-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border: 1.5px solid var(--bep-cream-dark);
  border-bottom: 3.5px solid #d5cbba;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    0 2px 6px rgba(23, 63, 53, 0.04),
    0 10px 24px rgba(23, 63, 53, 0.08),
    0 20px 40px rgba(23, 63, 53, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.plan-duo-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 4px 10px rgba(23, 63, 53, 0.06),
    0 18px 36px rgba(23, 63, 53, 0.12),
    0 32px 64px rgba(23, 63, 53, 0.10);
  border-color: #D5C9B8;
  border-bottom-color: #BCAE9A;
}

.plan-duo-card-highlight {
  border: 2px solid var(--bep-green);
  border-bottom: 4px solid #0d251f;
  box-shadow: 
    0 4px 10px rgba(23, 63, 53, 0.08),
    0 14px 30px rgba(23, 63, 53, 0.14),
    0 28px 56px rgba(23, 63, 53, 0.10);
}

.plan-duo-badge {
  font-family: var(--font-condensed);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
  background: var(--bep-green-subtle);
  color: var(--bep-green);
}

.plan-duo-card-highlight .plan-duo-badge {
  background: var(--bep-terracotta-subtle);
  color: var(--bep-terracotta);
}

.plan-duo-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--bep-green);
  margin-bottom: 6px;
}

.plan-duo-desc {
  font-size: 16px;
  font-weight: 600;
  color: var(--bep-ink);
  margin-bottom: 20px;
  line-height: 1.45;
}

.plan-duo-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-duo-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--bep-ink-muted);
  line-height: 1.4;
}

.plan-duo-perks li .bep-icon {
  color: var(--bep-green);
  flex-shrink: 0;
}

.plan-duo-action {
  margin-top: auto;
}

.plan-duo-action button {
  width: 100%;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 700;
}

/* Modal Cấu Hình Gói Ăn (Căn giữa hoàn hảo trên mọi kích thước màn hình) */
.sub-config-dialog {
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  max-width: 820px;
  width: 94%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sub-config-dialog[open] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 94% !important;
  max-width: 820px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 1050 !important;
}

.sub-config-dialog .modal-box {
  background: var(--bep-white);
  border-radius: var(--radius-lg);
  max-height: 90vh;
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 768px) {
  .sub-config-dialog[open] {
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 85vh !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }
}

.sub-config-dialog .modal-header {
  padding: 20px 24px;
  background: var(--bep-green);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.sub-config-dialog .modal-body {
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.plan-box {
  background: #FAF7F2;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: 0 4px 16px rgba(23, 63, 53, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}

.plan-box:hover {
  box-shadow: 0 8px 24px rgba(23, 63, 53, 0.08);
  border-color: #D5C9B8;
}

@media (min-width: 820px) {
  .plan-box {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
  }
  .plan-box-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
}

.group-mini-pill {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  color: var(--bep-green);
  background: var(--bep-green-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 6px;
}

.plan-title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--bep-green);
  margin: 4px 0 8px;
  letter-spacing: var(--letter-spacing-title);
}

.plan-desc {
  font-size: 14.5px;
  color: var(--bep-ink-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.group-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.group-perk-item {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bep-ink);
  background: var(--bep-white);
  border: 1px solid var(--bep-cream-dark);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-open-group-modal {
  width: 100%;
  padding: 13px 20px;
  background: var(--bep-white);
  color: var(--bep-green);
  border: 1.5px solid var(--bep-green);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 15.5px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-open-group-modal:hover {
  background: var(--bep-green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Khối Gói Trả Trước Nổi Bật (Yêu cầu 6) */
.sub-config-box {
  position: relative;
  background: var(--bep-white);
  border: 2.5px solid var(--bep-green);
  border-radius: 22px;
  padding: 38px 32px 32px;
  box-shadow: 0 16px 44px rgba(23, 63, 53, 0.12), 0 0 0 4px rgba(23, 63, 53, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-config-box:hover {
  box-shadow: 0 20px 52px rgba(23, 63, 53, 0.16), 0 0 0 5px rgba(23, 63, 53, 0.06);
}

.sub-flagship-ribbon {
  position: absolute;
  top: -15px;
  left: 28px;
  background: linear-gradient(135deg, #B85D19 0%, #D97706 100%);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(184, 93, 25, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  z-index: 5;
}

.sub-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-pill-badge {
  background: var(--bep-terracotta-subtle);
  color: var(--bep-terracotta);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.config-group {
  margin-bottom: 20px;
}

.config-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--bep-ink);
  margin-bottom: 8px;
}

.btn-group-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-toggle-option {
  flex: 1;
  min-width: 90px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5EFE4 100%);
  border: 1.5px solid #dfd8cb;
  border-bottom: 3px solid #bfaea0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--bep-ink);
  text-align: center;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.9),
    0 3px 0 #bfaea0,
    0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.12s ease;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.btn-toggle-option:hover {
  transform: translateY(-1.5px);
  border-color: var(--bep-green);
  box-shadow: 
    inset 0 1px 0.5px #fff,
    0 4.5px 0 #bfaea0,
    0 7px 14px rgba(23, 63, 53, 0.12);
}

.btn-toggle-option:active {
  transform: translateY(2px);
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.4),
    0 1px 0 #bfaea0,
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-toggle-option.active {
  background: linear-gradient(180deg, #1f5648 0%, #173F35 100%);
  color: #fff;
  border: 1.5px solid #13362d;
  border-bottom: 3.5px solid #0c231d;
  box-shadow: 
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.35),
    0 3.5px 0 #0d251f,
    0 8px 18px rgba(13, 37, 31, 0.28);
}

.btn-toggle-option.active:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.06);
  box-shadow: 
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.45),
    0 5px 0 #0d251f,
    0 10px 20px rgba(13, 37, 31, 0.32);
}

.btn-toggle-option.active:active {
  transform: translateY(2.5px);
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.2),
    0 1px 0 #0d251f,
    0 3px 6px rgba(13, 37, 31, 0.2);
}

/* 2. Định Lượng Chi Tiết (Requirement 3.4) */
.tier-toggle-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 600px) {

  .sub-config-box,
  .plan-box {
    padding: 20px 14px;
  }

  .tier-toggle-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-dish-mode {
    flex: 1 1 100% !important;
    white-space: normal !important;
    font-size: 14.5px;
  }
}

.tier-toggle-group .btn-toggle-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  min-height: 64px;
  line-height: 1.25;
}

.tier-btn-name {
  font-size: 15.5px;
  font-weight: 800;
}

.tier-btn-gram {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 3px;
  white-space: normal;
  text-align: center;
}

.sub-tier-detail-desc {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--bep-cream-light);
  border: 1px dashed var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--bep-ink);
  line-height: 1.45;
}

/* 3. Tích Chọn Thứ NHẬN Cơm (Requirement 3.5) */
.receiving-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

@media (max-width: 480px) {
  .receiving-days-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.day-check-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  background: var(--bep-cream-light);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
  user-select: none;
}

.day-check-label:hover {
  border-color: var(--bep-green);
  background: #fff;
}

.day-check-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--bep-green);
  cursor: pointer;
}

.day-check-label.is-receiving {
  border-color: var(--bep-green);
  background: rgba(23, 63, 53, 0.05);
}

.day-check-label.is-weekend {
  opacity: 0.82;
}

/* 4. Bảng Ngày Dương Lịch Trực Quan (Requirement 3.1 & Expand/Collapse) */
.btn-toggle-cal-expand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bep-cream);
  color: var(--bep-green);
  border: 1.5px solid var(--bep-green);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toggle-cal-expand:hover {
  background: var(--bep-green);
  color: #fff;
}

.sub-calendar-grid-container {
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: max-height 0.3s ease;
}

/* Khi thu nhỏ (mặc định): chỉ hiển thị 1 dòng ngày của tuần hiện tại / bắt đầu */
.sub-calendar-grid-container.is-collapsed tbody tr:not(.cal-row-current) {
  display: none !important;
}

.cal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
  table-layout: fixed;
}

.cal-th {
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--bep-green);
  padding: 6px 2px;
  text-transform: uppercase;
}

.cal-th.is-weekend-th {
  color: var(--bep-terracotta);
}

.cal-day-cell {
  position: relative;
  height: 48px;
  text-align: center;
  vertical-align: middle;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
  background: var(--bep-cream-light);
  border: 1px solid var(--bep-cream-dark);
  color: var(--bep-ink);
}

.cal-day-cell:hover:not(.is-past) {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(23, 63, 53, 0.12);
}

.cal-day-cell.is-delivery {
  background: var(--bep-green);
  color: #fff;
  border-color: var(--bep-green-dark);
}

.cal-day-cell.is-skip {
  background: #fbf9f5;
  color: var(--bep-ink-faint);
  border: 1px dashed #d5cbc0;
}

.cal-day-cell.is-past {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f3efe8;
}

.cal-day-cell.is-today {
  box-shadow: 0 0 0 2px var(--bep-terracotta) inset;
}

.cal-day-cell .cal-num {
  display: block;
  line-height: 1;
}

.cal-day-cell .cal-status-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
  opacity: 0.9;
}

.cal-day-cell.is-delivery .cal-status-sub {
  color: #ffd88a;
}

.calendar-legend-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bep-ink);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.dot-delivery {
  background: var(--bep-green);
}

.dot-skip {
  background: #fbf9f5;
  border: 1px dashed #b5a99c;
}

.dot-today {
  background: var(--bep-white);
  border: 2px solid var(--bep-terracotta);
}

/* 5. Tự Chọn Món Từng Ngày (Requirement 3.2: 4 món/ngày) */
.sub-weekly-menu-picker {
  margin-top: 12px;
  background: var(--bep-cream-light);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  padding: 14px;
}

.weekly-day-row {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--bep-cream-dark);
}

.weekly-day-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.weekly-day-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--bep-green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.weekly-dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  .weekly-dishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.weekly-dish-card {
  padding: 8px 10px;
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.16s;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.weekly-dish-card:hover {
  border-color: var(--bep-green);
}

.weekly-dish-card.active {
  background: var(--bep-green);
  color: #fff;
  border-color: var(--bep-green-dark);
}

.weekly-dish-card .dish-card-name {
  font-weight: 700;
  line-height: 1.3;
}

.weekly-dish-card .dish-card-tag {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 4px;
}

.weekly-dish-card.active .dish-card-tag {
  color: #ffd88a;
}

/* 6. Chọn Nước Cụ Thể (Requirement 3.3) */
.sub-drink-specific-picker {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.drink-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

.drink-radio-label input {
  accent-color: var(--bep-green);
}

/* 7. Giỏ Hàng - Thêm Người Đặt Đơn Nhóm (Requirement 5) */
.cart-add-member-section {
  background: #fff;
  border: 1.5px dashed var(--bep-green);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.btn-cart-add-member {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bep-cream);
  color: var(--bep-green);
  border: 1.5px solid var(--bep-green);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart-add-member:hover {
  background: var(--bep-green);
  color: #fff;
}

.cart-add-member-panel {
  margin-top: 12px;
  background: var(--bep-cream-light);
  border-top: 1px dashed var(--bep-cream-dark);
  padding-top: 12px;
}

.member-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--bep-green);
}

.btn-form-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bep-terracotta);
  font-size: 14px;
  padding: 2px 6px;
}

.member-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bep-ink);
  margin-bottom: 3px;
}

.member-text-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #fff;
}

/* Danh Sách Món & Nước Trong Bảng Thêm Người Đặt (Requirement 2) */
.member-dishes-list,
.member-drinks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 4px;
}

.member-dish-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border: 1.5px solid #dfd8cb;
  border-bottom: 2.5px solid #c8beae;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  box-shadow: 
    0 2px 6px rgba(23, 63, 53, 0.05), 
    0 6px 16px rgba(23, 63, 53, 0.06);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.member-dish-card:hover {
  border-color: var(--bep-green);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 10px rgba(23, 63, 53, 0.08), 
    0 12px 24px rgba(23, 63, 53, 0.1);
}

.member-dish-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bep-cream-light);
}

.member-dish-info {
  flex: 1;
  min-width: 0;
}

.member-dish-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--bep-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.member-dish-sizes {
  display: flex;
  gap: 4px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.btn-dish-size-pill {
  border: 1px solid var(--bep-cream-dark);
  background: var(--bep-cream-light);
  color: var(--bep-ink);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-dish-size-pill.active {
  background: var(--bep-green);
  color: #fff;
  border-color: var(--bep-green);
}

.member-drink-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.member-drink-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Yêu cầu 3: Bôi đậm hơn và viền xanh nổi bật với món đã chọn */
.member-dish-card.is-selected,
.member-drink-card.is-selected {
  border: 2px solid var(--bep-green) !important;
  background: #f0fdf4 !important;
  box-shadow: 0 4px 14px rgba(23, 63, 53, 0.12);
}

.member-dish-card.is-selected .member-dish-title {
  font-weight: 900 !important;
  color: var(--bep-green-dark) !important;
}

/* Stepper cộng trừ số lượng món & nước */
.member-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-full);
  padding: 2px 6px;
  flex-shrink: 0;
}

.member-qty-stepper .btn-step-minus,
.member-qty-stepper .btn-step-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--bep-cream-light);
  color: var(--bep-green);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s;
}

.member-qty-stepper .btn-step-minus:hover,
.member-qty-stepper .btn-step-plus:hover {
  background: var(--bep-green);
  color: #fff;
}

.member-dish-qty-val,
.member-drink-qty-val {
  min-width: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--bep-green-dark);
}

.input-error {
  border-color: #c93a2b !important;
  box-shadow: 0 0 0 2px rgba(201, 58, 43, 0.2) !important;
}

/* Header Phân Nhóm Từng Thành Viên Trong Giỏ Hàng */
.cart-member-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(23, 63, 53, 0.08);
  border-left: 4px solid var(--bep-green);
  padding: 6px 12px;
  margin: 12px 0 6px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--bep-green);
}

.cart-member-group-header:first-child {
  margin-top: 0;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bep-cream-light);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--bep-green);
}

.sub-summary-card {
  background: var(--bep-cream-light);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--bep-ink-muted);
  margin-bottom: 6px;
}

.summary-line.grand {
  font-size: 17px;
  font-weight: 800;
  color: var(--bep-green);
  border-top: 1px dashed var(--bep-cream-dark);
  padding-top: 8px;
  margin-top: 8px;
}

.grand-amount {
  font-size: 22px;
  color: var(--bep-terracotta);
  white-space: nowrap;
}

.btn-submit-sub {
  width: 100%;
  padding: 14px;
  background: var(--bep-green);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-submit-sub:hover {
  background: var(--bep-green-light);
}

/* ==========================================================================
   9. Process, Members, Reviews, Blog
   ========================================================================== */
.process-section {
  padding: 56px 0;
  background: var(--bep-white);
  border-bottom: 1px solid var(--bep-cream-dark);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: var(--bep-cream-light);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--bep-cream-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--bep-green);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--bep-ink-muted);
  line-height: 1.55;
}

.member-section {
  padding: 48px 0;
  background: var(--bep-green);
  color: var(--bep-cream);
}

.member-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.member-info h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 10px;
}

.member-info p {
  font-size: 15px;
  color: var(--bep-cream);
  max-width: 580px;
  line-height: 1.55;
}

.btn-member-login {
  padding: 12px 24px;
  background: var(--bep-terracotta);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-member-login:hover {
  background: var(--bep-terracotta-hover);
}

.gallery-section {
  padding: 56px 0;
  background: var(--bep-white);
  border-bottom: 1px solid var(--bep-cream-dark);
}

/* ==========================================================================
   8. CONCAVE CAROUSEL (React Bits Pro - A gallery wall that curves around viewer)
   ========================================================================== */
.concave-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0 72px;
  background: var(--bep-cream);
}

.concave-header-wrap {
  position: relative;
  z-index: 10;
}

.concave-carousel-container {
  position: relative;
  width: 100%;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.concave-stage {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-bottom: 6px;
}

/* Left & Right Dimming Vignette (React Bits Pro dim: 0.35) */
.concave-vignette {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16%;
  max-width: 180px;
  z-index: 25;
  pointer-events: none;
}

.concave-vignette-left {
  left: 0;
  background: linear-gradient(to right, var(--bep-cream) 0%, rgba(246, 241, 231, 0.85) 45%, transparent 100%);
}

.concave-vignette-right {
  right: 0;
  background: linear-gradient(to left, var(--bep-cream) 0%, rgba(246, 241, 231, 0.85) 45%, transparent 100%);
}

/* Interaction Layer for silky pointer & touch drag */
.concave-interaction-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  cursor: grab;
  touch-action: pan-y;
}

.concave-carousel-container.is-dragging .concave-interaction-layer,
.concave-stage:active .concave-interaction-layer {
  cursor: grabbing;
}

/* 3D Cylindrical Concave Wall */
.concave-wall {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  pointer-events: none;
  will-change: transform;
}

/* Concave Gallery Card (Cylindrical curved items) */
.goc-nhin-card {
  position: absolute;
  width: 290px;
  height: 345px;
  border-radius: 16px;
  background: var(--bep-cream-light);
  border: 1.5px solid var(--bep-cream-dark);
  box-shadow: 0 14px 34px rgba(23, 63, 53, 0.12);
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
  /* Floor Reflection (React Bits Pro reflection: 0.06 - clean subtle fade) */
  -webkit-box-reflect: below 8px linear-gradient(to bottom, transparent 75%, rgba(0, 0, 0, 0.06));
}

.goc-nhin-card.is-center {
  border-color: var(--bep-terracotta);
  box-shadow: 0 20px 48px rgba(23, 63, 53, 0.22), 0 0 0 2px rgba(210, 105, 30, 0.35);
  filter: drop-shadow(0 8px 24px rgba(23, 63, 53, 0.18));
}

.goc-nhin-thumb-wrap {
  position: relative;
  width: 100%;
  height: 205px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--bep-cream);
}

.goc-nhin-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.goc-nhin-card:hover img {
  transform: scale(1.05);
}

.goc-nhin-card-zoom-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(23, 63, 53, 0.85);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.goc-nhin-card:hover .goc-nhin-card-zoom-badge,
.goc-nhin-card.is-center .goc-nhin-card-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.goc-nhin-card-title {
  font-family: var(--font-family);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--bep-ink);
  margin-bottom: 3px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goc-nhin-card-desc {
  font-size: 13px;
  color: var(--bep-ink-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.goc-nhin-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed var(--bep-cream-dark);
  margin-top: auto;
}

.goc-nhin-dish-tag {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  color: var(--bep-green);
  background: var(--bep-green-subtle);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.goc-nhin-view-action {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bep-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Floor Reflection Layer (Complementary ground glow) */
.concave-floor-reflection {
  position: absolute;
  bottom: -6px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(23, 63, 53, 0.08) 0%, rgba(23, 63, 53, 0.02) 60%, transparent 80%);
  filter: blur(5px);
  pointer-events: none;
  z-index: 5;
}

/* Dynamic Live Caption Bar below 3D Wall (React Bits Pro captions: true) */
.concave-caption-container {
  margin: 42px auto 0;
  max-width: 580px;
  text-align: center;
  background: #FAF7F2;
  border: 1px solid rgba(23, 63, 53, 0.12);
  border-radius: 18px;
  padding: 16px 24px;
  box-shadow: 0 6px 22px rgba(23, 63, 53, 0.07);
  position: relative;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.concave-caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--bep-green);
  background: var(--bep-green-subtle);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  border: 1px solid rgba(23, 63, 53, 0.1);
}

.concave-badge-dot {
  opacity: 0.5;
}

.concave-caption-title {
  font-family: var(--font-family);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--bep-ink);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease;
}

.concave-caption-desc {
  font-size: 13.5px;
  color: var(--bep-ink-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
}

.concave-caption-actions {
  display: flex;
  justify-content: center;
}

.btn-concave-view-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bep-green);
  color: #fff;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(23, 63, 53, 0.2);
}

.btn-concave-view-detail:hover {
  background: var(--bep-green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 63, 53, 0.28);
}

.concave-arrow-icon {
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-concave-view-detail:hover .concave-arrow-icon {
  transform: translateX(3px);
}

/* Bottom Gallery Navigation & Drift Controls (React Bits Pro controls: true) */
.concave-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  position: relative;
  z-index: 10;
}

.concave-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FAF7F2;
  border: 1.5px solid var(--bep-cream-dark);
  color: var(--bep-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.concave-nav-btn:hover {
  background: var(--bep-green);
  color: #fff;
  border-color: var(--bep-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 63, 53, 0.22);
}

.concave-counter {
  font-family: var(--font-family);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bep-ink);
  background: #FAF7F2;
  border: 1.5px solid var(--bep-cream-dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.concave-counter-active {
  color: var(--bep-terracotta);
}

.concave-counter-divider {
  opacity: 0.4;
}

/* Mobile Responsive Optimization */
@media (max-width: 768px) {
  .concave-section {
    padding: 32px 0 44px;
  }

  .concave-stage {
    height: 310px;
    perspective: 850px;
  }

  .concave-vignette {
    width: 12%;
  }

  .goc-nhin-card {
    width: 235px;
    height: 295px;
    padding: 10px;
    border-radius: 14px;
    -webkit-box-reflect: below 5px linear-gradient(to bottom, transparent 75%, rgba(0, 0, 0, 0.06));
  }

  .goc-nhin-thumb-wrap {
    height: 165px;
    margin-bottom: 8px;
  }

  .goc-nhin-card-title {
    font-size: 14.5px;
  }

  .goc-nhin-card-desc {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .concave-caption-container {
    margin-top: 20px;
    padding: 14px 16px;
    max-width: 92%;
  }

  .concave-caption-title {
    font-size: 16.5px;
  }

  .concave-caption-desc {
    font-size: 12.5px;
  }

  .btn-concave-view-detail {
    font-size: 13.5px;
    padding: 8px 18px;
  }

  .concave-nav-btn {
    width: 38px;
    height: 38px;
  }

  .concave-counter {
    font-size: 13.5px;
    padding: 6px 14px;
  }
}

.btn-toggle-more-goc-nhin {
  padding: 12px 28px;
  background: var(--bep-cream);
  color: var(--bep-green);
  border: 1.5px solid var(--bep-green);
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-toggle-more-goc-nhin:hover {
  background: var(--bep-green);
  color: #fff;
  transform: translateY(-1px);
}

/* Lightbox Modal for Góc nhìn thực tế (Căn giữa tuyệt đối màn hình - Yêu cầu 7) */
.goc-nhin-dialog {
  max-width: 860px;
  width: 92%;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(15, 45, 38, 0.35);
  background: var(--bep-white);
  overflow: hidden;
}

.goc-nhin-dialog[open] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 92% !important;
  max-width: 860px !important;
  max-height: 90vh !important;
  display: block !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
}

.goc-nhin-dialog::backdrop {
  background: rgba(15, 45, 38, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.goc-nhin-modal-inner {
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .goc-nhin-modal-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 480px;
  }
}

.goc-nhin-modal-img-col {
  position: relative;
  background: #101815;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.goc-nhin-modal-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.goc-nhin-modal-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(23, 63, 53, 0.85);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.goc-nhin-modal-content-col {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.goc-nhin-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--bep-green);
  margin: 6px 0 10px;
  line-height: 1.3;
}

.goc-nhin-modal-desc {
  font-size: 14.5px;
  color: var(--bep-ink-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.goc-nhin-dish-preview-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border: 1.5px solid #E6DCcb;
  border-bottom: 3px solid #d5cbba;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 
    0 4px 12px rgba(23, 63, 53, 0.07),
    0 14px 30px rgba(23, 63, 53, 0.08);
}

.dish-preview-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  color: var(--bep-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

.dish-preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dish-preview-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--bep-cream-dark);
}

.dish-preview-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--bep-ink);
  margin-bottom: 2px;
}

.dish-preview-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--bep-green);
}

.dish-preview-brief {
  font-size: 12.5px;
  color: var(--bep-ink-muted);
  margin-top: 2px;
}

.goc-nhin-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-goc-nhin-goto-menu {
  width: 100%;
  padding: 12px;
  background: var(--bep-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-goc-nhin-goto-menu:hover {
  background: var(--bep-green-light);
  transform: translateY(-1px);
}

.btn-goc-nhin-quick-order {
  width: 100%;
  padding: 11px;
  background: var(--bep-terracotta);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-goc-nhin-quick-order:hover {
  background: var(--bep-terracotta-hover);
}

/* ==========================================================================
   9. Blog Cẩm Nang Ẩm Thực (Chuẩn SEO & Hình Ảnh)
   ========================================================================== */
.blog-section {
  padding: 56px 0;
  background: var(--bep-cream-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.blog-card {
  background: var(--bep-white);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(56, 39, 25, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(56, 39, 25, 0.12);
}

.blog-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bep-cream);
}

.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb-img {
  transform: scale(1.05);
}

.blog-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(23, 63, 53, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--bep-ink-faint);
  font-weight: 600;
  flex-wrap: wrap;
}

.blog-author-tag {
  color: var(--bep-green);
}

.blog-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.blog-title-link {
  color: var(--bep-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-title-link:hover {
  color: var(--bep-terracotta);
}

.blog-summary {
  font-size: 14.5px;
  color: var(--bep-ink-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 10px;
}

.btn-read-blog {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--bep-terracotta);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.blog-actions-center {
  margin-top: 32px;
  text-align: center;
}

.btn-toggle-more-goc-nhin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bep-green);
  background: var(--bep-cream-dark);
  border: 1px solid rgba(56, 39, 25, 0.15);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toggle-more-goc-nhin:hover {
  background: #fff;
  border-color: var(--bep-green);
  transform: translateY(-2px);
}

/* Modal Chi Tiết Blog Chuẩn SEO */
.blog-detail-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 760px;
  width: 92%;
  margin: auto;
}

.blog-detail-dialog::backdrop {
  background: rgba(18, 35, 27, 0.65);
  backdrop-filter: blur(5px);
}

.blog-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.blog-modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--bep-cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bep-cream-light);
}

.blog-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--bep-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-detail-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--bep-green);
  line-height: 1.3;
  margin: 2px 0 0;
}

.blog-modal-scroll-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-cover-wrapper {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.blog-modal-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bep-cream-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--bep-green);
  margin-bottom: 20px;
}

.author-avatar-badge {
  font-size: 32px;
  line-height: 1;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--bep-green);
}

.author-role {
  font-size: 13.5px;
  color: var(--bep-ink-muted);
  margin-top: 2px;
}

.author-seo-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--bep-ink-faint);
  margin-top: 4px;
  flex-wrap: wrap;
}

.badge-verified-attp {
  color: var(--bep-green);
  font-weight: 700;
}

.blog-article-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bep-ink);
}

.blog-article-content p {
  margin-bottom: 14px;
}

.blog-article-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--bep-green);
  margin: 20px 0 8px;
}

.blog-modal-action-bar {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--bep-cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-left-actions,
.blog-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-blog-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bep-green);
  background: var(--bep-cream);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-blog-goto-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--bep-green);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   10. Footer (Khoa học & Tinh gọn)
   ========================================================================== */
.main-footer {
  background: var(--bep-green-dark);
  color: var(--bep-cream);
  padding: 44px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col h3.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  margin-bottom: 2px;
}

.footer-slogan {
  font-size: 15px;
  font-weight: 600;
  color: var(--bep-cream-dark);
  font-style: italic;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14.5px;
  color: var(--bep-cream);
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #fff;
}

.footer-contact-list,
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  font-size: 14.5px;
  color: var(--bep-cream);
  line-height: 1.5;
}

.f-label {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 4px;
}

.footer-links-list a {
  color: var(--bep-cream);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   11. Modals & Dialogs (Dish Detail, Random Game, Cart, Group)
   ========================================================================== */
dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}

dialog::backdrop {
  background: rgba(15, 45, 38, 0.65);
  backdrop-filter: blur(4px);
}

.modal-box {
  background: var(--bep-white);
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  width: 90vw;
  overflow: hidden;
  margin: auto;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--bep-cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--bep-green);
}

.modal-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: linear-gradient(180deg, #E04838 0%, #D93829 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.4),
    0 3.5px 0 #8f1f14,
    0 6px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.1s ease;
  z-index: 1090;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.modal-close:hover {
  background: linear-gradient(180deg, #EB5545 0%, #D93829 100%);
  color: #FFFFFF;
  transform: translateY(-1.5px);
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.5),
    0 5px 0 #8f1f14,
    0 8px 18px rgba(0, 0, 0, 0.32);
}

.modal-close:active {
  transform: translateY(2.5px);
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.2),
    0 1px 0 #8f1f14,
    0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-close-red {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1100;
}

.modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Centered 2-Step Cart Modal (Steps are distinct sequential views on all devices) */
@media (min-width: 769px) {
  #dialog-cart[open] {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    background: rgba(14, 38, 31, 0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
  }

  #dialog-cart .modal-box-cart {
    height: min(92vh, 840px);
    max-height: 92vh;
    width: min(94vw, 760px);
    max-width: 760px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 70px rgba(14, 38, 31, 0.35);
    border: 1px solid var(--bep-cream-dark);
  }
}

/* On Mobile: Bottom Sheet style */
@media (max-width: 768px) {
  dialog[open] {
    position: fixed;
    inset: auto 0 0 0;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    display: block;
  }

  dialog .modal-box {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }

  .cart-modal-top-bar {
    display: none;
  }

  .cart-two-col-layout {
    display: block;
    overflow-y: auto;
    max-height: calc(92vh - 60px);
  }

  .cart-col-left,
  .cart-col-right {
    padding: 14px;
  }

  .mobile-hidden {
    display: none !important;
  }

  .mobile-only-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--bep-cream-dark);
  }

  .mobile-only-step1-summary {
    display: block !important;
  }

  .modal-body {
    max-height: calc(85vh - 70px);
    overflow-y: auto;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

/* Random Game Modal */
.chest-plate {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  position: relative;
  display: grid;
  place-items: center;
}

.chest-disk {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #E5E7EB;
  border: 6px solid #9CA3AF;
  display: grid;
  place-items: center;
  font-size: 54px;
  font-weight: 900;
  color: #4B5563;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.15);
}

.chest-disk.spinning {
  animation: spinMystery 0.6s linear infinite;
}

@keyframes spinMystery {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.08);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.result-plate-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
  animation: fadeIn 0.4s ease;
}

.game-result-wrap {
  display: none;
  animation: fadeIn 0.4s ease;
}

.game-result-wrap.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.disclaimer-badge {
  display: inline-block;
  font-size: 13px;
  color: var(--bep-ink-faint);
  background: var(--bep-cream);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.dish-detail-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto;
}

.btn-primary-add {
  background: var(--bep-green);
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-primary-add:hover {
  background: var(--bep-green-light);
}

/* ==========================================================================
   12. Floating Cart Bar (Nằm bên phải để không che nội dung ở giữa)
   ========================================================================== */
.floating-cart-bar {
  position: fixed;
  left: auto;
  right: 24px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: auto;
  max-width: 440px;
  margin: 0;
  transform: translateY(140px);
  z-index: 900;
  background: linear-gradient(180deg, #1d4d40 0%, #11342b 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #1a4a3e;
  border-bottom: 2.5px solid #0a1f19;
  box-shadow: 
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.25),
    0 5px 0 #081713,
    0 16px 36px rgba(10, 31, 25, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  pointer-events: none;
  opacity: 0;
}

.floating-cart-bar.visible {
  transform: translateY(0);
  pointer-events: auto;
  opacity: 1;
}

.floating-cart-bar[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .floating-cart-bar {
    right: 12px;
    left: auto;
    max-width: calc(100vw - 24px);
    padding: 10px 14px;
    gap: 10px;
  }
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  white-space: nowrap;
}

.cart-bar-count {
  font-weight: 600;
  color: var(--bep-cream);
}

.cart-bar-dot {
  color: rgba(255, 255, 255, 0.4);
}

.cart-bar-total {
  font-size: 18px;
  font-weight: 800;
  color: #FBBF24;
  white-space: nowrap;
}

.btn-open-cart-drawer {
  position: relative;
  background: linear-gradient(180deg, #c9671f 0%, #B85D19 100%) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #9c4c12 !important;
  border-bottom: 2px solid #733508 !important;
  box-shadow: 
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.4),
    0 3.5px 0 #7e3a09,
    0 6px 14px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.12s ease !important;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-open-cart-drawer:hover {
  transform: translateY(-1.5px) !important;
  filter: brightness(1.07) !important;
  box-shadow: 
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.5),
    0 5px 0 #7e3a09,
    0 10px 18px rgba(0, 0, 0, 0.3) !important;
}

.btn-open-cart-drawer:active {
  transform: translateY(2.5px) !important;
  filter: brightness(0.97) !important;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.2),
    0 1px 0 #7e3a09,
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* On Desktop: Centered Modals */
@media (min-width: 769px) {
  dialog[open] {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
  }
}

/* Toast (Đặt ở giữa phía dưới để không bao giờ che giỏ hàng và số đếm) */
.bep-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  top: auto;
  right: auto;
  background: var(--bep-green-dark);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 700;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(15, 45, 38, 0.45);
  pointer-events: none;
  animation: fadeIn 0.2s ease;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}

@media (max-width: 600px) {
  .bep-toast {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 380px);
    white-space: normal;
  }
}

/* ==========================================================================
   Small Mobile Viewport Refinements (max-width: 360px) — B02 & B07
   No overflow-x: hidden used; precise responsive element sizing.
   ========================================================================== */
@media (max-width: 360px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .plan-box,
  .sub-config-box {
    padding: 18px 10px;
  }

  .skip-days-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .day-check-label {
    padding: 6px 2px;
    font-size: 11.5px;
  }

  .day-check-label span {
    font-size: 11.5px;
    white-space: nowrap;
  }

  .btn-group-toggle {
    gap: 4px;
  }

  .btn-toggle-option {
    min-width: 0;
    padding: 8px 4px;
    font-size: 13px;
  }

  .sub-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Cat Picker Modal at 320px */
  .cat-picker-body {
    padding: 12px 8px;
  }

  .cats-animated-stage {
    gap: 4px;
    padding: 6px 2px 0;
    justify-content: space-around;
    width: 100%;
  }

  .cat-avatar {
    width: 66px;
    height: 62px;
  }

  .cat-ears {
    width: 60px;
    top: -18px;
  }

  .ear {
    width: 16px;
    height: 18px;
  }

  .cat-accessory-hat {
    font-size: 18px;
    top: -20px;
  }

  .cat-eyes {
    gap: 14px;
  }

  .cat-whiskers {
    width: 54px;
  }

  .w-l,
  .w-r {
    width: 10px;
  }

  .cat-name-tag {
    font-size: 11px;
    margin-top: 3px;
  }

  .cat-thought-container {
    padding: 12px 8px;
    min-height: 110px;
  }

  .cat-result-card {
    padding: 10px;
    gap: 10px;
  }

  .cat-result-img-wrap {
    width: 65px;
    height: 65px;
  }

  .cat-result-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Flying Plate & Dish Dialog Details (Visual La Table table-wheel.html)
   ========================================================================== */
.dish-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  border: 0;
  padding: 20px;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--bep-ink);
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.dish-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dish-dialog::backdrop {
  background: rgba(15, 45, 38, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.flying-plate {
  position: fixed;
  z-index: 1060;
  pointer-events: none;
  will-change: transform;
}

.flying-plate img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(23, 63, 53, 0.25));
  user-select: none;
  -webkit-user-drag: none;
}

.plate-solid {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  height: 92%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  background: var(--bep-white);
}

.detail-panel {
  position: relative;
  background: var(--bep-white);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(15, 45, 38, 0.28);
  outline: none;
  z-index: 1055;
}

.modal-box-detail-2col {
  width: min(1040px, calc(100vw - 48px));
  max-height: min(90dvh, 880px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px;
}

.detail-grid-container {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}

/* CỘT TRÁI */
.detail-col-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-photo-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  background: none;
  border: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: visible;
  cursor: zoom-in;
}

.dish-detail-img-large {
  width: 100%;
  max-width: 290px;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(62, 44, 39, 0.22));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: zoom-in;
}

.detail-photo-wrapper:hover .dish-detail-img-large,
.dish-detail-img-large:hover {
  transform: scale(1.05);
}

.btn-zoom-photo {
  display: none !important;
}

.detail-brief-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--bep-ink);
  line-height: 1.6;
  margin: 0;
}

.detail-components-card {
  background: var(--bep-cream-light);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.components-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--bep-green);
  display: block;
  margin-bottom: 8px;
}

.components-card-list {
  padding-left: 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--bep-ink);
  line-height: 1.6;
  margin: 0;
}

/* CỘT PHẢI */
.detail-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-head-meta {
  border-bottom: 1px solid var(--bep-cream-dark);
  padding-bottom: 14px;
}

.detail-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--bep-terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-title-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--bep-green);
  line-height: 1.3;
  margin: 4px 0 8px;
}

.detail-price-highlight {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.detail-unit-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--bep-terracotta);
}

.detail-price-desc {
  font-size: 14px;
  font-weight: 600;
  color: var(--bep-ink-muted);
}

.detail-section-label {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--bep-ink);
  display: block;
  margin-bottom: 10px;
}

.detail-drinks-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.detail-optional-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--bep-ink-faint);
}

.detail-qty-and-total-block {
  background: var(--bep-cream-light);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.detail-qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--bep-cream-dark);
  background: #FFF;
  font-size: 18px;
  font-weight: 800;
  color: var(--bep-green);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-qty-step:hover:not(:disabled) {
  background: var(--bep-green);
  color: #FFF;
  border-color: var(--bep-green);
}

.btn-qty-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.detail-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--bep-ink);
}

.detail-config-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px dashed var(--bep-cream-dark);
  padding-top: 12px;
  flex-wrap: nowrap;
}

.detail-total-info-wrap {
  flex: 1;
  min-width: 0;
}

.detail-total-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bep-ink-muted);
  display: block;
}

.detail-grand-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--bep-terracotta);
  line-height: 1.2;
}

.detail-grand-breakdown {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.grand-breakdown-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--bep-ink-muted);
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.btn-modal-add-large {
  flex-shrink: 0;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* 4 Lựa chọn Size & Mini Steppers (Requirement 5) */
.size-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.btn-size-choice {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EE 100%);
  border: 1.5px solid #dfd8cb;
  border-bottom: 3px solid #bfaea0;
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.9),
    0 3px 0 #bfaea0,
    0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.12s ease;
  font-family: inherit;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-size-choice:hover {
  border-color: var(--bep-green);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0.5px #fff,
    0 5px 0 #bfaea0,
    0 7px 14px rgba(23, 63, 53, 0.12);
}

.btn-size-choice:active {
  transform: translateY(2px);
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.4),
    0 1px 0 #bfaea0,
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-size-choice.active {
  border-color: var(--bep-green);
  background: linear-gradient(180deg, #f5fbf8 0%, #e8f5ee 100%);
  border-bottom: 3.5px solid #13392f;
  box-shadow: 
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.9),
    0 3.5px 0 #13392f,
    0 6px 16px rgba(23, 63, 53, 0.22);
}

.btn-size-choice.active:hover {
  transform: translateY(-1.5px);
  box-shadow: 
    inset 0 1.5px 0.5px #fff,
    0 5px 0 #13392f,
    0 9px 18px rgba(23, 63, 53, 0.26);
}

.btn-size-choice.active:active {
  transform: translateY(2.5px);
  box-shadow: 
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.4),
    0 1px 0 #13392f,
    0 2px 4px rgba(23, 63, 53, 0.15);
}

.size-choice-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.size-choice-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bep-ink);
}

.btn-size-choice.active .size-choice-name {
  color: var(--bep-green);
}

.size-choice-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--bep-terracotta);
  margin: 3px 0;
}

.size-choice-desc {
  font-size: 11.5px;
  color: var(--bep-ink-muted);
  line-height: 1.25;
}

.size-choice-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  background: var(--bep-green);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.size-choice-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--bep-cream-dark);
  width: 100%;
}

.btn-size-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--bep-cream-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: var(--bep-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-size-step:hover:not(:disabled) {
  background: var(--bep-green);
  color: #fff;
  border-color: var(--bep-green);
}

.btn-size-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.size-step-val {
  min-width: 18px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--bep-ink);
}

.btn-size-choice.active .size-step-val {
  color: var(--bep-green);
}

@media (max-width: 820px) {
  .modal-box-detail-2col {
    width: calc(100vw - 20px);
    max-height: 90dvh;
    padding: 24px 16px 28px;
    border-radius: 20px 20px 0 0;
  }

  .detail-grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-photo-wrapper {
    height: 240px;
  }

  .detail-config-total-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-modal-add-large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .size-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Danh sách nước uống trong detail popup */
.modal-drinks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drink-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  gap: 10px;
}

.drink-row-item.is-disabled {
  opacity: 0.6;
  background: #fbfbfb;
}

.drink-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.drink-thumb-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.drink-thumb-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--bep-cream);
  padding: 2px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.drink-info-meta strong {
  font-size: 14.5px;
  color: var(--bep-ink);
  display: block;
}

.drink-info-meta .drink-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bep-terracotta);
}

.drink-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-drink-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--bep-cream-dark);
  background: var(--bep-cream);
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--bep-green);
}

.btn-drink-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.drink-qty-val {
  min-width: 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
}

/* Popover Xem ảnh nước lớn */
.dialog-drink-preview {
  border: none;
  background: transparent;
  padding: 16px;
}

.dialog-drink-preview::backdrop {
  background: rgba(15, 45, 38, 0.5);
  backdrop-filter: blur(4px);
}

/* Modal Phóng To Ảnh Món (Lightbox độc lập lớp trên cùng) */
.dialog-image-zoom {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: none;
  z-index: 1200;
  overscroll-behavior: contain;
}

.dialog-image-zoom[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-image-zoom::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.zoom-lightbox-box {
  position: relative;
  max-width: min(92vw, 1000px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  user-select: none;
  overscroll-behavior: contain;
}

.zoom-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 78vh;
}

#zoom-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.zoom-lightbox-caption {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #FFFDF7;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

#btn-close-zoom {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1210;
}

/* Modal Scroll-Lock */
body.modal-open-scroll-lock {
  overflow: hidden !important;
  width: 100% !important;
}

dialog {
  overscroll-behavior: contain;
}

.modal-box,
.modal-box-detail-2col,
.modal-body {
  overscroll-behavior: contain;
}

/* ==========================================================================
   2-Step Cart Drawer Styles
   ========================================================================== */
.modal-dialog-cart {
  position: fixed;
  inset: 0;
  margin: 0;
  border: none;
  background: transparent;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  display: none;
  z-index: 1080;
}

@media (min-width: 769px) {
  .modal-dialog-cart[open] {
    display: grid;
    place-items: center;
    background: rgba(14, 38, 31, 0.65);
    backdrop-filter: blur(6px);
  }

  .modal-box-cart {
    width: min(94vw, 760px);
    max-width: 760px;
    height: min(92vh, 840px);
    max-height: 92vh;
    background: var(--bep-white);
    box-shadow: 0 25px 70px rgba(14, 38, 31, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bep-cream-dark);
  }
}

@media (max-width: 768px) {
  .modal-dialog-cart[open] {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: rgba(14, 38, 31, 0.55);
  }

  .modal-box-cart {
    width: 100vw;
    max-width: 100vw;
    height: 94dvh;
    border-radius: 20px 20px 0 0;
    background: var(--bep-white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

/* 2 Separate Steps View (Full width, spacious, no cramming) */
.cart-step-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.cart-step-header {
  padding: 16px 20px;
  background: var(--bep-cream-light);
  border-bottom: 2px solid var(--bep-cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.cart-step-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--bep-green);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-step-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 20px;
  -webkit-overflow-scrolling: touch;
}

/* Ghim nút hoàn thành của từng bước ở dưới cùng */
.cart-step-pinned-footer {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: #ffffff;
  border-top: 2px solid var(--bep-cream-dark);
  box-shadow: 0 -6px 22px rgba(23, 63, 53, 0.1);
  padding: 14px 20px 16px;
}

.hide-on-mobile {
  display: inline;
}

.show-on-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .show-on-mobile {
    display: inline !important;
  }

  .cart-step-pinned-footer {
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  #btn-cart-continue {
    font-size: 15.5px !important;
    padding: 13px 12px !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
  }

  #btn-checkout-confirm {
    font-size: 15px !important;
    padding: 13px 10px !important;
    white-space: nowrap !important;
  }

  #btn-cart-back-step1-footer {
    padding: 13px 10px !important;
    font-size: 14px !important;
  }
}

.cart-step-indicator {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--bep-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bep-cream);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.cart-customer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bep-cream-light);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
}

.btn-customer-edit {
  font-size: 14px;
  font-weight: 800;
  color: var(--bep-green);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: none;
  /* Cuộn tự nhiên cùng toàn bộ modal body */
  padding-right: 2px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--bep-cream-dark);
  gap: 12px;
}

.cart-item-info-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cart-item-thumb:hover {
  transform: scale(1.05);
  border-color: var(--bep-green);
}

.cart-item-size-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  background: var(--bep-cream);
  color: var(--bep-green);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

.btn-cart-change-size {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bep-green);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  margin-left: 6px;
  text-decoration: underline;
}

.btn-cart-delete-item {
  font-size: 15px;
  font-weight: 800;
  color: #c93a2b;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}

.btn-cart-delete-item:hover {
  background: #FFEBEE;
}

.btn-cart-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--bep-green);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.btn-cart-back-nav:hover {
  background: var(--bep-cream);
}

/* Đơn nhóm - Phân khối thành viên */
.cart-member-block {
  background: #FAF8F5;
  border: 1px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.cart-member-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--bep-cream-dark);
  padding-bottom: 6px;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bep-green);
}

/* Carousel Drag Surface & Protection */
.carousel-card {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.carousel-card img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.carousel-viewport {
  touch-action: pan-y;
  cursor: grab;
}

.carousel-viewport:active {
  cursor: grabbing;
}

/* Detail Head Meta when placed in Left Column */
.detail-col-left .detail-head-meta {
  padding-top: 6px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--bep-cream-dark);
}

/* Card Hover Preview Ảnh Món & Nước Trong Giỏ Hàng (Requirement 7) */
.cart-hover-preview-card {
  position: absolute;
  z-index: 250;
  pointer-events: none;
  background: var(--bep-white);
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(23, 63, 53, 0.24);
  padding: 12px;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.15s ease;
}

.cart-hover-preview-card img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(62, 44, 39, 0.16));
  margin-bottom: 8px;
  border-radius: 8px;
}

.cart-hover-preview-meta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bep-green);
  line-height: 1.3;
}

.cart-hover-preview-meta span {
  display: block;
  font-size: 12px;
  color: var(--bep-terracotta);
  font-weight: 600;
  margin-top: 2px;
}

/* Drink thumbnail in cart & inline drinks */
.cart-inline-drink-thumb {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--bep-cream-dark);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.cart-inline-drink-thumb:hover {
  transform: scale(1.08);
  border-color: var(--bep-green);
}

/* ==========================================================================
   10. Tối Ưu Mobile Gọn Gàng & Ít Nội Dung (Requirement 8)
   ========================================================================== */
@media (max-width: 768px) {

  /* Tối ưu cỡ chữ và khoảng đệm trên màn hình điện thoại */
  html {
    font-size: 16px;
    /* 16px trên điện thoại giúp chữ vừa mắt, không bị tràn ngang */
  }

  /* Ẩn các đoạn văn dài, ghi chú thứ cấp không thiết yếu */
  .hero-mobile-brief {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .cat-combo-disclaimer,
  .cart-shipping-policy-note small,
  .hero-touch-hint {
    display: none !important;
  }

  /* Bàn xoay và stage trên mobile gọn gàng */
  .hero-experience {
    padding: 16px 0 12px;
    min-height: auto;
  }

  .stage {
    height: 195px;
    min-height: 195px;
  }

  .hero-mobile-summary {
    padding: 8px 16px 12px;
  }

  .hero-mobile-row {
    margin-bottom: 4px;
  }

  .hero-mobile-title {
    font-size: 20px;
  }

  .hero-mobile-price {
    font-size: 20px;
  }

  /* Carousel Section gọn gàng */
  .carousel-section {
    padding: 16px 0 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-top: 2px;
  }

  /* Bảng ngày dương lịch trên điện thoại vừa khít màn hình */
  .sub-calendar-grid-container {
    padding: 8px 4px;
  }

  .cal-table {
    border-spacing: 2px;
  }

  .cal-th {
    font-size: 12px;
    padding: 4px 1px;
  }

  .cal-day-cell {
    height: 38px;
    font-size: 13px;
    border-radius: 5px;
  }

  .cal-day-cell .cal-status-sub {
    font-size: 8.5px;
  }

  .calendar-legend-bar {
    font-size: 12px;
    gap: 8px;
  }

  /* Modal & Drawer tối ưu toàn màn hình tiện thao tác ngón cái */
  .modal-box-cart {
    max-width: 100vw;
    height: 94vh;
    border-radius: 18px 18px 0 0;
  }

  .cart-item-row {
    padding: 8px 0;
  }

  .cart-item-thumb {
    width: 48px;
    height: 48px;
  }

  /* Giảm khoảng cách phần đặt nhóm & gói ăn */
  .plans-section {
    padding: 32px 0;
  }

  .plan-box,
  .sub-config-box {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .sub-header-row {
    margin-bottom: 12px;
  }

  .process-section {
    padding: 32px 0;
  }

  .process-steps {
    gap: 14px;
    margin-top: 18px;
  }

  .process-step-card {
    padding: 16px;
  }
}

/* ==========================================================================
   Stock Badges (Kho Món Ăn & Kho Nước Uống - Yêu cầu 3)
   ========================================================================== */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  white-space: nowrap;
}

.stock-badge.is-low {
  background: #FFF3E0;
  color: #E65100;
  border-color: #FFCC80;
}

.stock-badge.is-out {
  background: #FFEBEE;
  color: #C62828;
  border-color: #EF9A9A;
}

/* Sub Cutoff Notice (Mốc 11h30 - Yêu cầu 4) */
.sub-cutoff-banner {
  margin: 10px 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  font-weight: 600;
}

.sub-cutoff-banner.is-before-1130 {
  background: #E8F5E9;
  border: 1.5px solid #A5D6A7;
  color: #1B5E20;
}

.sub-cutoff-banner.is-after-1130 {
  background: #FFF3E0;
  border: 1.5px solid #FFCC80;
  color: #B73E00;
}

/* Kho Hàng Admin Styles */
.inv-tab-content {
  animation: fadeIn 0.2s ease;
}

.inv-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid var(--bep-cream-dark);
  border-radius: var(--radius-sm);
  gap: 12px;
}

.inv-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.inv-item-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--bep-cream-light);
  border: 1px solid var(--bep-cream-dark);
}

.inv-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-inv-qty {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1.5px solid var(--bep-cream-dark);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s;
}

.btn-inv-qty:hover {
  background: var(--bep-cream);
  border-color: var(--bep-green);
  color: var(--bep-green);
}

@media (max-width: 600px) {
  .inv-item-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .inv-item-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}