/* ============================================
   RESET Y VARIABLES GLOBALES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff0f6;
  color: #333;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}
/* Reset de estilos para enlaces */
a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  color: inherit;
}
/* ============================================
   ESTRUCTURA PRINCIPAL PARA STICKY FOOTER - CORREGIDO
   ============================================ */
html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  /* IMPORTANTE: Esto evita que los productos se estiren */
  align-items: stretch;
}

/* El contenedor principal (tu main) empuja el footer */
.container {
  flex: 1;
  /* Asegurar que el contenido interno mantenga su ancho */
  width: 100%;
}

/* Los productos deben mantener su ancho original */
.products {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /* Mantener el grid original */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px 15px;
}

/* El footer ya no necesita margin-top */
.footer-luxe {
  margin-top: 0;
  width: 100%;
}
/* ============================================
   HEADER - ESCRITORIO (COMPLETO)
   ============================================ */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

/* Logo y slogan */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap:0 ; /* Reducido al mínimo */
  margin: 0;
  padding: 0;
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-left: -8px; /* Lo mueve aún más a la izquierda */
   padding-top: 2px;
}
.logo {
  width: 120px;
  height: auto;
  margin-right: -5px; /* El logo se monta ligeramente sobre el texto */
}

.slogan-minimal {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #92524f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0; /* Aseguramos que no tenga margen superior */
}

/* Buscador */
.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 700px;
}

.buscar {
  width: 100%;
  max-width: 500px;
  height: 46px;
  padding: 0 18px;
  border-radius: 25px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  background: #fff;
}

.buscar:focus {
  border-color: #ff4d6d;
  box-shadow: 0 0 6px rgba(255,77,109,0.3);
}
.buscar:hover {
  border-color: #ffc8dd;
}

/* ============================================
   ESTILOS PARA SELECT (ORDENAR POR)
   ============================================ */
.filtro {
  width: 200px;
  height: 46px;
  padding: 0 18px;
  border-radius: 25px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  color: #333;
}

.filtro:focus {
  border-color: #ff4d6d;
  box-shadow: 0 0 6px rgba(255, 77, 109, 0.3);
  outline: none;
}

.filtro:hover {
  border-color: #ffc8dd;
}

/* Estilo para las opciones del select */
.filtro option {
  background: white;
  color: #333;
  padding: 10px;
}

/* Iconos del header - VERSIÓN ESCRITORIO (con TUS PNG) */
.icons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icons a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.icons a:hover {
  background: #ffc8dd;
  color: white;
  transform: translateY(-2px);
}

/**TUS ICONOS PNG */
.header-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  transition: filter 0.3s ease;  
  cursor: pointer;                

}*/

header-icon:hover {
  filter: brightness(0);          
}

/* Contadores */
#fav-count, #cart-count {
  background: #ff4d6d;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  margin-left: 2px;
}
/* ============================================
   MENÚ DESPLEGABLE USUARIO - CON 3 SEGUNDOS DE DELAY
   ============================================ */

/* Contenedor del dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Botón con el nombre del usuario */
.dropbtn {
    background: linear-gradient(135deg, #ff4d6d, #ff8fa3);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    background: linear-gradient(135deg, #ff2d55, #ff6b8b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

#user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Zona de seguridad GRANDE - puente invisible */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px; /* Espacio de seguridad grande */
    background: transparent;
}

/* Menú desplegable - CON 3 SEGUNDOS DE DELAY */
.dropdown-content {
    position: absolute;
    right: 0;
    top: 50px; /* Un poco más abajo por la zona de seguridad */
    background: white;
    min-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #ffe5e8;
    
    /* Oculto por defecto */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    
    /* Transición suave con 3 SEGUNDOS de delay al ocultar */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transition-delay: 0s, 3s, 0s; /* 👈 3 SEGUNDOS DE GRACIA */
}

/* Mostrar menú - SIN DELAY */
.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s; /* Sin delay al mostrar */
}

/* Opciones del menú */
.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #fff0f3;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #fff5f7;
    color: #ff4d6d;
    padding-left: 25px;
}

/* Botón cerrar sesión */
#logout-btn {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    background: white;
    border: none;
    font-size: 14px;
    color: #ff4d6d;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    border-top: 1px solid #ffe5e8;
}

#logout-btn:hover {
    background: #ff4d6d;
    color: white;
}

/* ============================================
   VERSIÓN MÓVIL (sin delay)

  /* Dashboard button en móvil */
@media (max-width: 768px) {
    #dashboard-btn {
        font-size: 0 !important;
        padding: 8px !important;
    }
    
    #dashboard-btn .header-icon {
        width: 20px;
        height: 20px;
    }
}
/* ============================================
   FIX PARA EL MENÚ DE USUARIO EN MÓVIL
   ============================================ */

@media (max-width: 768px) {
  /* Anular la regla que oculta texto en los enlaces SOLO para el dropdown */
  .dropdown .dropdown-content a,
  .dropdown .dropdown-content button {
    font-size: 14px !important;
    display: block !important;
    padding: 12px 20px !important;
    color: #333 !important;
    background: white !important;
    text-align: left !important;
  }
  
  .dropdown .dropdown-content a:hover,
  .dropdown .dropdown-content button:hover {
    background: #fff0f3 !important;
    color: #ff4d6d !important;
  }
  
  /* Asegurar que el botón de cerrar sesión también se vea */
  .dropdown .dropdown-content .logout-link,
  #logout-btn {
    font-size: 14px !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    border: none !important;
    background: white !important;
    cursor: pointer !important;
  }
  
  /* El botón del usuario (nombre) debe mantener su estilo */
  .dropbtn {
    font-size: 12px !important;
    padding: 6px 12px !important;
    background: #ff4d6d !important;
    color: white !important;
  }
  
  /* El menú dropdown debe ser visible */
  .dropdown-content {
    min-width: 180px !important;
    right: 0 !important;
    left: auto !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
  }
}

/* Menú hamburguesa */
.menu-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Menú lateral */

@media (min-width: 769px) {
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
    z-index: 998;
    pointer-events: none; /* No interfiere con clics */
  }
}
.side-nav {
  height: 100%;
  width: 240px;
  position: fixed;
  top: 0;
  left: -240px;
  background: white;
  transition: 0.3s ease;
  padding-top: 60px;
  box-shadow: 5px 0 15px rgba(0,0,0,0.1);
  z-index: 2000;
  overflow-y: auto;
  overflow-x: hidden;
}

.side-nav.active {
  left: 0;
}

.side-nav a, .side-nav button {
  padding: 15px 25px;
  text-decoration: none;
  font-size: 16px;
  color: #333;
  display: block;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
 font-size: 14px; /* Texto un poco más pequeño */
}

.side-nav a:hover, .side-nav button:hover {
  background: #fce4ec;
  color: #ff4d6d;
}

.close-btn {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
}


/* ============================================
   SLIDER
   ============================================ */
