/* PRODUCT CARDS - Theme Redesign */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 2px solid transparent;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(26, 26, 46, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px;
    position: relative;
    z-index: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-badge.featured {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 185, 0, 0.4);
}

.product-badge.limited {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.product-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #e74c3c;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.1) 100%);
    padding: 0.35rem 0.8rem;
    border-radius: 15px;
    width: fit-content;
    letter-spacing: 0.5px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.product-name {
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 0.6rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65rem;
    letter-spacing: -0.1px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(231, 76, 60, 0.1);
    margin-top: auto;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-price {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.55rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.stock-status.in-stock {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1.5px solid #28a745;
}

.stock-status.out-of-stock {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1.5px solid #dc3545;
}

.stock-status.low-stock {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 1.5px solid #ffc107;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.65rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    letter-spacing: 0.2px;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-card {
        border-radius: 14px;
    }

    .product-image {
        height: 220px;
    }

    .product-content {
        padding: 1rem;
    }

    .product-name {
        font-size: 0.9rem;
        min-height: 2.5rem;
    }

    .product-price {
        font-size: 1.15rem;
    }

    .product-category {
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem;
    }

    .stock-status {
        font-size: 0.5rem;
        padding: 0.25rem 0.55rem;
    }

    .whatsapp-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 22px;
    }

    .product-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.85rem;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 200px;
    }

    .product-content {
        padding: 0.9rem;
    }

    .product-name {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        min-height: 2.4rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .product-footer {
        gap: 0.75rem;
        padding-top: 0.85rem;
    }

    .product-price-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .stock-status {
        font-size: 0.48rem;
        padding: 0.22rem 0.5rem;
    }

    .whatsapp-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.75rem;
        border-radius: 20px;
    }

    .product-badge {
        font-size: 0.6rem;
        padding: 0.35rem 0.75rem;
        top: 10px;
        right: 10px;
    }
}