/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #faf8f5;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
   background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none; /* ← quitar */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-container {
  text-align: center;
  margin-top: 10px;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #c9a96e;
  letter-spacing: 4px;
  margin-bottom: 0.9rem;
}

.logo-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c9a96e;
  margin-bottom: 10px;
}

.tagline {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 9px;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.location-btn,
.cart-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #c9a96e;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation */

.navigation {
   background-color: #fff;    /* boton arreglo */
  border-top: none;

}

.nav-menu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 1rem 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover {
  color: #c9a96e;
}

.dropdown i {
  font-size: 0.7rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  text-align: center;
}

.hero-logo-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #c9a14a;
  padding: 10px;
  background: white;
}

/* Categories Section */
.categories-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.category-item{
    background:#fff;
    padding:1.2rem;
    border-radius:20px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

.category-item:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(0,0,0,0.12);
}

.category-item img{
    width:100%;
    height:380px; /* AGRANDA */
    object-fit:cover;
    border-radius:15px;
    display:block;
}

.category-icon {
  font-size: 2.5rem;
  color: #c9a96e;
  margin-bottom: 1rem;
}

.category-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 1px;
}

/* Featured Section */
.featured-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.featured-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background-color: #fff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.product-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.product-price {
  margin-bottom: 2rem;
}

.price {
  font-size: 1.8rem;
  color: #c9a96e;
  font-weight: bold;
  margin-right: 1rem;
}

.original-price {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
}

.add-to-cart-btn {
  background-color: #c9a96e;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.add-to-cart-btn:hover {
  background-color: #b8956a;
  transform: translateY(-2px);

}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem 2rem; /* Reduced bottom padding to separate from copyright */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: #c9a96e;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #c9a96e;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #c9a96e;
}

/* Improved footer categories organization */
.footer-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-categories li {
  margin-bottom: 0.3rem;
}

.footer-categories li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  display: block;
  padding: 0.2rem 0;
}

