#wpd_top_bar svg {
    margin: 0 !important;
    width: 16px;
    height: 16px;
}

#wpd_top_bar {
    display: flex;
    justify-content: center;
    min-height: 40px;
    margin-bottom: 10px;
}

#search_input_wrapper {
    flex: 1 1 auto;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    display: flex;
}

#wpd_txt_search {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 6.5px 10px;
    width: 100%;
    border-left: none;
    outline: none;
    margin: 0;
    height: auto;
    font-size: 14px;
    line-height: 20px;
    background: transparent;
}

#wpd_txt_search:focus-visible {
    box-shadow: none !important;
}

#wpd_search_icon {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-right: none;
    display: flex;
    align-items: center;
    padding: 0 0 0 15px;
}

#wpd_search_icon svg, #wpd_collection_filter_button_wrapper svg {
    width: 20px;
    height: 20px;
}

.product-extra-info {
    padding: 16px;
    line-height: 1.6;
    flex: 1;
}

#showMoreProducts {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 10px 24px !important;
    font-weight: bold;
    min-height: 48px;
    margin: 0 auto;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

#noMoreProductsToShow div {
    margin-top: 25px;
}

#backToTopLink {
    text-decoration: underline;
    border: none;
    margin-left: 5px;
}

#wpd_no_search_result {
    display: none;
    text-align: center;
    width: 100%;
    padding: 100px;
    background: white;
}

#no_search_result_message {
    max-width: 280px;
    margin: 0 auto;
}

#no_search_result_header {
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: bold;
}

/* .show-no-search-result-section table,
.show-no-search-result-section .table-wrapper {
    display: none;
} */

.show-no-search-result-section #wpd_no_search_result {
    display: block;
}

.show-no-search-result-section #showMoreRow {
    display: none;
}

#showMoreRow {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 32px;
}

.wpd-pagination-buttons {
    padding: 8px 16px;
    width: 52px;
    height: 36px;
    position: relative;
}

.wpd-pagination-previous-button {
    border-width: 1px 0 1px 1px !important;
}

.wpd-disable-pagination-button {
    pointer-events: none;
    opacity: 0.4;
}

#search-result-message {
    display: none;
    margin-top: 20px;
    font-weight: bold;
}

#lbl_filter_collection_header{
    margin-bottom: 16px;
}

#wpd_sort_by_button_wrapper, #wpd_collection_filter_button_wrapper {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    display: flex;
    column-gap: 8px;
    align-items: center;
    margin-right: 16px;
    cursor: pointer;
    height: 100%;
    line-height: 20px;
}

#wpd_sort_by_label, #wpd_collection_filter_label {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

#wpd_sort_by_value {
    font-size: 14px;
    line-height: 20px;
}

#wpd_sort_by_dropdown_content, #wpd_collection_filter_dropdown_content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #000000;
    overflow: auto;
    z-index: 2;
    margin-top: 5px;
    padding: 16px;
}

.sort-by-option, .collection-filter-option {
    padding: 8px 0;
    align-items: center;
    display: flex;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
}

.sort-by-option label, .collection-filter-option label {
    margin: 0 0 0 5px;
}

.sort-by-option:last-child, .collection-filter-option:last-child {
    box-shadow: none;
    padding-bottom: 0;
}

.sort-by-option:first-child, .collection-filter-option:first-child {
    padding-top: 0;
}

.sort-by-option * {
    cursor: pointer;
}

#wpd_collection_filter_dropdown_content {
    max-height: 350px;
}

.product-image-wrapper {
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.wpd-product-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: scale-down;
    object-position: center !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fafafa;
}

.wpd-grid-product-title-wrapper {
    margin-bottom: 8px;
    line-height: 24px;
}

.wpd-product-image,
.wpd-product-title {
    cursor: pointer;
}

.wpd-product-image:hover {
    opacity: 0.7;
}

.wpd-product-title:hover {
    text-decoration: underline;
}

.wpd-product-title {
    font-weight: 700;
    font-size: 16px;
}

.wpd-compare-price {
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
}

.wpd-price {
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 8px;
}

