﻿.detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    color: #1f3b25;
}

.detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.detail-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.detail-title {
    font-size: 44px;
    font-weight: 400;
}

.detail-price {
    font-size: 28px;
    margin: 12px 0 25px;
}

.detail-desc {
    color: #555;
    line-height: 1.8;
    margin: 30px 0;
}

.qty-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.qty-box {
    border: 1px solid #244026;
    border-radius: 30px;
    padding: 10px 24px;
}

.btn-add-detail {
    background: #314d2e;
    color: white;
    padding: 14px 80px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 70px;
}

.info-card {
    background: #f5eee9;
    border-radius: 12px;
    padding: 32px;
}

.review-section {
    margin-top: 80px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    border: 1px solid #eadfd8;
    border-radius: 12px;
    padding: 28px;
    background: #fffaf7;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 40px;
}

.related-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.related-card h4 {
    margin-top: 16px;
    font-size: 16px;
}

@media(max-width: 768px) {
    .detail-main,
    .info-grid,
    .review-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}
.volume-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.volume-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.buy-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 18px;
    border: none;
    font-weight: 800;
    margin-top: 18px;
}

.cart-btn {
    width: 100%;
    background: transparent;
    color: #000;
    padding: 18px;
    border: 1px solid #000;
    font-weight: 800;
    margin-top: 16px;
    border-radius: 40px;
}