/* styles.css - Estilos principales para Fox Cards */

/* HEADER */
.header-premium {
    position: fixed;
    top: 9;
    width: 100%;
    height: 90px;
    background: rgba(161, 51, 51, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    box-shadow: 0 4px 2px rgba(0,0,0,0.08);
    z-index: 1000;
}

/* LOGO */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #111010;
    letter-spacing: 2px;

}

/* MENU */
.nav-menu a {
    margin:  20px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    color: #333;
    font-size: 17px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #B8860B;
}

/* ICONOS */
.cart-icon {
    font-size: 22px;
    cursor: pointer;
}




.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #111;
  color: #fff;
  width: 90%;
  max-width: 420px;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.modal-content h2 {
  margin-bottom: 10px;
  font-weight: 600;
}

.gold-line {
  height: 3px;
  width: 100%;
  margin: 15px 0;
  background: linear-gradient(90deg, #c6a84a, #f5e6b3, #c6a84a);
  background-size: 200% auto;
  animation: goldMove 3s linear infinite;
}

.small-text {
  font-size: 13px;
  color: #bbb;
  margin-top: 10px;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-cancel,
.btn-confirm {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-cancel {
  background: #444;
  color: white;
}

.btn-confirm {
  background: #c6a84a;
  color: black;
}

.btn-confirm:hover {
  background: #d4b65c;
}

@keyframes goldMove {
  0% { background-position: 0% }
  100% { background-position: 200% }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

html {
  scroll-behavior: smooth;
}

/* ===============================
   SECCIÓN NOSOTROS PREMIUM
=================================*/

.about-premium {
  background: #fffafa;
  padding: 100px 20px;


}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 38px;
  letter-spacing: 3px;
  font-weight: 600;
  color: #2f2b6c; /* tu verde elegante */
}

.about-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  line-height: 1.8;
  font-size: 17px;
  color: #444;
}



/* ===============================
   CONTACTO PREMIUM
=================================*/

.contact-premium {
  background: linear-gradient(135deg, #1c1c1c, #eec12d);
  color: #f5f5f5;
  padding: 100px 20px;
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #d4af37; /* dorado */
}

.contact-header p {
  color: #ccc;
  margin-top: 10px;
  font-weight: 30;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info-premium h3 {
  margin-bottom: 30px;
  font-weight: 500;
  color: #131212;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 15px;
  color: rgb(27, 26, 26);
    font-family: 'Playfair Display', serif;

}

.info-item i {
  color: #d4af37;
  margin-right: 15px;
  font-size: 18px;
}

.btn-gold {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: linear-gradient(45deg, #d4af37, #b8962e);
  color: #111;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  min-height: 350px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}


.header{
  background: #0f172a; /* azul oscuro elegante */
}

nav .category-nav{
  background: #d46317; /* azul oscuro elegante */
  color: rgb(244, 244, 244);
}



/* ===============================
   LÍNEA DORADA ANIMADA TIPO ROLEX
=================================*/

.gold-line {
  width: 120px;
  height: 2px;
  margin: 20px auto 0;
  position: relative;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37,
    #f6e27a,
    #d4af37,
    transparent
  );
  background-size: 200% 100%;
  animation: goldShine 3s linear infinite;
  border-radius: 10px;
}

@keyframes goldShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}


/* ===============================
   CARRUSEL PREMIUM PRODUCTOS
=================================*/

.products-carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 5px;
}

.products-carousel::-webkit-scrollbar {
  height: 6px;
}

.products-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.products-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #d4af37, #b8962e);
  border-radius: 10px;
}

/* Tarjetas */
.product-card {
  min-width: 300px;
  max-width: 300px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.product-card {
  position: relative;
}

/* ETIQUETA OFERTA */
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #4CAF50;
  color: white;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

/* CORAZÓN FAVORITO */
.favorite-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;                /* 👈 siempre visible */
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.favorite-btn:hover {
  transform: scale(1.1);
}

/* Cuando está activo */
.favorite-btn.active {
  color: red;
}






.carousel-controls button {
  background: linear-gradient(45deg, #d4af37, #b8962e);
  border: none;
  color: #111;
  font-size: 22px;
  padding: 8px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-controls button:hover {
  transform: scale(1.1);
}









.category-bar {
  width: 100%;
  background: linear-gradient(90deg, #a7c0f7, #db2f11);
  padding: 0px 0;
  margin: 60px 0 -10px;
  text-align: center;
  border-bottom:10px  #000;

}
h1{
color: red;
}

body.cart-open{
  overflow: hidden;
}

body.cart-open header{
  display: none !important;
}












.category-bar h1 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .category-bar h1 {
    font-size: 24px;
  }
}


 h1 {
color: #1e88e5;
  font-family: 'Poppins', sans-serif;
font-size: 50px;
}







/* ===============================
   MENÚ SECUNDARIO DE CATEGORÍAS
================================ */

.category-nav {
  position: sticky;
  top: 90px; /* ajusta según altura de tu header */
  z-index: 900;

  display: flex;
  justify-content: center;
  gap: 25px;

  background: #ffffff;
  padding: 10px 0;

  border-bottom: 1px solid #e5e7eb;
}

.category-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;

  color: #374151;
  text-decoration: none;
  padding-bottom: 4px;
}


/* MOBILE */
@media (max-width: 768px) {
  .category-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 15px;
  }

  .category-nav a {
    white-space: nowrap;
  }
}





/* ======================================================
   HEADER Y MENÚ BASE
   ====================================================== */

.main-nav {
  display: block;
  margin-left: 0%;
}



.mobile-menu-btn {
  display: none;
}

/* ======================================================
   BOTÓN CATEGORÍAS
   ====================================================== */

.cat-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* ======================================================
   MEGA MENÚ (DESKTOP)
   ====================================================== */

.nav-group{
  display: flex;
  align-items: center;
  gap: 6px;   /* aquí controlas lo juntos que quedan */
}



















.cat-mega {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  z-index: 2000;
}

/* ⚠️ SOLO DESKTOP usa hover */
@media (min-width: 769px) {
  .nav-categories:hover .cat-mega {
    display: block;
  }
}

/* ======================================================
   MEGA MENÚ MÓVIL (CLICK REAL)
   ====================================================== */

@media (max-width: 768px) {

  /* Nunca usar hover en móvil */
  .nav-categories:hover {
    display: none !important;
  }

  /* Forzar menú normal */
  .main-nav {
    display: block !important;
  }

  /* Mega menú móvil */
  .cat-mega {
    position: relative !important;
    display: none !important;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 10px;
    border-radius: 14px;
    background: #fff;
    z-index: 9999;
  }

  /* ABIERTO POR JS */
  .cat-mega.open {
    display: block !important;
  }

  /* Solo columna izquierda */
  .cat-left {
    width: 100%;
  }

  .cat-right {
    display: none;
  }

  /* Botón categorías ancho completo */
  .cat-trigger {
    width: 100%;
    justify-content: space-between;
  }

  /* Ajustes generales header */
  .header-content {
    flex-wrap: wrap;
    justify-content: center;
  }


.header-content{
  display: flex;
  align-items: center;
  gap: 0.5px;                 /* 🔥 controla qué tan juntos están */
}





.cat-trigger{
  margin: 0;
  padding: 8px 10px;        /* compacto */
}





}

:root {
    --primary-color: #e53935;
    --primary-dark: #c62828;
    --primary-light: #ff6f60;
    --secondary-color: #1e88e5;
    --secondary-dark: #1565c0;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --gray-color: #757575;
    --gray-light: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nosotros{color:red;
background-color: #0a4be2;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f2f1ef;
    overflow-x: hidden;


    
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0;
    background-color: #d6eff0;
}

/* Header */
.header {


    position: sticky;
    top: 0;
    z-index: -1000;
    padding-top: -200px;
    padding-bottom: -200px;


}

.header-content {
background-color: #f8f7f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: -150px 0;
    border-bottom: 10px solid rgb(177, 172, 172);
   
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
}

.logo-img {
    height: 100px;
    width: 100px;
    margin-right: 10px;
border: 1px solid rgb(240, 222, 19);
    border-radius: 50%;
}


/* reparar imagen en vista previa en telefono  */



.producto img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.producto img {
    width: 100%;
    aspect-ratio: 4/5; /* puedes ajustar */
    object-fit: cover;
}


.logo-text {
  font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #B8860B;
}

/* Navegación */
.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.main-nav .nav-list li {
    margin: 0 15px;
    position: relative;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    transition: var(--transition);
    position: relative;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: var(--primary-color);
}

.main-nav .nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}


.search-input {
    padding: 8px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    width: 500px;
    font-size: 14px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 220px;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
}

.account-btn, .cart-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--dark-color);
    margin-left: 15px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: #f2e5a4;
  
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-product{
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
background-color: #000000;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

.btn-product:hover{
    transform: scale(1.05);
}





/* Secciones */
section {
    padding: 80px 0;
 
}

.section-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
  

           background-color: #1ebe5d;
}

/* Categorías */


/* MEGA MENÚ CATEGORÍAS */

.cat-mega{
  display: none;
}

.cat-mega.open{
  display: block;
}






.cat-panel.active {
  display: block;
}



.header-sticky {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: #ffffff;
}












.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    margin-bottom: 20px;
}

.category-icon img {
    height: 80px;
    width: auto;
}

.category-card h3 {
    font-family: var(--font-primary);
    font-size: 22px;
    margin-bottom: 15px;
}

.category-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.category-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.category-link:hover i {
    transform: translateX(5px);
}

/* Productos Destacados */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1px;
    background-color: rgb(118, 172, 234);
  
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(5px);
}




