.:root {

/* Colores principales */
--primary:#FF6B9D;
--primary-dark:#C44569;
--primary-light:#FFA8C5;
--primary-glow:rgba(255,107,157,.3);

/* Colores secundarios */
--secondary:#FF8E53;
--secondary-dark:#E85D4E;
--secondary-light:#FFB8A8;

/* Acentos */
--accent:#FFE5EC;
--accent-light:#FFF0F5;

/* Escala grises */
--dark:#2D2DD2;
--dark-light:#3D3D3D;
--dark-medium:#4D4D4D;
--gray:#6B6B6B;
--gray-light:#9E9E9E;
--gray-lighter:#E8E8E8;
--gray-bg:#F8F8F8;

/* Fondos */
--white:#FFFFFF;
--bg:#FFF5F7;
--bg-alt:#FFE5EC;
--bg-card:#FFFFFF;

}


/* ═══════════ RESET & BASE ═══════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Scrollbar personalizado */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); border-radius: 4px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* Selection */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* ═══════════ CONTENEDOR ═══════════ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════ ANIMACIONES KEYFRAMES ═══════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes slideOutRight {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  10% { transform: translateX(-4px) rotate(-1deg); }
  20% { transform: translateX(4px) rotate(1deg); }
  30% { transform: translateX(-4px) rotate(0); }
  40% { transform: translateX(4px) rotate(1deg); }
  50% { transform: translateX(-2px) rotate(-1deg); }
  60% { transform: translateX(2px) rotate(0); }
  70% { transform: translateX(-1px) rotate(1deg); }
  80% { transform: translateX(1px) rotate(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(2deg); }
  75% { transform: translateY(8px) rotate(-2deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

@keyframes confettiFall {
  0% { transform: translateY(-100vh) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg) scale(0.5); opacity: 0; }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--primary-glow), 0 0 10px var(--primary-glow);
  }
  50% {
    box-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow);
  }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideOutToast {
  to { transform: translateX(120%); opacity: 0; }
}

/* Clases de animación reutilizables */
.animate-fade { animation: fadeIn 0.6s ease forwards; }
.animate-fade-down { animation: fadeInDown 0.6s ease forwards; }
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-right { animation: fadeInRight 0.6s ease forwards; }
.animate-scale { animation: scaleIn 0.4s ease forwards; }
.animate-bounce { animation: bounce 0.6s ease; }
.animate-shake { animation: shake 0.5s ease; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }
.animate-pop { animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--accent);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-logo {
  font-size: 32px;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
  -webkit-text-fill-color: var(--primary);
}

.navbar-text {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-links a:hover {
  color: var(--primary);
  background: var(--accent-light);
}

.navbar-links a:hover::after {
  width: 60%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón del carrito */
.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--accent);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.cart-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.cart-btn:active {
  transform: scale(0.95);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--white);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(196, 69, 105, 0.4);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  transform: scale(0);
  opacity: 0;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 20px;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* ═══════════ MOBILE MENU ═══════════ */
.mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 899;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-120%);
  opacity: 0;
  transition: var(--transition);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu a:hover {
  background: var(--accent-light);
  color: var(--primary);
  padding-left: 28px;
}

.mobile-admin-link {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--accent);
  color: var(--primary) !important;
  font-weight: 600 !important;
}

/* ═══════════ HERO SECTION ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--navbar-height) + 40px) 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 142, 83, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--white) 50%, var(--bg) 100%);
  z-index: 0;
}

/* Elementos decorativos flotantes */
.hero-bg::before {
  content: '🍓';
  position: absolute;
  font-size: 200px;
  opacity: 0.03;
  top: 15%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '🍰';
  position: absolute;
  font-size: 120px;
  opacity: 0.04;
  bottom: 20%;
  left: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--secondary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow);
  display: inline-flex;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--accent);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(-50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* ═══════════ FEATURES SECTION ═══════════ */
.features {
  padding: 80px 24px;
  background: var(--white);
}

.features-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: var(--white);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ═══════════ MENU SECTION ═══════════ */
.menu-section {
  padding: 100px 24px 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

/* ═══════════ CATEGORÍAS SCROLLABLES ═══════════ */
.categories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  margin-bottom: 32px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  border: 2px solid var(--accent);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  scroll-snap-align: start;
  min-width: fit-content;
  font-family: var(--font-primary);
}

.category-btn span:first-child {
  font-size: 24px;
  transition: var(--transition);
}

.category-btn span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition);
}

