
/* Product Card Styling */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-badge {
    font-weight: 800;
    font-size: 1.25rem;
    color: #c4c4c4;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
}

.card-img-wrap {
    width: 100%;
    height: 320px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.card-img-wrap .img-placeholder {
    width: 100%;
    max-width: 250px;
    height: 100%;
    border-radius: 4px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.15), -2px 0 5px rgba(0,0,0,0.05);
    background-position: center;
    background-size: cover;
    transform: perspective(800px) rotateY(-10deg);
    transition: transform 0.4s ease;
}

.product-card:hover .img-placeholder {
    transform: perspective(800px) rotateY(-5deg) scale(1.02);
}

.card-info {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.stars {
    color: #cbd5e1;
    letter-spacing: 1px;
}
.stars .half-star {
    opacity: 0.5;
}

.reviews {
    color: #64748b;
    font-weight: 500;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.card-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #b5beca;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.card-text p {
    font-size: 0.85rem;
    color: #5E5C58;
    font-weight: 400;
    line-height: 1.3;
}

.card-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: max-content;
}

.card-price span {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: lowercase;
    margin-bottom: -2px;
}

.card-price strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1C1B1A;
}

.card-btn {
    background-color: #474747;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: max-content;
}

.card-btn:hover {
    background-color: #333333;
}