.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}



.product-badge.offer {
    background-color: var(--success-color);
    
}






/* Contenedor de imagen */


















.product-info {
    padding: 20px;
}



.product-description {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 5px;
    background-color: #dedef2;
    border-radius: 10%;
}
.current-price{
    font-size: 1.4rem;
    font-weight: bold;
    color: #000;
}

.old-price{
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}




/* Banner Promocional */





.promo-image img {
    max-width: 100%;
    height: auto;
}

/* Nuevas Colecciones */


/* Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgb(243, 164, 46);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--gray-color);
    font-size: 14px;
}


.footer-colonial {
background: linear-gradient(to right, #57473d, #8b5e3c);/* café oscuro elegante */
  color: #f5e6d3;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;

}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 15px;
  color: #d4af37; /* dorado colonial */
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #f5e6d3;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #d4af37;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #f5e6d3;
  transition: 0.3s;
}



.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e1dbd7;
  font-size: 13px;
}



.location-btn {
    background: #3405cf;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
    transition: 0.3s;
   box-shadow: 5px 5px 0px 0px grey;
}

.location-btn:hover {
    background: #245a31;
}


#userInput {
    width: 100%;
    border: none;
    padding: 10px;
    border-top: 1px solid #ccc;
}





.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: rgb(214, 1, 1);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-card.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        background-color: #eee6e6;
    
    }
    
    .view-all {
        margin-top: 10px;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        
    }
    
    .promo-text {
        margin-bottom: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .search-input {
        width: 150px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
        background-color: rgb(12, 133, 16);
    }
    
    .btn {
        padding: 10px 20px;
    }





/* =================================
   MENÚ CARRUSEL RESPONSIVE
================================= */

.category-nav.carousel {
  display: flex;
  align-items: center;
  gap: 16px;

  overflow-x: auto;
  white-space: nowrap;

  padding: 14px 20px;
  background: #ffffff;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-nav.carousel::-webkit-scrollbar {
  display: none;
}

.category-nav.carousel a {
  flex: 0 0 auto;

  padding: 10px 20px;
  border-radius: 24px;

  background: #f1f5f9;
  color: #374151;

  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;

  text-decoration: none;
  transition: all .25s ease;
}

.category-nav.carousel a:hover,
.category-nav.carousel a.active {
  background: #1e88e5;
  color: #ffffff;
}

/* ===============================
   DESKTOP (>=1024px)
================================ */
@media (min-width: 1024px) {
  .category-nav.carousel {
    justify-content: center;
    overflow-x: visible; /* ya no scroll */
  }
}

/* ===============================
   TABLET (768px - 1023px)
================================ */
@media (max-width: 1023px) and (min-width: 768px) {
  .category-nav.carousel {
    justify-content: flex-start;
    padding: 12px 18px;
  }

  .category-nav.carousel a {
    font-size: 13px;
    padding: 9px 18px;
  }
}

/* ===============================
   MÓVIL (<=767px)
================================ */
@media (max-width: 767px) {
  .category-nav.carousel {
    padding: 10px 14px;
    gap: 12px;
  }

  .category-nav.carousel a {
    font-size: 12px;
    padding: 8px 16px;
  }
}





/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}