.category-btn:hover {
  border-color: var(--primary-light);
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-btn:hover span:first-child {
  transform: scale(1.2);
}

.category-btn.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  transform: translateY(-2px);
}

.category-btn.active span:last-child {
  color: var(--white);
}

.category-btn.active span:first-child {
  transform: scale(1.15);
  filter: brightness(1.2);
}

/* ═══════════ PRODUCT GRID ═══════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--accent);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.product-card:active {
  transform: translateY(-2px) scale(0.98);
}

/* Badge popular */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.popular {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(255, 142, 83, 0.4);
}

.product-image {
  height: 180px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.product-card:hover .product-image::before {
  transform: scale(1.3);
}

.product-emoji {
  font-size: 72px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.product-card:hover .product-emoji {
  transform: scale(1.1) rotate(-5deg);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  transition: var(--transition);
}

.product-card:hover .product-name {
  color: var(--primary);
}

.product-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

.product-footer .btn {
  flex-shrink: 0;
}

/* ═══════════ ABOUT SECTION ═══════════ */
.about-section {
  padding: 100px 24px;
  background: var(--white);
}

.about-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--bg-alt) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 107, 157, 0.08), transparent 60%);
}

.about-img-placeholder span {
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

.about-content .section-badge {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid var(--accent);
}

.about-feature:hover {
  background: var(--white);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(8px);
}

.about-feature span {
  font-size: 28px;
  flex-shrink: 0;
}

.about-feature strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
}

/* ═══════════ CONTACT SECTION ═══════════ */
.contact-section {
  padding: 100px 24px;
  background: var(--bg);
}

.contact-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--accent);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.contact-card:hover::after {
  transform: scaleX(1);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  transform: scale(1.2) rotate(10deg);
}

.contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--gray);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 24px 30px;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  text-align: left;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ═══════════ CART SIDEBAR ═══════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--sidebar-width);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 960;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(196, 69, 105, 0.2);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--accent);
  flex-shrink: 0;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}

.cart-header h2 i {
  color: var(--primary);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

/* Items del carrito */
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--accent);
  animation: fadeIn 0.3s ease;
  transition: var(--transition);
}

.cart-item:hover {
  background: var(--bg);
  margin: 0 -16px;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.cart-item-image {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-size {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 2px;
}

.cart-item-toppings {
  font-size: 11px;
  color: var(--primary-dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-notes {
  font-size: 11px;
  color: var(--info);
  font-style: italic;
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent);
  background: var(--white);
  border-radius: var(--radius-xs);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  border-color: var(--primary);
  background: var(--accent-light);
}

.qty-btn:active {
  transform: scale(0.9);
}

.qty-value {
  font-size: 15px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
  color: var(--dark);
}

.cart-item-subtotal {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.remove-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--danger-light);
  color: var(--danger);
  border-radius: var(--radius-xs);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.remove-btn:hover {
  background: var(--danger);
  color: var(--white);
  transform: scale(1.1);
}

.remove-btn:active {
  transform: scale(0.9);
}

/* Footer del carrito */
.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--accent);
  background: var(--bg);
  flex-shrink: 0;
}

.cart-summary {
  margin-bottom: 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray);
}

.cart-summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid var(--accent);
}

.cart-summary-row.total span:last-child {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 24px;
}

