/* ============================================================
   TIENDA KIUT - MAQUILLAJE, ROPA Y ACCESORIOS
   ============================================================ */

/* ───────────── RESET & BASE ───────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --kiut-pink: #d63384;
  --kiut-pink-light: #f4c2c2;
  --kiut-gold: #d4af37;
  --kiut-cream: #fdf6f0;
  --kiut-white: #ffffff;
  --kiut-dark: #1a1a1a;
  --kiut-text-light: #4a4a4a;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--kiut-cream);
  color: var(--kiut-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.sr-only-focusable:focus { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0; padding: 0.5rem 1rem; background: var(--kiut-pink); color: var(--kiut-white); border-radius: 4px; z-index: 9999; }

/* ───────────── LOGO ───────────── */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--kiut-dark);
  letter-spacing: -0.02em;
  cursor: default;
}
.logo span {
  color: var(--kiut-pink);
  font-style: italic;
}

/* ───────────── HEADER ───────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideDown .5s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--kiut-dark);
  padding: .3rem;
  line-height: 1;
  border-radius: 8px;
}
.hamburger:hover { background: var(--kiut-pink-light); }
.hamburger:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 2px; }

nav { display: flex; align-items: center; gap: 0; }
nav a {
  text-decoration: none;
  color: var(--kiut-text-light);
  font-size: .9rem;
  font-weight: 500;
  margin-left: 1.8rem;
  transition: color .2s;
  position: relative;
  padding: 0.2rem 0;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--kiut-pink);
  border-radius: 2px;
  transition: width .3s ease;
}
nav a:hover { color: var(--kiut-pink); }
nav a:hover::after { width: 100%; }
nav a:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 4px; border-radius: 4px; }

.cart-btn {
  position: relative;
  background: var(--kiut-pink-light);
  border: 1px solid rgba(214, 51, 132, 0.2);
  border-radius: 50px;
  padding: .45rem 1rem .45rem 1.2rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  color: var(--kiut-dark);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-left: 1.8rem;
}
.cart-btn:hover { background: var(--kiut-pink); color: var(--kiut-white); border-color: var(--kiut-pink); transform: scale(1.03); }
.cart-btn:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 2px; }
.cart-btn svg { flex-shrink: 0; stroke: currentColor; }

.cart-count {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  font-size: .65rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.cart-count.visible { display: flex; }
.cart-count.pop { transform: scale(1.4); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--kiut-white);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  gap: 0.8rem;
  animation: slideDown .3s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  color: var(--kiut-text-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  transition: color .2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--kiut-pink); }
.mobile-nav a:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 4px; }

/* ───────────── HERO ───────────── */
.hero-kiut {
  background: var(--kiut-pink);
  min-height: 85vh;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-kiut .hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 30% 50%, rgba(244, 194, 194, 0.3) 0%, var(--kiut-pink) 70%);
  z-index: 0;
}
.hero-kiut .hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  animation: fadeUp .9s ease .2s both;
}
.hero-kiut .hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--kiut-white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-kiut h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.12;
  color: var(--kiut-white);
  margin-bottom: 1.2rem;
}
.hero-kiut h1 em { color: var(--kiut-gold); font-style: italic; }
.hero-kiut h1 .highlight {
  color: var(--kiut-gold);
  font-weight: 600;
}
.hero-kiut p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-kiut .btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-kiut .btn-primary {
  background: var(--kiut-gold);
  color: var(--kiut-dark);
  border: none;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all .25s;
  text-decoration: none;
}
.hero-kiut .btn-primary:hover { background: #c09c2e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212, 175, 55, .35); }
.hero-kiut .btn-outline-light {
  background: transparent;
  color: var(--kiut-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all .25s;
  text-decoration: none;
}
.hero-kiut .btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--kiut-white); }

.hero-kiut .sales-counter {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}
.hero-kiut .sales-counter span { color: var(--kiut-gold); font-weight: 600; }