/* ACTIVO */
.mobile-menu.active {
  display: flex;
}



}

.brand-logo{
  height:48px;
  width:auto;
  display:block;
}
/* ===== MEGA MENU CATEGORÍAS (tipo MAX) ===== */
.nav-categories { position: relative; }

.cat-trigger{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:0;
  cursor:pointer;

  color:#fff;
  border-radius: 10px;
  font-weight: 700;
background-color: #01ac15;
box-shadow: 5px 5px 1px 1px grey;
}
.cat-trigger i{ font-size: 36px; }
.cat-trigger:focus{ outline: 30px solid rgba(255,255,255,.6); outline-offset: 2px; }
.cat-mega{
  position:absolute;
  top: calc(10% + 12px);
  left: -10;
  width: min(350px, calc(100vw - 40px));
  background:#2809d4d4;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  overflow:hidden;
  display:none;
  z-index: 2000;
  
}
.nav-categories.open .cat-mega{ display:block; }

.cat-mega-inner{
  display:grid;
  grid-template-columns: 340px 1fr;
  min-height: 420px;
}

.cat-left{
  background:#7bde8c;
  border-right: 1px solid var(--gray-light);
  padding: 18px;
}

.cat-offers{
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px;
  background: var(--primary-color);
  color: #a3eb93;

  border-radius: 14px;
  text-decoration: none;

  font-weight: 800;
  font-size: 18px;
  line-height: 1;

  height: 40px; /* 🔑 altura correcta tipo MAX */
}
 .offers-left{
  display: flex;
  align-items: center;
  gap: 124px; /* controla distancia estrella-texto */
}
.cat-offers span{
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.cat-offers i{
  color: #ffffff;
  font-size: 18px;
}

.cat-offers i:first-child{ margin-right:10px; }
.cat-title{
  font-family: var(--font-primary);
  font-size: 22px;
  margin: 10px 0 12px;
}

.cat-item{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 12px;
  border:0;
  background: transparent;
  cursor:pointer;
  border-radius: 12px;
  text-align:left;
  font-weight: 100;
}
.cat-item .cat-ico{
  width: 34px; height:34px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: #f6f6f6;
  color: var(--dark-color);
}
.cat-item .cat-arrow{ opacity:.7; }

.cat-item:hover{
  background: #fff2f2;
}
.cat-item.active{
  background: #ffeaea;
  box-shadow: inset 4px 0 0 var(--primary-color);
}
.cat-item.active .cat-arrow{ color: var(--primary-color); opacity:1; }

.cat-right{
  padding: 22px 26px;
  background:#fff;
}
.cat-toplink{
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 18px;
}
.cat-toplink a{
  color: var(--dark-color);
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 800;
  text-decoration:none;
}
.cat-toplink a i{ margin-left: 8px; font-size: 18px; }

.cat-cols{
  display:grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 26px;
}
.cat-col a{
  display:block;
  text-decoration:none;
  color: var(--dark-color);
  padding: 6px 0;
  font-weight: 500;
}
.cat-col a:hover{ color: var(--primary-color); }
.cat-col-title{
  font-weight: 900 !important;
  font-family: var(--font-primary);
  margin-bottom: 6px;
}
.cat-col-title i{ margin-left: 6px; }

.cat-panel{ display:none; }
.cat-panel.active{ display:block; }

/* Responsive */
@media (max-width: 992px){
  .cat-mega{ width: calc(100vw - 24px); }
  .cat-mega-inner{ grid-template-columns: 280px 1fr; }
  .cat-cols{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px){
  /* en móvil puedes usar el menú móvil que ya tienes */
  .cat-mega{ display:none !important; }
}

@media (max-width: 768px){
  .product-image{
    aspect-ratio: 3/4;  /* un poco más alto para celular */
  }
}






.product-image{
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;   /* proporción elegante catálogo */
    overflow: hidden;
    background: #f8f8f8;
}

.product-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* CONTENEDOR DEL CARRITO */

.form-carrito {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: auto;
}

.form-carrito h3 {
  text-align: center;
  margin-bottom: 20px;
}

.form-carrito label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
}

.form-carrito input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.btn-ubicacion {
  background: #2b6c3a;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.btn-enviar {
  background: black;
  color: white;
  border: none;
  padding: 12px;
  margin-top: 15px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}



.carrito {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 320px;
  background: #eb0909;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 999;

}
.cart-drawer {
    width: 360px;          /* tamaño profesional */
    max-width: 90%;
    padding: 12px;
}


.cart-products {
    max-height: 45vh;      /* antes seguro era muy alto */
    padding: 8px 0;
}



.cart-item {
    padding: 8px 0;
    gap: 8px;
}

.cart-item img {
    width: 50px;
}

.cart-item-title {
    font-size: 60px;
}

.cart-item-price {
    font-size: 12px;
}


.cart-item button {
    padding: 4px 6px;
    font-size: 12px;
}

.cart-item input[type="number"] {
    width: 42px;
    font-size: 12px;
}



.cart-form {
    padding: 10px;
}

.cart-form-title {
    font-size: 13px;
    margin-bottom: 8px;
}

.cart-form input {
    padding: 7px;
    font-size: 13px;
}

.btn-whatsapp {
    padding: 8px;
    font-size: 14px;
}



.btn-clear-cart {
    padding: 6px;
    font-size: 13px;
    margin-top: 8px;
}






/* fondo de carrito  */

.cart-drawer{
  border: 4px solid rgb(187, 228, 240);
    width: 360px !important;
    height: 100% !important;
    max-width: 90% !important;
    padding: 12px !important;
    background: linear-gradient(135deg, #5662d0, #c9dbe6)!important;
  position:fixed  !important;
  top:0    !important;
  right:-420px;
  width:380px;
  height:100%;
  background:#941717;
  box-shadow:-6px 0 20px rgba(0,0,0,.25)   !important;
  z-index:9999  !important;
  display:flex;
  flex-direction:column  !important;
  transition:.3s;
  font-family:'Poppins',sans-serif;
    right: 0;
    box-sizing: border-box;
}
.cart-drawer.open{right:0}

/* HEADER */
.cart-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px;
  border-bottom:1px solid #e82121;
}
.cart-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}
.cart-header button{
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

/* PRODUCTOS */
.cart-products{
  flex:1;
  overflow-y:auto;
  padding:10px 15px;
}
.cart-item{
  border-bottom:1px solid #eee;
  padding:10px 0;
}
.cart-item-name{font-weight:500}
.cart-item-sub{font-size:13px;color:#666}
.cart-controls{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:5px;
}
.cart-controls button{
  width:26px;
  height:26px;
  border:1px solid #ccc;
  background:#f9f9f9;
  cursor:pointer;
}

/* RESUMEN */
.cart-summary{
  padding:15px;
  border-top:1px solid #eee;
}
.cart-total-line{
  display:flex;
  justify-content:space-between;
  font-size:18px;
}

/* FORMULARIO */
.cart-form{
  padding:15px;
  border-top:1px solid #eee;
}
.cart-form-title{
  font-size:13px;
  color:#555;
  margin-bottom:8px;
}
.cart-form input{
  width:100%;
  padding:9px;
  margin-bottom:8px;
  border:1px solid #ccc;
  border-radius:4px;
}
.btn-whatsapp{
  width:100%;
  background:#25d366;
  color:#fff;
  border:none;
  padding:12px;
  font-weight:600;
  cursor:pointer;
  border-radius:4px;
}
.btn-whatsapp i{margin-right:6px}


.btn-clear-cart {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #444;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-clear-cart:hover {
  background: #e53935;
  color: #fff;
  border-color: #e53935;
}


.checkout-group {
  margin-bottom: 14px;
}

.checkout-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.checkout-group input,
.checkout-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}



.btn-location {
  width: 100%;
  padding: 12px;
  background: #e9edf2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}


/* TÍTULO */
.carrito h3 {
  margin: 0px 0px 15px;
  font-size: 1.3rem;
  text-align: center;
}

/* LISTA */
#listaCarrito {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 260px;
  overflow-y: auto;
}

/* ITEM */
#listaCarrito li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

/* TOTAL */
#total {
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
  font-size: 1.1rem;
}

