.search .modal-content {
    padding: 0;
}

.search__body {
    height: 100%;
    background-color: var(--search-input-bg);
    flex-direction: column;
    justify-content: flex-start;
}

.search__header-wrapper,
.search__wrapper {
    max-width: 1400px;
    width: 1400px;
    padding: 0 1rem;
}

/* --==> SEARCH HEADER START
==================================================================*/
.search__header {
    box-shadow: inset 0 -1px 0 0 #e9e9e9;
}

.search__logo {
    position: relative;
    padding: 2rem 0 0;
}

.search__logo .search__close {
    position: absolute;
    right: 0;
    opacity: 1;
    background: none;
    background-color: #f1f1f1;
    color: black;
}

.search__logo .search__close i {
    font-size: 10px;
    color: #818181;
}

.search__logo img {
    max-width: 160px;
}


.search__logo .search__close:focus {
    box-shadow: none;
}

.search__bar {
    border: 1px solid var(--search-border-color);
    padding: 0 0 0 1rem;
    margin: 2rem 0 1rem;
    background: var(--search-input-bg);
    height: 50px;
}

.search__bar .search__input {
    border: 0;
    padding: 1rem 0.3rem;
    width: 100%;
    background-color: transparent;
    font-size: 1rem;
}

.search__bar .search__input:focus,
.search__bar .search__input:focus-visible {
    outline: none;
}

.search__bar .search__input::placeholder {
    font-size: 1rem;
}

.search__button--submit {
    padding: 0 1.3rem;
}

.search__button--submit span,
.search__bar.is-active .search__button--submit i {
    display: none;
}

.search__bar.is-active .search__button--submit span,
.search__button--submit i {
    display: block;
}

.search__bar.is-active .search__button--submit {
    background-color: black;
    height: 100%;
    color: white;
}

.search__bar.is-active {
    border: 1px solid black;
}

.search__button--delete {
    height: 100%;
    padding: 0 1rem;
    color: #6d6d6d;
    font-size: 14px;
}

.search__button--delete i {
    margin-right: 0.5rem;
    background-color: #6d6d6d47;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    font-size: 7px;
    color: white;
    display: flex !important;
}

.search-icon-box input {
    display: none;
}

/* --==> SEARCH HEADER END
==================================================================*/
/* --==> SEARCH SIDEBAR START
==================================================================*/
.search__sidebar {
    width: 300px;
    height: max-content;
    padding: 2rem 1rem 0 0;
}

.search-sidebar__section {
    margin: 0 0 1.5rem;
}

.search-sidebar__title,
.search__results__title {
    font-size: 16px;
    font-weight: 500;
    color: #515151;
}

.search-sidebar__list {
    margin: 1rem 0;
}

.search-sidebar__list li {
 
    position: relative;
    cursor: pointer;
}

.search-sidebar__list--popular {
    display: flex;
    flex-wrap: wrap;
}

.search-sidebar__list--popular li {
    margin: 0 10px 10px 0;
    border: 1px solid #4a4a4a40;
    color: #4a4a4a;
    padding: 9px 24px;
    border-radius: 3px;
    background-color: var(--search-input-bg);
    font-size: 14px;
}


.search-sidebar__list--popular li strong {
    font-weight: 600;
}

.search-sidebar__list li a {
    position: relative;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
   
}

.search-sidebar__list--popular li a {
    padding: 0;
}


/* --==> SEARCH SIDEBAR END
==================================================================*/

/* --==> SEARCH RESULT START
==================================================================*/
.search__results {
    width: calc(100% - 300px);
    border-left: 1px solid #e9e9e9;
}

.search__results__section {
    margin: 0;
}

.search__results__section--content {
    padding: 2rem 0 0 1rem;
}

.search__results__title {
    width: 100%;
    height: 20px;
}

/* productbox sıfırlamak için yazıldı bu alan  */
.search__results__section .products-list__item .product-card__rating,
.search__results__section .products-list__item .product__tags,
.search__results__section .products-list__item .product-card__description,
.search__results__section .product__options,
.search__results__section .product__car--buttons,
.search__results__section .product-card__wishlist,
.search__results__section .product-info-detail::before,
.search__results__section #product__alternative--img li,
.search__results__section .product-card__badges-list,
.search__results__section #product__alternative--img,
.search__results__section .product-card__features-list {
    display: none;
}

.search__results__section .product-card__image {
    padding: 0;
}

.search__results__section .products-list__body,
.search__results-content-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    box-sizing: border-box;
    margin: 1rem 0;
}

.search__results__section--related .products-list__body {
    margin-bottom: 0;
}

.search__results__section .products-list__item,
.search__results-content-list li {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background-color: white;
    border: 1px solid #0000000a;
    transition: 500ms all;
}


.search__results__section .product-card__actions {
    display: flex;
    padding: 2px 10px 10px;
}

.search__results__section .product-card__name {
    width: 100%;
    padding: 5px 10px;
}

.search__results__section .product-card__name .product-info-detail {
    font-size: 14px;
    font-weight: 500;
}

.search__results__section .product-card__prices,
.search__results__section .product-card__new-price {
    color: var(--text-black-color);
    font-weight: 400;
    font-size: 14px;
}

.search__results--recent-container {
    border-bottom: 1px solid #80808038;
    padding: 2rem 0 1rem 1rem;

}

.search__results__section--related {
    padding: 2rem 0 0 1rem;
}

.search__results__delete-btn {
    width: 28px;
    height: 28px;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: cubic-bezier(0.755, 0.05, 0.855, 0.06) all;
    white-space: nowrap;
    flex-wrap: nowrap;
    transition: 600ms all;
}