/* ═══════════ MODALES ═══════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  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: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(196, 69, 105, 0.2);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--accent);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg) scale(1.1);
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--accent);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ═══════════ MODAL DE PRODUCTO ═══════════ */
.product-modal .modal {
  max-width: 600px;
}

.base-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

/* Secciones de personalización */
.customization-section {
  margin-bottom: 28px;
}

.customization-section:last-of-type {
  margin-bottom: 16px;
}

.customization-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.customization-section h4 i {
  color: var(--primary);
}

/* Opciones de tamaño */
.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.size-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 2px solid var(--accent);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-primary);
}

.size-option:hover {
  border-color: var(--primary-light);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.size-option.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  transform: translateY(-2px);
}

.size-icon {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  transition: var(--transition);
}

.size-option.active .size-icon {
  color: var(--white);
}

.size-name {
  font-size: 13px;
  font-weight: 600;
}

.size-ml {
  font-size: 11px;
  color: var(--gray-light);
}

.size-option.active .size-ml {
  color: rgba(255,255,255,0.8);
}

.size-extra {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  margin-top: 2px;
}

.size-option.active .size-extra {
  color: rgba(255,255,255,0.9);
}

.size-extra.base-size {
  color: var(--success);
}

.size-option.active .size-extra.base-size {
  color: rgba(255,255,255,0.9);
}

/* Grid de toppings */
.toppings-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topping-category h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.topping-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topping-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--accent);
  background: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.topping-item:hover {
  border-color: var(--primary-light);
  background: var(--accent-light);
  transform: translateY(-1px);
}

.topping-item.active {
  border-color: var(--primary);
  background: var(--accent-light);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.2);
  transform: translateY(-1px);
}

.topping-icon {
  font-size: 16px;
}

.topping-name {
  font-size: 13px;
  font-weight: 600;
}

.topping-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-light);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.topping-item.active .topping-price {
  background: var(--primary);
  color: var(--white);
}

/* Resumen de precio en modal */
.modal-price-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-top: 20px;
  border: 1px solid var(--accent);
}

.modal-price-summary span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
}

.modal-total-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
  transition: var(--transition);
}

/* ═══════════ MODAL DE ÉXITO ═══════════ */
.order-number-display {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 2px;
  font-family: monospace;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* ═══════════ TOAST NOTIFICATIONS ═══════════ */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  min-width: 300px;
  max-width: 420px;
  border-left: 4px solid var(--primary);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.toast::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  animation: shrinkBar 3s linear forwards;
}

@keyframes shrinkBar {
  from { width: 100%; }
  to { width: 0%; }
}

.toast.toast-success { border-left-color: var(--success); }
.toast.toast-success::after { background: var(--success); }
.toast.toast-warning { border-left-color: var(--warning); }
.toast.toast-warning::after { background: var(--warning); }
.toast.toast-danger { border-left-color: var(--danger); }
.toast.toast-danger::after { background: var(--danger); }
.toast.toast-info { border-left-color: var(--info); }
.toast.toast-info::after { background: var(--info); }

.toast-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--gray-light);
  transition: var(--transition);
  padding: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
}

.toast-close:hover {
  background: var(--gray-bg);
  color: var(--dark);
}

.toast.removing {
  animation: slideOutToast 0.3s ease forwards;
}

/* ═══════════ CONFETTI ═══════════ */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 99999;
  animation: confettiFall 3s ease-in forwards;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ═══════════ EMPTY STATE ═══════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-light);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--gray);
  font-weight: 600;
}

.empty-state p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ═══════════ BOTONES GLOBALES ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: var(--font-primary);
  white-space: nowrap;
  user-select: none;
}

/* Efecto ripple */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 142, 83, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 142, 83, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #c0392b);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #219a52);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.25);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
  font-size: 16px;
}