/* BOTÓN */
.carrito button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #0a4be2;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.carrito button:hover {
  background: #520ac5;
}

/* ITEM DEL CARRITO */
.item-carrito {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid #f8e8e8;
  animation: fadeIn 0.3s ease;
}

.item-carrito span {
  font-size: 0.85rem;
}

/* BOTONES + - */
.cantidad {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cantidad button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

.cantidad button:hover {
  background: #bbb;
}







.cart-overlay{
  position:fixed;top:0;left:0;width:100%;height:100%;
  background:rgba(132, 8, 8, 0.4);display:none;z-index:9998
}
.cart-overlay.active{display:block}

.cart-drawer{
  position:fixed;top:0;right:-380px;width:360px;height:100%;
  background:#fff;box-shadow:-4px 0 15px rgba(0,0,0,.25);
  transition:.3s;z-index:9999;padding:15px;display:flex;flex-direction:column
}
.cart-drawer.open{right:0}

.cart-header{
  display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid #ddd;padding-bottom:10px
}
.cart-header button{
  background:none;border:none;font-size:22px;cursor:pointer
}

.cart-item{
  display:flex;justify-content:space-between;align-items:center;
  margin:8px 0;border-bottom:1px solid #eee;padding-bottom:6px
}
.cart-item button{padding:2px 7px;margin:0 2px}

.cart-total{font-size:18px;margin:10px 0;font-weight:bold}

#orderForm input,#orderForm button{
  width:100%;padding:8px;margin:6px 0
}


