
/* =====================================================
   KCC CÓCTELES - ESTILOS PRINCIPALES
   Archivo: css/styles.css
   Diseño responsive: móvil, tablet y escritorio.
   ===================================================== */

/* ---------- 1. VARIABLES DE DISEÑO ---------- */
:root {
  --bg: #08080d;
  --bg-soft: #111119;
  --bg-card: #15151e;
  --pink: #ff007f;
  --pink-light: #ff3da5;
  --blue: #00d9ff;
  --green: #16b95d;
  --white: #ffffff;
  --muted: #b4b4c3;
  --border: rgba(255,255,255,.12);
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Oswald', sans-serif;
  --radius: 16px;
  --shadow-pink: 0 0 25px rgba(255,0,127,.22);
}

/* ---------- 2. REINICIO Y BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button, input {
  outline-color: var(--blue);
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.neon-text {
  color: var(--pink);
  text-shadow: 0 0 18px rgba(255,0,127,.35);
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* ---------- 3. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 800;
  transition: .25s ease;
}

.btn-primary {
  background: linear-gradient(110deg, var(--pink), #d900ff);
  color: white;
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(255,0,127,.45);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--white);
  background: rgba(0,217,255,.04);
}

.btn-outline:hover {
  background: var(--blue);
  color: #050509;
}

.btn-full {
  width: 100%;
}

/* ---------- 4. ENCABEZADO ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,13,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  flex-shrink: 0;
  line-height: 1;
  transform: skew(-8deg);
}

.logo-crown {
  color: var(--pink);
  font-size: 22px;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -2px;
}

.logo-sub {
  font-size: 12px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  color: var(--white);
  border-top: 2px solid var(--pink);
  padding-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: .82rem;
  font-weight: 700;
  color: #d6d6e0;
  transition: .2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pink);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid var(--blue);
  border-radius: 40px;
  background: transparent;
  color: white;
  font-size: .82rem;
  font-weight: 700;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--pink);
  font-size: .72rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 24px;
}

/* ---------- 5. PORTADA ---------- */
.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(0,100,255,.15), transparent 45%),
    radial-gradient(ellipse at 10% 80%, rgba(255,0,127,.15), transparent 45%),
    var(--bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8,8,13,.15), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
  min-height: 610px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 8vw, 7.8rem);
  line-height: .92;
  letter-spacing: -3px;
  margin: 12px 0 24px;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
}

.hero-tagline span {
  color: var(--pink);
}

.hero-description {
  color: var(--muted);
  max-width: 490px;
  margin: 20px 0 28px;
  font-size: .95rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-features {
  display: flex;
  gap: 22px;
  margin-top: 45px;
}

.hero-features div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  border-right: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-features div:last-child {
  border: 0;
}

.hero-features i {
  color: var(--pink);
  font-size: 23px;
}

.hero-image {
  position: relative;
  min-height: 430px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid rgba(0,217,255,.25);
  box-shadow: 0 0 40px rgba(0,217,255,.08);
  background: radial-gradient(circle, #1b1b2d, #08080d);
}

.hero-image > img {
   width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-image:hover > img {
  transform: scale(1.04);
}

.image-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 25px;
  text-align: center;
  color: var(--muted);
  background: radial-gradient(circle, #22223a, #0a0a12);
}

.image-placeholder i {
  color: var(--pink);
  font-size: 65px;
}

.image-placeholder span {
  font-weight: 800;
  color: white;
}

.image-placeholder small {
  font-size: .75rem;
}

.hero-sticker {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  padding: 15px 22px;
  background: rgba(8,8,13,.85);
  border: 1px solid var(--pink);
  border-radius: 12px;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-pink);
}

.hero-sticker span {
  font-size: .65rem;
  color: var(--blue);
  font-weight: 800;
}

.hero-sticker strong {
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.05;
}

/* ---------- 6. CINTA ANIMADA ---------- */
.marquee {
  overflow: hidden;
  background: var(--pink);
  padding: 14px 0;
  transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 45px;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 7. TÍTULOS DE SECCIÓN ---------- */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.section-heading h2,
.about-text h2,
.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
  font-size: .9rem;
}

.section-crown {
  font-size: 65px;
  color: var(--pink);
}

/* ---------- 8. FILTROS ---------- */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 30px;
  padding: 10px 19px;
  font-size: .8rem;
  font-weight: 700;
  transition: .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}

/* ---------- 9. TARJETAS DE PRODUCTOS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #181823, #0e0e15);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: var(--pink);
  box-shadow: var(--shadow-pink);
}

.product-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #20202e;
}

.product-image img {
  height: 100%;
  transition: transform .5s;
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: var(--pink);
  border-radius: 30px;
  color: white;
  font-size: .65rem;
  font-weight: 800;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.product-category {
  font-size: .67rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 6px 0;
}

.product-info p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.6;
  flex: 1;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 900;
  white-space: nowrap;
}

.add-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 1rem;
  transition: .2s;
}

.add-button:hover {
  background: var(--pink);
  transform: scale(1.08);
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.catalog-footer p {
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- 10. PROMOCIONES ---------- */
.promo-section {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255,0,127,.09), transparent 45%),
    #0d0d14;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255,0,127,.35);
  border-radius: 20px;
  background: linear-gradient(130deg, #19131f, #0b0b12);
}

