/* ============ VARIABLES — Cherry Red Brand ============ */
:root {
  --red: #C8102E;
  --red-hover: #A50E26;
  --red-light: #FF4D6A;
  --red-glow: rgba(200, 16, 46, 0.2);
  --red-soft: rgba(200, 16, 46, 0.08);
  --cream: #FFF5F5;
  --cream-2: #FFF0EE;
  --white: #FFFFFF;
  --dark: #1A0A0A;
  --gray: #6B5B5B;
  --gray-light: #D4BFBF;
  --border: rgba(200, 16, 46, 0.15);
  --shadow-clay: 6px 6px 0px rgba(200, 16, 46, 0.15);
  --shadow-card: 0 8px 32px rgba(200, 16, 46, 0.1);
  --font-heading: 'Rubik', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 50px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-hover); }
img { max-width: 100%; display: block; }

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

.text-accent { color: var(--red); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 12px; left: 16px; right: 16px;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(200,16,46,0.12);
  border-radius: var(--radius);
  padding: 0 24px;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 32px rgba(200,16,46,0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-cherry { font-size: 1.5rem; }

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-logo .logo-img {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-accent { color: var(--red); }

.logo { min-width: 0; flex-shrink: 1; overflow: hidden; }
.logo-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--red); }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red-soft);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  color: var(--red);
}

.icon-btn:hover {
  background: var(--red);
  color: #fff;
}

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

.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 4px 4px 0px var(--red-hover);
}

.btn-primary:hover {
  background: var(--red-hover);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--red-hover);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--red);
  box-shadow: 4px 4px 0px rgba(255,255,255,0.3);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--red-hover);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(255,255,255,0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

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

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-carousel { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  max-width: 640px;
}

.slide-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 24px;
  box-shadow: 3px 3px 0px var(--red-hover);
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  line-height: 1.6;
}

.slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(200,16,46,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--red);
  box-shadow: 3px 3px 0px rgba(200,16,46,0.2);
}

.carousel-arrow:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow svg { width: 22px; height: 22px; }

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--red);
  width: 28px;
  border-radius: 5px;
}

/* Floating cherries */
.cherry-float {
  position: absolute;
  z-index: 3;
  font-size: 2rem;
  opacity: 0.7;
  pointer-events: none;
  animation: floatCherry 6s ease-in-out infinite;
}

.cherry-1 { top: 20%; right: 12%; animation-delay: 0s; font-size: 2.5rem; }
.cherry-2 { top: 60%; right: 8%; animation-delay: 2s; font-size: 1.8rem; }
.cherry-3 { top: 35%; right: 20%; animation-delay: 4s; font-size: 1.5rem; }

@keyframes floatCherry {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============ MARQUEE BAR ============ */
.marquee-bar {
  background: var(--red);
  overflow: hidden;
  padding: 12px 0;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: marqueeRoll 25s linear infinite;
  width: max-content;
}

.marquee-inner span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.marquee-inner .sep {
  font-size: 1rem;
  letter-spacing: 0;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }

.section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--dark);
}

.section-desc {
  text-align: center;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 52px;
  font-size: 1.05rem;
}

/* ============ CATEGORIES ============ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.category-card {
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-clay);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.cat-1 { background: linear-gradient(135deg, #FFE8EA, #FFCDD2); }
.cat-2 { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.cat-3 { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.cat-4 { background: linear-gradient(135deg, #FCE4EC, #EF9A9A); }

.category-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px rgba(200,16,46,0.2);
  border-color: var(--red);
}

.cat-icon {
  width: 60px; height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 3px 3px 0px rgba(200,16,46,0.15);
}

.cat-icon svg { width: 28px; height: 28px; color: var(--red); }

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.category-card span {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
}

/* ============ PRODUCTS CAROUSEL ============ */
.products-carousel-wrapper {
  position: relative;
  margin-top: 52px;
}

.products-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.prod-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--red);
  box-shadow: 3px 3px 0px var(--red-soft);
}

.prod-arrow:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.prod-arrow svg { width: 20px; height: 20px; }

.prod-prev { left: -24px; }
.prod-next { right: -24px; }

/* Product Card — Claymorphism */
.product-card {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid rgba(200,16,46,0.08);
  box-shadow: var(--shadow-clay);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  animation: cardFadeIn 380ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.product-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px rgba(200,16,46,0.18);
  border-color: var(--border);
}

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 2px 2px 0px var(--red-hover);
}

