/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --font-semi: 600;
  --font-bold: 700;
}

/*===== Colores =====*/
:root {
  --first-color: #C7916A;
  --first-color-alt: #A67652;
  --white-color: #FAFAFF;
  --dark-color: #101010;
  --dark-color-light: #606060;
  --gray-color: #F0F1F3;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
}

/*===== Fuente y tipografia =====*/
:root {
  --body-font: 'Open Sans', sans-serif;
  --big-font-size: 3rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --small-font-size: .75rem;
}

@media screen and (min-width: 768px) {
  :root {
    --big-font-size: 6rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .813rem;
  }
}

/*===== Margenes =====*/
:root {
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
}

/*===== z index =====*/
:root {
  --z-tooltip: 10;
  --z-fixed: 1001;
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--dark-color);
  line-height: 1.6;
}

h1, h2, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--dark-color);
}

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

/*===== CLASS CSS ===== */
.section
{
  padding: 3rem 0;
}

.section-title
{
  font-size: var(--h2-font-size);
  color: var(--dark-color);
  margin: var(--mb-4) 0 var(--mb-1);
  text-align: center;
}

.section-all
{
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  color: var(--dark-color-light);
  text-align: center;
  margin-bottom: var(--mb-2);
}

/*===== LAYOUT =====*/
.bd-grid
{
  max-width: 1400px;
  display: grid;
  grid-template-columns: 100%;
  grid-column-gap: 2rem;
  width: calc(100% - 3rem);
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}

.l-header
{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: #F5EFE6;
}

/*===== NAV =====*/
.nav
{
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0 0.5rem;
}

/* Ajuste de padding para tablets y desktop */
@media screen and (min-width: 768px) {
  .nav {
    padding: 0 1rem;
  }
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--dark-color);
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* Logo más grande en tablets y desktop */
@media screen and (min-width: 768px) {
  .nav__logo {
    font-size: 1.3rem;
    letter-spacing: 1.8px;
  }
}

/* Search Bar */
.nav__search {
  position: relative;
  display: flex;
  justify-self: end;
  align-items: center;
}

/* Icono de búsqueda móvil (solo ícono) */
.nav__search-icon {
  color: var(--first-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

/* Input oculto por defecto en móvil */
.nav__search-input {
  display: none;
}

/* Desktop: mostrar input completo */
@media screen and (min-width: 768px) {
  .nav__search {
    position: relative;
  }

  .nav__search-input {
    display: block;
    padding: 0.5rem 2.75rem 0.5rem 1rem;
    border: 2px solid #C7916A;
    border-radius: 25px;
    font-size: 0.875rem;
    width: 220px;
    outline: none;
    transition: all 0.3s;
    background-color: white;
  }

  .nav__search-input:focus {
    border-color: var(--first-color-alt);
    box-shadow: 0 3px 12px rgba(199, 145, 106, 0.3);
  }

  .nav__search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    pointer-events: none;
    cursor: default;
    margin-right: 0;
  }

  .nav__search-input:focus + .nav__search-icon {
    color: var(--first-color-alt);
    transform: translateY(-50%) scale(1.1);
  }
}

/* Search Dropdown */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #C7916A;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
}

.search-dropdown.active {
  display: block;
}

.search-dropdown__item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.search-dropdown__item:hover {
  background-color: #FAF7F2;
}

.search-dropdown__item:last-child {
  border-bottom: none;
}

.search-dropdown__image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 0.75rem;
}

.search-dropdown__info {
  flex: 1;
}

