/* ===================== Pagina Colecții selectate (haine-de-brand) ===================== */

body.page-brand main{
  padding-bottom:32px;
}

/* Link activ în meniu */
.page-brand .primary-nav a.active{
  color:var(--gold);
  position:relative;
}

.page-brand .primary-nav a.active::after{
  content:"";
  position:absolute;
  left:4px;
  right:4px;
  bottom:4px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold-2),rgba(217,183,107,0));
}

/* ---------- HERO colecții ---------- */

.hero-collections{
  padding:52px 0 38px;
}

.hero-collections .wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:center;
}

.hero-collections .hero-copy .title{
  margin-bottom:14px;
}

/* texte mai vizibile */
.hero-collections .lead{
  font-size:1.18rem;
  line-height:1.8;
  color:#f6f6f6;
  max-width:54ch;
  margin-bottom:14px;
}

/* bullets premium */
.hero-collections .hero-bullets{
  list-style:none;
  margin-top:12px;
  padding:0;
  display:grid;
  gap:6px;
}

.hero-collections .hero-bullets li{
  position:relative;
  padding-left:26px;
  font-size:1.05rem;
  color:#f3f3f3;
}

/* Bulină aurie */
.hero-collections .hero-bullets li::before{
  content:"";
  position:absolute;
  left:6px;
  top:0.55em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow:0 0 0 1px rgba(0,0,0,.7),
             0 0 10px rgba(241,212,138,.45);
}

/* linie mică sub text */
.hero-collections .hero-bullets li::after{
  content:"";
  position:absolute;
  left:26px;
  right:0;
  bottom:-2px;
  height:1px;
  background:linear-gradient(90deg, rgba(241,212,138,.35), transparent);
  opacity:.75;
}

/* CTA în hero */
.hero-collections .cta{
  display:flex;
  gap:10px;
  margin-top:20px;
  flex-wrap:wrap;
}

.hero-collections .cta .btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* Colaj imagini în dreapta */

.hero-collage{
  position:relative;
  display:grid;
  grid-template-columns:2.1fr 1.3fr;
  gap:10px;
  background:linear-gradient(145deg,#141518,#090a0b);
  border-radius:22px;
  border:1px solid rgba(217,183,107,.24);
  box-shadow:var(--shadow);
  padding:10px;
}

.hero-collage-main,
.hero-collage-side img{
  border-radius:16px;
  overflow:hidden;
}

.hero-collage-main{
  position:relative;
}

.hero-collage-main img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-collage-side{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:10px;
}

.hero-collage-side img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* accent subtil pe margini */
.hero-collage::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(500px 260px at 0 0, rgba(241,212,138,.16), transparent),
    radial-gradient(500px 260px at 100% 100%, rgba(241,212,138,.12), transparent);
  opacity:.85;
}

/* Adaptare pe mobil (lead + bullets) */
@media (max-width: 640px){
  .hero-collections .lead{
    font-size:1.06rem;
    line-height:1.7;
  }

  .hero-collections .hero-bullets li{
    font-size:.98rem;
  }
}

/* ---------- POP-OUT FILTER ---------- */

.filters-popout{
  position:fixed;
  top:0;
  right:-320px;
  width:300px;
  height:100vh;
  background:#0d0e10;
  border-left:1px solid rgba(217,183,107,.3);
  box-shadow:-12px 0 40px rgba(0,0,0,.85);
  z-index:1200;
  transition:right .28s ease;
}

.filters-popout-inner{
  height:100%;
  display:flex;
  flex-direction:column;
  padding:16px 16px 18px;
}

.filters-popout.is-open{
  right:0;
}

.filters-popout-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:10px;
  border-bottom:1px solid rgba(217,183,107,.3);
}

.filters-popout-header h2{
  margin:0;
  font-size:1.04rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-2);
}

.filters-close{
  border:none;
  background:transparent;
  color:var(--gold);
  font-size:1.2rem;
  cursor:pointer;
}

.filters-popout-body{
  flex:1;
  overflow:auto;
  padding-top:10px;
}

.filters-popout-body .filter-group{
  margin-bottom:16px;
}

/* backdrop pt panel */
.filters-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:1100;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