.slider {
  width: 70%;
  max-width: 1500px;
  height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 25px auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  display: none;
  animation: fade 0.8s ease;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  color: black;
  border: none;
  padding: 15px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.prev:hover, .next:hover {
  background: white;
}

.prev { left: 15px; }
.next { right: 15px; }

@keyframes fade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* ============================================
   VIDEOS
   ============================================ */
   
.video-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: transparent;
  border: 1.5px solid white;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 10;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease;
}

.video-badge:hover {
  background: white;
  color: black;
  border-color: white;
}
.video-showcase {
  padding: 60px 8%;
  background: linear-gradient(to bottom, #fff0f6, #fff0f6cb);
}

.video-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.video-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.video-card {
  position: relative;
  width: 300px;
  height: 540px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-overlay h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-weight: 600;
}

.btn-ver-producto {
  background: #ff4d6d;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
    font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-ver-producto:hover {
  background: #e63946;
  transform: scale(1.05);
}

/* ============================================
   MODAL DE PRODUCTO
   ============================================ */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: white;
  border-radius: 25px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  pointer-events: auto;
}
.product-modal .modal-content {
  overflow-y: auto;
  max-height: 85vh;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE y Edge */
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  cursor: pointer;
  color: #333;
  z-index: 10;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ff4d6d;
}

.modal-product-detail {
  display: flex;
  flex-direction: row;
  padding: 30px;
  gap: 30px;
}

.modal-product-img {
  flex: 1;
  text-align: center;
    cursor: default !important;
  user-select: none;
}
/* Cursor normal en imágenes del modal */
.modal-product-img img,
.product-modal img,
.modal-content img {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  pointer-events: none; /* La imagen no recibe clics, solo se ve */
}

.modal-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-product-info h2 {
  font-size: 28px;
  color: #333;
  font-family: 'Playfair Display', serif;
  margin: 0;
}

.modal-product-info .modal-price {
  font-size: 32px;
  font-weight: bold;
  color: #ff4d6d;
  margin: 10px 0;
}

.modal-product-info .modal-brand {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-product-info .modal-category {
  background: #f0f0f0;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
  width: fit-content;
}

.modal-product-info .modal-description {
  max-height: 120px;
  overflow-y: auto;
  padding-right: 5px;
}


.modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-modal-add {
  flex: 1;
  background: #ff4d6d;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-add:hover {
  background: #e63946;
  transform: scale(1.02);
}

.btn-modal-close {
  flex: 1;
  background: #f0f0f0;
  color: #333;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-close:hover {
  background: #e0e0e0;
}

.product-clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-clickable:hover .img-container img {
  transform: scale(1.05);
}

.img-container {
  overflow: hidden;
  border-radius: 15px;
}

.img-container img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .modal-product-detail {
    flex-direction: column;
    padding: 20px;
  }
  
  .modal-product-img img {
    max-width: 200px;
  }
  
  .modal-product-info h2 {
    font-size: 22px;
  }
  
  .modal-product-info .modal-price {
    font-size: 28px;
  }
}

/* ============================================
   MENÚ DE MARCAS
   ============================================ */
.brand-menu-sticky {
  position: sticky;
  top: 80px;
  z-index: 990;
  background: rgba(243,131,193,0.664);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 5px 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center; /* Centra todo el contenido */
  overflow-x: auto;
  white-space: nowrap;
}

.brand-carousel-compact {
  display: flex;
  align-items: center;
  gap: 30px;
  width: auto; /* Cambiado de 55% a auto */
  padding: 0 20px; /* Padding consistente */
}

.brand-item-mini {
  cursor: pointer;
  flex-shrink: 0;
}

.todo-btn {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  border-right: 1px solid #e63f92;
  padding-right: 20px;
}

.brand-instruction {
  text-align: center;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  width: auto; /* Cambiado de 22% a auto */
  margin-right: 20px; /* Espacio después del texto */
  font-weight: 600;
  white-space: nowrap;
}

.brand-item-mini {
  cursor: pointer;
  flex-shrink: 0;
  width: auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item-mini img {
  height: 45px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
  object-fit: contain;
}

/* AJUSTES INDIVIDUALES POR MARCA */

/* NYX - más pequeño (reducir de 45px a 32px) */
.brand-item-mini img[alt="NYX"] {
  height: 32px;
}

/* Maybelline - más grande (aumentar de 45px a 55px) */
.brand-item-mini img[alt="Maybelline"] {
  height: 55px;
}

/* Dior - un poco más pequeño (reducir a 38px) */
.brand-item-mini img[alt="Dior"] {
  height: 38px;
}

/* Fenty - más grande (aumentar a 52px) */
.brand-item-mini img[alt="Fenty"] {
  height: 52px;
}

/* Bissu - mantener como está (45px) */
.brand-item-mini img[alt="Bissu"] {
  height: 45px;
}

/* L'Oréal - mantener como está (45px) */
.brand-item-mini img[alt="L'Oréal"] {
  height: 45px;
}

/* Rare Beauty - ajustar si es necesario */
.brand-item-mini img[alt="Rare Beauty"] {
  height: 48px;
}

/* MAC - mantener como está */
.brand-item-mini img[alt="MAC"] {
  height: 45px;
}

.brand-item-mini:hover img,
.brand-item-mini.selected img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

/* ============================================
   BANNERS TRIPLES - RESPONSIVE CORREGIDO
   ============================================ */

.triple-banner-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #e8d8cc00 0%, #f3ebe5 40%, #ffffff 100%);
}

.triple-container-full {
  display: flex;
  gap: 20px;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
}

.banner-box-luxe {
  flex: 1;
  height: 500px;
  display: flex;
  flex-direction: column;
  border-radius: 35px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.banner-box-luxe:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(255,77,109,0.2);
}

.banner-info-luxe {
  padding: 45px 30px;
  text-align: center;
  height: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-info-luxe h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #222;
}

.banner-info-luxe p {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  max-width: 85%;
}

.banner-img-luxe {
  width: 100%;
  height: 55%;
}

.banner-img-luxe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

/* ============================================
   RESPONSIVE PARA TABLET (entre 481px y 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .triple-banner-section {
    padding: 40px 0;
  }
  
  .triple-container-full {
    flex-direction: column;
    gap: 20px;
    width: 90%;
  }
  
  .banner-box-luxe {
    height: 280px;
    flex-direction: row;
    border-radius: 25px;
  }
  
  .banner-info-luxe {
    width: 50%;
    height: 100%;
    padding: 20px;
    text-align: left;
    align-items: flex-start;
  }
  
  .banner-info-luxe h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .banner-info-luxe p {
    font-size: 12px;
    margin-bottom: 15px;
    max-width: 100%;
  }
  
  .banner-img-luxe {
    width: 50%;
    height: 100%;
  }
  
  .btn-luxe {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* ============================================
   MÓVIL (max 480px) - TARJETAS MÁS PEQUEÑAS
   ============================================ */
@media (max-width: 480px) {
  .triple-banner-section {
    padding: 30px 0;
  }
  
  .triple-container-full {
    flex-direction: column;
    gap: 15px;
    width: 92%;
  }
  
  .banner-box-luxe {
    height: 160px; /* Más pequeñas */
    flex-direction: row;
    border-radius: 20px;
  }
  
  .banner-info-luxe {
    width: 55%;
    height: 100%;
    padding: 15px;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
  }
  
  .banner-info-luxe h3 {
    font-size: 14px; /* Título más pequeño */
    margin-bottom: 4px;
  }
  
  .banner-info-luxe p {
    font-size: 10px; /* Texto más pequeño */
    margin-bottom: 10px;
    max-width: 100%;
    line-height: 1.3;
  }
  
  .banner-img-luxe {
    width: 45%;
    height: 100%;
  }
  
  .btn-luxe {
    padding: 6px 12px;
    font-size: 9px;
    border-radius: 20px;
  }
}

/* ============================================
   MÓVIL MUY PEQUEÑO (max 380px)
   ============================================ */
@media (max-width: 380px) {
  .banner-box-luxe {
    height: 140px;
  }
  
  .banner-info-luxe {
    padding: 10px;
  }
  
  .banner-info-luxe h3 {
    font-size: 12px;
  }
  
  .banner-info-luxe p {
    font-size: 9px;
    margin-bottom: 8px;
  }
  
  .btn-luxe {
    padding: 5px 10px;
    font-size: 8px;
  }
}

.pro-box { background: #f8f1f1; }
.gift-box { background: #fef9e7; }
.skin-box { background: #e8f5e9; }

.btn-luxe {
  background: #694d4d;
  color: white;
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-luxe:hover {
  background: #ff4d6d;
}

/* ============================================
   MENÚ DE CATEGORÍAS
   ============================================ */
.category-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
  flex-wrap: wrap;
}

.category-menu button {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  padding: 5px 0;
}

.category-menu button::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4d6d;
  transition: 0.3s;
}

.category-menu button:hover::after,
.category-menu button.active::after {
  width: 100%;
}

.category-menu button.active {
  color: #ff4d6d;
}


/* ============================================
   PRODUCTOS (GRID)
   ============================================ */

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas fijas */
  gap: 15px; /* Reducimos el gap para que las tarjetas sean más anchas */
  padding: 20px 15px; /* Menos padding lateral */
  max-width: 1400px;
  margin: 0 auto;
}
/* Pantallas muy grandes */
@media (min-width: 1800px) {
  .products {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1800px;
  }
}
/* Laptops medianas */
@media (min-width: 1200px) and (max-width: 1599px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

/* Tablets horizontales */
@media (max-width: 1199px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Tablets verticales */
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px 10px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
}
.product-card-luxe {
  position: relative;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(99, 51, 51, 0.05);
}

.product-card-luxe:hover {
  box-shadow: 0 10px 25px rgba(255,77,109,0.15);
  transform: translateY(-5px);
}

.img-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  padding: 15px;
}

.img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
/* ============================================
   PULSACIONES PARA FAVORITOS Y CARRITO
   ============================================ */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    background: #ff4d6d;
    color: white;
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 0.4s ease-in-out;
}

/* Pulsación para el corazón */
.heart-fav.pulse {
  animation: pulse 0.4s ease-in-out;
}

/* Pulsación para los contadores del header */
#fav-count.pulse, #cart-count.pulse {
  animation: pulse 0.4s ease-in-out;
  display: inline-block !important;
}

