/* CSS Variables for design system */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette */
  --bg-primary: #fffaf4; /* Warm pizza-cream */
  --bg-secondary: #f7eee6; /* Slightly toasted crust tone */
  --bg-white: #ffffff;
  --bg-dark: #17120f; /* Warm charcoal black */
  --bg-dark-card: #211a16;
  
  --primary-red: #c61f2a; /* Lover's Pizza red */
  --primary-red-hover: #a81822;
  --primary-red-light: #fde2e4;

  --primary-green: #19632f; /* Fresh basil green */
  --primary-green-hover: #166431;
  --primary-green-light: #dcf3e3;

  --accent-gold: #cc8a1c; /* Golden crust */
  --accent-gold-light: #fef0cf;
  
  --text-dark: #2b211d;
  --text-muted: #63574f;
  --text-light: #f8f4ef;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(217, 37, 37, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
}

/* Dark Mode Overrides (Optional Toggle) */
[data-theme="dark"] {
  --bg-primary: #12110f;
  --bg-secondary: #1a1917;
  --bg-white: #1c1a17;
  --text-dark: #f3f4f6;
  --text-muted: #9ca3af;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Typography Helpers */
.text-gradient-red {
  background: linear-gradient(135deg, var(--primary-red), #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, var(--primary-green), #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

header.scrolled {
  background-color: rgba(251, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 70px;
}

header.scrolled[data-theme="dark"] {
  background-color: rgba(18, 17, 15, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 44px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary-red);
}

.logo-text .green {
  color: var(--primary-green);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

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

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

nav ul a:hover {
  color: var(--primary-red);
}

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

.icon-btn {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--primary-red);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary-red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-primary);
  animation: pop 0.3s ease-out;
}

@keyframes pop {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(254, 226, 226, 0.4) 0%, rgba(254, 226, 226, 0) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge.green {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-title span {
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-red);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(217, 37, 37, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(217, 37, 37, 0.5);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-pizza-bg {
  position: absolute;
  width: 140%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, var(--accent-gold-light) 0%, rgba(254, 240, 207, 0) 65%);
  z-index: 0;
  border-radius: 50%;
}

.hero-image {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  max-width: 90%;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.12));
  object-fit: contain;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.floating-badge {
  position: absolute;
  background: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float-reverse 8s ease-in-out infinite;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-badge.b1 {
  top: 15%;
  left: 5%;
}

.floating-badge.b2 {
  bottom: 15%;
  right: 5%;
  animation-delay: 2s;
}

.badge-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-icon.green {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.badge-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-3deg); }
}

/* Features Highlights */
.features-highlights {
  padding: 40px 0;
  background-color: var(--bg-secondary);
}

.highlights-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-card:nth-child(2) .highlight-icon {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.highlight-card:nth-child(3) .highlight-icon {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
}

.highlight-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.highlight-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Menu Section */
.menu-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.menu-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

/* Search Bar */
.search-bar-wrapper {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(217, 37, 37, 0.1);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tab-btn:hover {
  background-color: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
  background-color: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  box-shadow: 0 8px 16px rgba(217, 37, 37, 0.2);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 30px;
  min-height: 300px;
  transition: var(--transition);
}

.menu-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 37, 37, 0.1);
}

.card-img-wrapper {
  height: 230px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  cursor: pointer;
}

.card-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.menu-card:hover .card-preview-overlay {
  opacity: 1;
}

.card-preview-badge {
  background: var(--bg-white);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.menu-card:hover .card-preview-badge {
  transform: translateY(0);
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(1.3);
  transition: var(--transition-slow);
}

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

.card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-white);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  z-index: 2;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

/* Card Interactive Control Block */
.card-controls {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.size-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.size-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-options {
  display: flex;
  gap: 6px;
}

.size-btn {
  min-width: 32px;
  width: auto;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.size-btn:hover {
  background-color: #cbd5e1;
}

.size-btn.active {
  background-color: var(--primary-green);
  color: white;
  box-shadow: 0 4px 6px rgba(21, 128, 61, 0.15);
}

.pizza-card-active .size-btn.active {
  background-color: var(--primary-red);
  box-shadow: 0 4px 6px rgba(217, 37, 37, 0.15);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-prefix {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.price-value span {
  font-size: 1.1rem;
  font-weight: 600;
}

.add-btn {
  background-color: var(--primary-red);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(217, 37, 37, 0.15);
}

.add-btn:hover {
  background-color: var(--primary-red-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(217, 37, 37, 0.25);
}

/* Empty state styling */
.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(0,0,0,0.1);
}

.empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateX(100%);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-secondary);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-close-btn:hover {
  background-color: var(--primary-red-light);
  color: var(--primary-red);
}

.cart-items-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 16px;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: center;
  background-color: var(--bg-white);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary-red);
  font-size: 0.95rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-full);
  padding: 4px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  background-color: var(--bg-white);
  transition: var(--transition);
}

.qty-btn:hover {
  background-color: var(--primary-red-light);
  color: var(--primary-red);
}

.qty-val {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.delete-item-btn {
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.delete-item-btn:hover {
  color: var(--primary-red);
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--bg-secondary);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  border-top: 1px dashed rgba(0,0,0,0.1);
  padding-top: 12px;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* About Us Section */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.about-main-img {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(198, 31, 42, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
  width: 85%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
  transform: translateY(-8px);
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.06));
  position: relative;
  z-index: 2;
  border: 3px solid rgba(198, 31, 42, 0.3);
}

.about-main-img:hover {
  transform: translateY(-16px) rotateX(2deg);
  box-shadow: 0 32px 80px rgba(198, 31, 42, 0.25), 0 12px 32px rgba(0, 0, 0, 0.12);
}

.about-floating-img {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 45%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 8px solid var(--bg-white);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
  transform: translateY(4px) rotateZ(-1deg);
  opacity: 1;
  background-color: var(--bg-white);
  object-fit: cover;
  object-position: center;
  z-index: 3;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 0 0 3px rgba(198, 31, 42, 0.3);
}

.about-floating-img:hover {
  transform: translateY(-4px) rotateZ(0deg) scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(198, 31, 42, 0.15);
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Review Section */
.reviews-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

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

.stars {
  display: flex;
  gap: 4px;
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-red);
  border: 2px solid var(--primary-red-light);
}

.reviewer-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.reviewer-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact & Locations */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

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

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item:nth-child(2) .contact-icon {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.contact-detail h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid transparent;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  background-color: var(--bg-white);
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 37, 37, 0.1);
}

textarea.form-input {
  height: 120px;
  resize: none;
}

.form-btn {
  width: 100%;
  font-size: 0.95rem;
  padding: 14px 28px;
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border: 1px solid rgba(21, 128, 61, 0.2);
}

.form-status.error {
  display: block;
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  border: 1px solid rgba(217, 37, 37, 0.2);
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transform: translateY(-20px);
  transition: var(--transition-slow);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px auto;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-description {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.order-receipt-summary {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  font-size: 0.9rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.receipt-row.total {
  font-weight: 800;
  border-top: 1px dashed rgba(0,0,0,0.1);
  padding-top: 8px;
  margin-top: 8px;
}

.modal-btn {
  padding: 12px 28px;
}

/* Footer styling */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-red);
  color: white;
  transform: translateY(-2px);
}

.footer-column h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-hours-list span {
  font-weight: 600;
  color: var(--text-light);
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.05);
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 16px;
  color: white;
  font-size: 0.85rem;
}

.newsletter-btn {
  background-color: var(--primary-red);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-red-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* Animations and Reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .floating-badge.b1 {
    left: 0;
  }
  
  .floating-badge.b2 {
    right: 0;
  }

  .highlights-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    order: 2;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  header {
    background-color: var(--bg-primary);
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
  }

  /* Hamburger Active Transition */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 20px rgba(0,0,0,0.05);
    z-index: 100;
    transition: var(--transition-slow);
    padding: 100px 40px 40px 40px;
  }

  nav.open {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 24px;
  }

  nav ul a {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .menu-grid {
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  }
}

/* Disabled redesign draft retained temporarily for easy comparison. */
@media (max-width: 0px) {
:root {
  --bg-primary: #f4f4ef;
  --bg-secondary: #e9e9e2;
  --bg-white: #ffffff;
  --bg-dark: #151515;
  --bg-dark-card: #202020;
  --primary-red: #c81d25;
  --primary-red-hover: #a9141b;
  --primary-red-light: #f9dfe0;
  --primary-green: #c81d25;
  --primary-green-hover: #a9141b;
  --primary-green-light: #f9dfe0;
  --accent-gold: #c81d25;
  --accent-gold-light: #f9dfe0;
  --text-dark: #191919;
  --text-muted: #62625d;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 16px;
  --depth-shadow: 0 32px 70px rgba(28, 24, 20, 0.15), 0 8px 22px rgba(28, 24, 20, 0.08);
}

[data-theme="dark"] {
  --bg-primary: #141414;
  --bg-secondary: #1d1d1d;
  --bg-white: #222222;
  --text-dark: #f5f5f0;
  --text-muted: #aaa9a2;
  --primary-red-light: #3a1719;
}

body {
  background:
    linear-gradient(90deg, rgba(25,25,25,.025) 1px, transparent 1px),
    linear-gradient(rgba(25,25,25,.025) 1px, transparent 1px),
    var(--bg-primary);
  background-size: 32px 32px;
}

body::selection { background: var(--primary-red); color: #fff; }

header { background: transparent; }
header.scrolled {
  background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text-dark) 9%, transparent);
  box-shadow: 0 12px 32px rgba(20,20,20,.07);
}

.logo-text { letter-spacing: -.05em; }
.logo-text span, .logo-text .green { color: var(--text-dark); }
.logo-text .green { color: var(--primary-red); }

nav ul { gap: clamp(18px, 2.4vw, 34px); }
nav ul a { font-size: .85rem; letter-spacing: .01em; }
nav ul a::after { height: 3px; border-radius: 999px; }

.hero {
  min-height: 100dvh;
  padding-top: min(calc(var(--header-height) + 32px), 112px);
  padding-bottom: 48px;
  background: none;
}

.hero::before {
  opacity: 1;
  background:
    radial-gradient(circle at 78% 42%, rgba(200,29,37,.16), transparent 28%),
    linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.46) 62% 100%);
  mask-image: none;
}

.hero-grid { grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr); gap: 24px; }
.hero-content { max-width: 650px; }

