/* Modern Metal | views/home | extracted CSS; original order preserved */

/* block 74 */

.os-home-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(0,260px) minmax(0,1.55fr);
    gap:18px;
    align-items:stretch;
}
.os-hero-catalog{
    min-width:0;
}
.os-hero-catalog-card{
    position:relative;
    display:block;
    min-height:100%;
    height:100%;
    border-radius:28px;
    overflow:hidden;
    text-decoration:none;
    background:linear-gradient(180deg,#111827 0%,#1f2937 100%);
    box-shadow:0 16px 40px rgba(15,23,42,.14);
}
.os-hero-catalog-card img{
    width:100%;
    height:100%;
    min-height:325px;
    object-fit:cover;
    display:block;
    transition:transform .35s ease, opacity .35s ease;
}
.os-hero-catalog-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(15,23,42,.06) 0%,rgba(15,23,42,.72) 100%);
}
.os-hero-catalog-card:hover img{
    transform:scale(1.04);
    opacity:.96;
}
.os-hero-catalog-badge{
    position:absolute;
    top:14px;
    left:14px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 12px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:#111827;
    font-size:12px;
    font-weight:800;
    letter-spacing:.03em;
    text-transform:uppercase;
}
.os-hero-catalog-content{
    position:absolute;
    left:16px;
    right:16px;
    bottom:16px;
    z-index:2;
    color:#fff;
}
.os-hero-catalog-title{
    margin:0 0 8px;
    font-size:22px;
    line-height:1.15;
    font-weight:900;
}
.os-hero-catalog-desc{
    margin:0 0 12px;
    font-size:13px;
    line-height:1.6;
    color:rgba(255,255,255,.9);
}
.os-hero-catalog-link{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:0 14px;
    border-radius:12px;
    background:#fff;
    color:#111827;
    font-size:13px;
    font-weight:800;
}
@media (max-width: 1199px){
    .os-home-hero-grid{
        grid-template-columns:minmax(0,1.8fr) minmax(0,220px) minmax(0,1.35fr);
    }
}
@media (max-width: 991px){
    .os-home-hero-grid{
        grid-template-columns:1fr;
    }
    .os-hero-catalog-card img{
        min-height:260px;
    }
}

.os-product-card2--home{
    position:relative;
    height:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.os-product-card2--home:hover{
    transform:translateY(-3px);
    border-color:#d1d5db;
    box-shadow:0 18px 36px rgba(15,23,42,.10);
}
.os-product-card2--home .os-product-card2__image-link{
    display:block;
    text-decoration:none;
}
.os-product-card2--home .os-product-card2__image{
    aspect-ratio:1/1;
    overflow:hidden;
    background:#fff;
}
.os-product-card2--home .os-product-card2__img-full{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .28s ease;
}
.os-product-card2--home:hover .os-product-card2__img-full{
    transform:scale(1.035);
}
.os-product-card2--home .os-product-card2__body{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:14px;
}
.os-product-card2--home .os-product-card2__title{
    min-height:42px;
    margin:0;
    font-size:15px;
    line-height:1.4;
    font-weight:850;
    color:#111827;
}
.os-product-card2--home .os-product-card2__sku{
    margin-top:7px;
    font-size:11px;
    color:#6b7280;
}
.os-product-card2--home .os-product-card2__price-wrap{
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:7px;
    margin-top:12px;
}
.os-product-card2--home .os-product-card2__new{
    font-size:20px;
    line-height:1;
    font-weight:900;
    color:#d90429;
}
.os-card-variant-badge{
    position:absolute;
    top:12px;
    right:12px;
    z-index:3;
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 9px;
    border-radius:999px;
    border:1px solid #e2e8f0;
    background:rgba(255,255,255,.94);
    color:#334155;
    font-size:10px;
    font-weight:900;
    letter-spacing:.03em;
}
.os-card-stock-row{
    margin-top:10px;
}
.os-card-stock{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 8px;
    border-radius:999px;
    background:#f1f5f9;
    color:#64748b;
    font-size:10px;
    font-weight:800;
}
.os-card-stock.is-in-stock{
    background:#ecfdf5;
    color:#047857;
}
.os-add-btn--detail{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:auto;
    min-height:42px;
    padding:0 14px;
    border-radius:11px;
    background:#111827;
    color:#fff;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
    transition:.2s ease;
}
.os-add-btn--detail:hover{
    background:#d90429;
    color:#fff;
}


/* HOME V4 — eşit yükseklikte ürün kartları ve hizalı bölüm başlıkları */
.os-home-head--products{
    width:100%;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
}
.os-home-head--products > div:first-child{
    min-width:0;
}
.os-home-head-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    flex:0 0 auto;
}
.os-home-head-actions .os-link-more{
    margin:0;
    white-space:nowrap;
}
.os-slider-nav--inline{
    position:static !important;
    inset:auto !important;
    display:flex !important;
    align-items:center;
    gap:8px;
    transform:none !important;
}
.os-slider-nav--inline .os-slider-nav-btn{
    position:static !important;
    inset:auto !important;
    transform:none !important;
    flex:0 0 auto;
}

.os-product-swiper .swiper-wrapper{
    align-items:stretch;
}
.os-product-swiper .swiper-slide{
    height:auto;
    display:flex;
}
.os-product-card2--home{
    width:100%;
    height:100%;
    min-height:500px;
    display:flex;
    flex-direction:column;
}
.os-product-card2--home .os-product-card2__image-link{
    flex:0 0 auto;
}
.os-product-card2--home .os-product-card2__image{
    width:100%;
    aspect-ratio:1 / 1;
}
.os-product-card2--home .os-product-card2__body{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    flex-direction:column;
    padding:14px 16px 16px;
}
.os-product-card2--home .os-product-card2__title-link{
    display:block;
    text-decoration:none;
}
.os-product-card2--home .os-product-card2__title{
    height:42px;
    min-height:42px;
    max-height:42px;
    margin:0;
    line-height:21px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}
.os-product-card2--home .os-product-card2__sku{
    min-height:16px;
    margin-top:4px;
    line-height:16px;
}
.os-product-card2--home .os-product-card2__price-wrap{
    min-height:30px;
    margin-top:12px;
}
.os-product-card2--home .os-product-card2__new{
    line-height:30px;
}
.os-product-card2--home .os-add-btn--detail{
    width:100%;
    max-width:100%;
    min-height:44px;
    margin-top:auto;
    padding:0 12px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    overflow:hidden;
    white-space:nowrap;
}
.os-product-card2--home .os-add-btn--detail span{
    flex:0 0 auto;
    line-height:1;
}

@media(max-width:767px){
    .os-home-head--products{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
    }
    .os-home-head-actions{
        width:100%;
        margin-left:0;
        justify-content:space-between;
    }
    .os-product-card2--home{
        min-height:470px;
    }
}


/* HOME V4 COMPACT CARD FIX */
.os-product-card2--home{min-height:0 !important;}
.os-product-card2--home .os-product-card2__body{padding:12px 14px 14px !important;}
.os-product-card2--home .os-product-card2__title{
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    line-height:19px !important;
    margin:0 !important;
}
.os-product-card2--home .os-product-card2__sku{
    min-height:0 !important;
    margin-top:2px !important;
    margin-bottom:0 !important;
    line-height:14px !important;
}
.os-product-card2--home .os-product-card2__price-wrap{
    min-height:30px !important;
    margin-top:8px !important;
    margin-bottom:10px !important;
}
.os-product-card2--home .os-add-btn--detail{
    margin-top:auto !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}
.os-card-stock-row,.os-card-stock{display:none !important;}

