/* =========================================================
   ABELISSE — Hoja de estilos principal
   Réplica del diseño de abelisse.com
   ========================================================= */

/* ---------- Fuentes ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ---------- Tokens de diseño ---------- */
:root{
  /* Color */
  --color-bg:           #ffffff;
  --color-text:         #16181d;
  --color-text-muted:   #6b7280;
  --color-text-soft:    #9ca3af;

  --color-pink:         #f85b99;   /* botones sólidos, pill activo */
  --color-pink-dark:    #e83d76;   /* precios, eyebrow, hover */
  --color-pink-darker:  #c2255c;
  --color-pink-soft:    #fde7ee;   /* fondos suaves, badges */
  --color-pink-softer:  #fdf1f5;   /* fondo hero */

  --color-green:        #16a34a;
  --color-gold:         #fbbf24;

  --color-border:       #e8e8ee;
  --color-surface:      #f8f9fc;   /* footer / superficies suaves */
  --color-dark:         #2b2c2f;   /* botón "Tarjeta" */

  /* Tipografía */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-pill: 999px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Sombras */
  --shadow-card: 0 2px 14px rgba(20, 20, 40, 0.06);
  --shadow-card-hover: 0 14px 30px rgba(20, 20, 40, 0.10);
  --shadow-header: 0 1px 0 rgba(20,20,40,0.06);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }

input, select, textarea{ font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--color-pink-dark);
  outline-offset: 2px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Botones ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }

.btn-primary{
  background: var(--color-pink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(248, 91, 153, 0.35);
}
.btn-primary:hover{ background: var(--color-pink-darker); }

.btn-outline{
  background: var(--color-pink);;
  color: #fff;
  box-shadow: 0 8px 20px rgba(248, 91, 153, 0.35);
}
.btn-outline:hover{ background: var(--color-pink-darker); }

.btn-dark{
  background: var(--color-dark);
  color: #fff;
}
.btn-dark:disabled,
.btn-dark[aria-disabled="true"]{
  opacity: .45;
  cursor: not-allowed;
}

.btn-paypal{
  background: #ffc439;
  color: #142c8e;
  font-weight: 700;
}
.btn-paypal:hover{ background: #ffb800; }

.btn-paylater{
  background: #ffc439;
  color: #142c8e;
  font-weight: 700;
}

.btn-block{ width: 100%; }
.btn-sm{ padding: 9px 18px; font-size: 0.85rem; }

/* =============================== */
/* HEADER PREMIUM — ABELISSE.COM   */
/* =============================== */

.header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* Notificación premium */
.header-toast{
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #fee2e2;
  color: #b91c1c;
  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: none;
}

/* Contenedor */
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

/* Logo */
.header-logo{
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #111;
  text-decoration: none;
  transition: color .2s ease;
}

.header-logo:hover{
  color: #e83d76;
}

/* Buscador */
.header-left{
  display: flex;
  align-items: center;
  gap: 16px;
}

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

@media (min-width: 768px){
  .header-search{
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.header-search input{
  width: 260px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.header-search input::placeholder{
  color: #9ca3af;
}

.header-search button{
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background .2s ease;
}

.header-search button:hover{
  background: #f3f4f6;
}

/* Links */
.header-nav{
  display: none;
}

@media (min-width: 768px){
  .header-nav{
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

.nav-link{
  padding: 8px 16px;
  border-radius: 999px;
  color: #374151;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.nav-link:hover{
  background: #fdf2f8;
  color: #e83d76;
}

/* Carrito */
.nav-cart{
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #f85b99;
  color: #e83d76;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background .2s ease;
}

.nav-cart:hover{
  background: #fde7ee;
}

.cart-count{
  background: #e83d76;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Hamburguesa */
.header-toggle{
  display: block;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #374151;
  cursor: pointer;
}

@media (min-width: 768px){
  .header-toggle{
    display: none;
  }
}

/* Menú móvil */
.header-nav.mobile-open{
  display: flex;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}


/* ========================================================= */
/* HERO PREMIUM — RÉPLICA EXACTA DE ABELISSE.COM SIN TAILWIND */
/* ========================================================= */

.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #fce4ec, #ffffff);
  padding: 96px 0;
}

/* Fondo decorativo */
.hero-bg{
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1200&q=60');
  background-size: cover;
  background-position: center;
  opacity: 0.30;
  filter: blur(4px);
}

/* Overlay suave */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.40);
  backdrop-filter: blur(1px);
}

/* Contenido */
.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Texto */
.hero-text{
  animation: fadeIn 1s ease forwards;
}

.hero-eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: #e83d76;
  margin-bottom: 16px;
}

.hero-title{
  font-size: 3rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.hero-desc{
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Botones */
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Imagen / Logo */
.hero-art{
  display: flex;
  justify-content: flex-end;
  animation: float 4s ease-in-out infinite;
}

.hero-logo{
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-art{
    justify-content: center;
    margin-top: 32px;
  }
}



/* ---------- Secciones genéricas ---------- */
.section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section-head{
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.section-head h2{
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head p{
  color: var(--color-text-muted);
  font-size: 1rem;
}
.section-head-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head-row h2{ font-size: 1.5rem; font-weight: 700; }
.see-all{
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-pink-dark);
  white-space: nowrap;
}
.see-all:hover{ text-decoration: underline; }

/* ---------- Categorías ---------- */
.categories-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.category-card__icon{
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-pink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pink-dark);
}
.category-card span{
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Tarjetas de producto ---------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-grid--3{ grid-template-columns: repeat(3, 1fr); }

.product-card{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.product-card__media{
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.product-card__media svg{ width: 42%; height: 42%; }

.product-card__body{
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card__body h3{
  font-size: 1rem;
  font-weight: 600;
}
.rating{
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  font-size: 0.8rem;
}
.rating span{ color: var(--color-text-soft); font-weight: 500; }
.product-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* estándar */
  line-clamp: 2;

  /* compatibilidad */
  -webkit-line-clamp: 2;
}

.price-row{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.price{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-pink-dark);
}
.price-old{
  text-decoration: line-through;
  color: var(--color-text-soft);
  font-size: 0.85rem;
}
.price-off{
  color: var(--color-green);
  font-size: 0.78rem;
  font-weight: 600;
  flex-basis: 100%;
}
.product-card .btn{ margin-top: 10px; }

/* paletas de imagen placeholder (rotan por índice) */
.media-1{ background: linear-gradient(135deg, #f6a6c1, #f2729a); }
.media-2{ background: linear-gradient(135deg, #f7c59f, #f0916a); }
.media-3{ background: linear-gradient(135deg, #c9a7e8, #9b6fd1); }
.media-4{ background: linear-gradient(135deg, #9fd8d0, #4fae9f); }
.media-5{ background: linear-gradient(135deg, #f8d49b, #f0a85a); }
/* ---------- Página de listado (Productos / Ofertas) ---------- */
.page-head{ padding: 40px 0 28px; }
.breadcrumb{
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}
.breadcrumb a:hover{ color: var(--color-pink-dark); }
.breadcrumb .sep{ margin: 0 8px; }
.breadcrumb .current{ color: var(--color-text); font-weight: 600; }

.page-head h1{
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-head p{ color: var(--color-text-muted); }

.filters-bar{
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filters-bar select{
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 200px;
  background: #fff;
  color: var(--color-text);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.filters-bar select:focus{ border-color: var(--color-pink); }

.pagination{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.pagination button{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-weight: 600;
}
.pagination button.is-active{
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: #fff;
}
.pagination button:hover:not(.is-active){ background: var(--color-pink-softer); }

.empty-state{
  text-align: center;
  padding: 70px 20px;
  color: var(--color-text-muted);
}

/* =============================== */
/* FOOTER PREMIUM — ABELISSE.COM   */
/* =============================== */

.footer{
  margin-top: 80px;
  background: #f9fafb; /* gray-50 */
  border-top: 1px solid #e5e7eb; /* gray-200 */
}

.footer-grid{
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  color: #4b5563; /* gray-700 */
  font-size: 0.95rem;
}

/* Marca */
.footer-logo{
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: #111827; /* gray-900 */
}

.footer-desc{
  color: #6b7280; /* gray-600 */
  line-height: 1.6;
}

/* Títulos */
.footer-title{
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

/* Links */
.footer-info ul li,
.footer-contact ul li{
  margin-bottom: 12px;
}

.footer-info a,
.footer-contact a{
  color: #4b5563;
  transition: color .2s ease;
}

.footer-info a:hover,
.footer-contact a:hover{
  color: #e83d76; /* pink-600 */
}

/* Redes sociales */
.footer-social{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-dot{
  color: #9ca3af; /* gray-400 */
}

/* Línea inferior */
.footer-bottom{
  border-top: 1px solid #e5e7eb;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ---------- Formulario de contacto ---------- */
.contact-card{
  max-width: 600px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px;
}
.form-group{ margin-bottom: 22px; }
.form-group label{
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea{
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--color-text);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus{ border-color: var(--color-pink); }
.form-group textarea{ min-height: 130px; }
.form-note{
  font-size: 0.85rem;
  margin-top: 16px;
  text-align: center;
  color: var(--color-text-soft);
}

/* ---------- Carrito ---------- */
.cart-layout{
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
}
.cart-subtitle{ color: var(--color-text-soft); margin-bottom: 28px; }
.cart-item{
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item__thumb{
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
}
.cart-item__thumb svg{ width: 46%; height: 46%; }
.cart-item__info h4{ font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.cart-item__price{ color: var(--color-pink-dark); font-weight: 700; margin-bottom: 4px; }
.cart-item__stock{ font-size: 0.82rem; color: var(--color-text-soft); margin-bottom: 10px; }
.qty-stepper{
  display: inline-flex;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-stepper button{
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}
.qty-stepper button:hover{ background: var(--color-pink-soft); }
.qty-stepper span{ width: 28px; text-align: center; font-weight: 600; }
.cart-item__remove{
  align-self: start;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
}
.cart-item__remove:hover{ color: var(--color-pink-dark); text-decoration: underline; }

.cart-summary{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 8px;
}
.cart-summary .label{ font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 4px; }
.cart-summary .total-price{ font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--color-pink-dark); }
.clear-cart{
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
}
.clear-cart:hover{ color: var(--color-pink-dark); text-decoration: underline; }

.cart-currency{ font-size: 0.85rem; color: var(--color-text-soft); margin-top: -18px; margin-bottom: 24px; }

.payment-stack{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.payment-caption{
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin-top: 4px;
}

.cart-empty{
  text-align: center;
  padding: 80px 20px;
}
.cart-empty h1{ font-size: 1.6rem; margin-bottom: 10px; }
.cart-empty p{ color: var(--color-text-muted); margin-bottom: 28px; }
/* ---------- Toast ---------- */
.toast{
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--color-dark);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
}
.toast.is-visible{
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero__inner{
    grid-template-columns: 1fr;
    padding: 56px 24px;
    text-align: center;
    margin-top: -120px; /* Ajuste para que el texto no quede demasiado arriba */
  }
  .hero p.lead{ margin-left: auto; margin-right: auto; }
  .hero__actions{ justify-content: center; }
  .hero__art{
    order: -1;
    height: 260px;
    margin-bottom: 24px;
  }
  .categories-grid{ grid-template-columns: repeat(2, 1fr); }
  
  .site-footer__grid{ grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px){
  .search-form{ display: none; }
  .nav-toggle{ display: inline-flex; margin-left: auto; }
  .main-nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .main-nav.is-open{ display: flex; }
  .main-nav a{ text-align: center; }
  .site-header__bar{ position: relative; flex-wrap: wrap; }
}

@media (max-width: 560px){
  .product-grid, .product-grid--3, .categories-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .filters-bar{ flex-direction: column; }
  .filters-bar select{ width: 100%; }
  .cart-item{ grid-template-columns: 56px 1fr; }
  .cart-item__remove{ grid-column: 2; justify-self: start; }
  .contact-card{ padding: 24px; }
}

/* ========================================================= */
/* PRODUCT CARD PREMIUM — UNIVERSAL                          */
/* ========================================================= */

.product-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all .3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.product-img {
  width: 100%;
  height: 220px;
  background: #f3f4f6;
  overflow: hidden;
}

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

.product-body {
  padding: 20px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.star {
  color: #facc15;
  font-size: 0.9rem;
}

.rating-number {
  font-size: 0.75rem;
  color: #6b7280;
}

.product-desc {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 14px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;

  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.product-prices {
  margin-bottom: 16px;
}

.price-main {
  color: #e83d76;
  font-size: 1.2rem;
  font-weight: 600;
}

.price-market {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 0.85rem;
}

.price-off {
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-add {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e83d76;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background .2s ease;
}

.product-add:hover {
  background: #d81b60;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.nav-link.active,
.nav-cart.active {
  color: #ff2e8f;      /* rosado de ABELISSE */
  font-weight: 600;
}

/* ============================
   FILTROS — PRODUCTOS.HTML
   ============================ */

.filters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 20px 0;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-item label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.filter-item select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .filters-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .filters-row {
    grid-template-columns: 1fr;
  }
}

/* ============================
   AJUSTE DE ESPACIADO EN PRODUCTOS.HTML
   ============================ */

body.productos-page main.section {
  padding-bottom: 40px !important; /* reduce el espacio */
}

body.productos-page .footer {
  margin-top: 40px !important; /* igual que en index */
}

/* ============================
   CARRITO — ESPACIADO PREMIUM
============================ */

/* Contenedor general */
.carrito-page main.section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px; /* MÁS ESPACIO */
}

/* Título */
.carrito-page h1 {
  font-size: 28px;
  margin-bottom: 20px; /* MÁS ESPACIO */
}

/* Texto de moneda */
#carrito-moneda {
  margin-bottom: 30px; /* MÁS ESPACIO */
  line-height: 1.6; /* LÍNEAS MÁS ALTAS */
}

/* Carrito vacío */
#carrito-lista h2 {
  font-size: 24px;
  margin-bottom: 16px;
  line-height: 1.5;
}

#carrito-lista p {
  font-size: 16px;
  margin-bottom: 30px; /* MÁS ESPACIO */
  line-height: 1.7; /* LÍNEAS MÁS ALTAS */
}

/* ITEM DEL CARRITO */
.carrito-item {
  display: flex;
  align-items: flex-start;
  gap: 24px; /* MÁS ESPACIO ENTRE COLUMNAS */
  padding: 28px 0; /* MÁS ESPACIO ENTRE ITEMS */
  border-bottom: 1px solid #e5e5e5;
}

/* Imagen */
.carrito-img {
  width: 100px;
  height: 100px;
  border-radius: 14px;
}

/* Info */
.carrito-info h3 {
  font-size: 20px;
  margin-bottom: 10px; /* MÁS ESPACIO */
  line-height: 1.4;
}

.carrito-price {
  margin-bottom: 8px;
}

.carrito-stock {
  margin-bottom: 14px; /* MÁS ESPACIO */
  line-height: 1.5;
}

/* Selector de cantidad */
.qty-stepper {
  padding: 8px 18px; /* MÁS ESPACIO */
  gap: 16px; /* MÁS ESPACIO ENTRE BOTONES */
}

/* Botón eliminar */
.carrito-remove {
  padding: 8px 18px;
  margin-left: auto; /* SE ALINEA A LA DERECHA */
}

/* TOTAL */
.carrito-total {
  margin: 40px 0; /* MÁS ESPACIO */
}

.total-amount {
  font-size: 32px; /* MÁS GRANDE */
}

/* Botones inferiores */
.carrito-botones {
  margin-top: 20px; /* MÁS ESPACIO */
  gap: 16px;
}

/* Botón “Ver productos” */
.carrito-page .btn.btn-primary {
  padding: 14px 30px; /* MÁS ESPACIO */
  font-size: 16px;
  border-radius: 40px;
}

/* FIX DEFINITIVO: evitar que el menú móvil tape el buscador */
.header-nav{
  position: static !important;
  z-index: 1 !important;
}

.header-search{
  position: relative !important;
  z-index: 9999 !important;
}

.header-search input,
.header-search button{
  position: relative !important;
  z-index: 9999 !important;
}

/* ============================
   CARRITO PREMIUM ABELISSE
============================ */

.carrito-premium {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.carrito-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.carrito-moneda {
  color: #777;
  margin-bottom: 25px;
}

/* Tarjeta de producto */
.carrito-card {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  align-items: center;
}

.carrito-card-img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.carrito-card-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.carrito-card-price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Stepper */
.carrito-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.carrito-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: #f2f2f2;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.carrito-stepper button:hover {
  background: #e0e0e0;
}

.carrito-stepper span {
  font-size: 18px;
  font-weight: 600;
}

/* Botón eliminar */
.carrito-remove-btn {
  background: var(--color-pink);
  border: none;
  color: #d33;
  font-size: 15px;
  cursor: pointer;
  margin-top: 5px;
}

/* Total */
.carrito-total-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carrito-total-inner h2 {
  font-size: 26px;
  font-weight: 700;
}

/* Botones */
.carrito-botones-premium {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.btn-outline:hover {
  border-color: #999;
}

/* Botones de pago */
.carrito-pagos-premium {
  display: flex;
  gap: 15px;
}

.btn-stripe img,
.btn-paypal img {
  height: 45px;
  cursor: pointer;
}

.btn-yape {
  background: #7b2be0;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  border: none;
}
