.search-dropdown-result {
    width: min(850px, 100%);
    max-height: 360px;
    margin: 1.2rem auto 0;

    overflow-y: auto;

    background:
        linear-gradient(
            135deg,
            rgba(18, 18, 18, 0.98),
            rgba(7, 7, 7, 0.98)
        );

    border:
        1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    opacity: 1;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* ========================================
   SCROLLBAR
======================================== */

.search-dropdown-result::-webkit-scrollbar {
    width: 4px;
}

.search-dropdown-result::-webkit-scrollbar-track {
    background: transparent;
}

.search-dropdown-result::-webkit-scrollbar-thumb {
    background:
        rgba(255, 255, 255, 0.18);
}


/* ========================================
   RESULT ITEM
======================================== */

.search-result-item {
    position: relative;

    display: flex;
    align-items: center;

    gap: 1.2rem;

    min-height: 90px;

    padding: 0.85rem 1rem;

    color: white;
    text-decoration: none;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    transition:
        background 0.3s ease,
        padding 0.3s ease;
}


.search-result-item:last-child {
    border-bottom: none;
}


.search-result-item:hover {

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    padding-right: 1.25rem;
}


/* ========================================
   IMAGE
======================================== */

.search-result-image {

    position: relative;

    width: 68px;
    height: 68px;

    flex: 0 0 68px;

    overflow: hidden;

    background: #111;

    border:
        1px solid rgba(255, 255, 255, 0.12);
}


.search-result-image::after {

    content: "";

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    pointer-events: none;
}


.search-result-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s cubic-bezier(.2, .7, .2, 1);
}


.search-result-item:hover
.search-result-image img {

    transform: scale(1.07);

}


/* ========================================
   PRODUCT INFO
======================================== */

.search-result-info {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    min-width: 0;

    flex: 1;

    gap: 0.18rem;
}


/* English name */

.search-result-english {

    font-family:
        "Cinzel",
        serif;

    font-size: 0.82rem;

    font-weight: 500;

    letter-spacing: 0.12em;

    color:
        rgba(255, 255, 255, 0.92);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;
}


/* Persian name */

.search-result-persian {

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.78rem;

    font-weight: 400;

    color:
        rgba(255, 255, 255, 0.48);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;
}


/* Price */

.search-result-price {

    margin-top: 0.3rem;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.72rem;

    font-weight: 500;

    color:
        rgba(255, 255, 255, 0.72);
}


/* ========================================
   ARROW
======================================== */

.search-result-arrow {

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 0.85rem;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.search-result-item:hover
.search-result-arrow {

    color: #fff;

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.22);

    transform: translateX(-4px);

}


/* ========================================
   NO RESULT
======================================== */

.search-no-result {

    min-height: 150px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 0.8rem;

    color:
        rgba(255, 255, 255, 0.5);

    text-align: center;

    font-family:
        "Vazirmatn",
        sans-serif;
}


.search-no-result i {

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    color:
        rgba(255, 255, 255, 0.35);

    font-size: 1rem;
}


.search-no-result span {

    font-size: 0.78rem;

}


.search-dropdown-result:empty {
    display: none;
}