.wpd-from-label {
    margin-right: 5px;
    line-height: 16px;
    margin-bottom: 8px;
}

.wpd-price-wrapper {
    display: flex;
    flex-direction: column;
}

.wpd-price-wrapper .wpd-relative-position {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
}

.wpd-price+.wpd-collection-volume-discount-label {
    margin-bottom: 8px;
}

.wpd-grid-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 -16px 16px -16px;
    display: block !important;
}

.action-buttons-wrapper {
    display: flex;
    column-gap: 16px;
    flex-wrap: wrap;
    row-gap: 16px;
}

.quantity-box-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 32px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.wpd-quantity-text-box::-webkit-inner-spin-button,
.wpd-quantity-text-box::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    margin: 0 !important
}

.wpd-quantity-text-box:focus-visible {
    box-shadow: none !important;
}

.wpd-minus-quantity {
    background-color: white !important;
    border: none !important;
    border-right: none;
    font-size: 20px;
    border-radius: 4px 0 0 4px;
    color: rgba(0, 0, 0, 0.5) !important;
    padding: 0 0 0 10px;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    cursor: pointer;
    font-weight: bold;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
}

.wpd-quantity-text-box {
    background-color: white !important;
    border: none !important;
    width: 50px !important;
    border-right: none !important;
    border-left: none !important;
    outline: none;
    border-radius: 0;
    padding: 12px;
    text-align: center;
    color: #000000;
    margin: 0 !important;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    flex-grow: unset;
    font-size: 14px;
    line-height: 16px;
}

.wpd-plus-quantity {
    background-color: white !important;
    border: none !important;
    border-left: none;
    border-radius: 0 4px 4px 0;
    color: rgba(0, 0, 0, 0.5) !important;
    padding: 0 8px 0 0;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 20px;
    padding-top: 2px;
    cursor: pointer;
    font-weight: bold;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
}

.wpd-plus-quantity:hover,
.wpd-minus-quantity:hover {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.wpd-add-to-cart {
    position: relative;
    padding: 12px;
    width: 100%;
    border: none;
    font-size: 14px;
    line-height: 16px;
    flex: 1;
}

.wpd-sold-out {
    position: relative;
    padding: 12px;
    width: 100%;
    border: none;
    pointer-events: none;
    opacity: 0.5;
    flex: 1;
}

.wpd-view-options {
    position: relative;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    line-height: 16px;
}

.wpd-grid-action-wrapper {
    padding: 0 16px 16px 16px;
    cursor: default;
}

.wpd-collection-volume-discount-label {
    background: #44DDCC;
    color: #FFFFFF;
    margin-right: 24px;
    padding: 4px 8px;
    flex: none;
    font-size: 12px;
    line-height: 12px;
}

.wpd-price-vd-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.wpd-collection-vd-table {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 99999;
    border: 1px solid;
    padding: 0 10px;
    background: white;
}

.wpd-collection-volume-discount-label:hover+.wpd-collection-vd-table {
    display: block;
}

.wpd-collection-vd-table table, .wpd-collection-vd-table table tr td, .wpd-collection-vd-table table tr th, .wpd-collection-vd-table table tr:last-child {
    border: none;
    box-shadow: none;
}

.wpd-collection-vd-table table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

}
.wpd-grid-product-sku-wrapper {
    margin-bottom: 16px;
    margin-top: -8px;
}

@media only screen and (max-width: 600px) {
    .wpd-collection-volume-discount-label {
        margin: 0;
    }

    .wpd-price-wrapper .wpd-relative-position {
        justify-content: center;
    }

    .action-buttons-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .product-extra-info {
        text-align: center;
    }

    #showMoreRow {
        justify-content: center;
    }

    #wpd_sort_by_button_wrapper, #wpd_sort_by_main_wrapper {
        width: 100%;
    }

    #wpd_sort_by_value {
        flex: 1;
    }

    .wpd-grid-item .quantity-box-wrapper {
        width: 100%;
    }

    .wpd-grid-item .wpd-quantity-text-box {
        width: 80px !important;
    }
}