:root {
  --pink: #eb3a3a;
}

* {
  margin: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: 0.2s linear;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

.swal-titulo-grande {
  font-size: 28px !important;
}

.swal2-html-container, .swal-texto-grande {
  font-size: 17px !important;
}

.swal-boton-grande {
  font-size: 18px !important;
  padding: 12px 25px !important;
}


section {
  padding: 2rem 9%;
}

.heading {
  text-align: center;
  font-size: 4rem;
  color: #333;
  padding: 1rem;
  margin: 2rem 0;
  background: rgba(255, 51, 153, 0.05);
}

.heading span {
  color: var(--pink);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5rem;
  background: #333;
  color: #fff;
  padding: 0.9rem 3.5rem;
  cursor: pointer;
  font-size: 1.7rem;
}

.btn:hover {
  background: var(--pink);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 0.5rem 1rem rgb(0, 0, 0, 0.1);
}

header .logo img {
  height: 75px; /* Ajusta la altura del logo */
  width: auto; /* Mantiene la proporción */
  object-fit: contain; /* Evita que se deforme */
  vertical-align: middle; /* Centra verticalmente */
}

/*header .logo{
    font-size:3rem;
    color: #333;
    font-weight: bolder;
 }*/

header .logo span {
  color: var(--pink);
}

header .navbar a {
  font-size: 2rem;
  padding: 0 1.5rem;
  color: #666;
}

header .navbar a:hover {
  color: var(--pink);
}

header .icons a {
  font-size: 3rem;
  color: #333;
  margin-left: 1.5rem;
}

header .icons a:hover {
  color: var(--pink);
}

header #toggler {
  display: none;
}

header .fa-bars {
  font-size: 3rem;
  color: #333;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  border: 0.1rem solid rgba(0, 0, 0, 0.3);
  display: none;
}

/* Carrusel sin márgenes ni bordes */

.home-slider {
  overflow-x: hidden;
}

.home .home-slider .slide {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 9rem;
}

.home .home-slider .slide .content {
  flex: 1 1 45rem;
}

.home .home-slider .slide .image {
  flex: 1 1 45rem;
}

.home .home-slider .slide .image img {
  width: 100%;
}

.home .home-slider .slide .content span {
  color: var(--green);
  font-size: 2.5rem;
}

.home .home-slider .slide .content h3 {
  color: var(--black);
  font-size: 7rem;
}

.home .home-slider .slide .content p {
  color: var(--pink);
  font-size: 2.2rem;
  padding: 0.5rem 0;
  line-height: 1.5;
}

.swiper-pagination-bullet-active {
  background: var(--green);
}

.about .row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  pad: 2rem 0;
  padding-bottom: 3rem;
}

.about .row .video-container {
  flex: 1 1 40rem;
  position: relative;
}

.about .row .video-container video {
  width: 100%;
  border: 1.5rem solid #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about .row .video-container h3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: #fff;
  width: 100%;
  padding: 1rem 2rem;
  text-align: center;
  mix-blend-mode: screen;
}

.about .row .content {
  flex: 1 1 40rem;
}

.about .row .content h3 {
  font-size: 3rem;
  color: #333;
}

.about .row .content p {
  font-size: 1.5rem;
  color: #999;
  padding: 0.5rem 0;
  padding-top: 1rem;
  line-height: 1.5;
}

.icons-container {
  background: #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.icons-container .icons {
  background: #fff;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  align-items: center;
  flex: 1 1 25rem;
}

.icons-container .icons img {
  height: 5rem;
  margin-right: 2rem;
}

.icons-container .icons h3 {
  color: #333;
  padding-bottom: 0.5rem;
  font-size: 1.5rem;
}

.icons-container .icons span {
  color: #555;
  font-size: 1.3rem;
}

.products .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.products .box-container .box {
  flex: 1 1 30rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.products .box-container .box .discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  font-size: 2rem;
  color: var(--pink);
  background: rgba(255, 51, 153, 0.5);
  z-index: 1;
  border-radius: 0.5rem;
}

.products .box-container .box .image {
  position: relative;
  text-align: center;
  padding-left: 2rem;
  overflow: hidden;
}

.products .box-container .box .image img {
  height: 25rem;
}

.products .box-container .box:hover .image img {
  transform: scale(1.1);
}

.products .box-container .box .image .icons {
  position: absolute;
  bottom: -7rem;
  left: 0;
  right: 0;
  display: flex;
}

.products .box-container .box:hover .image .icons {
  bottom: 0;
}

.products .box-container .box:hover .image .icons a {
  height: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  width: 50%;
  background: var(--pink);
  color: #fff;
}

.products .box-container .box:hover .image .icons .cart-btn {
  border-left: 0.1rem solid #fff7;
  border-right: 0.1rem solid #fff7;
  width: 100%;
}

.products .box-container .box:hover .image .icons a:hover {
  background: #333;
}

.products .box-container .box .content {
  padding: 2rem;
  text-align: center;
}

.products .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #333;
}