.hero-kiut .hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  max-width: 420px;
  animation: fadeUp .9s ease .4s both;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
}
.hero-kiut .hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform .3s, box-shadow .3s;
}
.hero-kiut .hero-card:hover { transform: translateX(-6px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
.hero-kiut .hero-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kiut-pink-light);
  border-radius: 50%;
}
.hero-kiut .hero-card-text h4 { font-size: .95rem; font-weight: 600; color: var(--kiut-dark); }
.hero-kiut .hero-card-text p { font-size: .8rem; color: var(--kiut-text-light); margin: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ───────────── SECCIONES ───────────── */
section { padding: 5rem 2rem; position: relative; z-index: 1; }
.section-tag {
  text-align: center;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--kiut-pink);
  font-weight: 500;
  margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  color: var(--kiut-dark);
  margin-bottom: .6rem;
}
.section-sub {
  text-align: center;
  color: var(--kiut-text-light);
  font-size: .95rem;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* ───────────── TRUST BAR ───────────── */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin: 0 auto 2.5rem;
  max-width: 680px;
}
.trust-bar span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--kiut-text-light);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.trust-bar .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--kiut-pink);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ───────────── SOBRE NOSOTROS ───────────── */
#sobre-nosotros { background: var(--kiut-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}
.about-image {
  background: var(--kiut-pink-light);
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--kiut-pink);
  margin-bottom: 1rem;
}
.about-text p { color: var(--kiut-text-light); margin-bottom: 1rem; line-height: 1.7; }
.about-text .credentials {
  background: var(--kiut-pink-light);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
  margin-top: 0.5rem;
}
.about-text .credentials h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--kiut-pink); }

/* ───────────── POLÍTICAS ───────────── */
#politicas { background: var(--kiut-cream); }
.politicas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.politica-card {
  background: var(--kiut-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
  box-shadow: var(--shadow-sm);
}
.politica-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--kiut-pink);
  margin-bottom: 0.8rem;
}
.politica-card ul { list-style: none; padding: 0; }
.politica-card ul li {
  padding: 0.3rem 0;
  color: var(--kiut-text-light);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(214, 51, 132, 0.05);
}
.politica-card ul li:last-child { border-bottom: none; }

/* ───────────── BLOG ───────────── */
#blog { background: var(--kiut-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.blog-card {
  background: var(--kiut-cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .blog-emoji { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--kiut-dark);
  margin-bottom: 0.4rem;
}
.blog-card p { color: var(--kiut-text-light); font-size: 0.9rem; line-height: 1.6; }
.blog-card .blog-meta { font-size: 0.75rem; color: var(--kiut-pink); margin-top: 0.5rem; }

/* ───────────── TESTIMONIOS ───────────── */
#testimonios { background: var(--kiut-pink-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 950px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--kiut-white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s;
  border: none;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars { font-size: .9rem; margin-bottom: .8rem; color: var(--kiut-gold); }
.testimonial-text {
  font-size: .9rem;
  color: var(--kiut-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-author { font-weight: 600; font-size: .9rem; color: var(--kiut-dark); }
.testimonial-role { font-size: .75rem; color: var(--kiut-pink); margin-top: 0.2rem; }

/* ───────────── CONTACTO ───────────── */
#contacto { background: var(--kiut-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--kiut-pink);
  margin-bottom: 0.5rem;
}
.contact-info p { color: var(--kiut-text-light); margin-bottom: 0.5rem; }
.contact-info .social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: var(--kiut-pink);
  text-decoration: none;
  font-weight: 500;
}
.contact-info .social-links a:hover { color: var(--kiut-gold); }
.contact-card {
  background: var(--kiut-pink-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-card span { font-size: 3rem; display: block; }
.contact-card h4 { margin: 0.5rem 0; color: var(--kiut-pink); }
.contact-card p { color: var(--kiut-text-light); font-size: 0.9rem; }
.contact-card .btn-primary {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background .2s;
}
.contact-card .btn-primary:hover { background: #c02e6f; }

/* ───────────── PRODUCTOS ───────────── */
#productos { background: var(--kiut-white); }

.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-bar #searchInput {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(214, 51, 132, 0.2);
  background: var(--kiut-white);
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  min-width: 180px;
  transition: border-color .2s, box-shadow .2s;
  color: var(--kiut-dark);
}
.filter-bar #searchInput:focus {
  border-color: var(--kiut-pink);
  box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.15);
  outline: none;
}
.filter-btn {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(214, 51, 132, 0.2);
  background: var(--kiut-white);
  color: var(--kiut-text-light);
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  border-color: var(--kiut-pink);
}
.filter-btn:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 2px; }

