/* ===== CSS Variables ===== */
:root {
  --red: #8b1a1a;
  --red-dark: #6b1010;
  --red-light: #a52020;
  --cream: #fdf6ec;
  --tan: #e8d5b7;
  --tan-dark: #c9b48a;
  --charcoal: #1c1c1c;
  --grey: #555;
  --grey-light: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.07);
  --radius: 10px;
  --transition: 0.2s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: 'Georgia', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { color: var(--grey); }

/* ===== Utility ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.section-subtitle {
  text-align: center;
  color: var(--grey);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 0.75rem auto 2.5rem;
  border-radius: 2px;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.875rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,26,26,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.tag {
  display: inline-block;
  background: var(--tan);
  color: #6b5a3e;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28,28,28,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 2px 16px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo .logo-icon { font-size: 1.5rem; }
.nav-logo .logo-text {
  color: var(--white);
  font-size: 1.2rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.nav-logo .logo-text span { color: var(--tan-dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-cart-btn {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
  opacity: 1 !important;
}
.nav-cart-btn:hover { background: var(--red-dark) !important; }
.nav-cart-btn::after { display: none !important; }
.cart-count {
  background: var(--white);
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.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 {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d1010 55%, var(--red) 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.03'%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");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--tan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--tan-dark); }
.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-photo {
  flex: 0 0 340px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  border: 3px solid rgba(255,255,255,0.12);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===== Features strip ===== */
