/* ===== Variables & Reset ===== */
:root {
  --rojo: #D62828;
  --rojo-oscuro: #A4161A;
  --blanco: #FFFFFF;
  --gris-claro: #F5F5F5;
  --negro: #333333;
  --gris-medio: #888888;
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.1);
  --sombra-hover: 0 8px 30px rgba(214, 40, 40, 0.2);
  --transicion: all 0.3s ease;
  --radio: 12px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  --header-offset-top: 0px;
  z-index: 1000;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding-top 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
  overflow: visible;
  box-sizing: border-box;
  contain: layout style;
}

.header__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo-oscuro), var(--rojo), #ff6b6b, var(--rojo));
  background-size: 200% 100%;
}

.header--solid .header__accent {
  animation: headerAccent 6s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
  .header--solid .header__accent {
    animation: none;
  }
}

@keyframes headerAccent {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header--solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header--overlay:not(.header--solid) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  --header-offset-top: 28px;
  padding-top: var(--header-offset-top);
  height: calc(var(--header-h) + var(--header-offset-top));
}

.header--overlay:not(.header--solid) .header__accent {
  opacity: 0;
  visibility: hidden;
}

.header--overlay.header--solid .header__accent {
  opacity: 1;
  visibility: visible;
}

.header--overlay.header--solid {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --header-offset-top: 0px;
  padding-top: 0;
  height: var(--header-h);
}

.header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header--overlay:not(.header--solid).scrolled {
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
  transition:
    margin 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo__img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(214, 40, 40, 0.15);
  transition:
    height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s ease,
    border-radius 0.45s ease;
  transform-origin: left bottom;
}

/* Logo grande al inicio (solo home con hero) */
.header--overlay:not(.header--solid) .logo {
  align-self: flex-start;
  margin-top: 0;
  margin-bottom: -52px;
}

.header--overlay:not(.header--solid) .logo__img {
  height: clamp(100px, 14vw, 140px);
  border-radius: 16px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.48),
    0 0 0 3px rgba(255, 255, 255, 0.18);
}

.header--overlay.header--solid .logo {
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
  align-items: center;
}

.header--overlay.header--solid .logo__img {
  height: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(214, 40, 40, 0.15);
}

.header--solid .logo:hover .logo__img,
.header--overlay.header--solid .logo:hover .logo__img {
  transform: scale(1.04);
}

.header--overlay:not(.header--solid) .logo:hover .logo__img {
  transform: translateY(-2px) scale(1.02);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.04);
}

.header--overlay:not(.header--solid) .nav__links {
  background: transparent;
  padding: 0;
  gap: 2px;
}

.nav__link {
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transicion);
  position: relative;
  padding: 8px 14px;
  border-radius: 50px;
  color: var(--negro);
}

.header--overlay:not(.header--solid) .nav__link {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.nav__link::after {
  display: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--rojo);
  background: rgba(214, 40, 40, 0.1);
}

.header--overlay:not(.header--solid) .nav__link:hover {
  color: var(--blanco);
  background: rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.header--overlay:not(.header--solid) .nav__link.active {
  color: var(--blanco);
  background: rgba(214, 40, 40, 0.88);
  text-shadow: none;
  box-shadow: 0 4px 14px rgba(166, 22, 26, 0.35);
}

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

.nav__cta {
  box-shadow: 0 4px 16px rgba(214, 40, 40, 0.35);
  white-space: nowrap;
}

.nav__cart {
  position: relative;
  background: var(--gris-claro);
  padding: 10px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transicion);
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.header--overlay:not(.header--solid) .nav__cart {
  background: rgba(0, 0, 0, 0.28);
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav__cart:hover {
  background: var(--rojo);
  color: var(--blanco);
  border-color: var(--rojo);
  transform: translateY(-1px);
}

.nav__cart-count {
  background: var(--rojo);
  color: var(--blanco);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__cart:hover .nav__cart-count {
  background: var(--blanco);
  color: var(--rojo);
}

.header-cart {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  margin-right: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--gris-claro);
  color: var(--negro);
  cursor: pointer;
  transition: var(--transicion);
  flex-shrink: 0;
}

.header-cart__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--rojo);
  color: var(--blanco);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blanco);
  box-shadow: 0 2px 8px rgba(214, 40, 40, 0.35);
}

.header-cart--active {
  background: rgba(214, 40, 40, 0.1);
  border-color: rgba(214, 40, 40, 0.25);
  color: var(--rojo);
}

.header--overlay:not(.header--solid) .header-cart {
  background: rgba(0, 0, 0, 0.28);
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.22);
}