/* Efecto de click en botones de agregar */
.btn-buy-luxe:active {
  transform: scale(0.95);
  background: #ff4d6d;
  transition: transform 0.1s;
}

/* Efecto de click en iconos de marca */
.brand-item-mini:active {
  transform: scale(0.9);
  transition: transform 0.1s;
}

.brand-item-mini:active img {
  filter: grayscale(0%);
  opacity: 1;
}

.product-card-luxe:hover .img-container img {
  transform: scale(1.1);
}

/* ============================================
   ESTILOS CORAZÓN FAVORITOS - CORREGIDO
   ============================================ */

.heart-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;  /* ← SIN FONDO BLANCO */
  border: none;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: none;  /* ← SIN SOMBRA */
}

.heart-icon {
  width: 24px;  /* Un poco más grande para mejor visibilidad */
  height: 24px;
  object-fit: contain;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Estado NORMAL (NO favorito) - Corazón GRIS */
.heart-fav:not(.active) .heart-icon {
  filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) brightness(90%) contrast(90%);
  /* Corazón gris oscuro cuando NO está en favoritos */
  opacity: 0.8;
}

/* Estado ACTIVO (en favoritos) - CORAZÓN ROJO */
.heart-fav.active .heart-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(3000%) hue-rotate(330deg) brightness(100%) contrast(100%);
  /* Corazón rojo brillante cuando ESTÁ en favoritos */
  opacity: 1;
}

/* Efecto hover - SIN FONDO BLANCO */
.heart-fav:hover {
  transform: scale(1.2);
  background: transparent;  /* SIN FONDO */
}

.heart-fav:hover .heart-icon {
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(2000%) hue-rotate(330deg) brightness(100%) contrast(100%);
  /* Rojo más claro en hover */
}

/* Hover cuando ya está activo (favorito) */
.heart-fav.active:hover {
  background: transparent;
}

.heart-fav.active:hover .heart-icon {
  filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(3000%) hue-rotate(330deg) brightness(95%) contrast(100%);
  /* Rojo más intenso en hover */
}

.info-luxe {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.info-luxe h4 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.subtitle-luxe {
  font-size: 11px;
  color: #888;
  margin: 5px 0 10px 0;
  font-weight: 400;
}

.price-luxe {
  font-size: 18px;
  font-weight: 600;
  color: #ff4d6d;
  margin: 0 0 10px 0;
}

.btn-buy-luxe {
  background: #c97c7ca1;
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s;
  margin-top: auto;
}

.btn-buy-luxe:hover {
  background: #ff4d6d;
}

/* Quitar scrollbars innecesarios */
.brand-menu-sticky::-webkit-scrollbar,
.category-menu::-webkit-scrollbar,
.video-grid::-webkit-scrollbar {
  display: none;
}

.brand-menu-sticky,
.category-menu,
.video-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* ============================================
   VIDEOS CON FONDO PATTERN
   ============================================ */
.video-showcase {
  padding: 60px 8%;
  background: linear-gradient(to bottom, #fff0f6fa, #fff0f6cb), url('../img/pettern.jpeg');
  background-repeat: repeat;
  background-size: auto, 200px;
}

.video-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: black;
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 9999;
}

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

/* ============================================
   MODAL DEL LOOK
   ============================================ */
.look-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.171);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.look-modal-content {
   scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE y Edge */
  background: white;
  padding: 40px;
  border-radius: 30px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-look {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 35px;
  cursor: pointer;
}

#look-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
/* ============================================
   LOOK MODAL - RESPONSIVE MÓVIL
   ============================================ */

/* Tablet y móvil */
@media (max-width: 768px) {
  .look-modal {
    padding: 10px;
  }
  
  .look-modal-content {
    padding: 25px 20px;
    max-width: 95%;
    border-radius: 20px;
  }
  
  .close-look {
    top: 12px;
    right: 15px;
    font-size: 28px;
  }
  
  #look-products {
    gap: 15px;
  }
  
  #look-products > div {
    width: calc(50% - 10px);
    min-width: 140px;
    padding: 12px;
  }
  
  #look-products img {
    height: 100px;
  }
  
  #look-products h4 {
    font-size: 12px;
  }
  
  #look-products p {
    font-size: 13px;
  }
  
  #look-products button {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .btn-add-all-luxe {
    padding: 12px 20px;
    font-size: 12px;
  }
  
  #look-products h2 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .look-modal-content {
    padding: 20px 15px;
  }
  
  .close-look {
    top: 10px;
    right: 12px;
    font-size: 24px;
  }
  
  #look-products {
    gap: 12px;
  }
  
  #look-products > div {
    width: calc(50% - 6px);
    min-width: 130px;
    padding: 10px;
  }
  
  #look-products img {
    height: 85px;
  }
  
  #look-products h4 {
    font-size: 11px;
  }
  
  #look-products p {
    font-size: 12px;
  }
  
  #look-products button {
    padding: 5px 10px;
    font-size: 10px;
  }
  
  .btn-add-all-luxe {
    padding: 10px 16px;
    font-size: 11px;
  }
  
  #look-products h2 {
    font-size: 18px !important;
  }
}

