/* الألوان */
:root {
    --main-color: #136e81;
    --btn-color: #1fa9c3;
    --input-bg: #f8f9fa;
    --placeholder-color: #a1a1a1;
    --text-color: #ffffff;
    --hover-color: #0f5666;
}

/* تصميم الصندوق */
.search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--input-bg);
    border-radius: 40px;
    /* padding: 8px 15px; */
    max-width: 100%;
    margin-top: 16px;
    border: 2px solid var(--main-color);
    position: relative;
    /* لتحديد موضع قائمة الاقتراحات */
}

/* حقل الإدخال */
.search-input {
    flex: 1;
    padding: 9px 15px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--main-color);
}

.search-input::placeholder {
    color: var(--placeholder-color);
    /* font-style: italic; */
}

/* الزر */
.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-color);
    border: none;
    border-radius: 40px;
    padding: 10px 18px;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.search-btn:hover {
    background: var(--hover-color);
    transform: scale(1.05);
}

/* الأيقونة */
.search-icon {
    width: 20px;
    height: 20px;
}

/* قائمة الاقتراحات */
.suggestions-list {
    /* border: 1px solid #ccc; */
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    z-index: 1000;
    width: 100%;
    top: 100%;
    /* Position it exactly below the input */
    left: 0;
    box-sizing: border-box;
    border-radius: 0 0 40px 40px;
    /* إبراز الحواف السفلية للقائمة */
}

/* عناصر الاقتراحات */
.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.product-image {
    height: 286px !important;
    height: 286px !important;
    border-radius: 4px !important;
}

.search-cont {
    width: 40% !important;
}

@media (max-width: 768px) {
    .search-cont {
        width: 94% !important;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 170px !important;
        /* width: 200px !important; */
        border-radius: 4px !important;
    }
}

.item-description-pro {
    height: 13% !important;
    margin-bottom: -46px;
}

@media (max-width: 768px) {
    .item-description-pro {
        height: 56px !important;
        margin-bottom: -13px;
    }
}
