#search-page {
    padding-top: 24px;
    padding-bottom: 100px;
}

#search-page .title {
    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 24px;
}

#search-page .accordion-list {
    padding: 0 16px;
}
#search-page .accordion {
    border-radius: 0;
    padding: 20px 0;
    margin: 0;

    border-bottom: 1px solid var(--border-1);
}
#search-page .accordion:last-of-type {
    border-bottom: 0;
}

#search-page .accordion-title {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
}
#search-page .accordion-content {
    flex-direction: column;
    gap: 12px;
    margin-left: 20px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
}

#search-page .accordion-content p {
    cursor: pointer;
}

#search-page .accordion-content p.active {
    color: var(--primary);
    font-weight: bold;
}

#search-page .accordion.active .accordion-content {
    display: flex;
}

#search-page .info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    background-color: var(--white);
}

#search-page .summary {
    display: flex;
    flex-direction: column;
}

#search-page .info-bar .name {
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
}

#search-page .info-bar .total {
    font-size: 16px;
    line-height: 24px;
}

#search-page .selector-container {
    display: flex;
    margin-left: auto;
}

#search-page .result-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
    overflow: hidden;
    margin-bottom: 16px;
}

#search-page .card {
    border-radius: 12px;
    background-color: var(--white);
    overflow: hidden;
}

#search-page .card-image {
    width: 100%;
}

#search-page .card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

#search-page .card-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
}

#search-page .card-desc {
    font-size: 14px;
    line-height: 20px;
}

#search-page .card-price {
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    margin: 12px 0;
}

#search-page .card-actions {
    display: flex;
    gap: 12px;
}

#search-page .btn {
    font-size: 16px;
    line-height: 24px;
}

#search-page .btn.--icon {
    padding: 12px;
}

#nation-selector {
    display: none;
    margin-right: 12px;
}

#nation-bottom-sheet .wrapper {
    display: block;
    position: relative;
    border-radius: 12px;
    z-index: 9;
}

#nation-bottom-sheet .wrapper .sheet-header {
    display: none;
}

#nation-bottom-sheet .wrapper .content {
    padding: 0;
}

#nation-bottom-sheet .wrapper .content .search-input {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border-1);
}

#sort-bottom-sheet.show {
    display: none;
}

#sort-bottom-sheet .sheet-header {
    margin-bottom: 0;
}

#sort-bottom-sheet .wrapper .content li {
    height: 60px;
    padding-left: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: start;
}

#sort-bottom-sheet .wrapper .content li:hover,
#sort-bottom-sheet .wrapper .content li.active {
    font-weight: bold;
    color: var(--primary);
}

#sort-bottom-sheet .wrapper .content li p {
    width: 100%;
    height: 100%;
    display: block;
    padding: 16px 0;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid var(--border-1);
}

@media only screen and (max-width: 1024px) {
    #search-page .result-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    #search-page .result-container {
        gap: 12px;
    }
    #search-page .card .card-content {
        padding: 16px 8px;
    }
    #search-page .card .card-actions {
        gap: 4px;
    }

    #search-page .card .btn {
        border-radius: 8px;
        font-size: 14px;
        line-height: 20px;
    }

    #search-page .card .btn.--icon {
        padding: 8px;
    }
}

@media only screen and (max-width: 430px) {
    #search-page .row {
        gap: 0;
    }
    #search-page .title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
    }
    #nation-selector {
        display: flex;
    }

    #nation-bottom-sheet .wrapper {
        position: fixed;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        z-index: 11;
    }

    #nation-bottom-sheet .wrapper .sheet-header {
        display: flex;
    }

    #nation-bottom-sheet .wrapper .content {
        padding: 0 16px;
    }

    #nation-bottom-sheet .wrapper .content .search-input {
        border: 0;
        border-radius: 100px;
        background-color: var(--color-background-input-search);
    }

    #nation-bottom-sheet .wrapper .content .search-input input {
        background-color: var(--color-background-input-search);
    }

    #sort-selector.active .select-dropdown {
        display: none;
    }

    #sort-bottom-sheet.show {
        display: block;
    }

    #search-page .info-bar {
        flex-direction: column;
        background-color: transparent;
        gap: 12px;
        padding: 0;
    }
    #search-page .info-bar > * {
        color: var(--white);
    }

    #search-page .summary {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    #search-page .info-bar .name {
        font-size: 16px;
        line-height: 24px;
    }

    #search-page .info-bar .total {
        font-size: 14px;
        line-height: 20px;
    }

    #search-page .selector-container {
        width: 100%;
    }
    #search-page .result-container {
        margin-top: 12px;
    }
}