.filters-backdrop.is-visible{
  opacity:1;
  pointer-events:auto;
}

/* ---------- Grup filtre ---------- */

.filter-group{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.filter-group label{
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:#b7b7b7;
  font-weight:700;
}

.filter-group select,
.filter-group input[type="range"],
.filter-group input[type="search"]{
  font:inherit;
}

/* Select + range – dark & gold */

.filter-group select,
.filter-group input[type="search"]{
  background:#0f1012;
  border-radius:12px;
  padding:9px 10px;
  color:var(--text);
  border:1px solid rgba(255,255,255,.08);
  min-width:190px;
  box-shadow:0 10px 25px rgba(0,0,0,.45);
}

.filter-group select:focus,
.filter-group input[type="search"]:focus{
  outline:none;
  border-color:rgba(217,183,107,.85);
  box-shadow:var(--ring);
}

.filter-price-control{
  display:flex;
  align-items:center;
  gap:10px;
}

.filter-price input[type="range"]{
  flex:1;
}

.filter-price .price-label{
  font-size:.86rem;
  color:#e7e7e7;
}

/* buton full width în panel */
.btn.full{
  width:100%;
  text-align:center;
  justify-content:center;
  margin-top:6px;
}

/* ---------- Listă produse ---------- */

.products-section{
  padding-top:28px;
}

.products-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  font-size:.98rem;
  color:#d9d9d9;
}

.products-toolbar strong{
  color:var(--gold-2);
}

.products-note{
  color:#b9b9b9;
  font-size:.9rem;
  max-width:42ch;
  text-align:right;
}

/* CARDURI MAI MARI – 3 pe rând pe desktop */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
  margin-top:6px;
}

/* ===== Card produs ===== */

.product-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#111214;
  border:1px solid rgba(217,183,107,.18);
  box-shadow:var(--shadow);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
  display:flex;
  flex-direction:column;
}

.product-card a{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}

.product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(241,212,138,.6);
}

/* imagine – FĂRĂ dungi negre: umple cardul, aspect-ratio fix + cover */

.product-media{
  position:relative;
  background:#0b0c10;
  border-bottom:1px solid rgba(217,183,107,.2);
  overflow:hidden;
  aspect-ratio:3/4;
}

/* dezactivăm hack-ul vechi cu ::before */
.product-media::before{
  content:none;
}

.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}

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

/* conținut card – texte mai mari și spacing */

.product-body{
  padding:14px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:4px;
  flex:1 1 auto;
}

.product-title{
  margin:0;
  font-size:1.06rem;
  font-weight:750;
}

.product-meta{
  margin:0;
  font-size:.86rem;
  color:#b0b0b0;
}

.product-price-row{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.product-price{
  font-weight:800;
  color:#f5f5f5;
  font-size:1rem;
}

.product-sizes{
  font-size:.86rem;
  color:#e3e3e3;
  background:rgba(8,8,8,.8);
  border-radius:999px;
  padding:3px 9px;
  border:1px solid rgba(217,183,107,.35);
}

.product-info{
  margin-top:10px;
  margin-bottom:0;
  font-size:.9rem;
  color:#dedede;
}

/* ===== Buton „Detalii produs” – cu spațiu generos ===== */

.product-cta{
  margin-top:14px;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border-radius:999px;
  border:1px solid rgba(217,183,107,.55);
  font-size:.88rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--gold-2);
  background:rgba(0,0,0,.7);
  box-shadow:0 10px 24px rgba(0,0,0,.6);
}

.product-cta::after{
  content:"›";
  margin-left:6px;
  font-size:.95em;
  transform:translateY(-0.5px);
}

.product-card:hover .product-cta{
  border-color:rgba(241,212,138,.95);
  background:
    radial-gradient(circle at 0 0, rgba(241,212,138,.16), rgba(0,0,0,.95));
  color:#ffffff;
}

/* ===== Responsive ===== */

@media (max-width: 1100px){
  .hero-collections .wrap{
    grid-template-columns:1.1fr .9fr;
    gap:24px;
  }
  /* tot 3 carduri, dar mai înguste */
}

