/* ================= PREMIUM PRODUCT CARDS ================= */

/* PRODUCT GRID CONTAINER */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* PRODUCT CARD */
.products li.product {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* IMAGE WRAPPER */
.product-image-wrapper {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 15px;
}

.product-image-wrapper img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.products li.product:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* BADGES */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(135deg, #6d5dfc, #00e5ff);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.badge.featured {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

/* PRODUCT TITLE */
.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0;
    color: #fff;
    transition: color 0.3s;
}

.products li.product:hover .product-title {
    color: #fff;
}

/* CATEGORY TAGS */
.product-tags {
    margin-bottom: 10px;
}

.product-tags a {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-right: 6px;
    transition: 0.3s;
}

.product-tags a:hover {
    color: #00e5ff;
}

/* PRICE */
.price {
    font-size: 17px;
    font-weight: 700;
    color: #00e5ff;
    margin-bottom: 12px;
}

/* RATINGS */
.product-rating {
    margin-bottom: 15px;
}

.product-rating .star-rating {
    color: #ffce3d;
    font-size: 14px;
}

/* BUTTONS */
.product-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.products .button,
.btn-view {
    background: linear-gradient(135deg, #6d5dfc, #00e5ff);
    border-radius: 40px;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    flex: 1;
}

.products .button:hover,
.btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,229,255,0.35);
}

/* HOVER EFFECTS */
.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.15);
}

/* RESPONSIVE */
@media(max-width:768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
        gap: 20px;
    }

    .product-buttons {
        flex-direction: column;
    }
}
