/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


.brands-product-query__block.brxe-block {
    padding-top: 2.5rem;
    padding-right: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 2.5rem;
    border: 1px solid var(--bricks-border-color);
    border-radius: var(--radius-l);
    row-gap: 2rem;
}

.brands-product__post-title.brxe-post-title, .woocommerce-loop-product__title {
    color: var(--dark);
    font-size: var(--text-m);
}

.brands-product__pricing-text.brxe-text-basic, .products.columns-4 .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.8rem;
}


.variations tbody tr {
    display: flex;
    flex-direction: column;
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: 2em;
    vertical-align: top;
}
.variations tbody tr th {
    padding: 0;
    text-align: left;
}
.woocommerce div.product form.cart .variations label {
    font-weight: 700;
    text-align: left;
}
.variations th.label label {
    cursor: auto;
}
.variations td {
    line-height: 1.15;
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: 2em;
    vertical-align: top;
}
.woo-variation-swatches ul.variable-items-wrapper {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.woocommerce.woo-variation-swatches .radio-variable-items-wrapper .radio-variable-item {
    display: list-item;
    margin-bottom: .25em;
    opacity: 1;
    transition-behavior: allow-discrete;
    transition-duration: .3s;
    transition-property: background-color, border, opacity, display;
    width: 100%;
}
.woocommerce div.product form.cart .variations label {
    font-weight: 700;
    text-align: left;
}

.woocommerce.woo-variation-swatches .radio-variable-items-wrapper .radio-variable-item label {
    align-items: center;
    border: 1px solid #273242CC;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    gap: var(--text-m, .8rem);
    padding: 5px 10px;
    min-height: 4em;
}

li.selected.radio-variable-item label {
    border: 1px solid #4088C2 !important;
    background-color: #F0F4F7 !important;
}

.woocommerce.woo-variation-swatches .radio-variable-items-wrapper .radio-variable-item label .variable-item-radio-value-wrapper {
    align-items: center;
    /* display: flex; */
    flex-direction: row;
    gap: var(--text-m, .8rem);
    margin: 0;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    font-size: 13px;
}

.variable-item-radio-value-wrapper .price {
    font-size: 13px;
    color: var(--primary);
}
.woocommerce.woo-variation-swatches .radio-variable-items-wrapper .radio-variable-item label .variable-item-radio-value-wrapper img {
    border-radius: var(--text-m);
    height: 3em;
    width: 3em;
}
.woocommerce div.product form.cart .variations label.variable-item-radio-input-wrapper p.stock {
    display: none;
}
.variable-item-radio-input-wrapper input[type="radio"] {
    position: absolute;
    left: -9999px;
}


.alignwide {
    margin-left: auto !important;
	width: 100% !important;
}

#brx-content > h1 {
    margin: 25px 0px;
}

form.woocommerce-checkout.bricks-default-checkout {
    display: block !important;
}






/* Two Column Checkout Layout */
@media (min-width: 768px) {
    /* Wrapper as flex */


    /* Billing + Shipping column */
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        width: 100%;
    }

    /* Fix default columns */
    .woocommerce-checkout .col2-set {
        max-width: 55%; /* Left side size */
    }

    /* Order Review column */
    .woocommerce-checkout #order_review_container {
        max-width: 45%; /* Right side size */
    }

    /* Make order box sticky on desktop */
    .woocommerce-checkout .woocommerce-checkout-review-order {
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
}

/* Fab css code  */
.checkout_forms_ui {
	display: flex; 
	gap: 30px;
}
@media (max-width: 768px) {
	.wordpress.post-56.page.type-page.status-publish.hentry{
		padding: 0 20px;
	}
	.wordpress.post-57.page.type-page.status-publish.hentry{
		padding: 0 20px;
	}
	.checkout_forms_ui {
		display: block;
	}
	#tab-_watch_video iframe {
        width: 100%;
        height: auto;

    }
}

.woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}

#tab-_watch_video iframe {
    width: 100%;
    height: 600px;

}


#us_import_terms_field .woocommerce-input-wrapper .checkbox {
    appearance: none;
    display: block;
    place-content: center;
    border: 0;
    border-radius: 0;
    width: 100%;
    height: auto;
}

.checkout-product-image img {
    border-radius: 8px;
}

.meta-text:hover {
    text-decoration: underline;
    cursor: pointer;
}

.iwoca-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.iwoca-popup-container {
    background: #fff;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    animation: fadeInUp .3s ease;
}

.iwoca-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-size: 26px;
    color: #333;
}

@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

form.cart .quantity .minus,
form.woocommerce-cart-form .quantity .minus {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    user-select: none;
    position: absolute;
    top: 0px;
    border: 0;
    background: transparent;
    left: 106px;
    width: 8%;
    height: 100%;
}

form.cart .quantity .plus,
form.woocommerce-cart-form .quantity .plus {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    user-select: none;
    position: absolute;
    top: 0px;
    border: 0;
    background: transparent;
    right: 10px;
    width: 8%;
    height: 100%;
}