.viewer-counter {
  text-align: center;
  font-size: 0.85rem;
  color: var(--kiut-text-light);
  margin-bottom: 1.5rem;
  background: var(--kiut-pink-light);
  padding: 0.4rem;
  border-radius: 50px;
  max-width: 300px;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.viewer-counter strong { color: var(--kiut-pink); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}
.product-card {
  background: var(--kiut-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(214, 51, 132, 0.1);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  opacity: 0;
  animation: cardIn .5s ease forwards;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
@keyframes cardIn { to { opacity: 1; } }

.product-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  background: var(--kiut-pink-light);
  pointer-events: none;
}
.product-img span { transition: transform .5s ease; }
.product-card:hover .product-img span { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--kiut-pink);
  color: var(--kiut-white);
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-info {
  padding: 1.2rem;
  pointer-events: none;
}
.product-info .product-category {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--kiut-pink);
  font-weight: 500;
  margin-bottom: .2rem;
}
.product-info .product-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--kiut-dark);
  margin-bottom: .3rem;
}
.product-info .product-desc {
  font-size: .8rem;
  color: var(--kiut-text-light);
  line-height: 1.5;
  margin-bottom: .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}
.product-footer .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kiut-pink);
}
.product-footer .add-btn {
  background: transparent;
  color: var(--kiut-pink);
  border: 1.5px solid rgba(214, 51, 132, 0.2);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .8rem;
  cursor: pointer;
  transition: all .25s;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.product-footer .add-btn:hover {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  border-color: var(--kiut-pink);
  transform: scale(1.02);
}
.product-footer .add-btn:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 2px; }
.product-footer .add-btn.added {
  background: #22c55e;
  color: var(--kiut-white);
  border-color: #22c55e;
  pointer-events: none;
}

/* ───────────── MODAL ───────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
  background: var(--kiut-white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--kiut-text-light);
  transition: transform .2s;
  z-index: 10;
}
.modal-close:hover { transform: rotate(90deg); }

.modal-gallery { display: flex; flex-direction: column; gap: 0.8rem; }
.modal-main-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--kiut-pink-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  overflow: hidden;
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.modal-thumbnails { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.modal-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--kiut-cream);
  transition: border-color .2s, transform .2s;
}
.modal-thumbnail:hover { transform: scale(1.05); }
.modal-thumbnail.active { border-color: var(--kiut-pink); }

.modal-info { display: flex; flex-direction: column; gap: 1rem; }
.modal-info .modal-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--kiut-pink); font-weight: 500; }
.modal-info .modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--kiut-dark);
  line-height: 1.2;
}
.modal-info .modal-price { font-size: 1.6rem; font-weight: 700; color: var(--kiut-pink); }
.modal-info .modal-description { color: var(--kiut-text-light); line-height: 1.7; font-size: 0.95rem; }
.modal-info .modal-specs {
  background: var(--kiut-cream);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.modal-info .modal-specs h4 { font-size: 0.85rem; color: var(--kiut-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.modal-info .modal-specs p { font-size: 0.9rem; color: var(--kiut-dark); }
.modal-info .modal-add-btn {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  border: none;
  border-radius: 50px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  margin-top: 0.5rem;
}
.modal-info .modal-add-btn:hover { background: #c02e6f; transform: translateY(-2px); }
.modal-info .modal-add-btn.added { background: #22c55e; pointer-events: none; }

/* ───────────── MODAL DEL BLOG ───────────── */
.blog-modal-content {
  max-width: 700px !important;
  grid-template-columns: 1fr !important;
  padding: 2rem 2.5rem !important;
}

.blog-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-modal-emoji {
  font-size: 3.5rem;
  display: block;
  text-align: center;
  margin-bottom: 0.2rem;
}

.blog-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--kiut-pink);
  text-align: center;
  line-height: 1.2;
}

.blog-modal-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--kiut-text-light);
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  padding-bottom: 0.8rem;
  margin-bottom: 0.5rem;
}

.blog-modal-content-text {
  font-size: 0.95rem;
  color: var(--kiut-text-light);
  line-height: 1.8;
}

.blog-modal-content-text ul,
.blog-modal-content-text ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.blog-modal-content-text li {
  margin-bottom: 0.3rem;
}

.blog-modal-content-text strong {
  color: var(--kiut-dark);
}

/* ───────────── MEJORAS PARA EL BLOG ───────────── */
.blog-modal-content-text h4 {
  color: var(--kiut-pink);
  font-size: 1.05rem;
  margin: 1.2rem 0 0.3rem;
}

.blog-modal-content-text h4:first-of-type {
  margin-top: 0;
}

.blog-modal-content-text ul,
.blog-modal-content-text ol {
  background: var(--kiut-cream);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 51, 132, 0.08);
}

.blog-modal-content-text li {
  margin-bottom: 0.4rem;
}

.blog-modal-content-text li:last-child {
  margin-bottom: 0;
}

.blog-modal-content-text strong {
  color: var(--kiut-pink);
}

