/* ============================================
   DIARIOLAPALABRA - MAIN CSS
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  --primary: #D32F2F;
  --primary-dark: #B71C1C;
  --primary-light: #EF5350;
  --secondary: #FFF8DC;
  --accent: #4CAF50;
  --accent-dark: #388E3C;
  --white: #FFFFFF;
  --black: #111111;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --font: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1440px;
  --nav-height: 72px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
  font-size: 16px; /* Prevent zoom on iOS */
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
  transition: transform 0.3s ease, background 0.3s ease;
  padding-top: env(safe-area-inset-top);
}

.navbar.hidden {
  transform: translateY(calc(-100% - env(safe-area-inset-top)));
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.nav-links a {
  font-weight: 500;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--gray-700);
  transition: color var(--transition);
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cart {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background var(--transition);
}

.btn-cart:hover {
  background: var(--gray-200);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.cart-badge.visible {
  display: flex;
}

.btn-order-nav {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}

.btn-order-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--gray-100);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + env(safe-area-inset-top));
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 16px;
  color: var(--gray-800);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--gray-100);
  color: var(--primary);
}

.mobile-menu .mobile-order-btn {
  background: var(--primary);
  color: white;
  text-align: center;
  margin-top: 8px;
  border-radius: var(--radius-full);
  padding: 14px 20px;
  font-weight: 700;
}

.mobile-menu .mobile-order-btn:hover {
  background: var(--primary-dark);
}

/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */
.page-wrapper {
  padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
  min-height: 100vh;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 16px);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: clamp(15px, 1.6vw, 18px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: clamp(500px, 80vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 60%, rgba(211,47,47,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 64px);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(30px, 5.5vw, 70px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--primary-light);
}

.hero p {
  font-size: clamp(15px, 1.8vw, 20px);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--secondary);
  border-bottom: 1px solid var(--gray-200);
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px clamp(16px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--gray-800);
}

.trust-icon {
  font-size: clamp(24px, 3vw, 32px);
}

.trust-item span {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  color: var(--primary);
  font-size: clamp(14px, 1.4vw, 16px);
}

.trust-item small {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-500);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-tag {
  display: inline-block;
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   PIZZA CAROUSEL / CARDS
   ============================================ */
.pizza-carousel-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 12px;
}

.pizza-carousel-wrap::-webkit-scrollbar {
  display: none;
}

.pizza-carousel {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  padding: 0 clamp(16px, 5vw, 64px) 8px;
  min-width: min-content;
}

.pizza-card {
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
  width: clamp(240px, 28vw, 320px);
  cursor: pointer;
}

.pizza-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.pizza-card-img {
  height: clamp(160px, 18vw, 220px);
  overflow: hidden;
  position: relative;
}

.pizza-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pizza-card:hover .pizza-card-img img {
  transform: scale(1.08);
}

.pizza-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pizza-card-badge.vegan {
  background: var(--accent);
}

.pizza-card-badge.popular {
  background: #FF6F00;
}

.pizza-card-body {
  padding: clamp(14px, 2vw, 20px);
}

.pizza-card-body h3 {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.pizza-card-body p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pizza-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pizza-price {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  color: var(--primary);
}

.btn-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.btn-add:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-section {
  background: linear-gradient(135deg, var(--primary) 0%, #B71C1C 100%);
  overflow: hidden;
  position: relative;
}

.promo-section::before {
  content: '🍕';
  position: absolute;
  font-size: 200px;
  opacity: 0.06;
  top: -40px;
  right: -20px;
  pointer-events: none;
}

.promo-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.promo-cards {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
}

.promo-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 24px);
  color: white;
  min-width: clamp(160px, 20vw, 220px);
}

.promo-card .tag {
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.promo-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  margin-bottom: 4px;
}

.promo-card p {
  font-size: 13px;
  opacity: 0.85;
}

.promo-cta {
  text-align: right;
}

.promo-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.promo-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  font-size: 15px;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  color: #FFC107;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.review-author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
}

.review-author-info span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: var(--secondary);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.newsletter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 80px) clamp(16px, 5vw, 64px);
  text-align: center;
}

.newsletter-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.newsletter-inner p {
  color: var(--gray-600);
  margin-bottom: 28px;
  font-size: clamp(14px, 1.5vw, 16px);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-right: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  outline: none;
  font-size: 15px;
  background: white;
  min-width: 0;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--gray-900);
  color: white;
  padding-bottom: env(safe-area-inset-bottom);
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 80px) clamp(16px, 5vw, 64px) clamp(36px, 5vw, 50px);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(30px, 5vw, 60px);
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.footer-brand .brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-info a,
.footer-contact-info span {
  color: var(--gray-400);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: color var(--transition);
}

.footer-contact-info a:hover {
  color: white;
}

