/* =========================
   PÁGINA COLECCIÓN
========================= */

/* =========================
   HERO
========================= */
.collection-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(6, 10, 22, 0.96) 0%,
      rgba(3, 8, 22, 0.98) 42%,
      rgba(2, 7, 20, 0.98) 100%
    ),
    radial-gradient(circle at 68% 36%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle at 22% 34%, rgba(255, 255, 255, 0.08), transparent 18%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.045) 1.3px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.94;
}

.collection-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.055) 0 17%, transparent 17% 100%),
    radial-gradient(circle at 24% 52%, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.16),
      transparent 18%,
      transparent 82%,
      rgba(0, 0, 0, 0.18)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      transparent 28%,
      transparent 72%,
      rgba(0, 0, 0, 0.12)
    );
  opacity: 1;
}

.collection-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 15, 0.18) 0%,
    rgba(5, 8, 15, 0.08) 30%,
    rgba(5, 8, 15, 0) 100%
  );
}

.collection-hero-content {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.collection-hero-text {
  color: #fff;
  padding: 24px 0;
  max-width: 620px;
}

.collection-hero-text h1 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.94;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #f5f5f5;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.collection-hero-text p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.collection-hero-text p strong {
  font-weight: 900;
}

.collection-hero-models {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

.collection-hero-models img {
  width: min(100%, 520px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
}

.collection-wa-top {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 21, 33, 0.9);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.collection-wa-top i {
  color: var(--green);
  font-size: 22px;
}

.collection-wa-top:hover {
  transform: translateY(-2px);
  background: rgba(25, 30, 44, 0.96);
}

/* =========================
   TOOLBAR FILTROS
========================= */

.collection-toolbar-wrap {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: linear-gradient(180deg, #f4f4f4 0%, #efefef 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.collection-toolbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.toolbar-label {
  font-size: 22px;
  font-weight: 900;
  color: #20242d;
}

.color-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.color-dot:hover {
  transform: translateY(-1px);
}

.color-dot.active {
  transform: scale(1.05);
  box-shadow:
    0 0 0 3px rgba(17, 20, 29, 0.1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.color-dot.all {
  background: linear-gradient(135deg, #11162a 0%, #ffffff 100%);
  border-color: #d6d6d6;
}

.color-dot.red {
  background: #b71e2d;
}

.color-dot.black {
  background: #11162a;
}

.color-dot.navy,
.color-dot.blue {
  background: #1d2d68;
}

.color-dot.gray {
  background: #9aa0a8;
}

.color-dot.white {
  background: #f4f4f4;
  border-color: #d6d6d6;
}

.color-dot.green {
  background: #1f7a4d;
}

.color-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shop-colors-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.shop-colors-label {
  font-size: 14px;
  color: #666b74;
}

.shop-colors-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: inline-block;
  flex-shrink: 0;
}

.dot-black {
  background: #11162a;
}

.dot-white {
  background: #f4f4f4;
  border-color: #d6d6d6;
}

.dot-blue {
  background: #1d2d68;
}

.dot-red {
  background: #b71e2d;
}

.dot-gray {
  background: #9aa0a8;
}

.dot-green {
  background: #1f7a4d;
}

.dot-default {
  background: #d1d5db;
}

.tag-btn,
.filter-btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid #d7d7d7;
  background: linear-gradient(180deg, #fafafa 0%, #f2f2f2 100%);
  color: #43464f;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.tag-btn:hover,
.filter-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.tag-btn.active {
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  border-color: #11141d;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
  justify-content: space-between;
  color: #2a2c33;
  font-weight: 800;
}

.filter-btn.active {
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  border-color: #11141d;
}

.filter-btn i {
  transition: transform 0.22s ease;
}

.filter-btn.active i {
  transform: rotate(180deg);
}

/* =========================
   PANEL DE FILTROS
========================= */

.filters-panel {
  margin-top: 14px;
  margin-bottom: 4px;
}

.filters-panel[hidden] {
  display: none !important;
}

.filters-panel-inner {
  background: linear-gradient(180deg, #fbfbfb 0%, #f3f3f3 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.filters-group {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.filters-group-title {
  font-size: 15px;
  font-weight: 800;
  color: #242830;
}

.filters-stock-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stock-filter-btn {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid #d3d6db;
  background: #fff;
  color: #454952;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.stock-filter-btn:hover {
  background: #f9f9f9;
  transform: translateY(-1px);
}

.stock-filter-btn.active {
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  border-color: #11141d;
}

/* =========================
   PRODUCTOS
========================= */

.collection-products {
  position: relative;
  padding: 20px 0 34px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.03) 1.4px, transparent 1.9px),
    linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 48%, #ececec 100%);
  background-size:
    22px 22px,
    cover;
}

.collection-products::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(0, 0, 0, 0.018) 18% 20%, transparent 20% 100%),
    linear-gradient(315deg, transparent 0 12%, rgba(0, 0, 0, 0.016) 12% 14%, transparent 14% 100%);
  opacity: 0.8;
}

.collection-products .container {
  position: relative;
  z-index: 2;
}

.collection-section-head {
  margin-bottom: 14px;
}

.collection-section-head h2 {
  font-size: 28px;
  font-weight: 900;
  color: #1d2028;
  margin-bottom: 6px;
}

.collection-section-head p {
  font-size: 15px;
  color: #666b74;
  line-height: 1.4;
}

.collection-meta {
  margin-bottom: 18px;
  font-size: 14px;
  color: #6a6f78;
  font-weight: 600;
}

.products-scroll-area {
  max-height: 980px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.products-scroll-area::-webkit-scrollbar {
  width: 10px;
}

.products-scroll-area::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}

.products-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(17, 20, 29, 0.35);
  border-radius: 999px;
}

.products-scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 20, 29, 0.55);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.shop-product-card {
  position: relative;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.shop-product-main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  border-color: rgba(17, 20, 29, 0.12);
}

.shop-product-card.hidden {
  display: none;
}

.shop-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8f8f8 0%, #f1f1f1 100%);
  overflow: hidden;
}