.header--overlay:not(.header--solid) .header-cart--active {
  background: rgba(214, 40, 40, 0.85);
  border-color: var(--rojo);
  color: var(--blanco);
}

.header--overlay:not(.header--solid) .header-cart__badge {
  border-color: rgba(255, 255, 255, 0.95);
}

.menu-toggle__cart-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rojo);
  border: 2px solid var(--blanco);
  box-shadow: 0 0 0 1px rgba(214, 40, 40, 0.35);
  pointer-events: none;
}

.cart-mobile-bar {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  z-index: 1003;
  position: relative;
}

.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--negro);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.header--overlay:not(.header--solid) .menu-toggle {
  background: rgba(255, 255, 255, 0.15);
}

.header--overlay:not(.header--solid) .menu-toggle span {
  background: var(--blanco);
}

.header--overlay:not(.header--solid) .menu-toggle.open span {
  background: var(--negro);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
  text-align: center;
}

.btn--primary {
  background: var(--rojo);
  color: var(--blanco);
}

.btn--primary:hover {
  background: var(--rojo-oscuro);
  transform: translateY(-2px);
  box-shadow: var(--sombra-hover);
}

.btn--outline {
  background: transparent;
  color: var(--rojo);
  border: 2px solid var(--rojo);
}

.btn--outline:hover {
  background: var(--rojo);
  color: var(--blanco);
}

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

.btn--lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== Hero Slider ===== */
.hero-slider {
  margin-top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background: var(--rojo-oscuro);
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05) translateZ(0);
  transition: transform 8s ease;
  will-change: transform;
}

.hero-slide--active .hero-slide__bg {
  transform: scale(1) translateZ(0);
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .hero-slide__bg {
    transform: scale(1) translateZ(0);
    transition: none;
    will-change: auto;
  }
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(166, 22, 26, 0.72) 38%,
    rgba(214, 40, 40, 0.45) 62%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  color: var(--blanco);
  max-width: 680px;
  padding: calc(var(--header-h) + 48px) 0 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
}

.hero-slide--enter .hero-slide__content > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-slide--enter .hero__badge { animation-delay: 0.05s; }
.hero-slide--enter .hero__title { animation-delay: 0.12s; }
.hero-slide--enter .hero__subtitle { animation-delay: 0.2s; }
.hero-slide--enter .hero-slide__cta { animation-delay: 0.28s; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  opacity: 0.92;
  margin-bottom: 34px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--blanco);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--transicion);
}

.hero-slider__arrow:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: translateY(-50%) scale(1.05);
}

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

.hero-slide__content .container,
.hero-slide__content {
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .hero-slide__content {
    padding-left: 8px;
    padding-right: 72px;
  }
}

.hero-slider__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: var(--transicion);
}

.hero-slider__dot.active {
  background: var(--blanco);
  width: 28px;
  border-radius: 50px;
}

.hero-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rojo), #ff8a8a);
  z-index: 11;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gris-claro);
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__tag {
  color: var(--rojo);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
}