/* ═══════════ BADGES ═══════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: var(--info-light); color: var(--info); }
.badge-primary { background: var(--accent); color: var(--primary-dark); }

/* ═══════════ FORMULARIOS ═══════════ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-primary);
  transition: var(--transition);
  background: var(--white);
  color: var(--dark);
}

.form-control:hover {
  border-color: var(--primary-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.form-control::placeholder {
  color: var(--gray-light);
}

.form-control:disabled {
  background: var(--bg);
  cursor: not-allowed;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* ═══════════ UTILIDADES ═══════════ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }
.text-muted { color: var(--gray-light); }
.text-dark { color: var(--dark); }

.text-xs { font-size: 11px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 15px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 24px; }
.text-2xl { font-size: 32px; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none !important; }
.d-inline-block { display: inline-block; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: var(--radius-full); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }

.shadow { box-shadow: var(--shadow); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }

.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ═══════════ RESPONSIVE DESIGN ═══════════ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }

  .navbar-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
    --sidebar-width: 100vw;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--navbar-height) + 40px) 16px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-scroll {
    bottom: 16px;
  }

  /* Features */
  .features {
    padding: 60px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 24px 16px;
  }

  .feature-icon {
    font-size: 36px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* Menu */
  .menu-section {
    padding: 60px 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  /* About */
  .about-section {
    padding: 60px 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-img-placeholder {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-section {
    padding: 60px 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer {
    padding: 40px 16px 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Modal */
  .modal {
    width: 100%;
    max-height: 95vh;
    max-height: 95dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 0;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Size options */
  .size-options {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .size-option {
    padding: 10px 6px;
  }

  /* Toast */
  .toast-container {
    top: auto;
    bottom: 24px;
    right: 16px;
    left: 16px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  /* Cart sidebar */
  .cart-sidebar {
    width: 100vw;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  /* Navbar */
  .navbar-brand {
    font-size: 20px;
  }

  .navbar-logo {
    font-size: 28px;
  }

  .navbar-text {
    display: none;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .category-btn {
    padding: 10px 16px;
  }

  .product-image {
    height: 150px;
  }

  .product-emoji {
    font-size: 56px;
  }

  .size-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .toast {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* Landscape phones */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-badge {
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
  }

  .hero-stats {
    display: none;
  }

  .modal-overlay {
    align-items: flex-start;
  }

  .modal {
    max-height: 85vh;
    margin-top: 20px;
  }
}

/* ═══════════ PRINT STYLES ═══════════ */
@media print {
  .navbar,
  .cart-sidebar,
  .cart-overlay,
  .modal-overlay,
  .toast-container,
  .hero-scroll,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: 20px;
  }

  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ═══════════ ACCESSIBILITY ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .confetti-piece,
  .hero-bg::before,
  .hero-bg::after {
    animation: none !important;
  }
}

/* Focus visible para accesibilidad */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Skip link para accesibilidad */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.3s;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

/* ═══════════ LOADING STATES ═══════════ */
.loading-skeleton {
  background: linear-gradient(90deg, var(--gray-bg) 25%, var(--gray-lighter) 50%, var(--gray-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--accent);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}

.spinner-sm {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

.spinner-lg {
  width: 56px;
  height: 56px;
  border-width: 5px;
}

/* ═══════════ ORDER PAGE STYLES ═══════════ */

/* Layout principal de pedidos */
.order-page {
    min-height: 100vh;
    padding-top: var(--navbar-height);
    background: var(--bg);
}

.breadcrumb {
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--accent);
    margin-bottom: 0;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
}

.breadcrumb-link:hover {
    transform: translateX(-4px);
    background: var(--accent);
    color: var(--primary-dark);
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    min-height: calc(100vh - var(--navbar-height) - 60px);
}

/* Sidebar del pedido */
.order-sidebar {
    position: sticky;
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    background: var(--white);
    border-left: 1px solid var(--accent);
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.order-sidebar-header {
    padding: 28px 24px;
    border-bottom: 1px solid var(--accent);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.order-sidebar-header h2 {
    font-size: 22px;
    margin-bottom: 6px;
    font-weight: 700;
}

.order-count {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
}

.order-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    background: var(--bg);
}

.order-sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--accent);
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(196, 69, 105, 0.1);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
}

.order-total span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
}

.order-total-amount {
    font-size: 28px;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
}

.btn-block {
    width: 100%;
}

/* Contenido del pedido */
.order-content {
    background: var(--bg);
    min-height: 100%;
}

.order-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 48px 24px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.order-header::before {
    content: '🍓';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    top: -20px;
    right: 40px;
    animation: float 6s ease-in-out infinite;
}

.order-header::after {
    content: '🍰';
    position: absolute;
    font-size: 80px;
    opacity: 0.08;
    bottom: 20px;
    left: 40px;
    animation: float 8s ease-in-out infinite reverse;
}

.order-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.order-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Sección de categorías */
.categories-section {
    margin-bottom: 40px;
    padding: 32px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--accent);
}

.categories-section .section-header {
    margin-bottom: 24px;
}

/* Sección de productos */
.products-section {
    padding: 0 24px 80px;
}

.products-section .container {
    max-width: 100%;
}

/* Loading state */
.loading-state {
    text-align: center;
    padding: 100px 20px;
    color: var(--gray);
}

.loading-state .spinner {
    margin: 0 auto 24px;
}

.loading-state p {
    font-size: 15px;
    font-weight: 500;
}

/* Radio options para hielo y leche */
.ice-options,
.milk-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.radio-option:hover {
    border-color: var(--primary-light);
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.radio-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

/* Items del pedido en sidebar */
.order-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.order-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.order-item-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.order-item-size {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.order-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

.order-item-details {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.5;
}

.order-item-toppings {
    font-size: 12px;
    color: var(--primary-dark);
    font-weight: 500;
}

.order-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--accent);
}

.order-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-item-qty .qty-btn {
    width: 28px;
    height: 28px;
    border: 2px solid var(--accent);
    background: var(--white);
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.order-item-qty .qty-btn:hover {
    border-color: var(--primary);
    background: var(--accent-light);
}

.order-item-qty .qty-value {
    font-size: 14px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    color: var(--dark);
}

.order-item-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--danger-light);
    color: var(--danger);
    border-radius: var(--radius-xs);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.order-item-remove:hover {
    background: var(--danger);
    color: var(--white);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .order-container {
        grid-template-columns: 1fr;
    }
    
    .order-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        max-height: 50vh;
        border-left: none;
        border-top: 1px solid var(--accent);
        box-shadow: 0 -8px 32px rgba(196, 69, 105, 0.2);
        z-index: 999;
    }
    
    .order-sidebar-body {
        max-height: 250px;
    }
    
    .order-content {
        padding-bottom: 280px;
    }
}

@media (max-width: 768px) {
    .order-header {
        padding: 36px 16px;
    }
    
    .order-header::before {
        font-size: 80px;
        right: 20px;
    }
    
    .order-header::after {
        font-size: 60px;
        left: 20px;
    }
    
    .categories-section {
        padding: 24px 16px 16px;
    }
    
    .products-section {
        padding: 0 16px 80px;
    }
    
    .order-sidebar {
        max-height: 45vh;
    }
    
    .ice-options,
    .milk-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-sidebar-header {
        padding: 20px 16px;
    }
    
    .order-sidebar-footer {
        padding: 16px;
    }
    
    .order-total-amount {
        font-size: 24px;
    }
}
/* --- Estilos para la Sección del Mapa --- */
#ubicacion {
    padding: 60px 0;
    background-color: #fff; /* O el color de fondo de tu web */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    background: #ffe6ea; /* Un rosa suave como tu logo */
    color: #ff4d6d;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.section-title {
    margin-top: 15px;
    font-size: 2rem;
    color: #333;
}

.map-container {
    width: 100%;
    max-width: 1000px; /* Para que no sea infinitamente ancho en pantallas grandes */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra suave como tus tarjetas de arriba */
    border: 5px solid #fff; /* Marco blanco elegante */
}

.map-container iframe {
    display: block;
    filter: grayscale(0.2); /* Un toque sutil para que no desentone con el diseño pastel */
    transition: filter 0.3s ease;
}

.map-container iframe:hover {
    filter: grayscale(0); /* Al pasar el mouse recupera todo el color */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .map-container {
        border-radius: 0; /* En móvil aprovecha mejor el espacio sin bordes */
        height: 350px;
    }
}
    @font-face {
            font-family: 'Bitcheese';
            src: url('fonts/Bitcheese-Regular.woff2') format('woff2'),
                 url('fonts/Bitcheese-Regular.woff') format('woff'),
                 url('fonts/Bitcheese-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Arista Pro Light';
            src: url('fonts/AristaProAlternateLight-Regular.woff2') format('woff2'),
                 url('fonts/AristaProAlternateLight-Regular.woff') format('woff'),
                 url('fonts/AristaProAlternateLight-Regular.ttf') format('truetype');
            font-weight: 300;
            font-style: normal;
            font-display: swap;
        }
        
/* 1. Contenedor principal: ocupa toda la pantalla */
.hero {
    position: relative;
    min-height: 100vh; /* Ocupa el alto total de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 2. Estilos para la imagen de fondo */
.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que la imagen cubra todo sin deformarse */
    z-index: -2; /* La manda al fondo de todo */
}

/* 3. Capa de transparencia (Overlay) para que el texto resalte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Capa blanca semi-transparente */
    z-index: -1; /* Entre la imagen y el texto */
}

/* 4. Aseguramos que el contenido esté por encima */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}
/* --- SECCIÓN NOSOTROS --- */
.features {
    padding: 100px 20px;
    background-color: #fffafb; /* Un rosa muy sutil de fondo */
    text-align: center;
}

.section-badge {
    background: #ffe4e9;
    color: #ff4d6d;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: #2b2d42;
    margin-top: 15px;
    font-weight: 800;
}

/* --- GRID DE TARJETAS --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

/* --- ESTILO DE LA TARJETA (CARD) --- */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px; /* Bordes muy redondeados para estilo moderno */
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.05); /* Sombra rosada muy tenue */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Efecto al pasar el mouse */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 77, 109, 0.12);
    border-color: #ff4d6d;
}

/* --- ICONOS --- */
.feature-icon {
    font-size: 3rem;
    background: #fff0f3;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* --- TEXTOS --- */
.feature-card h3 {
    color: #2b2d42;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}
/* 1. Limitar el tamaño del carrusel para que no sea infinito */
.product-swiper {
    max-width: 600px;   /* Opcional: centro el carrusel más angosto */
    margin: 0 auto;
    padding: 20px 10px 60px !important;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    width: 100%;
    max-width: 100%;    /* Cambiado de 350px a 100% para que ocupe todo el ancho del slide */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.redesigned-contact-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    text-align: left; 
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    letter-spacing: -0.3px;
}

.contact-card p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-card .btn {
    margin-top: 0.75rem;
}


@media (max-width: 768px) {
    .contact-card {
        text-align: center;
    }
    .contact-card h3 {
        text-align: center;
    }
}
.redesigned-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.contact-card {
    text-align: left;
}

@media (max-width: 768px) {
    .contact-card {
        text-align: center;
    }
}
/* Ocultar el menú por defecto en móviles */
.menu-navegacion {
  display: none;
}

/* Cuando el checkbox esté seleccionado, muestra el menú */
#menu-toggle:checked ~ .menu-navegacion {
  display: block;
}

/* Ocultar el checkbox visualmente */
#menu-toggle {
  display: none;
}
/* Media query para pantallas móviles (ajusta los 768px si es necesario) */
@media (max-width: 768px) {
  /* Reemplaza '.tu-menu-navegacion' por la clase real de tu lista de enlaces */
  .tu-menu-navegacion {
    display: none; 
    position: absolute;
    top: 60px; /* Ajusta según la altura de tu navbar */
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
  }

  /* Esta clase es la que "arregla" y abre el menú */
  .tu-menu-navegacion.is-open {
    display: flex;
  }
}
/* Estilos para el menú en dispositivos móviles */
@media (max-width: 768px) {
  .mobile-menu {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: 70px; /* Ajusta esto según la altura de tu barra de navegación */
    left: 0;
    width: 100%;
    background-color: #ffffff; /* Cambia al color de tu web */
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  /* Esta es la clase que activa tu JavaScript (.classList.toggle('active')) */
  .mobile-menu.active {
    display: flex; /* Se muestra al hacer clic */
  }
}
   
        html { 
            scroll-behavior: smooth !important; 
        }
        
        
        .navbar-logo { 
            display: inline-block; 
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
        }
        .navbar-brand:hover .navbar-logo { 
            transform: rotate(15deg) scale(1.2); 
        }
        
        
        .hero-badge {
            animation: float-badge 3s ease-in-out infinite;
            display: inline-block;
        }

        
        .btn-primary {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease !important;
            z-index: 1;
        }
        .btn-primary::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(45deg) translateY(-100%);
            transition: all 0.5s ease;
            z-index: -1;
        }
        .btn-primary:hover::after {
            transform: rotate(45deg) translateY(100%);
        }
        .btn-primary:hover {
            box-shadow: 0 8px 20px rgba(255, 107, 157, 0.5) !important;
            transform: translateY(-3px) scale(1.02) !important;
        }

        
        .feature-card {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        }
        .feature-card:hover {
            transform: translateY(-10px) !important;
            box-shadow: 0 15px 30px rgba(255, 107, 157, 0.15) !important;
            border-color: #ff6b9d;
        }
        .feature-card .feature-icon {
            display: inline-block;
            transition: transform 0.3s ease;
        }
        .feature-card:hover .feature-icon {
            transform: scale(1.25) rotate(-10deg);
        }

        
        .contact-card {
            transition: all 0.3s ease !important;
            border: 2px solid transparent;
        }
        .contact-card:hover {
            border-color: rgba(255, 107, 157, 0.3);
            transform: scale(1.03) !important;
            box-shadow: 0 10px 25px rgba(255, 107, 157, 0.1) !important;
        }
        .contact-icon {
            display: inline-block;
        }
        .contact-card:hover .contact-icon {
            animation: bounce-icon 1s infinite;
        }

        
        .animate-fade-up {
            animation: fadeUp 0.8s ease-out forwards;
        }

        
        @keyframes float-badge {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-6px); }
            100% { transform: translateY(0px); }
        }
        @keyframes bounce-icon {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px) scale(1.1); }
        }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
         .animated-card {
                        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) , 
                                    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
                        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
                        cursor: pointer;
                    }
                    .animated-card:hover {
                        transform: translateY(-10px) !important;
                        box-shadow: 0 15px 30px rgba(255, 107, 157, 0.2) !important;
                    }
                    .animated-card .product-img-real {
                        transition: transform 0.5s ease !important;
                    }
                    .animated-card:hover .product-img-real {
                        transform: scale(1.04) !important;
                    }
                    .animated-card .product-badge {
                        transition: transform 0.3s ease !important;
                    }
                    .animated-card:hover .product-badge {
                        transform: scale(1.05) rotate(-2deg) !important;
                    }
                    .navbar {
  position: fixed; /* Hace que se quede fija en la pantalla */
  top: 0;          /* La pega al borde superior */
  left: 0;         /* La pega al borde izquierdo */
  width: 100%;     /* Ocupa todo el ancho de la pantalla */
  z-index: 1000;   /* Asegura que pase por encima de las imágenes y textos */
}
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important; /* Un número muy alto para que no se oculte detrás de nada */
}
.mobile-menu {
  position: fixed !important;
  top: 60px; /* Ajusta esto a la altura exacta de tu navbar */
}
