/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

div#leafbridge-cart-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background: transparent;
    right: -110vw;
    z-index: 10;
    transition: ease-in-out 0.5s all;
}

div#leafbridge-cart-wrapper.open_cart {
    right: 0;
}

.cart_background {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

div#leafbridge-cart-wrapper .cart_inner {
    background: white;
    box-shadow: 5px 5px 45px 15px rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 500px;
    height: 100%;
    overflow-y: auto;
    z-index: 2;
    padding-top: 60px;
}

.cart_button_wrapper {
    display: inline-block;
    line-height: 1;
}

button.leafbridge-pro-cart-button {
    display: inline-block;
    border: 1px solid #cacaca;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
    width: 100%;
}

.leafbridge-cart-wrapper.open_cart .cart_background {
    top: 0;
    opacity: 1;
    transition: ease-in-out 0.25s all 0.5s;
}

.leafbridge-cart-wrapper .cart_background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
    top: 0;
    transition: ease-in-out 0.25s all 0.5s;
    transition: ease-in-out 0.25s all 0s, ease-in-out 0.10s opacity 0s;
    opacity: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    position: relative;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.item-brand {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;

}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-control label {
    font-size: 12px;
    margin-right: 8px;
}

.quantity-control button {
    width: 25px;
    height: 25px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
}

.quantity-control input {
    width: 30px;
    text-align: center;
    border: 1px solid #ccc;
    background: #fff;
}

.item-price {
    font-weight: bold;
    min-width: 70px;
    text-align: right;
    margin-left: 10px;
    display: inline-flex;
    flex-direction: column;
}

span.normal_price {
    display: inline-flex;
    flex-direction: column;
    font-size: 12px;
    text-align: right;
    align-items: end;
}

span.priceXqty {
    display: inline-flex;
    flex-direction: row;
    font-size: 10px;
    gap: 4px;
    justify-content: flex-end;
}