.search-dropdown__name {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.search-dropdown__category {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.search-dropdown__price {
  font-size: 0.85rem;
  color: var(--first-color);
  font-weight: 600;
}

.search-dropdown__no-results {
  padding: 1rem;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* Mobile Search Dropdown */
.mobile-search-dropdown {
  display: none;
  margin-top: 1rem;
  background: white;
  border-radius: 10px;
  max-height: calc(100vh - 200px);
  max-height: calc(100dvh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0; /* Importante para que flex funcione correctamente */
}

.mobile-search-dropdown.active {
  display: block;
}

.mobile-search-dropdown .search-dropdown__item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.mobile-search-dropdown .search-dropdown__item:active {
  background-color: #FAF7F2;
}

.mobile-search-dropdown .search-dropdown__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.mobile-search-dropdown .search-dropdown__name {
  font-size: 1rem;
}

.mobile-search-dropdown .search-dropdown__category {
  font-size: 0.85rem;
}

.mobile-search-dropdown .search-dropdown__price {
  font-size: 0.95rem;
}

/* Menú hamburguesa para móviles y tablets */
@media screen and (max-width: 1023px)
{
  .nav {
    gap: 0.5rem;
    padding: 0 0.25rem 0 0.4rem;
  }

  .nav__search {
    margin-right: 0;
  }

  .nav__toggle {
    margin-right: 0;
  }

  .nav__menu
  {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--white-color);
    transition: .5s;
  }

  .nav__item
  {
    margin-bottom: var(--mb-4);
  }

  .nav__link
  {
    color: var(--dark-color);
    font-weight: var(--font-semi);
  }

  .nav__link:hover
  {
    color: var(--first-color);
  }

  /* Estilos del logo movidos fuera del media query */

  .nav__cart
  {
    font-size: 1.5rem;
    margin-right: var(--mb-2);
  }

  .nav__toggle
  {
    font-size: 1.5rem;
    cursor: pointer;
  }
}


/*=== Show menu ===*/
.show
{
  right: 0;
}

.active
{
  color: var(--first-color);
}

/*===== HOME CAROUSEL =====*/
.home-carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Enable touch scrolling on mobile for home carousel */
@media screen and (max-width: 768px) {
  .carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .carousel-container::-webkit-scrollbar {
    display: none;
  }

  .carousel-slides {
    transition: none;
  }

  .carousel-slide {
    scroll-snap-align: start;
  }
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
}

.carousel-slide__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
}

.carousel-slide__title {
  font-size: 3.5rem;
  font-weight: var(--font-semi);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.carousel-slide__description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s;
  animation-fill-mode: backwards;
}

.carousel-slide__button {
  animation: fadeInUp 0.8s ease-out 0.4s;
  animation-fill-mode: backwards;
}

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

/* Botones de navegación */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-container:hover .carousel__btn {
  opacity: 1;
  visibility: visible;
}

.carousel__btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.15);
}

.carousel__btn--prev {
  left: 1rem;
}

.carousel__btn--next {
  right: 1rem;
}

/* Indicadores */
.carousel__indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.carousel__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel__indicator.active {
  background: white;
  transform: scale(1.3);
}

.carousel__indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Responsive para carrusel */
@media screen and (max-width: 768px) {
  .carousel__btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    /* En móviles, siempre visible pero muy discreto */
    opacity: 0.6;
    visibility: visible;
    background: rgba(255, 255, 255, 0.15);
  }

  .carousel__btn--prev {
    left: 0.5rem;
  }

  .carousel__btn--next {
    right: 0.5rem;
  }

  .carousel__btn:hover {
    opacity: 0.9;
  }

  .carousel-slide__title {
    font-size: 2rem;
    letter-spacing: 0.1rem;
  }

  .carousel-slide__description {
    font-size: 1rem;
  }

  .carousel__indicators {
    bottom: 1rem;
  }

  .carousel__indicator {
    width: 10px;
    height: 10px;
  }
}


/*BUTTONS*/
.button
{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 1rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  transition: .3s;
}

.button:hover
{
  background-color: var(--first-color-alt);
}

/* WhatsApp Button Standardized */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: var(--font-semi);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  font-family: var(--body-font);
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-btn i {
  font-size: 1.3rem;
}

/* WhatsApp Button Large (for modals) */
.whatsapp-btn--large {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
}

.whatsapp-btn--large i {
  font-size: 1.5rem;
}


/*===== COLLECTION =====*/
/* Estilos comentados - ahora se usa el carrusel de categorías
.collection__container
{
  row-gap: 2rem;
}

.collection__box
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  background-color: var(--gray-color);
  transition: .3s;
}

.collection__box:hover
{
  transform: translateY(-.5rem);
}

.collection__img
{
  width: 100px;
}
*/