/* ============================================
   FOOTER - VERSIÓN REDUCIDA
   ============================================ */
.footer-luxe {
  background: white;
  padding: 40px 20px 20px;  /* Reducido de 80px a 40px */
  border-top: 2px solid #ffc8dd;
  margin-top: 60px;  /* Reducido de 100px a 60px */
  border-radius: 40px 40px 0 0;  /* Reducido de 60px a 40px */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Columnas más pequeñas */
  gap: 30px; /* Reducido de 40px a 30px */
}

.footer-column h3 {
  font-size: 18px; /* Reducido de 20px a 18px */
  margin-bottom: 15px; /* Reducido de 25px a 15px */
  color: #333;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -5px; /* Ajustado */
  left: 0;
  width: 25px; /* Reducido de 30px a 25px */
  height: 2px;
  background: #ff4d6d;
}

.footer-logo {
  width: 100px; /* Reducido de 130px a 100px */
  margin-bottom: 10px; /* Reducido de 20px a 10px */
}

.footer-description {
  color: #666;
  line-height: 1.5; /* Reducido de 1.6 a 1.5 */
  font-size: 13px; /* Reducido de 14px a 13px */
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 10px; /* Reducido de 15px a 10px */
  margin-top: 15px; /* Reducido de 25px a 15px */
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* Reducido de 50px a 40px */
  height: 40px; /* Reducido de 50px a 40px */
  background: #fff0f3;
  border-radius: 50%;
  text-decoration: none;
  color: #ff4d6d;
  font-weight: bold;
  font-size: 12px; /* Texto más pequeño */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px; /* Reducido de 12px a 8px */
}

.footer-column ul li a {
  text-decoration: none;
  color: #666;
  font-size: 13px; /* Reducido de 14px a 13px */
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #ff4d6d;
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  gap: 8px; /* Reducido de 10px a 8px */
  margin-top: 15px; /* Reducido de 20px a 15px */
}

.newsletter-form input {
  flex: 1;
  background: #fff0f3;
  border: 1px solid #ffc8dd;
  padding: 10px 12px; /* Reducido de 12px 15px */
  border-radius: 20px; /* Reducido de 25px a 20px */
  font-size: 13px; /* Reducido de 14px a 13px */
}

.newsletter-form button {
  background: black;
  color: white;
  border: none;
  padding: 8px 18px; /* Reducido de 10px 25px */
  border-radius: 20px; /* Reducido de 25px a 20px */
  cursor: pointer;
  font-weight: 600;
  font-size: 13px; /* Añadido */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px; /* Reducido de 60px a 30px */
  padding-top: 15px; /* Reducido de 25px a 15px */
  border-top: 1px solid #eee;
  font-size: 12px; /* Reducido de 13px a 12px */
  color: #999;
  
}
/* ============================================
   RESPONSIVE - MÓVIL (TEXTO OCULTO, SOLO PNG)
   ============================================ */
