:root {
  --primary-red: #e53935;
  --dark-red: #d32f2f;
  --header-red-start: #9a2226;
  --header-red-end: #bd2429;
  --white: #ffffff;
  --light-gray: #f7f7f7;
  --dark-gray: #333333;
  --medium-gray: #888888;
  --icon-gray: #b5b5b5;
  --blue: #1e64b4;
  --green: #3e9b48;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --shadow-medium: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --shadow-strong: 0 15px 35px rgba(0, 0, 0, 0.1);

  --color-primary: #e53935;
  --color-secondary: #333333;
  --color-light: #f7f7f7;
  --color-gray: #888888;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-gray);
  background-color: white;

  padding-top: 84px; /* Antes 90px */
  overflow-x: hidden;
}

/* Aumentar el ancho máximo del contenedor */
.container {
  max-width: 1400px;
}

.oculto {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Header Rojo con Degradado - NUEVO DISEÑO MEJORADO */
.navbar {
  background: linear-gradient(
    135deg,
    var(--header-red-start) 0%,
    var(--header-red-end) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.scrolled {
  padding: 6px 0;
  background: linear-gradient(
    135deg,
    var(--header-red-start) 0%,
    var(--header-red-end) 100%
  );
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.logo {
  height: 50px;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
  /* Logo blanco para contraste */
}

/* Distribución mejorada del header */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Botón de categorías mejorado */
.categories-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.categories-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.glass-menu:hover .menu-dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}

.categories-btn:hover i {
  transform: rotate(180deg);
}

.categories-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Barra de búsqueda central mejorada */
.search-container {
  display: flex;
  flex: 1;
  max-width: 700px;
  margin: 0 20px;
}

.search-form {
  width: 100%;
  display: flex;
  position: relative;
  border-radius: 40px;
}

.search-input {
  border-radius: 8px 0 0 8px;
  border: 2px solid transparent;
  padding: 12px 20px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  border-radius: 40px 0 0 40px;
}

.search-input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2), 0 8px 25px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.search-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0 40px 40px 0;
  color: var(--header-red-start);
  padding: 12px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.search-results {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  width: 100%;
  padding-bottom: 5px;
  padding-top: 5px;
}

.search-result-item {
  display: flex;
  flex-direction: row;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px;
  border-bottom: 1px solid rgb(202, 202, 202);
}

.search-result-item:hover {
  background: #f7e9ea;
}

.search-result-item h5 {
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Roboto", sans-serif;
}

.search-result-item h6 {
  color: var(--color-gray);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Roboto", sans-serif;
}

/* Iconos de usuario y carrito mejorados */
.nav-icons-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  min-width: 250px;
}

.nav-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 8px;
  position: relative;
}

.nav-icon-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.nav-icon-label {
  font-size: 0.75rem;
  font-weight: 500;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: 0;
  background: var(--white);
  color: var(--header-red-start);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Menú de categorías expandido - MEJORADO */
.categories-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.categories-overlay.active {
  opacity: 1;
  visibility: visible;
}

.categories-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10000;
}

.categories-overlay.active .categories-panel {
  transform: translateY(0);
}

.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.categories-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-gray);
  position: relative;
}

.categories-title::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-red) 0%,
    var(--dark-red) 100%
  );
  border-radius: 3px;
}

.close-categories {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 50%;
}

.close-categories:hover {
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary-red);
  transform: rotate(90deg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.category-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.category-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.category-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
}

.category-card-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark-gray);
}


.category-link {
  color: var(--dark-gray);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: all 0.3s ease;
  border-radius: 5px;
  position: relative;
  padding-left: 15px;
}

.category-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-link:hover {
  color: var(--primary-red);
  padding-left: 20px;
  background: rgba(229, 57, 53, 0.05);
}

.category-link:hover::before {
  opacity: 1;
}

/* Hero Banner - 100% ANCHO */
.hero-carousel {
  margin-bottom: 0px;
  border-radius: 0;
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  padding: 0;
  /* margin-top: -6px; */
}