.collection__title
{
  font-size: var(--h1-font-size);
  list-style: 1.2;
  margin-bottom: var(--mb-2);
  text-transform: uppercase;
  font-weight: var(--font-semi);
}

.collection__subtitle
{
  font-size: var(--h2-font-size);
  color: var(--dark-color-light);
}

.collection__view
{
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
}

.collection__view:hover
{
  text-decoration: underline;
}

/*===== FEATURED PRODUCTS =====*/
.featured__container
{
  row-gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Mobile: Ensure 2 columns with appropriate spacing */
@media screen and (max-width: 767px) {
  .featured__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.featured__product
{
  transition: .3s;
}

.featured__product:hover
{
  transform: translateY(-.5rem);
}

.featured__box
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--gray-color);
  overflow: hidden;
}

.featured__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}

.featured__img-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background-color: var(--gray-color);
}

/* Productos más cortos en móviles */
@media screen and (max-width: 768px) {
  .featured__img {
    height: 280px;
  }

  .featured__img-container {
    height: 280px;
  }
}

.featured__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured__new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--first-color);
  color: white;
  padding: 0.3rem 0.75rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  z-index: 10;
}

.featured__discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e74c3c;
  color: white;
  padding: 0.5rem 0.75rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-bold);
  border-radius: 50px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.featured__new
{
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: .3rem .75rem;
  font-size: var(--small-font-size);
}

.featured__data
{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
}

.featured__name
{
  margin-bottom: var(--mb-1);
  font-size: var(--normal-font-size);
  width: 100%;
}

.featured__price
{
  color: var(--dark-color-light);
  font-weight: var(--font-semi);
}

.featured__category {
  display: none;
}

.featured__size {
  display: block;
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
  margin-bottom: 0.25rem;
  text-align: center;
}

.featured__price-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}


/*===== OFFER =====*/
.offer.section {
  padding: 0 !important;
  margin: 0 !important;
}

.offer__bg
{
  background: url('../img/offer.jpg') no-repeat center/cover;
  background-size: cover;
  background-position: center;
  text-align: center;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.offer__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 1;
}

.offer__data
{
  padding: 5rem 2rem;
  color: var(--white-color);
  width: 100%;
  position: relative;
  z-index: 2;
}

.offer__title
{
  font-size: 3rem;
  letter-spacing: .2rem;
  text-transform: uppercase;
  font-weight: var(--font-semi);
  margin-bottom: 1.5rem;
}

