#products-listing {
    position: relative;
}
#products-listing.product-listing-option_2 {
    padding-top: 80px;
}
#products-listing .sort-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-top: 20px;
    z-index: 3;
    position: relative;
}
#products-listing .sort-wrapper .sort {
    position: relative;
}
#products-listing .sort-wrapper .sort select {
    background-color: var(--white);
    color: var(--black);
    width: 250px;
    box-shadow: none;
    -webkit-appearance: button;
    appearance: none;
    outline: none;
    font-size: 18px;
    padding: 12px 42px 12px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    transition: 0.4s all;
}
#products-listing .sort-wrapper .sort select option {
    padding: 30px;
}
#products-listing .sort-wrapper .sort select:hover {
    border-color: var(--orange-10);
    color: var(--orange-10);
}
#products-listing .sort-wrapper .sort::before {
    content: "";
    mask: url('./images/arrow-down.svg') no-repeat center;
    -webkit-mask: url('./images/arrow-down.svg') no-repeat center;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    text-align: center;
    background: #353e50;
    pointer-events: none;
    transition: 0.4s all;
}
#products-listing .sort-wrapper .sort:hover::before {
    background: var(--orange-10);
}
#products-listing .search-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--green-100);
    padding-bottom: 40px;
}
@media (min-width: 991.8px) {
    #products-listing .search-wrapper {
        padding-bottom: 80px;
    }
    #products-listing.product-listing-option_2 .search-wrapper{
        padding-bottom: 30px;
    }
}
#products-listing .search-wrapper .container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
#products-listing.product-listing-option_2 .search-wrapper {
    background-color: rgba(255, 255, 255, 0);
    padding-bottom: 30px;
}

#products-listing .search-wrapper .search-input-wrapper {
    position: relative;
    width: 820px;
    flex-basis: 820px;
    margin-inline: auto;
    /* Dropdown container */
    /* Show the dropdown when it has results */
    /* List of results */
    /* Individual result item */
    /* Hover effect for result items */
    /* Remove border from the last item */
}
#products-listing .search-wrapper .search-input-wrapper:before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 20%;
    mask: url('./images/orange-arrow.svg') no-repeat center;
    -webkit-mask: url('./images/orange-arrow.svg') no-repeat center;
    background-color: #f27038;
    mask-size: contain;
    z-index: 9;
    display: none;
}
@media (min-width: 767.8px) {
    #products-listing .search-wrapper .search-input-wrapper:before {
        display: block;
    }
}
@media (min-width: 991.8px) {
    #products-listing .search-wrapper .search-input-wrapper:before {
        top: -50px;
        left: -55px;
        width: 75px;
        height: 85px;
    }
}
#products-listing .search-wrapper .search-input-wrapper #results-button {
    background-color: var(--orange-10);
    color: var(--white);
    border-radius: 14px;
    text-decoration-line: none;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    position: relative;
    margin-top: 10px;
    width: 100%;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    padding: 25px 35px;
}
@media (min-width: 575.8px) {
    #products-listing .search-wrapper .search-input-wrapper #results-button {
        position: absolute;
        right: 1px;
        top: 1px;
        height: calc(100% - 2px);
        width: 150px;
        margin-top: 0;
    }
}
#products-listing .search-wrapper .search-input-wrapper #results-button.disabled {
    opacity: 0.9;
    cursor: not-allowed;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    /* Position below the search input */
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    /* Limit height for scrolling */
    overflow-y: auto;
    z-index: 9;
    /* Ensure it appears above other elements */
    opacity: 0;
    /* Start hidden */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (min-width: 575.8px) {
    #products-listing .search-wrapper .search-input-wrapper .search-results-dropdown {
        top: 100%;
        /* Position below the search input */
    }
}
#products-listing .search-wrapper .search-input-wrapper .search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 160px;
    overflow-y: auto;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s ease;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-list li a {
    color: var(--blue-10);
    text-decoration-line: none;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-list li:hover {
    background: #f9f9f9;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-list li:hover a {
    color: var(--orange-10);
    text-decoration-line: none;
}
#products-listing .search-wrapper .search-input-wrapper .search-results-list li:last-child {
    border-bottom: none;
}
#products-listing .search-wrapper input[type=search] {
    width: 100%;
    margin-inline: auto;
    display: block;
    border: none;
    outline: none;
    font-size: 18px;
    line-height: 20px;
    color: var(--blue-10);
    padding: 22px 22px 22px 60px;
    border-radius: 14px;
    background-image: url("./images/search.svg");
    background-repeat: no-repeat;
    background-position-x: 20px;
    background-position-y: center;
    background-color: var(--white);
    background-size: 24px;
}
#products-listing .search-wrapper input[type=search]::placeholder {
    color: var(--grey-10);
}
#products-listing .search-wrapper input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
#products-listing.product-listing-option_2 .search-wrapper input[type=search]{
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid var(--black);
}
#products-listing .search-wrapper .popular-wrapper {
    position: relative;
    width: 820px;
    flex-basis: 820px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
