.product-detail-page {
    color: #2d1f19;
}

.product-detail-container {
    max-width: 1220px;
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
}

.product-detail-image-card,
.product-detail-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f2 100%);
    border: 1px solid rgba(93, 60, 34, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(55, 33, 18, 0.08);
}

.product-detail-image-card {
    padding: 1rem;
    height: 100%;
}

.product-detail-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    min-height: 420px;
    background: #efe6da;
}

.product-detail-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.product-detail-image-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0.25rem 0.25rem;
}

.product-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #35211d;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.product-detail-chip-soft {
    background: #e9d8c4;
    color: #5f3d26;
}

.product-detail-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
    height: 100%;
}

.product-detail-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #9b6b43;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-detail-heading h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.9rem, 2vw + 1rem, 3rem);
    line-height: 1.1;
}

.product-detail-heading p {
    margin: 0;
    color: #6f6158;
    font-size: 1rem;
    line-height: 1.8;
}

.product-detail-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: #f5ede3;
    border-radius: 18px;
}

.product-detail-label {
    color: #7f6a5b;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.product-detail-price {
    color: #c84d32;
    font-size: clamp(1.8rem, 1.2rem + 1.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #2d7d4d;
    font-weight: 600;
    white-space: nowrap;
}

.product-detail-purchase {
    padding: 1.25rem;
    border: 1px solid rgba(93, 60, 34, 0.08);
    border-radius: 20px;
    background: #fffdfa;
}

.product-detail-purchase-head h5 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.product-detail-purchase-head p {
    margin-bottom: 1rem;
    color: #7b6f66;
}

.product-detail-quantity {
    max-width: 220px;
    margin-bottom: 1.2rem;
}

.product-detail-quantity .btn {
    min-width: 52px;
    border-radius: 14px !important;
}

.product-detail-quantity .quantity-input {
    max-width: none;
    min-width: 72px;
    font-size: 1.1rem;
    font-weight: 600;
    border-left: 0;
    border-right: 0;
}

.product-detail-actions {
    display: grid;
    gap: 0.9rem;
}

.product-detail-action {
    min-height: 56px;
    border-radius: 14px;
    font-size: 1rem;
}

.product-detail-backlink {
    display: inline-flex;
    align-items: center;
    color: #5f3d26;
    font-weight: 600;
    text-decoration: none;
}

.product-detail-backlink:hover {
    color: #c84d32;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .product-detail-shell {
        grid-template-columns: 1fr;
    }

    .product-detail-image-wrap,
    .product-detail-image-wrap img {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .product-detail-card,
    .product-detail-image-card {
        border-radius: 20px;
    }

    .product-detail-card {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .product-detail-image-wrap,
    .product-detail-image-wrap img {
        min-height: 280px;
    }

    .product-detail-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-detail-stock {
        width: 100%;
        justify-content: center;
    }

    .product-detail-quantity {
        max-width: 100%;
    }

    .product-detail-quantity .btn {
        min-width: 48px;
    }
}