.footer-categories li a:hover {
  color: #c9a96e;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding: 1.5rem 2rem; /* Increased padding for better separation */
  text-align: center;
  color: #999;
  margin-top: 1rem; /* Added margin to separate from main content */
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Main Content Styles */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.care-section {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 3rem;
}

.image-container {
  text-align: center;
  padding: 3rem 2rem 2rem 2rem;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
}

.care-image {
  width: 250px;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.care-recommendations {
  padding: 2rem;
}

.care-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.recommendation-item {
  background-color: #faf8f5;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0ede6;
}

.recommendation-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.recommendation-icon {
  font-size: 2rem;
  color: #c9a96e;
  margin-bottom: 1rem;
}

.recommendation-item h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.recommendation-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .search-container {
    width: 100%;
    max-width: 300px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .featured-product {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .logo {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .main-content {
    padding: 2rem 1rem;
  }

  .care-title {
    font-size: 1.5rem;
  }

  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .image-container {
    padding: 2rem 1rem 1rem 1rem;
  }

  .care-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-item {
    padding: 1.5rem;
  }

  .featured-product {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Mobile responsive for footer categories */
  .footer-categories {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .care-recommendations {
    padding: 1.5rem;
  }

  .recommendation-item {
    padding: 1rem;
  }

  .care-image {
    height: 200px;
  }
}

/* BOTÓN MÁS BONITO */
.menu-btn {
  position: fixed;
  top: 30px; /* baja el espacio */
  left: 15px;
  background-color: #c9a96e;
  color: white;
  font-size: 1.3rem;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1300;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* MENÚ PRO */
.side-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: #ffffff;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  z-index: 1400;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* ACTIVAR */
#menu-toggle:checked ~ .side-menu {
  left: 0;
}

/* FONDO OSCURO */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1200;
}

/* MOSTRAR FONDO */
#menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

/* TEXTO */
.side-menu h3 {
  color: #c9a96e;
  margin-bottom: 1.5rem;
}

/* LINKS */
.side-menu ul li {
  margin: 1rem 0;
}

.side-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  display: block;
  padding: 0.5rem 0;
  transition: 0.2s;
}

.side-menu ul li a:hover {
  color: #c9a96e;
  transform: translateX(5px);
}

/* BOTÓN CERRAR */
.close-btn {
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}


/*ESTILO KOAJ TOPOS */

/* CONTENEDOR */
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}



/* IMÁGENES */
.category-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* TITULOS */
.titulo-categoria {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #333;
  border-left: 5px solid #c9a96e;
  padding-left: 10px;
}

/* PROMO */
.promo-banner {
  background: linear-gradient(90deg, #c9a96e, #e6c78f);
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* FAQ */

.faq-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: 300;
}

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  background: #faf8f5;
  transition: 0.3s ease;
}

.faq-question:hover {
  background: #f1ece4;
  color: #c9a96e;
}

.faq-answer {
  padding: 20px;
  color: #555;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  color: #c9a96e;
}

/* Responsive FAQ */

@media (max-width:768px) {
  .faq-title {
    font-size: 1.6rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 15px;
  }

  .faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }
}

/* SOLO CONJUNTOS */
.conjuntos-page .grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.conjuntos-page .category-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.conjuntos-page .category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.conjuntos-page .category-item img {
  width: 100%;
  max-width: 260px;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 15px;
}

/* TITULO IGUAL NORMAL */
.conjuntos-page .category-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* PRECIO IGUAL NORMAL */
.conjuntos-page .category-item p {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

/* ========================= */
/* MEJORA SOLO VERSION MOVIL */
/* ========================= */

@media (max-width: 768px){

  body{
    overflow-x:hidden;
  }

  /* Logo */
  .logo{
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .tagline{
    font-size: .8rem;
    letter-spacing: 4px;
  }

  /* Botón menú */
  .menu-btn{
    top: 15px;
    left: 15px;
    padding: 10px 12px;
    font-size: 1.1rem;
  }

  /* Menú lateral */
  .side-menu{
    width: 240px;
    left: -260px;
  }

  /* Imagen principal */
  .hero-logo-img{
    width: 170px;
    height: 170px;
  }

  /* Categorías */
  .categories-section{
    padding: 1rem;
  }

  .categories-grid{
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }

  .category-item{
    padding: 1rem;
  }

  .category-icon{
    font-size: 2rem;
  }

  .category-item h3{
    font-size: 13px;
    line-height: 1.3;
  }

  /* Productos destacados */
  .featured-section{
    padding: 1rem;
  }

  .section-title{
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* Footer */
  .footer-content{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
  }

  .footer-section p{
    justify-content: center;
  }

}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px){

  .logo{
    font-size: 1.6rem;
  }

  .tagline{
    font-size: .75rem;
    letter-spacing: 3px;
  }

  .hero-logo-img{
    width: 140px;
    height: 140px;
  }

  .categories-grid{
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-item{
    padding: .9rem;
  }

  .category-item h3{
    font-size: 12px;
  }

  .footer-bottom{
    padding: 1rem;
    font-size: 13px;
  }

}


/* CONTENEDOR */
.contenedor{
    max-width:1200px;
    margin:auto;
    padding:2rem;
}

/* GRID PRODUCTOS */
.grid-productos{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:2rem;
}

/* PRODUCTO */
.category-item{
    background:#fff;
    padding:1rem;
    border-radius:10px;
    text-align:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* IMAGEN RESPONSIVE REAL */
.category-item img{
    width:100%;

    object-fit:cover;
    border-radius:8px;
}

/* PRECIO */
.category-item p{
    margin-top:10px;
    color:#333;
    font-weight:bold;
}

/* NAV */
.navigation{
    background:#fff;
}

.nav-menu{
    display:flex;
    justify-content:center;
    gap:1rem;
    flex-wrap:wrap;
    padding:1rem;
    list-style:none;
}

/* FOOTER */
.footer{
    background:#333;
    color:white;
    padding:2rem;
    margin-top:3rem;
}

.footer-content{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:2rem;
}

/* WHATSAPP */
.whatsapp-float{
    position:fixed;
    bottom:20px;
    right:20px;
}

.whatsapp-float a{
    background:#25d366;
    color:white;
    padding:15px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* 📱 MOBILE */
@media (max-width:768px){

 .grid-productos{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap:2rem;
}

}

@media (max-width:480px){

    .grid-productos{
        grid-template-columns: 1fr;
    }

}
