/* =====================================================
   PETIT FAIM ANTALYA — Main Stylesheet
   Dark theme with orange/amber accents
   ===================================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --bg-card: #222222;
  --bg-card-hover: #2a2a2a;
  --bg-input: #2a2a2a;
  --text-primary: #f5f5f5;
  --text-secondary: #b0b0b0;
  --text-muted: #777;
  --accent: #e8750a;
  --accent-hover: #ff8c1a;
  --accent-glow: rgba(232, 117, 10, 0.25);
  --accent-soft: rgba(232, 117, 10, 0.1);
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --border: #333333;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d46a08);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.logo-accent {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cart {
  position: relative;
}

.cart-badge {
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50px;
  margin-left: 2px;
  min-width: 18px;
  text-align: center;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-greeting {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-secondary);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* =====================================================
   HERO (image background)
   ===================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

/* =====================================================
   CATEGORIES (image cards)
   ===================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  text-decoration: none;
  color: white;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.category-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-img {
  transform: scale(1.1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.category-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 280px;
  }
}

/* =====================================================
   SAUCES SHOWCASE
   ===================================================== */
.sauces-showcase {
  background: var(--bg-secondary);
}

.sauces-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sauces-showcase-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sauces-showcase-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.sauces-showcase-text .section-title {
  margin-bottom: 1.5rem;
}

.sauces-showcase-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.sauces-note-home {
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 768px) {
  .sauces-showcase-grid {
    grid-template-columns: 1fr;
  }

  .sauces-showcase-img img {
    height: 250px;
  }
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: white;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* =====================================================
   MENU SECTION BANNERS
   ===================================================== */
.menu-section-header {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.menu-section-banner {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.menu-section-header .menu-section-title {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  border-bottom: none;
  z-index: 1;
}

.menu-section-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7));
  border-radius: var(--radius);
}

/* =====================================================
   MENU CARD IMAGES (featured items)
   ===================================================== */
.menu-card.has-image {
  padding: 0;
  overflow: hidden;
}

.menu-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.menu-card.has-image .menu-card-body {
  padding: 1.2rem;
}

/* =====================================================
   MENU CARDS
   ===================================================== */
