:root {
  /* Colors */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --white: #ffffff;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Spacing */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-purple: 0 8px 30px rgba(147, 51, 234, 0.3);
  --shadow-purple-lg: 0 12px 40px rgba(147, 51, 234, 0.35);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: var(--white);
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(147, 51, 234, 0.35);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-ghost {
  color: var(--gray-500);
}

.btn-ghost:hover {
  color: var(--danger);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: var(--purple-50);
  color: var(--purple-700);
}

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

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  font-size: 1.1rem;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--purple-100);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--purple-600);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--gray-100);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-700);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background: var(--purple-900);
  overflow: hidden;
  text-align: center;
}

/* Subtle grid pattern overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(147, 51, 234, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 51, 234, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

/* Sweeping shimmer across hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 20%,
    rgba(196, 132, 252, 0.06) 48%,
    rgba(167, 139, 250, 0.11) 50%,
    rgba(196, 132, 252, 0.06) 52%,
    transparent 80%
  );
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 640px;
  height: 640px;
  background: radial-gradient(
    circle,
    rgba(168, 51, 234, 0.6) 0%,
    transparent 65%
  );
  top: -220px;
  right: -160px;
  animation: orbFloat1 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(109, 40, 217, 0.5) 0%,
    transparent 65%
  );
  bottom: -200px;
  left: -140px;
  animation: orbFloat2 18s ease-in-out infinite;
}

.hero-orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.22) 0%,
    transparent 65%
  );
  top: 45%;
  right: 22%;
  animation: orbFloat1 10s ease-in-out infinite reverse;
}

.hero-orb-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(196, 132, 252, 0.28) 0%,
    transparent 65%
  );
  top: 15%;
  left: 8%;
  animation: orbFloat2 12s ease-in-out infinite;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(196, 132, 252, 0.4);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: badgeGlow 3.5s ease-in-out infinite;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  color: white;
  max-width: 700px;
  text-shadow:
    0 0 80px rgba(147, 51, 234, 0.35),
    0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  background: linear-gradient(135deg, #e879f9, #c084fc 40%, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(196, 132, 252, 0.5));
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.hero-stat i {
  font-size: 1rem;
  color: var(--purple-300);
}

.hero-stat strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== INFO BAR ===== */
.info-bar {
  display: none;
}

.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.info-item i {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-800);
}

.info-item span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ===== CATEGORIES ===== */
.categories-bar {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  margin: 0 -20px 32px;
  padding-left: 20px;
  padding-right: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.category-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
  transition: var(--transition);
}

.category-chip:hover {
  background: var(--purple-50);
  color: var(--purple-600);
}

.category-chip.active {
  background: var(--purple-600);
  color: white;
}

/* ===== MENU SECTION ===== */
.menu-section {
  padding: 60px 0 80px;
  background: var(--gray-50);
}

.section-header {
  margin-bottom: 40px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-tag.light {
  color: var(--purple-200);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.section-title.light {
  color: white;
}

.section-desc {
  color: var(--gray-500);
  margin-top: 6px;
  font-size: 0.9rem;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
}

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

.product-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--purple-600);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

.product-card-body {
  padding: 16px;
}

.product-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--purple-700);
}

.product-card-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.product-card-add:hover {
  background: var(--purple-700);
  transform: scale(1.1);
}

/* ===== PROMOS ===== */
.promos-section {
  padding: 80px 0;
  background: var(--purple-900);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.promo-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promo-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.promo-body {
  padding: 20px;
}

.promo-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo-body p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.promo-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.price-old {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.price-new {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--purple-700);
}

/* ===== ABOUT ===== */
.about-section {
  padding: 80px 0;
  background: white;
}

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

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2);
}

.about-content .section-title {
  margin-bottom: 16px;
}

.about-content p {
  color: var(--gray-500);
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.about-numbers {
  display: flex;
  gap: 30px;
  margin-top: 24px;
}

.about-num {
  text-align: center;
}

.about-num strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--purple-700);
}

.about-num span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 80px 0;
  background: var(--gray-900);
}

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

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  color: white;
}

.contact-card i {
  font-size: 1.4rem;
  color: var(--purple-400);
  margin-bottom: 8px;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.contact-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background: #0d0b15;
  padding: 0 0 0;
  color: var(--gray-400);
  border-top: 1px solid rgba(147, 51, 234, 0.18);
}

/* Gradient separator line at top */
.footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--purple-700) 20%,
    var(--purple-500) 50%,
    rgba(74, 222, 128, 0.7) 75%,
    transparent
  );
}

.footer .container {
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--purple-600);
}

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-links a,
.footer-links span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--purple-400);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: white;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-xl);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.cart-close-btn:hover {
  background: var(--gray-200);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.cart-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--gray-300);
}

.cart-empty p {
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-800);
}

.cart-item-complements {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-700);
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-actions button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.cart-item-actions button:hover {
  background: var(--purple-100);
  color: var(--purple-700);
}

.cart-item-actions span {
  font-weight: 600;
  font-size: 0.85rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: var(--danger) !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.15) !important;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.cart-total-row strong {
  font-size: 1.3rem;
  color: var(--purple-700);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-img {
  height: 240px;
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 24px;
}

.modal-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple-600);
  background: var(--purple-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.modal-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-content > p {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.modal-price-row {
  margin-bottom: 20px;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-700);
}

/* Complements in modal */
.modal-complements {
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.modal-complements h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 14px;
}

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

.complement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  text-align: center;
}

.complement-item:hover {
  border-color: var(--purple-300);
  background: var(--purple-50);
}

.complement-item.selected {
  border-color: var(--purple-600);
  background: var(--purple-50);
}

.complement-item.selected::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.65rem;
  color: var(--purple-600);
  font-weight: 700;
}

.complement-item {
  position: relative;
}

.complement-icon {
  font-size: 1.2rem;
  color: var(--purple-500);
  line-height: 1;
}

.complement-name {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.2;
}

.complement-price {
  font-size: 0.65rem;
  color: var(--purple-600);
  font-weight: 600;
}

/* Modal footer */
.modal-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.modal-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-100);
  padding: 8px 14px;
  border-radius: var(--radius-full);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gray-700);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.qty-btn:hover {
  background: var(--purple-100);
  color: var(--purple-700);
}

.modal-qty span {
  font-weight: 700;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.modal-add-btn {
  flex: 1;
  justify-content: center;
  padding: 14px 20px;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--purple-600);
  animation: slideIn 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
}

.toast.removing {
  animation: fadeOut 0.3s ease forwards;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