.shop-product-image img {
  width: 100%;
  max-width: 220px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s ease;
}

.shop-product-card:hover .shop-product-image img {
  transform: scale(1.04);
}

.shop-product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  min-height: 0;
}

.shop-product-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: #2c2f36;
  margin: 0 0 4px;
  line-height: 1.2;
  min-height: 44px;
}

.shop-rating-stars {
  display: inline-flex;
  align-items: center;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 1;
  color: #f4b400;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.shop-color,
.shop-sizes {
  font-size: 14px;
  color: #666b74;
  margin-bottom: 2px;
  line-height: 1.25;
}

.shop-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 4px;
  min-height: 32px;
}

.shop-old-price {
  font-size: 15px;
  color: #8b8f98;
  text-decoration: line-through;
  font-weight: 700;
}

.shop-product-info .shop-price,
.shop-price {
  font-size: 21px;
  font-weight: 900;
  color: #111319;
  margin: 0;
  line-height: 1.1;
}

.shop-offer-text {
  font-size: 13px;
  font-weight: 800;
  color: #c32026;
  margin-bottom: 10px;
  min-height: 18px;
}

.shop-stock {
  font-size: 15px;
  margin-bottom: 18px;
  min-height: 22px;
}

.shop-stock.in-stock {
  color: #198754;
  font-weight: 700;
}

/* =========================
   PRODUCTO AGOTADO
========================= */

.shop-product-card.is-out {
  background: linear-gradient(180deg, #f2f2f2 0%, #ebebeb 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

.shop-product-card.is-out .shop-product-image img {
  opacity: 0.6;
  filter: grayscale(20%) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.05));
}

.shop-product-card.is-out .shop-product-info h3,
.shop-product-card.is-out .shop-color,
.shop-product-card.is-out .shop-sizes,
.shop-product-card.is-out .shop-price,
.shop-product-card.is-out .shop-rating-stars {
  color: #6f747c;
}

.shop-stock.out-stock {
  color: #b42318;
  font-weight: 800;
}

.shop-product-btn {
  margin-top: auto;
  min-height: 48px;
  border: 2px solid #8b8d95;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2d2e34;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  background: #fff;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.shop-product-btn:hover {
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  border-color: #11141d;
  transform: translateY(-1px);
}

.shop-product-btn.is-disabled {
  margin-top: auto;
  min-height: 48px;
  border: 2px solid #c9cdd3;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  color: #7a8088;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

/* =========================
   PRODUCTO EN OFERTA
========================= */

.shop-product-card.is-offer {
  border: 1px solid rgba(195, 32, 38, 0.14);
  box-shadow: 0 12px 26px rgba(195, 32, 38, 0.08);
}

.shop-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e11b22, #b81218);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 8px 14px rgba(225, 27, 34, 0.18);
}