.product-badge.hot { background: #FF6B2B; }
.product-badge.sale { background: #7B1FA2; }

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}

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

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

.wishlist-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: #fff;
  border: 2px solid rgba(200,16,46,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  color: var(--red);
}

.product-card:hover .wishlist-btn {
  opacity: 1;
  transform: scale(1);
}

.wishlist-btn:hover { background: var(--red); color: #fff; }
.wishlist-btn svg { width: 16px; height: 16px; }

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.product-info .product-footer { margin-top: auto; padding-top: 10px; }

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 6px;
}

.product-brand {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #666;
  margin: 0 0 4px;
  opacity: 0.9;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
}

.product-stars svg {
  width: 14px; height: 14px;
  color: #FFB800;
  fill: #FFB800;
}

.product-stars span {
  font-size: 0.78rem;
  color: var(--gray);
  margin-left: 4px;
}

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

.product-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--red);
}

.add-cart-btn {
  width: 38px; height: 38px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 3px 3px 0px var(--red-hover);
}

.add-cart-btn:hover {
  background: var(--red-hover);
  transform: scale(1.1);
}

.add-cart-btn svg { width: 17px; height: 17px; }

/* ============ PROMO BANNER ============ */
.promo-banner {
  background: var(--red);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.promo-cherries {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  opacity: 0.15;
  font-size: 2rem;
  pointer-events: none;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.promo-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.promo-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.feature-card {
  background: var(--white);
  border: 2px solid rgba(200,16,46,0.1);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-clay);
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px rgba(200,16,46,0.15);
  border-color: var(--red);
}

.feature-icon {
  width: 64px; height: 64px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(200,16,46,0.15);
}

.feature-icon svg { width: 28px; height: 28px; color: var(--red); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ TESTIMONIALS MARQUEE ============ */
.testimonials-marquee {
  margin-top: 52px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testimScroll 28s linear infinite;
}

.testimonials-track:hover { animation-play-state: paused; }

@keyframes testimScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: #fff;
  border: 2px solid rgba(200,16,46,0.1);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.testi-stars {
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card strong {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 700;
}

/* ============ CONTACT ============ */
.contact-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-desc {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 580px;
}

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-items-row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.contact-items-row .contact-item-link,
.contact-items-row > .contact-item {
  flex: 1 1 240px;
  max-width: 280px;
  text-align: left;
}

.contact-item-link { text-decoration: none; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(200,16,46,0.1);
  transition: all var(--transition);
  cursor: pointer;
  background: var(--white);
}

.contact-item:hover {
  border-color: var(--red);
  background: var(--cream);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-clay);
}

.contact-item svg {
  width: 26px; height: 26px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
/* En brand-icon adentro de contact-item NO forzar color rojo: respetá la marca */
.contact-item svg.brand-icon { color: inherit; }

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--gray);
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray);
}

.form-group input {
  padding: 12px 16px;
  background: #fff;
  border: 2px solid rgba(200,16,46,0.15);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: #fff;
  border: 2px solid rgba(200,16,46,0.15);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition);
  resize: vertical;
}

.form-intro {
  font-size: 0.85rem;
  color: var(--gray);
  background: #fff8f8;
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  border-radius: 8px;
  margin: 0 0 4px;
  line-height: 1.4;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.footer-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

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

.footer-social a:hover {
  background: var(--red);
  color: #fff;
}

.footer-social svg { width: 18px; height: 18px; }

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--red-light); }

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  margin: 2px 0;
}
.footer-legal a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover {
  color: var(--red);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 4px 4px 0px rgba(37,211,102,0.3);
  transition: all var(--transition);
  animation: pulse-wa 2.5s ease infinite;
}

