/* Card Container */
.product-card {
    position: relative;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 18px;
    padding: 15px;
    text-align: center;

    /* Soft Border (glass edge) */
    border: 1px solid rgba(255, 255, 255, 0.3);

    /* Shadow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;

    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover Effect */
.product-card:hover {
    transform: translateY(-8px) scale(1.02);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(181, 93, 43, 0.2);
    /* theme glow */
}

/* Image Wrapper (NEW) */
.product-img {
    position: relative;
}

/* Image */
.product-img img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    background-color: #f8f8f8;
}

/* Overlay (NEW - blur/dark effect) */
.product-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
}

/* Show overlay on hover */
.product-card:hover .product-img::after {
    opacity: 1;
}

/* Product Name */
.product-card h6 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin: 10px 0 5px;
}

/* Price */
.product-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b55d2b;
    margin-bottom: 12px;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.7);

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border: none;
    color: #333;
    padding: 10px 18px;
    border-radius: 30px;
    /* pill shape = premium */

    opacity: 0;
    transition: all 0.4s ease;

    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hover Animation */
.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-btn:hover {
    background: #b55d2b;
    color: #fff;
    box-shadow: 0 5px 15px rgba(181, 93, 43, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Add to Cart Button */
.btn-cart {
    background-color: #212529;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    width: 100%;
    transition: 0.3s;
}

.btn-cart:hover {
    background-color: #b55d2b;
}

/* Rating */
.rating {
    color: #ffc107;
    margin-bottom: 6px;
}

.explore-btn {
    background: linear-gradient(135deg, #b55d2b, #8b4513);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #8b4513, #b55d2b);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(181, 93, 43, 0.4);
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

/* ============================= */
/* FEEDBACK PAGE CSS START */
/* ============================= */

.feedback-card {
    max-width: 500px;
    margin: 70px auto;
    padding: 30px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Button */
.btn-custom {
    background: #8b5e3c;
    color: white;
    border-radius: 25px;
    transition: 0.3s;
}

.btn-custom:hover {
    background: #6f472d;
}

/* ⭐ Star Rating */
.star-rating {
    direction: rtl;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 28px;
    color: #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #f5b301;
    transform: scale(1.2);
}

.feedback-card {
    position: relative;
}

/* 🌿 MittiMart Glass Theme */
.glass-modal {
    background: linear-gradient(135deg,
            rgba(210, 105, 30, 0.25),
            /* terracotta */
            rgba(255, 228, 196, 0.2)
            /* warm beige */
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        0 8px 32px rgba(139, 69, 19, 0.25),
        /* brown glow */
        inset 0 0 10px rgba(255, 255, 255, 0.1);

    color: #4b2e2e;
    /* earthy text */

    animation: popupFade 0.5s ease;
}

/* 🌟 Heading */
.glass-modal h4 {
    color: #8b4513;
    letter-spacing: 0.5px;
}

/* 🌿 Text */
.glass-modal p {
    color: #5a3e36;
    font-size: 15px;
}

/* 🌟 Success Icon */
.success-icon i {
    font-size: 65px;
    color: #d2691e;
    /* clay orange */

    text-shadow: 0 0 15px rgba(210, 105, 30, 0.6);
    animation: bounce 0.6s;
}

/* 🔥 Premium Button */
.btn-glass {
    background: linear-gradient(135deg, #d2691e, #a0522d);
    color: #fff;

    border: none;
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 500;

    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.4);

    transition: 0.3s ease;
}

.btn-glass:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.6);
}

/* 🌫 Background Blur */
.modal-backdrop.show {
    background: rgba(60, 30, 10, 0.5);
    backdrop-filter: blur(6px);
}

/* ✨ Animations */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce {
    0% {
        transform: scale(0.5);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================= */
/* FEEDBACK PAGE CSS END */
/* ============================= */
/* ============================= */
/* SEARCH PAGE CSS  */
/* ============================= */