.remove-btn {
    position: absolute;
    top: 0;
    right: -5px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.update-section {
    text-align: right;
    margin-top: 20px;
}

.update-cart-btn {
    padding: 10px 20px;
    background: #0c3f63;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.summary {
    margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
    font-size: 0.95em;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.1em;
}

.checkout-btn {
    margin-top: 20px;
}

.checkout-btn button {
    width: 100%;
    padding: 15px;
    background: #ff415b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.cart_loader_wrapper {
    width: 100%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    gap: 0px;
    display: none !important;
}

img.cart_loader {
    width: 100px;
    object-fit: contain;
    display: inline-block;
}

.cart_loader_wrapper span {
    display: inline-block;
    font-size: inherit;
    font-family: inherit;
}

div#cart_render {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.checkout-btn {
    margin-top: 40px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.checkout-btn a {
    text-decoration: none;
    padding: 10px 30px;
    display: inline-block;
    background: #ff5b5b;
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}

button.update_item_count {
    width: auto;
}

.cart_items.updating_cart_item {
    pointer-events: none !important;
    opacity: 0.7;
}

button.update_item_count {
    display: none !important;
}

.cart_items {
    max-height: 50vh;
    overflow-y: scroll;
    min-height: 400px;
    padding-right: 10px;
    padding-bottom: 20px;
}

.order-summary {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

.order-item {
    display: inline-flex;
    width: 100%;
    flex-direction: row;
    font-size: 17px;
    gap: 20px;
}

.order-total {
    font-size: 30px;
    display: inline-block;
    padding-top: 20px;
}

.order-item {
    display: inline-flex;
    width: 100%;
    flex-direction: row;
    font-size: 17px;
    gap: 30px;
    border: 1px solid;
    padding: 10px 40px;
    margin-top: 20px;
}

.order-item-image {
    display: inline-block;
    width: 150px;
    height: 150px;
    min-width: 150px;
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-item-quantity,
.order-item-price,
.order-item-total {
    min-width: 150px;
}

.order-item strong {
    font-weight: bold;
}

body.page .filter-group[data-filter-attr="subCategory"],
body.taxonomy-accessories .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-apparel .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-cbd .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-concentrates .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-edibles .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-flower .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-pre_rolls .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-tinctures .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-topicals .leafbridge_shop .filter-group[data-filter-attr="categories"],
body.taxonomy-vaporizers .leafbridge_shop .filter-group[data-filter-attr="categories"] {
    display: none !important;
}

body.taxonomy-accessories .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-accessories .sub_cat_selector_cat_group[data-cat="Accessories"] {
    display: block;
}

body.taxonomy-apparel .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-apparel .sub_cat_selector_cat_group[data-cat="Apparel"] {
    display: block;
}

body.taxonomy-cbd .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-cbd .sub_cat_selector_cat_group[data-cat="Cbd"] {
    display: block;
}

body.taxonomy-concentrates .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-concentrates .sub_cat_selector_cat_group[data-cat="Concentrates"] {
    display: block;
}

body.taxonomy-edibles .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-edibles .sub_cat_selector_cat_group[data-cat="Edibles"] {
    display: block;
}

body.taxonomy-flower .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-flower .sub_cat_selector_cat_group[data-cat="Flower"] {
    display: block;
}

body.taxonomy-pre_rolls .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-pre_rolls .sub_cat_selector_cat_group[data-cat="Pre_rolls"] {
    display: block;
}

body.taxonomy-tinctures .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-tinctures .sub_cat_selector_cat_group[data-cat="Tinctures"] {
    display: block;
}

body.taxonomy-topicals .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-topicals .sub_cat_selector_cat_group[data-cat="Topicals"] {
    display: block;
}

body.taxonomy-vaporizers .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-vaporizers .sub_cat_selector_cat_group[data-cat="Vaporizers"] {
    display: block;
}

body.taxonomy-vaporizers .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-orals .sub_cat_selector_cat_group[data-cat="Orals"] {
    display: block;
}

body.taxonomy-vaporizers .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-clones .sub_cat_selector_cat_group[data-cat="Clones"] {
    display: block;
}

body.taxonomy-vaporizers .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-seeds .sub_cat_selector_cat_group[data-cat="Seeds"] {
    display: block;
}

body.taxonomy-vaporizers .sub_cat_selector_cat_group {
    display: none;
}

body.taxonomy-not_applicable .sub_cat_selector_cat_group[data-cat="Not_Applicable"] {
    display: block;
}

span.tax_note {
    display: inline-block;
    width: 100%;
    font-size: 14px;
    text-align: right;
}

.cart_footer .summary-row.subtotal_row {
    font-weight: bold;
}

span.cart-button-text {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}


body.single-brands .lb_prod_filter_attr_box[filter_attr="brands"] {
    display: none !important;
}

.brand-search-container {
    margin-bottom: 20px;
    text-align: center;
}

#brand-search {
    padding: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#no-brands-found {
    display: none;
    margin: auto;
    padding-top: 10px;
}

.brands-container {
    display: grid;
    gap: 20px;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brand-card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 210px;
}

.brand-card a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.brand-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}

.brand-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 !important;
}

.list .leafbridge_product_card.product_popup_enabled .leafbridge_product_modal,
.leafbridge_product_card.product_popup_enabled {
    cursor: pointer;
}

.leafbridge_product_card.product_popup_enabled a[href='#'] {
    pointer-events: none;
}

.leafbridge_product_card.product_popup_enabled .open_prod_modal {
    opacity: 0 !important;
}

.leafbridge_product_card.product_popup_enabled>a {
    pointer-events: none !important;
}

span.no_pdp_popup_close.nopdppopupbtn {
    position: absolute;
    top: calc(5% + 20px);
    right: calc(5% + 20px);
    z-index: 10001;
    cursor: pointer;
}

.lb_prod_popup_page_link {
    display: inline-flex;
    border: 1px solid #656565;
    font-size: 13px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    text-decoration: none !important;
}

.lb_prod_popup_page_link i.fas {
    font-size: inherit;
    text-decoration: none !important;
    border: none;
}


.lb_search_products_input_wrapper_shortcode input,
.lb_search_products_input_wrapper_shortcode button {
    box-sizing: border-box;
    outline: none;
    padding: 0 10px;
}

.lb_search_products_input_wrapper_shortcode input {
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    height: 40px;
    width: 100%;
}