.badge {
  padding: 8px 0;
  margin-bottom: 18px;
  background: transparent;
  border-radius: 0;
  color: var(--primary-red);
  font-size: .78rem;
  letter-spacing: .11em;
}

.hero-title {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 6.4vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.075em;
}

.hero-title .text-gradient-red {
  color: var(--primary-red);
  text-shadow: none;
}

.hero-description { max-width: 27rem; margin-bottom: 30px; font-size: 1.03rem; }
.hero-cta { gap: 12px; }

.btn {
  min-height: 54px;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: none;
  white-space: nowrap;
}
.btn::after { display: none; }
.btn-primary { box-shadow: 0 10px 24px rgba(200,29,37,.24); }
.btn-primary:hover { box-shadow: 0 16px 30px rgba(200,29,37,.3); }
.btn-secondary { border-color: color-mix(in srgb, var(--text-dark) 14%, transparent); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }

.hero-image-wrapper {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --light-x: 50%;
  --light-y: 45%;
  min-height: clamp(480px, 69vh, 680px);
  perspective: 1200px;
  isolation: isolate;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: min(88%, 590px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(255,255,255,.72), transparent 22%),
    linear-gradient(145deg, #e52a32, #a90f17);
  box-shadow: inset -28px -24px 54px rgba(83,0,4,.22), inset 22px 18px 38px rgba(255,255,255,.12), 0 40px 70px rgba(125,10,16,.2);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 160ms cubic-bezier(.2,.8,.2,1), background 160ms ease;
  z-index: -1;
}

.hero-pizza-bg { display: none; }
.hero-image {
  max-width: min(89%, 630px);
  animation: hero-float 6s ease-in-out infinite;
  filter: drop-shadow(0 44px 30px rgba(20,10,8,.31));
  transform-style: preserve-3d;
}

@keyframes hero-float {
  0%, 100% { transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(44px) translateY(0) rotateZ(-2deg); }
  50% { transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(52px) translateY(-12px) rotateZ(1deg); }
}

.hero-shadow {
  position: absolute;
  z-index: -1;
  bottom: 10%;
  width: 62%;
  height: 11%;
  border-radius: 50%;
  background: rgba(21,10,8,.3);
  filter: blur(18px);
  transform: rotateX(68deg) translateZ(-40px);
}

.hero-orbit { border-color: rgba(255,255,255,.34); z-index: 0; }
.hero-orbit-one { width: 72%; animation: orbit-turn 18s linear infinite; }
.hero-orbit-two { width: 93%; animation: orbit-turn-reverse 24s linear infinite; }
@keyframes orbit-turn { to { transform: rotateX(64deg) rotateZ(342deg); } }
@keyframes orbit-turn-reverse { to { transform: rotateX(64deg) rotateZ(-322deg); } }

.floating-badge {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.72);
  background: color-mix(in srgb, var(--bg-white) 80%, transparent);
  box-shadow: 0 20px 50px rgba(24,18,16,.14);
}
.floating-badge.b1 { left: 1%; top: 19%; }
.floating-badge.b2 { right: -1%; bottom: 18%; }
.badge-icon, .badge-icon.green { background: var(--primary-red-light); color: var(--primary-red); }