@media (max-width: 900px){
  .hero-collections{
    padding-top:40px;
  }

  .hero-collections .wrap{
    grid-template-columns:1fr;
  }

  .hero-collage{
    max-width:460px;
    margin-inline:auto;
  }

  .products-toolbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .products-note{
    text-align:left;
    max-width:100%;
  }

  .product-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 768px){
  .hero-collections{
    padding-top:32px;
  }

  .filters-popout{
    width:260px;
  }
}

@media (max-width: 640px){
  .product-grid{
    grid-template-columns:1fr;
  }

  .hero-collage{
    grid-template-columns:1fr;
  }
}

/* ====== (opțional) clase pentru filtre inline / paneluri YNS (dacă le vei folosi) ====== */

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:4px 0 20px;
}

.filter-btn{
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(217,183,107,.35);
  background:rgba(0,0,0,.7);
  font-size:.86rem;
  color:#eaeaea;
  cursor:pointer;
}

.filter-btn.is-active{
  background:linear-gradient(135deg, rgba(217,183,107,.28), rgba(241,212,138,.1));
  color:#fff;
}

.card-label{
  margin:0 0 6px;
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#a8a8a8;
}

.card-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:6px;
  margin-top:8px;
  font-size:.82rem;
  color:#c5c5c5;
}

.card-tag{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.76rem;
  color:#bfbfbf;
}

.card-tag--accent{
  color:var(--gold-2);
}

.card-actions{
  margin-top:10px;
}

.card-actions .btn{
  width:100%;
  justify-content:center;
  font-size:.9rem;
  padding:9px 14px;
  display:inline-flex;
}

.panel-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:6px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(217,183,107,.35);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#f3f3f3;
  background:linear-gradient(135deg, rgba(217,183,107,.18), rgba(0,0,0,.8));
}

.panel.panel-compact{
  background:
    linear-gradient(145deg, rgba(241,212,138,.08), rgba(21,24,30,.92));
  border:1px solid rgba(241,212,138,.42);
  box-shadow:0 18px 50px rgba(0,0,0,.7);
  position:relative;
  overflow:hidden;
}

.panel.panel-compact::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.70);
  z-index:1;
}

.panel.panel-compact .content{
  position:relative;
  z-index:2;
}

@media (max-width: 768px){
  .filters{
    gap:6px;
  }
  .filter-btn{
    font-size:.8rem;
    padding:6px 12px;
  }
}

@media (max-width: 480px){
  .filters{
    margin-bottom:16px;
  }
}
/* ====== Carduri produse – imagine full width, fără margini ====== */

/* scoatem orice padding interior din card */
.product-card{
  padding:0;
}

/* link-ul ocupă tot cardul, imaginea stă sus, textul jos */
.product-card a{
  display:flex;
  flex-direction:column;
  height:100%;
}

/* containerul pentru imagine: full width, fără margini */
.product-media{
  margin:0;
  width:100%;
  border-radius:0;                /* cardul are deja radius + overflow:hidden */
  border-bottom:1px solid rgba(217,183,107,.2);
  background:#0b0c10;
  overflow:hidden;
  aspect-ratio:3/4;               /* toate pozele la același raport */
}

/* imaginea umple complet containerul, fără benzi pe lateral */
.product-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* zona de text rămâne separată, cu padding-ul ei */
.product-body{
  padding:14px 16px 18px;
}
/* ===== Carduri – butoane aliniate jos, cu spațiu față de text ===== */

/* Cardul devine container flex pe verticală */
.product-card{
  display:flex;
  flex-direction:column;
}

/* Link-ul ocupă tot cardul */
.product-card > a{
  display:flex;
  flex-direction:column;
  height:100%;
}

/* Corpul cardului: flex pe verticală, ca să putem împinge butonul jos */
.product-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  padding:14px 16px 18px; /* păstrăm padding-ul general */
}

/* Butonul este flex-item-ul de jos, cu spațiu clar față de text */
.product-cta{
  margin-top:auto;   /* împinge întregul buton la baza cardului */
  margin-top:auto;
  /* spațiul față de textul de deasupra vine de la padding-ul lui însuși */
}

/* Dacă vrei să fie un pic mai „aerisit” față de text, poți adăuga: */
.product-info{
  margin-bottom:10px; /* mic spațiu sub descriere, înainte de buton */
}
