/*
Theme Name: Miglia
Author: Hermes
Description: Custom theme for Mille Miglia - Cucina Italiana Since 2017
Version: 1.0
Text Domain: miglia
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700;900&display=swap');

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

:root {
  --grey-dark: #2d2d2d;
  --grey-mid: #3a3a3a;
  --grey-light: #4a4a4a;
  --grey-lighter: #5a5a5a;
  --gold: #c9a96e;
  --gold-light: #d4b87a;
  --white: #ffffff;
  --white-muted: #e0e0e0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--white-muted);
  background: var(--grey-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grey-dark);
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 15px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--grey-dark);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(201,169,110,0.4);
}

.btn-phone:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.5);
}

/* Menu Section */
.menu-section {
  background: var(--grey-mid);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 10px;
}

.section-title .script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold);
}

/* Category Jump Navigation */
.menu-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  position: sticky;
  top: 0;
  background: var(--grey-mid);
  padding: 15px 0;
  z-index: 100;
  border-bottom: 1px solid var(--grey-light);
}

.cat-btn {
  background: transparent;
  border: 2px solid var(--grey-light);
  color: var(--white-muted);
  padding: 10px 25px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Category Sections */
.category-section {
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--grey-light);
}

/* Menu List View - Two Columns */
.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  border-bottom: 1px solid var(--grey-light);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 5px;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  transition: color 0.3s ease;
}

.menu-item:hover .menu-item-name {
  color: #f5a623;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.menu-item-desc {
  color: var(--white-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.menu-item-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.diet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: var(--grey-light);
  color: var(--white-muted);
  position: relative;
}

/* Gluten-Free icon: inherits .diet-icon base (grey circle) with inline PNG img */
.diet-icon.gluten-free-icon {
  background: var(--grey-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.diet-icon.gluten-free-icon img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 50%;
}



.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--grey-dark);
}

.qty-input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: 2px solid var(--grey-light);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--grey-dark);
}

.qty-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Floating Order Widget */
.floating-order {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: none;
  width: 320px;
  max-width: calc(100vw - 32px);
}

.floating-order.visible {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.order-box {
  background: var(--grey-dark);
  color: var(--white);
  border: 1px solid rgba(216,196,131,0.35);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(216,196,131,0.10);
  border-bottom: 1px solid rgba(216,196,131,0.20);
}

.order-heading {
  flex: 1;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.order-clear {
  background: transparent;
  border: 1px solid rgba(216,196,131,0.45);
  color: var(--gold);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.order-clear:hover { background: rgba(216,196,131,0.18); }

.order-toggle {
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.25s ease;
}
.order-toggle:hover { background: rgba(216,196,131,0.18); }

.order-list {
  list-style: none;
  margin: 0;
  padding: 6px 10px;
  max-height: 108px;
  overflow-y: auto;
}

.order-list::-webkit-scrollbar { width: 8px; }
.order-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; }
.order-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }

.order-list.collapsed { display: none; }

.order-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  line-height: 1.2;
}
.order-row:last-child { border-bottom: none; }

.order-row-text { flex: 1; min-width: 0; }
.order-row-qty { color: var(--gold); font-weight: 600; white-space: nowrap; }
.order-row-price { color: var(--white-muted); white-space: nowrap; font-size: 0.78rem; }

.order-remove {
  background: transparent;
  border: none;
  color: #e06b6b;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  flex-shrink: 0;
}
.order-remove:hover { background: rgba(224,107,107,0.18); }

.order-empty {
  padding: 10px 4px;
  font-size: 0.8rem;
  color: var(--white-muted);
  text-align: center;
}

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-top: 1px solid rgba(216,196,131,0.20);
  background: rgba(0,0,0,0.18);
}

