/* css/style.css */

:root {
  /* Tonos madera (ajusta si lo deseas) */
  --wood-light:   #F5E4D7;
  --wood-medium:  #D2B79E;
  --wood-dark:    #A67B5B;  /* usar este para texto/menu/iconos */
  --accent-honey: #E0B85F;
  --neutral-grey: #CCCCCC;
}

/* Reset y básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #28555f;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000; /* Aumentado para estar sobre el menú */
  transition: background .3s, box-shadow .3s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 50px;
}

/* Botón hamburguesa (oculto en desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--wood-dark);
  cursor: pointer;
}

/* Navegación */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
.site-nav a {
  color: var(--wood-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color .3s;
}
.site-nav a:hover {
  color: var(--accent-honey);
}

/* Iconos usuario/carrito */
.header-icons i {
  font-size: 1.2rem;
  color: var(--wood-dark);
  transition: color .3s;
}
.header-icons i:hover {
  color: var(--accent-honey);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../img/main-desktop.png") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}
.hero-content {
  text-align: center;
  z-index: 2;
}
.hero-content h1 {
  display: inline-block;
  padding: 0.2em 0.5em;
  background: rgba(255, 255, 255, 0.6);
  color: #D97C6E;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* Logo general */
.logo img,
.mobile-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

/* ocultar logo en móvil y mostrar dentro del menú */
.desktop-logo {
  display: block;
}
.mobile-logo {
  display: none;
  text-align: center;
}

.scroll-down {
  font-size: 2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateY(0) }
  40% { transform: translateY(10px) }
  60% { transform: translateY(5px) }
}

/* Secciones */
section {
  padding: 80px 0;
}
section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

/* Botón carrito */
.cart-btn {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--wood-dark);  /* relleno madera */
  border: none;                  /* sin borde */
  border-radius: 12px;           /* esquinas redondeadas */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;                   /* icono en blanco */
  cursor: pointer;
  transition: background 0.3s ease;
}

/* HOVER igual que social-icons */
.cart-btn:hover {
  background: var(--accent-honey);
  color: #fff;
}

/* SVG icono (mantén el que ya tienes) */
.cart-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;   /* si tu SVG usa fill */
  stroke: currentColor; /* y stroke */
}

/* CONTADOR (burbuja) */
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #000;     /* negro, igual al mockup */
  color: #fff;
  font-size: 0.7rem;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  pointer-events: none;
  font-weight: bold;
}
.cart-btn:hover .cart-icon {
  color: var(--accent-honey);
}

/* Panel lateral carrito */
.cart-sidebar {
  position: fixed;
  top: 0; right: -100%;
  width: 320px;
  max-width: 80%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 1001; /* Mayor que el header */
}

.cart-btn .cart-icon path,
.cart-btn .cart-icon circle {
  stroke: #fff !important;
  fill:   #fff !important;
}

/* Mantener icono en blanco al Hover */
.cart-btn:hover {
  background: var(--accent-honey);
  /* dejamos color: currentColor si quisieras, pero ya sobreescribimos el SVG */
}
.cart-btn:hover .cart-icon path,
.cart-btn:hover .cart-icon circle {
  stroke: #fff !important;
  fill:   #fff !important;
}

.cart-sidebar.open {
  right: 0;
}

/* Header del carrito */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}
.cart-header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--wood-dark);
}

/* Contenido */
.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}
.empty-msg {
  text-align: center;
  color: #666;
}
.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 0.75rem;
}
.item-info {
  flex: 1;
  font-size: 0.9rem;
}
.item-name {
  display: block;
  font-weight: 500;
}
.item-qty,
.item-price {
  display: block;
  color: #888;
}
.item-remove {
  background: none;
  border: none;
  color: #c00;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Footer del carrito */
.cart-footer {
  padding: 1rem;
  border-top: 1px solid #eee;
}
.total-label {
  font-weight: 600;
}
.total-amount {
  float: right;
  font-weight: 600;
}
.btn-primary {
  display: block;
  text-align: center;
  margin-top: 1rem;
  background: var(--accent-honey);
  color: #fff;
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: var(--wood-dark);
}

/* Asegura que el body no haga scroll cuando el carrito está abierto */
body.cart-open {
  overflow: hidden;
}

/* Responsive - Tablet intermedio */
@media (max-width: 1024px) and (min-width: 769px) {
  .site-nav ul { gap: 20px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero {
    background: url("../img/main-desktop.png") center/cover no-repeat;
  }
}

/* Responsive - Móvil */
@media (max-width: 768px) {
  /* Header móvil */
  .menu-toggle {
    display: block;
  }
  
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
  
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    margin: 0;
  }
  
  .site-nav li {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .site-nav li:last-child {
    border-bottom: none;
  }

  /* Logo móvil */
  .desktop-logo {
    display: none;
  }
  .mobile-logo {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .mobile-logo img {
    max-height: 50px;
  }

  /* Hero móvil */
  .hero {
    background: url("../img/main-movil.png") center/cover no-repeat;
    align-items: flex-end;
    padding-bottom: 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  
  /* Carrito móvil */
  .cart-sidebar {
    width: 100%;
    max-width: 100%;
  }
}

/* Footer */
.site-footer {
  background: var(--wood-light);
  color: var(--wood-dark);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--wood-dark);
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--wood-dark);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-honey);
}

/* Columna About */
.footer-col.about .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-col.about p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-info li {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.contact-info strong {
  color: var(--wood-dark);
}

/* Iconos sociales */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--wood-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--accent-honey);
  transform: translateY(-2px);
}

