/* ==========================================================================
   BAR CASA FLORES - DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary: #873600;
  --color-primary-dark: #5e2600;
  --color-primary-light: #ab4700;
  --color-accent: #d32f2f;
  --color-accent-hover: #b71c1c;
  --color-gold: #d4881e;
  --color-gold-light: #f5b041;
  --color-bg: #faf7f2;
  --color-bg-card: #ffffff;
  --color-bg-secondary: #f3ede2;
  --color-text-main: #2b1810;
  --color-text-muted: #6e5d53;
  --color-text-light: #9e8d83;
  --color-border: #e6dcce;
  --color-border-hover: #cfbeaa;
  --color-success: #2e7d32;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;

  /* Typography */
  --font-display: 'Oswald', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(43, 24, 16, 0.05);
  --shadow-md: 0 4px 20px rgba(43, 24, 16, 0.08);
  --shadow-lg: 0 10px 30px rgba(43, 24, 16, 0.12);
  --shadow-xl: 0 20px 40px rgba(43, 24, 16, 0.18);
  --shadow-floating: 0 12px 35px rgba(211, 47, 47, 0.35);

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Texture Pattern Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.025;
  pointer-events: none;
  background-image: radial-gradient(#2b1810 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: -1;
}

/* Prevent auto zoom on iOS inputs */
input, select, textarea {
  font-size: 16px !important;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text-main);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* CRM HEADER BUTTON */
.btn-header-crm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #111827;
  border: 1px solid #374151;
  color: #ffffff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-header-crm:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-header-cart {
  position: relative;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-header-cart:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.35);
}

.cart-count-badge {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.75rem;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ==========================================================================
   IMPORTANT BAR NOTICE STRIP
   ========================================================================== */
.bar-notice-strip {
  background: #fff3cd;
  border-bottom: 1px solid #ffeeba;
  color: #856404;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #2b1810 0%, #442416 100%);
  color: #fff;
  padding: 3rem 1.25rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 50%, rgba(229, 160, 36, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 160, 36, 0.2);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--color-gold-light);
}

.hero-desc {
  font-size: 1.05rem;
  color: #e5d8cc;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-feature-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: #f3ede2;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-floating);
  transition: var(--transition-fast);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-banner-card {
  background: #fff;
  color: var(--color-text-main);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  border: 2px solid var(--color-gold);
  position: relative;
}

.hero-logo-large {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: -4.5rem auto 1rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-main);
  margin-bottom: 0.3rem;
}

.hero-card-subtitle {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-success);
  background: #e8f5e9;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.hero-notice-pill {
  background: #fff7e6;
  border: 1px solid #ffd591;
  color: #d46b08;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   MAIN MENU SECTION & CONTROLS
   ========================================================================== */
.menu-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 6rem;
}

.section-header-block {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* Search & Filters Bar */
.menu-controls {
  position: sticky;
  top: 65px;
  z-index: 90;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-radius: var(--radius-md);
}

.search-bar-wrap {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-text-main);
  transition: var(--transition-fast);
  outline: none;
}

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

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

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

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

.tab-btn.active {
  background: var(--color-text-main);
  color: #fff;
  border-color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
#products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.category-group {
  margin-bottom: 3.5rem;
  scroll-margin-top: 140px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-border);
}

.category-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  background: var(--color-bg-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.product-card.featured {
  border: 2px solid var(--color-gold);
  background: linear-gradient(180deg, #fffcf5 0%, #ffffff 100%);
}

.featured-badge, .badge-special {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-img-wrap, .product-image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.product-img, .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img,
.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-top, .product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}

.product-includes-tag {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-add-cart {
  background: var(--color-text-main);
  color: #fff;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.btn-add-cart:hover {
  background: var(--color-accent);
  transform: scale(1.03);
}

.btn-add-cart:active {
  transform: scale(0.97);
}

/* ==========================================================================
   FLOATING CART BAR & DRAWER
   ========================================================================== */
.floating-cart-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 95;
  width: 90%;
  max-width: 480px;
  background: var(--color-accent);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: manipulation;
}

.floating-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-bar-badge {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-bar-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-bar-total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Slide-out Cart Drawer */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #fff;
  z-index: 201;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-secondary);
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-drawer {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  background: var(--color-border);
  color: var(--color-text-main);
}

.cart-drawer-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
  margin: auto;
}

.cart-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.cart-item-row {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

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

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}

.cart-item-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.qty-control-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px 4px;
}

.btn-qty {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-secondary);
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-qty:hover {
  background: var(--color-accent);
  color: #fff;
}