.promo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
  gap: 12px;
}

.promo-info .eyebrow {
  margin-bottom: 0;
}

.promo-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.15;
}

.promo-info p {
  font-size: .8rem;
  color: var(--muted);
}

.promo-price {
  color: var(--pink);
  font-size: 1.8rem;
  font-weight: 900;
}

.promo-image {
  position: relative;
  min-height: 100%;
}

.promo-image img {
  height: 100%;
}

.promo-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #131019 0%, transparent 65%);
}

/* ---------- 11. NOSOTROS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.about-image {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #181824;
  border: 1px solid var(--border);
}

.about-image img {
  height: 100%;
}

.about-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-content: center;
  width: 125px;
  height: 125px;
  text-align: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: rgba(8,8,13,.9);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  transform: rotate(8deg);
}

.about-badge span {
  color: var(--pink);
}

.about-text p {
  margin: 18px 0;
  color: var(--muted);
  font-size: .9rem;
}

.about-text .btn {
  margin-top: 12px;
}

/* ---------- 12. VENTAJAS ---------- */
.benefits-section {
  padding: 55px 0;
  border-block: 1px solid var(--border);
  background: #111119;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.benefit {
  text-align: center;
  padding: 15px;
}

.benefit i {
  font-size: 32px;
  color: var(--pink);
  margin-bottom: 16px;
}

.benefit h3 {
  font-size: .9rem;
  margin-bottom: 8px;
}

.benefit p {
  color: var(--muted);
  font-size: .75rem;
}