.products .box-container .box .content .price {
  font-size: 2.5rem;
  color: var(--pink);
  font-weight: bolder;
  padding-top: 1rem;
}

.products .box-container .box .content .price span {
  font-size: 1.5rem;
  color: #999;
  font-weight: lighter;
  text-decoration: line-through;
}

.review .box {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  position: relative;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

.review .box .fa-quote-right {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  font-size: 6rem;
  color: #eee;
}

.review .box .stars i {
  color: var(--pink);
  font-size: 2rem;
}

.review .box p {
  color: #999;
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding-top: 2rem;
}

.review .box .user {
  display: flex;
  align-items: center;
  padding-top: 2rem;
}

.review .box .user img {
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.review .box .user h3 {
  font-size: 2rem;
  color: #333;
}

.review .box .user span {
  font-size: 1.5rem;
  color: #999;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.contact .row form {
  flex: 1 1 40rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 0.5rem;
}

/* Imagen con fondo blanco */
.contact .row .image {
  flex: 1 1 35rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff; /* ✅ fondo sólido */
  padding: 2rem;
}

.contact .row .image img {
  width: 500%;
  max-width: 700px; /* controla el tamaño máximo */
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
}

.contact .row form .box {
  padding: 1rem;
  font-size: 1.7rem;
  color: #333;
  text-transform: none;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  margin: 0.7rem 0;
  width: 100%;
}

.contact .row form .box:focus {
  border-color: var(--pink);
}

.contact .row form textarea {
  height: 15rem;
  resize: none;
}

.footer {
  background: url("images/footer.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 8%;
  position: relative;
  z-index: 1;
}

.footer .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer .box-container .box {
  flex: 1 1 22rem;
  background: transparent;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
}

.footer .box-container .box h3 {
  color: #333;
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
  border-bottom: 2px solid rgba(255, 182, 193, 0.4);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer .box-container .box a {
  display: block;
  color: #444;
  font-size: 1.6rem;
  margin: 0.4rem 0;
  transition: 0.3s ease;
  padding-left: 0.5rem;
}

.footer .box-container .box a:hover {
  color: var(--pink);
  text-decoration: underline;
  transform: translateX(3px);
}

.footer .box-container .box img {
  margin-top: 1.5rem;
  max-width: 160px;
  display: block;
}

.footer .credit {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  font-size: 1.8rem;
  color: #333;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
}

.footer .credit span {
  color: var(--pink);
  font-weight: 600;
}

.float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 30px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}
.float:hover {
  text-decoration: none;
  color: #25d366;
  background-color: #fff;
}

.my-float {
  margin-top: 13px;
}

/* === Boton de ver Mas seccion de Productos  === */
.ver-mas-container {
  text-align: center;
  margin-top: 2rem;
}

.btn-ver-mas {
  display: inline-block;
  background-color: var(--pink, #eb3a3a);
  color: #fff;
  padding: 1.2rem 3rem;
  border-radius: 3rem;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-ver-mas i {
  margin-right: 8px;
}

.btn-ver-mas:hover {
  background-color: #c62828;
  transform: scale(1.08);
}


/* === Modal de Promoción (Popup) === */
.modal-promo {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 9999; /* Por encima de todo */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s;
}

.modal-promo-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: transparent;
  text-align: center;
}

.modal-promo-content img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 4px solid #fff;
}

.close-promo {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--pink, #eb3a3a);
  color: #fff;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.close-promo:hover {
  background: #333;
  transform: scale(1.1);
}


/* === Modal general === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 60px 20px;
}

/* === Contenedor del contenido del modal === */
.modal-content {
  display: flex;
  flex-direction: row; /* 🔹 Mantiene el texto a la izquierda e imagen a la derecha */
  align-items: stretch;
  background-color: #fff;
  border-radius: 1.5rem;
  margin: 100px auto;
  width: 90%;
  max-width: 850px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* === Contenedor general del cuerpo === */
.modal-body {
  display: flex;
  flex-direction: row;
  width: 100%;
}

/* === Contenedor de la información (lado izquierdo) === */
.modal-info {
  flex: 1;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

/* === Imagen del producto (lado derecho) === */
.modal-body img {
  flex: 1;
  width: 60%;
  height: 100%;
  object-fit: cover;
  border-left: 2px solid #f2f2f2;
}

/* === Título === */
.modal-info h2 {
  font-size: 2.4rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* === Descripción === */
.modal-info p {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
}

/* === Precio === */
.modal-info .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--pink, #eb3a3a);
  margin-top: 1rem;
}

/* === Botón Cotizar === */
.modal-info .cart-btn {
  background-color: var(--pink, #eb3a3a);
  color: #fff;
  border: none;
  border-radius: 3rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1.5rem;
  align-self: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-info .cart-btn:hover {
  background-color: #c62828;
  transform: scale(1.05);
}

/* === Botón cerrar === */
.close {
  color: #888;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--pink, #eb3a3a);
}

/* === Animación de aparición === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsivo (en móviles, imagen abajo del texto) === */
@media (max-width: 768px) {
  .modal-content,
  .modal-body {
    flex-direction: column;
  }

  .modal-body img {
    order: 2;
    width: 100%;
    max-height: 250px;
    border-left: none;
    border-top: 2px solid #f2f2f2;
  }

  .modal-info {
    order: 1;
    padding: 2rem;
    text-align: center;
  }

  .modal-info .cart-btn {
    align-self: center;
  }
}


.select-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px 0;
}

.select-container label {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 15px;
}

.select-container select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  cursor: pointer;
}

.select-container select:focus {
  border-color: #ff6b81;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 107, 129, 0.5);
}

/* 🔹 Contenedor general */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  width: 100%;
}

.pagination-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
}

/* 🔹 Botones generales */
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
}

/* 🔹 Hover */
.pagination-btn:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* 🔹 Página activa */
.pagination-btn.active {
  background: linear-gradient(135deg, #ff6b81, #ff4757);
  color: #fff;
  border-color: #ff6b81;
  box-shadow: 0 3px 10px rgba(255,107,129,0.4);
  transform: scale(1.05);
}

/* 🔹 Botones Anterior/Siguiente */
.pagination-btn.nav-btn {
  border-radius: 25px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
}

/* 🔹 Deshabilitados */
.pagination-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f3f3f3;
  color: #aaa;
  border-color: #eee;
  box-shadow: none;
  transform: none;
}

/* 🔹 Puntos suspensivos */
.pagination-ellipsis {
  color: #888;
  font-size: 18px;
  font-weight: bold;
  user-select: none;
}

/* 🔹 Responsivo: tablets */
@media (max-width: 768px) {
  .pagination-nav {
    gap: 6px;
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 10px;
  }

  .pagination-btn.nav-btn {
    font-size: 12px;
    padding: 0 12px;
  }
}

/* 🔹 Responsivo: móviles */
@media (max-width: 480px) {
  .pagination-container {
    margin: 25px 0;
  }

  .pagination-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none; /* Firefox */
  }
  .pagination-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .pagination-btn {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
    padding: 0 8px;
    border-radius: 8px;
  }

  .pagination-btn.nav-btn {
    padding: 0 10px;
    font-size: 11px;
  }
}





/* 🌍 MEDIA QUERIES */

/* --- Dispositivos grandes (hasta 991px) --- */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  header {
    padding: 2rem;
  }

  section {
    padding: 2rem;
  }

  .home {
    background-position: center;
    padding-top: 54px;
  }

  /* Contact responsive */
  .contact .row {
    flex-direction: column;
    align-items: center;
  }

  .contact .row form,
  .contact .row .image {
    flex: 1 1 100%;
    max-width: 500px;
  }

  .contact .row .image {
    margin-top: 2rem;
  }

  .contact .heading {
    font-size: 2.5rem;
  }
}