.category-section {
  margin-bottom: 60px;
}

.category-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #0f172a;
  border-left: 5px solid #38bdf8;
  padding-left: 15px;
}





/* ====carrito para laptop ==== */

.cart-panel{
  width: 320px;
  max-width: 90vw;
}




.cart-panel{
  right: -320px;
}

.cart-panel.open{
  right: 10px;
}


.cart-panel{
  padding: 14px;
}





 /* ==== carrito para movil ==== */
@media (max-width: 768px){
  .cart-panel{
    width: 280px;
  }
}


@media (max-width: 768px){
  .cart-panel{
    right: -280px;
  }
}


 /* ===este es el contenedor de la imagen
  ==== */




/* ==== FIX CATEGORÍAS MÓVIL ==== */
@media (max-width: 768px) {

  .cat-trigger {
    position: relative;
    z-index: 9999;
    pointer-events: auto;
  }

  .cat-mega {
    position: relative;
    z-index: 9998;
  }

  /* Asegura que el menú móvil no bloquee */
  #mobileMenu,
  .mobile-menu,
  .nav-overlay {
    pointer-events: none;
  }

  #mobileMenu.active {
    pointer-events: auto;
  }
}


/* ==============================
   MEGA MENÚ CATEGORÍAS – CONTROL JS
================================ */



