﻿.img-detail {
    max-width: 95%;
    max-height: 410px;
    border: 1.5px solid #eee;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 2px 16px #f0f0f0;
}

.prod-main-info {
    padding-left: 28px;
}

.prod-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 6px;
}

.prod-price {
    color: #e0245e;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.btn-cart {
    margin-bottom: 15px;
}

.spec-section {
    margin: 18px 0;
}

.spec-table {
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 1.5px 13px #eee;
}

    .spec-table td {
        padding: 8px 17px;
        border-color: #ececec;
    }

    .spec-table tr td:first-child {
        font-weight: bold;
        color: #2374ab;
        background: #f6f8fa;
    }

.card.prod-card {
    border-radius: 10px;
    box-shadow: 0 2.5px 13px #f3f3f3;
}

    .card.prod-card:hover {
        box-shadow: 0 2px 18px #c5ccd6;
        border-color: #d1d5db;
    }

.card-img-top {
    border-radius: 8px 8px 0 0;
    background: #fafafa;
    padding: 10px;
    height: 170px;
    object-fit: contain;
}

.card-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.text-danger {
    color: #e0245e;
}

.prod-rating {
    font-size: 20px;
    font-weight: 600;
}

    .prod-rating .fa-star {
        margin-right: 2px;
        color: #fbaf1b;
    }

.rv-count {
    font-size: 15px;
    color: #333;
    margin-left: 2px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.form-group label {
    font-weight: 600;
    font-size: 15px;
}

.form-control {
    width: 400px;
    color: white;
}

    .form-control:focus {
        border-color: #2374ab;
        box-shadow: 0 0 0 2px #2374ab30;
    }

.btn-success {
    font-weight: bold;
    padding: 6px 21px;
    border-radius: 6px;
}

@media (max-width:900px) {
    .container {
        padding: 0 10px;
    }

    .card {
        min-width: 180px;
    }
}

@media (max-width:600px) {
    h2 {
        font-size: 1.08rem;
    }

    .row > div {
        margin-bottom: 18px;
    }
}
.product-description-box {
    background: #fff;
    border-radius: 10px;
    margin: 24px auto 0 auto;
    box-shadow: 0 1.5px 13px #e9e9e9;
    padding: 18px 22px;
    text-align: left;
    max-width: 95%;
    font-size: 1rem;
}

    .product-description-box strong {
        font-size: 1.07rem;
        color: #124e8f;
    }

    .product-description-box p {
        margin-bottom: 0;
        color: #222;
    }
/*.product-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;*/ /* CĂN TRÁI */
    /*align-items: stretch !important;
    gap: 1.5rem;*/ /* giống g-4 của bootstrap nhưng đẹp hơn */
    /*margin-left: 0 !important;
    padding-left: 0 !important;
}*/

.product-card {
    border-radius: 14px;
    overflow: hidden;
    transition: .25s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,.12) !important;
    }

.card-img-top-wrapper {
    background: #fff;
    padding: 12px;
}

.card-img-top {
    width: 100%;
    height: 210px;
    object-fit: contain;
}

.product-card .card-title {
    font-size: 15px;
    line-height: 1.35;
    min-height: 40px;
    color: #0f172a;
    font-weight: 600;
}

.price-new {
    font-size: 16px;
}

.add-to-cart-btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 12px;
    width: 100%;
}