.order-total {
  font-size: 0.82rem;
  color: var(--white-muted);
}
.order-total #orderTotal {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: var(--white);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.btn-whatsapp i { font-size: 1rem; }
.btn-whatsapp:hover { background: #1da851; }

/* Info Section */
.info-section {
  background: var(--grey-dark);
  padding: 80px 0;
  color: var(--white-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: center;
}

.info-item {
  padding: 30px;
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.info-item h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 15px;
}

.info-item p {
  opacity: 0.9;
  line-height: 1.8;
}


/* Contact Info Section - under menu, icon left, text right */
.contact-info-section {
    background: var(--grey-dark);
    padding: 60px 0;
    color: var(--white-muted);
}

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

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
}

.contact-info-icon {
    flex-shrink: 0;
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
    width: 50px;
    text-align: center;
    padding-top: 4px;
}

.contact-info-text h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.contact-info-text p {
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer — multi-column "Italian chef" style */
.site-footer {
  background: var(--grey-dark);
  color: var(--white-muted);
  padding: 70px 0 0;
  border-top: 3px solid var(--gold);
  text-align: left;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}

.footer-col-title {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col-title i {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-col p {
  margin: 0 0 26px;
  line-height: 1.7;
  opacity: 0.85;
}
.footer-col a {
  color: var(--white-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-col-hours { text-align: left; }
.footer-col-hours .footer-col-title { justify-content: flex-start; }
.footer-col-contact { text-align: center; }
.footer-col-contact .footer-col-title { justify-content: center; }
.footer-col-brand { text-align: right; }
.footer-col-brand .footer-col-title { justify-content: flex-end; }
.footer-col-brand .footer-social { justify-content: flex-end; }

.footer-col-title a {
  color: var(--gold);
  text-decoration: none;
}
.footer-col-title a:hover {
  color: var(--gold);
  text-decoration: none;
}
.footer-closure p.footer-note {
  font-size: 1.3rem !important;
  opacity: 0.85 !important;
  font-style: italic;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.footer-closure {
  margin-top: 4px;
}

.footer-logo { color: var(--gold) !important;
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--gold);
  margin-bottom: 6px;
  text-decoration: none;
  cursor: pointer;
}
.footer-logo:hover { color: var(--white) !important; }
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 22px;
}
.footer-text {
  max-width: 420px;
  margin: 0 0 26px;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grey-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--white) !important;
  transform: translateY(-3px);
}
.social-icon:hover i { color: var(--white) !important; }
.footer-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 60px;
  padding: 22px 24px;
  border-top: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-links {
  display: flex;
  gap: 26px;
  opacity: 0.6;
  font-size: 0.88rem;
}
.footer-links a { color: var(--white-muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.82rem;
  opacity: 0.45;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .footer-col-title { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--grey-dark);
  color: var(--white);
  padding: 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  border-top: 1px solid var(--grey-light);
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 10px 25px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.cookie-btn.accept {
  background: var(--gold);
  color: var(--grey-dark);
}

.cookie-btn.reject {
  background: transparent;
  border: 1px solid var(--grey-light);
  color: var(--white);
}

.cookie-btn.settings {
  background: transparent;
  color: var(--gold);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-list {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .floating-order {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }
  
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
  
  .order-summary {
    min-width: auto;
  }
  
  .menu-categories {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 15px 10px;
  }
  
  .cat-btn {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 8px 18px;
  }
}

/* ============================================================================
   FONT OVERRIDE — keep Mille Miglia brand fonts despite Elementor defaults
   Elementor applies Roboto/Roboto Slab on its widgets; the menu shortcode must
   keep Playfair Display (headings/names/prices), Inter (body), Great Vibes (script).
   High specificity + !important so these win over Elementor inline styles.
   ============================================================================ */
.miglia-menu-wrapper,
.miglia-menu-wrapper .menu-categories,
.miglia-menu-wrapper .cat-btn,
.miglia-menu-wrapper .category-title,
.miglia-menu-wrapper .menu-item,
.miglia-menu-wrapper .menu-item-name,
.miglia-menu-wrapper .menu-item-price,
.miglia-menu-wrapper .menu-item-desc,
.miglia-menu-wrapper .qty-input {
    font-family: var(--font-body) !important;
}

.miglia-menu-wrapper .category-title,
.miglia-menu-wrapper .menu-item-name,
.miglia-menu-wrapper .menu-item-price {
    font-family: var(--font-heading) !important;
}

/* Elementor heading widgets used as Mille Miglia titles -> brand fonts */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-heading) !important;
}

/* Script accent (e.g. hero tagline) */
.miglia-script,
.miglia-menu-wrapper .menu-script {
    font-family: var(--font-script) !important;
}

/* --- Dietary icons: force Font Awesome 6 rendering (not Elementor's FA 4.7) --- */
.miglia-menu-wrapper .diet-icon i,
.miglia-menu-wrapper .menu-item-icons i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block;
    line-height: 1;
}

/* 3-column "Italian chef" features section ([miglia_features]) */
.miglia-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 40px;
}
.miglia-feature {
  background: var(--grey-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.miglia-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}
.miglia-feature-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.miglia-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.miglia-feature:hover .miglia-feature-img img {
  transform: scale(1.06);
}
.miglia-feature-title {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.7rem;
  text-align: center;
  margin: 26px 0 12px;
}
.miglia-feature-text {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  padding: 0 22px 30px;
  margin: 0;
}
@media (max-width: 768px) {
  .miglia-features { grid-template-columns: 1fr; padding: 50px 22px; }
}

/* Category title with Spanish translation */
.category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title .cat-spanish {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--gold);
}

.hours-table td {
    padding: 4px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #333;
}
.hours-table td:last-child {
    color: var(--gold);
    font-weight: 500;
}
.hours-table tr:last-child td {
    border-bottom: none;
}
.footer-hours {
    margin-bottom: 0;
}

/* Today Hours Shortcode */
.miglia-today-hours {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #E0E0E0;
    font-weight: 400;
}

/* Status Shortcode */
.miglia-status {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}
.miglia-status.status-open {
    color: #4CAF50;
}
.miglia-status.status-closed {
    color: #F44336;
}


.wp-admin .button-link-delete { color: #b32d2e !important; }
.wp-admin .button-link-delete:hover { color: #b32d2e !important; border-color: #b32d2e !important; background: #fbeaea !important; }

/* ============================================================
   RESERVATION POPUP — same visual style as Tu Pedido
   ============================================================ */

/* Popup positioning */
.floating-reserva {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: none;
  width: 340px;
  max-width: calc(100vw - 32px);
}

.floating-reserva.visible {
  display: block;
  animation: slideUp 0.3s ease;
}

/* Wider box for form */
.reserva-box-wide {
  width: 340px;
  max-width: calc(100vw - 32px);
}

/* Reservation form rows */
.reserva-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.reserva-row:last-child { border-bottom: none; }

.reserva-row label {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.reserva-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,196,131,0.25);
  border-radius: 6px;
  color: var(--white);
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  width: 100%;
  transition: border-color 0.2s;
}

.reserva-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216,196,131,0.15);
}

.reserva-input::placeholder {
  color: var(--white-muted);
  opacity: 0.5;
}

/* Hide number input spinners */
.reserva-input[type="number"]::-webkit-outer-spin-button,
.reserva-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.reserva-input[type="number"] {
  -moz-appearance: textfield;
}

/* Minimized state for reserva */
.floating-reserva.minimized .reserva-box-wide {
  display: none;
}
.floating-reserva.minimized {
  max-height: 60px;
  overflow: hidden;
  opacity: 0.7;
  height: 50px;
}
.floating-reserva.minimized .order-header {
  cursor: pointer;
}

/* Datepicker container inside popup */
.reserva-datepicker,
.reserva-timepicker {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,196,131,0.25);
  border-radius: 6px;
  color: var(--white);
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  width: 100%;
}

/* Remove datepicker button border */
.ui-datepicker-trigger {
  display: none;
}

/* ============================================================
   INLINE RESERVATION FORM — looks like Tu Pedido, but in page
   ============================================================ */

.reserva-inline-form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.reserva-inline-form .order-box {
  /* Inherits all .order-box styles: dark bg, gold border, rounded */
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.reserva-inline-form .order-header {
  cursor: default;
}

.reserva-inline-form .order-list {
  max-height: none;
  padding: 10px 12px;
}

.reserva-inline-form .reserva-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.reserva-inline-form .reserva-row:last-child {
  border-bottom: none;
}

.reserva-inline-form .reserva-row label {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.reserva-inline-form .reserva-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,196,131,0.25);
  border-radius: 6px;
  color: var(--white);
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.reserva-inline-form .reserva-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,196,131,0.18);
}

