/* ========== ROOT & RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: #faf6f0;
  color: #2c1a0e;
  overflow-x: hidden;
}

/* ========== CSS VARIABLES ========== */
:root {
  --cream: #faf6f0;
  --beige: #f2ead8;
  --warm-light: #efe5d0;
  --gold: #c8872a;
  --orange: #d4621a;
  --brown: #7a3a10;
  --deep-brown: #3d1a06;
  --text-dark: #2c1a0e;
  --text-mid: #5c3a1e;
  --text-light: #9a7055;
  --card-grad-1: #c8621a;
  --card-grad-2: #7a3210;
  --shadow-warm: 0 8px 32px rgba(100, 40, 10, 0.12);
  --shadow-card: 0 4px 20px rgba(100, 40, 10, 0.1);
  --radius: 18px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1567188040759-fb8a883dc6d6?w=1800&auto=format&fit=crop&q=80");
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 10, 3, 0.72) 0%,
    rgba(90, 34, 10, 0.62) 50%,
    rgba(20, 8, 2, 0.8) 100%
  );
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  animation: heroReveal 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(200, 135, 42, 0.35);
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-title em {
  font-style: italic;
  color: #f5c882;
}

.hero-subtitle {
  font-family: "Jost", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto 38px;
}

.hero-divider {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(212, 98, 26, 0.45);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.hero-btn:hover::before {
  transform: translateX(0);
}

.hero-btn:hover {
  box-shadow: 0 10px 36px rgba(212, 98, 26, 0.6);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

.hero-scroll svg {
  opacity: 0.6;
}

/* ========== MENU SECTION ========== */
#menu-section {
  padding: 80px 0 100px;
  background: var(--cream);
}

.menu-header {
  text-align: center;
  padding: 0 20px 60px;
}

.menu-header .section-label {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.menu-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--deep-brown);
  line-height: 1.12;
  margin-bottom: 14px;
}

.menu-header h2 em {
  font-style: italic;
  color: var(--gold);
}

.menu-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
}

.ornament span {
  width: 48px;
  height: 1px;
  background: var(--warm-light);
}

.ornament svg {
  color: var(--gold);
}

/* ========== LAYOUT ========== */
.menu-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: start;
}

/* ========== SIDEBAR ========== */
.sidebar {
  position: sticky;
  top: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
  border: 1px solid rgba(200, 135, 42, 0.12);
}

.sidebar-header {
  background: linear-gradient(135deg, var(--orange), var(--brown));
  padding: 20px 22px 18px;
  color: #fff;
}

.sidebar-header p {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}

.sidebar-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.cat-list {
  padding: 12px 0;
}

.cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  text-align: left;
  transition: all 0.22s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.cat-btn .cat-icon {
  font-size: 1.1rem;
}

.cat-btn:hover {
  background: var(--warm-light);
  color: var(--orange);
  border-left-color: var(--orange);
}

.cat-btn.active {
  background: linear-gradient(90deg, rgba(212, 98, 26, 0.1), transparent);
  color: var(--orange);
  border-left-color: var(--orange);
  font-weight: 600;
}

.cat-count {
  margin-left: auto;
  background: var(--beige);
  color: var(--text-light);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
}

.cat-btn.active .cat-count {
  background: var(--orange);
  color: #fff;
}

/* ========== MOBILE DROPDOWN ========== */
.mobile-cat-select {
  display: none;
  width: 100%;
  margin-bottom: 28px;
  padding: 14px 18px;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23c8872a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 16px center;
  border: 1.5px solid rgba(200, 135, 42, 0.25);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  appearance: none;
  cursor: pointer;
}

.mobile-cat-select:focus {
  outline: none;
  border-color: var(--gold);
}

/* ========== MENU GRID AREA ========== */
.menu-grid-area {
  min-width: 0;
}

.cat-section {
  margin-bottom: 64px;
}

.cat-section:last-child {
  margin-bottom: 0;
}

.cat-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--warm-light);
}

.cat-section-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cat-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep-brown);
}

.cat-section-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: "Jost", sans-serif;
  letter-spacing: 0.08em;
}

/* ========== MENU CARDS GRID ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

/* ========== MENU CARD ========== */
.menu-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease;
  border: 1px solid rgba(200, 135, 42, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(100, 40, 10, 0.18);
}

.card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(40, 12, 3, 0.55) 0%,
    transparent 60%
  );
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
}

