
.product-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 125, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
}

.product-card-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-favorite img {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.product-card-favorite.active img {
    filter: brightness(0) saturate(100%) invert(76%) sepia(30%) saturate(400%) hue-rotate(350deg) brightness(95%) contrast(90%);
}

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background-color: var(--gold);
    color: var(--primary-color);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 3px;
}

.product-card-badge--new {
    background-color: rgb(21, 25, 50);
    border: 1px solid var(--gold);
    color: var(--gold);
}

.product-card-badge--bestseller {
    background-color: var(--gold);
    color: rgb(21, 25, 50);
}

.product-card-badge--sale {
    background-color: rgba(180, 60, 60, 0.9);
    color: white;
}

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

.product-card-name-wrap {
    min-height: 2.5em;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.product-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.product-card-brand {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 10px;
    font-weight: 500;
    color: rgb(212, 174, 125);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card-gender {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 9px;
    font-weight: 600;
    color: white;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 3px;
}

.product-card-sizes {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.size-pill {
    background: transparent;
    border: 1px solid rgba(212, 175, 125, 0.25);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: 3px;
}

.product-card-price {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-sale-badge {
    align-self: flex-start;
    background-color: rgba(180, 60, 60, 0.12);
    color: rgba(220, 90, 90, 0.95);
    border: 1px solid rgba(180, 60, 60, 0.3);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
}

.product-card-size {
    font-size: 12px;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.7);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-desde {
    font-size: 9px;
    font-weight: 500;
    color: rgba(212, 175, 125, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    align-self: center;
}

.price-old {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-current {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
}

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

/* ── Wishlist heart ── */
.elixir-wish {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    background: rgba(12, 15, 35, 0.55);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(212,175,125,0.7);
    z-index: 3;
    transition: color 0.2s, background 0.2s;
    padding: 0;
}

.elixir-wish:hover { color: var(--gold); background: rgba(12,15,35,0.8); }
.elixir-wish--active { color: #e8455a; }
.elixir-wish--active:hover { color: #e8455a; }

/* Detail page variant — not absolute */
.elixir-wish--detail {
    position: static;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212,175,125,0.2);
    display: inline-flex;
    margin-left: 10px;
    vertical-align: middle;
}

@media (min-width: 600px) {
    .product-card-badge {
        padding: 5px 10px;
    }

    .product-card-info {
        padding: 18px;
    }

    .product-card-name {
        font-size: 18px;
    }

    .product-card-brand {
        font-size: 12px;
    }

    .price-current {
        font-size: 16px;
    }

}

@media (min-width: 900px) {
    .product-card:hover {
        border-color: rgba(212, 175, 125, 0.4);
    }

    .product-card-image img {
        transition: transform 0.5s ease;
    }

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

    .product-card-favorite {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .product-card:hover .product-card-favorite {
        opacity: 1;
    }

    .product-card-favorite:hover img {
        opacity: 1;
    }

    .product-card-info {
        padding: 20px;
    }

    .product-card-name {
        font-size: 20px;
    }

    .product-card-brand {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .price-current {
        font-size: 18px;
    }

}