.footer-contact-info .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--gray-400);
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul a:hover {
  color: white;
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--transition), transform var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 20px clamp(16px, 5vw, 64px);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--gray-500);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: white;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
#scroll-top {
  position: fixed;
  bottom: calc(32px + env(safe-area-inset-bottom));
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px) !important;
}

/* ============================================
   LIVE CHAT WIDGET
   ============================================ */
#live-chat {
  position: fixed;
  bottom: calc(96px + env(safe-area-inset-bottom));
  right: 24px;
  z-index: 500;
}

.chat-btn {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.chat-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.chat-bubble {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  display: none;
  animation: fadeInUp 0.3s ease;
}

#live-chat:hover .chat-bubble {
  display: block;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: white;
  padding: 16px clamp(16px, 5vw, 40px);
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

#cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  font-size: 13px;
  color: var(--gray-300);
  max-width: 700px;
}

.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

.cookie-decline {
  background: transparent;
  color: var(--gray-300);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--gray-600);
  transition: all var(--transition);
}

.cookie-decline:hover {
  border-color: var(--gray-400);
  color: white;
}

/* ============================================
   CART SIDEBAR
   ============================================ */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: white;
  z-index: 1501;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: env(safe-area-inset-top);
}

#cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-header h3 {
  font-size: 20px;
  font-weight: 800;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--transition);
}

.cart-close:hover {
  background: var(--gray-200);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--gray-400);
}

.cart-empty .emoji {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition);
  line-height: 1;
}

.qty-btn:hover {
  background: var(--gray-200);
}

.qty-num {
  font-size: 15px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.promo-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.promo-input-wrap input {
  flex: 1;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
}

.promo-input-wrap input:focus {
  border-color: var(--primary);
}

.promo-input-wrap button {
  background: var(--gray-900);
  color: white;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.promo-input-wrap button:hover {
  background: var(--black);
}

.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-checkout:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #B71C1C 100%);
  padding: clamp(50px, 8vw, 90px) clamp(16px, 5vw, 64px);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-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.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-hero p {
  font-size: clamp(14px, 1.6vw, 18px);
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px clamp(16px, 5vw, 64px);
}

.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--gray-900);
  font-weight: 600;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: var(--font);
  color: var(--gray-900);
  background: white;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-control.error {
  border-color: var(--primary);
}

.form-error {
  color: var(--primary);
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-error.show {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   LOCATIONS MAP PLACEHOLDER
   ============================================ */
.map-container {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--gray-500);
  padding: 40px;
}

.map-placeholder .map-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}

/* ============================================
   LOCATION CARDS
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.location-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.location-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

.location-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(76, 175, 80, 0.1);
  color: var(--accent);
  white-space: nowrap;
}

.location-badge.closed {
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.location-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

.location-info-row .icon {
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 1px;
}

.location-filters {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.filter-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.filter-tag.active {
  background: rgba(76, 175, 80, 0.1);
  color: var(--accent);
}

/* ============================================
   ORDERING STEPS
   ============================================ */
.order-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step.active .step-num {
  background: var(--primary);
  color: white;
}

.step.done .step-num {
  background: var(--accent);
  color: white;
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.step.active .step-label,
.step.done .step-label {
  color: var(--gray-900);
}

.step-divider {
  width: clamp(24px, 5vw, 60px);
  height: 2px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   MENU PAGE SPECIFIC
   ============================================ */
.menu-filter-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 14px clamp(16px, 5vw, 64px);
}

.filter-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.filter-bar-inner::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.menu-section-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: 48px;
}

.menu-item-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-item-img {
  height: clamp(160px, 16vw, 200px);
  overflow: hidden;
  position: relative;
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item-card:hover .menu-item-img img {
  transform: scale(1.06);
}

.menu-item-body {
  padding: clamp(14px, 2vw, 18px);
}

.menu-item-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.menu-tag {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.menu-tag.meat { background: #FFF3E0; color: #E65100; }
.menu-tag.veg { background: #E8F5E9; color: #2E7D32; }
.menu-tag.vegan { background: #E8F5E9; color: #2E7D32; }
.menu-tag.gf { background: #F3E5F5; color: #6A1B9A; }
.menu-tag.popular { background: #FFF8E1; color: #F57F17; }

.menu-item-body h3 {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  margin-bottom: 6px;
}

.menu-item-body p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-600);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  margin-bottom: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  background: white;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}

.stat-item h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-img {
  height: 220px;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-img img {
  transform: scale(1.06);
}

.team-card-body {
  padding: 18px;
}

.team-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-body span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   AWARDS
   ============================================ */
.awards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 20px);
  justify-content: center;
}

.award-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--secondary);
  text-align: center;
  min-width: 180px;
  transition: transform var(--transition);
}

.award-card:hover {
  transform: translateY(-4px);
}

.award-card .trophy {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.award-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.award-card p {
  font-size: 12px;
  color: var(--gray-500);
}

/* ============================================
   ORDER STATUS
   ============================================ */
.order-status-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.status-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.status-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -50%;
  width: 100%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}

.status-step.done:not(:last-child)::after {
  background: var(--primary);
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
}

.status-step.done .status-icon {
  background: var(--primary);
  color: white;
}

.status-step.active .status-icon {
  background: var(--primary);
  color: white;
  animation: pulse 2s infinite;
}

.status-step p {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}

.status-step.done p,
.status-step.active p {
  color: var(--primary);
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px) clamp(16px, 5vw, 64px);
}

.account-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}

.account-nav a:hover,
.account-nav a.active {
  background: rgba(211, 47, 47, 0.08);
  color: var(--primary);
}

.account-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   LOYALTY POINTS
   ============================================ */
.loyalty-card {
  background: linear-gradient(135deg, var(--primary) 0%, #B71C1C 100%);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  color: white;
  text-align: center;
  margin-bottom: 28px;
}

.loyalty-card h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 4px;
}

.loyalty-card p {
  opacity: 0.88;
  font-size: 15px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px);
}