@media (max-width: 768px) {
  .header {
    padding: 0 15px;
    height: 70px;
  }
  
  .logo {
    width: 80px;
  }
  
  .slogan-minimal {
    display: none;
  }
  
  .header-center {
    display: flex;
    margin: 0 8px;
  }
  
  .buscar {
    height: 38px;
    font-size: 13px;
    padding: 0 12px;
  }
  
  .filtro {
    display: none;
  }
  
  /* Ocultar texto y mostrar solo PNG */
  .icons a {
    font-size: 0;
    padding: 8px;
  }
  
  .icons a span:not(#fav-count):not(#cart-count) {
    display: none;
  }
   /* EXCEPCIÓN: NO ocultar el botón "Volver al carrito" */
  .icons a.back-to-cart {
    font-size: 12px !important;  /* Mostrar texto */
    padding: 6px 12px !important;
    background: #f0f0f0;
    border-radius: 20px;
    white-space: nowrap;
  }
  
  .icons a span:not(#fav-count):not(#cart-count) {
    display: none;
  }
  /* TUS PNG se mantienen visibles */
  .header-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Ajuste específico para login en móvil */
  #login-btn .header-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Contadores en móvil */
  #fav-count, #cart-count {
    font-size: 10px;
    padding: 2px 5px;
    margin-left: -5px;
    position: relative;
    top: -8px;
  }
  
  .brand-menu-sticky {
    top: 70px;
    height: 55px;
     scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  
  .brand-instruction {
    display: none;
  }
  
  .brand-carousel-compact {
   
    gap: 18px;
    padding: 0 15px;
  }
  
  .brand-item-mini img {
    height: 28px;
  }
  
  .slider {
    width: 92%;
    height: 170px;
  }
  
  .prev, .next {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
  }
  
 
  .triple-banner-section {
    padding: 20px 15px;
  }
  
  
  .triple-container-full {
    flex-direction: column;
    gap: 12px;
  }
  
  .banner-box-luxe {
    height: 240px;
  }
  
  .banner-info-luxe {
    padding: 15px;
  }
  
  .banner-info-luxe h3 {
    font-size: 16px;
  }
  
  .btn-luxe {
    padding: 6px 16px;
    font-size: 10px;
  }
  
    .category-menu {
    justify-content: flex-start;
    gap: 20px;
    padding: 12px 15px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    margin: 10px 0;
    border-radius: 0;
    /* Ocultar scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .category-menu::-webkit-scrollbar {
    display: none;
  }
  
  .category-menu button {
    font-size: 13px;
    padding: 8px 0;
    flex-shrink: 0;
  }
  
  .category-menu button:first-child {
    margin-left: 0;
  }
  
  .category-menu button:last-child {
    margin-right: 15px;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
  
  .footer-luxe {
    padding: 40px 20px 20px;
    border-radius: 30px 30px 0 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  /* EFECTO DE GIRO EN PC - FUERA DEL MEDIA QUERY */
.social-links a:hover .logo {
  transform: rotate(360deg) scale(1.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Asegurar que la transición esté en el estado normal también */
.social-links a .logo {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
  .social-links {
    justify-content: center;
  }
  /* Efecto de giro en PC */
  .social-links a:hover .logo {
    transform: rotate(360deg) scale(1.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  }
/* EFECTO TAP EN MÓVIL */
@media (hover: none) {
  .social-links a:active {
    background: #ff4d6d;
    transform: scale(0.95);
  }
  
}

/* Para mantener consistencia en todos los dispositivos */
.social-links a:focus {
  outline: none;
}
  .newsletter-form {
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .look-modal-content {
    padding: 20px;
  }
  
  #look-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* ============================================
   VIDEOS - RESPONSIVE PARA TODAS LAS PANTALLAS
   ============================================ */

/* Estilos base para escritorio (grid normal) */
.video-showcase {
  padding: 60px 8%;
  background: linear-gradient(to bottom, #fff0f6fa, #fff0f6cb), url('../img/pettern.jpeg');
  background-repeat: repeat;
  background-size: auto, 200px;
}

.video-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.video-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}


/* ============================================
   TABLET Y LAPTOPS PEQUEÑAS (entre 769px y 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-showcase {
    padding: 40px 20px;
  }
  
  .video-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .video-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 20px 20px 20px;
    margin: 0;
    justify-content: flex-start;
  }
  
  /* Espacio al inicio y final para mejor experiencia */
  .video-grid::before {
    content: '';
    display: block;
    flex: 0 0 10px;
    min-width: 10px;
  }
  
  .video-grid::after {
    content: '';
    display: block;
    flex: 0 0 10px;
    min-width: 10px;
  }
  
  .video-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    height: 500px;
    width: auto;
  }
  
  /* Ocultar scrollbar pero mantener funcionalidad */
  .video-grid::-webkit-scrollbar {
    height: 4px;
  }
  
  .video-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .video-grid::-webkit-scrollbar-thumb {
    background: #ff4d6d;
    border-radius: 10px;
  }
}

/* ============================================
   TABLET VERTICAL (entre 481px y 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .video-showcase {
    padding: 30px 15px;
  }
  
  .video-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  
  .video-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 5px 15px 20px 15px;
    margin: 0;
    justify-content: flex-start;
  }
  
  .video-grid::before {
    content: '';
    display: block;
    flex: 0 0 8px;
    min-width: 8px;
  }
  
  .video-grid::after {
    content: '';
    display: block;
    flex: 0 0 8px;
    min-width: 8px;
  }
  
  .video-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    height: 460px;
    width: auto;
  }
  
  .video-grid::-webkit-scrollbar {
    height: 4px;
  }
  
  .video-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .video-grid::-webkit-scrollbar-thumb {
    background: #ff4d6d;
    border-radius: 10px;
  }
}

/* ============================================
   MÓVIL (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .video-showcase {
    padding: 20px 0;
  }
  
  .video-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding: 0 15px;
  }
  
  .video-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 5px 0 15px 12px;
    margin: 0;
    justify-content: flex-start;
  }
  
  .video-grid::after {
    content: '';
    display: block;
    flex: 0 0 12px;
    min-width: 12px;
  }
  
  .video-card {
    scroll-snap-align: start;
  flex: 0 0 170px;  /* Reducido de 200px a 170px */
    height: 300px;     /* Reducido de 360px a 300px */
    width: auto;
  }
  /* Ajustar el overlay para móvil */
  .video-overlay {
    padding: 12px;
  }
  
  .video-overlay h3 {
    font-size: 12px;   /* Texto más pequeño */
    margin-bottom: 5px;
  }
  
  .btn-ver-producto {
    font-size: 10px;   /* Botón más pequeño */
    padding: 5px 10px;
  }
  
  
  .video-grid::-webkit-scrollbar {
    height: 3px;
  }
}

/* ============================================
   PANTALLAS GRANDES (normal, sin cambios)
   ============================================ */
@media (min-width: 1025px) {
 .video-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: nowrap;  /* 👈 Cambia de "wrap" a "nowrap" */
    overflow-x: auto;   /* 👈 Agrega scroll horizontal si no caben */
    overflow-y: visible;
    padding: 10px 20px;
  }
  
  .video-card {
    flex: 0 0 auto;
    width: 300px;
    height: 540px;
  }
}
/* ============================================
   PANTALLAS MUY PEQUEÑAS
   ============================================ */
@media (max-width: 480px) {
  .logo {
    width: 70px;
  }
  
  .slider {
    height: 140px;
  }
  
  .video-card {
    flex: 0 0 170px;
    height: 300px;
  }
  
  .banner-box-luxe {
    height: 220px;
  }
  
  .brand-item-mini img {
    height: 20px;
  }
  
  .header-icon {
    width: 16px;
    height: 16px;
  }
  
  #login-btn .header-icon {
    width: 16px;
    height: 16px;
  }
}


/*carrito.html*/
.cart-page-wrapper {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.cart-main-content {
  flex: 2;
  min-width: 0;
}

.cart-sidebar {
  flex: 1;
  min-width: 280px;
}

/* ============================================
   BOTÓN VACIAR CARRITO - CENTRADO
   ============================================ */
.btn-vaciar {
  background: transparent;
  border: none;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 15px;
  position: relative;
  transition: all 0.3s ease;
}

.btn-vaciar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #ff4d6d;
  transition: 0.3s;
}

.btn-vaciar:hover {
  color: #ff4d6d;
}

.btn-vaciar:hover::after {
  width: 100%;
}


/* ============================================
   TARJETAS DE PRODUCTOS EN CARRITO
   ============================================ */
#cart-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#cart-items .card {
  background: white;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #f2f2f2;
  transition: all 0.3s ease;
}

#cart-items .card:hover {
  box-shadow: 0 10px 25px rgba(255,77,109,0.15);
}

#cart-items .card > div {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

#cart-items .card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

#cart-items .card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #333;
}

#cart-items .card p {
  color: #ff4d6d;
  font-weight: 600;
  margin: 0;
}

/* ============================================
   BOTONES + y - REDISEÑADOS (SIN IMÁGENES)
   ============================================ */
#cart-items .card button[onclick*="cambiarCantidad"] {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #333;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

#cart-items .card button[onclick*="cambiarCantidad"]:hover {
  background: #ff4d6d;
  color: white;
  transform: scale(1.1);
}

/* Eliminar las imágenes de los botones */
#cart-items .card button[onclick*="cambiarCantidad"] img {
  display: none;
}

/* Reemplazar con texto */
#cart-items .card button[onclick*="cambiarCantidad"]:first-of-type::before {
  content: "−";
  font-size: 20px;
  font-weight: bold;
}

#cart-items .card button[onclick*="cambiarCantidad"]:last-of-type::before {
  content: "+";
  font-size: 20px;
  font-weight: bold;
}