.section__desc {
  color: var(--gris-medio);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__image {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-cards {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.about-card {
  background: var(--gris-claro);
  padding: 20px 24px;
  border-radius: var(--radio);
  border-left: 4px solid var(--rojo);
}

.about-card h4 {
  color: var(--rojo);
  margin-bottom: 8px;
}

/* ===== Benefits ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--blanco);
  padding: 35px 25px;
  border-radius: var(--radio);
  text-align: center;
  box-shadow: var(--sombra);
  transition: var(--transicion);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

/* ===== Icons ===== */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-host {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.icon--block {
  display: block;
}

.icon--benefit {
  color: var(--blanco);
}

.icon-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-line__icon {
  color: var(--rojo);
  margin-top: 2px;
}

.footer .contact-line__icon {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-line .contact-line {
  margin-bottom: 10px;
}

.benefit-card__icon .icon {
  color: var(--blanco);
}

.about-card h4 .icon {
  color: var(--rojo);
}

.location-info h3 .icon {
  color: var(--rojo);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__badge .icon {
  color: var(--blanco);
}

.location-info h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-panel__send .icon,
.chatbot-panel__close .icon {
  margin: 0;
}

.float-actions .icon {
  color: var(--blanco);
}

.footer__social .icon {
  color: var(--blanco);
}

.icon--muted {
  color: var(--gris-medio);
}

.search-box__icon .icon {
  color: var(--gris-medio);
}

.nav__cart .icon {
  width: 20px;
  height: 20px;
}

.benefit-card__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}


.benefit-card h3 {
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--gris-medio);
  font-size: 0.95rem;
}

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

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

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

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

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rojo);
  color: var(--blanco);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card__badge--out {
  background: var(--gris-medio);
}

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  color: var(--rojo);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 8px 0;
}

.product-card__desc {
  color: var(--gris-medio);
  font-size: 0.875rem;
  margin-bottom: 15px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rojo);
}

.product-card__unit {
  font-size: 0.8rem;
  color: var(--gris-medio);
  font-weight: 400;
}

.product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ===== Catalog (minimal) — overrides after .page-header base */
.page-header.page-header--catalog {
  background: var(--blanco);
  color: var(--negro);
  padding: 44px 0 36px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-header.page-header--catalog h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  color: var(--negro);
  line-height: 1.15;
}

.page-header.page-header--catalog p {
  color: #444;
  opacity: 1;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 540px;
}

.section--catalog {
  background: #fafafa;
  padding: 36px 0 80px;
}

/* ===== Catalog category showcase ===== */
.catalog-categories-view {
  margin-bottom: 8px;
}

.catalog-categories__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.catalog-categories__heading {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.catalog-categories-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.catalog-categories {
  display: flex;
  min-height: min(68vh, 520px);
  width: max-content;
  min-width: 100%;
}

.catalog-category-card {
  position: relative;
  flex: 1 1 0;
  min-width: clamp(210px, 22vw, 300px);
  scroll-snap-align: start;
  background: var(--cat-color, #1a1a1a);
  color: var(--blanco);
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.catalog-category-card:hover {
  z-index: 1;
}

.catalog-category-card:focus-visible {
  outline: 3px solid var(--rojo);
  outline-offset: -3px;
  z-index: 2;
}

.catalog-category-card__media {
  position: absolute;
  inset: 0;
}

.catalog-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.catalog-category-card:hover .catalog-category-card__media img,
.catalog-category-card:focus-visible .catalog-category-card__media img {
  transform: scale(1.06);
}

.catalog-category-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    var(--cat-grad-a, rgba(10, 10, 10, 0.42)) 0%,
    var(--cat-grad-b, rgba(166, 22, 26, 0.38)) 38%,
    var(--cat-grad-c, rgba(214, 40, 40, 0.24)) 62%,
    rgba(0, 0, 0, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.catalog-category-card:hover .catalog-category-card__overlay,
.catalog-category-card:focus-visible .catalog-category-card__overlay {
  opacity: 1;
}

.catalog-category-card__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 24px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
  transition: background 0.45s ease;
}

.catalog-category-card:hover .catalog-category-card__footer,
.catalog-category-card:focus-visible .catalog-category-card__footer {
  background: transparent;
}

.catalog-category-card__name {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.catalog-category-card__meta {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .catalog-category-card__media img {
    transition: none;
  }

  .catalog-category-card:hover .catalog-category-card__media img,
  .catalog-category-card:focus-visible .catalog-category-card__media img {
    transform: none;
  }
}

.catalog-products-view {
  animation: catalogFadeIn 0.35s ease;
}

.catalog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 8px 0;
  background: none;
  border: none;
  color: var(--rojo);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.catalog-back:hover {
  opacity: 0.75;
}

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

.section--catalog .catalog-toolbar {
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--blanco);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.section--catalog .search-box input,
.section--catalog .filter-select {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
}

.section--catalog .search-box input:focus,
.section--catalog .filter-select:focus {
  background: var(--blanco);
}

.section--catalog .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 36px 24px;
}

.product-card--minimal {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
  outline: none;
}

.product-card--minimal:hover {
  transform: none;
}

.product-card--minimal:focus-visible {
  outline: 2px solid var(--rojo);
  outline-offset: 4px;
  border-radius: 12px;
}

.product-card--minimal .product-card__image {
  position: relative;
  height: auto;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
}

.product-card--minimal .product-card__image img {
  object-fit: cover;
}

.product-card--minimal:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card--minimal .product-card__image--out img {
  opacity: 0.55;
  filter: grayscale(0.4);
}

.product-card--minimal .product-card__status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  color: var(--negro);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card--minimal .product-card__body {
  padding: 16px 4px 0;
}

.product-card--minimal .product-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--negro);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--minimal .product-card__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rojo);
  margin: 0;
}

.product-card--minimal .product-card__unit {
  font-size: 0.9rem;
  color: var(--gris-medio);
  font-weight: 500;
}

/* ===== Featured products (home) ===== */
.section--featured {
  position: relative;
  background: linear-gradient(165deg, #fff6f6 0%, #ffffff 50%, #f8f8f8 100%);
  overflow: hidden;
}

.section--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rojo-oscuro), var(--rojo), #ff7b7b);
}

