/* ND Bedroom Cards R2 - completeaza stilul de living pentru imaginile din galerie.
   Se incarca dupa nd-living-room-facets.css (nu il inlocuieste). */

/* ---- grila: 3 coloane desktop, 2 pe tableta, 1 pe mobil (garantat, independent de living) ---- */
[data-nd-category-cards="featured"] .nd-lrf-card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}
@media (max-width:900px){
    [data-nd-category-cards="featured"] .nd-lrf-card-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
    [data-nd-category-cards="featured"] .nd-lrf-card-grid{grid-template-columns:1fr;}
}

/* ---- titlu premium: antracit ingrosat, cu accent auriu sub el ---- */
[data-nd-category-cards="featured"] .nd-card-head h3{
    color:#1a1a1a;
    font-weight:700;
    font-size:1.12rem;
    line-height:1.25;
    margin:0 0 .35rem;
    padding-bottom:.3rem;
    position:relative;
}
[data-nd-category-cards="featured"] .nd-card-head h3::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:38px;
    height:2px;
    background:#C6A15B;
}

/* ---- capul cardului: titlu pe rand propriu, butonul + miniatura dedesubt, fara spatiu mort ---- */
[data-nd-category-cards="featured"] .nd-card-head{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.45rem;
}
[data-nd-category-cards="featured"] .nd-card-head h3{flex:1 1 100%;}
[data-nd-category-cards="featured"] .nd-card-body > p{
    margin-top:.4rem;
    color:#222;
    line-height:1.45;
}

/* pe mobil: totul aliniat stanga, compact, fara golul dintre titlu si buton */
@media (max-width:600px){
    [data-nd-category-cards="featured"] .nd-card-head{
        justify-content:flex-start;
        row-gap:.5rem;
    }
    [data-nd-category-cards="featured"] .nd-card-head h3{font-size:1.18rem;}
    [data-nd-category-cards="featured"] .nd-contact-toggle{margin:0;}
}

/* ---- decupaj 4:5 pe imaginile din galerie, orice raport ar avea originalul ---- */
.nd-lrf-card--gal .nd-car-slide{
    position:relative;
    aspect-ratio:4/5;
    overflow:hidden;
}
.nd-lrf-card--gal .nd-car-slide img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
@supports not (aspect-ratio:4/5){
    .nd-lrf-card--gal .nd-car-slide{padding-top:125%;}
    .nd-lrf-card--gal .nd-car-slide img{position:absolute;inset:0;}
}


/* ---- casete de navigare pe stil (Modern / Classic / Premium) ---- */
[data-nd-category-cards="featured"] .nd-style-links{margin:0 0 26px;}
[data-nd-category-cards="featured"] .nd-style-links-title{
    display:block;
    font-size:.82rem;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#8a8a8a;
    margin:0 0 10px;
}
[data-nd-category-cards="featured"] .nd-style-links-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}
@media (max-width:900px){
    [data-nd-category-cards="featured"] .nd-style-links-row{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
    [data-nd-category-cards="featured"] .nd-style-links-row{grid-template-columns:1fr;}
}
[data-nd-category-cards="featured"] .nd-style-link{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:11px 40px;
    border:1.5px solid rgba(198,161,91,.65);
    border-radius:2px;
    color:#1a1a1a;
    text-decoration:none;
    font-weight:600;
    font-size:1.05rem;
    letter-spacing:.01em;
    text-align:center;
    background:#fff;
    transition:background .18s ease,border-color .18s ease,color .18s ease;
}
[data-nd-category-cards="featured"] .nd-style-link:hover,
[data-nd-category-cards="featured"] .nd-style-link:focus-visible{
    background:#C6A15B;
    border-color:#C6A15B;
    color:#fff;
}
[data-nd-category-cards="featured"] .nd-style-arrow{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    font-style:normal;
    font-size:1.7rem;
    font-weight:700;
    line-height:1;
    color:#C6A15B;
    transition:color .18s ease,right .18s ease;
}
[data-nd-category-cards="featured"] .nd-style-link:hover .nd-style-arrow,
[data-nd-category-cards="featured"] .nd-style-link:focus-visible .nd-style-arrow{
    color:#fff;
    right:12px;
}


/* ---- delimitare discreta: chenar pe card, titlu de grup ancorat, ritm intre grupuri ---- */

/* titlu de grup: punct de plecare clar, cu linie aurie sub el pe toata latimea */
[data-nd-category-cards="featured"] .nd-lrf-fgroup{margin:0 0 34px;}
[data-nd-category-cards="featured"] .nd-lrf-fgroup > h2{
    font-size:1.32rem;
    font-weight:600;
    color:#1a1a1a;
    margin:0 0 14px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(198,161,91,.45);
}

/* card: chenar fin, vizibil dar discret; se ridica usor la hover */
[data-nd-category-cards="featured"] .nd-lrf-card{
    border:1.5px solid #dcd6ca;
    border-radius:3px;
    overflow:hidden;
    background:#fff;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
[data-nd-category-cards="featured"] .nd-lrf-card:hover{
    border-color:rgba(198,161,91,.6);
    box-shadow:0 4px 14px rgba(17,17,17,.07);
    transform:translateY(-2px);
}
[data-nd-category-cards="featured"] .nd-card-body{padding:14px 16px 16px;}