﻿
/* V78.6 - Ana sayfa kategori vitrinleri ve slider üstü reklam */
.promo-slider-top{
    width:100%;
    min-height:0;
    height:120px;
    margin:0 0 20px;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e7ebf1;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.promo-slider-top:empty{display:none!important;height:0!important;margin:0!important;border:0!important}
.promo-slider-top a,.promo-slider-top img{width:100%;height:100%;display:block}
.promo-slider-top img{object-fit:contain;background:#fff}

.home-category-showcases{display:grid;gap:28px;margin:30px 0}
.category-showcase{
    background:#fff;
    border:1px solid #e6ebf2;
    border-radius:20px;
    padding:18px;
    box-shadow:0 12px 32px rgba(15,23,42,.07);
    overflow:hidden;
}
.category-showcase-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:15px;
    padding-bottom:12px;
    border-bottom:3px solid #111827;
}
.category-showcase-head h2{
    margin:0;
    font-size:26px;
    color:#111827;
    position:relative;
}
.category-showcase-head h2:after{
    content:"";
    position:absolute;
    left:0;
    bottom:-15px;
    width:72px;
    height:3px;
    background:#d71920;
}
.category-showcase-head a{
    color:#d71920;
    font-size:13px;
    font-weight:800;
}
.category-showcase-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);
    gap:16px;
    align-items:stretch;
}
.category-showcase-lead{
    position:relative;
    min-height:410px;
    border-radius:15px;
    overflow:hidden;
    background:#111827;
    color:#fff;
    display:block;
}
.category-showcase-lead img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}
.category-showcase-lead:hover img{transform:scale(1.035)}
.category-showcase-gradient{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(15,23,42,.04) 25%,rgba(15,23,42,.93) 100%);
}
.category-showcase-badge{
    position:absolute;
    left:18px;
    top:18px;
    padding:8px 12px;
    border-radius:5px;
    background:#d71920;
    color:#fff;
    text-transform:uppercase;
    font-size:12px;
    font-weight:900;
}
.category-showcase-lead-copy{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:28px;
    z-index:2;
}
.category-showcase-lead-copy h3{
    margin:0 0 10px;
    font-size:31px;
    line-height:1.17;
    color:#fff;
}
.category-showcase-lead-copy p{
    margin:0;
    color:#e5e7eb;
    font-size:15px;
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.category-showcase-side{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    align-content:start;
}
.category-showcase-item{
    display:grid;
    grid-template-columns:118px minmax(0,1fr);
    gap:12px;
    align-items:center;
    min-height:72px;
    padding:8px;
    border:1px solid #edf1f5;
    border-radius:11px;
    background:#f8fafc;
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.category-showcase-item:hover{
    transform:translateY(-2px);
    border-color:#cbd5e1;
    box-shadow:0 7px 18px rgba(15,23,42,.09);
}
.category-showcase-item img{
    width:118px;
    height:76px;
    object-fit:cover;
    border-radius:8px;
    background:#e5e7eb;
}
.category-showcase-item b{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    color:#172033;
    font-size:14px;
    line-height:1.35;
}
.category-showcase-item small{
    display:block;
    color:#8a94a6;
    font-size:11px;
    margin-top:6px;
}

@media(max-width:980px){
    .category-showcase-grid{grid-template-columns:1fr}
    .category-showcase-side{grid-template-columns:1fr 1fr}
    .category-showcase-lead{min-height:380px}
}
@media(max-width:680px){
    .promo-slider-top{height:90px;margin-bottom:14px}
    .category-showcase{padding:12px;border-radius:14px}
    .category-showcase-head{align-items:flex-start}
    .category-showcase-head h2{font-size:22px}
    .category-showcase-head a{font-size:11px;text-align:right}
    .category-showcase-lead{min-height:310px}
    .category-showcase-lead-copy{padding:20px}
    .category-showcase-lead-copy h3{font-size:24px}
    .category-showcase-lead-copy p{display:none}
    .category-showcase-side{grid-template-columns:1fr}
    .category-showcase-item{grid-template-columns:104px 1fr}
    .category-showcase-item img{width:104px;height:70px}
}