#products-listing .search-wrapper .popular-wrapper h4 {
    display: block;
    width: 100%;
    text-align: center;
}
#products-listing .search-wrapper .popular-wrapper .popular-title {
    width: 100%;
}
#products-listing .search-wrapper .popular-wrapper .popular-title p {
    text-align: center;
    display: block;
    color: #0f2139;
    font-size: 14px;
    font-weight: 500;
}
#products-listing .search-wrapper .popular-wrapper .most-viewed-item {
    display: flex;
}
#products-listing .search-wrapper .popular-wrapper .most-viewed-item a {
    font-size: 12px;
    line-height: 12px;
    text-decoration-line: none;
    padding: 12px 16px;
    color: var(--black);
    background-color: var(--grey-70);
    border-radius: 100px;
}
#products-listing .search-wrapper .popular-wrapper .most-viewed-item a:hover {
    background-color: var(--orange-10);
    color: var(--white);
}
#products-listing .search-wrapper .popular-wrapper .most-viewed-item a h5 {
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
    margin-block: 0;
}
#products-listing a#clear-button {
    background-color: var(--white);
    border-radius: 100px;
    border: 1px solid var(--orange-10);
    padding: 12px 36px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--orange-10);
    margin-left: auto;
    margin-right: 0;
    opacity: 0;
    z-index: -1;
}
#products-listing a#clear-button:hover {
    color: var(--orange-10);
    border-color: var(--orange-10);
}
#products-listing a#clear-button:hover span {
    background-color: var(--orange-10);
}
#products-listing a#clear-button.active {
    opacity: 1;
    z-index: 2;
}
#products-listing .product-listing-content {
    padding-block: 20px 100px;
}
#products-listing .product-listing-content .products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-block: 0 80px;
}
#products-listing .product-listing-content .products-container h3 {
    text-align: left;
}
#products-listing .product-listing-content .products-listing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    grid-template-rows: 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    width: 100%;
}
@media (min-width: 575.8px) {
    #products-listing .product-listing-content .products-listing-wrapper {
        /*grid-template-columns: repeat(2, 1fr);
        */
    }
}
@media (min-width: 991.8px) {
    #products-listing .product-listing-content .products-listing-wrapper {
        /*grid-template-columns: repeat(3, 1fr);
        */
    }
}
@media (min-width: 1280px) {
    #products-listing .product-listing-content .products-listing-wrapper {
        /*grid-template-columns: repeat(4, 1fr);
        */
    }
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-listing .product-card-inner {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-listing:nth-child(3n+1) .product-card-inner {
    background-color: var(--green-30);
    background-image: url("./images/dark.webp");
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-listing:nth-child(3n+2) .product-card-inner {
    background-color: var(--green-40);
    background-image: url("./images/light.webp");
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-listing:nth-child(3n+3) .product-card-inner {
    background-color: var(--green-50);
    background-image: url("./images/middle.webp");
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner {
    padding: 16px;
    border-radius: 16px;
    position: relative;
    height: 100%;
    display: flex;
    gap: 10px;
    color: var(--white);
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .product-card-icon {
    width: 54px;
    height: 54px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    margin-bottom: 6px;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .product-id-wrapper {
    width: 100%;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .product-id-wrapper span {
    font-size: 12px;
    line-height: 14px;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .product-card-title {
    width: 100%;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .product-card-title h3 {
    font-size: 18px;
    line-height: 24px;
    text-align: left;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    flex-basis: 100%;
    margin-block: 6px;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper .info-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
    flex-basis: 50%;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper .info-block .icon-wrapper {
    width: 26px;
    height: 26px;
    display: flex;
    border-radius: 50%;
    background-color: var(--white);
    margin-right: 5px;
    justify-content: center;
    align-items: center;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper .info-block .icon-wrapper .icon {
    width: 16px;
    height: 16px;
    background: var(--orange-10);
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper .info-block span {
    font-size: 12px;
    font-weight: 500;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper .info-block.questions .icon {
    mask: url('./images/questions.svg') no-repeat center;
    -webkit-mask: url('./images/questions.svg') no-repeat center;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .info-wrapper .info-block.videos .icon {
    mask: url('./images/video.svg') no-repeat center;
    -webkit-mask: url('./images/video.svg') no-repeat center;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .button-wrapper {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    flex-basis: 100%;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .button-wrapper a.product-listing-button {
    font-size: 12px;
    line-height: 12px;
    color: var(--white);
    font-weight: 500;
    text-decoration-line: none;
    padding: 8px 14px;
    background-color: var(--orange-10);
    border-radius: 100px;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .button-wrapper a.product-listing-button:hover {
    background-color: var(--grey-70);
    color: var(--black);
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .button-wrapper.practice-button-wrapper {
    justify-content: space-between;
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner .button-wrapper.practice-button-wrapper a.practice-more-button {
    text-decoration-line: underline;
    padding: 0;
    color: var(--white);
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0);
}
#products-listing .product-listing-content .products-listing-wrapper .product-card-inner:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}
#products-listing .product-listing-content #search-results-container.active {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-block: 0 80px;
}
#products-listing .product-listing-content #search-results {
    width: 100%;
}
#products-listing #back-to-top-practice {
    z-index: 1;
    position: sticky;
    top: 200px;
    padding-block: 40px 0;
    opacity: 1;
    transition: 0.4s all;
}
#products-listing #back-to-top-practice .container-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
#products-listing #back-to-top-practice a {
    background-color: var(--white);
    border-radius: 100px;
    border: 1px solid var(--grey-30);
    padding: 16px 24px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    margin-left: auto;
    margin-right: 0;
}
#products-listing #back-to-top-practice a span {
    position: relative;
    -webkit-mask-image: url('./images/arrow.svg');
    mask-image: url('./images/arrow.svg');
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 12px;
    height: 14px;
    transition: 0.4s all;
}
#products-listing #back-to-top-practice a:hover {
    color: var(--orange-10);
    border-color: var(--orange-10);
}
#products-listing #back-to-top-practice a:hover span {
    background-color: var(--orange-10);
}
#products-listing #back-to-top-practice.hidden {
    opacity: 0;
}
#products-listing #back-to-top-container {
    z-index: 1;
    position: sticky;
    top: 200px;
    padding-block: 40px 0;
    opacity: 1;
    transition: 0.4s all;
}
#products-listing #back-to-top-container .container-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
#products-listing #back-to-top-container a {
    background-color: var(--white);
    border-radius: 100px;
    border: 1px solid var(--grey-30);
    padding: 16px 24px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    margin-left: auto;
    margin-right: 0;
}
#products-listing #back-to-top-container a span {
    position: relative;
    -webkit-mask-image: url('./images/arrow.svg');
    mask-image: url('./images/arrow.svg');
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 12px;
    height: 14px;
    transition: 0.4s all;
}
#products-listing #back-to-top-container a:hover {
    color: var(--orange-10);
    border-color: var(--orange-10);
}
#products-listing #back-to-top-container a:hover span {
    background-color: var(--orange-10);
}
#products-listing #back-to-top-container.hidden {
    opacity: 0;
}
