/* =========================================================
   SIMPLY PHO — style.css
   Color Palette:
   --gold:     #C8902A  (broth gold)
   --gold-lt:  #E5B84A  (light gold)
   --red:      #8B1A1A  (chili red / brand color)
   --green:    #3D6B3E  (basil green)
   --dark:     #1A1008  (dark wood)
   --cream:    #FBF6ED  (warm white)
   --charcoal: #2D2217  (dark text)
   ========================================================= */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C8902A;
  --gold-lt: #E5B84A;
  --gold-pale: #FDF0D5;
  --red: #8B1A1A;
  --red-lt: #B02020;
  --green: #3D6B3E;
  --dark: #1A1008;
  --charcoal: #2D2217;
  --brown: #5C3A1E;
  --cream: #FBF6ED;
  --cream2: #F5EDD8;
  --white: #FFFFFF;
  --shadow: 0 4px 32px rgba(26, 16, 8, .13);
  --shadow-lg: 0 12px 56px rgba(26, 16, 8, .2);
  --radius: 14px;
  --radius-sm: 8px;
  --trans: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
.hero-headline,
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.1rem;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

/* ── UTILITY CLASSES ── */
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title em {
  font-style: italic;
  color: var(--red);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: #7a6550;
  margin-top: .75rem;
  font-size: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--trans);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139, 26, 26, .35);
}

.btn-primary:hover {
  background: var(--red-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 26, 26, .45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--trans), padding var(--trans), box-shadow var(--trans);
}

.navbar.scrolled {
  background: rgba(251, 246, 237, 0.96); /* var(--cream) approx */
  backdrop-filter: blur(16px);
  padding: .75rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.logo-simply {
  font-family: 'Dancing Script', cursive;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
}

.logo-pho {
  font-family: 'Playfair Display', serif;
  color: var(--red);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.logo-bowl-icon {
  width: 28px;
  height: 28px;
  opacity: .85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--charcoal);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  transition: color var(--trans);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--trans);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  transition: all var(--trans);
  box-shadow: 0 2px 12px rgba(139, 26, 26, .35);
}

.cart-btn svg {
  width: 20px;
  height: 20px;
}

.cart-btn:hover {
  background: var(--red-lt);
  transform: scale(1.08);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--dark);
  font-size: .65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
  transition: transform .2s;
}

.cart-count.bump {
  transform: scale(1.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 2px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--trans);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(26, 16, 8, .82) 0%,
      rgba(26, 16, 8, .55) 50%,
      rgba(26, 16, 8, .45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  padding-top: 100px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold-lt);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold-lt);
  border-radius: 50%;
}

.hero-headline {
  color: var(--white);
  max-width: 640px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .4);
}

.hero-headline em {
  color: var(--gold-lt);
  font-style: italic;
}

.hero-subtitle {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  text-align: center;
}

.stat:first-child {
  padding-left: 0;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .3rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .25);
}

.hero-scroll-cta {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: .65;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-cta svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── ABOUT ── */
.about {
  padding: 7rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.badge-ring text {
  fill: var(--gold);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.badge-center {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  z-index: 1;
}

.about-content .section-title {
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--brown);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-body {
  color: #6b5540;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  border-left: 3px solid var(--gold);
}

.pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  margin-bottom: .15rem;
  color: var(--charcoal);
}

.pillar p {
  font-size: .88rem;
  color: #7a6550;
  margin: 0;
}

/* ── MENU ── */
.menu-section {
  padding: 7rem 0;
  background: var(--cream);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ── PLACEHOLDER CARD (no food photo) ── */
.card-img-placeholder {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #2c1810 0%, #8b1a1a 55%, #c8902a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-placeholder .placeholder-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35));
}

.card-img-placeholder .card-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
}

/* ── OPTION PICKER (radio chips inside card) ── */
.option-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .45rem 0 .55rem;
}

.option-picker label {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .7rem;
  border-radius: 50px;
  border: 1.5px solid #d9cbbf;
  font-size: .72rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--white);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
  user-select: none;
  line-height: 1.3;
}

.option-picker label:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: #faf6ef;
}

.option-picker input[type="radio"] {
  display: none;
}



