/**
 * VR Hair - Product Card Styles
 * Design refinado e sofisticado
 */

:root {
    --card-bg: #ffffff;
    --card-border: #e8e8e8;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --card-radius: 12px;
    --vr-primary: #637952;
    --vr-primary-dark: #4a5c3d;
}

/* ========================================
   PRODUCT CARD
======================================== */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-6px);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

/* ========================================
   IMAGE WRAPPER
======================================== */
.card-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-main-img {
    transform: scale(1.08);
}

/* ========================================
   SEALS/BADGES
======================================== */
.seals-list {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

.seal {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.seal.featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.seal.promocao {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.seal.profissional {
    background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
}

/* ========================================
   CONTENT
======================================== */
.product-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-product-name {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

/* ========================================
   PRICES
======================================== */
.product-prices {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card-price-old {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.product-card-price-new {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vr-primary);
    letter-spacing: -0.02em;
}

/* ========================================
   BUY BUTTON
======================================== */
.buy-action {
    padding: 0 16px 16px;
}

.card-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--vr-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.card-buy-btn:hover {
    background: var(--vr-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 121, 82, 0.3);
}

.card-buy-btn i {
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .card-product-name {
        font-size: 0.9rem;
        min-height: auto;
        -webkit-line-clamp: 2;
    }

    .product-card-price-new {
        font-size: 1.1rem;
    }

    .card-buy-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-card-content {
        padding: 12px;
    }

    .buy-action {
        padding: 0 12px 12px;
    }
}