.features-strip {
  background: var(--red);
  color: var(--white);
  padding: 1.25rem 0;
}
.features-inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.95;
}
.feature-item .fi { font-size: 1.1rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  border-radius: 14px;
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-hover);
  position: relative;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-content .about-badge {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.about-content h2 { color: var(--charcoal); margin-bottom: 0.5rem; }
.about-content .divider { margin: 0.75rem 0 1.25rem; }
.about-content p { margin-bottom: 1.2rem; line-height: 1.7; }
.about-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.stat { text-align: center; }
.stat .num {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--red);
  font-family: 'Georgia', serif;
}
.stat .label { font-size: 0.75rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Why Us (3-col reasons grid) ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

/* ===== Product Cards ===== */
.featured { background: var(--grey-light); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-img {
  background: linear-gradient(135deg, var(--tan) 0%, var(--tan-dark) 100%);
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-emoji {
  font-size: 4rem;
  line-height: 1;
  user-select: none;
  z-index: 0;
}
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-body .tag { margin-bottom: 0.5rem; }
.product-body h3 { margin-bottom: 0.35rem; color: var(--charcoal); font-size: 1.1rem; }
.product-body p { font-size: 0.875rem; flex: 1; margin-bottom: 1rem; line-height: 1.6; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.price { font-size: 1.05rem; font-weight: 700; color: var(--red); }
.price span { font-size: 0.8rem; font-weight: 400; color: var(--grey); }
.add-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.45rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.add-btn:hover:not(:disabled) { background: var(--red-dark); transform: scale(1.04); }
.add-btn.added { background: #2e7d32; }
.add-btn:disabled { background: #bbb; cursor: not-allowed; opacity: 0.6; }

/* ===== Out of Stock ===== */
.product-card.oos { opacity: 0.72; }
.product-card.oos .product-img img { filter: grayscale(60%); }
.oos-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}

/* ===== Reasons / Why Us Cards ===== */
.reason-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.reason-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #fdf1e4 0%, var(--tan) 100%);
}
.reason-body { padding: 1.25rem 1.5rem 1.5rem; }
.reason-body h3 { margin-bottom: 0.4rem; color: var(--charcoal); }
.reason-body p { font-size: 0.875rem; line-height: 1.65; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d1010 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== Menu Page ===== */
.page-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d1010 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
.category-nav {
  background: var(--white);
  border-bottom: 1px solid var(--tan);
  position: sticky;
  top: 58px;
  z-index: 50;
}
.category-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  scrollbar-width: none;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.cat-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.875rem 1.1rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey);
  white-space: nowrap;
  transition: all var(--transition);
}
.cat-btn:hover { color: var(--red); }
.cat-btn.active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
.menu-section { padding: 4rem 0; }
.menu-section + .menu-section { padding-top: 0; }
.category-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.category-heading h2 { font-size: 1.5rem; color: var(--charcoal); white-space: nowrap; }
.category-heading .cat-line { flex: 1; height: 1px; background: var(--tan); }

/* ===== Order Page ===== */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
  padding: 4rem 0;
}
.order-products .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Filter buttons on order page */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-bar .cat-btn {
  border: 1px solid var(--tan-dark);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}
.filter-bar .cat-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  border-bottom: 1px solid var(--red);
}
.filter-bar .cat-btn:hover:not(.active) {
  border-color: var(--red);
  color: var(--red);
}

/* Cart Sidebar */
.cart-sidebar {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 88px;
  overflow: hidden;
}
.cart-header {
  background: var(--red);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 { font-size: 1rem; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; font-weight: 700; }
.cart-body { padding: 1.25rem; }
.cart-empty {
  text-align: center;
  color: var(--grey);
  font-size: 0.875rem;
  padding: 2rem 0;
}
.cart-empty .empty-icon { font-size: 2.25rem; margin-bottom: 0.5rem; }
.cart-items { margin-bottom: 1rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-icon { font-size: 1.4rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info .ci-name { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info .ci-price { font-size: 0.78rem; color: var(--grey); }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--tan-dark);
  background: var(--grey-light);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--tan); }
.qty-num { font-size: 0.875rem; min-width: 20px; text-align: center; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  padding: 0.75rem 0;
  border-top: 2px solid var(--charcoal);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.cart-total .total-price { color: var(--red); font-size: 1.1rem; }

/* Order Form */
.order-form-section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1.75rem;
  margin-top: 1rem;
}
.order-form-section h3 {
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--tan);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--tan-dark);
  border-radius: var(--radius);
  padding: 0.65rem 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #fafaf8;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.08);
}
.form-group small { font-size: 0.76rem; color: var(--grey); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note {
  background: #fff8f0;
  border: 1px solid var(--tan);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.form-note strong { color: var(--charcoal); }
.submit-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.submit-btn:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139,26,26,0.3);
}
.submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Slot status */
.slot-status {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  font-weight: 500;
}
.slot-status.available { color: #2e7d32; }
.slot-status.low       { color: #e65100; }
.slot-status.full      { color: var(--red); font-weight: 600; }
.slot-status.loading   { color: var(--grey); }

/* Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: scale(0.93) translateY(8px);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-icon { font-size: 3.5rem; margin-bottom: 0.75rem; }
.modal h2 { color: var(--charcoal); margin-bottom: 0.6rem; }
.modal p { margin-bottom: 0.5rem; }
.modal .order-num { color: var(--red); font-weight: 700; font-size: 1.05rem; }
.modal .delivery-note {
  background: #fff8f0;
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--grey);
}

/* ===== Contact / Info Strip ===== */
.info-strip {
  background: var(--charcoal);
  color: var(--white);
  padding: 3.5rem 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.info-card .info-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }
.info-card h4 { color: var(--tan); margin-bottom: 0.4rem; font-size: 0.95rem; letter-spacing: 0.05em; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; font-weight: 700; text-transform: uppercase; }
.info-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.65; }

/* ===== Footer ===== */
footer {
  background: #111;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.82rem;
}
footer span { color: var(--red); }

/* ===== Delivery Section ===== */
.delivery-section { background: var(--cream); }
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.delivery-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}
.delivery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.delivery-card .dc-icon { font-size: 2.25rem; margin-bottom: 0.875rem; }
.delivery-card h3 { color: var(--charcoal); margin-bottom: 0.4rem; font-size: 1.05rem; }
.delivery-card p { font-size: 0.875rem; line-height: 1.65; }
.hours-box {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 12px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hours-box h3 { color: var(--tan); font-size: 1.15rem; margin-bottom: 1.1rem; }
.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.875rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: var(--tan); font-weight: 600; }
.hours-list .time { color: rgba(255,255,255,0.75); }
.hours-cta { text-align: center; }
.hours-cta .wa-number {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hours-cta .wa-number:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.hours-cta p { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-top: 0.5rem; }

/* ===== WhatsApp Chat Widget ===== */
.wa-chat {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 0.7rem 1.2rem 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 400;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-chat:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.wa-chat svg { width: 22px; height: 22px; flex-shrink: 0; fill: white; }
.wa-chat-label { font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 500px) { .wa-chat-label { display: none; } .wa-chat { border-radius: 50%; padding: 0.875rem; } }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid #4caf50; }

/* ===== Weight / Qty Modal ===== */
.wm-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.wm-overlay.active { opacity: 1; pointer-events: all; }
.wm-box {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  width: 92%; max-width: 400px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: scale(0.95) translateY(8px);
  transition: transform 0.2s ease;
}
.wm-overlay.active .wm-box { transform: scale(1) translateY(0); }
.wm-product {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tan);
}
.wm-emoji { font-size: 2.2rem; line-height: 1; }
.wm-name { font-weight: 700; font-size: 1.05rem; color: var(--charcoal); margin-bottom: 0.1rem; font-family: 'Georgia', serif; }
.wm-unit-price { font-size: 0.82rem; color: var(--grey); }
.wm-label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--charcoal); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.03em; }
.wm-input {
  width: 100%; padding: 0.75rem 1rem;
  font-size: 1.1rem; font-family: inherit;
  border: 2px solid var(--tan); border-radius: var(--radius);
  outline: none; box-sizing: border-box;
  transition: border-color 0.2s;
  background: #fafaf8;
  color: var(--charcoal);
}
.wm-input:focus { border-color: var(--red); background: var(--white); }
.wm-input.error { border-color: var(--red); background: #fff8f8; }
.wm-hint { font-size: 0.78rem; color: var(--grey); margin: 0.35rem 0 0.25rem; }
.wm-error { font-size: 0.8rem; color: var(--red); min-height: 1.2em; margin-bottom: 0.75rem; font-weight: 500; }
.wm-preview {
  background: #f9f5ef; border-radius: var(--radius);
  padding: 0.75rem 1.1rem;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--tan);
}
.wm-preview-label { font-size: 0.82rem; color: var(--grey); }
.wm-preview-price { font-size: 1.4rem; font-weight: 700; color: var(--red); font-family: 'Georgia', serif; }
.wm-btns { display: flex; gap: 0.75rem; }
.wm-btns .btn { flex: 1; text-align: center; justify-content: center; }

