
/* PASO 3 — Colecciones premium conectadas al catálogo */
.home-collections{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 10%,rgba(199,131,137,.09),transparent 28%),
    radial-gradient(circle at 92% 84%,rgba(185,154,97,.08),transparent 25%),
    #fff;
}
.home-collections::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(45,29,34,.026) 1px,transparent 1px);
  background-size:100% 72px;
}
.home-collections > *{
  position:relative;
  z-index:1;
}
.section-heading.compact{
  align-items:flex-start;
  margin-bottom:42px;
}
.section-heading.compact > div{
  max-width:790px;
}
.collections-intro{
  max-width:690px;
  margin:20px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
}
.collection-block{
  position:relative;
  margin-top:30px;
  padding:clamp(22px,3vw,38px);
  border:1px solid rgba(84,53,61,.09);
  border-radius:30px;
  background:rgba(255,255,255,.86);
  box-shadow:0 22px 70px rgba(70,42,50,.075);
  backdrop-filter:blur(14px);
}
.collection-block + .collection-block{
  margin-top:28px;
}
.collection-block::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  border-radius:30px 0 0 30px;
  background:linear-gradient(#c78389,#e2b5bb);
  opacity:.72;
}
#newBlock::before{
  background:linear-gradient(#b99a61,#e5d2a9);
}
#saleBlock::before{
  background:linear-gradient(#8d4357,#d77591);
}
.collection-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.collection-title > div{
  display:flex;
  align-items:center;
  gap:17px;
}
.collection-title > div > span{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:50%;
  background:#f4e5e8;
  color:#9d5367;
  font:600 15px "Cormorant Garamond",serif;
}
#newBlock .collection-title > div > span{
  background:#f5efdf;
  color:#8d7345;
}
#saleBlock .collection-title > div > span{
  background:#f7e3e9;
  color:#9a405a;
}
.collection-title small{
  display:block;
  margin-bottom:5px;
  color:#a77885;
  font-size:9px;
  font-weight:800;
  letter-spacing:.18em;
}
.collection-title h3{
  margin:0;
  color:#281d20;
  font:600 clamp(28px,3vw,39px)/1 "Cormorant Garamond",serif;
}
.collection-title button{
  border:1px solid rgba(63,38,45,.13);
  border-radius:999px;
  background:#fff;
  padding:12px 17px;
  color:#39282d;
  font:700 10px Montserrat,sans-serif;
  letter-spacing:.04em;
  cursor:pointer;
  transition:transform .24s ease,background .24s ease,box-shadow .24s ease;
}
.collection-title button:hover{
  transform:translateY(-2px);
  background:#261c1f;
  color:#fff;
  box-shadow:0 12px 24px rgba(47,27,34,.14);
}
.mini-product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.mini-product-grid .mini-card{
  border:1px solid rgba(79,47,56,.09);
  border-radius:21px;
  background:#fff;
  box-shadow:none;
  overflow:hidden;
}
.mini-product-grid .mini-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 45px rgba(65,39,47,.12);
}
.mini-product-grid .product-visual{
  aspect-ratio:1/1;
  background:linear-gradient(145deg,#fbf7f5,#f1e2e4);
}
#newGrid .product-visual{
  background:linear-gradient(145deg,#fbf9f3,#eee5d2);
}
#saleGrid .product-visual{
  background:linear-gradient(145deg,#fff5f7,#efd3db);
}
.mini-product-grid .product-info{
  padding:16px;
}
.mini-product-grid .product-brand{
  font-size:8px;
}
.mini-product-grid .product-info h3{
  min-height:43px;
  margin:8px 0 5px;
  font-size:21px;
}
.mini-product-grid .product-bottom{
  margin-top:10px;
}
.mini-product-grid .add-btn{
  width:36px;
  height:36px;
  font-size:18px;
}
.mini-product-grid .price-sale{
  color:#9b4059;
}
.collection-empty-note{
  grid-column:1/-1;
  padding:36px;
  border:1px dashed rgba(90,53,64,.18);
  border-radius:20px;
  color:#827276;
  text-align:center;
  background:#fffafc;
}

/* Corrección visual del Paso 2: los paneles deben quedar por encima del header */
.overlay{
  z-index:1300!important;
}
.drawer{
  z-index:1400!important;
  box-shadow:-25px 0 80px rgba(28,17,21,.18);
}
.modal{
  z-index:1500!important;
}
.toast{
  z-index:1600!important;
}
.drawer-header{
  min-height:104px;
  align-items:center;
  padding:24px 27px;
  background:rgba(255,250,251,.96);
  backdrop-filter:blur(16px);
}
.drawer-header h2{
  color:#241a1d;
}
.drawer .close-btn{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f5e9ec;
  color:#38272c;
  line-height:1;
}
.drawer-body{
  background:linear-gradient(#fff,#fffafb);
}
.drawer .empty-state{
  min-height:calc(100vh - 105px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:50px 30px;
}
.drawer .empty-state span{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f8ecef;
  color:#a95d72;
}
.drawer .empty-state h3{
  margin:22px 0 8px;
  color:#2b2023;
  font:600 29px "Cormorant Garamond",serif;
}
.drawer .empty-state p{
  margin:0;
  color:#8a797e;
}
body.layer-open{
  overflow:hidden;
}
@media(max-width:1000px){
  .mini-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  .home-collections{
    padding-left:15px;
    padding-right:15px;
  }
  .collection-block{
    padding:20px 14px 17px;
    border-radius:23px;
  }
  .collection-title{
    align-items:flex-end;
    gap:12px;
  }
  .collection-title > div{
    gap:11px;
  }
  .collection-title > div > span{
    width:38px;
    height:38px;
  }
  .collection-title h3{
    font-size:27px;
  }
  .collection-title small{
    font-size:7px;
  }
  .collection-title button{
    padding:10px 12px;
    font-size:8px;
  }
  .mini-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .mini-product-grid .product-info{
    padding:12px;
  }
  .mini-product-grid .product-info h3{
    font-size:18px;
    min-height:38px;
  }
  .drawer{
    width:100vw;
  }
}