/* Número de cantidad */
#cart-items .card b {
  font-size: 16px;
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: #333;
}

/* Botón eliminar */
#cart-items .card button[onclick*="eliminarProducto"] {
  background: none;
  color: #ff4d6d;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #ff4d6d;
  border-radius: 20px;
  padding: 6px 15px;
  width: auto;
  height: auto;
  margin-left: 5px;
  transition: all 0.2s ease;
  cursor: pointer;
}

#cart-items .card button[onclick*="eliminarProducto"]:hover {
  background: #ff4d6d;
  color: white;
}

/* ============================================
   BARRA DE ENVÍO GRATIS
   ============================================ */
.shipping-box {
  background: #fff0f3;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}

.shipping-bar {
  height: 8px;
  background: #ffe5ec;
  border-radius: 10px;
  margin-top: 8px;
  overflow: hidden;
}

.shipping-progress {
  height: 100%;
  background: #ff4d6d;
  width: 0%;
  transition: width 0.4s ease;
}

/* Cuando se alcanza el envío gratis */
.shipping-progress[style*="width:100%"],
.shipping-progress[style*="background:#2ecc71"] {
  background: #2ecc71 !important;
}

/* ============================================
   RESUMEN DE COMPRA - CENTRADO
   ============================================ */
.summary-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #f2f2f2;
  text-align: center; /* Esto centra todo el contenido */
}

#total {
  font-size: 24px;
  font-weight: bold;
  color: #ff4d6d;
  margin: 15px 0 20px 0;
  text-align: center; /* Centrar el texto del total */
}

#total div {
  line-height: 1.5;
  text-align: center; /* Asegurar que los divs internos también estén centrados */
}

#total hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 10px auto; /* auto en los lados lo centra */
  width: 80%; /* Un poco más corto para que se vea mejor centrado */
}

#total small {
  display: block;
  margin-top: 5px;
  text-align: center;
}

.btn-pagar {
  background: #000;
  color: white;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto; /* Centrar el botón (aunque ya ocupa el 100%) */
}

.btn-pagar:hover {
  background: #ff4d6d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,77,109,0.3);
}

/* La barra de envío también centrada */
.shipping-box {
  background: #fff0f3;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

.shipping-bar {
  height: 8px;
  background: #ffe5ec;
  border-radius: 10px;
  margin: 8px auto 0 auto;
  overflow: hidden;
  width: 90%; /* Un poco más angosta para que se vea mejor centrada */
}
/* ============================================
   SUGERENCIAS
   ============================================ */
.sugerencias-sidebar {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #f2f2f2;
}

.sugerencias-sidebar h3 {
  color: #ff4d6d;
  font-size: 18px;
  margin: 0 0 5px 0;
}

.sugerencias-sidebar .card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sugerencias-sidebar .card:hover {
  border-color: #ff4d6d;
  box-shadow: 0 5px 15px rgba(255,77,109,0.1);
}

.sugerencias-sidebar .card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.sugerencias-sidebar .card h4 {
  font-size: 13px;
  margin: 0 0 3px 0;
  font-weight: 600;
}

.sugerencias-sidebar .card p {
  color: #ff4d6d;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.sugerencias-sidebar .card button {
  background: #ff4d6d;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.sugerencias-sidebar .card button:hover {
  background: #000;
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .cart-page-wrapper {
    flex-direction: column;
    padding: 10px;
    gap: 15px;
  }
  
  .cart-main-content,
  .cart-sidebar {
    width: 100%;
  }
  
  #cart-items .card {
    padding: 12px;
  }
  
  #cart-items .card > div {
    gap: 10px;
  }
  
  #cart-items .card img {
    width: 60px;
    height: 60px;
  }
  
  #cart-items .card h3 {
    font-size: 14px;
  }
  
  #cart-items .card button[onclick*="cambiarCantidad"] {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  #cart-items .card b {
    font-size: 14px;
    min-width: 25px;
  }
  
  #cart-items .card button[onclick*="eliminarProducto"] {
    padding: 4px 12px;
    font-size: 12px;
  }
  
  .summary-card {
    padding: 15px;
  }
  
  #total {
    font-size: 22px;
  }
  
  .btn-pagar {
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  #cart-items .card > div {
    justify-content: center;
    text-align: center;
  }
  
  #cart-items .card img {
    width: 80px;
    height: 80px;
  }
  
  .btn-vaciar {
    width: 100%;
    text-align: center;
  }
}
/*favoritos.html*/

.favorites-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0 0 0;
  padding: 0;
}

.favorites-header .btn-vaciar {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}
/* ============================================
   TARJETAS DE FAVORITOS (MISMO ESTILO QUE INDEX)
   ============================================ */
#fav-items .card {
    position: relative;
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(99, 51, 51, 0.05);
    padding: 0;
}

#fav-items .card:hover {
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.15);
    transform: translateY(-5px);
}


#fav-items .card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 15px;
  transition: transform 0.5s ease;
}

#fav-items .card:hover img {
  transform: scale(1.05);
}

#fav-items .card h4 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  padding: 0 12px;
  text-transform: uppercase;
}

#fav-items .card p {
  font-size: 18px;
  font-weight: 600;
  color: #ff4d6d;
  margin: 8px 0;
  padding: 0 12px;
}

#fav-items .card button {
  background: #c97c7ca1;
  color: white;
  border: none;
  width: calc(100% - 24px);
  margin: 0 12px 12px 12px;
  padding: 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s;
  border-radius: 8px;
}

#fav-items .card button:hover {
  background: #ff4d6d;
}

/* Ajustes responsive para las tarjetas */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Pantallas muy grandes */
@media (min-width: 1800px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1800px;
    }
}

/* Laptops medianas */
@media (min-width: 1200px) and (max-width: 1599px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

/* Tablets horizontales */
@media (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Tablets verticales */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px 10px;
    }
}

/* ============================================
   MENSAJE DE FAVORITOS VACÍO (SIN FONDO BLANCO)
   ============================================ */
.empty-favorites-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: transparent; /* Sin fondo blanco */
  margin: 20px 0;
}

.empty-favorites-message p {
  font-size: 18px;
  color: #666;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
}

.btn-continuar-fav {
  display: inline-block;
  background: #ff4d6d;
  color: white;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

.btn-continuar-fav:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/*nosotros.html*/
/* Hero section */
.about-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fffaf0 0%, #ffe4ec 100%);
  border-radius: 30px;
  margin: 20px 0 40px 0;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #333;
  margin-bottom: 15px;
}

.about-hero .subtitle {
  font-size: 1.2rem;
  color: #ff4d6d;
  font-style: italic;
}

/* Contenido principal */
.about-content {
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.about-text {
  text-align: center;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #ff4d6d;
  border-radius: 3px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Tarjetas de valores */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid #f2f2f2;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255,77,109,0.1);
  border-color: #ff4d6d;
}

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #ff4d6d;
  margin-bottom: 15px;
}