.section--featured .section__header--left {
  text-align: left;
  margin-bottom: 28px;
  max-width: 560px;
}

.section--featured .section__header--left .section__desc {
  margin-left: 0;
  margin-right: 0;
}

.featured-showcase {
  background: var(--blanco);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(214, 40, 40, 0.1);
  box-shadow:
    0 4px 24px rgba(214, 40, 40, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.section--featured .section-cta {
  text-align: center;
  margin-top: 36px;
}

.product-card--featured {
  background: #fafafa;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(214, 40, 40, 0.1);
  border-color: rgba(214, 40, 40, 0.15);
}

.product-card--featured .product-card__image {
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.product-card--featured .product-card__featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--rojo);
  color: var(--blanco);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.35);
}

.product-card--featured .product-card__body {
  padding: 16px 6px 4px;
}

.product-card--featured .product-card__name {
  font-size: 1.05rem;
}

.product-card--featured .product-card__price {
  font-size: 1.1rem;
}

/* ===== Location / Map ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.location-map {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  min-height: 380px;
  background: var(--gris-claro);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.location-info {
  background: var(--blanco);
  padding: 32px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.location-info h3 {
  font-size: 1.25rem;
  color: var(--negro);
}

.location-info p {
  color: var(--gris-medio);
  line-height: 1.6;
}

.location-info__locales {
  margin-top: 4px;
}

.footer-locales {
  margin: 12px 0 4px;
}

.locale-chips__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rojo);
  margin-bottom: 10px;
}

.locale-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.locale-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(214, 40, 40, 0.1);
  border: 1.5px solid rgba(214, 40, 40, 0.28);
  color: var(--negro);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  cursor: default;
  user-select: none;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.locale-chip:hover,
.locale-chip:focus-visible {
  background: var(--rojo);
  border-color: var(--rojo);
  color: var(--blanco);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(214, 40, 40, 0.3);
  outline: none;
}

.footer-locales .locale-chips__label {
  color: rgba(255, 255, 255, 0.85);
}

.footer-locales .locale-chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--blanco);
}

.footer-locales .locale-chip:hover,
.footer-locales .locale-chip:focus-visible {
  background: var(--rojo);
  border-color: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 10px 24px rgba(214, 40, 40, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .locale-chip {
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .locale-chip:hover,
  .locale-chip:focus-visible {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-map,
  .location-map iframe {
    min-height: 300px;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--negro);
  color: var(--blanco);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  height: 96px;
  width: auto;
  max-width: 320px;
  display: block;
  margin-bottom: 16px;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.footer h4 {
  color: var(--rojo);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer p, .footer li {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
}

.footer__social a:hover {
  background: var(--rojo);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* ===== Float actions (Chatbot + WhatsApp) ===== */
.float-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 999;
}

.float-actions .whatsapp-float {
  position: static;
}

@media (prefers-reduced-motion: no-preference) {
  .float-actions .whatsapp-float {
    animation: pulse 2s infinite;
  }
}

.chatbot-float {
  width: 60px;
  height: 60px;
  background: var(--rojo);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--blanco);
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
  cursor: pointer;
  transition: var(--transicion);
}

.chatbot-float .icon {
  width: 32px;
  height: 32px;
  display: block;
}

.chatbot-float:hover,
.chatbot-float--active {
  transform: scale(1.08);
  background: var(--rojo-oscuro);
}

.chatbot-panel {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 140px));
  background: var(--blanco);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.chatbot-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--rojo);
  color: var(--blanco);
}

.chatbot-panel__header strong {
  display: block;
  font-size: 1rem;
}

.chatbot-panel__header span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.chatbot-panel__close {
  background: transparent;
  border: none;
  color: var(--blanco);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.chatbot-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f9fa;
  min-height: 220px;
}

.chatbot-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.chatbot-msg--bot {
  align-self: flex-start;
  background: var(--blanco);
  border: 1px solid var(--gris-claro);
  border-bottom-left-radius: 4px;
}

.chatbot-msg--bot a {
  color: var(--rojo);
  font-weight: 600;
}

.chatbot-msg--user {
  align-self: flex-end;
  background: var(--rojo);
  color: var(--blanco);
  border-bottom-right-radius: 4px;
}

.chatbot-panel__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 10px;
  background: #f8f9fa;
}

.chatbot-quick-btn {
  border: 1px solid var(--rojo);
  background: var(--blanco);
  color: var(--rojo);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transicion);
}

