.product-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.product-image-link {
    display: block;
    padding: 10px 10px 0 10px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.image-container-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    position: relative;
}

.image-container-inner img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 2;
}

.bg-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    background-color: var(--bg-color);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}

.product-info {
    padding: 37px 15px 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-winery {
    font-size: 0.7rem;
    color: #888;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    line-height: 1.2;
    flex-shrink: 0;
}

.product-title-link {
    text-decoration: none;
    display: block;
    margin-bottom: 8px !important;
    flex-shrink: 0;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.product-price-container {
    margin-bottom: 6px;
    flex-shrink: 0;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.2;
}

.main-price, .sale-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #212529;
}

.sale-price {
    color: #a73851;
}

.original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.product-base-price {
    font-size: 0.65rem;
    color: #000;
    margin-top: 3px;
    font-weight: 500;
    line-height: 1.2;
}

.product-availability {
    font-size: 0.65rem;
    margin: 5px 0 12px 0;
    line-height: 1.2;
    flex-shrink: 0;
}

.status-available { color: #28a745; font-weight: 700; }
.status-unavailable { color: #d9534f; font-weight: 700; }

.add-to-cart-form {
    margin-top: auto;
}

.add-to-cart-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quantity-selector-card {
    display: flex;
    align-items: center;
    background: #f4f5f7;
    border-radius: 4px;
    height: 35px;
}

.qty-btn-card {
    width: 30px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

.quantity-input-card {
    width: 30px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.add-to-cart-btn {
    flex-grow: 1;
    height: 35px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .image-container-inner { height: 160px; }
    .bg-circle { width: 110px; height: 110px; }
    .product-info { padding: 33px 12px 12px 12px; }
    .product-title { font-size: 0.9rem; }
    .main-price, .sale-price { font-size: 1.15rem; }
}