.btn-clear-cart{
  width:100%;
  background:#f5f5f5;
  border:1px solid #ddd;
  color:#555;
  font-size:12px;
  padding:8px;
  margin-bottom:10px;
  cursor:pointer;
  border-radius:4px;
  transition:.2s;
}
.btn-clear-cart:hover{
  background:#eee;
}



.cart-btn{
  position: relative;
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* EMOJI */
.cart-icon{
  font-size: 20px;          /* más elegante */
  line-height: 1;
  filter: grayscale(100%); /* 🔥 quita colores chillones */
  opacity: 0.85;
  transition: transform .2s ease, opacity .2s ease;
}
.cart-icon{
  filter: grayscale(100%) brightness(1.8);
}
.cart-icon{
  filter: grayscale(100%) brightness(0.8);
}


/* HOVER */
.cart-btn:hover .cart-icon{
  transform: scale(1.05);
  opacity: 1;
}


.cart-count{
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}













 /* menus */

.section-title{
  position: relative;
  overflow: hidden;
  background-color: rgb(223, 173, 9);
border-bottom:10px solid rgb(47, 34, 2) ;
box-shadow: 5px 5px 5px 5px rgb(109, 105, 105) ;

}

.section-title::after{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
      120deg,
      transparent,
      rgba(218, 224, 218, 0.5),
      transparent
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine{
  0%{ left: -100%; }
  100%{ left: 200%; }
}


.producto, .product-info{
  background: #ace2aa;
  padding:-300px -100px -0px -100px;
  border-radius: 14px;

}




.product-title{
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}


.cat-col-title{
  background: #e3ce89;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}


@media (max-width: 768px){
  body.cart-open header{
    display: none;
  }
}







.cat-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
}

.cat-mega.open {
  display: block;
}



.cat-trigger{
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cat-mega{
  display: none;
}

.cat-mega.open{
  display: block;
}









/* ==========================================
   FIX DEFINITIVO GRID PRODUCTOS – DESKTOP (cuantas columnas responsive en cada dispositivo)
========================================== */

/* BASE */




.cart-btn.animate .cart-count{
  animation: badgePop .4s ease;
}


/* botón del carrito */
.cart-btn{
  position: relative;
  padding: -100px 12px;   /* más aire */
}

/* logo DEL CARRITO */
.cart-icon{
  font-size: 32px;      /* 🔥 AQUÍ está el tamaño */
  line-height: 1;
  filter: grayscale(100%);
  opacity: .9;
}

.cart-count{

  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  font-size: 12px;
}




.product-card:hover .product-image img{
    transform: scale(1.08);  /* efecto zoom elegante */
}




/* Zoom suave */
.product-card:hover .product-image img{
    transform: scale(1.08);
}

/* Capa oscura */
.quick-view{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}





.producto-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.3s ease;
    max-width: 400px;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.producto-img {
    position: relative;
    padding: 15px;
}

.img-principal {
    width: 100%;
    border-radius: 15px;
    transition: 0.3s ease;
}

.img-principal:hover {
    transform: scale(1.03);
}

.etiqueta {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2b6c3a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
}

.favorito {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: 0.3s;
}

.favorito:hover {
    background: #2b6c3a;
    color: white;
}

.miniaturas {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
}

.miniaturas img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s ease;
}

.miniaturas img:hover {
    border: 2px solid #2b6c3a;
    transform: scale(1.05);
}

.producto-info {
    padding: 15px 20px 20px;
}

.producto-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.precio {
    font-size: 20px;
    font-weight: bold;
    color: #2b6c3a;
}



.producto-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 420px;
    transition: 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-6px);
}

