/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?�
   SANLILAS - Prendas Luxury (Capa de refinamiento editorial)
   Cargado DESPU�?S de sanlilas-prendas.css para sobrescribir solo
   la página de catálogo sin afectar producto.html ni otras páginas.
   Paleta: marfil #FBF8F2 / chocolate #2C211B / café #746A61 / champagne #C8A46A
   �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */

:root {
  --lux-marfil: #FBF8F2;
  --lux-paper: #F4EEE3;
  --lux-chocolate: #2C211B;
  --lux-cafe: #746A61;
  --lux-muted: #A89F91;
  --lux-champagne: #C8A46A;
  --lux-champagne-deep: #B08D4F;
  --lux-border: rgba(44, 33, 27, 0.10);
  --lux-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

.prendas-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 0 4rem;
  color: var(--lux-chocolate);
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� HERO EDITORIAL �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
.prendas-hero {
  padding: 8.5rem clamp(1.25rem, 5vw, 3.5rem) 3rem;
}

.prendas-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.prendas-breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lux-muted);
  margin-bottom: 1.6rem;
}

.prendas-breadcrumb a {
  color: var(--lux-cafe);
  text-decoration: none;
  transition: color 0.3s var(--lux-ease);
}

.prendas-breadcrumb a:hover {
  color: var(--lux-champagne-deep);
}

.prendas-breadcrumb-sep {
  margin: 0 0.4rem;
  color: var(--lux-champagne);
}

.prendas-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lux-champagne-deep);
  background: rgba(200, 164, 106, 0.12);
  border: 1px solid rgba(200, 164, 106, 0.35);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.prendas-hero-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--lux-chocolate);
  margin: 0 0 1.6rem;
}

.prendas-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--lux-champagne-deep);
}

.prendas-hero-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--lux-cafe);
  max-width: 34rem;
  margin: 0 0 2.2rem;
}

.prendas-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.prendas-hero-swatches {
  display: flex;
  gap: 0.55rem;
}

.prendas-hero-swatches span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #FFF;
  box-shadow: 0 0 0 1px var(--lux-border), 0 4px 12px rgba(44, 33, 27, 0.14);
  transition: transform 0.35s var(--lux-ease);
}

.prendas-hero-swatches span:hover {
  transform: translateY(-3px) scale(1.08);
}

.prendas-hero-count {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--lux-muted);
  background: #FFF;
  border: 1px solid var(--lux-border);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

/* Marco decorativo (doble-bezel del héroe) */
.prendas-hero-art {
  position: relative;
  justify-self: center;
}

.prendas-hero-frame {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 32%, rgba(200,164,106,0.18), rgba(200,164,106,0.04) 72%),
    linear-gradient(160deg, #F4EEE3 0%, #EAE0CE 100%);
  border: 1px solid var(--lux-border);
  border-radius: 2rem;
  box-shadow: 0 30px 70px rgba(44, 33, 27, 0.14), inset 0 1px 0 rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prendas-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
}

.prendas-hero-monogram {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-style: italic;
  color: rgba(44, 33, 27, 0.14);
  line-height: 1;
  letter-spacing: 0.04em;
  user-select: none;
}

.prendas-hero-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--lux-champagne);
  opacity: 0.9;
}

.prendas-hero-corner-tl { top: 1rem; left: 1rem; border-right: none; border-bottom: none; border-top-left-radius: 1.4rem; }
.prendas-hero-corner-tr { top: 1rem; right: 1rem; border-left: none; border-bottom: none; border-top-right-radius: 1.4rem; }
.prendas-hero-corner-bl { bottom: 1rem; left: 1rem; border-right: none; border-top: none; border-bottom-left-radius: 1.4rem; }
.prendas-hero-corner-br { bottom: 1rem; right: 1rem; border-left: none; border-top: none; border-bottom-right-radius: 1.4rem; }

.prendas-hero-caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lux-muted);
  justify-content: center;
}

.prendas-hero-line {
  width: 2.4rem;
  height: 1px;
  background: var(--lux-champagne);
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� TOOLBAR �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
.prendas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1rem clamp(1.25rem, 5vw, 3.5rem) 1.4rem;
  padding: 0.5rem !important;
  background: rgba(44, 33, 27, 0.035) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: 1.5rem !important;
}

.prendas-search-shell {
  flex: 1;
  min-width: 220px;
}