.reserva-inline-form .reserva-input::placeholder {
  color: var(--white-muted);
  opacity: 0.5;
}

/* Hide number spinners */
.reserva-inline-form input[type="number"]::-webkit-outer-spin-button,
.reserva-inline-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.reserva-inline-form input[type="number"] {
  -moz-appearance: textfield;
}

.reserva-inline-form .order-footer {
  justify-content: flex-end;
  padding: 10px 12px;
}

.reserva-inline-form .btn-whatsapp {
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* Inline datepicker container — same dark theme */
.reserva-inline-form .ui-datepicker {
  background: var(--grey-dark);
  border: 1px solid rgba(216,196,131,0.35);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  padding: 8px;
}

.reserva-inline-form .ui-datepicker-header {
  background: rgba(216,196,131,0.10);
  border: none;
  color: var(--gold);
  border-radius: 6px;
}

.reserva-inline-form .ui-datepicker-title {
  color: var(--gold);
  font-family: var(--font-heading);
}

.reserva-inline-form .ui-datepicker-prev,
.reserva-inline-form .ui-datepicker-next {
  color: var(--gold);
}

.reserva-inline-form .ui-datepicker-calendar th {
  color: var(--gold);
  font-weight: 600;
}

.reserva-inline-form .ui-datepicker-calendar td a {
  color: var(--white);
  background: transparent;
  border-radius: 4px;
}

.reserva-inline-form .ui-datepicker-calendar td a:hover {
  background: rgba(216,196,131,0.20);
  color: var(--gold);
}

.reserva-inline-form .ui-datepicker-calendar td.ui-datepicker-today a {
  background: var(--gold);
  color: var(--grey-dark);
  font-weight: 600;
}

.reserva-inline-form .ui-datepicker-calendar td.ui-datepicker-current-day a {
  background: rgba(216,196,131,0.35);
  color: var(--gold);
}

.reserva-inline-form .ui-datepicker-calendar td.ui-datepicker-unselectable span {
  color: var(--white-muted);
  opacity: 0.4;
}

/* Time picker styled inputs */
.reserva-time-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reserva-time-input {
  flex: 1;
  text-align: center;
}

/* Timepicker custom dropdown buttons */
.reserva-time-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.reserva-time-btn {
  flex: 0 0 auto;
  width: 3.75em;
  text-align: center;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,196,131,0.25);
  border-radius: 6px;
  color: var(--white);
  padding: 10px 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.reserva-inline-form .reserva-time-btn {
  flex: 0 0 auto;
  width: 3.75em;
}

.reserva-time-btn:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,196,131,0.18);
}
.reserva-time-btn:not([data-value=""]) {
  border-color: var(--gold);
  color: var(--white);
}

.reserva-time-btn[data-value=""] {
  color: var(--muted-foreground);
  opacity: 0.5;
}

/* Dropdown panel */
.reserva-time-dropdown {
  position: absolute;
  z-index: 99999;
  background: var(--grey-dark);
  border: 1px solid rgba(216,196,131,0.35);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  padding: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.reserva-time-dropdown-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.reserva-time-dropdown-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,196,131,0.15);
  border-radius: 6px;
  color: var(--white);
  padding: 8px 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
}
.reserva-time-dropdown-item:hover {
  background: rgba(216,196,131,0.20);
  color: var(--gold);
  border-color: var(--gold);
}
