.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-img-box {
    height: 100px;
    background: #f5f5f5;
}

.product-img {
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-decoration: none;
}

.call-icon {
    background: linear-gradient(135deg, #FF5F6D, #FFC371);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.search-form-2{
    position: relative;
    width:220px;
}

.search-form-2 input{
    padding-left:35px;
    height:40px;
    border-radius:8px;
}

.search-form-2 i{
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
}

@media (max-width: 575.98px) {
    .product-img-box {
        height: 200px;
    }
}

.login-btn:hover{
color: white !important;
}

/* alert styles */
.flash-alert {
    min-width: 320px;
    max-width: 420px;
    border-radius: 999px;
    padding: 14px 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.flash-success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.flash-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.flash-warning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.flash-info {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.modal {
    z-index: 1060 !important;
}

.modal-content {
    z-index: 1066 !important;
    position: relative;
}
.modal-backdrop {
    z-index: -1 !important;
        /* display: none !important;  */
}



 .product-details-modal .modal-dialog {
        max-width: 1200px;
    }

    .product-details-modal-wrap {
        min-height: 75vh;
    }

    .product-modal-image-pane {
        background: #040c7eab;
        min-height: 75vh;
        overflow: hidden;
    }

    .product-modal-main-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .product-comments-area {
        overflow-y: auto;
        min-height: 250px;
        max-height: 320px;
    }

    .product-carousel-thumbs {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 16px;
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        padding: 0 16px;
        z-index: 5;
    }

    .product-carousel-thumbs button {
        border: 0;
        background: transparent;
        padding: 0;
        opacity: 0.85;
    }

    .product-carousel-thumbs button.active,
    .product-carousel-thumbs button:hover {
        opacity: 1;
        transform: scale(1.04);
    }

    .product-carousel-thumbs img {
        width: 58px;
        height: 58px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .product-details-modal .carousel-control-prev,
    .product-details-modal .carousel-control-next {
        width: 54px;
        z-index: 6;
    }

    .product-details-modal .carousel-control-prev-icon,
    .product-details-modal .carousel-control-next-icon {
        background-color: rgba(0,0,0,0.45);
        border-radius: 50%;
        padding: 18px;
        background-size: 55% 55%;
    }

    .like-toggle-btn {
        transition: 0.2s ease;
    }

    .like-toggle-btn.text-primary,
    .like-toggle-btn.text-primary i,
    .like-toggle-btn.text-primary .like-label {
        color: #1877F2 !important;
    }

    .like-toggle-btn.text-secondary,
    .like-toggle-btn.text-secondary i,
    .like-toggle-btn.text-secondary .like-label {
        color: #6c757d !important;
    }

    @media (max-width: 991.98px) {
        .product-details-modal-wrap,
        .product-modal-image-pane {
            min-height: auto;
        }

        .product-modal-main-image {
            height: 320px;
        }

        .product-comments-area {
            max-height: none;
        }

        .product-carousel-thumbs img {
            width: 48px;
            height: 48px;
        }
    }

    