/* --- Tablets (hasta 768px) --- */
@media (max-width: 768px) {
  html .fa-bars {
    display: block;
  }

  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #eee;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease;
  }

  header #toggler:checked ~ .navbar {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  header .navbar a {
    margin: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    display: block;
    border-radius: 0.5rem;
  }

  .home .content h3 {
    font-size: 5rem;
  }

  .home .content span {
    font-size: 2.5rem;
  }

  .icons-container .icons h3 {
    font-size: 2rem;
  }

  .icons-container .icons span {
    font-size: 1.7rem;
  }
}

/* --- Dispositivos pequeños (hasta 600px) --- */
@media (max-width: 600px) {
  .contact {
    padding: 3rem 1rem;
  }

  .contact .row form .box {
    font-size: 1.5rem;
  }

  .contact .heading {
    font-size: 2rem;
  }

  .contact .row .image img {
    max-width: 250px;
  }

  .home .content h3 {
    font-size: 4rem;
  }

  .home .content span {
    font-size: 2rem;
  }
}

/* --- Pantallas muy pequeñas (hasta 450px) --- */
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .heading {
    font-size: 3rem;
  }

  .home .content h3 {
    font-size: 3.5rem;
  }

  .home .content span {
    font-size: 1.8rem;
  }
}

/* ==========================================
   📱 RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 768px) {
  .modal-content {
    margin-top: 120px;
    flex-direction: column;
    width: 90%;
    padding: 2rem 1.5rem;
  }

  .modal-body img {
    width: 80%;
    max-width: 400px;
  }

  .modal-info h2 {
    padding-top: 12px;
    font-size: 1.8rem;
  }

  .modal-info p {
    font-size: 1.3rem;
  }

  .modal-info .price {
    font-size: 1.6rem;
  }

  .modal-info .cart-btn {
    width: 100%;
    text-align: center;
  }
}

/* Móvil */
@media (max-width: 480px) {
  .modal-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .modal-body img {
    width: 100%;
    max-width: 320px;
  }

  .modal-info {
    text-align: center;
    align-items: center;
  }

  .modal-info h2 {
    font-size: 1.6rem;
  }

  .modal-info p {
    font-size: 1.2rem;
  }

  .modal-info .price {
    font-size: 1.4rem;
  }

  .modal-info .cart-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.4rem;
  }
}
