/* ==========================================================================
   Estilos para la barra de categorías horizontal (Catálogo Moderno)
   ========================================================================== */

.category-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
  scrollbar-width: none;
}

.category-scroll-container::-webkit-scrollbar {
  display: none;
}

.pill-category-btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.pill-category-btn:hover,
.pill-category-btn.active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Tarjetas de Productos (Glassmorphism & Resplandor Blanco Gonau)
   ========================================================================== */

.product-card-glass {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s ease;
}

/* Hover y toque en móvil con borde blanco luminoso */
.product-card-glass:hover,
.product-card-glass:active {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 18px rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45) !important;
}

/* Badge de descuento estilo boutique */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 30px;
  letter-spacing: 1px;
  z-index: 15;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Marca en blanco negrita elegante */
.brand-title-gonau {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

/* Descripción completa del producto */
.card-info-title {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 400;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.product-card-glass:hover .card-info-title {
  color: #ffffff;
}

.card-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* Botón VER con contraste negro garantizado al hover / active */
.btn-ver-gonau {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease !important;
}

.btn-ver-gonau:hover,
.btn-ver-gonau:focus,
.btn-ver-gonau:active {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5) !important;
}

.btn-ver-gonau:hover span,
.btn-ver-gonau:hover i,
.btn-ver-gonau:active span,
.btn-ver-gonau:active i {
  color: #000000 !important;
}

/* ==========================================
   GONAU - CARRUSEL EXCLUSIVO DEL CATÁLOGO
   Proporción fija 3:4
   ========================================== */

.catalog-product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  overflow: hidden;
  background-color: #111;
  isolation: isolate;
}

.catalog-product-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.catalog-product-carousel .carousel-inner,
.catalog-product-carousel .carousel-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.catalog-product-carousel .carousel-item img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.product-card-glass:hover .catalog-product-carousel .carousel-item.active img {
  transform: scale(1.05);
}

/* ==========================================
   INDICADORES DE LÍNEA SUTILES (ESTILO GONAU)
   ========================================== */

.gonau-carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 20;
  pointer-events: auto;
}

.gonau-carousel-indicators [data-bs-target] {
  width: 14px;
  height: 2.5px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: all 0.3s ease;
}

.gonau-carousel-indicators .active {
  width: 24px;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ==========================================
   CONTROLES MINIMALISTAS DEL CARRUSEL
   ========================================== */

.catalog-product-carousel .catalog-carousel-control {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 50% !important;
  opacity: 0.75 !important;
  z-index: 20 !important;
  transition: all 0.25s ease;
}

.catalog-product-carousel .carousel-control-prev {
  left: 8px !important;
}

.catalog-product-carousel .carousel-control-next {
  right: 8px !important;
}

.catalog-carousel-arrow {
  display: block !important;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  flex-shrink: 0;
}

.catalog-carousel-arrow.arrow-left {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.catalog-carousel-arrow.arrow-right {
  transform: rotate(45deg);
  margin-right: 3px;
}

.catalog-product-carousel .catalog-carousel-control:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: #ffffff !important;
}

.catalog-product-carousel .catalog-carousel-control:hover .catalog-carousel-arrow {
  border-color: #000000;
}

@media (max-width: 576px) {
  .catalog-product-carousel .catalog-carousel-control {
    width: 26px !important;
    height: 26px !important;
  }
  .catalog-product-carousel .carousel-control-prev {
    left: 6px !important;
  }
  .catalog-product-carousel .carousel-control-next {
    right: 6px !important;
  }
}

/* ==========================================================================
   Botón Disparador de Búsqueda / Filtros (Estilo Gonau Glass)
   ========================================================================== */

.btn-gonau-search-trigger {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  padding: 9px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gonau-search-trigger i {
  font-size: 0.85rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.btn-gonau-search-trigger:hover,
.btn-gonau-search-trigger:focus,
.btn-gonau-search-trigger:active {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.45) !important;
}

.btn-gonau-search-trigger:hover i,
.btn-gonau-search-trigger:active i {
  color: #000000 !important;
  transform: scale(1.1);
}

/* Menú desplegable Ordenar Por (Estilo Gonau Glass) */
.gonau-sort-menu {
  background: rgba(18, 18, 18, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 14px !important;
  padding: 6px !important;
  min-width: 210px;
}

.gonau-sort-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-radius: 9px;
  padding: 9px 14px;
  transition: all 0.2s ease;
}

.gonau-sort-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.gonau-sort-menu .dropdown-item.active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700;
}

@media (max-width: 576px) {
  .btn-gonau-search-trigger {
    padding: 8px 14px;
    font-size: 0.72rem;
    letter-spacing: 1.2px;
  }
}