.lb_search_products_input_wrapper_shortcode {
    align-items: stretch;
    display: inline-flex;
    flex-direction: row;
    justify-content: stretch;
}

button.products_clear_search_button_shortcode,
button.products_search_button_shortcode {
    border-radius: 0;
    border: 1px solid #ccc;
    cursor: pointer;
}


/* pagination css */
.lb_pagination_wrapper {
    display: flex;
    column-gap: 30px;
    width: 100% !important;
    margin-bottom: 30px !important;
}

.lb_pagination_wrapper .pagination_button {
    position: relative;
}

.lb_pagination_wrapper .pagination_button a {
    display: inline-block;
    text-decoration: none !important;
    font-size: 18px;
    color: black;
    font-family: inherit;
    border-bottom: 1px solid transparent;
    text-transform: capitalize;
}

.lb_pagination_wrapper .pagination_button.current_page a,
.lb_pagination_wrapper .pagination_button a:hover {
    color: #1f2023;
    border-bottom: 1px solid;
}

.lb_pagination_wrapper .pagination_button::after {
    content: "\f054";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    font-family: "FontAwesome";
    font-size: 12px;
    transition: all 0.5s ease-in-out;
}

.lb_pagination_wrapper .pagination_button.current_page::after {
    display: none;
}


.floating_cart_button_wrapper {
    display: inline-flex;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 10;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
}

.floating_cart_button_wrapper button.leafbridge-pro-cart-button {
    border: none !important;
}

.floating_cart_button_wrapper span.cart-button-text {
    font-size: 20px;
}

.cart-products-carousel {
    display: inline-block;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
}

.cart_header {
    display: inline-flex;
    z-index: 1000;
    position: fixed;
    padding: 0 30px 0px;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    top: 30px;
}

button#reset_cart {
    order: 1;
}

span.lb_dev_active {}

.filter-group .filter-title {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.filter-group .filter-title::before {
    content: "\f078";
    position: absolute;
    top: 16px;
    transform: translateY(-50%) rotateZ(0deg);
    right: 0px;
    font-family: "FontAwesome";
    font-size: 16px;
    transition: all 0.5s cubic-bezier(0.42, 0, 0, 1.59);
}

.filter-group.active .filter-title::before {
    transform: translateY(-50%) rotateZ(180deg);
}

@media screen and (max-width:768px) {
    div#leafbridge-cart-wrapper .cart_inner {
        width: 100%;
    }
}

/* =====================================================
   Jane Checkout Slider
   ===================================================== */

div#jane-checkout-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background: transparent;
    right: -110vw;
    z-index: 10;
    transition: ease-in-out 0.5s all;
}

div#jane-checkout-wrapper.open_jane_checkout {
    right: 0;
}

.jane-checkout-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
    top: 0;
    opacity: 0;
    transition: ease-in-out 0.25s all 0s, ease-in-out 0.10s opacity 0s;
}

div#jane-checkout-wrapper.open_jane_checkout .jane-checkout-background {
    opacity: 1;
    transition: ease-in-out 0.25s all 0.5s;
}

.jane-checkout-inner {
    background: white;
    box-shadow: 5px 5px 45px 15px rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 600px;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, max-width 0.3s ease;
}

div#jane-checkout-wrapper.jane-checkout-fullwidth .jane-checkout-inner {
    width: 100%;
    max-width: 100%;
}

.jane-checkout-header {
    display: inline-flex;
    z-index: 1000;
    position: relative;
    padding: 20px 30px;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* .jane-checkout-title {
    font-size: 18px;
    font-weight: 600;
} */

#close_jane_checkout {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid #cacaca;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

#close_jane_checkout:hover {
    background: #f5f5f5;
}

div#jane-checkout-wrapper.jane-checkout-fullwidth #close_jane_checkout {
    display: block;
}

.jane-checkout-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.jane-checkout-content iframe,
.jane-checkout-content #jane-menu {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    flex: 1;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: block !important;
}

.jane-checkout-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 16px;
    color: #888;
}

@media screen and (max-width: 768px) {
    .jane-checkout-inner {
        width: 100%;
        max-width: 100%;
    }
}