.legal-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--gray-900);
  margin: 36px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--gray-800);
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content ul li {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-updated {
  display: inline-block;
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 32px;
}

/* ============================================
   ALLERGEN TABLE
   ============================================ */
.allergen-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 24px 0;
}

.allergen-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  background: white;
}

.allergen-table th {
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 10px;
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.allergen-table th:first-child {
  text-align: left;
  min-width: 160px;
}

.allergen-table td {
  padding: 11px 10px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}

.allergen-table td:first-child {
  text-align: left;
  font-weight: 600;
  padding-left: 16px;
  color: var(--gray-800);
}

.allergen-table tr:last-child td {
  border-bottom: none;
}

.allergen-table tr:nth-child(even) {
  background: var(--gray-50);
}

.allergen-table tr:hover {
  background: rgba(211, 47, 47, 0.04);
}

.allergen-check {
  color: var(--primary);
  font-size: 16px;
}

.allergen-none {
  color: var(--gray-300);
  font-size: 16px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  transition: color var(--transition);
  gap: 12px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--gray-600);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(211, 47, 47, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 14px;
  color: var(--gray-600);
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  margin-bottom: 24px;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
  display: flex;
  gap: 12px;
  max-width: 480px;
}

.search-bar input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 16px;
  outline: none;
  transition: border-color var(--transition);
  min-width: 0;
}

.search-bar input:focus {
  border-color: var(--primary);
}

.search-bar button {
  background: var(--primary);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.search-bar button:hover {
  background: var(--primary-dark);
}

/* ============================================
   DELIVERY TYPE TOGGLE
   ============================================ */
.delivery-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 24px;
  max-width: 300px;
}

.delivery-opt {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}

.delivery-opt.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pay-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  background: white;
}

.pay-btn:hover,
.pay-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(211, 47, 47, 0.04);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211,47,47,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(211,47,47,0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   PAGE-SPECIFIC UTILITY CLASSES (extracted from inline styles)
   ================================================ */

/* Account page */
.acc-profile-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.acc-avatar {
  width: 70px; height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.acc-loyalty-label {
  font-size: 12px; color: var(--primary); font-weight: 700; margin-top: 4px;
}
.acc-loyalty-footer {
  color: var(--primary); margin-top: 16px;
  border-top: 1px solid var(--gray-200); padding-top: 16px;
}
.acc-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 16px; flex-wrap: wrap;
}
.acc-section-title {
  font-size: 20px; font-weight: 800; margin-bottom: 20px;
}

/* Order page */
.order-layout {
  display: grid;
  grid-template-columns: 1fr min(400px, 40%);
  gap: 30px;
  align-items: start;
}
.order-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.order-card-title {
  font-size: 18px; font-weight: 800; margin-bottom: 16px;
}
.order-form-label {
  font-size: 14px; font-weight: 600; color: var(--gray-700);
  display: block; margin-bottom: 8px;
}
.order-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

/* Cookies page */
.cookies-content {
  max-width: 840px;
  margin: 0 auto 60px;
  padding: 0 clamp(16px, 5vw, 64px);
}
.cookie-pref-box {
  background: var(--secondary);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--gray-200);
}
.cookie-pref-note {
  font-size: 14px; color: var(--gray-600); margin-bottom: 24px;
}
.cookie-pref-row {
  display: flex; align-items: center; justify-content: space-between;
  background: white; padding: 16px 20px;
  border-radius: var(--radius-lg); margin-bottom: 12px;
}
.cookie-pref-sub {
  font-size: 13px; color: var(--gray-500); margin-top: 2px;
}
.cookie-badge-required {
  background: var(--accent); color: white;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