.option-picker input[type="radio"]:checked~.opt-label,
.option-picker label:has(input[type="radio"]:checked) {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(139, 26, 26, .25);
}

.option-picker label .opt-price {
  font-weight: 700;
  opacity: .85;
  font-size: .68rem;
}

.option-picker-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #a08060;
  margin-bottom: .15rem;
  display: block;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--white);
  border: 2px solid transparent;
  transition: all var(--trans);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tab-btn.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(139, 26, 26, .3);
}

.tab-icon {
  font-size: 1.1rem;
}

.tab-pane {
  display: none;
  animation: fadeInUp .5s var(--trans) both;
}

.tab-pane.active {
  display: grid;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

/* Menu Card */
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 16, 8, .08);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream2);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.menu-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.card-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 20px;
}

.card-badge--spicy {
  background: var(--brown);
}

.card-badge--gold {
  background: var(--gold);
  color: var(--dark);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .1rem;
}

.card-eng {
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.card-desc {
  font-size: .88rem;
  color: #7a6550;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--charcoal);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: 50px;
  transition: all var(--trans);
}

.btn-add-cart svg {
  width: 14px;
  height: 14px;
}

.btn-add-cart:hover {
  background: var(--red);
  transform: scale(1.04);
}

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 16, 8, .55);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
  backdrop-filter: blur(3px);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, .2);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--cream2);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.cart-title svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.cart-close {
  font-size: 1.8rem;
  color: var(--brown);
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--trans);
}

.cart-close:hover {
  background: var(--cream2);
  color: var(--red);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: .5rem;
  text-align: center;
  color: #b0957a;
}

.cart-empty-icon {
  font-size: 3rem;
}

.cart-empty p {
  font-weight: 600;
  color: var(--brown);
}

.cart-empty span {
  font-size: .88rem;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--cream2);
  animation: fadeInUp .3s var(--trans) both;
}

.cart-item-img {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal);
  margin-bottom: .15rem;
}

.cart-item-price {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream2);
  color: var(--charcoal);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all var(--trans);
}

.qty-btn:hover {
  background: var(--red);
  color: var(--white);
}

.qty-value {
  font-size: .9rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  margin-left: auto;
  color: #c87070;
  font-size: .8rem;
  font-weight: 500;
  transition: color var(--trans);
}

.remove-btn:hover {
  color: var(--red);
}

/* Cart Summary */
.cart-summary {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--cream2);
  background: var(--cream);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--brown);
}

.summary-row--delivery {
  color: var(--charcoal);
  font-weight: 500;
}

.delivery-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .15rem .45rem;
  border-radius: 4px;
  margin-left: .4rem;
}

.summary-row--total {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  border-top: 1px solid var(--cream2);
  margin-top: .4rem;
  padding-top: .75rem;
}

.btn-checkout {
  width: 100%;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(139, 26, 26, .3);
  transition: all var(--trans);
}

.btn-checkout:hover:not(:disabled) {
  background: var(--red-lt);
  transform: translateY(-2px);
}

.btn-checkout:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.checkout-note {
  text-align: center;
  font-size: .78rem;
  color: var(--brown);
  margin-top: .65rem;
}

/* ── ORDER MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 16, 8, .65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
  backdrop-filter: blur(6px);
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Shared modal card */
.modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
  animation: popIn .4s cubic-bezier(.34, 1.56, .64, 1) both;
  position: relative;
}

@keyframes popIn {
  from {
    transform: scale(.88);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---- Form modal (step 1) ---- */
.modal-form {
  flex-direction: column;
  padding: 0;
  display: flex;
}

.modal-back-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.8rem;
  color: var(--brown);
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--trans);
  z-index: 2;
}

.modal-back-btn:hover {
  background: var(--cream2);
  color: var(--red);
}

.modal-form-header {
  text-align: center;
  padding: 2.5rem 2.5rem 1.25rem;
  border-bottom: 1px solid var(--cream2);
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: .4rem;
}

.modal-subtitle {
  font-size: .88rem;
  color: #9e7d5a;
  line-height: 1.6;
}

/* order summary chips */
.order-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem 2rem .25rem;
}