.featured-grid,
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  border-color: rgba(232, 117, 10, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.menu-card-category {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.menu-card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.menu-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.menu-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.add-to-cart-btn {
  margin-top: auto;
  width: 100%;
}

/* Menu page tabs */
.menu-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

.menu-tab {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.menu-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.menu-tab.active {
  background: var(--accent);
  color: white;
}

.menu-section {
  margin-bottom: 3rem;
}

.menu-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Sauces */
.sauces-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sauce-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.sauce-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sauces-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 1rem;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #d46a08);
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =====================================================
   CART
   ===================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.cart-empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.cart-empty h3 {
  margin-bottom: 0.5rem;
}

.cart-empty p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.cart-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
}

.cart-item-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cart-item-info p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

.qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.qty-display {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
}

.cart-sauces {
  margin-bottom: 1.5rem;
}

.cart-sauces h3,
.cart-notes h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.sauces-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.sauce-checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sauce-checkbox input {
  accent-color: var(--accent);
}

.cart-notes {
  margin-bottom: 1.5rem;
}

.cart-notes textarea {
  width: 100%;
  padding: 0.7rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 60px;
}

.cart-notes textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.cart-summary {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-bottom: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.cart-total {
  font-weight: 700;
  font-size: 1.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 450px;
  width: 100%;
  border: 1px solid var(--border);
}

.modal-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}

.modal-content h2 {
  margin-bottom: 0.5rem;
}

.modal-note {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   AUTH FORMS
   ===================================================== */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 450px;
  margin: 0 auto;
  width: 100%;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.auth-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.alert {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* =====================================================
   ORDER HISTORY
   ===================================================== */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.order-card:hover {
  border-color: rgba(232, 117, 10, 0.3);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-id {
  font-weight: 700;
  font-size: 1.1rem;
}

.order-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.2rem;
}

.order-items-list {
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.order-item-sauces {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1rem;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-total {
  font-size: 1.1rem;
}

.order-notes {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-en_attente {
  background: rgba(245, 158, 11, .15);
  color: #fbbf24;
}

.status-confirmée {
  background: rgba(34, 197, 94, .15);
  color: #4ade80;
}

.status-en_préparation {
  background: rgba(59, 130, 246, .15);
  color: #60a5fa;
}

.status-prête {
  background: rgba(168, 85, 247, .15);
  color: #c084fc;
}

.status-livrée {
  background: rgba(34, 197, 94, .15);
  color: #22c55e;
}

.status-annulée {
  background: rgba(239, 68, 68, .15);
  color: #f87171;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(34, 197, 94, .15);
  color: #4ade80;
}

.badge-red {
  background: rgba(239, 68, 68, .15);
  color: #f87171;
}

.badge-gray {
  background: rgba(180, 180, 180, .15);
  color: #aaa;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =====================================================
   INFO SECTION (Hours + Contact)
   ===================================================== */
.info-section {
  background: var(--bg-secondary);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.55rem 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 35%;
}

.hours-table td:nth-child(2),
.hours-table td:nth-child(3) {
  color: var(--text-secondary);
  text-align: center;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-closed td:first-child {
  color: var(--danger);
}

.hours-closed td:nth-child(2) {
  color: var(--danger);
  font-weight: 600;
}

/* Contact List */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  color: var(--text-primary);
  text-decoration: none;
}

.contact-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-primary);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item strong {
  font-size: 0.95rem;
}

.contact-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Footer 4-column */
.footer-grid-4 {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--accent);
}

/* Footer hours mini */
.hours-mini {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.8rem;
  font-size: 0.82rem;
}

.hours-mini span:nth-child(odd) {
  font-weight: 600;
  color: var(--text-primary);
}

.hours-mini span:nth-child(even) {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 1.5rem;
  }

  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .info-card {
    padding: 1.2rem;
  }

  .info-card h3 {
    font-size: 1.1rem;
  }

  .hours-table td {
    font-size: 0.82rem;
    padding: 0.4rem 0.3rem;
  }

  .contact-item {
    padding: 0.6rem 0.8rem;
  }

  .contact-item strong {
    font-size: 0.85rem;
  }

  .social-links {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-social {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* =====================================================
   RESPONSIVE — TABLET (max 768px)
   ===================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .page-title {
    font-size: 1.8rem;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  /* Categories */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .category-card {
    height: 200px;
  }

  .category-card h3 {
    font-size: 1.05rem;
  }

  .category-card-content {
    padding: 1rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image img {
    height: 250px;
  }

  /* Sauces */
  .sauces-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sauces-showcase-img img {
    height: 230px;
  }

  /* CTA */
  .cta-banner {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  /* Menu */
  .menu-section-banner {
    height: 140px;
  }

  .featured-grid,
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.2rem;
  }

  /* Cart */
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    position: static;
  }

  .cart-item {
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
  }

  .cart-item-info {
    text-align: left;
  }

  .cart-item-controls {
    justify-content: space-between;
  }

  /* Modal */
  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-icon {
    font-size: 2.5rem;
  }

  /* Auth */
  .auth-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .auth-title {
    font-size: 1.6rem;
  }

  /* Order history */
  .order-card {
    padding: 1.2rem;
  }

  .order-card-header {
    flex-direction: column;
  }

  .order-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
  }
}

/* =====================================================
   RESPONSIVE — MOBILE (max 480px)
   ===================================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 0.8rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .page-title {
    font-size: 1.5rem;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Header */
  .header-inner {
    padding: 0.6rem 0.8rem;
  }

  .logo-icon {
    font-size: 1.4rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
  }

  .hero-actions .btn {
    width: 80%;
  }

  /* Categories */
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .category-card {
    height: 160px;
  }

  .category-card h3 {
    font-size: 0.95rem;
  }

  .category-card p {
    font-size: 0.75rem;
  }

  .category-card-content {
    padding: 0.8rem;
  }

  /* About */
  .about-text p {
    font-size: 0.9rem;
  }

  .about-image img {
    height: 200px;
  }

  /* Sauces */
  .sauces-showcase-img img {
    height: 180px;
  }

  .sauces-showcase-text p {
    font-size: 0.9rem;
  }

  /* CTA */
  .cta-banner {
    padding: 2.5rem 0;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .cta-content p {
    font-size: 0.9rem;
  }

  /* Menu */
  .menu-section-banner {
    height: 100px;
  }

  .menu-section-header .menu-section-title {
    font-size: 1.2rem;
    left: 1rem;
    bottom: 0.5rem;
  }

  .featured-grid,
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .menu-card {
    padding: 1rem;
  }

  .menu-card-name {
    font-size: 1rem;
  }

  .menu-card-price {
    font-size: 1.1rem;
  }

  .menu-card-desc {
    font-size: 0.8rem;
  }

  .menu-card-img {
    height: 140px;
  }

  .menu-tabs {
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .menu-tab {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .menu-section-title {
    font-size: 1.3rem;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .step-card {
    padding: 1.2rem;
  }

  /* Sauces page */
  .sauces-grid {
    gap: 0.3rem;
  }

  .sauce-tag {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  /* Cart */
  .cart-empty {
    padding: 2.5rem 1rem;
  }

  .cart-empty-icon {
    font-size: 3rem;
  }

  .cart-sidebar {
    padding: 1.2rem;
  }

  .cart-item {
    padding: 0.8rem;
  }

  .cart-item-price {
    min-width: 50px;
  }

  .sauces-select-grid {
    grid-template-columns: 1fr;
  }

  /* Order type */
  .order-type-option {
    padding: 0.7rem 0.3rem;
  }

  .order-type-option .order-type-icon {
    font-size: 1.4rem;
  }

  .order-type-option .order-type-label {
    font-size: 0.78rem;
  }

  /* Pickup time */
  .pickup-time-quick {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
  }

  .pickup-quick-btn {
    padding: 0.35rem;
    font-size: 0.75rem;
  }

  /* Modal */
  .modal {
    padding: 0.5rem;
  }

  .modal-content {
    padding: 1.5rem 1rem;
  }

  .modal-icon {
    font-size: 2rem;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  .modal-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-actions .btn {
    width: 100%;
  }

  /* Auth */
  .auth-page {
    min-height: auto;
    padding: 1rem 0;
  }

  .auth-card {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }

  .auth-title {
    font-size: 1.4rem;
  }

  .auth-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* Order history */
  .order-card {
    padding: 1rem;
  }

  .order-id {
    font-size: 0.95rem;
  }

  .order-item-row {
    font-size: 0.82rem;
  }

  .order-total {
    font-size: 0.95rem;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 0 1rem;
    margin-top: 2rem;
  }

  .footer-brand p {
    font-size: 0.8rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 1rem;
  }
}

/* =====================================================
   ORDER TYPE TOGGLE
   ===================================================== */
.cart-order-type {
  margin-bottom: 1.5rem;
}

.cart-order-type h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.order-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.order-type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-secondary);
  text-align: center;
}

.order-type-option input[type="radio"] {
  display: none;
}

.order-type-option .order-type-icon {
  font-size: 1.8rem;
}

.order-type-option .order-type-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.order-type-option:hover {
  border-color: rgba(232, 117, 10, 0.4);
  background: var(--bg-card-hover);
}

.order-type-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.order-type-option.active .order-type-label {
  color: var(--accent);
}

/* =====================================================
   PICKUP TIME
   ===================================================== */
.cart-pickup-time {
  margin-bottom: 1.5rem;
}

.cart-pickup-time h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.pickup-time-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.pickup-time-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 0.6rem;
}

.pickup-time-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pickup-time-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.pickup-quick-btn {
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.pickup-quick-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pickup-quick-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Order type badges for admin */
.order-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.order-type-emporter {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.order-type-sur_place {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}