.offer__description
{
  margin-bottom: 2rem;
  letter-spacing: .1rem;
  font-size: 1.3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.offer__data .button {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
  .offer__title {
    font-size: 2rem;
  }

  .offer__description {
    font-size: 1rem;
  }
}

/*===== SISTECREDITO =====*/
.sistecredito {
  margin: 0;
  padding: 0;
}

.sistecredito__bg {
  background: #f5f5f5;
  text-align: center;
  padding: 8rem 2rem;
  min-height: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sistecredito__data {
  max-width: 900px;
  margin: 0 auto;
}

.sistecredito__title {
  font-size: 4.5rem;
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.sistecredito__title-blue {
  color: #1e3a8a;
}

.sistecredito__title-green {
  color: #22c55e;
}

.sistecredito__subtitle {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 2rem;
  font-weight: 400;
}

.sistecredito__main-text {
  font-size: 2.5rem;
  color: #111827;
  font-weight: 600;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.sistecredito__button {
  display: inline-block;
  background-color: white;
  color: #1e3a8a;
  font-weight: 600;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  border: 2px solid #1e3a8a;
  border-radius: 50px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sistecredito__button:hover {
  background-color: #1e3a8a;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .sistecredito__bg {
    padding: 3rem 1.5rem;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sistecredito__title {
    font-size: 2.8rem;
  }

  .sistecredito__main-text {
    font-size: 1.6rem;
  }

  .sistecredito__subtitle {
    font-size: 1.1rem;
  }

  .sistecredito__button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}

/*===== EMPRENDE CON NOSOTROS =====*/
.emprende {
  margin: 0;
  padding: 0;
  background-color: #FAF7F2;
}

.emprende__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.emprende__data {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.emprende__title {
  font-size: 2rem;
  color: var(--dark-color);
  font-weight: var(--font-semi);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  line-height: 1.2;
}

.emprende__description {
  font-size: 1rem;
  color: var(--dark-color-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.emprende__benefits {
  list-style: none;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 500px;
}

.emprende__benefits li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--dark-color);
  text-align: left;
}

.emprende__benefits i {
  font-size: 1.8rem;
  color: var(--first-color);
  flex-shrink: 0;
  font-weight: bold;
}

/* Emprende button now uses .whatsapp-btn class */

.emprende__img {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

.emprende__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.emprende__img img:hover {
  transform: scale(1.05);
}

/* Responsive para Emprende */
@media screen and (min-width: 768px) {
  .emprende__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 2rem;
    align-items: center;
  }

  .emprende__data {
    text-align: center;
    align-items: center;
  }

  .emprende__title {
    font-size: 2.5rem;
  }

  .emprende__description {
    font-size: 1.1rem;
  }

  .emprende__benefits {
    max-width: 100%;
  }

  .emprende__benefits li {
    font-size: 1rem;
  }

  .emprende__img {
    height: 500px;
  }
}

@media screen and (min-width: 1024px) {
  .emprende__container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 5rem 3rem;
  }

  .emprende__title {
    font-size: 2.8rem;
  }

  .emprende__img {
    height: 600px;
  }
}

/*===== NEW ARRIVALS =====*/
.new {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.new__container
{
  row-gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Mobile: Ensure 2 columns with appropriate spacing */
@media screen and (max-width: 767px) {
  .new__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.new__box
{
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--white-color);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.new__box:hover
{
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.new__img
{
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Productos nuevos más cortos en móviles */
@media screen and (max-width: 768px) {
  .new__img {
    height: 280px;
  }
}

.new__data
{
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.new__name
{
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.new__category
{
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
  margin-bottom: 0.75rem;
}

.new__size
{
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
  margin-bottom: 0.5rem;
}

.new__price-container
{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.new__original-price
{
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
  text-decoration: line-through;
}

.new__price
{
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
}


/*===== NEWSLETTER =====*/
.newsletter
{
  text-align: center;
}

.newsletter__description
{
  margin-bottom: var(--mb-2);
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
}

.newsletter__form
{
  display: grid;
  grid-template-columns: 1fr .5fr;
}

.newsletter__input
{
  outline: none;
  border: none;
  background-color: var(--gray-color);
  padding: 0 1rem;
}


/*===== SPONSORS =====*/
.sponsors__container
{
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2rem;
  padding: 1.5rem 0;
}

.sponsors__logo
{
  display: flex;
  justify-content: center;
}

.sponsors__logo img
{
  width: 80px;
  filter: opacity(70%);
}

.sponsors__logo img:hover
{
  filter: none;
}

/*===== CUSTOM SECTIONS =====*/
.custom-section {
  width: 100%;
  padding: 3rem 0;
}

.custom-section .bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.custom-section h2 {
  font-size: var(--h2-font-size);
  color: var(--dark-color);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.custom-section p {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/*===== FOOTER =====*/
.footer
{
  background-color: #F6DDE4;
  color: var(--white-color);
}

.footer__container
{
  row-gap: 1rem;
  margin-bottom: var(--mb-4);
}

.footer__title
{
  margin-bottom: var(--mb-1);
}

.footer__deal
{
  margin-bottom: var(--mb-2);
}

.footer__store
{
  width: 100px;
}

.footer__link, .footer__social, .footer__deal
{
  color: #6B5B63;
  word-break: break-word;
  display: inline-block;
}

.footer__copy
{
color: #6B5B63;
}

.footer__link:hover
{
  text-decoration: underline;
}

.footer__social
{
  font-size: 1.3rem;
  margin-right: var(--mb-1);
}

.footer__copy
{
  border-top: 1px solid var(--dark-color-light);
  padding-top: 3rem;
  text-align: center;
  columns: var(--dark-color-light);
  font-size: var(--small-font-size);
}

/* ===== MEDIA QUERIES=====*/
@media screen and (min-width: 768px)
{
  body
  {
    margin: 0;
  }

  .section-all
  {
    margin-bottom: var(--mb-4);
  }
}

/* Menú hamburguesa hasta tablets (inclusive) */
@media screen and (min-width: 1024px)
{
  .nav
  {
    height: calc(var(--header-height) + 1rem);
    grid-template-columns: 1fr auto 1fr;
    position: relative;
    justify-items: center;
    align-items: center;
    padding: 1rem;
  }

  .nav__logo {
    justify-self: start;
    align-self: center;
  }

  .nav__search {
    justify-self: end;
    align-self: center;
  }

  .nav__menu
  {
    position: static;
    left: auto;
    transform: none;
    grid-column: 2 / 3;
    justify-self: center;
    align-self: center;
  }

  .nav__list
  {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .nav__item
  {
    margin-left: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }

  .nav__link
  {
    white-space: nowrap;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
  }

  .nav__toggle
  {
    display: none;
  }

  .home__container
  {
    height: 100vh;
  }

  .home__data
  {
    padding: 0;
    height: max-content;
    align-self: center;
  }

  .home__title
  {
    line-height: .8;
    letter-spacing: 1.5rem;
  }

  .home__img
  {
    width: 370px;
  }

  /* Estilos comentados - ahora se usa el carrusel de categorías
  .collection__container
  {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }

  .collection__box
  {
    padding: .5rem 3rem 0;
  }

  .collection__img
  {
    width: 130px;
  }
  */

  .featured__container,
  .sponsors__container
  {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__container
  {
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    column-gap: 2rem;
  }

  .offer__data
  {
    padding: 5re 0;
  }

  .new__container
  {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Estilos de categorías eliminados - ahora se usa el carrusel */

  .newsletter__form
  {
    width: 400px;
    margin: 0 auto;
  }

  .footer__container
  {
    padding: 2rem 0;
  }
}

@media screen and (min-width: 1024px)
{
  .bd-grid
  {
    margin-left: auto;
    margin-right: auto;
  }

  .home__data
  {
    padding-left: 7rem;
  }

  .home__img
  {
    right: 15%;
  }
}

/*===== NUEVOS ESTILOS PARA MAJE =====*/

/* Loading Spinner */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.spinner {
  border: 4px solid var(--gray-color);
  border-top: 4px solid var(--first-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Home Description */
.home__description {
  font-size: var(--normal-font-size);
  margin-bottom: 2rem;
  color: var(--dark-color-light);
}

/* WhatsApp Icon in Nav */
/* WhatsApp del header removido - ahora es un botón flotante */

/* Categories Section */
.collection.section {
  display: block !important;
  padding: 2rem 0 3rem !important;
}

.collection.section .section-title {
  display: none;
}

.categories-carousel {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.categories-carousel__container {
  overflow: hidden;
  width: 100%;
}

.categories__container {
  display: flex;
  transition: transform 0.5s ease;
  gap: 0.5rem;
}

/* Enable touch scrolling on mobile */
@media screen and (max-width: 1024px) {
  .categories-carousel__container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .categories-carousel__container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .categories__container {
    transition: none; /* Disable transform transition for touch scroll */
  }
}

.category__box {
  position: relative;
  flex: 0 0 calc(20% - 0.4rem);
  width: calc(20% - 0.4rem);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.categories-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--dark-color);
  font-size: 2rem;
  padding: 1rem 0.75rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.categories-carousel__btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.categories-carousel__btn--prev {
  left: 0;
}

.categories-carousel__btn--next {
  right: 0;
}

.categories-carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.categories-carousel__btn:disabled:hover {
  transform: translateY(-50%);
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .category__box {
    flex: 0 0 calc(25% - 1.125rem);
    width: calc(25% - 1.125rem);
  }

  .category__image-wrapper {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  .categories-carousel {
    padding: 0 3rem;
  }

  .category__box {
    flex: 0 0 calc(33.333% - 1rem);
    width: calc(33.333% - 1rem);
  }

  .category__image-wrapper {
    height: 180px;
  }

  .category__name {
    font-size: 0.85rem;
  }

  .categories-carousel__btn {
    font-size: 1.5rem;
    padding: 0.75rem 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .categories-carousel {
    padding: 0 2.5rem;
  }

  .category__box {
    flex: 0 0 calc(50% - 0.75rem);
    width: calc(50% - 0.75rem);
  }

  .category__image-wrapper {
    height: 150px;
  }

  .category__name {
    font-size: 0.75rem;
  }
}

.category__image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
}

.category__image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: background 0.3s;
}

.category__box:hover .category__image-wrapper::before {
  background: rgba(0, 0, 0, 0.4);
}

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

.category__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.category__content {
  position: relative;
  text-align: center;
  width: 100%;
}

.category__name {
  font-size: 1rem;
  font-weight: var(--font-semi);
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* Filters Section */
.filters__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  background-color: var(--gray-color);
  padding: 1.5rem;
  border-radius: 10px;
}

.filters__group {
  position: relative;
}

.filter__search {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.filter__search:focus {
  border-color: var(--first-color);
}

.filter__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-color-light);
  pointer-events: none;
}

.filter__select,
.filter__input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.filter__select:focus,
.filter__input:focus {
  border-color: var(--first-color);
}

.filter__price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter__clear {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Products Count */
.products__count {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark-color-light);
}

/* Products Container */
.products__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

/* Mobile: Force 2 columns for products */
@media screen and (max-width: 767px) {
  .products__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Products Empty */
.products__empty {
  text-align: center;
  padding: 3rem;
  color: var(--dark-color-light);
}

.products__empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

/* Featured Product Enhancements */
.featured__category {
  display: none;
}

.featured__price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.featured__original-price {
  text-decoration: line-through;
  color: var(--dark-color-light);
  font-size: var(--small-font-size);
}

.featured__stock-warning {
  color: var(--warning-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  margin-top: 0.5rem;
}

/* Product Colors */
.product__colors {
  display: none; /* Ocultar colores en la vista de catálogo */
}

/* Mostrar colores solo dentro del modal */
.modal__content .product__colors {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.color__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.color__circle:hover {
  transform: scale(1.15);
  border-color: var(--dark-color);
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

/* Product Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  padding: 2rem;
}

.modal__content {
  background-color: #F5EFE6;
  margin: auto;
  max-width: 1000px;
  border-radius: 10px;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--dark-color-light);
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s;
}

.modal__close:hover {
  color: var(--dark-color);
}

.modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 550px;
}

.modal__main-img-container {
  width: 100%;
  max-height: 500px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.modal__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.modal__thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}

.modal__thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.modal__thumbnail:hover,
.modal__thumbnail.active {
  border-color: var(--first-color);
}

.modal__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal__title {
  font-size: var(--h1-font-size);
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.modal__new-badge {
  display: inline-block;
  background-color: var(--success-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  width: fit-content;
}

.modal__size {
  font-size: var(--normal-font-size);
  color: var(--dark-color-light);
  margin-bottom: 0.75rem;
  font-weight: var(--font-semi);
}

.modal__prices {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal__colors {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.modal__colors-label {
  font-size: var(--normal-font-size);
  color: var(--dark-color);
  font-weight: var(--font-semi);
}

.modal__colors-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal__color-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: transform 0.2s;
}

.modal__color-circle:hover {
  transform: scale(1.1);
  border-color: var(--first-color);
}

.modal__price {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--first-color);
}

.modal__original-price {
  text-decoration: line-through;
  color: var(--dark-color-light);
  font-size: var(--normal-font-size);
}

.modal__description {
  color: var(--dark-color-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal__details {
  background-color: var(--gray-color);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.modal__details p {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

/* Modal WhatsApp button now uses .whatsapp-btn .whatsapp-btn--large classes */

/* Category Modal - Full Screen */
.category-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  overflow-y: auto;
}

.category-modal.active {
  display: block;
  animation: modalSlideIn 0.3s ease-out;
}

.category-modal__content {
  background-color: #F5EFE6;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.category-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--dark-color-lighten);
  background-color: #E3D7C7;
  position: sticky;
  top: var(--header-height);
  z-index: 1000;
  margin-top: var(--header-height);
}

.category-modal__title {
  font-size: 2rem;
  color: var(--dark-color);
  margin: 0;
  font-weight: var(--font-semi);
}

.category-modal__close {
  font-size: 2.5rem;
  color: var(--dark-color);
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.category-modal__close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.category-modal__body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

.category-modal__products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* Mobile: Force 2 columns for category products */
@media screen and (max-width: 767px) {
  .category-modal__products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Scroll to Top Button */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:focus {
  outline: none;
  border: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 2rem;
  background-color: var(--dark-color);
  color: white;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: none;
  animation: slideInRight 0.3s ease-out;
}

.toast.show {
  display: block;
}

.toast-success {
  background-color: var(--success-color);
}

.toast-error {
  background-color: var(--danger-color);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Newsletter Enhancements */
.newsletter__message {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--small-font-size);
  color: var(--success-color);
}

/* Footer Enhancements */
.footer__description {
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
}

/* Responsive Modal */
@media screen and (max-width: 767px) {
  .modal {
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .modal__content {
    width: 95%;
    max-width: 440px;
    margin: 0 auto;
    max-height: 90vh;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  }

  .modal__body {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.1rem 1.1rem;
    gap: 0.55rem;
    overflow-y: auto;
    max-height: 82vh;
  }

  .modal__gallery {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: auto;
  }

  .modal__main-img-container {
    width: 100%;
    max-height: 340px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
  }

  .modal__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .modal__thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .modal__thumbnail {
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
  }

  .modal__info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .modal__title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0;
    padding-right: 2rem;
    font-weight: 600;
  }

  .modal__new-badge {
    padding: 0.15rem 0.45rem;
    font-size: 0.65rem;
    margin-bottom: 0;
    width: fit-content;
  }

  .modal__size {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .modal__prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .modal__colors {
    margin-bottom: 0;
    gap: 0.4rem;
  }

  .modal__colors-label {
    font-size: 0.85rem;
  }

  .modal__color-circle {
    width: 28px;
    height: 28px;
  }

  .modal__price {
    font-size: 1.4rem;
    font-weight: bold;
  }

  .modal__original-price {
    font-size: 0.9rem;
  }

  .modal__description {
    display: none;
  }

  /* Modal WhatsApp button uses standardized .whatsapp-btn class */

  .modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.6rem;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

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

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.8rem;
  }
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/*===== MOBILE SEARCH MODAL =====*/
.mobile-search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Para navegadores modernos */
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  animation: fadeIn 0.3s ease-out;
  overflow: hidden; /* Prevenir scroll del modal */
  overscroll-behavior: none; /* Prevenir comportamiento de overscroll en iOS */
  -webkit-overflow-scrolling: auto; /* Desactivar scroll momentum en iOS */
}

.mobile-search-modal.active {
  display: flex;
  flex-direction: column;
}

.mobile-search-modal__content {
  background-color: #F5EFE6;
  width: 100%;
  padding: 1rem;
  flex-shrink: 0; /* No permitir que se comprima */
  position: relative;
  z-index: 1;
}

.mobile-search-modal__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.mobile-search-modal__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--first-color);
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  background-color: white;
  touch-action: manipulation; /* Optimizar eventos touch */
}

.mobile-search-modal__input:focus {
  border-color: var(--first-color-alt);
  box-shadow: 0 3px 12px rgba(199, 145, 106, 0.3);
}

.mobile-search-modal__close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--dark-color);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  touch-action: manipulation;
}

.mobile-search-modal__close:hover {
  color: var(--first-color);
  transform: rotate(90deg);
}

.mobile-search-modal__close:active {
  transform: scale(0.95);
}

/*===== ANNOUNCEMENT BANNERS =====*/
.announcement-banners-container {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
}

.announcement-banner {
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.announcement-banner__text {
  max-width: 1200px;
  margin: 0 auto;
}

/* Clickable banners */
.announcement-banner--clickable {
  cursor: pointer;
  user-select: none;
}

.announcement-banner--clickable:hover {
  opacity: 0.9;
  filter: brightness(1.1);
}

.announcement-banner--clickable:active {
  opacity: 0.8;
  transform: scale(0.99);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .announcement-banner {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

.footer__title
{
  color: #000000
}