﻿.product-card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .product-card:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }

.product-image-wrapper {
    position: relative;
    background: #f0f0f0;
    border-radius: 12px 12px 0 0;
    padding: 20px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .heart-btn:hover {
        background: #f0f0f0;
        color: #e74c3c;
    }

    .heart-btn.active {
        color: #e74c3c;
    }


.edit-btn {
    position: absolute;
    text-decoration: none;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .edit-btn:hover {
        background: #f0f0f0;
        color: #e74c3c;
    }

    .edit-btn.active {
        color: #e74c3c;
    }

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.product-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.product-price-section {
    margin-top: auto;
    margin-bottom: 12px;
}

.price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 4px;
}

.price-unit {
    font-size: 13px;
    color: #999;
}

.price-alternative {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.add-to-cart-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #5cb85c;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

    .add-to-cart-btn:hover {
        background: #4cae4c;
        transform: scale(1.1);
    }

.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.price-info {
    flex-grow: 1;
}

.price-badge {
    display: inline-block;
    background: #5cb85c;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
}

.container-main {
    max-width: 1200px;
}

h1 {
    margin-bottom: 40px;
    color: #333;
    font-weight: 700;
}