.features-highlights { padding: 28px 0 88px; }
.highlights-wrapper { grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: stretch; }
.highlight-card {
  grid-column: span 3;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--text-dark) 9%, transparent);
  background: color-mix(in srgb, var(--bg-white) 78%, transparent);
  box-shadow: none;
}
.highlight-card:first-child {
  grid-column: span 6;
  transform: none;
  background: var(--text-dark);
  color: var(--bg-primary);
}
.highlight-card:first-child .highlight-info p { color: color-mix(in srgb, var(--bg-primary) 68%, transparent); }
.highlight-card:hover, .highlight-card:first-child:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(20,20,20,.1); }
.highlight-icon, .highlight-card:nth-child(2) .highlight-icon, .highlight-card:nth-child(3) .highlight-icon { background: var(--primary-red-light); color: var(--primary-red); }

.menu-section { background: transparent; padding-top: 104px; }
.section-header { max-width: 700px; }
.section-title { letter-spacing: -.055em; line-height: .98; }
.section-subtitle { max-width: 52ch; }

.search-bar-wrapper { max-width: 520px; }
.search-input { border-radius: 12px; background: var(--bg-white); }
.menu-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.tab-btn { flex: 0 0 auto; border-radius: 10px; box-shadow: none; }

.menu-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.menu-card {
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--text-dark) 9%, transparent);
  box-shadow: none;
  background: var(--bg-white);
}
.menu-card:hover { transform: translateY(-9px) rotateX(1.5deg); box-shadow: 0 24px 48px rgba(20,20,20,.11); }
.card-img-wrapper { background: linear-gradient(145deg, #ededE6, #fafaf7); }
.card-img { filter: drop-shadow(0 16px 12px rgba(20,15,12,.2)); }
.card-tag { border-radius: 8px; background: var(--primary-red); color: #fff; }
.size-btn, .add-btn { border-radius: 9px; }

.about-section, .reviews-section, .contact-section { padding-block: 112px; }
.about-main-img { transform: rotate(-4deg) rotateX(4deg); }
.about-floating-img { border-radius: 16px; }
.stat-num { color: var(--primary-red); }

.reviews-grid { grid-template-columns: 1.25fr .85fr .85fr; align-items: stretch; }
.review-card, .contact-form-card { border-radius: 16px; box-shadow: none; }
.review-card:first-child { background: var(--text-dark); color: var(--bg-primary); transform: translateY(-18px); }
.review-card:first-child .review-text, .review-card:first-child .reviewer-info p { color: color-mix(in srgb, var(--bg-primary) 72%, transparent); }
.reviewer-avatar, .contact-icon { background: var(--primary-red-light); color: var(--primary-red); }

.contact-form-card { border: 1px solid color-mix(in srgb, var(--text-dark) 9%, transparent); }
.form-input { border-radius: 10px; }

footer { background: var(--text-dark); }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary-red) 55%, transparent); outline-offset: 3px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-content { margin: 0; align-items: flex-start; }
  .hero-cta { justify-content: flex-start; }
  .hero-image-wrapper { min-height: 500px; }
  .highlight-card, .highlight-card:first-child { grid-column: span 12; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card:first-child { transform: none; }
}

@media (max-width: 768px) {
  .container { padding-inline: 18px; }
  nav { height: 100dvh; background: var(--bg-primary); }
  .hero { padding-top: calc(var(--header-height) + 38px); }
  .hero-title { max-width: 10ch; font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .hero-description { font-size: .97rem; }
  .hero-image-wrapper { min-height: 390px; }
  .hero-image-wrapper::before { width: 86%; }
  .hero-orbit-two { width: 96%; }
  .floating-badge { display: none; }
  .features-highlights { padding-top: 4px; }
  .about-section, .reviews-section, .contact-section { padding-block: 80px; }
}

@media (max-width: 480px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-image-wrapper { min-height: 330px; }
  .hero-title { font-size: clamp(2.9rem, 15vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-orbit-one, .hero-orbit-two { animation: none !important; }
  .hero-image { transform: none !important; }
  .hero-image-wrapper::before { transform: none !important; }
}
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .floating-badge {
    display: none;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
  }

  .modal-content {
    padding: 24px;
  }
}

/* Order Status Badges */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

.status-pending {
  background-color: rgba(255, 193, 7, 0.2);
  color: #f59e0b;
  border: 1px solid #fcd34d;
}

.status-processing {
  background-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid #93c5fd;
}

.status-completed,
.status-delivered {
  background-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid #86efac;
}

.status-cancelled {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #fca5a5;
}

.badge-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-status.payment {
  background-color: rgba(198, 31, 42, 0.15);
  color: var(--primary-red);
}

/* 2026 visual refresh: dimensional food-forward surfaces */
:root {
  --depth-shadow: 0 28px 60px rgba(78, 31, 17, 0.16), 0 8px 18px rgba(78, 31, 17, 0.08);
  --soft-surface: rgba(255, 255, 255, 0.78);
}

body {
  background:
    radial-gradient(circle at 8% 3%, rgba(255, 192, 96, 0.16), transparent 26rem),
    radial-gradient(circle at 96% 25%, rgba(198, 31, 42, 0.10), transparent 30rem),
    var(--bg-primary);
}

header {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.82), rgba(255, 250, 244, 0));
}

header.scrolled {
  background: rgba(255, 250, 244, 0.82);
  border-bottom-color: rgba(89, 45, 27, 0.08);
  box-shadow: 0 12px 34px rgba(78, 31, 17, 0.08);
}

.hero {
  min-height: 100dvh;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 40%, rgba(255, 188, 66, 0.34), transparent 26rem),
    radial-gradient(circle at 96% 5%, rgba(198, 31, 42, 0.15), transparent 30rem),
    transparent;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background-image: radial-gradient(rgba(94, 42, 20, 0.24) 0.65px, transparent 0.65px);
  background-size: 12px 12px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(3.1rem, 6vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  max-width: 10ch;
}

.text-gradient-red {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--primary-red);
  text-shadow: 0 6px 0 rgba(255, 255, 255, 0.68);
}

