/* ==========================================================================
   PASTEL DO MALOKA — DESIGN SYSTEM & ESTILOS GLOBAIS
   ========================================================================== */

:root {
  /* Primitive Colors */
  --color-gold-50: #FFFBEB;
  --color-gold-100: #FEF3C7;
  --color-gold-400: #FBBF24;
  --color-gold-500: #FF9F1C;
  --color-gold-600: #F77F00;
  --color-gold-700: #D96B00;
  
  --color-red-500: #E63946;
  --color-red-600: #D90429;
  
  --color-green-400: #34D399;
  --color-green-500: #10B981;
  --color-green-600: #059669;
  --color-green-800: #064E3B;
  
  --color-dark-950: #0C0B10;
  --color-dark-900: #121118;
  --color-dark-850: #171620;
  --color-dark-800: #1E1C29;
  --color-dark-700: #292637;
  --color-dark-600: #38344B;

  --color-white: #FFFFFF;
  --color-gray-100: #F1F5F9;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;

  /* Semantic Tokens */
  --bg-page: var(--color-dark-950);
  --bg-surface: var(--color-dark-900);
  --bg-card: var(--color-dark-850);
  --bg-card-hover: var(--color-dark-800);
  --bg-card-active: var(--color-dark-700);

  --text-main: #F8FAFC;
  --text-body: #E2E8F0;
  --text-muted: var(--color-gray-400);
  --text-accent: var(--color-gold-500);

  --brand-primary: var(--color-gold-500);
  --brand-primary-hover: var(--color-gold-600);
  --brand-secondary: var(--color-red-500);
  --brand-accent: var(--color-green-500);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-focus: var(--color-gold-500);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(255, 159, 28, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE SETUP
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, p, .product-desc, .highlight-desc, .brand-slogan {
  text-wrap: balance;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-dark-600);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-600);
}

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

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

button {
  cursor: pointer;
  background: transparent;
  touch-action: manipulation;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */

.top-bar {
  background: linear-gradient(90deg, #1A1723 0%, #251D2C 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-inline {
  width: 14px;
  height: 14px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--color-green-400);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--color-green-400);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

@media (max-width: 640px) {
  .desktop-only {
    display: none !important;
  }
  .top-bar-content {
    justify-content: center;
  }
}

/* ==========================================================================
   HERO / HEADER
   ========================================================================== */

.hero-header {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(255, 159, 28, 0.12) 0%, rgba(18, 17, 24, 0.95) 75%), var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0 24px 0;
  overflow: hidden;
}

.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary), var(--brand-accent));
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-brand-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-avatar-box {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}

.avatar-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: var(--color-dark-900);
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.avatar-badge svg {
  width: 14px;
  height: 14px;
}

.brand-text-info {
  flex: 1;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.verified-tag {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-slogan {
  color: var(--color-gray-300);
  font-size: 14px;
  margin-bottom: 10px;
}

.brand-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--color-gray-300);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-pill svg {
  width: 13px;
  height: 13px;
  color: var(--brand-primary);
}

.hero-actions-panel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0 42px 0 44px;
  color: var(--text-main);
  font-size: 14px;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--border-focus);
  background: var(--color-dark-800);
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.2);
}

.clear-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.clear-search-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.2);
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(255, 159, 28, 0.3);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.cart-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 28, 0.45);
}

