﻿.product-detail-page {
    background: #ECF4EAFF;
}

.product-detail-card {
    margin-top: 2rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: 24px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.product-media {
    flex: 1;
    min-width: 260px;
}

.product-image-frame {
    width: 100%;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.product-image {
    max-width: 100%;
    max-height: 460px;
    object-fit: contain;
    border-radius: 12px;
}

.product-info {
    flex: 1.25;
    min-width: 260px;
}

.product-group {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.6);
    margin-bottom: 6px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.68);
    margin-bottom: 18px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
}

.product-actions {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-detail-card .action-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
}

.product-detail-card .minus-btn,
.product-detail-card .add-btn,
.product-detail-card .product-count {
    border-width: 0;
    color: #0a2300;
    background-color: transparent;
    font-size: 1.35rem;
    text-align: center;
    padding: 0 6px;
}

.product-detail-card .minus-btn,
.product-detail-card .product-count {
    display: none;
}

.product-detail-card .product-count {
    font-weight: 700;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
}

.protein-section {
    margin-bottom: 20px;
}

.protein-title-row {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.55);
    margin-bottom: 6px;
}

.protein-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.protein-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.85);
}

.protein-chip--empty {
    background: rgba(15, 23, 42, 0.04);
}

.protein-chip i {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.6);
}

.protein-chip-value {
    font-weight: 600;
}

.protein-chip-unit {
    opacity: 0.7;
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.55);
    font-weight: 600;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.meta-item {
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-item-wide {
    grid-column: 1 / -1;
}

.meta-value {
    font-size: 0.98rem;
    color: rgba(15, 23, 42, 0.85);
    word-break: break-word;
}

.product-empty {
    margin-top: 3rem;
    text-align: center;
}

.copy-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 120px;
    text-align: left;
    opacity: 0;
    transition: opacity 160ms ease;
}

.copy-status.is-visible {
    opacity: 1;
}

@media (max-width: 992px) {
    .product-detail-card {
        flex-direction: column;
    }

    .product-image {
        max-height: 360px;
    }
}

@media (max-width: 576px) {
    .product-detail-card {
        padding: 18px;
    }

    .product-title {
        font-size: 1.6rem;
    }
}