.whatsapp-float:hover {
  background: #20BA5A;
  color: #fff;
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============ BRAND ICONS (WhatsApp + Instagram) ============ */
.brand-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand-whatsapp { fill: #25D366; }
.brand-instagram { fill: url(#ig-gradient); }
/* En fondos de color (contact-item hover, botones rojos) el logo invierte a blanco */
.brand-icon.inherit { fill: currentColor; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .navbar { top: 8px; left: 8px; right: 8px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(200,16,46,0.12);
    border-radius: var(--radius);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    box-shadow: 4px 4px 0px rgba(200,16,46,0.1);
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }

  /* Navbar mobile: logo compacto sin quebrarse */
  .navbar-inner { height: 60px; }
  .logo-img { width: 30px; height: 30px; }
  .logo-text { font-size: .9rem; }
  .logo { gap: 8px; }
  .navbar-right { gap: 4px; }
  /* Oculto búsqueda en móvil (filtro ya existe en #productos) */
  .navbar-right .icon-btn[aria-label="Buscar"] { display: none; }
  .icon-btn { width: 38px; height: 38px; }

  .promo-inner { flex-direction: column; text-align: center; }
  .contact-items { gap: 12px; }
  .contact-items-row { flex-direction: column; gap: 12px; }
  .contact-items-row .contact-item-link,
  .contact-items-row > .contact-item { max-width: none; }
  /* Footer social más compacto en móvil */
  .footer-social { gap: 8px; }
  .footer-social a { width: 36px; height: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.8rem; }
  .prod-prev { left: -12px; }
  .prod-next { right: -12px; }
  .cherry-float { display: none; }
  .carousel-arrow { display: none; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .slide-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .cherry-float, .newsletter-deco { animation: none; }
  .marquee-inner, .testimonials-track { animation: none; }
  .whatsapp-float { animation: none; }
}

/* ============================================
   UTILIDADES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================
   BANNER DE PEDIDOS BAJO MODALIDAD
   ============================================ */
.preorder-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  margin: 24px 0 8px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.preorder-banner::before {
  content: '';
  position: absolute;
  top: -30px; right: -20px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.preorder-icon {
  font-size: 36px;
  flex-shrink: 0;
  z-index: 1;
}
.preorder-text {
  z-index: 1;
}
.preorder-text strong {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.preorder-text p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0;
}
.preorder-text b { font-weight: 800; }

.preorder-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  z-index: 1;
  min-width: 130px;
}
.next-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 2px;
}
.next-date {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.next-remaining {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.9;
}
.next-remaining.urgent {
  background: var(--white);
  color: var(--red);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width: 700px) {
  .preorder-banner {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 16px 20px;
  }
  .preorder-icon { font-size: 28px; }
  .preorder-text strong { font-size: 15px; }
  .preorder-text p { font-size: 13px; }
  .preorder-next {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 10px;
    padding: 8px 14px;
    min-width: auto;
  }
  .next-label { margin-bottom: 0; }
  .next-date { font-size: 16px; }
  .next-remaining { margin-top: 0; }
}

/* ============================================
   AVISO EN CHECKOUT MODAL
   ============================================ */
.checkout-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--cream);
  border-left: 4px solid var(--red);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.checkout-notice i {
  width: 22px; height: 22px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.checkout-notice strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 2px;
}
.checkout-notice p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.45;
}
.checkout-notice b { color: var(--red); font-weight: 700; }

/* ============================================
   CATÁLOGO DINÁMICO (Supabase)
   ============================================ */

/* Toolbar: buscar + ordenar */
.catalog-toolbar {
  display: flex;
  gap: 16px;
  margin: 32px 0 20px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-box i {
  position: absolute;
  left: 16px;
  width: 18px; height: 18px;
  color: var(--gray);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.sort-box {
  position: relative;
  min-width: 200px;
}
.sort-box select {
  width: 100%;
  padding: 12px 42px 12px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.sort-box select:focus {
  outline: none;
  border-color: var(--red);
}
.sort-box > i,
.sort-box > svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--red);
  pointer-events: none;
}

/* Filtros de categoría */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 20px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

/* Acciones del catálogo */
.catalog-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.catalog-count {
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
}

/* Botón descargar catálogo PDF — override sobre .btn-outline para fondo claro */
#downloadCatalogBtn {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
  box-shadow: 4px 4px 0px var(--red-hover);
  padding: 12px 24px;
  font-weight: 700;
  transition: all var(--transition);
}

#downloadCatalogBtn:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--red-hover);
}

#downloadCatalogBtn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--red-hover);
}

#downloadCatalogBtn:disabled {
  opacity: 0.7;
  cursor: wait;
}

#downloadCatalogBtn svg { width: 18px; height: 18px; }

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* Precios (nuevo + anterior tachado) */
.product-prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price-old {
  font-size: 13px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 500;
}

/* Skeleton loading */
.products-loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.skeleton-card {
  height: 380px;
  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    var(--cream-2) 50%,
    var(--cream) 100%
  );
  background-size: 200% 100%;
  border-radius: var(--radius);
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Load more */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Botón "Cargar más" — mismo estilo que descargar catálogo */
#loadMoreBtn {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
  box-shadow: 4px 4px 0px var(--red-hover);
  padding: 12px 24px;
  font-weight: 700;
  transition: all var(--transition);
}

#loadMoreBtn:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--red-hover);
}

#loadMoreBtn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--red-hover);
}

#loadMoreBtn svg { width: 18px; height: 18px; }

/* Estado vacío / error */
.products-empty,
.products-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}

.products-empty i,
.products-error i {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 12px;
  opacity: 0.6;
}