.chatbot-quick-btn:hover {
  background: var(--rojo);
  color: var(--blanco);
}

.chatbot-panel__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--gris-claro);
  background: var(--blanco);
}

.chatbot-panel__input {
  flex: 1;
  border: 2px solid var(--gris-claro);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
}

.chatbot-panel__input:focus {
  border-color: var(--rojo);
}

.chatbot-panel__send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--blanco);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.chatbot-panel__send:hover {
  background: var(--rojo-oscuro);
}

@media (max-width: 480px) {
  .float-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  body.has-cart-mobile-bar .float-actions {
    bottom: calc(74px + env(safe-area-inset-bottom));
  }

  body.has-cart-mobile-bar .toast--subtle {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .float-actions .whatsapp-float,
  .chatbot-float {
    width: 54px;
    height: 54px;
    font-size: 0;
  }

  .chatbot-float .icon {
    width: 28px;
    height: 28px;
  }

  .chatbot-panel {
    right: 16px;
    bottom: 86px;
  }
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--blanco);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transicion);
}

@media (prefers-reduced-motion: no-preference) {
  body > .whatsapp-float,
  .float-actions .whatsapp-float {
    animation: pulse 2s infinite;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ===== Catalog Filters ===== */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  align-items: center;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 2px solid var(--gris-claro);
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transicion);
}

.search-box input:focus {
  outline: none;
  border-color: var(--rojo);
}

.search-box__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gris-medio);
}

.filter-select {
  padding: 12px 20px;
  border: 2px solid var(--gris-claro);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--blanco);
  cursor: pointer;
  min-width: 180px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--rojo);
}

/* ===== Cart Page ===== */
.page-header {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--rojo-oscuro), var(--rojo));
  color: var(--blanco);
  padding: 40px 0;
  text-align: center;
}

.page-header--cart {
  padding: 48px 0;
}

.page-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-bottom: 16px;
}

.page-header__icon .icon {
  color: var(--blanco);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-header p {
  opacity: 0.9;
  font-size: 1rem;
}

.page-header.page-header--catalog p {
  opacity: 1;
  font-size: 1.125rem;
}

.cart-page {
  background: linear-gradient(180deg, #f8f9fa 0%, #eef0f2 100%);
  min-height: calc(100vh - var(--header-h) - 180px);
  padding-bottom: 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 32px;
  padding: 48px 0;
  align-items: start;
}

.cart-layout--empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 220px);
  padding: 32px 0 64px;
}

.cart-layout--empty .cart-main {
  width: 100%;
  max-width: 480px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border: none;
}

.cart-main {
  background: var(--blanco);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.cart-main__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gris-claro);
  color: var(--negro);
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 18px;
  background: var(--gris-claro);
  border-radius: 12px;
  margin-bottom: 12px;
  align-items: center;
  transition: var(--transicion);
  border: 1px solid transparent;
}

.cart-item:hover {
  border-color: rgba(214, 40, 40, 0.15);
  box-shadow: 0 2px 12px rgba(214, 40, 40, 0.08);
}

.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item__image {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item__price {
  color: var(--gris-medio);
  font-size: 0.9rem;
}

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

.qty-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--gris-claro);
  background: var(--blanco);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
}

.qty-btn:hover {
  border-color: var(--rojo);
  color: var(--rojo);
}

.cart-item__qty {
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  white-space: nowrap;
}

.cart-item__total {
  font-weight: 700;
  color: var(--rojo);
  min-width: 100px;
  text-align: right;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--gris-medio);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transicion);
  padding: 5px;
}

.cart-item__remove:hover {
  color: var(--rojo);
}

.cart-summary {
  background: var(--blanco);
  padding: 28px;
  border-radius: 16px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.cart-summary h3 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--rojo);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-summary__total {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rojo);
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.cart-empty {
  text-align: center;
  padding: 48px 36px;
  background: var(--blanco);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-empty__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 40, 40, 0.08), rgba(214, 40, 40, 0.16));
  border-radius: 50%;
}

.cart-empty__icon .icon--cart-empty {
  color: var(--rojo);
}

.cart-empty h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--negro);
}

.cart-empty__text {
  color: var(--gris-medio);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Cart Drawer (side panel) ===== */
body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--blanco);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.cart-drawer__title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--negro);
}

.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--negro);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transicion);
}

.cart-drawer__close:hover {
  background: var(--gris-claro);
}

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

.cart-drawer__footer {
  flex-shrink: 0;
  padding: 20px 24px 28px;
  border-top: 1px solid #eee;
  background: var(--blanco);
}