.carousel-item {
  /* height: 500px;
  width: 100%; */
  width: 100vw;
  height: auto;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* hace que la imagen cubra todo el contenedor */
  object-position: center; /* centra la imagen */
  display: block;
}
.carousel-caption {
  bottom: 20%;
  text-align: left;
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--dark-gray);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--dark-red) 100%
  );
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(229, 57, 53, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

/* Quick Access - MEJORADO */
.quick-access {
  background-color: white;
  padding: 30px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.access-container {
  position: relative;
  background-color: white;
}

.access-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
  gap: 16px;
  background-color: white;
}

.access-scroll-container::-webkit-scrollbar {
  display: none;
}

.access-card {
  text-align: center;
  padding: 20px 15px;
  transition: all 0.4s ease;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  min-width: calc(14.2857% - 15px);
  max-width: calc(14.2857% - 15px);
  margin: 0;
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.access-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.access-card:hover::before {
  opacity: 1;
}

.access-img-container {
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
}

.access-img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
}

.access-card:hover .access-img {
  transform: scale(1.1);
}

.access-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.access-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.access-scroll-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.access-scroll-btn-left {
  left: -20px;
}

.access-scroll-btn-right {
  right: -20px;
}

/* Responsive */
@media (max-width: 1200px) {
  .access-card {
    min-width: calc(16.6667% - 15px);
    max-width: calc(16.6667% - 15px);
  }
}

@media (max-width: 992px) {
  .access-card {
    min-width: calc(25% - 15px);
    max-width: calc(25% - 15px);
  }

  .access-scroll-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .access-scroll-btn-left {
    left: -15px;
  }

  .access-scroll-btn-right {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .access-card {
    min-width: calc(33.3333% - 15px);
    max-width: calc(33.3333% - 15px);
  }

  .access-img-container {
    height: 60px;
  }

  .access-img {
    max-height: 50px;
  }

  .access-title {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .access-card {
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    padding: 15px 10px;
  }

  .access-img-container {
    height: 50px;
  }

  .access-img {
    max-height: 40px;
  }

  .access-title {
    font-size: 0.8rem;
  }

  .access-scroll-btn {
    display: none;
  }
}

/* Products Section */
.section-title-container {
  display: flex;
  position: relative;
  width: 100%;
}

.section-title {
  font-weight: 300;
  margin-bottom: 30px;
  font-size: 2.2rem;
  color: var(--dark-gray);
  position: relative;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-red) 0%,
    var(--dark-red) 100%
  );
  border-radius: 3px;
}

/* Botón Ver Más - MEJORADO */
.view-more-btn {
  background: transparent;
  color: var(--primary-red);
  border: 1px solid rgba(229, 57, 53, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.view-more-btn:hover {
  background: rgba(229, 57, 53, 0.05);
  color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.1);
  border-color: rgba(229, 57, 53, 0.5);
}

.banner-secundario-btn {
  background: white;
  color: rgb(73, 1, 0);
  font-weight: bold;
  border-radius: 10px;
  padding: 8px 20px;
  align-self: flex-start;
  text-decoration: none;
}
/* Contenedor de productos con navegación */
.products-section {
  background-color: white;
  position: relative;
  margin-bottom: 60px;
}

.products-container {
  position: relative;
  overflow: visible;
}

.products-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
  gap: 16px;
}

.products-scroll::-webkit-scrollbar {
  display: none;
}

.product-card {
  width: 260px;
  min-width: 260px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.product-card:hover::before {
  opacity: 1;
}

.favorite-icon {
  position: absolute;
  top: 45px;
  left: 15px;
  color: var(--icon-gray);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.favorite-icon:hover,
.favorite-icon.active {
  color: var(--primary-red);
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.product-img-container {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
}

.product-img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-body {
  padding: 15px;
  /* background: rgba(255, 255, 255, 0.7); */
  overflow: hidden;
}

.product-price {
  font-weight: 800;
  color: var(--primary-red);
  font-size: 1.4rem;
  margin-bottom: 5px;
  line-height: 1;
}

.product-old-price {
  text-decoration: line-through;
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: block;
}

.product-title {
  font-weight: normal;
  margin-bottom: 5px;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.4;
}

.add-to-cart-btn {
  background: linear-gradient(
    90deg,
    var(--primary-red) 0%,
    var(--dark-red) 100%
  );
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn.whatsapp {
  background: linear-gradient(90deg, #25d366 0%, #25d366 100%);
}

.add-to-cart-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.5);
}

.add-to-cart-btn:hover::before {
  left: 100%;
}

.btn-continue {
  background: linear-gradient(
    90deg,
    var(--color-secondary) 0%,
    var(--dark-gray) 100%
  );
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(32, 32, 32, 0.3);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-continue::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.btn-continue:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 56, 56, 0.5);
}

.btn-continue:hover::before {
  left: 100%;
}

.product-discount {
  background: linear-gradient(135deg, #3e9b48 0%, #2e7e39 100%);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  position: absolute;
  top: 15px;
  left: 15px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(62, 155, 72, 0.3);
  z-index: 10;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-card {
    width: 230px;
    min-width: 230px;
  }

  .access-card {
    min-width: calc(16.6667% - 15px);
    max-width: calc(16.6667% - 15px);
  }
}

@media (max-width: 992px) {
  .product-card {
    width: 210px;
    min-width: 210px;
  }

  .access-card {
    min-width: calc(25% - 15px);
    max-width: calc(25% - 15px);
  }

  .navbar-container {
    gap: 15px;
  }

  .categories-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .search-container {
    margin: 0 15px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  /* .carousel-item {
    height: 400px;
  } */

  .carousel-caption {
    bottom: 15%;
    padding: 20px;
    max-width: 300px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .product-card {
    width: 180px;
    min-width: 180px;
  }

  .access-card {
    min-width: calc(33.3333% - 15px);
    max-width: calc(33.3333% - 15px);
  }

  .navbar-container {
    gap: 10px;
  }

  .categories-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .categories-btn span {
    display: none;
  }

  .search-container {
    margin: 0 10px;
  }

  .search-input {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 10px 15px;
  }

  .nav-icon-label {
    display: none;
  }

  .nav-icon-item {
    padding: 5px;
  }

  .categories-panel {
    padding: 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  /* .carousel-item {
    height: 350px;
  } */

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .carousel-caption {
    bottom: 10%;
    padding: 15px;
  }

  .product-card {
    width: 160px;
    min-width: 160px;
  }

  .access-card {
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    padding: 15px 10px;
  }

  .access-icon {
    font-size: 2rem;
  }

  .access-title {
    font-size: 0.8rem;
  }

  .categories-panel {
    padding: 15px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .category-card {
    padding: 20px;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.access-card:hover .access-img {
  transform: scale(1.1);
}

.access-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.access-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.access-scroll-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.access-scroll-btn-left {
  left: -20px;
}

.access-scroll-btn-right {
  right: -20px;
}

@media (max-width: 992px) {
  .access-scroll-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .access-scroll-btn-left {
    left: -15px;
  }

  .access-scroll-btn-right {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .access-img-container {
    height: 60px;
  }

  .access-img {
    max-height: 50px;
  }

  .access-title {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .access-img-container {
    height: 50px;
  }

  .access-img {
    max-height: 40px;
  }

  .access-title {
    font-size: 0.8rem;
  }

  .access-scroll-btn {
    display: none;
  }
}

/* Estilos para los botones de navegación de productos */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--dark-red);
}

.scroll-btn-left {
  left: -20px;
}

.scroll-btn-right {
  right: -20px;
}

/* Ocultar botones en móviles */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }

  .products-scroll {
    padding-bottom: 20px;
  }
}

/* Asegurar que el contenedor de productos tenga posición relativa para los botones absolutos */
.products-container {
  position: relative;
  overflow: visible;
}

.products-section {
  position: relative;
  margin-bottom: 60px;
}

/* Banners Section - CORREGIDO para que tenga el mismo ancho que las secciones de productos */
.banners-section {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  background: white;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  background-color: #fff;
  margin-bottom: 30px;
  margin-top: 0px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 300;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #3498db;
  border-radius: 3px;
}

/* Estilos para escritorio - Grid de 3 columnas */
.banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  height: 600px;
}

.banner-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.banner {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
}

.banner:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.banner-large {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
}

.banner-medium {
  background: linear-gradient(135deg, #ffd3b6 0%, #ffaaa5 100%);
}

.banner-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.banner-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #2c3e50;
}

.banner-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
  color: white;
}

/* Estilos para móvil - Slider */
.banners-slider {
  display: none;
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-slide .banner-content {
  height: 100%;
  padding: 25px;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-nav:hover {
  background: var(--color-primary);
  color: white;
}

.slider-nav.prev {
  left: -20px;
}

.slider-nav.next {
  right: -20px;
}

.slider-nav {
  display: none;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: white;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
}

.slider-arrow.prev {
  left: 15px;
}

.slider-arrow.next {
  right: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .banners-grid {
    display: none;
  }

  .banners-slider {
    display: block;
  }

  .banner-content {
    padding: 20px;
  }

  .banner-icon {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }

  .banner-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .banners-section {
    padding: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .banners-slider {
    height: 350px;
  }

  .banner-content {
    padding: 15px;
  }

  .banner-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .banner-title {
    font-size: 1.2rem;
  }
}

.view-all {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.slider-item {
  text-decoration: none;
  color: inherit;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 15px 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--color-gray);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--color-secondary);
}

/* ===== NUEVO LAYOUT RESPONSIVE ===== */

/* Header reorganizado para móvil */
@media (max-width: 768px) {
  .navbar-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
  }

  /* Fila 1: Logo + Categorías + Iconos */
  .navbar-brand {
    order: 1;
    flex: 1;
  }

  .categories-btn {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
  }

  .nav-icons-container {
    order: 3;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    min-width: 100px;
  }

  /* Fila 2: Buscador 100% ancho */
  .search-container {
    order: 4;
    margin: 10px 0 0 0;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
  }

  .search-form {
    width: 100%;
  }

  .search-input {
    border-radius: 40px 0 0 40px;
    font-size: 0.9rem;
    padding: 12px 15px;
    width: 100%;
  }

  .search-btn {
    padding: 12px 15px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  /* Ocultar labels en móvil */
  .nav-icon-label {
    display: none;
  }

  .nav-icon-item {
    padding: 5px 8px;
  }

  .nav-icon {
    font-size: 1.3rem;
  }

  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
    top: 2px;
    right: 2px;
  }

  /* Ajustar logo */
  .logo {
    height: 50px;
  }

  /* Botón categorías solo icono */
  .categories-btn span {
    display: none;
  }

  .categories-btn {
    padding: 10px 12px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  .categories-btn i {
    font-size: 1.2rem;
    margin: 0;
  }
}

/* Hero Banner 100% ancho en móvil */
@media (max-width: 768px) {
  .hero-carousel {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .carousel {
    width: 100%;
  }

  .carousel-inner {
    width: 100%;
  }

  .carousel-item {
    /* height: 200px; /* Altura reducida para mostrar imagen completa */
    background-size: contain; /* Muestra imagen completa */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f9fa; /* Fondo por si la imagen es pequeña */
  }

  .carousel-caption {
    bottom: 10%;
    padding: 12px;
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
  }

  .hero-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-gray);
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: var(--dark-gray);
  }

  .btn-primary {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  /* Ocultar indicadores del carousel en móvil si es necesario */
  .carousel-indicators {
    bottom: 5px;
    display: none;
  }

  .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
  }
}

/* Títulos centrados en móvil */
@media (max-width: 768px) {
  .section-title-container {
    justify-content: center;
    text-align: center;
  }

  .section-title {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    font-size: 1.6rem;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .d-flex.justify-content-between.align-items-center.mb-4 {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Botones "Ver más" más pequeños en móvil */
@media (max-width: 768px) {
  .view-more-btn {
    padding: 6px 15px;
    font-size: 0.85rem;
    margin-top: 5px;
  }
}

/* Productos - 1 por pantalla en móvil */
@media (max-width: 576px) {
  .products-scroll {
    gap: 15px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
  }

  .product-card {
    width: calc(100vw - 40px);
    min-width: calc(100vw - 40px);
    scroll-snap-align: center;
    margin: 0 5px;
  }

  .product-img-container {
    height: 160px;
  }

  .product-img {
    max-height: 150px;
  }

  .product-body {
    padding: 12px;
  }

  .product-price {
    font-size: 1.2rem;
  }

  .product-title {
    font-size: 0.9rem;
    height: 40px;
  }

  .add-to-cart-btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* Quick Access responsive mejorado */
@media (max-width: 576px) {
  .access-scroll-container {
    gap: 10px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
  }

  .access-img-container {
    height: 50px;
  }

  .access-img {
    max-height: 40px;
  }

  .access-title {
    font-size: 0.8rem;
  }

  .access-scroll-btn {
    display: none;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 360px) {
  .navbar-brand {
    max-width: 120px;
  }

  .logo {
    height: 35px;
  }

  .categories-btn {
    padding: 8px 10px;
    width: 40px;
    height: 40px;
  }

  .categories-btn i {
    font-size: 1.1rem;
  }

  .nav-icon {
    font-size: 1.2rem;
  }

  .search-input {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .search-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  /* .carousel-item {
    height: 180px;
  } */

  .carousel-caption {
    padding: 10px;
    max-width: 95%;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* Mejoras para tablets */
@media (min-width: 577px) and (max-width: 768px) {
  .product-card {
    width: calc(50vw - 30px);
    min-width: calc(50vw - 30px);
  }

  /* .carousel-item {
    height: 250px;
  } */
}

/* Asegurar que el contenedor principal ocupe todo el ancho */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  body {
    padding-top: 100px; /* Aumentado por el header de dos filas */
  }
}

/* Header fijo mejorado para el nuevo layout */
@media (max-width: 768px) {
  .navbar.scrolled {
    padding: 3px 0;
  }

  .navbar {
    padding: 8px 0;
  }
}

.error {
  position: relative;
  display: block;
  color: #222;
  background-color: rgb(250, 201, 201);
  border-radius: 5px;
  text-align: center;
  clear: both;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.modal-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-glass .modal-header {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px 16px 0 0;
  padding: 12px 25px;
}

.modal-glass .modal-title {
  font-weight: lighter;
  font-size: 1.4rem;
}

.modal-glass .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.modal-glass .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-glass .modal-body {
  padding: 25px;
  background: rgba(255, 255, 255, 0.7);
}

.modal-glass .modal-footer {
  background: rgba(181, 181, 181, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 16px 16px;
  padding: 20px 25px;
}

/* Botones del formulario */
.btn-glass {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.btn-glass-primary {
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary-red);
}

.btn-glass-secondary {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.btn-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-glass-primary:hover {
  background: rgba(229, 57, 53, 0.2);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.2);
}

.btn-glass-secondary:hover {
  background: rgba(107, 114, 128, 0.2);
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.2);
}

/* Tablet (2 cards) */
@media (max-width: 992px) {
  .access-slider-card {
    flex: 0 0 calc(50% - 10px); /* 2 cards por fila */
    min-width: 300px;
  }

  .quick-access-slider-container {
    padding: 0 40px;
  }

  .slider-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Móvil grande (1 card) */
@media (max-width: 768px) {
  .access-slider-card {
    flex: 0 0 calc(100% - 20px); /* 1 card por fila */
    min-width: 280px;
  }

  .quick-access-slider-container {
    padding: 0 35px;
  }

  .access-slider-img-container {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }

  .access-slider-title {
    font-size: 1rem;
  }

  .access-slider-description {
    font-size: 0.8rem;
  }

  .slider-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Móvil pequeño */
@media (max-width: 576px) {
  .quick-access-slider-container {
    padding: 0 30px;
  }

  .access-slider-card {
    padding: 15px;
    min-width: 250px;
  }

  .access-slider-img-container {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    padding: 8px;
  }

  .access-slider-img {
    max-height: 40px;
  }
}

/* Indicadores de scroll para móvil */
@media (max-width: 768px) {
  .quick-access-slider-track {
    scroll-snap-type: x mandatory;
  }

  .access-slider-card {
    scroll-snap-align: center;
  }
}

/* ============================================
   QUICK ACCESS - DISEÑO HORIZONTAL MODERNO
   ============================================ */

/* ============================================
   QUICK ACCESS - SLIDER HORIZONTAL
   ============================================ */

/* Contenedor principal del slider */
.quick-access-slider-container {
  position: relative;
  padding: 0 50px;
}

/* Track del slider - contenedor de las cards */
.quick-access-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  cursor: grab;
  scroll-snap-type: x mandatory;
}

/* Ocultar scrollbar pero mantener funcionalidad */
.quick-access-slider-track::-webkit-scrollbar {
  display: none;
}

/* Card individual del slider */
.access-slider-card {
  flex: 0 0 calc(25% - 15px); /* 4 cards por fila en desktop */
  min-width: 280px;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

/* Efecto hover - levantar card */
.access-slider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(229, 57, 53, 0.2);
}

/* Contenedor de imagen */
.access-slider-img-container {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  background: rgba(229, 57, 53, 0.08);
  border-radius: 10px;
  padding: 10px;
}

/* Imagen dentro del contenedor */
.access-slider-img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Efecto hover en imagen */
.access-slider-card:hover .access-slider-img {
  transform: scale(1.1);
}

/* Contenido textual */
.access-slider-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Título de la card */
.access-slider-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Descripción */
.access-slider-description {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.4;
  margin: 0;
}

/* Botones de navegación */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.slider-nav-btn:hover {
  background: var(--primary-red);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.slider-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.slider-nav-btn:disabled:hover {
  background: var(--white);
  color: var(--primary-red);
  transform: translateY(-50%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-nav-left {
  left: 0;
}

.slider-nav-right {
  right: 0;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  font-size: 32px;
}

.whatsapp-button:hover {
  background: #128c7e;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-button {
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  animation: none;
}

/* Versión móvil */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}


/* Nuevo de responsive */
@media (width < 960px) {
  body {
    padding-top: 102px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 146px;
  }
}

.nav-icon-item.search-item {
  display: none;
}

@media (max-width: 576px) {
  body {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
  }

  .nav-icons-container {
    width: 100%;
    justify-content: center;
  }

  .search-container {
    display: none !important;
    position: absolute;
    width: calc(100% - 30px);
    left: 15px;
    bottom: -44px;
  }
  .search-container.show {
    display: flex !important;
  }

  .nav-icon-item.search-item {
    display: inline-block;
  }

  .hero-carousel {
    margin-top: 108px;
  }

  /* .carousel-item {
    width: 100vw;
    height: auto;
  } */

  .quick-access-slider-track {
    padding-left: 0px;
    padding-right: 0px;
  }
  .access-slider-card {
    min-width: 100%;
  }
}

@media (width < 446px) {
  /* .hero-carousel {
    margin-top: 172px;
  } */

  .quick-access-slider-container {
    padding: 0 36px;
  }

  /* .quick-access-slider-track {
    padding-left: 0px;
  } */

  .slider-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .access-slider-card {
    padding: 10px;
  }

  .access-slider-img-container {
    margin-right: 10px;
  }
}