.blog-modal-content-text .tip-extra {
  background: var(--kiut-pink-light);
  padding: 1rem;
  border-radius: 12px;
  border-left: 4px solid var(--kiut-pink);
  margin: 1rem 0;
}

/* ───────────── FORMULARIO ───────────── */
#pedido { background: var(--kiut-pink-light); }
.form-wrapper {
  max-width: 620px;
  margin: 0 auto;
  background: var(--kiut-white);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.order-summary {
  background: var(--kiut-pink-light);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.8rem;
  max-height: 260px;
  overflow-y: auto;
}
.order-summary h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--kiut-pink);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.clear-cart-btn {
  font-size: .72rem;
  background: none;
  border: none;
  color: var(--kiut-pink);
  cursor: pointer;
  text-decoration: underline;
  font-family: 'DM Sans', sans-serif;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.clear-cart-btn:hover { color: var(--kiut-dark); }
.clear-cart-btn:focus-visible { outline: 2px solid var(--kiut-pink); }
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  color: var(--kiut-dark);
  padding: .4rem 0;
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  gap: .5rem;
}
.order-item:last-child { border-bottom: none; }
.order-item-left { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.order-item-qty-ctrl {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: var(--kiut-white);
  border-radius: 50px;
  padding: 0.1rem 0.3rem;
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.order-item-qty-ctrl button {
  background: none;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--kiut-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.order-item-qty-ctrl button:hover { background: var(--kiut-pink-light); }
.order-item-qty-ctrl button:focus-visible { outline: 2px solid var(--kiut-pink); }
.order-item-qty-ctrl span { min-width: 20px; text-align: center; font-weight: 600; font-size: .85rem; }
.order-item-remove {
  background: none;
  border: none;
  color: var(--kiut-pink);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 .3rem;
  opacity: .5;
  transition: opacity .2s, transform .2s;
}
.order-item-remove:hover { opacity: 1; transform: scale(1.2); }
.order-item-remove:focus-visible { outline: 2px solid var(--kiut-pink); border-radius: 4px; }
.order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--kiut-pink);
  margin-top: .6rem;
  font-size: .95rem;
  padding-top: .5rem;
  border-top: 2px solid rgba(214, 51, 132, 0.1);
}
.empty-cart { color: var(--kiut-text-light); font-size: .88rem; font-style: italic; }

.shipping-progress {
  background: var(--kiut-white);
  border-radius: 50px;
  height: 6px;
  margin: 0.5rem 0 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.shipping-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--kiut-pink-light), var(--kiut-pink));
  border-radius: 50px;
  transition: width 0.5s ease;
}
.shipping-text {
  font-size: 0.8rem;
  color: var(--kiut-text-light);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.shipping-text .free { color: #22c55e; font-weight: 600; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; color: var(--kiut-dark); margin-bottom: .4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(214, 51, 132, 0.2);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--kiut-dark);
  background: var(--kiut-cream);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--kiut-pink);
  box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.15);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error { border-color: #e74c3c; background: #fff5f5; }
.form-error { font-size: .78rem; color: #e74c3c; margin-top: .3rem; display: none; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--kiut-pink), #c02e6f);
  color: var(--kiut-white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 8px 24px rgba(214, 51, 132, 0.35);
  margin-top: .5rem;
  position: relative;
}
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(214, 51, 132, 0.45); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.submit-btn:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 4px; }
.submit-btn .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--kiut-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.submit-btn.loading .spinner { display: block; }
.submit-btn.loading .btn-text { display: none; }

.success-msg {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeUp .5s ease;
}
.success-msg .check { font-size: 3.5rem; margin-bottom: 1rem; }
.success-msg h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--kiut-pink);
  margin-bottom: .5rem;
}
.success-msg p { color: var(--kiut-text-light); font-size: .95rem; line-height: 1.6; }
.success-msg .back-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .7rem 1.8rem;
  background: var(--kiut-pink-light);
  color: var(--kiut-pink);
  border: 1.5px solid rgba(214, 51, 132, 0.1);
  border-radius: 50px;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.success-msg .back-btn:hover { background: var(--kiut-pink-light); }