.value-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }
  
  .about-hero .subtitle {
    font-size: 1rem;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .values {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .value-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 40px 15px;
  }
  
  .about-hero h1 {
    font-size: 1.8rem;
  }
}
/* ============================================
   BOTÓN VOLVER - VISIBLE EN MÓVIL
   ============================================ */

.icons a[href="index.html"] {
  display: inline-flex !important;
  align-items: center;
  padding: 8px 15px;
  background: #f0f0f0;
  border-radius: 20px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.icons a[href="index.html"]:hover {
  background: #ff4d6d;
  color: white;
}

@media (max-width: 768px) {
  .icons a[href="index.html"] {
    display: inline-flex !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    background: #f0f0f0 !important;
  }
  
  .icons a[href="index.html"]:hover {
    background: #ff4d6d !important;
  }
  
  .icons a[href="index.html"] {
    font-size: 13px !important;
    text-indent: 0 !important;
  }
  
  .icons a[href="index.html"]::before {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .icons a[href="index.html"] {
    font-size: 12px !important;
    padding: 5px 10px !important;
  }
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.auth-container {
  max-width: 500px;
  width: 90%;
  margin: 40px auto;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 35px 30px;
}

.auth-box {
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.auth-box.hidden {
  display: none;
}

.auth-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #333;
  text-align: center;
  margin: 0 0 20px 0;
  position: relative;
}

.auth-box h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ff4d6d;
  border-radius: 3px;
}

.auth-box h2:last-of-type {
  margin-top: 25px;
  font-size: 22px;
}

.auth-box h2:last-of-type::after {
  width: 40px;
  height: 2px;
}

/* ============================================
   INPUTS EN PARES (NOMBRE/APELLIDO, CORREO/CONTRASEÑA)
   ============================================ */

.input-pair {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: 8px 0;
}

.input-pair input {
  flex: 1;
  margin: 0 !important;
}

/* ============================================
   INPUTS - ESTILOS BASE
   ============================================ */

.auth-box input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 5px !important;  /* Espacio entre inputs */
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  background: #f9f9f9;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.auth-box input:focus {
  border-color: #ff4d6d;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.3);
  background: white;
  transform: scale(1.01);
}

.auth-box input::placeholder {
  color: #aaa;
  font-size: 14px;
}

/* ============================================
   TELÉFONO CON PREFIJO +52
   ============================================ */

.phone-input-container {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 8px 0;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.phone-input-container:focus-within {
  border-color: #ff4d6d;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.3);
  background: white;
}

.phone-prefix {
  padding: 14px 0 14px 18px;
  background: #f0f0f0;
  border-radius: 13px 0 0 13px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
  border-right: 2px solid #ddd;
}

.phone-input-container input {
  flex: 1;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 13px 13px 0 !important;
  background: transparent !important;
}

.phone-input-container input:focus {
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================
   DIRECCIÓN - INPUTS EN LÍNEA
   ============================================ */

.row-inputs {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: 8px 0;
}

.row-inputs input {
  flex: 1;
  margin: 0 !important;
}

/* Código postal más pequeño */
#reg-cp {
  max-width: 100px;
}

/* ============================================
   BOTONES
   ============================================ */

#btnLogin, #btnRegister {
  width: 100%;
  background: black;
  color: white;
  padding: 16px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 20px 0 15px 0;
  letter-spacing: 1px;
}

#btnLogin:hover, #btnRegister:hover {
  background: #ff4d6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

/* Botón Google */
.btn-google {
  width: 100%;
  padding: 14px 20px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 15px 0;
}

.btn-google:hover {
  border-color: #ff4d6d;
  background: #fff0f3;
  transform: translateY(-2px);
}

.btn-google img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Separador */
.separador {
  text-align: center;
  margin: 20px 0;
  color: #888;
  position: relative;
}

.separador span {
  background: white;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #999;
}

.separador::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 1;
}

/* Texto toggle */
.toggle-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.toggle-text span {
  color: #ff4d6d;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.toggle-text span:hover {
  color: #ff2d55;
}

/* ============================================
   ANIMACIÓN
   ============================================ */

.auth-box {
  animation: fadeIn 0.5s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  main {
    min-height: calc(100vh - 70px - 250px);
    padding: 15px;
  }
  
  .auth-container {
    max-width: 500px;
    padding: 30px 25px;
  }
  
  .auth-box h2 {
    font-size: 24px;
  }
  
  .auth-box h2:last-of-type {
    font-size: 20px;
  }
  
  .auth-box input,
  .phone-prefix {
    padding: 13px 16px;
    font-size: 14px;
  }
  
  #btnLogin, #btnRegister {
    padding: 15px 25px;
    font-size: 15px;
  }
  
  .btn-google {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .input-pair, .row-inputs {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 10px;
    min-height: calc(100vh - 60px - 200px);
  }
  
  .auth-container {
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 25px;
  }
  
  .auth-box h2 {
    font-size: 22px;
  }
  
  .auth-box h2::after {
    width: 50px;
    height: 2px;
    bottom: -8px;
  }
  
  .auth-box h2:last-of-type {
    font-size: 18px;
  }
  
  .auth-box input,
  .phone-prefix {
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 12px;
  }
  
  .phone-prefix {
    padding: 12px 0 12px 15px;
  }
  
  #btnLogin, #btnRegister {
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 20px;
    margin: 15px 0 10px 0;
  }
  
  .btn-google {
    padding: 11px 15px;
    font-size: 14px;
    border-radius: 20px;
    gap: 10px;
  }
  
  .separador {
    margin: 15px 0;
  }
  
  .separador span {
    font-size: 13px;
    padding: 0 15px;
  }
  
  .toggle-text {
    font-size: 13px;
    margin-top: 15px;
  }
  
  /* En móvil, los pares se apilan */
  .input-pair, .row-inputs {
    flex-direction: column;
    gap: 0;
  }
  
  .input-pair input,
  .row-inputs input {
    margin: 6px 0 !important;
  }
  
  #reg-cp {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .auth-container {
    padding: 20px 15px;
  }
  
  .auth-box h2 {
    font-size: 20px;
  }
  
  .auth-box input,
  .phone-prefix {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  #btnLogin, #btnRegister {
    padding: 12px 18px;
    font-size: 14px;
  }
  
  .btn-google {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .btn-google img {
    width: 16px;
    height: 16px;
  }
  
  .toggle-text {
    font-size: 12px;
  }
}
/*perfil*/
/* ============================================
   ESTILOS PARA PERFIL.HTML
   ============================================ */
.perfil-avatar {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .avatar-wrapper {
    position: relative;
    display: inline-block;
  }
  
  .avatar-circle {
    width: 120px;
    height: 120px;
    background-color: #ff4d6d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: white;
    font-family: 'Playfair Display', serif;
    background-size: cover;
    background-position: center;
  }
  
  .btn-editar-foto {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    padding: 0;
  }
  
  .btn-editar-foto:hover {
    transform: scale(1.1);
  }
  
  .btn-editar-foto img {
    width: 20px;
    height: 20px;
  }
.perfil-container {
  max-width: 650px;
  width: 90%;
  margin: 30px auto;
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(255, 77, 109, 0.15);
  padding: 40px;
  transition: all 0.3s ease;
}

.perfil-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #333;
  text-align: center;
  margin: 0 0 30px 0;
  position: relative;
}

