.premium-catalog-search {
  margin-bottom: 18px;
}

.premium-search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(0, 180, 216, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(
      180deg,
      rgba(12, 26, 42, 0.96),
      rgba(6, 16, 29, 0.96)
    );
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.premium-search-box > span {
  position: absolute;
  left: 18px;
  color: var(--gold);
  font-size: 1.2rem;
}

.premium-search-box input {
  width: 100%;
  min-height: 58px;
  padding: 0 105px 0 48px;
  border: 0;
  color: var(--white);
  background: transparent;
  outline: none;
}

.premium-catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.premium-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 20px;
  border: 1px solid rgba(255, 203, 87, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(11, 23, 36, 0.98),
      rgba(5, 14, 25, 0.98)
    );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.premium-sidebar-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-sidebar-header h3 {
  margin-top: 4px;
  font-size: 1rem;
}

.premium-sidebar-header button {
  align-self: start;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--gold);
  background: rgba(255, 203, 87, 0.08);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-filter-group {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.premium-filter-group:last-child {
  border-bottom: 0;
}

.premium-filter-group label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.premium-filter-title {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.premium-filter-group select,
.premium-filter-group input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 10px;
  color: var(--white);
  background: rgba(1, 8, 16, 0.8);
  outline: none;
}

.price-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-filter-grid label {
  font-size: 0.58rem;
  color: var(--gray-500);
}

.premium-results-area {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(8, 20, 34, 0.94),
      rgba(3, 12, 22, 0.96)
    );
}

.premium-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-300);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sort-control select {
  min-height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(255, 203, 87, 0.35);
  border-radius: 9px;
  color: var(--white);
  background: rgba(1, 8, 16, 0.82);
}

.mobile-filters-button {
  display: none;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  color: var(--navy-1000);
  background: var(--gold);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-active-filters {
  margin-top: 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-products-grid {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  overflow-x: auto;
  gap: 16px;
  padding-top: 18px;
}

.premium-products-grid .product-card {
  min-width: 210px;
}

.premium-products-grid .product-image {
  height: 250px;
}

.premium-products-grid .product-content {
  padding: 15px;
}

.premium-products-grid .product-name {
  min-height: auto;
  font-size: 0.86rem;
}

.premium-products-grid .product-expansion {
  min-height: 34px;
}

.premium-results-area .slider-button {
  display: none;
}

@media (max-width: 1180px) {
  .premium-catalog-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .premium-products-grid {
    grid-template-columns: repeat(3, minmax(205px, 1fr));
  }
}

@media (max-width: 900px) {
  .premium-catalog-layout {
    grid-template-columns: 1fr;
  }

  .premium-sidebar {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: min(88vw, 340px);
    height: 100vh;
    overflow-y: auto;
    border-radius: 0 16px 16px 0;
    transform: translateX(-105%);
    transition: transform 260ms ease;
  }

  .premium-sidebar.open {
    transform: translateX(0);
  }

  .mobile-filters-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.filters-open::after {
    content: "";
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
  }

  .premium-products-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (max-width: 650px) {
  .premium-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-toolbar-actions {
    width: 100%;
  }

  .sort-control {
    flex: 1;
    justify-content: space-between;
  }

  .sort-control select {
    flex: 1;
  }

  .premium-products-grid {
    grid-template-columns: 1fr;
  }

  .premium-products-grid .product-card {
    min-width: 0;
  }
}


/* Vitrina horizontal Hot de la semana */

.weekly-hot-banner {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  min-height: 310px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 203, 87, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 18% 50%,
      rgba(255, 203, 87, 0.16),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(11, 23, 36, 0.98),
      rgba(5, 14, 25, 0.98)
    );
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(255, 203, 87, 0.05);
}

.weekly-hot-banner .weekly-hot-image {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle,
      rgba(255, 203, 87, 0.19),
      transparent 58%
    );
}

.weekly-hot-banner .weekly-hot-image img {
  width: 100%;
  height: 100%;
  max-height: 310px;
  padding: 24px;
  object-fit: contain;
  transition: transform 320ms ease;
}

.weekly-hot-banner .weekly-hot-image:hover img {
  transform: translateY(-4px) scale(1.025);
}

.weekly-hot-badge {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: 15px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  color: var(--navy-1000);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: var(--shadow-gold);
  font-size: 0.58rem;
  font-weight: 900;
}

.weekly-hot-fallback {
  display: none;
  place-items: center;
  font-size: 5rem;
}

.weekly-hot-banner .weekly-hot-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 40px;
}

.weekly-hot-banner .weekly-hot-content h3 {
  margin-top: 7px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
}

.weekly-hot-banner .weekly-hot-content > p:first-of-type {
  margin-top: 7px;
  color: var(--gray-500);
}

.weekly-hot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.weekly-hot-meta span {
  color: var(--gray-300);
  font-size: 0.7rem;
}

.weekly-hot-price-row {
  display: grid;
  gap: 5px;
  margin-top: 20px;
}

.weekly-hot-price-row span {
  color: var(--gray-500);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weekly-hot-price-row strong {
  color: var(--gold);
  font-size: 2rem;
}

.weekly-hot-description {
  max-width: 620px;
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 0.72rem;
  line-height: 1.55;
}

.weekly-hot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.weekly-hot-actions a,
.weekly-hot-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weekly-hot-actions a {
  color: var(--navy-1000);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.weekly-hot-actions button {
  border: var(--border-strong);
  color: var(--white);
  background: rgba(0, 180, 216, 0.08);
}

.premium-catalog-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  width: 100%;
}

.premium-results-area {
  min-width: 0;
  width: 100%;
}

.premium-products-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  width: 100%;
  overflow: visible;
}

@media (max-width: 1180px) {
  .premium-catalog-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .premium-products-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .weekly-hot-banner {
    grid-template-columns: 1fr;
  }

  .weekly-hot-banner .weekly-hot-image {
    min-height: 280px;
  }

  .weekly-hot-banner .weekly-hot-image img {
    max-height: 280px;
  }

  .weekly-hot-banner .weekly-hot-content {
    padding: 28px;
  }

  .premium-catalog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .premium-products-grid {
    grid-template-columns: 1fr;
  }

  .weekly-hot-actions {
    flex-direction: column;
  }

  .weekly-hot-actions a,
  .weekly-hot-actions button {
    width: 100%;
  }
}
