.search-top-bar {
    display: flex
;
    align-items: center;
    justify-content: center;
}

.search-top-bar .search-top-bar-list {
    background-color: #2f3144;
    display: flex;
    align-items: center;
    row-gap: 10px;
    border-radius: 5px;
    width: 100%;
}

.search-top-bar .search-top-bar-list > a {
    color: white;
    padding: 15px 15px;
    font-size: 15px;
    flex-basis: 20%;
    width: 20%;
    text-align: center;
    border-bottom: 2px solid transparent;
}

.search-top-bar .search-top-bar-list > a.active {
    background-color: #414674;
    border-bottom: 2px solid #606fff;
}

.search-section {
    margin-bottom: 20px;
}

.search-section .title {
    margin-bottom: 20px;
}

.search-section .count {
    margin-bottom: 5px;
}

.search-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16%, 1fr));
    gap: 10px;
}

.search-list .search-card {
    background-color: #2f3144;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}

.search-list .search-card .search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(to top, #000000, transparent);
    border-radius: 5px !important;
}

.search-list .search-card .search-overlay .search-title {
    color: white;
    font-size: 16px;
    padding-bottom: 15px;
    text-align: center;
    padding-inline: 15px;
}

.search-list .search-card:hover {
    background: linear-gradient(to left, #25273a, #1e2340);
}

.search-list .search-card:hover .search-image {
    filter: brightness(0.8);
}

.search-list .search-card .search-image {
    width: 100%;
    height: 300px;
    background-size: cover !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.2s;
    background-position: center !important;
    background-repeat: no-repeat;
}

.search-list .search-card.search-vertical .search-image {
    height: 260px;
    border-radius: 5px !important;
}

.search-list .search-card .search-body {
    padding: 10px;
    position: relative;
    flex-grow: 1;
}

.search-list .search-card .search-body.with-pricing {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.search-list .search-card .search-body .search-title {
    color: white;
    font-size: 15px;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-list .search-card button {
    background-color: #3f4154;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    margin-top: 10px;
}


.search-list .search-card .search-body .search-price h3 {
    color: #979aae !important;
}

.search-list .search-card .search-body .search-price h2 {
    color: #ffd679 !important;
}

.search-list .search-card .search-body .search-price h2 {
    font-size: 19px;
    color: #ffd679 !important;
    display: block;
    padding: 0;
    margin: 0;
}

.search-list .search-card .search-body .search-price {
    padding-right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 5px;
    flex-direction: column-reverse;
}

.search-list .search-card .search-body .search-price.with-discount {
    left: 75px;
}

.search-list .search-card .search-body .search-price h3 {
    font-size: 13px;
    margin: 0;
    color: #c1c1c1;
    display: inline-block;
    text-decoration: line-through;
}

.search-list .search-card .search-body .search-price h3 span {
    font-family: sans-serif;
}

.search-list .search-card .search-body .search-price h2 span {
    font-family: sans-serif;
}

.search-price span.discountLabel {
    position: absolute;
    font-size: 11px;
    color: #ec9f3e;
    padding: 1px;
    font-weight: bold;
    line-height: 12px;
    filter: drop-shadow(0px 0 3px #e4e4e4);
    top: 5px;
}

.discountBubble {
    background: linear-gradient(45deg, rgb(124 55 55), rgb(255 55 55));
    padding: 6px 10px;
    text-align: center;
    border-radius: 4px;
    color: rgb(255 255 255);
    font-size: 11px;
    line-height: 16px;
    text-shadow: 1px 1px 0 #681d1d;
}

.discountBubble b {
    display: block;
    font-size: 19px;
}

.search-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.search-empty img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.search-empty h2 {
    margin-top: 10px;
    color: white;
    font-size: 20px;
}

.search-section .user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(16.6667% - 5px), 1fr));
    gap: 10px;
}

.search-section .user-list .user-card {
    display: flex;
    flex-direction: column;
    background-color: #2f3144;
    padding: 10px;
    justify-content: flex-start;
    border-radius: 5px;
}
.search-section .user-list .user-card:hover {
    background: linear-gradient(to left, #25273a, #1e2340);
}

.search-section .user-list .user-card .giveaway-join-user-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-section .user-list .user-card .giveaway-join-user-data span.join-user-name {
    color: white;
    font-size: 15px;
}

.search-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2a2c3e;
    padding: 9px 15px;
    margin: -10px -15px -15px;
    border-radius: 0 0 4px 4px;
}

.search-user-profile img {
    width: 30px;
    height: 30px;
}

.search-category {
    font-size: 12px;
}

a.search-card.search-vertical.card-post .search-image {
    height: 170px;
}

a.search-card.search-card-product .search-image {
    height: 250px;
}

.search-product-category {
    font-size: 13px;
    color: #a1a2a8;
}

.product-price-box {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.search-section .user-list .user-card img.user-cover-image {
    margin: -8px;
    width: calc(100% + 16px);
    max-width: unset;
    margin-bottom: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.user-card-content {
    display: flex;
}

.search-section .user-list .user-card img.user-avatar-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
}

.user-card-avatar {
    position: relative;
}

.user-card-avatar img.user-avatar-image-frame {
    width: 50px;
    position: absolute;
    left: -5px;
    top: -5px;
}

.user-type {
    font-size: 12px;
    color: #a9abc0;
}

.user-type.shop-boost {
    color: #ffc107;
}

.user-type.shop {
    color: #78b1ff;
}

a.user-card.shop-boost {
    box-shadow: 0px 0px 0px 2px #ffc1076b inset;
}

a.user-card.shop {
    box-shadow: 0px 0px 0px 2px #667afa80 inset;
}

.dark-theme .pagination > li > a, .dark-theme .pagination > li > span {
    color: #d7d8e6;
    background-color: #2f3144;
    border: 1px solid #383b50;
}

.dark-theme .pagination > .active > a, .dark-theme .pagination > .active > a:focus, .dark-theme .pagination > .active > a:hover, .dark-theme .pagination > .active > span, .dark-theme .pagination > .active > span:focus, .dark-theme .pagination > .active > span:hover {
    color: #d7d8e6;
    background-color: #25273a;
    border-color: #25273a;
}

.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    color: #d7d8e6;
    background-color: #25273a;
    border-color: #25273a;
}

.dark-theme .pagination > .disabled > a, .dark-theme .pagination > .disabled > a:focus, .dark-theme .pagination > .disabled > a:hover, .dark-theme .pagination > .disabled > span, .dark-theme .pagination > .disabled > span:focus, .dark-theme .pagination > .disabled > span:hover {
    color: #d7d8e6;
    background-color: #2f3144;
    border: 1px solid #383b50;
}

.pagination.new-style-pagination a.page-link {
    border-radius: 5px;
    margin: 0 2px;
    width: 35px;
    padding-inline: 5px;
    text-align: center;
}

section.search-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

section.search-banner img {
    width: 110%;
    height: 240px;
    object-fit: cover;
    position: absolute;
    filter: blur(5px) brightness(0.45);
    top: -20px;
    z-index: -1;
}

.search-banner-content {
    text-shadow: 2px 2px 0px #00000099;
}

.search-banner-content h1.search-banner-title {
    margin: 0;
}

section.search-banner-menu {
    background: #2f3144;
    height: 52px;
    box-shadow: 0px 30px 50px #4c50736b;
    margin-bottom: 30px;
}

.search-top-bar .search-top-bar-list > a:hover {
    background-color: #333654;
    border-bottom: 2px solid #414999;
}

.btn-flex-content {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

form.search-form input {
    height: 45px;
    width: calc(100% - 70px);
    border: none;
    border-radius: 6px;
    padding: 0 15px;
    background: #3f4257;
    border: 1px solid #636783;
}

form.search-form button {
    height: 45px;
    width: 60px;
    margin-left: 6px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(45deg, #667afa, #8066fa);
    color: white;
    text-shadow: 2px 2px 0px black;
}

@media only screen and (max-width: 768px) {
    .search-list.search-vertical {
        grid-template-columns: repeat(auto-fill, minmax(48%, 0.47fr));
    }

    .search-list .search-card:not(.search-vertical) {
        flex-direction: column;
    }
    .search-section .user-list {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .search-list .search-card:not(.search-vertical) .search-image {
        background-position: center;
        background-size: cover !important;
        max-width: 50%;
        min-width: 100%;
        width: 100%;
        border-bottom-left-radius: 5px;
        border-top-right-radius: 0;
    }

    .search-list .search-card.search-vertical .search-image {
        background-position: center;
        background-size: cover !important;
    }

    .discountBubble {
        bottom: 45px;
    }

    .search-list .search-card .search-body .search-price.with-discount {
        left: 10px;
    }

    .search-list {
        grid-template-columns: repeat(auto-fill, minmax(calc(50% - 10px), 1fr));
    }

    .search-top-bar .search-top-bar-list > a {
        padding: 15px 0;
        width: auto;
    }
}