.products-empty p,
.products-error p {
  font-size: 16px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .products-grid,
  .products-loading {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-info { padding: 14px; }
  .product-name { font-size: .92rem; }
  .product-price { font-size: 1.02rem; }
  .skeleton-card { height: 280px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
  .catalog-toolbar { gap: 10px; }
  .sort-box { min-width: 100%; }
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-badge {
  transition: transform 0.2s ease;
}
.cart-badge.visible {
  background: var(--red);
  color: var(--white);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 998;
}
.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 95vw;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cherry-small { font-size: 18px; }

.cart-close {
  border: none;
  background: var(--cream);
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.cart-close:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(90deg);
}

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

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.cart-empty i {
  width: 56px; height: 56px;
  color: var(--red);
  opacity: 0.5;
  margin-bottom: 16px;
}
.cart-empty p {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.cart-empty span { font-size: 13px; }

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.cart-item-img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-item-info {
  min-width: 0;
}
.cart-item-info h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--red-hover); }
.qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
}
.cart-remove-btn {
  border: none;
  background: transparent;
  color: var(--gray);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.cart-remove-btn:hover {
  color: var(--red);
  background: var(--red-soft);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.cart-total { color: var(--red); font-size: 22px; }

@media (max-width: 500px) {
  .cart-drawer { width: 100%; max-width: 100%; }
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */
.product-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1000;
}
.product-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.95);
  width: 880px;
  max-width: 95vw;
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: var(--cream);
  color: var(--red);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all var(--transition);
}
.product-modal-close:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(90deg);
}

.product-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow-y: auto;
}

.pm-gallery {
  background: var(--cream);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 0;
  align-self: start;
}

.pm-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  position: relative;
}
.pm-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.pm-main-img.zoomed img {
  transform: scale(1.8);
  cursor: zoom-out;
}

.pm-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--white);
  padding: 0;
  transition: all var(--transition);
}
.pm-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.pm-thumb:hover { border-color: var(--red-soft); }
.pm-thumb.active { border-color: var(--red); }

.pm-content {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  font-weight: 700;
  margin: 0;
}
.pm-brand {
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  margin: 0;
}
.pm-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin: 0;
}

.pm-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.pm-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
}
.pm-price-old {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 600;
}

.pm-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--red);
  color: #fff;
  align-self: flex-start;
}
.pm-badge.hot { background: #ff6b35; }
.pm-badge.sale { background: #2ecc71; }

.pm-desc-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 6px;
}
.pm-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
  white-space: pre-wrap;
}
.pm-desc-empty {
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
}

.pm-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pm-actions .btn { flex: 1; min-width: 160px; justify-content: center; }

@media (max-width: 760px) {
  .product-modal-inner {
    grid-template-columns: 1fr;
  }
  .pm-gallery {
    position: static;
    padding: 16px;
  }
  .pm-content {
    padding: 20px 20px 24px;
  }
  .pm-name { font-size: 20px; }
  .pm-price { font-size: 24px; }
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1000;
}
.checkout-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.95);
  width: 560px;
  max-width: 95vw;
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.checkout-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: var(--cream);
  color: var(--red);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition);
}
.checkout-close:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(90deg);
}

.checkout-inner {
  padding: 28px 28px 20px;
  overflow-y: auto;
}

.checkout-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.checkout-summary {
  background: var(--cream);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.checkout-summary h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 12px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.checkout-item:last-of-type { border-bottom: none; }
.checkout-item img {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 8px;
}
.checkout-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.checkout-item-info strong {
  font-size: 14px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-item-info span {
  font-size: 12px;
  color: var(--gray);
}
.checkout-item-subtotal {
  font-weight: 700;
  color: var(--red);
  font-size: 14px;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
  font-family: var(--font-heading);
  font-size: 18px;
}
.checkout-total strong { color: var(--red); font-size: 22px; }

.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-form .form-group { margin-bottom: 14px; }
.checkout-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.checkout-payments {
  margin-top: 8px;
}
.payments-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 10px;
}

.payment-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  margin-bottom: 10px;
  position: relative;
}
.payment-btn:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--cream);
  transform: translateY(-2px);
}
.payment-btn > i {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.payment-btn > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.payment-btn strong {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--dark);
}
.payment-btn span {
  font-size: 12px;
  color: var(--gray);
}
.payment-whatsapp > i { color: #25D366; }
.payment-whatsapp > svg.brand-whatsapp { fill: #25D366; }

@media (max-width: 520px) {
  .checkout-inner { padding: 22px 18px 16px; }
  .checkout-form .form-row { grid-template-columns: 1fr; }
  .checkout-title { font-size: 20px; }
}

/* Spinner para botón de descarga PDF */
.spin { animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