.prendas-search {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.15rem 0.2rem 0.15rem 1.1rem;
  background: #FFF;
  border: 1px solid var(--lux-border);
  border-radius: 999px;
  color: var(--lux-muted);
  transition: border-color 0.3s var(--lux-ease), box-shadow 0.3s var(--lux-ease);
}

.prendas-search:focus-within {
  border-color: var(--lux-champagne);
  box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.15);
}

.prendas-search .search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.9rem 0;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  color: var(--lux-chocolate);
  outline: none;
  min-width: 0;
  box-shadow: none !important;
  border-radius: 0;
}

.prendas-search .search-input::placeholder {
  color: var(--lux-muted);
}

.prendas-search .search-clear-btn {
  position: static;
  transform: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.prendas-search .search-clear-btn:hover {
  background: rgba(44, 33, 27, 0.06);
  color: var(--lux-chocolate);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.prendas-toolbar .sort-select {
  padding: 0.8rem 1.1rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.82rem;
  border: 1px solid var(--lux-border);
  background: #FFF;
  color: var(--lux-chocolate);
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s var(--lux-ease);
}

.prendas-toolbar .sort-select:focus {
  border-color: var(--lux-champagne);
}

.mobile-filter-btn {
  display: none;
  padding: 0.8rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--lux-chocolate);
  color: var(--lux-marfil);
  border: 1px solid var(--lux-chocolate);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s var(--lux-ease), color 0.35s var(--lux-ease);
}

.mobile-filter-btn:hover {
  background: var(--lux-champagne);
  border-color: var(--lux-champagne);
  color: var(--lux-chocolate);
}

/* Active filter pills */
.active-filters-bar {
  margin: 0 clamp(1.25rem, 5vw, 3.5rem) 1.5rem;
}

.active-filters-bar .filter-pill {
  background: #FFF;
  border: 1px solid var(--lux-border);
  border-radius: 999px;
}

.active-filters-bar .filter-pill-remove:hover {
  color: #C06A5A;
}

.active-filters-bar .clear-all-filters {
  color: var(--lux-champagne-deep);
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� CATALOG LAYOUT �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
.catalog-layout {
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

/* Sidebar premium (doble-bezel) */
.filter-sidebar {
  background: rgba(44, 33, 27, 0.035);
  border: 1px solid var(--lux-border);
  border-radius: 1.5rem;
  padding: 0.5rem;
  box-shadow: none;
  position: sticky;
  top: 100px;
  height: fit-content;
  transition: border-color 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
}

.filter-sidebar:hover {
  border-color: rgba(200, 164, 106, 0.45);
  box-shadow: 0 18px 50px rgba(44, 33, 27, 0.1);
}

.filter-sidebar > div {
  background: #FFF;
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.filter-sidebar > div + div {
  margin-top: 0.5rem;
}

.filter-group-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--lux-chocolate);
  border-bottom: 1px solid var(--lux-border);
  padding-bottom: 0.5rem;
}

.filter-checkbox-label {
  color: var(--lux-cafe);
}

.filter-checkbox-label:hover {
  color: var(--lux-champagne-deep);
}

.filter-checkbox-label input[type="checkbox"] {
  accent-color: var(--lux-champagne);
}

.filter-price-input {
  background: var(--lux-marfil);
  border-color: var(--lux-border);
}

.filter-price-input:focus {
  border-color: var(--lux-champagne);
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� PRODUCT GRID �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.2rem 1.8rem;
}

/* Card doble-bezel: cascarón exterior + núcleo interior */
.product-card {
  --card-ease: cubic-bezier(0.32, 0.72, 0, 1);
  background: rgba(44, 33, 27, 0.035) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: 1.5rem !important;
  padding: 0.55rem !important;
  box-shadow: none !important;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--card-ease), border-color 0.5s var(--card-ease) !important;
}

/* Sombra difusa en pseudoelemento (solo opacity al hover, 60fps) */
.product-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 1.2rem;
  box-shadow: 0 26px 55px rgba(44, 33, 27, 0.22);
  opacity: 0;
  transition: opacity 0.5s var(--card-ease);
  pointer-events: none;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(200, 164, 106, 0.5) !important;
  box-shadow: none !important;
}

/* Núcleo interior */
.product-image-wrapper {
  background: #F4EEE3 !important;
  border-radius: 1.15rem !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.product-img-primary,
.product-img-secondary {
  object-fit: cover !important;
  background: #F4EEE3;
}

.product-card .product-image-wrapper img {
  transition: transform 0.9s var(--card-ease), opacity 0.5s ease !important;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.04) !important;
}