.hero-description { max-width: 30rem; }

.btn {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  box-shadow: 0 8px 0 rgba(78, 31, 17, 0.12);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 1px 1px auto;
  height: 48%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.26), transparent);
  pointer-events: none;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(78, 31, 17, 0.12); }

.hero-image-wrapper { perspective: 1100px; min-height: 580px; }

.hero-pizza-bg {
  width: 114%;
  background: radial-gradient(circle, rgba(255, 215, 137, 0.78) 0%, rgba(255, 214, 132, 0.26) 41%, transparent 69%);
  filter: blur(1px);
}

.hero-image {
  max-width: min(104%, 640px);
  transform-style: preserve-3d;
  filter: drop-shadow(0 42px 30px rgba(65, 29, 15, 0.24));
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), filter 220ms ease;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(154, 67, 27, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one { transform: rotateX(64deg) rotateZ(-18deg); }
.hero-orbit-two { width: 104%; transform: rotateX(64deg) rotateZ(38deg); opacity: 0.55; }

.floating-badge {
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,247,237,0.72));
  border-color: rgba(255,255,255,0.92);
  box-shadow: var(--depth-shadow), inset 0 1px 0 rgba(255,255,255,0.96);
  backdrop-filter: blur(14px) saturate(1.2);
}

.features-highlights { background: transparent; padding: 0 0 48px; }
.highlights-wrapper { grid-template-columns: 1.2fr .9fr .9fr; gap: 16px; }
.highlight-card { border: 1px solid rgba(89,45,27,0.08); box-shadow: 0 10px 24px rgba(78,31,17,0.05); }
.highlight-card:first-child { background: linear-gradient(135deg, #fff, #fff1e8); transform: translateY(-12px); }
.highlight-card:hover { transform: translateY(-7px) rotateX(2deg); box-shadow: var(--depth-shadow); }
.highlight-card:first-child:hover { transform: translateY(-18px) rotateX(2deg); }

.menu-section { background: rgba(255,255,255,0.34); }
.menu-card {
  border-color: rgba(89, 45, 27, 0.08);
  box-shadow: 0 12px 22px rgba(78,31,17,0.07), inset 0 1px 0 rgba(255,255,255,0.92);
  transform-style: preserve-3d;
}
.menu-card:hover { transform: translateY(-12px) rotateX(2deg) rotateY(-2deg); box-shadow: var(--depth-shadow); }
.card-img-wrapper { background: radial-gradient(circle at 50% 35%, #fff8ed, #f1d8c2); }
.card-img { filter: drop-shadow(0 18px 13px rgba(68,31,14,0.22)); }

.tab-btn, .search-input, .icon-btn {
  border-color: rgba(89,45,27,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 7px 16px rgba(78,31,17,0.06);
}
.tab-btn:active, .icon-btn:active { transform: translateY(1px) scale(0.98); }

.about-section, .reviews-section, .contact-section { background: transparent; }
.about-images { perspective: 1000px; }
.about-main-img { filter: drop-shadow(0 24px 20px rgba(68,31,14,0.18)); transform: rotate(-3deg) rotateX(3deg); }
.about-floating-img { box-shadow: var(--depth-shadow); transform: rotate(8deg) translateZ(20px); }
.review-card, .contact-form-card { border: 1px solid rgba(89,45,27,0.08); box-shadow: 0 14px 28px rgba(78,31,17,0.06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .hero-image, .about-main-img, .about-floating-img, .menu-card, .highlight-card { transform: none !important; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 42px); }
  .hero-grid, .highlights-wrapper { grid-template-columns: 1fr; }
  .hero-content { max-width: none; }
  .hero-title { max-width: 9ch; }
  .hero-image-wrapper { min-height: 380px; margin-top: -12px; }
  .highlight-card:first-child { transform: none; }
  .floating-badge { transform: scale(.82); }
}

/* Disabled redesign drafts retained temporarily for easy comparison. */
@media (max-width: 0px) {
body {
  background: var(--bg-primary);
}

header {
  background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: color-mix(in srgb, var(--bg-primary) 96%, transparent);
  border-bottom-color: color-mix(in srgb, var(--text-dark) 10%, transparent);
  box-shadow: none;
}

.hero {
  min-height: 100dvh;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 64px;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero::before { display: none; }

.hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 6vw, 88px);
}

.hero-title {
  max-width: 10ch;
  font-size: clamp(3.5rem, 6.1vw, 5.9rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.text-gradient-red,
.hero-title .text-gradient-red {
  background: none;
  color: var(--primary-red);
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.hero-image-wrapper {
  min-height: 610px;
  padding: clamp(28px, 4vw, 58px);
  border-radius: 16px;
  background: var(--primary-red-light);
  perspective: none;
  overflow: hidden;
}

.hero-image-wrapper::before,
.hero-shadow,
.hero-orbit,
.floating-badge { display: none !important; }

.hero-pizza-bg {
  display: block;
  width: 76%;
  background: #fff;
  border-radius: 50%;
  opacity: .72;
  filter: none;
}

.hero-image {
  max-width: min(96%, 610px);
  animation: none;
  transform: none;
  transform-style: flat;
  filter: none;
  transition: opacity .2s ease;
}

.hero-image:hover { transform: none; filter: none; opacity: .96; }

.btn {
  box-shadow: none;
  transform: none;
}

.btn::after { display: none; }
.btn:hover { transform: none; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-primary, .btn-primary:hover { box-shadow: none; }

.highlights-wrapper {
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 0;
  border-block: 1px solid color-mix(in srgb, var(--text-dark) 11%, transparent);
}

.highlight-card,
.highlight-card:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column: auto;
  align-items: start;
  border: 0;
  border-right: 1px solid color-mix(in srgb, var(--text-dark) 11%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--text-dark);
  box-shadow: none;
  transform: none;
}

.highlight-card:last-child { border-right: 0; }
.highlight-card:first-child .highlight-info p { color: var(--text-muted); }
.highlight-card:hover,
.highlight-card:first-child:hover { transform: none; box-shadow: none; background: color-mix(in srgb, var(--bg-white) 46%, transparent); }

.menu-section { background: var(--bg-primary); }
.menu-card {
  border: 1px solid color-mix(in srgb, var(--text-dark) 10%, transparent);
  box-shadow: none;
  transform: none;
  transform-style: flat;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,20,20,.07); }
.card-img-wrapper { background: var(--bg-secondary); }
.card-img { filter: none; }

.about-images { perspective: none; }
.about-main-img,
.about-main-img:hover,
.about-floating-img,
.about-floating-img:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.about-main-img { background: var(--primary-red-light); padding: 20px; }
.about-floating-img { border: 8px solid var(--bg-primary); }

.review-card:first-child { transform: none; }
.review-card:hover { transform: translateY(-3px); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrapper { min-height: 500px; }
  .highlights-wrapper { grid-template-columns: 1fr; }
  .highlight-card,
  .highlight-card:first-child {
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--text-dark) 11%, transparent);
  }
  .highlight-card:last-child { border-bottom: 0; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 38px); }
  .hero-title { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-image-wrapper { min-height: 390px; padding: 22px; }
  .hero-pizza-bg { width: 82%; }
}

@media (max-width: 480px) {
  .hero-image-wrapper { min-height: 330px; }
}

/* Animated multi-category hero: flat motion, no perspective or 3D effects. */
.hero-grid {
  grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr);
  gap: clamp(38px, 5vw, 74px);
}

.hero-title {
  max-width: none;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
}

.hero-showcase {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(190px, .76fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.showcase-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text-dark) 9%, transparent);
  border-radius: 16px;
  background: var(--bg-white);
  opacity: 0;
  transform: translateY(22px);
  animation: showcase-enter .7s cubic-bezier(.2,.75,.25,1) forwards;
}

.showcase-pizza {
  grid-row: 1 / 3;
  animation-delay: .08s;
}

.showcase-coffee { animation-delay: .2s; }
.showcase-milktea { animation-delay: .32s; }

.showcase-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5dfe1;
}

.showcase-pizza .showcase-media {
  background:
    linear-gradient(135deg, rgba(255,255,255,.36), transparent 52%),
    #f5dfe1;
}

.showcase-coffee .showcase-media { background: #e6e4df; }
.showcase-milktea .showcase-media { background: #efede8; }

.showcase-media::before {
  content: '';
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  animation: showcase-pulse 4.8s ease-in-out infinite;
}

.showcase-card img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 88%;
  object-fit: contain;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.2,.75,.25,1), opacity .25s ease;
}

.showcase-coffee img,
.showcase-milktea img {
  width: 76%;
  height: 76%;
}

.showcase-card:hover img { transform: scale(1.045); }

.showcase-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 17px 17px;
  background: var(--bg-white);
}

.showcase-card figcaption span {
  color: var(--primary-red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcase-card figcaption strong {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: clamp(.95rem, 1.3vw, 1.18rem);
  line-height: 1.18;
}

@keyframes showcase-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes showcase-pulse {
  0%, 100% { transform: scale(.96); opacity: .56; }
  50% { transform: scale(1.04); opacity: .84; }
}

.menu-card .card-img {
  transition: transform .35s cubic-bezier(.2,.75,.25,1), opacity .2s ease;
}

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

.tab-btn:hover { background: var(--primary-red-light); color: var(--primary-red); }
.tab-btn.active:hover { background: var(--primary-red); color: #fff; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 570px; }
}

@media (max-width: 640px) {
  .hero-showcase {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 370px 255px;
    gap: 10px;
  }

  .showcase-pizza {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .showcase-coffee,
  .showcase-milktea { grid-row: 2; }

  .showcase-card figcaption { padding: 12px 13px 14px; }
  .showcase-card figcaption strong { font-size: .9rem; }
}

@media (max-width: 390px) {
  .hero-showcase { grid-template-rows: 330px 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .showcase-media::before { animation: none; }
  .showcase-card img { transition: none; }
}
}

/* Scroll-led product motion, layered over the restored original design. */
.hero-orbit,
.hero-pizza-bg {
  display: none !important;
}

.scroll-product-image {
  opacity: .18;
  transform: scale(.72);
  transform-origin: 50% 54%;
  transition:
    transform 900ms cubic-bezier(.16, 1, .3, 1) var(--zoom-delay, 0ms),
    opacity 650ms ease var(--zoom-delay, 0ms);
  will-change: transform, opacity;
}

.scroll-product-image.zoom-visible {
  opacity: 1;
  transform: scale(1);
}

@supports (animation-timeline: scroll()) {
  .hero-image {
    animation: hero-scroll-zoom linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 68vh;
    transform-origin: center;
  }

  @keyframes hero-scroll-zoom {
    from { transform: scale(.94); }
    to { transform: scale(1.15); }
  }
}

@media (max-width: 768px) {
  .scroll-product-image { transform: scale(.8); }
  .scroll-product-image.zoom-visible { transform: scale(1); }

  @supports (animation-timeline: scroll()) {
    @keyframes hero-scroll-zoom {
      from { transform: scale(.96); }
      to { transform: scale(1.08); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-product-image,
  .scroll-product-image.zoom-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-image { animation: none !important; }
}
