
/* =========================
   HERO SECTION
========================= */

.hero-banner {
    background:
        linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
        url('/assets/img/products/1778318192_temple2.webp')
        center center / cover no-repeat;

    color: #fff;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
    height: 100%;
    cursor: pointer;
}
.product-title{
    font-size: 25px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 14px;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

/* =========================
   IMAGE WRAPPER
========================= */

.product-image-wrapper {
    background: #fff8ee;
    padding: 18px;
    overflow: hidden;
}

/* =========================
   PRODUCT IMAGE
========================= */

.product-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    display: block;
    transition: transform .4s ease;
}

/* Hover Zoom */
.product-card:hover .product-image {
    transform: scale(1.08);
}

/* =========================
   CONTENT
========================= */

.product-content h5 {
    color: #111827;
    font-weight: 700;
    transition: all .3s ease;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Product name hover bg */
.product-card:hover {
    background: #fde3bc;
}

/* Description */
.product-content p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 14px;
}

/* Category Badge */
.product-category {
    display: inline-block;
    font-size: 12px;
    background: #fde3bc;
    color: #bf4a14;
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: 600;
}

/* =========================
   IMAGE PREVIEW MODAL
========================= */

.image-preview-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Preview Image */
.preview-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    animation: popupZoom .3s ease;
}

/* Popup Animation */
@keyframes popupZoom {

    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-preview {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.close-preview:hover {
    transform: rotate(90deg);
}