.woocommerce-Tabs-panel table {
    border-collapse: collapse;
}

.woocommerce-Tabs-panel table tr td,
.woocommerce-Tabs-panel table tr th {
    border: 1px solid #D3DCE5;
    padding: 7px 10px;
}

.woocommerce-Tabs-panel tr:nth-child(even) {
    background-color: transparent !important;
}

.wc-pao-addon .wc-pao-addon-wrap select {
    width: 100% !important;
    border-radius: 8px !important;
}

/* back to top button */

.back-to-top-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    color: #4088C2;
}

.back-to-top-button:hover {
    transform: translateY(-2px);
}

.back-to-top-text {
    font-size: 16px;
    font-weight: 600;
    color: #4088C2;
}

.back-to-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4088C2;
}

.back-to-top-icon svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .back-to-top-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }

    .back-to-top-text {
        font-size: 14px;
    }

    .back-to-top-icon svg {
        width: 28px;
        height: 28px;
    }
}


/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

/* Hide default WooCommerce coupon form */

.woocommerce-cart-form__cart-item.cart_item td,
.shop_table.woocommerce-checkout-review-order-table thead tr th {
    padding: 20px 0 !important;
}
.text-right {
    text-align: right !important;
}
.woocommerce-form-coupon-toggle,
.checkout_coupon {
    display: none !important;
}

/* Order Review Container */
#order_review_container {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#order_review_heading {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Product Items in Cart */
.woocommerce-checkout-review-order-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-checkout-review-order-table tbody tr:last-child {
    border-bottom: none;
}

.custom-coupon-wrapper {
    width: 100%;
}

.coupon-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.coupon-input-container:focus-within {
    border-color: #4088C2;
    box-shadow: 0 0 0 3px rgba(64, 136, 194, 0.1);
}

.coupon-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #6b7280;
}

.coupon-input-container input[type="text"] {
    flex: 1;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px;
    color: #1a1a1a;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.coupon-input-container input[type="text"]::placeholder {
    color: #9ca3af;
}

.coupon-input-container input[type="text"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.apply-coupon-btn {
    flex-shrink: 0;
    padding: 8px 20px !important;
    background: transparent !important;
    border: none !important;
    color: #1a1a1a !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.apply-coupon-btn:hover {
    color: #4088C2 !important;
}

.coupon-messages {
    margin-top: 10px;
    font-size: 14px;
}

.coupon-messages .woocommerce-error,
.coupon-messages .woocommerce-message {
    padding: 10px 12px;
    border-radius: 8px;
    margin: 0;
}

.coupon-messages .woocommerce-error {
    background: #fee;
    color: #c00;
    border-left: 3px solid #c00;
}

.coupon-messages .woocommerce-message {
    background: #efe;
    color: #0a0;
    border-left: 3px solid #0a0;
}

/* Order Totals Styling */
.woocommerce-checkout-review-order-table tfoot tr {
    border-top: none;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 6px 0 !important;
    font-size: 14px;
    border: none !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 500;
    color: #1a1a1a;
    text-align: right;
    width: 30%;
}

/* Discount Row */
.woocommerce-checkout-review-order-table tfoot .cart-discount th,
.woocommerce-checkout-review-order-table tfoot .cart-discount td {
    color: #059669;
}

/* Total Row */
.woocommerce-checkout-review-order-table tfoot .order-total {
    border-top: 1px solid #E0E0E0;
}

.woocommerce-checkout-review-order-table tfoot .order-total th {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 10px !important;
}

.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 8px !important;
}

/* Payment Section */
#payment {
    margin-top: 24px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.wc_payment_method {
    margin-bottom: 12px;
}

/* Custom Pay Button */
.custom-pay-button {
    width: 100%;
    padding: 1px 0 !important;
    background: linear-gradient(135deg, #4088C2 0%, #57ABEF 100%) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(64, 136, 194, 0.3);
}

.custom-pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(64, 136, 194, 0.4);
    background: linear-gradient(135deg, #3677b0 0%, #4599dd 100%) !important;
}

.custom-pay-button:active {
    transform: translateY(0);
}

/* Remove coupon link from totals */
.woocommerce-checkout-review-order-table .cart-discount .woocommerce-remove-coupon {
    margin-left: 8px;
    color: #ef4444;
    text-decoration: none;
    font-size: 13px;
}

.woocommerce-checkout-review-order-table .cart-discount .woocommerce-remove-coupon:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #order_review_container {
        padding: 20px;
    }

    #order_review_heading {
        font-size: 20px;
    }

    .coupon-input-container {
        padding: 6px 8px;
    }

    .coupon-input-container input[type="text"] {
        font-size: 14px;
    }

    .apply-coupon-btn {
        font-size: 14px;
        padding: 6px 16px !important;
    }

    .woocommerce-checkout-review-order-table tfoot .order-total td {
        font-size: 20px;
    }

    .custom-pay-button {
        font-size: 16px !important;
        padding: 14px 20px !important;
    }
}


.woocommerce-account form .show-password-input {
    background: transparent;
}

#customer_login .col-2 {
    display: none;
}