/*
Theme Name: Waterstop Child
Theme URI: http://localhost/waterstoplive/
Description: Child theme for Waterstop.
Author: IT SOFT
Author URI: https://www.itsoft.com.au/
Template: waterstop
Version: 1.0.0
Text Domain: waterstop-child
*/

body, p, span, li, a, div, span.title {
  font-family: 'Montserrat', sans-serif !important;
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 10px;
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Scrollbar thumb (scrolling part) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, #6e1a23 0%, #14294a 100%) !important;
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, #6e1a23 0%, #14294a 100%) !important;
}

h3 a.color-title{
	font-family: "Red Hat Text", Sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: 'Montserrat', sans-serif !important;
}

/* Optional: make Elementor button text match headings */
.elementor-button, 
button, 
input[type="submit"] {
  font-family: 'Montserrat', sans-serif !important;
}

.related_products .related.products li.product {
    background: linear-gradient(120deg, #6e1a23 0%, #14294a 100%) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
}

.related_products .related.products li.product a.woocommerce-loop-product__link {
    padding: 10px;
    width: 100%;
}

.related_products .related.products li.product a.woocommerce-loop-product__link img {
    padding: 0px 0px 8px 0px;
}

.related_products .related.products li.product a.add_to_cart_button {
    margin: 0px 10px 20px 10px;
    width: -webkit-fill-available;
}

.waterstop-product-archive__layout a.add_to_cart_button:hover {
    background: #000000 !important;
}

.waterstop-archive-pagination-wrap .waterstop-archive-loadmore {
    width: auto !important;
}

.waterstop-archive-pagination-wrap .waterstop-archive-loadmore:hover {
    background: #000000 !important;
}

.product-popup-content .bulk_pricing_discounts_wrapper {
    color: #fff;
    margin-bottom: 30px;
}

.product-popup-content .quantity {
    margin-right: 10px !important;
    height: 48px !important;
}

.waterstop-single-add-to-cart-widget a.qty-down,
.waterstop-single-add-to-cart-widget a.qty-up {
    color: #000 !important;
}

.waterstop-quickview-panel form.variations_form table.variations th.label,
form.variations_form table.variations th.label {
    text-align: left;
    margin-bottom: 10px !important;
}

.waterstop-quickview-panel form.variations_form table.variations td.value section,
form.variations_form table.variations td.value select {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, .06) !important;
    border: none !important;
    outline: none;
    border-radius: 10px !important;
}

.waterstop-quickview-panel form.variations_form table.variations td.value section option,
form.variations_form table.variations td.value select option{
    color: #111827 !important;
    background: #ffffff !important;
}

.qty {
    outline: none;
}

.woocommerce div.product form.cart div.quantity {
    margin-right: 10px !important;
}

.woocommerce div.product form.cart .button {
    margin-right: 10px;
}

.bulk_pricing_discounts table, .bulk_pricing_discounts_wrapper, .bulk_pricing_discounts_wrapper table {
    color: #fff;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    line-height: normal !important;
}

.woocommerce div.product form.cart .single_buy_now_button {
    padding: 16.5px !important;
    line-height: normal;
}

.woocommerce-error li {
    color: #000 !important;
}

a.product-thumb-link {
    display: flex !important;
}

a.product-thumb-link img {
    object-fit: cover;
    aspect-ratio: 1;
}
/* waterstop-style5-slider-fixes */
.product-slider-view.shop-grid-product-item-style5 .swiper-wrapper,
.shop-slider-product-item-style5 .swiper-wrapper {
    align-items: stretch;
}

.product-slider-view.shop-grid-product-item-style5 .swiper-slide,
.shop-slider-product-item-style5 .swiper-slide {
    display: flex;
    height: auto !important;
}

.product-slider-view.shop-grid-product-item-style5 .swiper-slide > div,
.shop-slider-product-item-style5 .swiper-slide > div,
.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5,
.shop-slider-product-item-style5 .item-grid-product-style5 {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .item-product,
.shop-slider-product-item-style5 .item-grid-product-style5 .item-product {
    width: 100%;
    min-height: 100%;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .product-info,
.shop-slider-product-item-style5 .item-grid-product-style5 .product-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .product-info > *:first-child,
.shop-slider-product-item-style5 .item-grid-product-style5 .product-info > *:first-child {
    margin-top: 0 !important;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .product-title,
.shop-slider-product-item-style5 .item-grid-product-style5 .product-title {
    min-height: calc(1.35em * 2 + 6px);
    margin-bottom: 8px;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .wrap-rating,
.shop-slider-product-item-style5 .item-grid-product-style5 .wrap-rating {
    min-height: 18px;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .title-rating,
.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .dc_product_price,
.shop-slider-product-item-style5 .item-grid-product-style5 .title-rating,
.shop-slider-product-item-style5 .item-grid-product-style5 .dc_product_price {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    min-height: 48px;
    margin-top: auto;
}

.product-slider-view.shop-grid-product-item-style5 .item-grid-product-style5 .title-rating .ex-tax,
.shop-slider-product-item-style5 .item-grid-product-style5 .title-rating .ex-tax {
    margin-left: 4px;
    white-space: nowrap;
}


@media (max-width: 1200px) {
    .waterstop-checkout-widget .checkout-custom > .bzotech-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .waterstop-checkout-widget .checkout-custom .bzotech-col-md-7,
    .waterstop-checkout-widget .checkout-custom .bzotech-col-sm-8,
    .waterstop-checkout-widget .checkout-custom .bzotech-col-md-5,
    .waterstop-checkout-widget .checkout-custom .bzotech-col-sm-4,
    .waterstop-checkout-widget .checkout-custom .bzotech-col-xs-12 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        display: block !important;
        clear: both !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
    }

    .waterstop-checkout-widget .order-custom.waterstop-checkout-sidebar,
    .waterstop-checkout-widget #order_review,
    .waterstop-checkout-widget #payment,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .waterstop-checkout-widget .order-custom.waterstop-checkout-sidebar {
        margin: 0 !important;
        padding: 22px;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table {
        table-layout: fixed;
        border-collapse: collapse;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table th,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td {
        padding: 14px 16px;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table th:first-child,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td:first-child {
        width: 54%;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table th:last-child,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td:last-child {
        width: 46%;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul li {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul li label {
        flex: 1 1 auto;
        text-align: left;
        line-height: 1.45;
        margin: 0;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul li .shipping_method {
        flex: 0 0 auto;
        width: auto;
        margin-top: 3px;
    }

    .waterstop-checkout-widget #payment .payment_methods,
    .waterstop-checkout-widget #payment .wc_payment_methods,
    .waterstop-checkout-widget #payment .form-row.place-order {
        padding-left: 0;
        padding-right: 0;
    }

    .waterstop-checkout-widget #payment .payment_methods label,
    .waterstop-checkout-widget #payment .wc_payment_methods label {
        gap: 8px;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .waterstop-checkout-widget .order-custom.waterstop-checkout-sidebar {
        padding: 16px;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table th,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td {
        padding: 12px 14px;
    }
}

@media (max-width: 1200px) {
    .waterstop-checkout-widget .checkout-custom .bzotech-col-md-5.bzotech-col-sm-4.bzotech-col-xs-12,
    .waterstop-checkout-widget .checkout-custom .bzotech-col-md-7.bzotech-col-sm-8.bzotech-col-xs-12 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        float: none !important;
        display: block !important;
    }

    .waterstop-checkout-widget .checkout-custom .bzotech-col-md-5.bzotech-col-sm-4.bzotech-col-xs-12 {
        grid-column: 1 / -1 !important;
        margin-top: 24px !important;
    }

    .waterstop-checkout-widget .order-custom.waterstop-checkout-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table {
        width: 100% !important;
        table-layout: fixed;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table thead th,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table tbody td,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table tfoot th,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table tfoot td {
        padding: 14px 16px;
        vertical-align: top;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
        width: 100%;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul li label {
        margin: 0;
        text-align: left;
        line-height: 1.45;
    }

    .waterstop-checkout-widget .woocommerce-checkout-review-order-table td ul li .shipping_method {
        margin-top: 4px;
        justify-self: end;
    }
}

@media (max-width: 767px) {
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table thead th,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table tbody td,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table tfoot th,
    .waterstop-checkout-widget .woocommerce-checkout-review-order-table tfoot td {
        padding: 12px 14px;
    }
}


.woocommerce div.product form.cart .single_add_to_cart_button {
    background: linear-gradient(90deg, #8b6f7d 0%, #7d8399 100%) !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 13px 25px 13px 25px !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #000 !important;
    color: #fff !important;
}

.product-thumb .product-extra-link a.quickview-link {
    background: linear-gradient(90deg, #8b6f7d 0%, #7d8399 100%) !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    padding: 8px 8px !important;
    line-height: normal;
    height: auto !important;
    width: auto !important;
    /* border-radius: 50px 50px 50px 50px !important; */
    /* padding: 13px 25px 13px 25px !important; */
}

.product-thumb .product-extra-link a.quickview-link i {
    line-height: normal !important;
}

.product-thumb .product-extra-link a.quickview-link:hover {
    background: #000 !important;
    color: #fff !important;
}

.item-grid-product-style5 .addcart-link-style5 {
    background: linear-gradient(90deg, #8b6f7d 0%, #7d8399 100%) !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
}

.item-grid-product-style5 .addcart-link-style5:hover {
    background: #000 !important;
    color: #fff !important;
}

.product-tab-style5 .waterstop-products-tab-head .product-tab-title .nav-tabs {
    justify-content: end;
}

.waterstop-cart-widget .waterstop-cart-summary {
    position: sticky;
    top: 320px;
    align-self: start;
}

#photoswipe-fullscreen-dialog {
    z-index: 9999999;
}