/* =========================
   AJUSTE AGOTADO + OFERTA
========================= */

.shop-product-card.is-out .shop-card-badge {
  background: linear-gradient(180deg, #8f96a3, #6f7783);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
}

.shop-product-card.is-out .shop-old-price,
.shop-product-card.is-out .shop-offer-text {
  opacity: 0.75;
}

/* =========================
   ESTADO VACÍO
========================= */

.collection-empty {
  margin-top: 22px;
}

.collection-empty-box {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.collection-empty-box i {
  font-size: 34px;
  color: #8b8f98;
  margin-bottom: 14px;
}

.collection-empty-box h3 {
  font-size: 22px;
  color: #23262e;
  margin-bottom: 8px;
}

.collection-empty-box p {
  font-size: 15px;
  color: #6a6f78;
  line-height: 1.45;
}

.collection-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.collection-alert i {
  font-size: 1rem;
  flex-shrink: 0;
}

.collection-alert-warning {
  color: #7a1f1f;
  background: #fff1f1;
  border: 1px solid #f3b3b3;
}

.collection-alert-info {
  color: #1e3a5f;
  background: #eef6ff;
  border: 1px solid #b9d8ff;
}

/* =========================
   CTA WHATSAPP
========================= */

.collection-cta {
  position: relative;
  background:
    linear-gradient(180deg, rgba(9, 11, 22, 0.94), rgba(6, 8, 16, 0.96)),
    url("../img/banner-cta.webp") center center / cover no-repeat;
  padding: 48px 0 56px;
  overflow: hidden;
}

.collection-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 45%);
}

.collection-cta-box {
  position: relative;
  z-index: 2;
  text-align: center;
}

.collection-cta-box h2 {
  color: #fff;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 400;
  margin-bottom: 22px;
}

.collection-cta-box h2 strong {
  font-weight: 900;
}

.collection-cta-btn {
  min-height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #35c95f, #1ea74d);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.collection-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.collection-cta-btn i {
  font-size: 24px;
}

.collection-wa-top:focus-visible,
.color-dot:focus-visible,
.tag-btn:focus-visible,
.filter-btn:focus-visible,
.stock-filter-btn:focus-visible,
.shop-product-btn:focus-visible,
.collection-cta-btn:focus-visible,
.shop-product-image:focus-visible {
  outline: 3px solid rgba(225, 27, 34, 0.45);
  outline-offset: 3px;
}

/* =========================
   CATEGORÍAS EN FILTROS
========================= */

.filters-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filters-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.filters-group-title {
  min-width: 0;
  padding-top: 0;
  font-size: 15px;
  font-weight: 800;
  color: #242830;
}

.filters-stock-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filters-category-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.category-filter-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #d3d6db;
  background: #fff;
  color: #454952;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.category-filter-btn:hover {
  background: #f9f9f9;
  transform: translateY(-1px);
}

.category-filter-btn.active {
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  border-color: #11141d;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* grupo principal visible */
.filters-category-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

/* botón ver más */
.category-more-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px dashed #c5cad3;
  background: linear-gradient(180deg, #fafafa 0%, #f2f2f2 100%);
  color: #2c3140;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.category-more-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.category-more-btn.is-open {
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  border-color: #11141d;
}

/* panel extra oculto/visible */
.filters-category-extra {
  width: 100%;
  margin-top: 2px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfbfb 0%, #f3f3f3 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.filters-category-extra[hidden] {
  display: none !important;
}

/* grid de categorías extra */
.filters-category-extra-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* si supera el límite, scroll */
.filters-category-extra.is-scrollable {
  max-height: 162px;
  overflow-y: auto;
  padding-right: 10px;
}

.filters-category-extra.is-scrollable::-webkit-scrollbar {
  width: 10px;
}

.filters-category-extra.is-scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}

.filters-category-extra.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(17, 20, 29, 0.35);
  border-radius: 999px;
}

.filters-category-extra.is-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 20, 29, 0.55);
}

/* =========================
   CATEGORÍA EN CARD PRODUCTO
========================= */

