/* Importar fuentes */
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* Reset y configuración global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "League Spartan", sans-serif;
  line-height: 1.6;
  color: #333;
  /* Color general para el texto */
  background-color: #f9f9f9;
  /* Fondo global */
  width: 100%;
  /* Asegura que ocupen todo el ancho */
  overflow-x: hidden;
}

/* Encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
  font-weight: 700;
}

/* Párrafos */
p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
}

/* Enlaces */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease-in-out;
}

/* Evitar rompimiento de bordes */
.swiper {
  width: 100% !important;
  overflow: hidden !important;
}

/* Botones */
button {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

/* Clases de utilidades */
.text-center {
  text-align: center;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.padding {
  padding: 1rem;
}

.full-width {
  width: 100%;
}

/* Contenedores */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/**
/* Modal base */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Overlay for background */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

/* Main modal container */
.modal-container {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Modal content wrapper */
.modal-content {
  display: flex;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: stretch;
}

.modal-form-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: stretch;
}

/* Modal states */
.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modal.open .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal.closed {
  opacity: 0;
  visibility: hidden;
}

/* Close button */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close-btn:hover {
  color: #ff8181;
  background: #fff;
  transform: scale(1.1);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

/* Image container */
.newsletter-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.modal:hover .newsletter-img img {
  transform: scale(1.05);
}

/* Form container */
.newsletter-modal {
  width: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-header {
  margin-bottom: 24px;
}

.newsletter-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.2;
}

.newsletter-desc {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
}

.newsletter-desc b {
  color: #ff8181;
  font-weight: 600;
}

/* Form fields */
.newsletter-modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.email-field {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.email-field:focus {
  outline: none;
  border-color: #ff8181;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 129, 129, 0.1);
}

.email-field::placeholder {
  color: #94a3b8;
}

.btn-newsletter {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #ff8181 0%, #ff6b6b 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-newsletter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 129, 129, 0.4);
}

.btn-newsletter:active {
  transform: translateY(0);
}

/* Form footer */
.newsletter-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #ff8181;
  cursor: pointer;
}

.privacy-link {
  color: #ff8181;
  text-decoration: none;
  font-weight: 500;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra large screens (≥1400px) */
@media (min-width: 1400px) {
  .modal-container {
    max-width: 1200px;
  }

  .modal-content {
    max-width: 1000px;
  }

  .newsletter-modal {
    padding: 50px;
  }
}

/* Desktop large (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .modal-content {
    max-width: 900px;
  }

  .newsletter-modal {
    padding: 45px;
  }
}

/* Desktop medium (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  .modal-content {
    max-width: 850px;
  }

  .newsletter-modal {
    padding: 40px;
  }
}

/* Tablet large (900px - 1023px) */
@media (max-width: 1023px) and (min-width: 900px) {
  .modal-content {
    max-width: 800px;
  }

  .modal-image-container,
  .modal-form-container {
    min-width: 250px;
  }

  .newsletter-modal {
    padding: 35px;
  }
}

/* Tablet (768px - 899px) - Last horizontal layout */
@media (max-width: 899px) and (min-width: 768px) {
  .modal-content {
    max-width: 750px;
    max-height: 80vh;
  }

  .modal-image-container,
  .modal-form-container {
    min-width: 220px;
  }

  .newsletter-modal {
    padding: 30px;
  }

  .newsletter-title {
    font-size: 1.9rem;
  }
}

/* Tablet small (650px - 767px) - Switch to vertical */
@media (max-width: 767px) and (min-width: 650px) {
  .modal-content {
    flex-direction: column;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-image-container {
    width: 100%;
    min-width: auto;
    flex: none;
    height: 250px;
  }

  .modal-form-container {
    width: 100%;
    min-width: auto;
    flex: 1;
  }

  .newsletter-img {
    height: 250px;
  }

  .newsletter-modal {
    padding: 35px;
    width: 100%;
  }

  .newsletter-title {
    font-size: 1.9rem;
    text-align: center;
  }

  .newsletter-desc {
    text-align: center;
  }

  .newsletter-modal form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .modal-close-btn {
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

/* Large mobile (550px - 649px) */
@media (max-width: 649px) and (min-width: 550px) {
  .modal-content {
    flex-direction: column;
    max-width: 520px;
    max-height: 92vh;
  }

  .modal-image-container {
    height: 220px;
  }

  .newsletter-img {
    height: 220px;
  }

  .newsletter-modal {
    padding: 30px;
  }

  .newsletter-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .newsletter-desc {
    font-size: 1rem;
    text-align: center;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

/* Medium mobile (480px - 549px) */
@media (max-width: 549px) and (min-width: 480px) {
  .modal-content {
    flex-direction: column;
    max-width: 460px;
    max-height: 92vh;
    border-radius: 14px;
  }

  .modal-image-container {
    height: 200px;
  }

  .newsletter-img {
    height: 200px;
  }

  .newsletter-modal {
    padding: 28px;
  }

  .newsletter-header {
    margin-bottom: 20px;
    text-align: center;
  }

  .newsletter-title {
    font-size: 1.7rem;
  }

  .newsletter-desc {
    font-size: 0.98rem;
  }

  .email-field,
  .btn-newsletter {
    padding: 15px 20px;
  }

  .newsletter-footer {
    text-align: center;
  }

  .privacy-checkbox {
    justify-content: center;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

/* Small mobile (400px - 479px) */
@media (max-width: 479px) and (min-width: 400px) {
  .modal-container {
    padding: 15px;
  }

  .modal-content {
    flex-direction: column;
    max-height: 94vh;
    border-radius: 12px;
  }

  .modal-image-container {
    height: 180px;
  }

  .newsletter-img {
    height: 180px;
  }

  .newsletter-modal {
    padding: 25px;
  }

  .newsletter-header {
    margin-bottom: 18px;
  }

  .newsletter-title {
    font-size: 1.6rem;
  }

  .newsletter-desc {
    font-size: 0.95rem;
  }

  .email-field {
    padding: 14px 18px;
  }

  .btn-newsletter {
    padding: 14px 18px;
  }

  .privacy-checkbox {
    font-size: 0.85rem;
  }

  .modal-close-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
}

/* Very small mobile (360px - 399px) - IMAGE HIDDEN */
@media (max-width: 399px) and (min-width: 360px) {
  .modal-container {
    padding: 12px;
  }

  .modal-content {
    border-radius: 10px;
    max-height: 96vh;
  }

  .modal-image-container {
    display: none !important;
  }

  .modal-form-container {
    width: 100%;
    flex: none;
  }

  .newsletter-modal {
    padding: 25px;
    width: 100%;
  }

  .newsletter-header {
    margin-bottom: 20px;
    text-align: center;
  }

  .newsletter-title {
    font-size: 1.5rem;
  }

  .newsletter-desc {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .newsletter-modal form {
    gap: 14px;
  }

  .email-field {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .btn-newsletter {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .newsletter-footer {
    margin-top: 20px;
    padding-top: 16px;
  }

  .privacy-checkbox {
    font-size: 0.85rem;
    justify-content: center;
    text-align: center;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
}

/* Extra small mobile (≤359px) - IMAGE HIDDEN */
@media (max-width: 359px) {
  .modal-container {
    padding: 10px;
  }

  .modal-content {
    border-radius: 8px;
    max-height: 98vh;
  }

  .modal-image-container {
    display: none !important;
  }

  .modal-form-container {
    width: 100%;
    flex: none;
  }

  .newsletter-modal {
    padding: 22px;
    width: 100%;
  }

  .newsletter-header {
    margin-bottom: 18px;
    text-align: center;
  }

  .newsletter-title {
    font-size: 1.4rem;
  }

  .newsletter-desc {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .newsletter-modal form {
    gap: 12px;
  }

  .email-field {
    padding: 13px 15px;
    font-size: 0.9rem;
  }

  .btn-newsletter {
    padding: 13px 15px;
    font-size: 0.9rem;
  }

  .newsletter-footer {
    margin-top: 18px;
    padding-top: 14px;
  }

  .privacy-checkbox {
    font-size: 0.8rem;
    justify-content: center;
    text-align: center;
  }

  .modal-close-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* Landscape orientation on mobile (without image) */
@media (max-height: 600px) and (max-width: 900px) {
  .modal-content {
    max-height: 95vh;
    max-width: 90%;
  }

  /* In landscape on small screens, also hide the image */
  @media (max-width: 399px) {
    .modal-image-container {
      display: none !important;
    }

    .modal-form-container {
      width: 100%;
    }

    .newsletter-modal {
      padding: 20px;
    }
  }

  /* For larger screens in landscape, keep horizontal layout */
  @media (min-width: 400px) {
    .modal-content {
      flex-direction: row;
    }

    .modal-image-container {
      width: 40%;
      height: auto;
      min-width: 200px;
      display: flex;
    }

    .modal-form-container {
      width: 60%;
      height: auto;
    }

    .newsletter-img {
      height: 100%;
    }

    .newsletter-modal {
      padding: 25px;
      overflow-y: auto;
      max-height: 100%;
    }

    .newsletter-title {
      font-size: 1.5rem;
    }

    .newsletter-desc {
      font-size: 0.9rem;
    }
  }
}

/* Tall screens (≥900px height) */
@media (min-height: 900px) and (min-width: 768px) {
  .modal-content {
    max-height: 75vh;
  }

  .newsletter-modal {
    padding: 50px;
  }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal-content,
  .modal-close-btn,
  .btn-newsletter,
  .newsletter-img img {
    transition: none !important;
    animation: none !important;
  }

  .modal-content {
    opacity: 1;
    transform: none;
  }

  .modal.open .modal-content {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .modal-content {
    border: 2px solid #000;
  }

  .modal-close-btn {
    border: 2px solid #000;
  }

  .email-field {
    border: 2px solid #000;
  }

  .btn-newsletter {
    border: 2px solid #000;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .modal-content {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }

  .newsletter-title {
    color: #ffffff;
  }

  .newsletter-desc {
    color: #b0b0b0;
  }

  .email-field {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
  }

  .email-field:focus {
    border-color: #ff8181;
    background-color: #333;
  }

  .email-field::placeholder {
    color: #888;
  }

  .modal-close-btn {
    background-color: #2a2a2a;
    color: #e0e0e0;
  }

  .privacy-checkbox {
    color: #b0b0b0;
  }

  .privacy-link {
    color: #ffa5a5;
  }
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Navbar sticky */
.navbar-container {
  display: block;
  position: relative;
}

/* Logo */
.logo {
  font-family: "Caramel", cursive, sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  min-width: max-content;
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  color: #ff8181;
}

/* ===== NAVBAR DESKTOP ===== */
.navbar {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar li {
  position: relative;
  margin: 0;
  padding: 0 1.5rem;
}

.nav-link {
  display: block;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ff8181;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff8181;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Cart link - desktop */
.cart-desktop {
  padding-left: 1.5rem !important;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50px;
  background: #f9f9f9;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.cart-link:hover {
  background: #ffeded;
  transform: translateY(-3px);
}

.cart-link i {
  font-size: 1.6rem;
}

/* Mobile cart - responsive */
.mobile-cart {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f9f9f9;
  color: #333;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-cart:hover {
  background: #ffeded;
  transform: translateY(-3px);
}

.mobile-cart i {
  font-size: 1.6rem;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff8181;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE CONTROLS ===== */
.mobile-controls {
  display: none;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: none;
  border: none;
  color: #333;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
}

/* ===== CLOSE MENU BUTTON ===== */
.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-radius: 50%;
}

.close-menu:hover {
  color: #ff8181;
  background: white;
  transform: rotate(90deg);
}

/* Show close button when navbar is active */
.navbar-container.active .close-menu {
  display: flex;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop (> 768px) - Muestra carrito en navbar desktop */
@media (min-width: 769px) {
  .cart-desktop {
    display: block !important;
  }

  .cart-link {
    display: flex !important;
  }

  .mobile-cart {
    display: none !important;
  }

  .mobile-controls .mobile-cart {
    display: none;
  }

  /* Ocultar controles móviles en desktop */
  .mobile-controls {
    display: none;
  }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .header {
    padding: 1rem 3%;
  }

  .navbar li {
    padding: 0 1rem;
  }

  .cart-desktop {
    padding-left: 1rem !important;
  }
}

/* Mobile & Tablet (≤ 768px) */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 4%;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Ocultar carrito del navbar desktop en móvil */
  .cart-desktop {
    display: none !important;
  }

  .cart-link {
    display: none !important;
  }

  /* Mostrar mobile controls con el carrito */
  .mobile-controls {
    display: flex;
  }

  /* Mostrar mobile-cart en controles móviles */
  .mobile-controls .mobile-cart {
    display: flex;
  }

  /* Navbar móvil */
  .navbar-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    padding: 2rem;
  }

  .navbar-container.active {
    right: 0;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    margin-top: 3rem;
  }

  .navbar li {
    width: 100%;
    padding: 0;
    margin: 0.5rem 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: #f9f9f9;
  }

  .nav-link.active {
    background: #fff0f0;
    color: #ff8181;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  .header {
    padding: 0.7rem 3%;
    position: sticky;
    top: 0;
  }

  .logo {
    font-size: 1.8rem;
  }

  .navbar-container {
    width: 100%;
    max-width: none;
    padding: 1.5rem;
  }

  .mobile-controls {
    gap: 0.75rem;
  }

  .mobile-cart {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .close-menu {
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
}

/* Very Small Mobile (≤ 360px) */
@media (max-width: 360px) {
  .header {
    padding: 0.6rem 2.5%;
    position: sticky;
    top: 0;
  }

  .logo {
    font-size: 1.6rem;
  }

  .navbar-container {
    padding: 1.25rem;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.875rem;
  }

  .mobile-controls {
    gap: 0.5rem;
  }

  .mobile-cart {
    width: 40px;
    height: 40px;
  }

  .mobile-cart i {
    font-size: 1.4rem;
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .header,
  .logo,
  .nav-link,
  .nav-link::after,
  .cart-link,
  .mobile-cart,
  .menu-toggle,
  .close-menu {
    transition: none;
    animation: none;
  }

  .navbar-container {
    transition: right 0.1s ease;
  }

  .cart-link:hover,
  .mobile-cart:hover,
  .menu-toggle:hover {
    transform: none;
  }

  .close-menu:hover {
    transform: none;
  }
}

/* Overlay para fondo cuando menú está abierto */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.navbar-overlay.active {
  display: block;
}

/* HOME SECTION - Hero Slider */

/* Contenedor principal */
.section-home {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 1200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

/* Contenedor Swiper */
.home__content {
  height: 100%;
  width: 100%;
}

/* Slides individuales */
.home__slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
  background: transparent;
  overflow: hidden;
}

/* Contenedor de imagen */
.home__image {
  position: relative;
  width: 50%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación "reveal" mejorada */
.home__slide.swiper-slide-active .home__image {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Imagen dentro del contenedor */
.home__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
  transition: transform 1s ease;
}

/* Efecto hover sutil en desktop */
@media (hover: hover) {
  .home__slide.swiper-slide-active .home__image img:hover {
    transform: scale(1.02);
  }
}

/* Contenedor de texto */
.home__description {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  z-index: 2;
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.3s;
}

/* Animación de texto cuando el slide está activo */
.home__slide.swiper-slide-active .home__description {
  opacity: 1;
  transform: translateX(0);
}

/* Sub-heading (ej: "New Brand Collection") */
.home__sub-heading {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

/* Línea decorativa debajo del sub-heading */
.home__sub-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #ff8181;
  border-radius: 2px;
}

/* Heading principal (ej: "Awesome Designs") */
.home__heading {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #222;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
  letter-spacing: -0.5px;
}

/* Phrase */
.home__phrase {
  font-size: 2rem;
  /* Incrementa el tamaño */
  line-height: 2rem;
  /* Mejor espacio entre líneas */
  color: #ff8181;
  /* Rosado suave */
}

/* Phrase (ej: "Transform your wardrobe...") */
.home__phrase {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.6;
  color: #666;
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Botón CTA (¡NUEVO! Añade un llamado a la acción) */
.home__cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #ff8181;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(255, 129, 129, 0.3);
  border: 2px solid #ff8181;
}

.home__cta:hover {
  background: white;
  color: #ff8181;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 129, 129, 0.4);
}

/* Indicadores de paginación  */
.home__content .swiper-pagination {
  bottom: 40px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.home__content .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 129, 129, 0.3);
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  cursor: pointer;
}

.home__content .swiper-pagination-bullet:hover {
  background: rgba(255, 129, 129, 0.6);
  transform: scale(1.2);
}

.home__content .swiper-pagination-bullet-active {
  background: #ff8181;
  width: 35px;
  border-radius: 10px;
  transform: scale(1);
}

.home__content .swiper-button-next,
.home__content .swiper-button-prev {
  display: none !important;
  visibility: hidden;
  opacity: 0;
}

/* ===== MEDIA QUERIES RESPONSIVE ===== */

/* Tablet (hasta 1024px) */
@media screen and (max-width: 1024px) {
  .home__slide {
    padding: 0 8%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .home__description {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    order: 1;
  }

  .home__image {
    width: 70%;
    height: 50%;
    order: 2;
  }

  .home__sub-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Paginación más grande en tablet */
  .home__content .swiper-pagination {
    bottom: 35px !important;
  }

  .home__content .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
  }

  .home__content .swiper-pagination-bullet-active {
    width: 40px;
  }
}

/* Móvil (hasta 768px) */
@media screen and (max-width: 768px) {
  .section-home {
    height: 90vh;
    min-height: 500px;
  }

  .home__slide {
    padding: 0 5%;
  }

  .home__image {
    width: 85%;
    height: 45%;
  }

  .home__heading {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }

  .home__phrase {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .home__cta {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  /* Paginación en móvil */
  .home__content .swiper-pagination {
    bottom: 25px !important;
    gap: 8px;
  }

  .home__content .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .home__content .swiper-pagination-bullet-active {
    width: 30px;
  }
}

/* Móviles pequeños (hasta 480px) */
@media screen and (max-width: 480px) {
  .section-home {
    height: 85vh;
    min-height: 450px;
  }

  .home__image {
    width: 95%;
    height: 40%;
  }

  .home__heading {
    font-size: clamp(2.2rem, 6vw, 3rem);
    margin-bottom: 1rem;
  }

  .home__sub-heading {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 1rem;
  }

  .home__sub-heading::after {
    width: 40px;
    height: 2px;
    bottom: -5px;
  }

  .home__phrase {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 1.5rem;
  }

  /* Paginación más pequeña en móviles */
  .home__content .swiper-pagination {
    bottom: 20px !important;
    gap: 6px;
  }

  .home__content .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .home__content .swiper-pagination-bullet-active {
    width: 25px;
  }
}

/* Mejora: Añadir navegación táctil más evidente */
@media (hover: none) and (pointer: coarse) {
  .home__content .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
  }

  .home__content .swiper-pagination-bullet-active {
    width: 35px;
  }
}

/* Modo de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .home__image,
  .home__description,
  .home__cta {
    transition: none;
    transform: none !important;
    animation: none;
  }

  .home__image,
  .home__description {
    opacity: 1 !important;
  }

  .home__content .swiper-pagination-bullet {
    transition: none;
  }
}

/* ===== HILERA DE MARCAS ===== */
.brands-simple {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.simple-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Encabezado mínimo */
.simple-header {
  text-align: center;
  margin-bottom: 3rem;
}

.simple-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--dark-color) 0%, #4a6491 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hilera de logos con espacio moderado */
.brands-row-simple {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.brand-item-simple {
  flex: 0 0 auto;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.brand-item-simple:hover {
  transform: translateY(-4px);
}

/* LOGOS MÁS PEQUEÑOS  */
.brand-logo-simple {
  width: 120px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(0) opacity(0.8);
  transition: all 0.3s ease;
}

.brand-item-simple:hover .brand-logo-simple {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .brands-row-simple {
    gap: 2.5rem;
  }

  .brand-logo-simple {
    width: 110px;
    height: 55px;
  }
}

@media (max-width: 1024px) {
  .brands-simple {
    padding: 3.5rem 2rem;
  }

  .brands-row-simple {
    gap: 2.5rem;
  }

  .brand-logo-simple {
    width: 100px;
    height: 50px;
  }

  .simple-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .brands-simple {
    padding: 3rem 1.5rem;
  }

  .brands-row-simple {
    gap: 2rem;
    justify-content: center;
  }

  .brand-item-simple {
    flex: 0 0 calc(33.333% - 1.33rem);
    padding: 0.75rem;
  }

  .brand-logo-simple {
    width: 90px;
    height: 45px;
  }

  .simple-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 600px) {
  .brands-row-simple {
    gap: 1.5rem;
  }

  .brand-item-simple {
    flex: 0 0 calc(50% - 0.75rem);
    padding: 0.5rem;
  }

  .brand-logo-simple {
    width: 85px;
    height: 42px;
  }

  .simple-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {
  .brands-simple {
    padding: 2.5rem 1rem;
  }

  .brands-row-simple {
    gap: 1.25rem;
  }

  .brand-item-simple {
    flex: 0 0 calc(50% - 0.625rem);
    padding: 0.4rem;
  }

  .brand-logo-simple {
    width: 80px;
    height: 40px;
  }

  .simple-title {
    font-size: 1.5rem;
  }
}
/**
 * FEATURED COLLECTIONS 
 */

.featured-collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 70vh;
}

/* TARJETA BASE  */
.collection-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 3rem;
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  background-color: #f0f0f0;
}

/* CAPA DE FONDO CON LA IMAGEN  */
.collection-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.15);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* IMÁGENES  */
.collection-card[data-category="shoes"]::before {
  background-image: url("img/box/box1.jpg");
}
.collection-card[data-category="jewelry"]::before {
  background-image: url("img/box/box2.jpg");
}
.collection-card[data-category="handbags"]::before {
  background-image: url("img/box/box3.jpg");
}

/* GRADIENTE SUPERPUESTO */
.collection-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 100%
  );
  opacity: 0.8;
  transition: opacity 0.6s ease;
}

.collection-card:hover {
  z-index: 10;
}

.collection-card:hover::before {
  transform: scale(1);
}

.collection-card:hover::after {
  opacity: 0.6;
}

/* CONTENIDO DE TEXTO */
.collection-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  max-width: 90%;
  opacity: 1;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) 0.1s;
}

.collection-card:hover .collection-content {
  transform: translateY(0);
}

/* COLLECTION-DESCRIPTION & COLLECTION-TITLE */

.collection-title {
  color: #ff8181;
}

.collection-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.collection-description {
  color: rgba(255, 255, 255, 0.7);
}

/* BOTÓN  */
.collection-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 2.2rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.collection-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.collection-card:hover .collection-cta {
  background-color: #ff8181;
  border-color: #ff8181;
  padding-right: 2.5rem;
  box-shadow: 0 8px 20px rgba(255, 129, 129, 0.4);
}

.collection-card:hover .collection-cta::before {
  left: 100%;
}

.collection-card:hover .collection-cta i {
  transform: translateX(5px);
}

.collection-cta i {
  transition: transform 0.3s ease;
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1024px) {
  .featured-collections {
    grid-template-columns: repeat(2, 1fr);
  }
  .collection-card[data-category="handbags"] {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .featured-collections {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .collection-card {
    min-height: 400px;
    border-radius: 12px;
    padding: 2rem;
  }
  .collection-card[data-category="handbags"] {
    grid-column: 1;
  }
  .collection-card:hover {
    transform: translateY(-5px);
  }
  .collection-card::before {
    /* Un poco menos de zoom en móvil para mejor rendimiento/visual */
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-card,
  .collection-card::before,
  .collection-card::after,
  .collection-content,
  .collection-cta {
    transition: none;
    transform: none !important;
  }
  .collection-card::before {
    transform: scale(1) !important;
  }
}

/* aqui se termina */

/* ===== RESET Y VARIABLES ===== */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --success-color: #2ecc71;
  --info-color: #3498db;
  --warning-color: #ffc107;
  --danger-color: #e74c3c;
  --text-color: #333;
  --text-light: #7f8c8d;
  --border-radius: 16px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* ===== UTILIDADES ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SECCIÓN PRODUCTOS DESTACADOS ===== */
.featured-products {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* ===== HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  padding-bottom: 2rem;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--dark-color), #4a6491);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== FILTROS ===== */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 0.5rem;
}

.filter-btn {
  padding: 0.75rem 1.75rem;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03125em;
  min-width: 100px;
}

.filter-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), #ff8e8e);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
}

.filter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== RESUMEN CARRITO ===== */
.cart-summary {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
  margin: 0 auto 3rem;
  max-width: 800px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 107, 107, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.cart-summary:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 107, 107, 0.2);
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.1rem;
  color: var(--dark-color);
  width: 100%;
  justify-content: space-between;
}

.cart-details-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cart-info i.bx-cart {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.cart-count {
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(255, 107, 107, 0.1);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  min-width: 36px;
  text-align: center;
  transition: var(--transition);
  font-size: 1rem;
}

.cart-count:not(:empty) {
  animation: pulseCount 0.5s ease;
}

.currency-symbol {
  font-weight: 700;
  color: var(--success-color);
  font-size: 1.1rem;
}

.cart-total {
  font-weight: 700;
  color: var(--success-color);
  min-width: 60px;
}

.price-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.view-cart-btn {
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--dark-color), #4a6491);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.view-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
  background: linear-gradient(135deg, var(--info-color), #2980b9);
}

/* Efectos del carrito */
.cart-summary.has-items {
  border-color: rgba(46, 204, 113, 0.2);
  background: linear-gradient(
    to right,
    white 97%,
    rgba(46, 204, 113, 0.1) 100%
  );
}

.cart-summary.has-items .cart-info i.bx-cart {
  color: var(--success-color);
  animation: cartBounce 0.6s ease;
}

/* ===== GRID DE PRODUCTOS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* ===== CARD DE PRODUCTO ===== */
.product-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 107, 107, 0.08);
  animation: fadeInUp 0.6s ease-out backwards;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.2);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.5rem 1.125rem;
  border-radius: 1.5625rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03125em;
  z-index: 10;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.product-badge.hot {
  background: linear-gradient(135deg, var(--primary-color), #ff8e8e);
  color: white;
}

.product-badge.new {
  background: linear-gradient(135deg, var(--success-color), #27ae60);
  color: white;
}

.product-badge.sale {
  background: linear-gradient(135deg, var(--info-color), #2980b9);
  color: white;
}

.product-badge.limited {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

/* Imagen */
.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--light-color) 0%, #eef1f5 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

/* Botón de vista rápida (para elfuturo) */
.quick-view-btn {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(6.25rem);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.625rem);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 3.125rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  opacity: 0;
  box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.1);
  z-index: 5;
  pointer-events: auto;
}

.product-card:hover .quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.quick-view-btn:hover {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 0.5rem 1.5625rem rgba(255, 107, 107, 0.2);
}

/* Contenido */
.product-content {
  padding: 1.5625rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0 0 0.75rem;
  line-height: 1.4;
  flex-grow: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.9375rem;
}

.stars {
  display: flex;
  gap: 0.125rem;
  color: var(--warning-color);
}

.stars i {
  font-size: 1.1rem;
}

.rating-count {
  font-size: 0.9rem;
  color: #95a5a6;
  font-weight: 500;
}

.product-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer de la card */
.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--success-color);
  margin: 0;
}

.product-old-price {
  font-size: 1rem;
  color: #bdc3c7;
  text-decoration: line-through;
  font-weight: 500;
}

.product-discount {
  background: var(--success-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03125em;
}

.product-discount.kids {
  background: #9b59b6;
}

.product-tag {
  background: var(--info-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03125em;
}

/* Botones de acción */
.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-add-cart {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--dark-color), #4a6491);
  color: white;
  border: none;
  border-radius: 3.125rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  min-width: 6.875rem;
  justify-content: center;
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--info-color), #2980b9);
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1.25rem rgba(52, 152, 219, 0.3);
}

.btn-add-cart.added {
  background: linear-gradient(135deg, var(--success-color), #27ae60);
  animation: pulse 0.6s ease;
}

.btn-wishlist {
  width: 3rem;
  height: 3rem;
  background: white;
  border: 0.125rem solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-wishlist:hover {
  background: rgba(255, 107, 107, 0.1);
  transform: scale(1.1);
}

.btn-wishlist.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  animation: heartBeat 0.6s ease;
}

/* ===== NOTIFICACIÓN CARRITO ===== */
.cart-notification {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  background: white;
  border-radius: var(--border-radius);
  padding: 1.25rem 1.875rem;
  box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.15);
  border-left: 0.3125rem solid var(--success-color);
  display: none;
  align-items: center;
  gap: 0.9375rem;
  z-index: 10001;
  animation: slideInRight 0.3s ease-out;
  pointer-events: auto;
}

.cart-notification.show {
  display: flex;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark-color);
  font-weight: 600;
}

.notification-content i {
  font-size: 1.8rem;
  color: var(--success-color);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulseCount {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cartBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(6.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Efecto de aparición escalonada para las cards */
.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}
.product-card:nth-child(5) {
  animation-delay: 0.5s;
}
.product-card:nth-child(6) {
  animation-delay: 0.6s;
}
.product-card:nth-child(7) {
  animation-delay: 0.7s;
}
.product-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* ===== MEDIA QUERIES OPTIMIZADAS ===== */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
  .featured-products {
    padding: 2.5rem 1.25rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .cart-summary {
    padding: 1.25rem 1.5rem;
  }

  .cart-info {
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .cart-details-group {
    gap: 0.5rem;
  }

  .view-cart-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Móviles grandes (576px - 767px) */
@media (max-width: 767px) {
  .featured-products {
    padding: 2rem 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .category-filters {
    gap: 0.5rem;
    justify-content: space-evenly;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-top: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    min-width: 85px;
    flex-shrink: 0;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .product-actions {
    justify-content: space-between;
  }

  .cart-summary {
    padding: 1rem 1.25rem;
  }

  .cart-info {
    gap: 0.75rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .cart-details-group {
    gap: 0.4rem;
  }

  .cart-info i.bx-cart {
    font-size: 1.6rem;
  }

  .cart-count {
    padding: 0.15rem 0.5rem;
    min-width: 30px;
    font-size: 0.95rem;
  }

  .currency-symbol,
  .cart-total {
    font-size: 1rem;
  }

  .view-cart-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .cart-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }
}

/* Móviles pequeños (hasta 575px) */
@media (max-width: 575px) {
  .featured-products {
    padding: 1.5rem 0.75rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .category-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0.5rem 0.5rem;
    margin-top: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .cart-summary {
    padding: 0.85rem 1rem;
    min-height: auto;
  }

  .cart-info {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cart-details-group {
    order: 1;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
    gap: 0.3rem;
  }

  .view-cart-btn {
    order: 2;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 140px;
  }

  .cart-info i.bx-cart {
    font-size: 1.4rem;
  }

  .cart-count {
    padding: 0.1rem 0.4rem;
    min-width: 28px;
    font-size: 0.9rem;
  }

  .currency-symbol,
  .cart-total {
    font-size: 0.95rem;
  }

  .cart-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }
}

/* Pantallas muy pequeñas (hasta 360px) */
@media (max-width: 360px) {
  .cart-summary {
    padding: 0.75rem;
  }

  .cart-details-group {
    gap: 0.2rem;
  }

  .cart-info i.bx-cart {
    font-size: 1.3rem;
  }

  .cart-count {
    padding: 0.08rem 0.35rem;
    min-width: 26px;
    font-size: 0.85rem;
  }

  .currency-symbol,
  .cart-total {
    font-size: 0.9rem;
  }

  .view-cart-btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    min-width: 120px;
  }
}

/* Para pantallas extremadamente estrechas */
@media (max-width: 320px) {
  .cart-summary {
    padding: 0.6rem;
  }

  .cart-details-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem;
  }

  .view-cart-btn {
    min-width: 110px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* hasta qui */

/* ===== editorial banner ===== */
.editorial-banner {
  width: 100%;
  min-height: 90vh;
  background: #f9f5f0;
  position: relative;
  overflow: hidden;
  font-family: "Georgia", "Times New Roman", serif;
  color: #2c3e50;
}

.editorial-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

/* ===== LADO IZQUIERDO TEXTO ===== */
.editorial-text {
  padding: clamp(40px, 8vw, 80px) clamp(30px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f9f9f9;
  position: relative;
  z-index: 2;
}

.text-content {
  max-width: min(500px, 90%);
  margin-bottom: clamp(40px, 6vw, 60px);
}

/* Decoración superior */
.header-decoration {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: clamp(30px, 5vw, 40px);
}

.decoration-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8181 50%, transparent);
}

.decoration-text {
  font-size: 0.9rem;
  color: #ff8181;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
}

/* Título principal */
.editorial-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: clamp(30px, 5vw, 40px);
  position: relative;
}

.title-word {
  display: block;
  position: relative;
  overflow: hidden;
}

.title-word:first-child {
  font-weight: 700;
  color: #2c3e50;
  padding-left: clamp(15px, 3vw, 20px);
}

.title-word:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #ff8181;
  border-radius: 50%;
  transform: translateY(-50%);
}

.title-word:last-child {
  color: #34495e;
  font-style: italic;
}

.title-sub {
  display: block;
  font-family: "Caramel", cursive;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #ff8181;
  margin-top: 15px;
  font-weight: 400;
  letter-spacing: 2px;
}

/* Cita inspiradora */
.editorial-quote {
  margin: clamp(30px, 5vw, 40px) 0;
  padding-left: 30px;
  border-left: 2px solid rgba(255, 129, 129, 0.3);
  position: relative;
}

.editorial-quote::before {
  content: '"';
  position: absolute;
  left: -10px;
  top: -20px;
  font-size: 4rem;
  color: rgba(255, 129, 129, 0.2);
  font-family: serif;
}

.editorial-quote blockquote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: #2c3e50;
  font-style: italic;
  margin: 0 0 15px 0;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-line {
  width: 30px;
  height: 1px;
  background: #ff8181;
}

.quote-author span {
  font-size: 0.9rem;
  color: #7f8c8d;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Descripción */
.editorial-description {
  margin: clamp(20px, 4vw, 30px) 0 clamp(30px, 5vw, 50px);
}

.editorial-description p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: #34495e;
  font-weight: 300;
  max-width: 90%;
}

/* Estadísticas */
.editorial-stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(30px, 5vw, 50px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(44, 62, 80, 0.1);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #ff8181;
  margin-bottom: 5px;
  font-variant-numeric: lining-nums;
}

.stat-label {
  font-size: 0.85rem;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(44, 62, 80, 0.1);
}

/* ===== ACCIONES ===== */
.editorial-actions {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 350px;
}

.editorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #2c3e50;
  color: white;
  text-decoration: none;
  padding: clamp(18px, 2vw, 22px) clamp(25px, 3vw, 35px);
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  position: relative;
  overflow: hidden;
  border: 2px solid #2c3e50;
}

.editorial-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.editorial-button:hover::before {
  left: 100%;
}

.editorial-button:hover {
  background: #ff8181;
  border-color: #ff8181;
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(255, 129, 129, 0.3);
}

.button-label {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.button-icon {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.editorial-button:hover .button-icon {
  transform: translateX(5px);
}

.action-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c3e50;
  text-decoration: none;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 300;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.action-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff8181;
  transition: width 0.3s ease;
}

.action-link:hover {
  color: #ff8181;
}

.action-link:hover::after {
  width: 100%;
}

.action-link svg {
  transition: transform 0.3s ease;
}

.action-link:hover svg {
  transform: translateX(3px);
}

/* ===== LADO DERECHO VISUAL ===== */
.editorial-visual {
  position: relative;
  overflow: hidden;
  background: #ff8181;
}

.visual-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.1) contrast(1.05);
  opacity: 0.9;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(44, 62, 80, 0.1) 0%,
    rgba(44, 62, 80, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.editorial-visual:hover .main-image img {
  transform: scale(1.05);
}

/* Pie de foto */
.image-caption {
  position: absolute;
  bottom: clamp(40px, 6vw, 80px);
  left: clamp(20px, 3vw, 40px);
  color: white;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.caption-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.caption-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.caption-text span:first-child {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 1px;
}

.caption-text span:last-child {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 300;
}

/* ===== FOOTER DEL BANNER ===== */
.editorial-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 129, 129, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(44, 62, 80, 0.1);
  z-index: 4;
}

.footer-content {
  max-width: min(1400px, 95%);
  margin: 0 auto;
  padding: clamp(15px, 2vw, 20px) clamp(30px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.season-tag {
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: #ff8181;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff0f0;
  text-decoration: none;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  font-weight: 300;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff8181;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #ff8181;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link svg {
  transition: transform 0.3s ease;
}

.footer-link:hover svg {
  transform: translateX(5px);
}

/* Tablets grandes (1025px - 1200px */
@media (max-width: 1200px) {
  .editorial-container {
    max-width: 95%;
  }

  .text-content {
    max-width: min(450px, 90%);
  }

  .editorial-title {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
  }
}

/* Tablets (769px - 1024px) */
@media (max-width: 1024px) {
  .editorial-container {
    grid-template-columns: 1fr;
    grid-template-rows: 60vh auto;
    min-height: auto;
  }

  .editorial-text {
    order: 2;
    padding: clamp(30px, 6vw, 40px) clamp(25px, 4vw, 30px);
    justify-content: flex-start;
  }

  .editorial-visual {
    order: 1;
    height: 60vh;
    min-height: 400px;
  }

  .text-content {
    max-width: 100%;
    margin-bottom: clamp(30px, 5vw, 40px);
  }

  .editorial-actions {
    max-width: 100%;
  }

  .action-links {
    justify-content: flex-start;
  }

  .image-caption {
    bottom: clamp(30px, 5vw, 60px);
    left: clamp(15px, 2.5vw, 30px);
  }

  /* Mejora para el footer */
  .footer-content {
    padding: clamp(12px, 2vw, 15px) clamp(20px, 4vw, 30px);
  }
}

/* Tablets pequeñas y móviles grandes (601px - 768px) */
@media (max-width: 768px) {
  .editorial-banner {
    min-height: auto;
  }

  .editorial-visual {
    height: 50vh;
    min-height: 350px;
  }

  .editorial-text {
    padding: clamp(25px, 5vw, 35px) clamp(20px, 3vw, 25px);
  }

  .editorial-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(15px, 2.5vw, 20px);
    padding-top: clamp(15px, 2.5vw, 20px);
    margin-top: clamp(20px, 3vw, 30px);
    justify-content: center;
  }

  .stat-divider {
    width: 1px;
    height: 30px;
  }

  .stat-item {
    min-width: 70px;
  }

  .stat-number {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: clamp(8px, 1.5vw, 10px);
  }

  .header-decoration {
    margin-bottom: clamp(20px, 4vw, 30px);
  }
}

/* Móviles (481px - 600px) */
@media (max-width: 600px) {
  .editorial-title {
    font-size: clamp(2rem, 4.5vw, 2.5rem);
    margin-bottom: clamp(20px, 4vw, 30px);
  }

  .title-sub {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-top: 10px;
  }

  .editorial-quote {
    padding-left: clamp(15px, 3vw, 20px);
    margin: clamp(20px, 4vw, 30px) 0;
  }

  .editorial-quote::before {
    left: -5px;
    top: -15px;
    font-size: 2.5rem;
  }

  .editorial-quote blockquote {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 10px;
  }

  .editorial-description p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    max-width: 95%;
    line-height: 1.7;
  }

  .editorial-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .stat-item {
    min-width: auto;
  }

  .editorial-button {
    padding: clamp(14px, 2vw, 16px) clamp(20px, 3vw, 25px);
  }

  .action-links {
    flex-direction: column;
    gap: clamp(12px, 2vw, 15px);
  }

  .image-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 1.5vw, 10px);
  }

  .caption-line {
    width: 25px;
  }

  .caption-text span:first-child {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
  }

  .caption-text span:last-child {
    font-size: 0.8rem;
  }

  /* Decoración superior adaptada para móviles */
  .header-decoration {
    gap: 10px;
  }

  .decoration-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .quote-author span {
    font-size: 0.85rem;
  }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  .editorial-visual {
    height: 45vh;
    min-height: 300px;
  }

  .editorial-text {
    padding: 20px 15px;
  }

  .editorial-title {
    font-size: 1.8rem;
  }

  .title-sub {
    font-size: 1.3rem;
  }

  .editorial-quote blockquote {
    font-size: 1rem;
  }

  .editorial-description p {
    font-size: 0.9rem;
  }

  .editorial-stats {
    margin-top: 25px;
    padding-top: 15px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .editorial-button {
    padding: 12px 20px;
  }

  .button-label {
    font-size: 0.9rem;
  }

  .action-link {
    font-size: 0.85rem;
  }

  .season-tag {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .footer-link {
    font-size: 0.85rem;
  }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
  .editorial-visual {
    height: 40vh;
    min-height: 280px;
  }

  .editorial-title {
    font-size: 1.6rem;
  }

  .title-sub {
    font-size: 1.2rem;
  }

  .header-decoration {
    flex-direction: column;
    gap: 8px;
  }

  .decoration-line {
    width: 60px;
    height: 1px;
  }

  .editorial-quote {
    padding-left: 12px;
  }

  .editorial-quote::before {
    font-size: 2rem;
  }

  .editorial-button {
    justify-content: center;
    text-align: center;
  }

  .button-label {
    margin-right: 8px;
  }
}

/* ===== MEJORAS DE RENDIMIENTO ===== */
@media (max-width: 768px) {
  .editorial-banner {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .main-image img {
    transform: none !important;
    transition: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .editorial-button:hover,
  .action-link:hover,
  .footer-link:hover {
    transform: none !important;
  }

  .editorial-button:hover::before {
    left: -100% !important;
  }

  .editorial-visual:hover .main-image img {
    transform: none !important;
  }

  .action-link:hover::after,
  .footer-link:hover::after {
    width: 0 !important;
  }
}

/* ===== SOPORTE PARA PANTALLAS ALTAS ===== */
@media (min-height: 900px) and (max-width: 768px) {
  .editorial-container {
    grid-template-rows: 50vh auto;

    .editorial-visual {
      height: 50vh;
    }
  }
}

  /* ===== DUAL BANNERS  ===== */
  .dual-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Georgia", "Times New Roman", serif;
  }

  /* Banner base */
  .promo-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #2c3e50;
    transition: transform 0.4s ease;
  }

  .promo-banner:hover {
    transform: translateY(-5px);
  }

  /* Overlay and background */
  .promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.4s ease;
  }

  .promo-banner:hover .promo-overlay {
    opacity: 0.6;
  }

  .promo-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s ease;
    z-index: 0;
  }

  .promo-offers .promo-image {
    background-image: url("img/banner/bt1.jpg");
  }

  .promo-summer .promo-image {
    background-image: url("img/banner/bt2.jpg");
  }

  .promo-banner:hover .promo-image {
    transform: scale(1.08);
  }

  /* Content */
  .promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: #ffffff;
  }

  /* Header */
  .promo-header {
    margin-bottom: 20px;
  }

  .promo-badge {
    display: inline-block;
    background: rgba(255, 129, 129, 0.9);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.8;
    }
  }

  .promo-subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
  }

  .promo-divider {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
  }

  /* Body */
  .promo-body {
    flex-grow: 1;
  }

  .promo-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
    max-width: 90%;
  }

  .promo-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 25px 0;
    font-weight: 300;
    max-width: 90%;
  }

  /* Features for offers banner */
  .promo-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
  }

  .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .feature-icon {
    width: 18px;
    height: 18px;
    color: #ff8181;
    flex-shrink: 0;
  }

  /* Timer */
  .timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    max-width: 300px;
  }

  .timer-item {
    text-align: center;
    flex: 1;
  }

  .timer-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff8181;
    font-variant-numeric: tabular-nums;
  }

  .timer-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .timer-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    margin-bottom: 12px;
  }

  /* Summer collection specific */
  .collection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
  }

  .tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }

  .tag:hover {
    background: rgba(255, 129, 129, 0.3);
    border-color: rgba(255, 129, 129, 0.5);
  }

  /* CTA Buttons */
  .promo-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .promo-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .promo-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
  }

  .promo-offers .promo-button:hover {
    background: #ff8181;
    border-color: #ff8181;
  }

  .promo-summer .promo-button:hover {
    background: #4ecdc4;
    border-color: #4ecdc4;
  }

  .button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .promo-button:hover .button-icon {
    transform: translateX(5px);
  }

  /* Lookbook Link */
  .lookbook-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
  }

  .lookbook-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
  }

  .lookbook-link:hover {
    color: #ffffff;
  }

  .lookbook-link:hover::after {
    width: 100%;
  }

  .lookbook-icon {
    width: 18px;
    height: 18px;
  }

  /* Footer */
  .promo-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
  }

  .footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 0.5px;
  }

  /* ===== RESPONSIVE DESIGN ===== */
  /* Large Tablets */
  @media (max-width: 1024px) {
    .dual-banners {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 30px;
    }

    .promo-banner {
      height: 450px;
    }

    .promo-title {
      font-size: 2rem;
    }
  }

  /* Tablets */
  @media (max-width: 768px) {
    .dual-banners {
      padding: 20px;
    }

    .promo-banner {
      height: 400px;
    }

    .promo-content {
      padding: 30px;
    }

    .promo-title {
      font-size: 1.8rem;
    }

    .promo-description {
      font-size: 1rem;
    }

    .promo-cta {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }

    .timer {
      max-width: 100%;
    }
  }

  /* Large Phones */
  @media (max-width: 600px) {
    .dual-banners {
      padding: 15px;
    }

    .promo-banner {
      height: 380px;
    }

    .promo-content {
      padding: 25px;
    }

    .promo-title {
      font-size: 1.6rem;
      max-width: 100%;
    }

    .collection-tags {
      justify-content: center;
    }
  }

  /* Small Phones */
  @media (max-width: 480px) {
    .promo-banner {
      height: 350px;
    }

    .promo-content {
      padding: 20px;
    }

    .promo-title {
      font-size: 1.4rem;
    }

    .promo-description {
      font-size: 0.95rem;
    }

    .promo-button {
      padding: 12px 25px;
      font-size: 0.9rem;
      width: 100%;
      justify-content: center;
    }

    .timer-value {
      font-size: 1.5rem;
    }
  }

  /* Extra Small Phones */
  @media (max-width: 360px) {
    .promo-banner {
      height: 320px;
    }

    .promo-content {
      padding: 15px;
    }

    .promo-title {
      font-size: 1.3rem;
    }

    .promo-subtitle {
      font-size: 0.9rem;
    }

    .collection-tags {
      gap: 8px;
    }

    .tag {
      padding: 5px 12px;
      font-size: 0.8rem;
    }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .promo-banner,
    .promo-button,
    .promo-image,
    .promo-badge {
      animation: none;
      transition: none;
    }

    .promo-banner:hover,
    .promo-button:hover {
      transform: none;
    }
  }

  /* Dark mode */
  @media (prefers-color-scheme: dark) {
    .promo-banner {
      background: #2a2a2a;
    }
  }

  /* TESTIMONIALS SECTION  */

  /* Contenedor principal */
  .testimonials-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .testimonial-title {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 15px;
  }

  .testimonial-title h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .testimonial-title p {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
  }

  /* Contenedor Swiper  */
  .swiper-container {
    width: 100%;
    padding: 20px 0 40px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  .swiper-wrapper {
    box-sizing: border-box;
  }

  /* Tarjeta de Testimonio */
  .swiper-slide {
    height: auto;
    box-sizing: border-box;
  }

  .testimonial-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
    min-height: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    margin: 0 5px;
  }

  .testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  /* Imagen de usuario */
  .user-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f1f1;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
  }

  .testimonial-box:hover .user-img {
    border-color: #ff6b6b;
  }

  /* Contenido */
  .testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex: 1;
  }

  .rating {
    font-size: 1.4rem;
    color: #ffcc00;
    letter-spacing: 2px;
    line-height: 1;
  }

  .testimonial-content h4 {
    font-size: 1.3rem;
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
  }

  .testimonial-content p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
  }

  /* ===== MEDIA QUERIES MEJORADAS ===== */

  /* Desktop grande (≥1200px) */
  @media (min-width: 1200px) {
    .testimonials-section {
      max-width: 1200px;
      padding: 50px 30px;
    }

    .swiper-container {
      padding: 20px 15px 40px;
    }
  }

  /* Desktop pequeño (1024px - 1199px) */
  @media (max-width: 1199px) and (min-width: 1024px) {
    .testimonials-section {
      max-width: 95%;
      padding: 40px 25px;
    }
  }

  /* Tablets grandes (768px - 1023px) */
  @media (max-width: 1023px) and (min-width: 768px) {
    .testimonials-section {
      max-width: 95%;
      margin: 50px auto;
      padding: 35px 20px;
    }

    .testimonial-title {
      margin-bottom: 40px;
    }

    .testimonial-box {
      padding: 25px;
      gap: 20px;
      min-height: 200px;
    }

    .user-img {
      width: 90px;
      height: 90px;
    }

    .testimonial-content h4 {
      font-size: 1.2rem;
    }

    .testimonial-content p {
      font-size: 1rem;
    }
  }

  /* Tablets pequeñas y móviles grandes (600px - 767px) */
  @media (max-width: 767px) and (min-width: 600px) {
    .testimonials-section {
      margin: 40px auto;
      padding: 30px 15px;
      border-radius: 16px;
    }

    .testimonial-title {
      margin-bottom: 35px;
    }

    .testimonial-title h2 {
      font-size: 2.2rem;
    }

    .testimonial-title p {
      font-size: 1.1rem;
    }

    .testimonial-box {
      flex-direction: column;
      text-align: center;
      padding: 30px 25px;
      gap: 15px;
      min-height: auto;
    }

    .user-img {
      width: 100px;
      height: 100px;
    }

    .testimonial-content {
      align-items: center;
    }

    .testimonial-content p {
      text-align: center;
    }

    .swiper-container {
      padding: 20px 0 35px;
    }
  }

  /* Móviles medianos (480px - 599px) */
  @media (max-width: 599px) and (min-width: 480px) {
    .testimonials-section {
      padding: 25px 12px;
      margin: 30px auto;
      border-radius: 14px;
    }

    .testimonial-title h2 {
      font-size: 2rem;
    }

    .testimonial-title p {
      font-size: 1rem;
    }

    .testimonial-box {
      flex-direction: column;
      padding: 25px 20px;
      text-align: center;
      gap: 15px;
    }

    .user-img {
      width: 90px;
      height: 90px;
    }

    .testimonial-content h4 {
      font-size: 1.2rem;
    }

    .testimonial-content p {
      font-size: 1rem;
      line-height: 1.5;
    }

    .rating {
      font-size: 1.2rem;
    }
  }

  /* Móviles pequeños (≤479px) */
  @media (max-width: 479px) {
    .testimonials-section {
      padding: 20px 10px;
      margin: 25px auto;
      border-radius: 12px;
    }

    .testimonial-title {
      margin-bottom: 30px;
      padding: 0 5px;
    }

    .testimonial-title h2 {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }

    .testimonial-title p {
      font-size: 0.95rem;
    }

    .testimonial-box {
      flex-direction: column;
      padding: 20px 15px;
      text-align: center;
      gap: 12px;
      border-radius: 16px;
    }

    .user-img {
      width: 80px;
      height: 80px;
      border-width: 2px;
    }

    .testimonial-content {
      gap: 8px;
    }

    .testimonial-content h4 {
      font-size: 1.1rem;
    }

    .testimonial-content p {
      font-size: 0.95rem;
      line-height: 1.5;
    }

    .rating {
      font-size: 1.1rem;
      letter-spacing: 1px;
    }

    .swiper-container {
      padding: 15px 0 30px;
    }
  }

  /* Móviles muy pequeños (≤360px) */
  @media (max-width: 360px) {
    .testimonials-section {
      padding: 15px 8px;
      margin: 20px auto;
    }

    .testimonial-title h2 {
      font-size: 1.6rem;
    }

    .testimonial-box {
      padding: 18px 12px;
      gap: 10px;
    }

    .user-img {
      width: 70px;
      height: 70px;
    }

    .testimonial-content h4 {
      font-size: 1rem;
    }

    .testimonial-content p {
      font-size: 0.9rem;
    }
  }

  /* ===== ACCESIBILIDAD ===== */
  @media (prefers-reduced-motion: reduce) {
    .testimonial-box,
    .user-img {
      transition: none;
    }

    .testimonial-box:hover {
      transform: none;
    }
  }

  /* ===== NEWSLETTER  ===== */
  #newsletter {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ff8e8e 0%, #ff6b6b 100%);
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
  }

  #newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
  }

  .newsletter-banner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
  }

  /* Texto del newsletter */
  .newsletter-text {
    flex: 1;
    max-width: 600px;
  }

  .offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  #newsletter-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .newsletter-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
  }

  .highlight {
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0 5px;
    border-radius: 4px;
  }

  /* Beneficios */
  .newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
  }

  .benefit-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
    flex-shrink: 0;
  }

  /* Contenedor del formulario */
  .newsletter-form-container {
    flex: 1;
    max-width: 500px;
  }

  /* Formulario */
  .newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .form-group {
    margin-bottom: 25px;
  }

  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .email-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
  }

  #email-newsletter {
    width: 100%;
    padding: 16px 16px 16px 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    height: 56px;
    box-sizing: border-box;
  }

  #email-newsletter::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }

  #email-newsletter:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  }

  .input-focus-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  }

  #email-newsletter:focus ~ .input-focus-border {
    opacity: 1;
  }

  .input-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    margin-left: 10px;
    font-style: italic;
  }

  /* Botón de envío */
  .submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .submit-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.6s ease;
  }

  .submit-button:hover::before {
    left: 100%;
  }

  .submit-button:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .submit-button:hover .button-icon {
    transform: translateX(5px);
  }

  /* Nota de privacidad */
  .privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .shield-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
  }

  .privacy-note span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .newsletter-content {
      gap: 40px;
    }

    #newsletter-heading {
      font-size: 2.4rem;
    }

    .newsletter-description {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 768px) {
    #newsletter {
      padding: 40px 20px;
      margin: 40px 0;
    }

    .newsletter-content {
      flex-direction: column;
      text-align: center;
      gap: 40px;
    }

    .newsletter-text {
      max-width: 100%;
    }

    .newsletter-benefits {
      align-items: center;
    }

    .newsletter-form-container {
      max-width: 100%;
      width: 100%;
    }

    .newsletter-form {
      padding: 25px;
    }

    .privacy-note {
      justify-content: center;
      text-align: center;
    }
  }

  @media (max-width: 480px) {
    #newsletter {
      padding: 30px 15px;
      border-radius: 10px;
    }

    #newsletter-heading {
      font-size: 2rem;
    }

    .newsletter-description {
      font-size: 1rem;
    }

    .newsletter-form {
      padding: 20px;
    }

    #email-newsletter {
      padding: 14px 14px 14px 45px;
      height: 50px;
    }

    .submit-button {
      padding: 16px 25px;
      font-size: 1rem;
    }
  }

  /* ===== ACCESIBILIDAD ===== */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* ===== ANIMACIONES ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .newsletter-text {
    animation: fadeInUp 0.6s ease-out 0.1s both;
  }

  .newsletter-form-container {
    animation: fadeInUp 0.6s ease-out 0.3s both;
  }

  /* ===== FOOTER MINIMALISTA ===== */
  .site-footer {
    background-color: #f8f8f8;
    color: #333;
    padding: 40px 0 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
  }

  /* Columnas del footer */
  .footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  /* Logo */
  .footer-logo {
    font-family: "Caramel", cursive;
    font-size: 2.8rem;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    line-height: 1;
  }

  .logo-dot {
    color: #ff8181;
  }

  /* Títulos */
  .footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Información de contacto */
  .contact-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .phone-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .phone-link:hover {
    color: #ff8181;
  }

  /* Redes sociales */
  .social-section {
    margin-top: 15px;
  }

  .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
  }

  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    color: #ff8181;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #eee;
  }

  .social-icon:hover {
    background: #ff8181;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 129, 129, 0.2);
  }

  /* Enlaces del footer */
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 3px 0;
  }

  .footer-links a:hover {
    color: #ff8181;
  }

  /* Apps y pagos */
  .app-section p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
  }

  .app-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .app-badges img {
    width: 120px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition: transform 0.2s ease;
  }

  .app-badges img:hover {
    transform: scale(1.02);
  }

  .payment-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
  }

  .payment-methods {
    max-width: 250px;
    height: auto;
  }

  /* Footer inferior */
  .footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .copyright p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
  }

  .legal-links {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
  }

  .legal-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .legal-links a:hover {
    color: #ff8181;
  }

  .legal-links .divider {
    color: #999;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    .footer-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px 40px;
    }

    .footer-logo {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 768px) {
    .site-footer {
      padding: 30px 0 15px 0;
    }

    .footer-container {
      grid-template-columns: 1fr;
      gap: 25px;
      padding: 0 15px;
    }

    .footer-col {
      text-align: center;
      align-items: center;
    }

    .social-icons {
      justify-content: center;
    }

    .app-badges {
      justify-content: center;
    }

    .copyright {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }

    .legal-links {
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .footer-logo {
      font-size: 2.2rem;
    }

    .app-badges img {
      width: 110px;
    }

    .payment-methods {
      max-width: 200px;
    }
  }