  @import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

  html {
    scroll-padding-top: 120px; /* Ajusta esto al alto real de tu header fijo */
  }
  :root {
    /*--primary-color: #254d4d;*/
    --primary-color:#8044a7;
    --text-dark: #8044a7;
    --text-light: #737373;
    --extra-light: #f4f6f5;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Merriweather", serif;
  }

  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
  }

  .section__header {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
    font-family: var(--header-font);
    color: var(--primary-color);
  }

  .section__description {
    font-size: 1.1rem;
    color: var(--text-light);
  }

  .logo {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--header-font);
  }

  img {
    display: flex;
    width: 100%;
  }

  a {
    text-decoration: none;
    transition: 0.3s;
  }

  ul {
    list-style: none;
  }

  html,
  body {
    scroll-behavior: smooth;
  }

  body {
    font-family: "Poppins", sans-serif;
    padding-top: 100px;
  }

  nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .nav__header {
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
  }

  .nav__logo .logo {
    color: var(--white);
  }

  .nav__menu__btn {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
  }

  .nav__links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--primary-color);
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-100%);
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__links a {
    font-weight: 500;
    color: var(--white);
  }

  .nav__search {
    display: none;
  }

  .header__container {
    display: grid;
    overflow: hidden;
    margin-top: 100px;
  }

  .header__image {
    grid-area: 1/1/2/2;
  }

  .header__image img {
    max-width: 900px;
    margin-left: auto;
  }

  .header__content {
    grid-area: 1/1/2/2;
    display: flex;
    align-items: center;
  }

  .header__content > div {
    max-width: 500px;
    padding: 4rem 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
  }

  .header__content h1 {
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 600;
    font-family: var(--header-font);
    color: var(--primary-color);
  }

  .header__content p {
    font-size: 1.2rem;
    color: var(--text-light);
  }

  .deals__container {
    display: grid;
    gap: 2rem;
  }

  .deals__card span {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 2rem;
  }

  .deals__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
  }

  .deals__card p {
    color: var(--text-light);
  }

  .about__header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .about__header .section__description {
    max-width: 600px;
  }

  .about__btn {
    width: fit-content;
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
  }

  .about__content {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
  }

  .about__grid {
    display: grid;
    gap: 2rem;
  }

  .about__image {
    overflow: hidden;
  }

  .about__card h3 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
  }

  .about__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
  }

  .about__card p {
    color: var(--text-light);
  }

  .product__grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
  }

  .product__card {
    position: relative;
    isolation: isolate;
    padding: 2rem;
  }

  .product__card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background-color: var(--extra-light);
    z-index: -1;
    transition: 0.3s;
  }

  .product__card:hover::before {
    height: 100%;
  }

  .product__card h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
  }

  .product__card p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
  }

  .product__card img {
    max-width: 275px;
    margin-inline: auto;
  }

  .client__content {
    padding: 4rem 1rem;
    background-color: var(--extra-light);
    border-radius: 1rem;
  }

  .client__content :is(.section__header, .section__description) {
    max-width: 550px;
    margin-inline: auto;
    text-align: center;
  }

  .client__content .section__header {
    font-size: 3.25rem;
  }

  .swiper {
    margin-top: 4rem;
    width: 100%;
  }

  .client__card {
    display: grid;
    gap: 2rem;
    max-width: 750px;
    margin-inline: auto;
    text-align: center;
  }

  .client__card img {
    max-width: 250px;
    margin-inline: auto;
  }

  .client__card p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
  }

  .client__card h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
  }

  .client__card h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
  }

  .footer {
    background-color: var(--primary-color);
  }

  .footer__container {
    display: grid;
    gap: 4rem 2rem;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .footer__logo .logo {
    color: var(--white);
  }

  .footer__col p {
    margin-bottom: 2rem;
    color: var(--extra-light);
    opacity: 0.8;
  }

  .footer__socials {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .footer__socials a {
    font-size: 1.5rem;
    color: var(--white);
  }

  .footer__socials a:hover {
    opacity: 0.5;
  }

  .footer__col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
  }

  .footer__links {
    display: grid;
    gap: 1rem;
  }

  .footer__links a {
    color: var(--extra-light);
    opacity: 0.8;
  }

  .footer__links a:hover {
    opacity: 1;
  }

  .footer__bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--extra-light);
    opacity: 0.8;
    text-align: center;
  }

  @media (width > 540px) {
    .deals__container {
      grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .product__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (width > 768px) {
    nav {
      /*position: static; */
      padding: 2rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }

    .nav__header {
      flex: 1;
      padding: 0;
      background-color: transparent;
    }

    .nav__menu__btn {
      display: none;
    }

    .nav__logo .logo {
      color: var(--primary-color);
    }

    .nav__links {
      position: static;
      padding: 0;
      width: fit-content;
      flex-direction: row;
      gap: 3rem;
      background-color: transparent;
      transform: none;
    }

    .nav__links a {
      color: var(--text-dark);
    }

    .nav__links a:hover {
      color: var(--primary-color);
    }

    .nav__search {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 1rem;
    }

    .nav__search input {
      padding-block: 5px;
      outline: none;
      border: none;
      width: 0;
      font-size: 1rem;
      color: var(--text-dark);
      border-bottom: 1px solid var(--text-light);
      transition: 0.3s;
    }

    .nav__search.open input {
      width: 100%;
      max-width: 15rem;
    }

    .nav__search span {
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--text-dark);
      cursor: pointer;
    }

    .header__container {
      padding-top: 100px;
    }

    .deals__container {
      grid-template-columns: repeat(3, 1fr);
    }

    .deals__card:nth-child(1) {
      grid-column: 1/4;
    }

    .about__header {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }

    .about__content {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
    }

    .about__image {
      grid-area: 1/2/2/3;
    }

    .product__grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .client__card {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
      text-align: left;
    }

    .footer__container {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (width > 1024px) {
    .deals__container {
      grid-template-columns: repeat(4, 1fr);
    }

    .deals__card:nth-child(1) {
      grid-column: unset;
    }

    .about__grid {
      gap: 4rem 2rem;
    }
  }

  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
  }

  .whatsapp-float:hover {
    transform: scale(1.1);
  }

  /* Modal General */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
  }

  .modal-content {
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 700px;
  }

  .modal-gallery {
    text-align: center;
  }

  .modal-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  #galleryThumbnails img {
    width: 80px;
    height: 80px;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
  }

  #galleryThumbnails img:hover {
    border-color: #8044a7;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover {
    color: #000;
  }

  .btn__tienda__wrap {
    text-align: center;
    margin-top: 2rem;
  }

  .btn__tienda {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #7f30ff, #a054f1);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(122, 60, 241, 0.3);
    transition: all 0.3s ease;
  }

  .btn__tienda i {
    font-size: 1.5rem;
  }

  .btn__tienda:hover {
    background: linear-gradient(135deg, #a054f1, #7f30ff);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(122, 60, 241, 0.5);
  }

  .nav__fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Asegura que esté encima del resto */
    background-color: #fff; /* Fondo blanco o el color de tu diseño */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }

  .header__container {
    margin-top: 80px; /* Ajusta según el alto real del nav */
  }
  /*Boton registrarse */
  .btn__register {
    padding: 0.5rem 1rem;
    background-color: #8044a7;
    color: #fff !important;  
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
  }

  .btn__register:hover {
    background-color: #c21fb4;     /* Color al pasar el mouse */
    color: #fff;
  }

  /* Asegura que se vea en móviles */
  @media (max-width: 768px) {
    .btn-register {
      top: 1rem;
      right: 1rem;
      font-size: 0.8rem;
      padding: 0.5rem 0.9rem;
    }
  }

  /* --- Sección ¿Por qué elegirnos? --- */
.why__container {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.why__card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.why__card span {
  font-size: 2.5rem;
  color: #b56bff; /* tono lilita/Army */
}

.why__card h4 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.why__card p {
  margin-top: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}
  /* --- Fin Sección ¿Por qué elegirnos? --- */

/* --- Sección del Libro de Reclamaciones en el footer --- */
.libro__reclamaciones {
  text-align: center;
  margin-top: 20px;
}

.libro__reclamaciones a {
  display: inline-block;
  text-decoration: none;
}

.libro__img {
  max-width: 220px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.libro__img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
 /* --- FIN seccion Libro de Reclamaciones --- */