.order-chip {
  background: var(--gold-pale);
  color: var(--brown);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--gold-lt);
}

/* ---- Form fields ---- */
.order-form {
  padding: 1.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.form-label-icon {
  font-size: 1rem;
}

.req {
  color: var(--red);
  font-size: .9em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #d9cfc4;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .9rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}

.form-group input::placeholder {
  color: #b8a899;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 144, 42, .12);
  background: var(--white);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, .1);
}

.form-error {
  font-size: .75rem;
  color: var(--red);
  display: none;
}

.form-error.visible {
  display: block;
}

.btn-submit-order {
  margin-top: .5rem;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ---- Success modal (step 2) ---- */
.modal-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
}

.success-bounce {
  font-size: 3.5rem;
  margin-bottom: .75rem;
  animation: successBounce .6s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes successBounce {
  from {
    transform: scale(0) rotate(-15deg);
  }

  to {
    transform: scale(1) rotate(0deg);
  }
}

.modal-msg {
  color: #7a6550;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.success-detail {
  width: 100%;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--cream2);
  font-size: .88rem;
}

.success-row:last-child {
  border-bottom: none;
}

.success-row span {
  color: #9e7d5a;
  flex-shrink: 0;
}

.success-row strong {
  color: var(--charcoal);
  text-align: right;
}

.success-total {
  margin-top: .25rem;
  padding-top: .6rem;
  border-top: 2px solid var(--cream2);
  border-bottom: none !important;
}

.success-total span {
  color: var(--charcoal);
  font-weight: 600;
}

.success-total strong {
  color: var(--red);
  font-size: 1.1rem;
}

/* Section labels inside success detail */
.success-section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .5rem 0 .2rem;
  border-bottom: 1px solid var(--cream2);
  margin-bottom: .15rem;
}

/* Item rows */
.success-item-row {
  align-items: center;
}

.item-name-qty {
  color: var(--charcoal);
  font-size: .88rem;
}

.item-name-qty em {
  color: var(--brown);
  font-style: normal;
}

/* Divider between items & totals */
.success-divider {
  height: 1px;
  background: var(--cream2);
  margin: .5rem 0;
}

/* Subtotal rows (lighter than grand total) */
.success-subtotal span {
  color: #9e7d5a;
}

.success-subtotal strong {
  color: var(--brown);
  font-size: .88rem;
}

/* ── Security: honeypot anti-spam field — invisible to real users ── */
.bot-trap-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-form-header {
    padding: 2rem 1.5rem 1rem;
  }

  .order-form {
    padding: 1rem 1.25rem 1.5rem;
  }

  .modal-success {
    padding: 2rem 1.5rem;
  }

  .order-chips {
    padding: .75rem 1.25rem .25rem;
  }
}


/* ── CONTACT ── */
.contact-section {
  padding: 7rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-block h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: .3rem;
  color: var(--charcoal);
}

.info-block p {
  font-size: .9rem;
  color: #7a6550;
  line-height: 1.65;
}

.info-block a {
  color: var(--gold);
}

.info-block a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: .5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  transition: all var(--trans);
  border: 1.5px solid var(--cream2);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-3px);
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
}

.map-inner {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream2);
}

/* ── FOOTER ── */
.footer {
  background: var(--cream);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.footer-brand p {
  font-size: .8rem;
  color: var(--charcoal);
  margin-top: .15rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: var(--charcoal);
  font-size: .88rem;
  transition: color var(--trans);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: .78rem;
  color: rgba(45, 34, 23, .6);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid {
    gap: 3rem;
  }

  .contact-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 500px;
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-inner {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(251, 246, 237, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: .25rem;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  }

  .nav-links.open a {
    display: block;
    padding: .85rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    border-radius: 8px;
    color: var(--charcoal);
  }

  .hamburger {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: .5rem;
    flex-direction: row;
  }

  .stat {
    padding: 0 1rem;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .about {
    padding: 5rem 0;
  }

  .menu-section {
    padding: 5rem 0;
  }

  .contact-section {
    padding: 5rem 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    padding: 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .about-badge {
    right: 0;
    bottom: -1rem;
    width: 90px;
    height: 90px;
  }

  .cart-sidebar {
    width: 100vw;
  }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}