.perfil-container h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #ff4d6d;
  border-radius: 3px;
}

/* Avatar */
.perfil-avatar {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-circle {
  width: 100px;
  height: 100px;
  background: #ff4d6d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  color: white;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

/* Secciones */
.perfil-section {
  background: #fafafa;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.perfil-section:hover {
  border-color: #ff4d6d;
  box-shadow: 0 5px 15px rgba(255, 77, 109, 0.1);
}

.perfil-section h3 {
  font-size: 20px;
  color: #ff4d6d;
  margin: 0 0 20px 0;
}

/* Campos */
.perfil-campo {
  margin-bottom: 15px;
}

.perfil-campo label {
  display: block;
  font-weight: 600;
  color: #555;
  font-size: 14px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.perfil-campo input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
}

.perfil-campo input:focus {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.1);
}

/* Grid para dirección */
.direccion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.direccion-grid .perfil-campo {
  margin-bottom: 0;
}

.direccion-grid .full-width {
  grid-column: span 2;
}

/* Botón guardar */
#btnGuardar {
  width: 100%;
  background: black;
  color: white;
  padding: 16px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  letter-spacing: 1px;
}

#btnGuardar:hover {
  background: #ff4d6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

/* Teléfono en perfil */
.perfil-campo .phone-input-container {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .perfil-container {
    padding: 30px 20px;
    width: 95%;
  }
  
  .perfil-container h2 {
    font-size: 28px;
  }
  
  .perfil-section {
    padding: 20px;
  }
  
  .direccion-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .direccion-grid .full-width {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .perfil-container {
    padding: 20px 15px;
  }
  
  .perfil-container h2 {
    font-size: 24px;
  }
  
  .perfil-section h3 {
    font-size: 18px;
  }
  
  .perfil-campo input {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  #btnGuardar {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .avatar-circle {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
}
/* ==========================================
   CHECKOUT - ESTILOS CORREGIDOS Y OPTIMIZADOS
   ========================================== */

/* Contenedor principal */
.checkout-container {
  background: #fdf2f5;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.checkout-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  max-width: 550px;
  width: 100%;
}

.checkout-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

/* Barra de progreso */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 30px 0;
  padding: 0 10px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #999;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: #ff4d6d;
  color: white;
  box-shadow: 0 5px 10px rgba(255, 77, 109, 0.3);
}

.step-label {
  font-size: 11px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-step.active .step-label {
  color: #ff4d6d;
}

.progress-line {
  height: 2px;
  background: #f0f0f0;
  flex: 1;
  margin: 0 5px;
  margin-bottom: 25px;
}

/* Secciones */
.checkout-section {
  margin-bottom: 25px;
  width: 100%;
}

.checkout-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.step-badge {
  background: #ff4d6d;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-right: 10px;
}

/* Inputs */
.input-group {
  width: 100%;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9f9f9;
  box-sizing: border-box;
}

.input-group input:focus {
  border-color: #ff4d6d;
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.1);
}

/* Métodos de pago */
.payment-methods {
  display: flex;
  gap: 15px;
  margin: 15px 0 20px 0;
  width: 100%;
}

.payment-option {
  flex: 1;
  min-width: 110px;
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #f9f9f9;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.payment-option input[type="radio"]:checked + .payment-label {
  border-color: #ff4d6d;
  background: #fff0f3;
  color: #ff4d6d;
}

.payment-icon {
  font-size: 18px;
}

/* Cajas de detalles de pago */
.payment-details-box {
  background: #fff0f3;
  padding: 20px;
  border-radius: 15px;
  margin-top: 15px;
  border: 1px solid #ffd6e0;
}

.payment-details-box.hidden {
  display: none;
}

.payment-details-box h4 {
  margin: 0 0 12px 0;
  color: #ff4d6d;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-info {
  font-size: 13px;
  color: #666;
  margin: 0 0 15px 0;
  padding: 12px;
  background: white;
  border-radius: 10px;
  border-left: 3px solid #ff4d6d;
  line-height: 1.4;
}

/* Inputs dentro de las cajas de pago */
.payment-details-box input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ffd6e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.payment-details-box input:focus {
  border-color: #ff4d6d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.1);
}

.input-row {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}

.input-row input {
  margin-bottom: 0;
}

/* Número de tarjeta específico */
#numeroTarjeta {
  letter-spacing: 1px;
  font-size: 15px;
}

.payment-icon-img {
  height: 45px !important;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
}
.payment-option .payment-icon-img {
  height: 45px !important;
  width: auto !important;
}
/* Para la tarjeta específicamente si sigue siendo más grande */
.payment-option:first-child .payment-icon-img {
  object-fit: cover;
  object-position: center;
  height: 50px;
}
/* Resumen de compra */
.checkout-summary {
  background: #fff5f7;
  border-radius: 20px;
  padding: 20px;
  margin: 25px 0;
}

.checkout-summary h3 {
  font-size: 16px;
  margin: 0 0 15px 0;
  color: #333;
  font-weight: 600;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.summary-row.discount-row {
  color: #4caf50;
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background: #ffccd5;
  margin: 12px 0;
}

.summary-row.total-row {
  font-size: 18px;
  font-weight: 700;
  color: #ff4d6d;
  padding-top: 5px;
}

/* Botones de acción */
.checkout-actions {
  display: flex;
  gap: 15px;
  margin: 20px 0 10px 0;
}

.btn-luxe-pay {
  flex: 1;
  background: #000;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-luxe-pay:hover {
  background: #ff4d6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

.secure-text {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 15px;
}

@media (max-width: 550px) {
  /* Métodos de pago en fila, pero más pequeños */
  .payment-methods {
    display: flex;
    flex-direction: row !important;
    gap: 10px;
    justify-content: space-between;
  }
  
    .payment-option {
    flex: 1;
    min-width: 0;
  }
   .payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  .payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
 .payment-icon-img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .payment-label span {
    font-size: 10px;
    font-weight: 600;
    color: #333;
  }
}

/* FIX DEFINITIVO - Tamaño uniforme */
@media (max-width: 550px) {
  .payment-icon-img {
    width: auto !important;
    height: 45px !important;
    max-width: none !important;
    object-fit: contain !important;
  }
  
  /* Que ninguna imagen se pase de 55px */
  .payment-option img {
    max-height: 45px !important;
    width: auto !important;
  }
}

/* ============================================
   ESTILOS ESPECÍFICOS PARA DASHBOARD - IMÁGENES
   ============================================ */

/* Afecta a todas las imágenes dentro de la tabla del dashboard */
#lista-inventario img,
.tabla-productos img,
tbody img,
table img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: 8px;
}

/* Centrar vertical y horizontalmente la columna de imagen */
#lista-inventario td:first-child,
.tabla-productos td:first-child {
  text-align: center;
  vertical-align: middle;
  width: 70px;
}