/* Prep selector */
.wm-prep { margin-bottom: 0.75rem; }
.wm-prep-options { display: flex; flex-direction: column; gap: 0.4rem; }
.wm-prep-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--tan);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.88rem;
}
.wm-prep-option:has(input:checked) { border-color: var(--red); background: #fff8f5; }
.wm-prep-option input[type=radio] { accent-color: var(--red); flex-shrink: 0; }
.wm-prep-label { flex: 1; color: var(--charcoal); font-weight: 500; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.wm-prep-free { font-size: 0.75rem; font-weight: 700; color: #166534; background: #f0fdf4; border: 1px solid #a7f3d0; padding: 0.1rem 0.45rem; border-radius: 10px; }
.wm-prep-cost { font-size: 0.75rem; font-weight: 700; color: var(--red); background: #fff0f0; border: 1px solid #f5c0c0; padding: 0.1rem 0.45rem; border-radius: 10px; }

/* Prep badge in cart */
.ci-prep {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey);
  background: var(--tan);
  border-radius: 8px;
  padding: 0.1rem 0.45rem;
  vertical-align: middle;
  margin-left: 0.3rem;
}

/* ===== Cart remove button ===== */
.ci-remove {
  background: none; border: none;
  color: #bbb; font-size: 0.85rem;
  cursor: pointer; padding: 0.25rem 0.4rem;
  border-radius: 4px; flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}
.ci-remove:hover { color: var(--red); background: #fff0f0; }

/* ===== Order Page: Checkout CTA ===== */
.checkout-cta {
  margin-top: 0.25rem;
}
.checkout-btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--red);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.checkout-btn:hover:not([disabled]) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139,26,26,0.3);
}
.checkout-btn[disabled],
.checkout-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}
.cart-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 0.6rem;
}

/* ===== Checkout Page ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
  padding: 4rem 0;
}
.checkout-form-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 2rem;
}
.checkout-form-card h2 {
  color: var(--charcoal);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--tan);
}
.checkout-summary {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 88px;
  overflow: hidden;
}
.checkout-summary-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-summary-header h3 {
  font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
}
.checkout-summary-header a {
  font-size: 0.78rem;
  color: var(--tan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.checkout-summary-header a:hover { opacity: 1; }
.checkout-summary-body { padding: 1.25rem; }
.checkout-summary-items { margin-bottom: 1rem; }
.checkout-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.checkout-summary-item:last-child { border-bottom: none; }
.csi-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.2; }
.csi-info { flex: 1; min-width: 0; }
.csi-name { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
.csi-amount { font-size: 0.78rem; color: var(--grey); }
.csi-price { font-size: 0.875rem; font-weight: 700; color: var(--red); flex-shrink: 0; }
.csi-remove {
  background: none; border: none;
  color: #ccc; font-size: 0.8rem;
  cursor: pointer; padding: 0.2rem 0.35rem;
  border-radius: 4px; flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
  align-self: center;
}
.csi-remove:hover { color: var(--red); background: #fff0f0; }
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0.5rem;
  border-top: 2px solid var(--charcoal);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}
.checkout-summary-total .cst-price {
  color: var(--red);
  font-size: 1.15rem;
}
.checkout-delivery-note {
  font-size: 0.78rem;
  color: var(--grey);
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--grey-light);
}
.empty-cart-redirect {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--grey);
}
.empty-cart-redirect .ecr-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-cart-redirect h2 { color: var(--charcoal); margin-bottom: 0.5rem; }
.empty-cart-redirect p { margin-bottom: 1.5rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { height: 240px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .info-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .delivery-grid { grid-template-columns: 1fr; }
  .hours-box { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28,28,28,0.98);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    padding: 0.75rem 1.5rem;
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-cart-btn {
    margin: 0.5rem 1.5rem;
    display: inline-flex;
    border-radius: var(--radius);
  }
  .hamburger { display: flex; }
  .hero-photo { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .features-inner { gap: 1rem; }
  .about-stats { flex-wrap: wrap; gap: 1.25rem; }
  .reasons-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0; }
}

/* ===== Navbar: Account button ===== */
.nav-account-btn {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition) !important;
}
.nav-account-btn:hover { color: var(--white) !important; }
.nav-account-btn::after { display: none !important; }
.nav-account-btn svg { width: 15px; height: 15px; fill: currentColor; opacity: 0.8; }