.cart-trigger-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count-badge {
  background: #000;
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-brand-wrap {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .brand-title-row {
    justify-content: center;
  }
  .brand-badges {
    justify-content: center;
  }
  .cart-btn-text {
    display: none;
  }
  .cart-trigger-btn {
    padding: 0 14px;
  }
}

/* ==========================================================================
   CATEGORIES STICKY NAV
   ========================================================================== */

.categories-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 17, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.categories-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--color-gray-300);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.category-pill:hover {
  background: var(--color-dark-800);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.category-pill.active {
  background: var(--brand-primary);
  color: #000;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(255, 159, 28, 0.35);
}

.cat-svg {
  width: 16px;
  height: 16px;
  color: currentColor;
  flex-shrink: 0;
}

.category-pill.active .cat-svg {
  color: #000;
}

/* ==========================================================================
   MAIN MENU & HIGHLIGHT BANNER
   ========================================================================== */

.menu-main {
  padding-top: 28px;
  padding-bottom: 100px;
  flex: 1;
}

.highlight-banner {
  background: linear-gradient(135deg, #231C2D 0%, #1A1823 100%);
  border: 1px solid rgba(255, 159, 28, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.highlight-tag {
  display: inline-block;
  background: rgba(230, 57, 70, 0.2);
  color: #FF5A65;
  border: 1px solid rgba(230, 57, 70, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.highlight-desc {
  color: var(--color-gray-300);
  font-size: 14px;
  max-width: 680px;
}

.highlight-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.h-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h-feat-icon {
  background: rgba(255, 159, 28, 0.1);
  color: var(--brand-primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 159, 28, 0.2);
}

.h-feat-icon svg {
  width: 20px;
  height: 20px;
}

.h-feat-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.h-feat-item small {
  font-size: 12px;
  color: var(--text-muted);
}

.search-feedback {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-body);
}

.search-feedback strong {
  color: var(--brand-primary);
}

/* ==========================================================================
   MENU SECTIONS & PRODUCT CARDS
   ========================================================================== */

.menu-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 159, 28, 0.12);
  border: 1px solid rgba(255, 159, 28, 0.25);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.section-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
}

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

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

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  transition: var(--transition-normal);
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 159, 28, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card-top {
  display: flex;
  gap: 14px;
  min-width: 0;
}

/* Product Photo Placeholder (Green Box) */
.product-photo-wrap {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #10B981 50%, #047857 100%);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.product-photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  color: #FFF;
}

.product-photo-inner svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.product-photo-inner span {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.product-info-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  min-width: 0;
}

.product-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  word-break: break-word;
}

.product-badge-sm {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 159, 28, 0.15);
  color: var(--brand-primary);
  border: 1px solid rgba(255, 159, 28, 0.3);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.product-desc {
  font-size: 13px;
  color: var(--color-gray-400);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

@media (max-width: 480px) {
  .product-photo-wrap {
    width: 80px;
    height: 80px;
  }
  .product-card {
    padding: 12px;
    gap: 10px;
  }
  .product-name {
    font-size: 15px;
  }
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-prefix {
  font-size: 11px;
  color: var(--text-muted);
}

.product-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-primary);
}

.btn-add-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 159, 28, 0.12);
  color: var(--brand-primary);
  border: 1px solid rgba(255, 159, 28, 0.3);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  min-height: 42px;
  min-width: 84px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.btn-add-item:hover, .product-card:hover .btn-add-item {
  background: var(--brand-primary);
  color: #000;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}

.btn-add-item svg {
  width: 14px;
  height: 14px;
}

/* Delivery Info Section */
.info-delivery-card {
  background: linear-gradient(135deg, #1A1723 0%, #15141D 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.info-delivery-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-delivery-icon svg {
  width: 26px;
  height: 26px;
}

.info-delivery-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.info-delivery-text p {
  font-size: 13px;
  color: var(--color-gray-300);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .info-delivery-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING CART BAR
   ========================================================================== */

.floating-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(18, 17, 24, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-medium);
  padding: 12px 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.floating-cart-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.floating-cart-info {
  display: flex;
  flex-direction: column;
}

.floating-cart-count {
  font-size: 12px;
  color: var(--text-muted);
}

.floating-cart-count span {
  color: var(--brand-primary);
  font-weight: 700;
}

.floating-cart-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
}

.btn-checkout-floating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
  color: #000;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(255, 159, 28, 0.4);
  transition: var(--transition-fast);
}

.btn-checkout-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 28, 0.55);
}

.btn-checkout-floating svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   CART DRAWER (SIDEBAR)
   ========================================================================== */

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.8);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.cart-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-title-group svg {
  width: 22px;
  height: 22px;
  color: var(--brand-primary);
}

.cart-drawer-title-group h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
}

.cart-drawer-badge {
  background: rgba(255, 159, 28, 0.15);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.close-cart-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
}

.close-cart-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Empty State */
.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 159, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 6px;
}

.empty-icon svg {
  width: 32px;
  height: 32px;
}

.cart-empty-state h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-main);
}