/* ───────────── ADMIN ───────────── */
#adminPanel {
  display: none;
  padding: 2rem 2rem 4rem;
  background: var(--kiut-cream);
}
#adminPanel.active { display: block; }
.admin-login {
  text-align: center;
  padding: 2.5rem;
  background: var(--kiut-white);
  border-radius: var(--radius);
  max-width: 400px;
  margin: 2rem auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.admin-login input {
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(214, 51, 132, 0.2);
  border-radius: 12px;
  margin: 0.5rem 0;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
}
.admin-login input:focus { border-color: var(--kiut-pink); outline: none; }
.admin-login button {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s;
}
.admin-login button:hover { background: #c02e6f; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-stat-card {
  background: var(--kiut-white);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(214, 51, 132, 0.1);
  box-shadow: var(--shadow-sm);
}
.admin-stat-card .num { font-size: 2rem; font-weight: 700; color: var(--kiut-pink); }
.admin-stat-card .label { font-size: 0.75rem; color: var(--kiut-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.admin-toolbar select {
  padding: 0.4rem 0.8rem;
  border: 1.5px solid rgba(214, 51, 132, 0.2);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
}
.admin-toolbar button {
  background: var(--kiut-pink);
  color: var(--kiut-white);
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: background .2s;
}
.admin-toolbar button:hover { background: #c02e6f; }
.order-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--kiut-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(214, 51, 132, 0.1);
}
.order-table th, .order-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(214, 51, 132, 0.05);
  font-size: .85rem;
}
.order-table th { background: var(--kiut-cream); font-weight: 600; color: var(--kiut-pink); }
.order-table select {
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(214, 51, 132, 0.1);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  background: var(--kiut-cream);
}
.order-table select:focus { outline: 2px solid var(--kiut-pink); }
.status-pendiente { color: #e67e22; font-weight: 600; }
.status-enviado { color: #2980b9; font-weight: 600; }
.status-entregado { color: #27ae60; font-weight: 600; }

/* ───────────── FOOTER ───────────── */
.payment-strip {
  background: var(--kiut-pink);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.payment-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.payment-strip-inner span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

footer {
  background: var(--kiut-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kiut-dark);
}
.footer-brand .footer-logo span {
  color: var(--kiut-pink);
}
.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
}
.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  color: var(--kiut-pink);
  opacity: 0.9;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.6;
  padding: 0.2rem 0;
  transition: opacity .2s;
}
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  opacity: 0.4;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ───────────── WHATSAPP FLOAT ───────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; left: 2rem;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  z-index: 998;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.whatsapp-float:focus-visible { outline: 3px solid #1a8a4a; outline-offset: 4px; }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--kiut-pink);
  color: var(--kiut-white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: #c02e6f; transform: translateY(-4px); }
.back-top:focus-visible { outline: 2px solid var(--kiut-pink); outline-offset: 4px; }

.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  gap: .6rem;
  align-items: flex-end;
}
.toast {
  background: var(--kiut-dark);
  color: var(--kiut-white);
  padding: .8rem 1.6rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform: translateX(120%);
  opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  max-width: 90vw;
  white-space: nowrap;
  border-left: 4px solid var(--kiut-pink);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.toast-success { border-left-color: #22c55e; }
.toast.toast-error { border-left-color: #ef4444; }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 992px) {
  .hero-kiut { flex-direction: column; align-items: flex-start; min-height: auto; padding: 3rem 1.5rem; }
  .hero-kiut .hero-image { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 420px; margin-top: 2rem; }
  .hero-kiut .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  nav { display: none; }
  .hero-kiut .hero-image { max-width: 100%; }
  .hero-kiut { min-height: auto; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 1.5rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .filter-bar #searchInput { min-width: 120px; }
  .cart-btn span { display: none; }
  .cart-btn { padding: .45rem .8rem; margin-left: 0.5rem; }
  header { padding: 0.8rem 1rem; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 1rem; left: 1rem; }
  .back-top { width: 42px; height: 42px; bottom: 1rem; right: 1rem; font-size: 1.2rem; }
  .toast-container { bottom: 1rem; right: 1rem; }
  .toast { font-size: .8rem; padding: .6rem 1.2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .payment-strip-inner { gap: 0.8rem; }
  .payment-strip-inner span { font-size: 0.75rem; padding: 0.2rem 0.6rem; }
  .modal-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    max-height: 95vh;
    gap: 1rem;
  }
  .modal-main-image { font-size: 4rem; }
  .modal-info .modal-name { font-size: 1.4rem; }
  .modal-info .modal-price { font-size: 1.3rem; }
  .blog-modal-content { padding: 1.5rem !important; }
  .blog-modal-title { font-size: 1.4rem; }
  .blog-modal-meta { flex-direction: column; align-items: center; gap: 0.3rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .hero-kiut h1 { font-size: 2rem; }
  .hero-kiut .btn-group { flex-direction: column; }
  .hero-kiut .btn-outline-light { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 0.3rem 1rem; }
  .trust-bar span { font-size: 0.7rem; }
}