/* ===== Account Page ===== */
.account-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Auth tabs */
.auth-tabs {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.auth-tab {
  flex: 1;
  padding: 0.875rem;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  transition: all var(--transition);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  border-bottom: 3px solid transparent;
}
.auth-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
  background: #fdf8f5;
}

/* Auth card */
.auth-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 2rem;
}
.auth-card h2 {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}
.auth-card .auth-sub {
  font-size: 0.875rem;
  color: var(--grey);
  margin-bottom: 1.75rem;
}

/* Auth error/success message */
.auth-msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: none;
}
.auth-msg.error { background: #fff0f0; border: 1px solid #f5c0c0; color: #b91c1c; display: block; }
.auth-msg.success { background: #f0fdf4; border: 1px solid #a7f3d0; color: #166534; display: block; }

/* Auth form submit */
.auth-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  transition: background var(--transition), transform var(--transition);
  margin-top: 0.25rem;
}
.auth-btn:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); }
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-btn.secondary {
  background: none;
  color: var(--grey);
  border: 1.5px solid var(--tan-dark);
  margin-top: 0.75rem;
  font-weight: 600;
}
.auth-btn.secondary:hover { background: var(--grey-light); transform: none; color: var(--charcoal); }

/* Profile card */
.profile-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.profile-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d1010 100%);
  padding: 2rem;
  text-align: center;
  color: var(--white);
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 0.75rem;
}
.profile-name { font-size: 1.2rem; font-family: 'Georgia', serif; margin-bottom: 0.2rem; }
.profile-email { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.profile-admin-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-top: 0.5rem;
}
.profile-body { padding: 1.75rem 2rem; }
.profile-body h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--tan);
}
.profile-admin-link {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: #fff8f0;
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  transition: background var(--transition);
}
.profile-admin-link:hover { background: var(--tan); }

/* Checkout: logged-in notice */
.checkout-account-bar {
  background: #f0fdf4;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #166534;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.checkout-account-bar strong { color: #14532d; }
.checkout-account-bar a { color: #166534; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; font-size: 0.8rem; white-space: nowrap; }

/* Order history */
.orders-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  margin-top: 1.5rem;
}
.orders-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d1010 100%);
  padding: 1.25rem 1.75rem;
}
.orders-header h3 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.order-entry {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--tan);
}
.order-entry:last-child { border-bottom: none; }
.order-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.order-id {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-family: 'Georgia', serif;
  display: block;
}
.order-placed {
  font-size: 0.75rem;
  color: var(--grey);
  display: block;
  margin-top: 0.1rem;
}
.order-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.order-status.status-pending   { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.order-status.status-completed { background: #f0fdf4; border: 1px solid #a7f3d0; color: #166534; }
.order-status.status-cancelled { background: #fff0f0; border: 1px solid #f5c0c0; color: #b91c1c; }
.order-delivery {
  font-size: 0.8rem;
  color: var(--grey);
  margin-bottom: 0.75rem;
}
.order-items { margin-bottom: 0.75rem; }
.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--tan);
  color: var(--charcoal);
}
.order-item:last-child { border-bottom: none; }
.order-item span:nth-child(2) { color: var(--grey); white-space: nowrap; }
.order-item span:nth-child(3) { font-weight: 600; white-space: nowrap; }
.order-total {
  font-size: 0.875rem;
  color: var(--grey);
  text-align: right;
}
.order-total strong { color: var(--charcoal); font-size: 1rem; }