.slider {
    position: relative;
    padding: 20px;
}

.img-principal {
    width: 100%;
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.flecha {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 18px;
}

.izquierda { left: 10px; }
.derecha { right: 10px; }

.flecha:hover {
    background: #2b6c3a;
    color: white;
}

.etiqueta {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2b6c3a;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
}

.favorito {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    cursor: pointer;
}

.miniaturas {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.miniaturas img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: 0.3s;
}

.miniaturas img.activa {
    opacity: 1;
    border: 2px solid #2b6c3a;
}

.miniaturas img:hover {
    opacity: 1;
}






/* Mostrar en hover */
.product-card:hover .quick-view{
    opacity: 1;
}

/* Botón Vista rápida */
.quick-btn{
    padding: 12px 25px;
    background: rgb(6, 227, 50);
    color: #111;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.product-card:hover .quick-btn{
    transform: translateY(0);
}

.quick-btn:hover{
    background: #c9fed2;
    color: #1709e6;
}

/* MODAL FONDO */
.gallery-modal{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active{
    display: flex;
}

/* Imagen grande */
.gallery-content{
    max-width: 70%;
    max-height: 70%;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
}

/* Botón cerrar */
.close-gallery{
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* Animaciones */
@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}

@keyframes zoomIn{
    from{transform:scale(0.8);}
    to{transform:scale(1);}
}












.product-info{
  flex-grow: 1;
}
.product-card{
    background: #753131;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.product-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}




.add-to-cart{
  width: 100%;
  padding: 12px 16px;
  margin-top: auto; /* mantiene el botón abajo */
  background: linear-gradient(135deg, #111827, #f0eeee);
  color: #562bc0;
  border: none;
  border-radius: 800px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}


.cart-icon{
  mix-blend-mode: multiply;
}


.cart-icon{
  background-color: transparent;
}



.add-to-cart:hover{
  background: linear-gradient(135deg, #000000, #1f2937);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.add-to-cart:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(212, 205, 205, 0.2);
}


/* ICONO */
.cart-icon{
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TEXTO */
.cart-text{
  font-size: 15px;
}

/* CONTADOR (nuemero que aparece arriba del carrito )*/
.cart-count{
  position: relative;
  top: -6px;
  left: 14px;
  background: #d97f08; /* oro */
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  min-width: 18px;
  height: 28px;
  padding: 0 -40px;
  border-radius: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}




.main-nav{
  display: flex;
  align-items: center;
}

.dropdown{
  position: relative;
}

/* BOTÓN */
.dropdown-btn{
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-badge offer{
  background-color: rgb(168, 199, 31);
   opacity: 1;          /* 👈 siempre visible */
    visibility: visible; /* 👈 siempre visible */

}

/* MENÚ */
.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  list-style: none;
  display: none;
  z-index: 1000;
}





img{
width: 100%;
height: 100%;


}



.featured-products{

background-color: rgb(246, 240, 240);


}


.products-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 50px;
    padding: 60px 5%;
}





/* 💻 COMPUTADORA → 3 columnas fijas */
@media (min-width: 1024px){
  .products-grid{
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* 💻 LAPTOP */
@media (min-width: 768px) and (max-width: 1023px){
  .products-grid{
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* 📱 MÓVIL */
@media (max-width: 767px){
  .products-grid{
    grid-template-columns: repeat(1, 1fr) !important;
  }
}



@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}



@keyframes cartPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.cart-btn.animate .cart-icon{
  animation: cartPulse .35s ease;
}


@keyframes badgePop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); }
}



.favorite-btn{

  
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s ease;
    z-index: 5;
}

/* Hover */
.favorite-btn:hover{
    transform: scale(1.1);
}

/* Activo */
.favorite-btn.active{
    background: #ff3c3c;
    color: white;
    animation: pop 0.3s ease;
}

/* Animación */
@keyframes pop{
    0%{ transform: scale(0.8); }
    50%{ transform: scale(1.2); }
    100%{ transform: scale(1); }
}



.cart-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

.cart-overlay.active{
  opacity: 1;
  visibility: visible;
}

.cart-drawer{
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: 0.4s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open{
  right: 0;
}

.cart-header{
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items{
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 10px;
}

.cart-info{
  flex: 1;
}

.cart-qty{
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-qty button{
  width: 25px;
  height: 25px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 4px;
}

.cart-remove{
  color: red;
  cursor: pointer;
  font-size: 14px;
}

.cart-footer{
  padding: 20px;
  border-top: 1px solid #eee;
}

.checkout-btn{
  width: 100%;
  padding: 14px;
  background: #ff9900;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.checkout-btn:hover{
  background: #e68a00;
}







/* Fondo oscuro */
.quick-view{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

/* Contenido */
.quick-content{
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Imagen contenedor */
.gallery-container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Imagen responsive */
.gallery-container img{
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain; /* 🔥 evita deformación */
    border-radius: 12px;
}

/* Botón cerrar */
.close-btn{
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Responsive móvil */
@media (max-width: 768px){
    .quick-content{
        max-width: 95%;
        max-height: 85vh;
    }

    .gallery-container img{
        max-height: 60vh;
    }
}



/* estilo de carrito  */
/* CONTENEDOR DEL CARRITO */
.cart-container {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 20px;
  box-shadow: -5px 0 25px rgba(0,0,0,0.08);
  border-left: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

/* TÍTULO */
.cart-container h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

/* PRODUCTOS */
.cart-item {
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* TOTAL */
.cart-total {
  font-size: 18px;
  font-weight: bold;
  color: #111827;
  margin: 20px 0;
}

/* INPUTS */
.cart-container input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.2s ease;
}

.cart-container input:focus {
  border-color: #1e293b;
  outline: none;
}

/* BOTONES */
.cart-container button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

/* BOTÓN TARJETA */
#cardPaymentBtn {
  background: #111827;
  color: white;
  margin-bottom: 10px;
}

#cardPaymentBtn:hover {
  background: #000;
}

/* BOTÓN UBICACIÓN */
#locationBtn {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #d1d5db;
}

#locationBtn:hover {
  background: #e5e7eb;
}

.cart-form {
  margin-top: 15px;
}

.cart-summary {
  margin-top: 20px;
}





/* BOTÓN FLOTANTE */
/* BOTÓN ASESOR - PRIORIDAD MÁXIMA */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999999; /* SUPERIOR A TODO */
}

/* CAJA DEL CHAT */
.chat-box {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 999999; /* TAMBIÉN SUPERIOR */
}

/* CAJA DEL CHAT */
.chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    background: rgb(193, 187, 244);
    border-radius: 15px;
    border: 2px solid red;
    box-shadow: 5px 5px 5px 3px rgba(0,0,0,0.25);
    overflow: hidden;
    display: none;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
    animation: aparecer 0.9s ease;
}

@keyframes aparecer {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 5; }
}

/* ENCABEZADO */
.chat-header {
    background: #048315;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    cursor: pointer;
}

/* CUERPO */
.chat-body {
    padding: 20px;
}

.chat-body button {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(145deg, #d4d0c3, #B8860B);
    color: rgb(31, 29, 29);
    cursor: pointer;
    transition: 0.3s;
}

.chat-body button:hover {
    transform: scale(1.05);
}
