﻿/*==================================================
    SAYFA
==================================================*/

.product-detail-page {
    background: #f6f8fb;
    padding: 50px 0 80px;
}


/*==================================================
    BREADCRUMB
==================================================*/

.mst-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    font-size: 14px;
}

    .mst-breadcrumb a {
        color: #666;
        text-decoration: none;
    }

        .mst-breadcrumb a:hover {
            color: #f58220;
        }

    .mst-breadcrumb span {
        color: #222;
        font-weight: 600;
    }

    .mst-breadcrumb i {
        color: #bbb;
        font-size: 12px;
    }


/*==================================================
    GALERİ
==================================================*/

.product-gallery {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,.06);
}

.main-image {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .main-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: .35s;
    }

    .main-image:hover img {
        transform: scale(1.04);
    }


/*==================================================
    THUMBNAIL
==================================================*/

.thumbnail-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

    .thumbnail-list img {
        width: 85px;
        height: 85px;
        object-fit: contain;
        border: 2px solid #eee;
        border-radius: 14px;
        cursor: pointer;
        padding: 8px;
        transition: .25s;
        background: #fff;
    }

        .thumbnail-list img:hover,
        .thumbnail-list img.active {
            border-color: #f58220;
            transform: translateY(-3px);
        }


/*==================================================
    SAĞ PANEL
==================================================*/

.product-summary {
    background: #fff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0,0,0,.06);
}


/*==================================================
    MARKA
==================================================*/

.brand-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(245,130,32,.12);
    color: #f58220;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}


/*==================================================
    BAŞLIK
==================================================*/

.product-title {
    font-size: 20px;
    line-height: 1.3;
    color: #222;
    margin-bottom: 30px;
}


/*==================================================
    META
==================================================*/

.product-meta {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-bottom: 30px;
}

    .product-meta div {
        background: #fafafa;
        border-radius: 14px;
        padding: 16px;
    }

    .product-meta strong {
        display: block;
        font-size: 13px;
        color: #999;
        margin-bottom: 6px;
    }

    .product-meta span {
        color: #222;
        font-weight: 600;
    }


/*==================================================
    STOK
==================================================*/

.stock-area {
    margin-bottom: 30px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
}

.in-stock {
    background: rgba(40,167,69,.10);
    color: #28a745;
}


/*==================================================
    FİYAT
==================================================*/

.price-box {
    background: #fff8f2;
    border: 1px dashed #f58220;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 30px;
}

    .price-box small {
        color: #888;
        display: block;
    }

.price {
    font-size: 42px;
    color: #f58220;
    font-weight: 700;
    margin-top: 6px;
}


/*==================================================
    BUTONLAR
==================================================*/

.product-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

    .product-buttons button {
        flex: 1;
    }

.mst-btn-primary,
.mst-btn-outline {
    height: 52px;
    border-radius: 14px;
}


/*==================================================
    AVANTAJLAR
==================================================*/

.product-features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

    .product-features div {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #fafafa;
        border-radius: 14px;
        padding: 14px;
    }

    .product-features i {
        color: #f58220;
        font-size: 20px;
    }


/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:991px) {

    .product-title {
        font-size: 16px;
    }

    .main-image {
        height: 400px;
    }
}

@media(max-width:768px) {

    .product-gallery,
    .product-summary {
        padding: 20px;
    }

    .main-image {
        height: 300px;
    }

    .product-meta {
        grid-template-columns: 1fr;
    }

    .product-buttons {
        flex-direction: column;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .price {
        font-size: 34px;
    }
}


/*=========================================
    TABS
=========================================*/

.product-detail-tabs {
    margin-top: 70px;
}

    .product-detail-tabs .nav-tabs {
        border: none;
        gap: 15px;
        margin-bottom: 25px;
    }

    .product-detail-tabs .nav-link {
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        background: #fff;
        color: #666;
        font-weight: 600;
        box-shadow: 0 5px 18px rgba(0,0,0,.05);
    }

        .product-detail-tabs .nav-link.active {
            background: #f58220;
            color: #fff;
        }

.product-content-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
}

    .product-content-card h3 {
        margin-bottom: 25px;
        font-size: 26px;
    }

    .product-content-card p {
        line-height: 1.9;
        color: #666;
    }

    .product-content-card ul {
        margin-top: 25px;
    }

    .product-content-card li {
        margin-bottom: 12px;
    }

.product-spec-table th {
    width: 260px;
    background: #fafafa;
}

.product-spec-table td,
.product-spec-table th {
    padding: 18px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #444;
    margin-bottom: 15px;
    background: #fafafa;
    transition: .25s;
}

    .document-item:hover {
        background: #fff3e8;
    }

    .document-item i {
        font-size: 28px;
        color: #e53935;
    }