.shop-category-name {
  font-size: 13px;
  font-weight: 800;
  color: #1d2d68;
  margin: 0 0 6px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* =========================
   EMPTY STATE FILTROS
========================= */

.products-grid.is-filtered-empty::after {
  content: "No hay productos que coincidan con los filtros seleccionados.";
  grid-column: 1 / -1;
  display: block;
  padding: 28px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #6a6f78;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* =========================
   RESPONSIVE CATEGORÍAS
========================= */

@media (max-width: 1100px) {
  .filters-category-extra-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .filters-group {
    gap: 12px;
  }

  .filters-stock-buttons,
  .filters-category-buttons,
  .filters-category-primary {
    gap: 10px;
  }

  .stock-filter-btn,
  .category-filter-btn,
  .category-more-btn {
    min-height: 40px;
    font-size: 13px;
    padding: 0 15px;
  }

  .filters-category-extra {
    padding: 12px;
  }

  .filters-category-extra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .stock-filter-btn,
  .category-filter-btn,
  .category-more-btn {
    min-height: 38px;
    font-size: 12px;
    padding: 0 14px;
    border-radius: 10px;
  }

  .filters-category-extra {
    padding: 10px;
    border-radius: 14px;
  }

  .filters-category-extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .shop-category-name {
    font-size: 12px;
    margin-bottom: 5px;
  }
}

@media (max-width: 420px) {
  .filters-stock-buttons,
  .filters-category-buttons,
  .filters-category-primary {
    gap: 8px;
  }

  .stock-filter-btn,
  .category-filter-btn,
  .category-more-btn {
    min-height: 36px;
    font-size: 12px;
    padding: 0 12px;
  }
}
/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1280px) {
  .collection-hero {
    min-height: 430px;
  }

  .collection-hero-content {
    min-height: 430px;
    gap: 20px;
  }

  .collection-hero-text h1 {
    font-size: 58px;
  }

  .collection-hero-text p {
    font-size: 22px;
  }

  .collection-hero-models img {
    max-height: 390px;
  }

  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .products-scroll-area {
    max-height: 920px;
  }
}

@media (max-width: 1100px) {
  .collection-hero-content {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 72px;
    padding-bottom: 28px;
    text-align: center;
  }

  .collection-hero-text {
    text-align: center;
    margin: 0 auto;
    max-width: 760px;
  }

  .collection-hero-models {
    justify-content: center;
  }

  .collection-hero-models img {
    max-height: 320px;
  }

  .collection-toolbar {
    align-items: flex-start;
  }

  .toolbar-left {
    gap: 14px;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .products-scroll-area {
    max-height: 860px;
  }
}

@media (max-width: 860px) {
  .collection-hero {
    min-height: auto;
  }

  .collection-hero-content {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 24px;
  }

  .collection-hero-text h1 {
    font-size: 42px;
    margin-bottom: 18px;
  }

  .collection-hero-text p {
    font-size: 18px;
  }

  .collection-hero-models img {
    max-height: 280px;
  }

  .collection-wa-top {
    top: 14px;
    right: 14px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .collection-wa-top i {
    font-size: 18px;
  }

  .collection-toolbar {
    padding: 16px 0;
    gap: 14px;
  }

  .toolbar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .toolbar-label {
    font-size: 18px;
  }

  .color-dots {
    gap: 8px;
  }

  .color-dot {
    width: 32px;
    height: 32px;
  }

  .color-tags {
    gap: 10px;
  }

  .tag-btn,
  .filter-btn {
    min-height: 40px;
    font-size: 14px;
    padding: 0 16px;
  }

  .toolbar-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filter-btn {
    width: 100%;
  }

  .filters-panel-inner {
    padding: 14px;
  }

  .filters-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filters-stock-buttons {
    width: 100%;
  }

  .stock-filter-btn {
    flex: 1 1 auto;
  }

  .collection-section-head h2 {
    font-size: 24px;
  }

  .collection-section-head p {
    font-size: 14px;
  }

  .collection-meta {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .products-scroll-area {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .shop-product-card {
    padding: 12px;
    border-radius: 14px;
  }

  .shop-product-image {
    min-height: 150px;
    margin-bottom: 10px;
  }

  .shop-product-image img {
    max-width: 150px;
    height: 145px;
  }

  .shop-product-info h3 {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 6px;
    min-height: 38px;
  }

  .shop-rating-stars {
    font-size: 13px;
    letter-spacing: 1.4px;
    margin: 0 0 6px;
  }

  .shop-color,
  .shop-sizes {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .shop-price,
  .shop-product-info .shop-price {
    font-size: 17px;
  }

  .shop-stock {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .shop-product-btn,
  .shop-product-btn.is-disabled {
    min-height: 42px;
    font-size: 13px;
    border-radius: 10px;
  }

  .collection-empty-box {
    padding: 28px 16px;
  }

  .collection-empty-box h3 {
    font-size: 18px;
  }

  .collection-empty-box p {
    font-size: 14px;
  }

  .collection-cta {
    padding: 36px 0 40px;
  }

  .collection-cta-box h2 {
    font-size: 24px;
  }

  .collection-cta-btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
    padding: 0 18px;
  }
}

@media (max-width: 640px) {
  .shop-card-badge {
    top: 10px;
    left: 10px;
    min-height: 26px;
    padding: 0 9px;
    font-size: 10px;
  }

  .shop-price-wrap {
    gap: 6px;
  }

  .shop-old-price {
    font-size: 14px;
  }

  .shop-product-info .shop-price,
  .shop-price {
    font-size: 20px;
  }

  .shop-offer-text {
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .collection-hero-content {
    padding-top: 72px;
    padding-bottom: 22px;
  }

  .collection-hero-text h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .collection-hero-text p {
    font-size: 16px;
  }

  .collection-hero-models img {
    max-height: 220px;
  }

  .collection-wa-top {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
    gap: 6px;
  }

  .collection-wa-top span {
    display: none;
  }

  .collection-wa-top i {
    font-size: 17px;
  }

  .toolbar-label {
    font-size: 17px;
  }

  .color-dot {
    width: 30px;
    height: 30px;
  }

  .tag-btn,
  .filter-btn,
  .stock-filter-btn {
    min-height: 38px;
    font-size: 13px;
    padding: 0 14px;
  }

  .filters-panel-inner {
    border-radius: 14px;
    padding: 12px;
  }

  .filters-group-title {
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .shop-product-card {
    padding: 10px;
  }

  .shop-product-image {
    min-height: 130px;
  }

  .shop-product-image img {
    max-width: 125px;
    height: 120px;
  }

  .shop-product-info h3 {
    font-size: 14px;
    min-height: 34px;
  }

  .shop-rating-stars {
    font-size: 12px;
    letter-spacing: 1.2px;
    margin: 0 0 6px;
  }

  .shop-color,
  .shop-sizes {
    font-size: 11px;
  }

  .shop-price,
  .shop-product-info .shop-price {
    font-size: 16px;
  }

  .shop-stock {
    font-size: 12px;
  }

  .shop-product-btn,
  .shop-product-btn.is-disabled {
    min-height: 40px;
    font-size: 12px;
  }

  .collection-section-head h2 {
    font-size: 22px;
  }

  .collection-section-head p {
    font-size: 13px;
  }

  .collection-cta-box h2 {
    font-size: 21px;
  }

  .collection-cta-btn {
    font-size: 14px;
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .collection-hero-content {
    padding-top: 68px;
  }

  .collection-hero-text h1 {
    font-size: 30px;
  }

  .collection-hero-text p {
    font-size: 15px;
  }

  .collection-hero-models img {
    max-height: 190px;
  }

  .collection-toolbar {
    padding: 14px 0;
  }

  .color-tags {
    gap: 8px;
  }

  .tag-btn,
  .filter-btn,
  .stock-filter-btn {
    min-height: 36px;
    font-size: 12px;
    padding: 0 12px;
    border-radius: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-product-card {
    padding: 12px;
  }

  .shop-product-image {
    min-height: 180px;
  }

  .shop-product-image img {
    max-width: 170px;
    height: 170px;
  }

  .shop-product-info h3 {
    font-size: 16px;
    min-height: auto;
  }

  .shop-color,
  .shop-sizes {
    font-size: 13px;
  }

  .shop-price,
  .shop-product-info .shop-price {
    font-size: 18px;
  }

  .shop-stock {
    font-size: 13px;
  }

  .shop-product-btn,
  .shop-product-btn.is-disabled {
    min-height: 42px;
    font-size: 13px;
  }

  .collection-empty-box {
    padding: 24px 14px;
  }

  .collection-empty-box i {
    font-size: 28px;
  }

  .collection-empty-box h3 {
    font-size: 16px;
  }

  .collection-empty-box p {
    font-size: 13px;
  }
}