.qty-val {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #c62828;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.3rem;
  font-weight: 600;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #fff;
  border: none;
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
  transition: all 0.2s ease;
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.5);
}

/* ==========================================================================
   ORDER MODAL (CHECKOUT & CUSTOMER INFO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  background: #fff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--color-text-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-body {
  padding: 1.5rem;
}

/* Order Type Toggle */
.order-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.type-option-btn {
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.type-option-btn:hover {
  border-color: var(--color-primary);
}

.type-option-btn.active {
  border-color: var(--color-accent);
  background: #fff5f5;
  color: var(--color-accent);
}

.type-option-icon {
  font-size: 1.6rem;
}

.type-option-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.type-option-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-main);
  background: #fff;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(135, 54, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Order Summary Box in Checkout */
.checkout-summary-box {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 120px;
  overflow-y: auto;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
}

.checkout-submit-wrapper {
  margin-top: 1.5rem;
}

.checkout-btn-submit,
.checkout-btn-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #873600 100%);
  color: #ffffff;
  border: none;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.checkout-btn-submit .btn-submit-icon {
  font-size: 1.85rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.checkout-btn-submit .btn-submit-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.checkout-btn-submit .btn-submit-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  line-height: 1.2;
}

.checkout-btn-submit .btn-submit-text small {
  font-size: 0.8rem;
  opacity: 0.92;
  font-weight: 500;
  margin-top: 2px;
}

.checkout-btn-submit:hover,
.checkout-btn-whatsapp:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.55), 0 6px 14px rgba(0, 0, 0, 0.2);
}

.checkout-btn-submit:active,
.checkout-btn-whatsapp:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}

.submit-note-info {
  font-size: 0.82rem;
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 0.85rem;
  line-height: 1.4;
  background: rgba(217, 119, 6, 0.08);
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

/* ==========================================================================
   ORDER CONFIRMATION / TICKET MODAL
   ========================================================================== */
.ticket-container {
  background: #fff;
  border-radius: var(--radius-md);
  border: 2px dashed var(--color-border);
  padding: 1.5rem;
  position: relative;
  text-align: center;
}

.ticket-header-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
}

.ticket-order-id {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin: 0.5rem 0;
}

.ticket-status-badge {
  display: inline-block;
  background: #e8f5e9;
  color: var(--color-success);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.ticket-details-table {
  width: 100%;
  text-align: left;
  font-size: 0.85rem;
  margin: 1rem 0;
  border-collapse: collapse;
}

.ticket-details-table td {
  padding: 0.4rem 0;
}

.ticket-details-table tr:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   CUSTOMIZE ITEM MODAL
   ========================================================================== */
.modal-product-preview {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.modal-product-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ==========================================================================
   CUSTOMER LIVE ORDER TRACKER
   ========================================================================== */
.customer-live-tracker {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 480px;
  background: #111827;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-primary);
  z-index: 999;
  padding: 0.9rem 1.25rem;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.customer-live-tracker.ready-alert {
  background: #15803d;
  border-color: #4ade80;
  animation: bounceReady 1s infinite alternate;
}

@keyframes bounceReady {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(-6px); }
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(40px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.tracker-inner-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tracker-icon-pulse {
  font-size: 1.8rem;
  animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.tracker-text-col {
  flex: 1;
}

.tracker-order-title {
  font-weight: 800;
  font-size: 0.95rem;
}

.tracker-order-status {
  font-size: 0.82rem;
  color: #e5e7eb;
}

.btn-tracker-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-text-main);
  color: #e5d8cc;
  padding: 3.5rem 1.25rem 2rem;
  border-top: 4px solid var(--color-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #bfada0;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-info-list {
  list-style: none;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.82rem;
  color: #8c7b6e;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST POLISH)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-badge-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges-row {
    justify-content: center;
  }

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

  .hero-banner-card {
    margin-top: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 0.6rem 0.85rem;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .btn-header-crm {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

  .btn-header-cart {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  .btn-header-cart span:not(.cart-count-badge) {
    display: none;
  }

  .hero-section {
    padding: 2rem 1rem 2.5rem;
  }

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

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-logo-large {
    width: 100px;
    height: 100px;
    margin-top: -3.5rem;
  }

  .menu-section {
    padding: 1.5rem 0.85rem 5rem;
  }

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

  #products-container, .products-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .product-img-wrap, .product-image-wrap {
    height: 160px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-cart-bar {
    width: calc(100% - 24px);
    bottom: 12px;
    padding: 0.75rem 1.1rem;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .modal-overlay {
    padding: 0.5rem;
  }

  .modal-body {
    padding: 1.1rem;
  }
}
