/* ========================================================
   FIRELAX - Featured Products Component Styles
   ======================================================== */

/* Anklickbare Produkt-Karten */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Base card layout */
.product-card-modern {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-container {
    background: #f9fafb;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 18px;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-modern {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-badge.featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-content {
    padding: 16px 16px 12px 16px;
    flex: 1;
}

.product-category {
    font-size: 11px;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 8px;
}

.product-content .product-title {
    font-size: 14px;
    font-weight: 900;
    color: #111827;
    line-height: 1.25;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.product-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 20px;
    font-weight: 900;
    color: #22c55e;
}

.price-original {
    font-size: 13px;
    color: #ef4444;
    text-decoration: line-through;
    font-weight: 700;
}

.discount-badge {
    background: #ef4444;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 12px;
}

.product-tax-hint {
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
}

.product-card-actions {
    padding: 0 16px 16px 16px;
}

.product-btn-cart {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    background: #feaf39;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-btn-cart:hover:not(.disabled):not(:disabled) {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(254, 175, 57, 0.35);
}

.product-btn-cart.disabled,
.product-btn-cart:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card-link:hover .product-card-modern {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-card-link:hover .product-img-modern {
    transform: scale(1.05);
}