.cart-empty-state p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 260px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 159, 28, 0.35);
}

/* Cart Items List */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cart-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 12px;
  position: relative;
}

.cart-item-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(255, 159, 28, 0.12);
  border: 1px solid rgba(255, 159, 28, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.cart-item-thumb svg {
  width: 22px;
  height: 22px;
}

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

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.cart-item-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.25;
}

.cart-item-remove-btn {
  color: var(--text-muted);
  font-size: 13px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.cart-item-remove-btn:hover {
  color: var(--brand-secondary);
  background: rgba(230, 57, 70, 0.15);
}

.cart-item-addons {
  font-size: 12px;
  color: var(--color-gray-400);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cart-item-obs {
  font-size: 11px;
  color: var(--brand-primary);
  background: rgba(255, 159, 28, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-primary);
}

.cart-item-qty-control {
  display: inline-flex;
  align-items: center;
  background: var(--color-dark-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-qty-val {
  font-size: 13px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* Checkout Form Styles */
.checkout-form {
  border-top: 1px dashed var(--border-medium);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.checkout-section-title svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.checkout-section-title h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-300);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-main);
  font-size: 13px;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--border-focus);
  background: var(--color-dark-800);
}

.form-row {
  display: flex;
  gap: 10px;
}

.col-6 {
  flex: 1;
}

.order-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card input {
  display: none;
}

.radio-card.active {
  border-color: var(--brand-primary);
  background: rgba(255, 159, 28, 0.08);
}

.radio-custom {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-500);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
}

.radio-card.active .radio-custom {
  border-color: var(--brand-primary);
}

.radio-card.active .radio-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}

.radio-label-wrap strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.radio-label-wrap small {
  font-size: 11px;
  color: var(--text-muted);
}

.address-fields-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
}

.freight-notice-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-gray-200);
}

.freight-notice-box svg {
  width: 18px;
  height: 18px;
  color: #34D399;
  flex-shrink: 0;
  margin-top: 1px;
}

.freight-notice-box strong {
  display: block;
  color: #34D399;
  margin-bottom: 2px;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.payment-option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-option-card input {
  display: none;
}

.payment-option-card.active {
  border-color: var(--brand-primary);
  background: rgba(255, 159, 28, 0.1);
}

.payment-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.payment-option-card strong {
  font-size: 13px;
  color: var(--text-main);
}

.payment-option-card small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Drawer Footer */
.cart-drawer-footer {
  padding: 18px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-summary-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-muted {
  color: var(--text-muted);
}

.badge-free {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-green-400);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.summary-total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.total-highlight {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand-primary);
}

.btn-whatsapp-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFF;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
  transition: var(--transition-fast);
}

.btn-whatsapp-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.55);
}

.btn-whatsapp-send svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   PRODUCT CUSTOMIZATION MODAL
   ========================================================================== */

.product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: 92%;
  max-width: 520px;
  max-height: 88vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.product-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.close-modal-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.product-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-product-intro {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: center;
}

.modal-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.photo-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.photo-placeholder-inner svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.modal-product-desc {
  font-size: 13px;
  color: var(--color-gray-300);
  line-height: 1.4;
}

.modal-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modal-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-option-row:hover {
  background: var(--color-dark-800);
}

.modal-option-row.selected {
  border-color: var(--brand-primary);
  background: rgba(255, 159, 28, 0.08);
}

.modal-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
}

.modal-option-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Checkbox Addons */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addon-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.addon-checkbox-row:hover {
  background: var(--color-dark-800);
}

.addon-checkbox-row.checked {
  border-color: var(--brand-accent);
  background: rgba(16, 185, 129, 0.08);
}

.addon-label-side {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-main);
}

.addon-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-accent);
}

.addon-price {
  font-size: 13px;
  font-weight: 700;
  color: #34D399;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.qty-counter {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-display {
  width: 38px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--text-main);
}

.btn-add-to-cart-modal {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background: #09080C;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 24px 0;
  color: var(--color-gray-400);
  font-size: 13px;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-logo {
  border-radius: 14px;
  border: 1px solid var(--border-medium);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.text-highlight {
  color: var(--brand-primary);
  font-weight: 700;
}

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

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.author-tag {
  color: var(--brand-primary);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