.social-icons i {
  font-size: 1.2rem;
  color: #fff;
}

/* Newsletter */
.footer-col.newsletter p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--wood-medium);
  border-radius: 4px;
  background: #fff;
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-honey);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--accent-honey);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--wood-dark);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--wood-medium);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--wood-dark);
  margin: 0;
}

.payment-icons {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.payment-icons img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.payment-icons img:hover {
  opacity: 1;
}

.back-to-top {
  width: 40px;
  height: 40px;
  background: var(--wood-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.back-to-top:hover {
  background: var(--accent-honey);
  transform: translateY(-2px);
}

.back-to-top i {
  font-size: 1.2rem;
}

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-col.about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .payment-icons {
    justify-content: center;
  }
}
/* Sección Categorías */
.categories-section {
  padding: 80px 0;
  background: #fff;
}

.categories-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--wood-dark);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.category-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-10px);
}

.category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-circle:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.category-circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(224, 184, 95, 0.1), rgba(166, 123, 91, 0.1));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-circle:hover::before {
  opacity: 1;
}

.category-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
  z-index: 2;
  position: relative;
}

.category-circle:hover .category-image {
  transform: scale(1.1);
}

.category-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.category-item:hover .category-name {
  color: var(--accent-honey);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .category-circle {
    width: 130px;
    height: 130px;
  }
  
  .category-image {
    width: 70px;
    height: 70px;
  }
  
  .category-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .categories-section {
    padding: 60px 0;
  }
  
  .categories-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
  }
  
  .category-circle {
    width: 120px;
    height: 120px;
  }
  
  .category-image {
    width: 60px;
    height: 60px;
  }
  
  .category-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    gap: 20px;
  }
  
  .category-circle {
    width: 100px;
    height: 100px;
  }
  
  .category-image {
    width: 50px;
    height: 50px;
  }
  
  .category-name {
    font-size: 0.8rem;
  }
}

/* Tarjeta de Producto */
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.product-image-section {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 500px;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    letter-spacing: -5px;
    pointer-events: none;
    z-index: 1;
    font-family: 'Arial Black', sans-serif;
}

.product-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: opacity 0.3s ease;
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.product-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #6c757d;
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1rem;
}

.price-section {
    margin-bottom: 30px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-right: 15px;
}

.original-price {
    font-size: 1.5rem;
    color: #6c757d;
    text-decoration: line-through;
}

.color-options {
    margin-bottom: 30px;
}