.cart-drawer__footer--hidden {
  display: none;
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: min(420px, calc(100dvh - 200px));
  padding: 20px 12px;
}

.cart-drawer__empty-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.cart-drawer__empty-icon .icon--drawer-empty {
  color: #b0b0b0;
}

.cart-drawer__empty-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--negro);
  margin-bottom: 10px;
}

.cart-drawer__empty-text {
  font-size: 0.9rem;
  color: var(--gris-medio);
  margin-bottom: 32px;
}

.cart-drawer__empty-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--negro);
  color: var(--blanco);
  border: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transicion);
}

.cart-drawer__cta:hover {
  background: var(--rojo);
  color: var(--blanco);
}

.cart-drawer__cta--checkout {
  background: var(--rojo);
  margin-bottom: 12px;
}

.cart-drawer__cta--checkout:hover {
  background: var(--rojo-oscuro);
}

.cart-drawer__link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--gris-medio);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
  text-align: center;
  transition: var(--transicion);
}

.cart-drawer__link:hover {
  color: var(--rojo);
}

.cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-drawer__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}

.cart-drawer__item:last-child {
  border-bottom: none;
}

.cart-drawer__item-image {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gris-claro);
}

.cart-drawer__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer__item-name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-drawer__item-price {
  font-size: 0.8rem;
  color: var(--gris-medio);
  margin-bottom: 10px;
}

.cart-drawer__item-price span {
  font-size: 0.75rem;
}

.cart-drawer__item-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 4px;
}

.cart-drawer__qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
}

.cart-drawer__qty-btn:hover {
  background: var(--gris-claro);
}

.cart-drawer__qty {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  white-space: nowrap;
}

.cart-drawer__item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-drawer__item-total {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--negro);
  white-space: nowrap;
}

.cart-drawer__remove {
  background: none;
  border: none;
  color: var(--gris-medio);
  cursor: pointer;
  padding: 4px;
  display: flex;
  transition: var(--transicion);
}

.cart-drawer__remove:hover {
  color: var(--rojo);
}

.cart-drawer__summary {
  margin-bottom: 16px;
}

.cart-drawer__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gris-medio);
  margin-bottom: 8px;
}

.cart-drawer__summary-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--negro);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  margin-bottom: 0;
}