.badge-bestseller {
  background: linear-gradient(90deg, #e0831a, #a84b0a);
}

.badge-musttry {
  background: linear-gradient(90deg, #2a8c2a, #1a5c1a);
}

.badge-fresh {
  background: linear-gradient(90deg, #1a6aa8, #104878);
}

.badge-popular {
  background: linear-gradient(90deg, #a02898, #6e1a6e);
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep-brown);
  line-height: 1.2;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.55;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--warm-light);
}

.card-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.01em;
}

.card-stars {
  display: flex;
  gap: 2px;
  font-size: 0.75rem;
  color: var(--gold);
}

.add-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: linear-gradient(135deg, var(--orange), var(--brown));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.add-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.add-btn:hover::after {
  transform: scaleX(1);
}

.add-btn:hover {
  box-shadow: 0 4px 14px rgba(212, 98, 26, 0.4);
  transform: translateY(-1px);
}

.add-btn.added {
  background: linear-gradient(135deg, #2a8c2a, #1a5c1a);
}

/* ========== FLOATING CART ========== */
.cart-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--orange), var(--brown));
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(212, 98, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  z-index: 999;
}

.cart-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(212, 98, 26, 0.65);
}

.cart-fab .cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #2a8c2a;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  border: 2px solid var(--cream);
  display: none;
}

/* ========== CART PANEL ========== */
.cart-panel {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 320px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(60, 20, 6, 0.22);
  border: 1px solid rgba(200, 135, 42, 0.15);
  z-index: 998;
  overflow: hidden;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: bottom right;
}

.cart-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cart-panel-header {
  background: linear-gradient(135deg, var(--orange), var(--brown));
  padding: 16px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel-header h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.cart-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.cart-items-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 12px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  transition: background 0.15s;
}

.cart-item:hover {
  background: var(--cream);
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--warm-light);
  background: var(--cream);
  color: var(--text-mid);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

.qty-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.qty-num {
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.cart-item-price {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
}

.cart-footer {
  padding: 16px 20px;
  border-top: 1.5px solid var(--warm-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total span:first-child {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cart-total strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--deep-brown);
}

.cart-empty {
  text-align: center;
  padding: 28px 20px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.cart-empty .empty-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #2a8c2a;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(42, 140, 42, 0.4);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .sidebar {
    display: none;
  }

  .mobile-cat-select {
    display: block;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 560px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    right: 16px;
    width: calc(100vw - 32px);
  }

  .cart-fab {
    bottom: 24px;
    right: 16px;
  }
}

/* ========== ORDER MODAL BACKDROP ========== */
.order-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 2, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.order-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ========== ORDER MODAL PANEL ========== */
.order-modal {
  background: var(--cream);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(40, 12, 3, 0.45);
  border: 1px solid rgba(200, 135, 42, 0.18);
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition:
    transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.32s ease;
  position: relative;
}

.order-backdrop.open .order-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* modal header */
.order-modal-header {
  background: linear-gradient(135deg, var(--orange), var(--brown));
  padding: 24px 28px 20px;
  border-radius: 24px 24px 0 0;
  color: #fff;
  position: relative;
}

.order-modal-header .modal-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}

.order-modal-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
}

.order-modal-header p {
  font-size: 0.82rem;
  opacity: 0.75;
  margin-top: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(90deg);
}

/* order summary strip */
.order-summary-strip {
  background: var(--beige);
  border-bottom: 1.5px solid var(--warm-light);
  padding: 14px 28px;
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.order-summary-strip .strip-items {
  font-weight: 500;
  color: var(--text-dark);
}

.order-summary-strip .strip-total {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
}

/* form body */
.order-form-body {
  padding: 24px 28px 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}

.form-group label .req {
  color: var(--orange);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: "Jost", sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid var(--warm-light);
  border-radius: 12px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 135, 42, 0.14);
}

.form-control.error {
  border-color: #c02020;
  box-shadow: 0 0 0 3px rgba(192, 32, 32, 0.1);
}

.form-error-msg {
  display: none;
  font-size: 0.72rem;
  color: #c02020;
  margin-top: 5px;
  padding-left: 2px;
}

.form-error-msg.show {
  display: block;
}

/* people stepper */
.people-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid var(--warm-light);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.people-stepper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 135, 42, 0.14);
}

.people-stepper.error {
  border-color: #c02020;
  box-shadow: 0 0 0 3px rgba(192, 32, 32, 0.1);
}

.step-btn {
  width: 44px;
  height: 44px;
  background: var(--beige);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-mid);
  transition:
    background 0.18s,
    color 0.18s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-btn:hover {
  background: var(--warm-light);
  color: var(--orange);
}

.step-input {
  flex: 1;
  border: none;
  outline: none;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--deep-brown);
  background: transparent;
  padding: 0 8px;
  min-width: 0;
}

/* cart preview in modal */
.modal-cart-preview {
  background: var(--beige);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  max-height: 160px;
  overflow-y: auto;
}

.modal-cart-preview .mcp-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 600;
}

.mcp-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 3px 0;
  border-bottom: 1px dashed rgba(150, 100, 60, 0.15);
}