.color-swatches {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.color-swatch.active {
    border-color: var(--wood-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.color-swatch:hover {
    transform: scale(1.05);
}

.color-swatch.black {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.color-swatch.grey {
    background: linear-gradient(135deg, #95a5a6, #bdc3c7);
}

.color-swatch.beige {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.color-swatch.navy {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.buy-button {
    background: #000;
    color: white;
    border: none;
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button:hover {
    background: var(--accent-honey);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Sección de producto individual */
.product-section {
    padding: 80px 0;
    background: #fff;
}

/* Responsive para tarjeta de producto */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        margin: 10px;
        border-radius: 15px;
    }

    .product-image-section {
        min-height: 400px;
        padding: 20px;
    }

    .watermark {
        font-size: 4rem;
    }

    .product-image {
        max-width: 280px;
    }

    .product-info {
        padding: 30px 20px;
    }

    .product-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .current-price {
        font-size: 2rem;
    }

    .original-price {
        font-size: 1.2rem;
    }

    .color-swatches {
        justify-content: center;
    }

    .discount-badge {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        top: 15px;
        left: 15px;
    }

    .buy-button {
        font-size: 1rem;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .product-info {
        padding: 20px 15px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .color-swatch {
        width: 40px;
        height: 40px;
    }
    
    .watermark {
        font-size: 3rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Cambiado de 'right' a 'left' */
  background-color: #25d366; /* WhatsApp Green */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  border: none;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* AI Chat Sidebar */
.ai-chat-sidebar {
  position: fixed;
  bottom: 0;
  left: -400px; /* Cambiado de 'right' a 'left' y ajustado para ocultarse a la izquierda */
  width: 350px; /* Adjust width as needed */
  height: 80%; /* Adjust height as needed */
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease-in-out; /* Cambiado de 'right' a 'left' */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.ai-chat-sidebar.open {
  left: 0; /* Cambiado de 'right' a 'left' */
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f8f8f8; /* Lighter header background */
  border-bottom: 1px solid #eee;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chat-header h2 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

.chat-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #777;
}

.chat-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #fcfcfc;
}

.message {
  display: flex;
  margin-bottom: 10px;
}

.message p {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 75%;
  word-wrap: break-word;
  font-size: 0.9em;
  line-height: 1.4;
}

.message.sent {
  justify-content: flex-end;
}

.message.sent p {
  background-color: #dcf8c6; /* Light green for sent messages */
  color: #333;
  border-bottom-right-radius: 2px;
}

.message.received {
  justify-content: flex-start;
}

.message.received p {
  background-color: #e6e6e6; /* Light grey for received messages */
  color: #333;
  border-bottom-left-radius: 2px;
}

.chat-input-area {
  display: flex;
  padding: 15px;
  border-top: 1px solid #eee;
  background-color: #f8f8f8;
}

.chat-input-area input[type="text"] {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 0.9em;
  outline: none;
}

.chat-input-area button {
  background-color: #5cb85c; /* A shade of green */
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.chat-input-area button:hover {
  background-color: #4cae4c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ai-chat-sidebar {
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%; /* Cambiado de 'right' a 'left' */
    border-radius: 0;
  }

  .ai-chat-sidebar.open {
    left: 0; /* Cambiado de 'right' a 'left' */
  }

  .whatsapp-button {
    bottom: 10px;
    left: 10px; /* Cambiado de 'right' a 'left' */
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}

/* 1) Aplica todos los estilos de tu input */
.select-text {
  /* reutiliza tu clase de input */
  display: block;
  width: 100%;
  height: 2.5em;
  padding: 0.5em 0.75em;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}

/* 2) Resetea la apariencia nativa del select */
.select-text {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* 3) (Opcional) Flecha personalizada */
.select-text {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='8' height='5' viewBox='0 0 8 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 0.65em 0.65em;
  padding-right: 2em; /* deja espacio para la flecha */
}

/* 4) Mismo foco que el input */
.select-text:focus {
  outline: none;
  border-color: #66afe9;
  box-shadow: 0 0 0 0.2em rgba(102,175,233,0.25);
}





        /* Sección de Categorías Superiores */
        .category-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 60px;
        }

        .category-card {
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 350px; /* Para mantener consistencia de altura */
            position: relative; /* Para la posición de la imagen de fondo */
        }

        .category-info {
            padding: 15px;
            position: absolute; /* Para superponer el texto */
            top: 0;
            left: 0;
            width: 100%;
            text-align: left;
            background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
            box-sizing: border-box;
        }

        .category-card h3 {
            margin: 5px 0 0;
            font-size: 1.3em;
            color: #333;
        }

        .category-card p.product-count {
            margin: 0;
            font-size: 0.9em;
            color: #666;
        }

        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Para cubrir el área sin distorsionar */
            display: block;
            border-radius: 8px;
        }

        .category-card .shop-now {
            display: block;
            margin: 15px 0 20px;
            color: #b8860b; /* Color marrón/oro para enlaces, similar a tonos de madera en imagen2 */
            text-decoration: none;
            font-weight: bold;
            font-size: 1.05em;
            transition: color 0.3s ease;
        }

        .category-card .shop-now:hover {
            color: #8B4513; /* Un tono más oscuro al pasar el ratón */
        }

        /* Sección de Nuevas Llegadas */
        .new-arrivals-section {
            text-align: center;
            margin-bottom: 60px;
        }

        .new-arrivals-section h2 {
            font-size: 2em;
            color: #333;
            margin-bottom: 10px;
        }

        .new-arrivals-section p {
            color: #666;
            margin-top: 0;
            margin-bottom: 40px;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 25px;
        }

        .product-card {
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            text-align: center;
            padding-bottom: 15px; /* Espacio para el texto de abajo */
            position: relative;
        }

        .product-card img {
            width: 100%;
            height: 250px; /* Altura fija para las imágenes de producto */
            object-fit: cover;
            display: block;
            border-radius: 8px 8px 0 0;
        }

        .product-card h4 {
            font-size: 1.1em;
            margin: 15px 10px 5px;
            color: #333;
        }

        .product-card p.price {
            font-size: 1.1em;
            font-weight: bold;
            color: #b8860b; /* Color de precio similar a los enlaces */
            margin: 0 10px 10px;
        }

        .product-card p.old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9em;
            margin-left: 5px;
        }

        .product-card .discount-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #e65243; /* Color de descuento rojo, similar a imagen2 */
            color: #fff;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.85em;
            font-weight: bold;
        }

        /* Estilos para la encuesta - coherentes con style.css */
.survey-container {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 40px auto;
  border: 1px solid var(--wood-medium);
}

.survey-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--wood-dark);
  margin-bottom: 15px;
  text-align: center;
}

.survey-header p {
  color: var(--wood-dark);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

.survey-header p strong {
  color: var(--accent-honey);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--wood-dark);
  margin-bottom: 10px;
  font-size: 1rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  color: var(--wood-dark);
  font-size: 0.95rem;
}

.checkbox-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid var(--wood-medium);
  border-radius: 4px;
  transition: all 0.3s;
}

.checkbox-option:hover .checkmark {
  border-color: var(--accent-honey);
}

.checkbox-option input:checked ~ .checkmark {
  background-color: var(--accent-honey);
  border-color: var(--accent-honey);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-option input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-option .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.styled-select {
  display: block;
  width: 100%;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: var(--wood-dark);
  background-color: #fff;
  border: 1px solid var(--wood-medium);
  border-radius: 6px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23A67B5B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  transition: border-color 0.3s;
}

.styled-select:focus {
  outline: none;
  border-color: var(--accent-honey);
  box-shadow: 0 0 0 2px rgba(224, 184, 95, 0.2);
}

.survey-submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--accent-honey);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.survey-submit-btn:hover {
  background-color: var(--wood-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(166, 123, 91, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .survey-container {
    padding: 20px;
    margin: 20px;
  }
  
  .survey-header h2 {
    font-size: 1.5rem;
  }
}

 :root {
            --wood-light:   #F5E4D7;
            --wood-medium:  #D2B79E;
            --wood-dark:    #A67B5B;
            --accent-honey: #E0B85F;
            --neutral-grey: #CCCCCC;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f9f5f0;
            color: var(--wood-dark);
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }
        
        .thank-you-container {
            max-width: 600px;
            margin: 50px auto;
            padding: 40px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(166, 123, 91, 0.1);
            text-align: center;
            border: 1px solid var(--wood-medium);
        }
        
        h1 {
            font-family: 'Playfair Display', serif;
            color: var(--wood-dark);
            font-size: 2.2rem;
            margin-bottom: 20px;
        }
        
        .points-badge {
            background-color: var(--accent-honey);
            color: white;
            display: inline-block;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 600;
            margin: 20px 0;
            font-size: 1.2rem;
            box-shadow: 0 4px 8px rgba(224, 184, 95, 0.3);
        }
        
        p {
            margin-bottom: 20px;
            font-size: 1.05rem;
        }
        
        .highlight {
            color: var(--accent-honey);
            font-weight: 600;
        }
        
        .thank-you-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            color: var(--accent-honey);
        }
        
        .next-steps {
            background-color: var(--wood-light);
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
            text-align: left;
        }
        
        .next-steps h3 {
            margin-top: 0;
            color: var(--wood-dark);
            font-size: 1.2rem;
        }
        
        .action-btn {
            display: inline-block;
            margin-top: 20px;
            padding: 12px 30px;
            background-color: var(--wood-dark);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .action-btn:hover {
            background-color: var(--accent-honey);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(166, 123, 91, 0.3);
        }
        
        @media (max-width: 768px) {
            .thank-you-container {
                margin: 20px;
                padding: 30px 20px;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }