/* ===================== Pagina YNS Brend (brand-propriu) ===================== */

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

/* Link activ în meniu – linie aurie ca la colecții selectate */
.page-yns .primary-nav a.active{
  color:var(--gold);
  position:relative;
}

.page-yns .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 YNS ---------- */

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

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

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

/* Texte vizibile, puțin mai mari */
.hero-yns .lead{
  font-size:1.18rem;
  line-height:1.8;
  color:#f6f6f6;
  max-width:54ch;
  margin-bottom:14px;
}

/* bullets premium, la fel ca la colecții selectate */
.hero-yns .hero-bullets{
  list-style:none;
  margin-top:12px;
  padding:0;
  display:grid;
  gap:6px;
}

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

/* Bulină aurie */
.hero-yns .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 fină sub fiecare bullet */
.hero-yns .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 – spațiu bun între butoane și față de text */
.hero-yns .cta{
  display:flex;
  gap:12px;
  margin-top:22px;
  flex-wrap:wrap;
}

.hero-yns .cta .btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:11px 18px; /* mai mult spațiu în buton */
}

.hero-yns .cta .btn.ghost{
  padding-inline:16px;
}

/* ---------- Colaj imagini YNS ---------- */

.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-yns .lead{
    font-size:1.06rem;
    line-height:1.7;
  }

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

/* ---------- POP-OUT FILTER (același stil ca haine-de-brand) ---------- */

.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 20px;
}

.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 + search – 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 – cu spațiu suficient */
.btn.full{
  width:100%;
  text-align:center;
  justify-content:center;
  margin-top:10px;
  padding:10px 14px;
}

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

.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 YNS ===== */

.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;        /* ține toate cardurile uniforme */
}

/* scoatem hack-ul cu ::before (ca să nu mai provoace probleme) */
.product-media::before{
  content:none;
}

.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;         /* umple complet, fără margini negre */
  display:block;
  transition:transform .5s ease;
}

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

/* conținut card – texte & 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;                  /* spațiu clar față de descriere */
  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-yns .wrap{
    grid-template-columns:1.1fr .9fr;
    gap:24px;
  }

  /* la 1100px rămân tot 3 carduri, dar cu mai puțin gap (deja setat) */
}

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

  .hero-yns .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-yns{
    padding-top:32px;
  }

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

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

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