/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* .woocommerce-shipping-total {
  display: flex;
  flex-wrap: wrap;
  position: relative;
} */

.cart_totals table.shop_table.shop_table_responsive > tbody > *,
#order_review .shop_table.woocommerce-checkout-review-order-table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

#order_review .shop_table.woocommerce-checkout-review-order-table,
#order_review .shop_table.woocommerce-checkout-review-order-table > *,
#order_review .lpp-shipping-package-wrapper,
#order_review .lpp-shipping-package-wrapper table,
#order_review .lpp-shipping-package-wrapper tbody,
#order_review .lpp-shipping-package-wrapper td {
    display: block;
    width: 100%;
    max-width: 100%;
    position: relative;
}

#order_review .shop_table.woocommerce-checkout-review-order-table .cart_item .product-name {
    flex: 1;
}

.cart_totals table.shop_table.shop_table_responsive > tbody > tr > *,
#order_review .shop_table.woocommerce-checkout-review-order-table tr > * {
    border-bottom: 0;
}

.cart_totals table.shop_table.shop_table_responsive > tbody > tr,
.cart_totals table.shop_table.shop_table_responsive > tbody > tr.woocommerce-shipping-total > th,
#order_review .shop_table.woocommerce-checkout-review-order-table tr {
    border-bottom: 1px solid #ececec;
    width: 100%;
}

.woocommerce-shipping-total > *,
.shop_table tr.shipping th {
    padding: 1rem 0;
    width: 100%;
}

ul#shipping_method {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0;
}

ul#shipping_method > li {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

ul#shipping_method > li label {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    padding: 10px;
    background: #ededed;
    border: 1px solid #ededed;
    cursor: pointer;
}

ul#shipping_method > li label:hover {
    background: #7f7f7f;
    border: 1px solid #7f7f7f;
    color: #fff;
    transition: all 0.25s ease-in-out;
}

ul#shipping_method > li input {
    display: none;
}

ul#shipping_method > li input:checked + label {
    background: #000;
    border: 1px solid #000;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

ul#shipping_method .pickup-location-field {
    text-align: left;
    width: 100%;
    margin-top: 1rem;
}

ul#shipping_method .pickup-location-field .select2.select2-container {
    width: 100% !important;
}

ul#shipping_method .shipping__list_item:only-child label {
    background: #000;
    border: 1px solid #000;
    color: #fff;
    opacity: 1;
}

.container .message-container {
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 20px;
}

.container .message-container.alert-color {
    border-left: 3px solid #b20000;
    background-color: rgb(178 0 0 / 10%);
}

.page-checkout .woocommerce.row.row-divided .col {
    position: inherit;
}

.cart-collaterals .cart-sidebar .cart_totals .product-name {
    border: 0;
}

.pickup-location-field.pickup-location-cart-item-field {
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    max-width: 100%;
    color: #000;
    display: block;
    margin: 1rem 0;
}

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #ececec;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: #b3b3b3;
    border-radius: 20px;
    border: 4px solid #ececec;
}

::-webkit-scrollbar-thumb:hover {
    background: #838383;
}

.accessories {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: both mandatory;
    overscroll-behavior-x: contain;
}

.accessories > .accessories-item {
    flex: 0 0 131px;
    text-align: center;
    opacity: 0.25;
    transition: opacity 0.3s ease-in-out;
    scroll-snap-stop: normal;
    scroll-snap-align: center;
}

.accessories > .accessories-item:hover {
    opacity: 0.75;
}

.accessories-item.current {
    opacity: 1;
}

.accessories-item .accessories-item-name {
    display: inline-block;
    color: #000;
    font-size: 0.875rem;
    line-height: 1.4;
}
