﻿/* NO PRODUCT BOX */
.no-product-box {
    background: linear-gradient(135deg, #ff7f50, #ff4500);
    transition: 0.3s ease;
    letter-spacing: 0.5px;
}

    .no-product-box:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(255, 69, 0, 0.4);
    }


/* REQUEST PRODUCT BUTTON */
.request-product-btn {
    background: linear-gradient(135deg, #28a745, #218838);
    transition: 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

    .request-product-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(33, 136, 56, 0.4);
    }


/* CENTER FIX (optional better spacing) */
#productResults .col-md-3 {
    display: flex;
    justify-content: center;
}

.css-tooltip {
    cursor: pointer;
}

    .css-tooltip::after {
        content: attr(data-title);
        position: absolute;
        bottom: 18%;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
        background: #ff5a2f;
        color: #fff;
        padding: 10px 16px;
        border-radius: 12px;
        min-width: 90%;
        max-width: 90%;
        font-size: 14px;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transition: 0.2s ease;
        white-space: normal;
        z-index: 999;
    }

    .css-tooltip:hover::after {
        opacity: 1;
    }

    .css-tooltip::before {
        content: "";
        position: absolute;
        bottom: 18%;
        left: 50%;
        transform: translateX(-50%) translateY(2px);
        border: 6px solid transparent;
        border-top-color: #ff5a2f;
        opacity: 0;
        transition: 0.2s ease;
    }

    .css-tooltip:hover::before {
        opacity: 1;
    }

/* #productResults .css-tooltip::after{

            bottom:16%;

            transform:translateX(-50%) translateY(-8px);

        }


        #productResults .css-tooltip::before{

            bottom:16%;

            transform:translateX(-50%) translateY(2px);

        } */ .brandsproduct-card {
    position: relative;
    border: 2px solid transparent !important;
    transition: all 0.28s ease !important;
    width: 100% !important;
    max-width: 100% !important;
    /* height: 260px; */
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
}

    /* HOVER */ .brandsproduct-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: none !important;
        border-color: #ff5a2f !important;
    }

        /* TEXT THEME */ .brandsproduct-card:hover h6 {
            color: #ff5a2f !important;
        }

    /* IMAGE — KEEP ORIGINAL, JUST LITTLE SMOOTH */ .brandsproduct-card img {
        transition: 0.28s ease;
    }

    .brandsproduct-card:hover img {
        transform: scale(1.04); /* slight zoom instead of color change */
    }

.select-product .select-search input {
    width: 100%;
    padding: 14px 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    transition: 0.25s ease;
}

    .select-product .select-search input:focus {
        border-color: #ff5a2f;
        box-shadow: 0 0 0 3px rgba(255, 90, 40, 0.15);
        border-radius: 12px;
    }

    /* smooth hover */ .select-product .select-search input:hover {
        border-color: #ff7b2f;
    }

.select-heading {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
    background: linear-gradient(135deg, #ff7f50, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s ease;
}

.product-img-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.product-discr {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.product-img-center img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}



.select-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #ff7f50, #ff4500);
    transform: translateX(-50%);
    border-radius: 10px;
    transition: 0.3s ease;
}


.select-heading:hover::after {
    width: 180px;
}

/* loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.custom-spinner {
    width: 3rem;
    height: 3rem;
    border-width: 10px;
    color: #ff4500;
}
