/* Products and Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.product-grid .product-card {
    /* 4 por fila en desktop/tablet: 100%/4 menos el gap repartido entre 4 tarjetas */
    flex: 0 0 calc(25% - 18.75px);
}

@media (max-width: 768px) {
    .product-grid {
        gap: 15px;
    }

    .product-grid .product-card {
        /* 2 por fila en móvil */
        flex: 0 0 calc(50% - 7.5px);
    }
}

.product-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.product-card:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
    transform: translateY(-10px);
}

.product-card.active {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 1px var(--accent-yellow), 0 0 12px rgba(255, 204, 0, 0.35);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.product-card-body h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-card-body .price {
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.stars {
    color: var(--accent-yellow);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Mismo rojo que .btn-buy del nano-checkout, para consistencia de marca en
   toda la página (antes era un outline dorado, "Reservar ahora"). */
.btn-primary-solid-red {
    background: var(--ferrari-red);
    border: none;
    border-radius: 2px;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-solid-red:hover {
    background: #ff3b1a;
    box-shadow: 0 4px 15px rgba(255, 40, 0, 0.4);
}