.product-details {
  background: #FFF;
  border-radius: 0 0 1.15rem 1.15rem;
  margin: 0.35rem 0 0;
  padding: 1.1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-name {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--lux-chocolate);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.product-name a:hover {
  color: var(--lux-champagne-deep);
}

.product-price-row {
  font-weight: 700;
  color: var(--lux-champagne-deep);
}

.product-price-old {
  color: var(--lux-muted);
}

/* Botones: píldora con icono anidado */
.btn-card-add-cart {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: var(--lux-chocolate);
  color: var(--lux-marfil);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  border: 1px solid var(--lux-chocolate);
  box-shadow: none;
  transition: background 0.35s var(--card-ease), color 0.35s var(--card-ease), transform 0.35s var(--card-ease);
}

.btn-card-add-cart:hover {
  background: var(--lux-champagne);
  border-color: var(--lux-champagne);
  color: var(--lux-chocolate);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 164, 106, 0.35);
}

.product-quickview-overlay-btn {
  border-radius: 999px;
  background: rgba(44, 33, 27, 0.9);
  border: 1px solid rgba(200, 164, 106, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  padding: 0.7rem 1rem;
  transition: background 0.35s var(--card-ease), color 0.35s var(--card-ease), transform 0.35s var(--card-ease), opacity 0.35s var(--card-ease);
}

.product-quickview-overlay-btn:hover {
  background: var(--lux-champagne);
  color: var(--lux-chocolate);
}

/* Insignias premium */
.prd-badge {
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}

.prd-badge.badge-new {
  background: var(--lux-chocolate);
  color: var(--lux-marfil);
}

.prd-badge.badge-promo {
  background: var(--lux-champagne);
  color: var(--lux-chocolate);
}

.prd-badge.badge-soldout {
  background: rgba(44, 33, 27, 0.75);
  color: #EDE4D9;
}

.prd-badge.badge-featured {
  background: linear-gradient(135deg, #A8895A, #C8A46A);
  color: #FFF;
}

.wishlist-btn {
  border: 1px solid rgba(200, 164, 106, 0.4);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s var(--card-ease), color 0.3s var(--card-ease), transform 0.3s var(--card-ease);
}

.wishlist-btn:hover {
  transform: scale(1.1);
  background: #FFF;
  color: #C06A5A;
}

.wishlist-btn.is-active {
  color: #C06A5A;
  background: #FFF;
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� PAGINACI�?N �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
.catalog-pagination {
  margin-top: 3.5rem;
}

.catalog-pagination-inner {
  justify-content: center;
}

.catalog-pagination-inner::before {
  content: none;
}

.catalog-pagination-info {
  color: var(--lux-cafe);
}

.catalog-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border: 1px solid var(--lux-border);
  background: #FFF;
  color: var(--lux-chocolate);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--lux-ease);
  font-family: inherit;
}

.catalog-page-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--lux-champagne);
  color: var(--lux-champagne-deep);
  transform: translateY(-1px);
}

.catalog-page-btn.is-active {
  background: var(--lux-chocolate);
  color: var(--lux-champagne);
  border-color: var(--lux-chocolate);
}

.catalog-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.catalog-page-ellipsis {
  color: var(--lux-muted);
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� REVEAL EN SCROLL �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: none;
  transition: opacity 0.55s var(--lux-ease), transform 0.55s var(--lux-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards: reveal con escala sutil (solo transform/opacity) */
.product-card[data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  filter: none;
  transition: opacity 0.45s var(--card-ease), transform 0.45s var(--card-ease);
}

.product-card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� RESPONSIVE �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
@media (max-width: 992px) {
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw, 340px);
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1500;
    border-radius: 0 1.5rem 1.5rem 0;
    transform: translateX(-105%);
    transition: transform 0.4s var(--lux-ease);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-sidebar.is-open {
    transform: translateX(0);
  }

  .filter-sidebar-close {
    display: flex;
  }

  .filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 13, 9, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1490;
  }

  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .prendas-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .prendas-hero-art {
    order: 2;
    justify-self: start;
  }

  .prendas-hero-frame {
    width: min(220px, 70vw);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (max-width: 640px) {
  .prendas-hero {
    padding-top: 7.5rem;
  }

  .prendas-hero-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1rem;
  }

  .prendas-toolbar {
    flex-wrap: wrap;
  }
}

/* �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� REDUCED MOTION �?��?��?��?��?��?��?��?��?��?��?��?��?��?��?� */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  .product-card[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .product-card:hover {
    transform: none;
  }
}

