/* ===== PRODUCT PAGE ===== */
.product-page {
    flex: 1;
    padding: 24px 0 48px;
    background: #f9f7f6;
}

/* Breadcrumb */
.breadcrumb {
    padding: 8px 0 16px;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #4a2c2a;
    font-weight: 600;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #8B6914;
    opacity: 1;
}

/* Product Detail Layout */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e8e2de;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px;
    }
}

/* Product Image */
.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
}

/* Product Info */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-badge-detail {
    display: inline-block;
    background: #4CAF50;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    width: fit-content;
}

.product-detail-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2a2522;
    line-height: 1.3;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .product-detail-name {
        font-size: 22px;
    }
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
}

.sku {
    color: #888;
}

.stock-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.cacaus-detail {
    font-size: 14px;
    color: #8B6914;
    font-weight: 700;
}

.promo-tag-detail {
    display: inline-block;
    font-size: 13px;
    color: #4a2c2a;
    font-weight: 600;
    background: #f5ede6;
    padding: 4px 12px;
    border-radius: 6px;
    width: fit-content;
}

/* Price */
.price-detail {
    margin: 8px 0;
}

.price-row-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.old-price-detail {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.new-price-detail {
    font-size: 36px;
    font-weight: 800;
    color: #2a2522;
    line-height: 1.2;
}

.new-price-detail span {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}

/* Quantity */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 8px 0;
    width: fit-content;
    border: 2px solid #e8e2de;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #4a2c2a;
    background: #f9f7f6;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e8e2de;
}

.qty-input {
    width: 48px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #2a2522;
    border: none;
    border-left: 2px solid #e8e2de;
    border-right: 2px solid #e8e2de;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.installment-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

/* Add to Cart Button */
.btn-add-cart-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    padding: 16px 32px;
    background: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}

.btn-add-cart-detail:hover {
    background: #43a047;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #e8e2de;
    border-bottom: 1px solid #e8e2de;
    margin: 8px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

@media (max-width: 480px) {
    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* Product Description */
.product-description {
    margin-top: 8px;
}

.product-description h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2a2522;
    margin-bottom: 8px;
}

.product-description p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Related Products Section */
.related-section {
    padding-top: 32px;
    border-top: 1px solid #e8e2de;
}

.related-section .products-track {
    padding-bottom: 16px;
}