/* ---------- 13. CONTACTO ---------- */
.contact-section {
  background:
    radial-gradient(ellipse at 90% 30%, rgba(0,217,255,.08), transparent 45%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.contact-text p {
  color: var(--muted);
  margin: 20px 0 30px;
}

.contact-details {
  display: grid;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-item > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--pink);
  background: rgba(255,0,127,.1);
  border-radius: 12px;
  font-size: 20px;
}

.contact-item h3 {
  font-size: .9rem;
}

.contact-item p {
  color: var(--muted);
  font-size: .8rem;
  overflow-wrap: anywhere;
}

/* ---------- 14. RESPONSABILIDAD ---------- */
.responsibility {
  padding: 28px 0;
  border-block: 1px solid rgba(255,0,127,.25);
  background: #140b13;
}

.responsibility-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.responsibility-content > i {
  color: var(--pink);
  font-size: 32px;
}

.responsibility h3 {
  font-size: .95rem;
  color: var(--pink);
}

.responsibility p {
  font-size: .78rem;
  color: var(--muted);
}

/* ---------- 15. FOOTER ---------- */
.footer {
  background: #060609;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
  padding-top: 60px;
  padding-bottom: 55px;
}

.footer-brand p {
  margin-top: 20px;
  color: var(--muted);
  font-size: .8rem;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 8px;
  font-size: .9rem;
}

.footer-links a {
  font-size: .78rem;
  color: var(--muted);
  transition: .2s;
}

.footer-links a:hover {
  color: var(--pink);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  transition: .2s;
}

.social-links a:hover {
  background: var(--pink);
  border-color: var(--pink);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
  color: var(--muted);
  font-size: .72rem;
}

.footer-bottom a {
  color: var(--pink);
}

/* ---------- 16. CARRITO LATERAL ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.7);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100dvh;
  padding: 25px;
  background: #101019;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform .3s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.cart-header h2 i {
  color: var(--pink);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: white;
  font-size: 20px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 75px;
  height: 85px;
  border-radius: 10px;
}

.cart-item h3 {
  font-size: .9rem;
}

.cart-item p {
  color: var(--pink);
  font-weight: 800;
  font-size: .85rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.cart-item-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: white;
}

.cart-item-controls .remove-item {
  color: #ff637c;
  margin-left: auto;
}

.cart-empty {
  flex: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
  color: var(--muted);
}

.cart-empty i {
  color: var(--pink);
  font-size: 55px;
}

.cart-empty.visible {
  display: flex;
}

.cart-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.cart-total strong {
  color: var(--pink);
  font-size: 1.5rem;
}

.cart-note {
  color: var(--muted);
  font-size: .72rem;
  margin: 12px 0 18px;
}

.cart-footer.hidden {
  display: none;
}

/* ---------- 17. RESPONSIVE: TABLET ---------- */
@media (max-width: 1000px) {
  .nav {
    gap: 16px;
  }

  .nav-link {
    font-size: .75rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-content {
    gap: 25px;
  }

  .hero-features {
    gap: 12px;
  }

  .hero-features div {
    padding-right: 10px;
  }

  .about-grid,
  .contact-grid {
    gap: 35px;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-image {
    min-height: 220px;
    grid-row: 1;
  }

  .promo-image::after {
    background: linear-gradient(0deg, #131019 0%, transparent 70%);
  }
}

/* ---------- 18. RESPONSIVE: MÓVIL ---------- */
@media (max-width: 700px) {
  .section {
    padding: 65px 0;
  }

  .nav-container {
    min-height: 72px;
    gap: 10px;
  }

  .logo {
    width: 80px;
  }

  .logo-main {
    font-size: 33px;
  }

  .logo-sub {
    font-size: 9px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 4%;
    background: #101019;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .cart-button {
    padding: 10px 12px;
    gap: 8px;
    font-size: .72rem;
  }

  .cart-button > span:nth-child(2) {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 18vw, 6.5rem);
  }

  .hero-description {
    font-size: .86rem;
  }

  .hero-features {
    justify-content: space-between;
    margin-top: 32px;
  }

  .hero-features div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
    padding: 0 6px;
  }

  .hero-image {
    min-height: 360px;
  }

  .section-heading h2,
  .about-text h2,
  .contact-text h2 {
    font-size: 2.5rem;
  }

  .section-crown {
    font-size: 45px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-image {
    height: 190px;
  }

  .product-info {
    padding: 13px;
  }

  .product-info h3 {
    font-size: 1.2rem;
  }

  .product-info p {
    font-size: .72rem;
  }

  .product-price {
    font-size: .95rem;
  }

  .product-bottom {
    gap: 5px;
  }

  .add-button {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .catalog-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .promos-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    grid-template-columns: 1fr 1fr;
  }

  .promo-image {
    grid-row: auto;
    min-height: 250px;
  }

  .promo-info {
    padding: 18px;
  }

  .promo-info h3 {
    font-size: 1.45rem;
  }

  .promo-price {
    font-size: 1.4rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    height: 330px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
  }

  .benefit {
    padding: 12px 5px;
  }

  .contact-details {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 20px;
    padding-top: 45px;
    padding-bottom: 40px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- 19. RESPONSIVE: MÓVIL PEQUEÑO ---------- */
@media (max-width: 380px) {
  .container {
    width: 94%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 250px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-image {
    grid-row: 1;
    min-height: 210px;
  }

  .promo-info {
    grid-row: 2;
  }
}

/* ---------- 20. ACCESIBILIDAD ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* ---------- CATÁLOGO KCC: filtros, búsqueda y productos infantiles ---------- */
[hidden] { display: none !important; }

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0 12px;
}

.catalog-controls .category-filters { margin: 0; flex: 1 1 620px; }
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--blue);
  background: var(--bg-soft);
}
.catalog-search input { width: 100%; border: 0; outline: 0; color: var(--white); background: transparent; font: inherit; font-size: .82rem; }
.catalog-search input::placeholder { color: #9292a1; }
.catalog-note { margin: 0 0 22px; color: var(--muted); font-size: .78rem; }
.product-price { font-size: .84rem; }
.kids-tag { background: #0aa7c7 !important; }
.empty-message { padding: 35px 0; color: var(--muted); text-align: center; }

.kids-section {
  padding: 72px 0;
  background: radial-gradient(ellipse at 12% 50%, rgba(0,217,255,.13), transparent 48%), linear-gradient(110deg, #0c121a, #101019 58%, #130d18);
  border-top: 1px solid rgba(0,217,255,.18);
  border-bottom: 1px solid rgba(0,217,255,.18);
}
.kids-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(35px, 7vw, 90px); align-items: center; }
.kids-image { overflow: hidden; max-width: 480px; margin-inline: auto; border: 1px solid rgba(0,217,255,.35); border-radius: 22px; box-shadow: 0 20px 70px rgba(0,0,0,.4), 0 0 35px rgba(0,217,255,.12); }
.kids-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kids-copy h2 { margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: .98; }
.kids-copy h2 span { color: var(--blue); text-shadow: 0 0 18px rgba(0,217,255,.22); }
.kids-copy > p { max-width: 550px; margin-bottom: 20px; color: var(--muted); }
.kids-flavors { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 25px; }
.kids-flavors span { padding: 6px 13px; border: 1px solid rgba(0,217,255,.35); border-radius: 30px; color: #c6f8ff; background: rgba(0,217,255,.08); font-size: .78rem; font-weight: 700; }
.btn-kids { color: #041015; background: var(--blue); box-shadow: 0 0 24px rgba(0,217,255,.18); }
.btn-kids:hover { transform: translateY(-3px); box-shadow: 0 0 34px rgba(0,217,255,.35); }
.kids-copy > small { display: block; margin-top: 15px; color: #a2eaf4; }

.promos-empty { display: flex; align-items: center; gap: 25px; padding: 30px; border: 1px solid rgba(255,0,127,.28); border-radius: var(--radius); background: linear-gradient(115deg, rgba(255,0,127,.08), rgba(0,217,255,.05)); }
.promo-empty-icon { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #08080d; background: var(--pink); font-size: 1.5rem; }
.promos-empty h3 { margin-bottom: 3px; font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; }
.promos-empty p { color: var(--muted); font-size: .88rem; }
.promos-empty .btn { margin-left: auto; white-space: nowrap; }

.age-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; color: #e4e4ec; font-size: .76rem; line-height: 1.45; }
.age-confirm input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--pink); }
.age-error { color: #ff6a9c; font-size: .76rem; }

.about-image { isolation: isolate; }
.about-image #aboutCarouselImage { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.about-carousel-controls { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: rgba(8,8,13,.82); backdrop-filter: blur(8px); }
.about-carousel-controls[hidden] { display: none; }
.about-carousel-controls > button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(0,217,255,.35); border-radius: 50%; color: var(--white); background: rgba(0,217,255,.1); font-size: 1.35rem; line-height: 1; }
.about-carousel-controls > button:hover { color: #08080d; background: var(--blue); }
.about-carousel-dots { display: flex; align-items: center; gap: 6px; }
.about-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #898995; }
.about-carousel-dots button[aria-pressed="true"] { width: 20px; border-radius: 8px; background: var(--pink); }

@media (max-width: 700px) {
  .catalog-controls { align-items: stretch; }
  .catalog-search { min-width: 0; }
  .kids-section { padding: 48px 0; }
  .kids-grid { grid-template-columns: 1fr; gap: 30px; }
  .kids-image { width: min(100%, 430px); }
  .kids-copy { text-align: center; }
  .kids-copy > p { margin-inline: auto; }
  .kids-flavors { justify-content: center; }
  .promos-empty { align-items: flex-start; flex-wrap: wrap; padding: 22px; }
  .promos-empty .btn { margin: 0; white-space: normal; }
}

/* Ajustes táctiles y de lectura para teléfonos pequeños. */
@media (max-width: 700px) {
  html, body { min-width: 0; overflow-x: hidden; }
  .container { width: min(1200px, 92%); }
  .nav-container { gap: 8px; }
  .menu-toggle, .cart-button, .btn, .add-button, .icon-button,
  .about-carousel-controls > button { min-height: 44px; }
  .menu-toggle { min-width: 44px; }
  .cart-button { flex-shrink: 0; }
  .hero-content { gap: 24px; }
  .hero-image { min-height: clamp(250px, 78vw, 360px); }
  .product-card { min-width: 0; }
  .product-info h3, .product-info p { overflow-wrap: anywhere; }
  .catalog-search { min-height: 46px; }
  .catalog-search input { min-width: 0; min-height: 42px; }
  .category-filters { gap: 8px; }
  .filter-btn { min-height: 44px; padding-inline: 16px; }
  .about-image { height: clamp(260px, 82vw, 360px); }
  .about-carousel-controls { left: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .cart-drawer { padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 540px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-image { grid-row: 1; min-height: 220px; }
  .promo-info { grid-row: 2; padding: 20px; }
  .promo-image::after { background: linear-gradient(0deg, #131019 0%, transparent 70%); }
  .promos-empty { gap: 14px; }
  .promo-empty-icon { flex-basis: 48px; width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .nav-container { gap: 5px; }
  .logo { width: 66px; }
  .cart-button { padding: 9px; }
  .hero-features { gap: 5px; }
  .hero-features div { font-size: .65rem; }
  .product-info { padding: 10px; }
  .product-bottom { align-items: center; flex-wrap: wrap; }
  .about-badge { right: 12px; bottom: 12px; width: 92px; height: 92px; font-size: 1.25rem; }
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
  .cart-item img { width: 60px; height: 70px; }
  .cart-item-controls { gap: 8px; }
}

/* Portada y encabezado: correcciones verificadas para el viewport móvil. */
@media (max-width: 700px) {
  .header { overflow: visible; }
  .nav-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    align-items: center;
    justify-content: initial;
    min-height: 72px;
    width: 92%;
    gap: 8px;
  }
  .nav-container > .logo { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; }
  .nav-container > .menu-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    order: initial;
    width: 44px;
    min-width: 44px;
    height: 44px;
    place-items: center;
    position: relative;
    z-index: 102;
    border: 1px solid rgba(0,217,255,.45);
    border-radius: 12px;
    color: var(--blue);
    font-size: 21px;
  }
  .nav-container > .cart-button { grid-column: 3; grid-row: 1; justify-self: end; min-width: 50px; }
  .nav { top: 72px; z-index: 101; box-shadow: 0 18px 24px rgba(0,0,0,.35); }
  .hero-content, .hero-text { width: 100%; min-width: 0; max-width: 100%; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 15vw, 4.8rem);
    line-height: .92;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
  }
  .hero h1 .neon-text { display: inline-block; max-width: 100%; }
  .hero .eyebrow { max-width: 100%; line-height: 1.5; }
  .hero-tagline { max-width: 100%; font-size: clamp(.82rem, 3.8vw, 1.05rem); line-height: 1.4; }
  .hero-description { max-width: 100%; }
  .hero-buttons { align-items: stretch; }
  .hero-buttons .btn { min-width: 0; }
}
@media (max-width: 380px) {
  .nav-container { grid-template-columns: minmax(0,1fr) 44px auto; gap: 5px; }
  .nav-container > .logo { width: 66px; }
  .nav-container > .cart-button { padding: 8px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 3.5rem); }
  .hero-buttons { flex-direction: column; align-items: stretch; }
}