/* ===== Checkout Form ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 40px 0 80px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--rojo);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gris-claro);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transicion);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rojo);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--rojo);
}

.form-error {
  color: var(--rojo);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkout-form {
  background: var(--blanco);
  padding: 30px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.checkout-form h2 {
  margin-bottom: 25px;
  color: var(--rojo);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal {
  background: var(--blanco);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s ease;
  position: relative;
}

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

.modal--product {
  max-width: 820px;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: min(90dvh, 900px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--negro);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.modal__product-media {
  background: #fff;
  aspect-ratio: 1;
  align-self: start;
  overflow: hidden;
  min-height: 0;
}

.modal__product-media .modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__product-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal__category {
  color: var(--rojo);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modal__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--negro);
  margin-bottom: 14px;
}

.modal__price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris-medio);
}

.modal__badge {
  display: inline-block;
  background: rgba(214, 40, 40, 0.1);
  color: var(--rojo);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.modal__badge--out {
  background: rgba(0, 0, 0, 0.06);
  color: var(--gris-medio);
}

.modal__desc {
  color: var(--gris-medio);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.modal__qty-row {
  width: 100%;
  margin-bottom: 20px;
}

.modal__qty-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 10px;
}

.modal__qty-unit {
  color: var(--gris-medio);
  font-weight: 600;
}

.modal__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 4px;
  background: #fafafa;
}

.modal__qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--blanco);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--negro);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: var(--transicion);
}

.modal__qty-btn:hover {
  background: var(--rojo);
  color: var(--blanco);
}

.modal__qty-input {
  width: 56px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--negro);
  -moz-appearance: textfield;
}

.modal__qty-input::-webkit-outer-spin-button,
.modal__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal__qty-input:focus {
  outline: none;
}

.modal__subtotal {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rojo);
}

.modal__add {
  margin-top: 8px;
  width: 100%;
  flex-shrink: 0;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--gris-claro);
}

.modal__body {
  padding: 25px;
}

.modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-start;
    padding: max(10px, env(safe-area-inset-top)) 10px max(16px, env(safe-area-inset-bottom));
  }

  .modal {
    max-height: none;
    margin: auto 0;
    border-radius: 16px;
  }

  .modal--product {
    max-height: calc(100dvh - 20px);
    max-width: 100%;
    overflow-y: auto;
  }

  .modal__product {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .modal__product-media {
    aspect-ratio: 4 / 3;
    max-height: min(34dvh, 220px);
    width: 100%;
  }

  .modal__product-info {
    padding: 18px 16px 24px;
  }

  .modal__title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .modal__price {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .modal__badge {
    margin-bottom: 12px;
  }

  .modal__desc {
    font-size: 0.9rem;
    margin-bottom: 14px;
    flex: none;
  }

  .modal__qty-row {
    margin-bottom: 14px;
  }

  .modal__add {
    margin-top: 4px;
    min-height: 48px;
  }

  .section--catalog .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .section--catalog .catalog-toolbar {
    padding: 14px;
  }

  .page-header.page-header--catalog {
    padding: 20px 0 16px;
  }

  .page-header.page-header--catalog h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .page-header.page-header--catalog p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .section--catalog {
    padding: 20px 0 72px;
  }

  .catalog-categories__intro {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    scroll-margin-top: calc(var(--header-h) + 8px);
  }

  .catalog-categories__heading {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
  }

  .catalog-categories__all {
    width: 100%;
    justify-content: center;
  }

  .catalog-categories-scroll {
    overflow: visible;
    scroll-snap-type: none;
    padding: 0 16px;
  }

  .catalog-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: auto;
    width: 100%;
    min-width: 0;
  }

  .catalog-category-card {
    min-width: 0;
    max-width: none;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .catalog-category-card__overlay {
    opacity: 0.5;
  }

  .catalog-category-card:active {
    transform: scale(0.98);
  }

  .catalog-category-card__footer {
    padding: 14px 12px 16px;
  }

  .catalog-category-card__name {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }

  .catalog-category-card__meta {
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 1;
  }

  .catalog-back {
    margin-bottom: 14px;
    font-size: 0.9rem;
  }

  .catalog-products-view {
    padding-top: 4px;
  }

  .section--catalog .products-grid {
    gap: 20px 12px;
  }

  .product-card--minimal .product-card__image {
    border-radius: 12px;
  }

  .product-card--minimal .product-card__body {
    padding: 10px 2px 0;
  }

  .product-card--minimal .product-card__name {
    font-size: 0.95rem;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }

  .product-card--minimal .product-card__price {
    font-size: 1rem;
  }

  .product-card--minimal .product-card__unit {
    font-size: 0.8rem;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .featured-showcase {
    padding: 16px;
    border-radius: 16px;
  }

  .product-card--featured {
    padding: 10px;
  }

  .product-card--featured .product-card__name {
    font-size: 0.95rem;
  }

  .product-card--featured .product-card__price {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section--catalog .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }

  .section--catalog {
    padding-bottom: 64px;
  }

  .page-header.page-header--catalog {
    padding: 16px 0 12px;
  }

  .page-header.page-header--catalog h1 {
    font-size: 1.35rem;
  }

  .catalog-categories-scroll {
    padding: 0 12px;
  }

  .catalog-categories {
    gap: 10px;
  }

  .catalog-category-card {
    aspect-ratio: 5 / 6;
    border-radius: 12px;
  }

  .catalog-category-card__name {
    font-size: 0.85rem;
  }

  .catalog-category-card__meta {
    font-size: 0.75rem;
  }

  .section--catalog .catalog-toolbar {
    padding: 12px;
    gap: 10px;
    margin-bottom: 20px;
  }

  .section--catalog .search-box input,
  .section--catalog .filter-select {
    font-size: 0.95rem;
    padding: 11px 16px 11px 42px;
  }

  .product-card--minimal .product-card__name {
    font-size: 1rem;
  }

  .product-card--minimal .product-card__price {
    font-size: 1.05rem;
  }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 100px;
  right: 25px;
  background: var(--negro);
  color: var(--blanco);
  padding: 14px 24px;
  border-radius: 8px;
  z-index: 3000;
  transform: translateX(120%);
  transition: transform 0.3s ease, opacity 0.25s ease;
  box-shadow: var(--sombra);
  font-size: 0.95rem;
}

.toast.show {
  transform: translateX(0);
}

.toast--subtle {
  bottom: 96px;
  right: 108px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--negro);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(10px);
  opacity: 0;
}

.toast--subtle.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  background: #28a745;
}

.toast--error {
  background: var(--rojo);
}

@media (max-width: 480px) {
  .toast--subtle {
    right: 16px;
    bottom: 86px;
  }
}

#nosotros,
.section--gray,
.section--featured,
#ubicacion,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
.loading {
  text-align: center;
  padding: 60px;
  color: var(--gris-medio);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gris-claro);
  border-top-color: var(--rojo);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 15px;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-revealing {
  will-change: opacity, transform;
}

.reveal--up { transform: translateY(36px); }
.reveal--down { transform: translateY(-20px); }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal--fade { transform: none; }
.reveal--scale { transform: scale(0.94); }

.reveal.is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal-disabled .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===== Animations (hero slider, loaders) ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout--empty {
    min-height: auto;
    padding: 32px 0 48px;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .header-cart {
    display: flex;
  }

  .cart-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      visibility 0.32s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .cart-mobile-bar--visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .cart-mobile-bar__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .cart-mobile-bar__count {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--negro);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .cart-mobile-bar__total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--rojo);
    line-height: 1.1;
  }

  .cart-mobile-bar__btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  body.has-cart-mobile-bar .float-actions {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  body.has-cart-mobile-bar .toast--subtle {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.cart-drawer-open .cart-mobile-bar {
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
  }

  .header--overlay:not(.header--solid) {
    --header-offset-top: 18px;
  }

  .header--overlay:not(.header--solid) .logo {
    margin-bottom: -30px;
  }

  .header--overlay:not(.header--solid) .logo__img {
    height: 82px;
    border-radius: 14px;
  }

  .nav {
    position: fixed;
    top: var(--menu-top, 72px);
    right: var(--menu-right, 16px);
    left: auto;
    width: min(320px, calc(100vw - 24px));
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    max-height: calc(100vh - var(--menu-top, 72px) - 16px);
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    transform: translate3d(0, -10px, 0) scale(0.94);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      visibility 0.38s ease;
  }

  .nav.open {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav.open .nav__link,
  .nav.open .nav__cta,
  .nav.open .nav__cart {
    animation: mobileNavItemIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav.open .nav__link:nth-child(1) { animation-delay: 0.12s; }
  .nav.open .nav__link:nth-child(2) { animation-delay: 0.16s; }
  .nav.open .nav__link:nth-child(3) { animation-delay: 0.2s; }
  .nav.open .nav__link:nth-child(4) { animation-delay: 0.24s; }
  .nav.open .nav__link:nth-child(5) { animation-delay: 0.28s; }
  .nav.open .nav__cta { animation-delay: 0.32s; }
  .nav.open .nav__cart { animation-delay: 0.36s; }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    padding: 0;
    gap: 6px;
  }

  .nav .nav__link {
    padding: 12px 16px;
    color: var(--negro) !important;
    background: #f3f3f3 !important;
    text-shadow: none !important;
    font-weight: 600;
  }

  .nav .nav__link:hover {
    background: #ebebeb !important;
    color: var(--rojo) !important;
  }

  .nav .nav__link.active {
    background: var(--rojo) !important;
    color: var(--blanco) !important;
    box-shadow: none !important;
  }

  .header--overlay:not(.header--solid) .nav .nav__link,
  .header--overlay:not(.header--solid) .nav .nav__link:hover,
  .header--overlay:not(.header--solid) .nav .nav__link.active {
    text-shadow: none !important;
  }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav .nav__cart {
    width: 100%;
    justify-content: center;
    color: var(--negro) !important;
    background: #f3f3f3 !important;
    border-color: transparent !important;
  }

  .header--overlay:not(.header--solid) .nav .nav__cart {
    color: var(--negro) !important;
    background: #f3f3f3 !important;
    border-color: transparent !important;
  }

  .hero-slider__arrow {
    top: auto;
    bottom: 30px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .hero-slider__arrow:hover {
    transform: scale(1.05);
  }

  .hero-slider__arrow--prev {
    left: 16px;
    right: auto;
  }

  .hero-slider__arrow--next {
    right: 16px;
    left: auto;
  }

  .hero-slider__dots {
    bottom: 38px;
    padding: 8px 14px;
  }

  .hero-slide__content {
    padding: calc(var(--header-h) + 32px) 20px 112px;
    min-height: 100vh;
    min-height: 100dvh;
  }

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

  .cart-item {
    flex-wrap: wrap;
  }

  .catalog-toolbar {
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-slide__content {
    padding: calc(var(--header-h) + 24px) 16px 108px;
  }

  .hero-slider__arrow {
    bottom: 26px;
    width: 36px;
    height: 36px;
  }

  .hero-slider__dots {
    bottom: 34px;
  }

  .section {
    padding: 50px 0;
  }

  .product-card__actions {
    flex-direction: column;
  }

  .product-card__actions .btn {
    width: 100%;
  }
}