.search__results__delete-btn i {
    color: black;
    font-size: 14px;
    width: 28px;
    height: 28px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: 600ms all;
    flex-shrink: 0;
    opacity: 0.3;
    border: 1px solid #00000045;
    background: #00000014;
}

.search__results__delete-btn span {
    background-color: white;
    border-radius: 0 6px 6px 0;
    padding: 2px 14px;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: 600ms all;
    border: 1px solid #f1f1f1;
    height: 28px;
    font-size: 14px;
    color: #515151;
}

.search__results__delete-btn:hover span {
    opacity: 1;
    width: auto;
}

.search-sidebar__list--search-categories li,
.search-sidebar__list--search-manufacturers li {
    padding: 1rem 0;
    border-bottom: 1px solid #80808038;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4a4a4a;
}

.search-sidebar__list--search-categories li {
    padding: 0;
}

.search-sidebar__list--search-categories {
    margin-bottom: 0;
}

.search-sidebar__list--search-manufacturers {
    margin-top: 0;
}

.search-sidebar__tag {
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
}

.search__results-content-list li img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.search__info-card .product-card__prices {
    display: flex;
    padding: 2px 10px 10px;
}

.search__no-results {
    border-bottom: 1px solid #82859312;
    width: 100%;
    background: #f1f2f6;
    margin-top: 0;
    padding: 1rem;
}

.search__results-view-all {
    width: 100%;
    background-color: #000;
    color: white;
    border: 0;
    outline: 0;
    padding: 1rem;
    margin-top: 1rem;
}

.search__action-button i {
    font-size: 25px;
    color: var(--default-theme-dark-blue);

}

.search__action-button {
    padding-right: 15px;
}

/* --==> SEARCH RESULT END  
==================================================================*/
.search__no-results--reset {
    padding: 7px 16px;
    margin-top: 1rem;
    border-radius: 3px;
    background: #747d8c;
    color: white;
}

.search__no-results p {
    color: #6c757d;
    width: 21%;
    margin: auto;
    line-height: 1.3;
}

.search__no-results i {
    font-size: 30px;
}

.search-page-world {
    padding: 11px;
    font-weight: 400;
    color: #6d6d6d;
    font-size: 15px;
    background: #f1f1f16b;
}

.search-page-world strong {
    font-weight: 600;
    padding: 0 5px;
    color: black;
}

.search-page-world span {
    padding: 0 5px;
}

@media (hover: hover) and (pointer: fine) {
    .search__logo .search__close:hover {
        background-color: #000;
    }

    .search__logo .search__close:hover i {
        color: white;
    }

    .search-sidebar__list li::before {
        background-color: #00000014;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        content: '';
        width: 0;
        height: 100%;
        transition: 300ms all;

    }

    .search-sidebar__list li:hover::before {
        width: 100%;
        transition: 300ms all;
    }

    .search__results__section .products-list__item:hover,
    .search__results-content-list li:hover {
        transform: rotate(2deg);
        transition: 500ms all;
    }

    .search__results__delete-btn:hover i {
        border-radius: 6px 0 0 6px;
        opacity: 1;
        background-color: #e94f29;
        color: white;
        border: 0;
    }

    .search__results__delete-btn:hover {
        width: 108px;
        transition: 600ms all;
    }
}

/* dekstop  */
@media screen and (max-width:1400px) and (min-width:1024px) {
    .search__results {
        width: 100%;
        border-left: 1px solid #e9e9e9;
    }

    .search__header-wrapper,
    .search__wrapper {
        width: 100%;
        padding: 1rem;
    }
}

/* tablet ve mobil */
@media screen and (max-width:1023px) {

    .search__header-wrapper,
    .search__wrapper {
        width: 100%;
        padding: 1rem;
        flex-direction: column;
        height: max-content !important;
    }

    .search-sidebar__list li a {
        padding: 0;
    }

    .search__no-results p {
        width: 100%;
    }

    .search__sidebar {
        width: 100%;
        padding: 1rem 0;
        border: 0;
    }

    .search-sidebar__list {
        display: flex;
        flex-wrap: wrap;
    }

    .search-sidebar__list li {
        margin: 0 10px 10px 0;
        border: 1px solid #4a4a4a40;
        color: #4a4a4a;
        padding: 9px 24px;
        border-radius: 3px;
        background-color: var(--search-input-bg);
        font-size: 14px;
        width: max-content;
    }

    .search-sidebar__section {
        margin: 0 0 1rem;
    }

    .search__results {

        border-left: 0;
        width: 100%;
    }

    .search__action-button i {
        font-size: 20px;
    }

    .search__action-button {
        padding-right: 12px;
    }

    .search__results--recent-container,
    .search__results__section--related,
    .search__results__section--content {
        border-bottom: none;
        padding: 1rem 0;
        border-top: 1px solid #4a4a4a40;
    }

    .search__results__section .products-list__body,
    .search__results-content-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        width: 100%;
    }

    .search__results__section--content {
        border: 0;
    }

    .search-sidebar__list li {
        margin: 0 5px 5px 0;
        padding: 6px 12px;

    }

    .search__results__section .products-list__item,
    .search__results-content-list li {
        min-width: 150px;
        width: max-content;

    }

    .search__sidebar--wrapper-handle .search-sidebar__list {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .search__sidebar--wrapper-handle .search-sidebar__list li {
        margin: 0;
        padding: 12px 0px;
        border: 0;
        border-bottom: 1px solid #4a4a4a40;
        border-radius: 0;
        font-size: 13px;
        width: 100%;
    }

    #search__results-content-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #search__results-content-list li {


        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: unset;
        min-width: unset;
    }

    .search__results__section--content h3 {
        margin-bottom: 1rem;
    }

    #search__results-content-list .search__info-card {
        display: none;
    }

    .search__results-view-all {
        margin-top: 10px;
    }
}