.pp-product-card {
    background: #fff;
    border: 1px solid #f0d9b5;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
}

.pp-product-card:hover {
    box-shadow: 0 4px 16px rgba(232, 118, 10, 0.12);
}

.pp-product-card__image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-product-card__image:focus,
.pp-product-card__image:focus-visible {
    outline: none;
}

.pp-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.pp-product-card__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pp-product-card__brand {
    font-size: 12px;
    color: #92560e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-decoration: none;
}

.pp-product-card__brand:hover,
.pp-product-card__brand:focus {
    color: #e8760a;
    text-decoration: underline;
    outline: none;
}

.pp-product-card__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.pp-product-card__name:hover,
.pp-product-card__name:focus {
    color: #e8760a;
    text-decoration: underline;
    outline: none;
}

.pp-product-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.pp-product-card__food-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: #92560e;
    background: #fff3e8;
    padding: 2px 8px;
    border-radius: 4px;
}

.pp-product-card__portion {
    font-size: 13px;
    color: #7c3a0a;
}

/* Pricing block */
.pp-product-card__price {
    margin-bottom: 12px;
    flex: 1;
}

.pp-product-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.pp-product-card__price-daily {
    font-size: 22px;
    font-weight: 700;
    color: #e8760a;
}

.pp-product-card__price-monthly {
    font-size: 14px;
    color: #92560e;
    font-weight: 500;
}

.pp-product-card__price-basis {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

.pp-product-card__price-unavailable {
    font-size: 14px;
    color: #bbb;
    font-style: italic;
    padding: 8px 0;
}

/* Other sizes tooltip */
.pp-product-card__other-sizes {
    position: relative;
    margin-top: 6px;
}

.pp-product-card__other-sizes-link {
    font-size: 12px;
    color: #e8760a;
    text-decoration: none;
    cursor: pointer;
}

.pp-product-card__other-sizes-link:hover {
    text-decoration: underline;
    color: #c96308;
}

.pp-product-card__other-sizes-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 6px;
    background: #5a3e1b;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.6;
    min-width: 200px;
    max-width: 280px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pp-product-card__other-sizes-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    border: 6px solid transparent;
    border-top-color: #5a3e1b;
}

.pp-product-card__other-sizes-tooltip--visible {
    display: block;
}

.pp-product-card__other-sizes-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
    white-space: nowrap;
}

.pp-product-card__other-sizes-item--active {
    color: #ffe8d0;
    font-weight: 600;
}

/* Nutrition row */
.pp-product-card__nutrition {
    display: flex;
    gap: 0;
    border-top: 1px solid #f0d9b5;
    margin: 0 -16px;
    padding: 0 16px;
}

.pp-product-card__nutrition-item {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    position: relative;
}

.pp-product-card__nutrition-item + .pp-product-card__nutrition-item {
    border-left: 1px solid #f0d9b5;
}

.pp-product-card__nutrition-label {
    display: block;
    font-size: 11px;
    color: #92560e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.pp-product-card__nutrition-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #7c3a0a;
}

/* Buy button */
.pp-product-card__action {
    margin-top: auto;
    padding-top: 12px;
}

.pp-product-card__buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    background: #e8760a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.pp-product-card__buy-btn:hover,
.pp-product-card__buy-btn:focus {
    background: #c96308;
    color: #fff;
    text-decoration: none;
}

.pp-product-card__buy-btn:active {
    background: #b85707;
}

/* Fresh food variant */
.pp-product-card--fresh .pp-product-card__price-daily {
    font-size: 18px;
}

.pp-product-card__buy-btn--fresh {
    background: transparent;
    color: #e8760a;
    border: 1.5px solid #e8760a;
}

.pp-product-card__buy-btn--fresh:hover,
.pp-product-card__buy-btn--fresh:focus {
    background: #fff3e8;
    color: #c96308;
    border-color: #c96308;
}

/* Responsive */
@media (max-width: 640px) {
    .pp-product-card__nutrition {
        flex-direction: column;
        gap: 0;
    }

    .pp-product-card__nutrition-item + .pp-product-card__nutrition-item {
        border-left: none;
        border-top: 1px solid #f0d9b5;
    }

    .pp-product-card__nutrition-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 6px 4px;
    }

    .pp-product-card__nutrition-label {
        margin-bottom: 0;
    }

    .pp-product-card__nutrition-value {
        font-size: 16px;
    }

}