.mcp-item:last-child {
  border-bottom: none;
}

.mcp-item .mcp-name {
  flex: 1;
}

.mcp-item .mcp-price {
  font-weight: 600;
  color: var(--orange);
  margin-left: 12px;
}

/* submit btn */
.order-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #25a025, #156015);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(37, 160, 37, 0.35);
  transition: all 0.24s ease;
  position: relative;
  overflow: hidden;
}

.order-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.order-submit-btn:hover::before {
  transform: translateX(0);
}

.order-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 160, 37, 0.45);
}

.order-submit-btn .wa-icon {
  font-size: 1.2rem;
}

/* confirmation step */
.confirm-step {
  display: none;
  text-align: center;
  padding: 32px 28px 36px;
}

.confirm-step.show {
  display: block;
}

.confirm-anim {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25a025, #156015);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
  animation: popIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1.4) both;
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.confirm-step h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 8px;
}

.confirm-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 28px;
}

.confirm-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25a025, #156015);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 160, 37, 0.4);
  transition: all 0.22s ease;
}

.confirm-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 160, 37, 0.55);
}

.confirm-back {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
}

.confirm-back:hover {
  color: var(--orange);
}

/* ========== PAYMENT STEP ========== */
.payment-step {
  display: none;
  padding: 24px 28px 28px;
  max-width: 100%;
}

.payment-header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.payment-header h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 4px;
}

.payment-header p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.payment-summary {
  background: linear-gradient(135deg, var(--beige), var(--warm-light));
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(193, 90, 42, 0.15);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.payment-row:not(:last-child) {
  border-bottom: 1px dashed rgba(193, 90, 42, 0.2);
}

.payment-amount {
  font-weight: 600;
  color: var(--deep-brown);
  font-size: 1rem;
}

.advance-row .payment-amount {
  color: #2a8c2a;
  font-size: 1.1rem;
}

.remaining-row .payment-amount {
  color: var(--orange);
}

.upi-options {
  margin-bottom: 20px;
}

.upi-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: center;
}

.upi-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;

    flex-direction: row; 
    flex-wrap: nowrap;   /* 🔥 FORCE horizontal */
}
place the icons of the payment methods as same to the image attached 
.upi-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
   flex: 0 0 auto;   /* 🔥 prevents shrinking/wrapping */

  background: transparent; /* remove card */
  border: none; /* remove border */
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.upi-btn:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 90, 42, 0.3);
}

.upi-btn:hover .upi-name {
  color: #fff;
}

.upi-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  font-weight: bold;
  color: white;
}
.upi-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-brown);
  text-transform: none; /* remove uppercase */
  letter-spacing: normal;
}

.payment-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.payment-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(193, 90, 42, 0.2);
}

.payment-divider span {
  background: var(--cream);
  padding: 0 16px;
  position: relative;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.manual-payment {
  margin-bottom: 24px;
}

.manual-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
  text-align: center;
}

.file-upload-wrapper {
  position: relative;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fff;
  border: 2px dashed var(--gold);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.file-upload-label:hover {
  background: var(--beige);
  border-color: var(--orange);
}

.upload-icon {
  font-size: 1.2rem;
}

.upload-text {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.screenshot-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.payment-actions {
  text-align: center;
}

.payment-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25a025, #156015);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 160, 37, 0.4);
  transition: all 0.22s ease;
  width: 100%;
  justify-content: center;
}

.payment-submit-btn:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.payment-submit-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 160, 37, 0.55);
}

.payment-back {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
}

.payment-back:hover {
  color: var(--orange);
}

/* ========== QR STATIC SECTION ========== */
.qr-static-section {
  text-align: center;
  padding: 20px;
}

.qr-image-container {
  text-align: center;
  margin-bottom: 16px;
}

.qr-image-container img {
  display: inline-block;
  max-width: 100%;
}

.qr-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--brown));
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.22s ease;
}

.qr-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 90, 42, 0.4);
}

.qr-instructions {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* ========== QR CODE SECTION (OLD - for reference) ========== */
.qr-section {
  padding: 20px;
  text-align: center;
}

.qr-header {
  margin-bottom: 20px;
}

.qr-title {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.qr-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-brown);
}

.qr-code-container {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.qr-timer {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
  font-family: "Jost", sans-serif;
  margin-bottom: 16px;
}

.qr-close-btn {
  background: none;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.qr-close-btn:hover {
  background: var(--beige);
  border-color: var(--orange);
  color: var(--orange);
}

@media (max-width: 560px) {
  .order-modal-header {
    padding: 20px 20px 16px;
  }

  .order-form-body {
    padding: 20px 20px 24px;
  }

  .order-summary-strip {
    padding: 12px 20px;
  }
}
