/*
 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
*/

.fct_place_order_btn_wrap {
    display: none !important;
}

:root {
    --h-height: 76px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

@media (max-width:1024x) {

    html {
        scroll-padding-top: 106px;
    }
}

@media (max-width:767px) {

    html {
        scroll-padding-top: 72px;
    }
}

/* *********************** Header *********************** */

#brx-header {
    position: fixed;
    left: 0;
    z-index: 99;
    transition: var(--base-transition);
}

@media (min-width:768px) {
    #brx-header.custom_sticky section .header-navigation__float {
        box-shadow: var(--shadows--shadow-md);
    }

    #brx-header section .header-navigation__float {
        transition: var(--base-transition);
    }
}

@media (max-width:767px) {
    #brx-header.custom_sticky {
        box-shadow: var(--shadows--shadow-md);
    }
}

/* *********************** Header *********************** */

/* **************** product page ***************** */

.is_fluent_cart_page #brx-content {
    padding-top: 172px;
    max-width: 80rem;
    width: 100%;
    padding-right: var(--container-padding-desktop);
    padding-bottom: 80px;
    padding-left: var(--container-padding-desktop);
    font-family: "Inter";
}

.is_fluent_cart_page .fct-single-product-page {
    margin: 0px;
}

.is_fluent_cart_page .fct-single-product-page .fct-single-product-page-row {
    align-items: center;
}

.is_fluent_cart_page .fct-checkout .fct_checkout_inner {
    margin: 0px;
}

.is_fluent_cart_page .fct-single-product-page .fct-product-gallery-thumb {
    max-height: 400px;
}

.is_fluent_cart_page .fct-single-product-page .fct-product-gallery-wrapper {
    display: flex;
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-direct-checkout-button,
.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-add-to-cart-button,
.is_fluent_cart_page .fct-cart-drawer-footer .fct-cart-drawer-footer-actions .checkout-button,
.is_fluent_cart_page .fct_place_order_btn_wrap .fct_place_order_btn,
.is_fluent_cart_page .fct_address_modal_footer button:not(.fct_address_modal_close_btn),
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--primary,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button {
    padding-top: var(--spacing-lg);
    padding-right: 1.125em !important;
    padding-bottom: var(--spacing-lg);
    padding-left: 1.12em !important;
    font-size: 1rem !important;
    line-height: 1.5;
    gap: 0.5rem !important;
    color: var(--button-primary-fg) !important;
    background-color: var(--button-primary-bg);
    background: var(--button-primary-bg) !important;
    position: relative;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    letter-spacing: 0px;
    font-weight: 600 !important;
    transition: var(--base-transition);
    border-radius: var(--radius-md) !important;
    align-items: center !important;
    border-width: 0 !important;
    display: inline-flex !important;
    max-height: unset;
    font-family: "Inter";
    opacity: 1 !important;
    pointer-events: unset;
}

.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button {
    font-size: 0.875rem !important;
    line-height: 1.25rem;
    padding-top: 0.625rem;
    padding-right: 0.875rem !important;
    padding-bottom: 0.625rem;
    padding-left: 0.875rem !important;
}

.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn {
    width: 100%;
}

.is_fluent_cart_page .fct_address_modal button:not(.fct_address_modal_close_btn) {
    background-color: var(--button-primary-bg);
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-direct-checkout-button:hover,
.is_fluent_cart_page .fct-cart-drawer-footer .fct-cart-drawer-footer-actions .checkout-button:hover,
.is_fluent_cart_page .fct_place_order_btn_wrap .fct_place_order_btn:hover,
.is_fluent_cart_page .fct_address_modal_footer button:not(.fct_address_modal_close_btn):hover,
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn:hover,
.is_fluent_cart_page .fct-form-footer .el-button:hover,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--primary:hover,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button:hover {
    background-color: var(--button-primary-bg_hover) !important;
    color: var(--button-primary-fg_hover);
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-direct-checkout-button:focus-visible,
.is_fluent_cart_page .fct-cart-drawer-footer .fct-cart-drawer-footer-actions .checkout-button:focus-visible,
.is_fluent_cart_page .fct_place_order_btn_wrap .fct_place_order_btn:focus-visible,
.is_fluent_cart_page .fct_address_modal_footer button:not(.fct_address_modal_close_btn):focus-visible,
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn:focus-visible,
.is_fluent_cart_page .fct-form-footer .el-button:focus-visible,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button:focus-visible {
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 0 0 2px #FFF, 0 0 0 4px var(--brand--500) !important;
}

.is_fluent_cart_page .fluent-cart-checkout-page .fct_checkout button:focus,
.is_fluent_cart_page .fluent-cart-checkout-page .fct_checkout button:focus-visible {
    background: var(--button-primary-bg);
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-direct-checkout-button::after,
.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-add-to-cart-button:after,
.is_fluent_cart_page .fct_place_order_btn_wrap .fct_place_order_btn:after,
.is_fluent_cart_page .fct_address_modal_footer button:not(.fct_address_modal_close_btn):after,
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn:after,
.is_fluent_cart_page .fct-form-footer .el-button:after,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button:after,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--info[soft]:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: add, add;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-add-to-cart-button,
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--info[soft] {
    color: var(--button-secondary-fg) !important;
    background-color: var(--button-secondary-bg) !important;
    box-shadow: 0 0 0 1px var(--button-secondary-border) inset, 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05) !important;
    outline: none !important;
}

.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--info[soft]:hover {
    border: 0px;
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-add-to-cart-button:focus-visible,
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn:focus-visible,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--info[soft]:focus-visible {
    box-shadow: 0 0 0 1px var(--button-secondary-border) inset, 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 0 0 2px#FFF, 0 0 0 4px var(--brand--500);
}

.is_fluent_cart_page .fct-product-buttons-wrap .fluent-cart-add-to-cart-button:hover,
.is_fluent_cart_page #fct-customer-logout-button .fct-customer-logout-btn:hover,
.is_fluent_cart_page .fluent-cart-customer-profile-app .el-button--info[soft]:hover {
    background-color: var(--button-secondary-bg_hover) !important;
    color: var(--button-secondary-fg_hover) !important;
}

.is_fluent_cart_page #brx-content>h1 {
    margin-bottom: 20px;
}

.is_fluent_cart_page #brx-content>h1 {
    font-size: var(--display-md);
    font-weight: 600;
    line-height: var(--line-height-display-md);
    letter-spacing: var(--letter-spacing);
    color: var(--text-primary-900);
}

.is_fluent_cart_page .fct_address_modal_inner .fct_address_selector.selected,
.is_fluent_cart_page .fct-single-product-page .fct-product-variant-item.selected {
    border-color: var(--button-primary-bg);
}

.is_fluent_cart_page .fct_address_modal_inner .fct_address_selector.selected .fct_address_selector_icon {
    color: var(--button-primary-bg);
}

.is_fluent_cart_page .fluent-cart-cart-empty-content-text .continue-shopping-link {
    color: var(--button-primary-bg);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.3em;
    transition: var(--base-transition);
}

.is_fluent_cart_page .fluent-cart-cart-empty-content-text .continue-shopping-link:hover {
    color: var(--button-primary-bg_hover);
}

.is_fluent_cart_page #brx-content:has(.fluent-cart-cart-empty-content) h1 {
    display: none;
    text-align: center;
    padding: 0px;
}

.is_fluent_cart_page #brx-content .fluent-cart-cart-empty-content {
    padding-top: 20px;
    height: 50vh;
}

.is_fluent_cart_page #brx-content .fluent-cart-checkout-page .fct_checkout .fct_checkout_inner .fct_checkout_form {
    padding-bottom: 0;
}

.is_fluent_cart_page .fct-customer-navs .fct-customer-nav-item::before {
    background-color: var(--button-primary-bg) !important;
}

.is_fluent_cart_page .fct-customer-dashboard-user-profile .fct-customer-address-list {
    --thumb-bg: unset;
    --track-bg: unset;
}

@media(max-width:768px) {

    .is_fluent_cart_page #brx-content {
        padding-top: 140px;
        padding-bottom: 64px;
        padding-inline: 20px;
    }


    #brx-content.wordpress .fct-thank-you-page-header-icon {
        height: 60px;
        width: 60px;
    }

    #brx-content.wordpress .fct-thank-you-page-header-title {
        font-size: 1.5em;
    }

    .page-id-11:has(.fct-thank-you-page) #brx-content.wordpress {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }

    body.page-id-11 #brx-content.wordpress>h1 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 29px;
        line-height: 1.2;
    }
}

/* **************** product page ***************** */

/* **************** thanks page ***************** */
.page-id-11:has(.fct-thank-you-page) #brx-content.wordpress {
    padding-top: 140px;
    padding-bottom: 80px;
}

.page-id-11 #brx-content.wordpress>h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* **************** thanks page ***************** */

/* **************** Fluent Form ***************** */

#brx-content .fluentform .ff-t-container {
    justify-content: space-between;
    gap: 1.5rem 2rem;
    display: flex;
}

#brx-content .fluentform .ff-el-group {
    margin: 0;
}

#brx-content .fluentform .ff-el-input--label label {
    line-height: var(--line-height-text-sm);
    font-weight: 500;
    text-transform: none;
    color: var(--text-secondary-700);
    font-size: 0.875rem;
}

#brx-content .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
    content: "*";
    padding: 0 2px;
    position: relative;
    top: 0;
    color: var(--text-brand-tertiary-600);
    margin: 0;
}

#brx-content .fluentform .ff-el-input--label {
    line-height: 1;
}

#brx-content .fluentform .ff-el-form-control {
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    line-height: var(--line-height-text-md);
    font-size: 1rem;
    color: var(--text-primary-900);
    padding-top: 0.557em;
    padding-right: 0.875em;
    padding-bottom: 0.557em;
    padding-left: 0.875em;
    outline: 2px solid transparent !important;
    outline-offset: -1px;
    transition: var(--base-transition);
    box-shadow: var(--shadows--shadow-xs);
    font-family: inherit;
}

#brx-content .fluentform fieldset {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#brx-content .fluentform .ff-el-form-control::placeholder {
    font-size: var(--text-md);
    line-height: var(--line-height-text-md);
    color: var(--text-placeholder);
    opacity: 1 !important;
}

#brx-content .fluentform .ff-el-form-control:focus,
#brx-content .fluentform .ff-el-form-control:focus-visible {
    outline: 2px solid var(--border-brand) !important;
}

#brx-content .fluentform textarea.ff-el-form-control {
    min-height: 134px;
}

#brx-content .fluentform .ff_submit_btn_wrapper .ff-btn-submit {
    padding-top: var(--spacing-lg);
    padding-right: 1.125em;
    padding-bottom: var(--spacing-lg);
    padding-left: 1.125em;
    font-size: 1rem;
    line-height: 1.5;
    gap: 0.5rem;
    color: var(--button-primary-fg);
    background-color: var(--button-primary-bg);
    position: relative;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    letter-spacing: 0px;
    font-weight: 600;
    transition: var(--base-transition);
    border-radius: var(--radius-md);
    width: 100%;
    opacity: 1;
    margin-top: 0.5rem;
}

#brx-content .fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover {

    background-color: var(--button-primary-bg_hover);
    color: var(--button-primary-fg_hover);
}

#brx-content .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus-visible {
    box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset, 0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 0 0 2px #FFF, 0 0 0 4px var(--brand--500);
}

#brx-content .fluentform .ff-el-form-check {
    margin: 0;
}

#brx-content .fluentform .ff-el-form-check-label {
    position: relative;
}

#brx-content .fluentform .ff-el-form-check-label span.ff_tc_checkbox {
    position: absolute;
    top: 0;
    opacity: 0;
}

#brx-content .fluentform .ff-el-form-check-label .ff_t_c {
    padding: 0;
    color: var(--text-tertiary-600);
    position: relative;
    padding-left: 2em;
    margin: 0;
    font-size: var(--text-md);
    line-height: 1.5;
    font-weight: 400;
}

#brx-content .fluentform .ff-el-form-check-label .ff_t_c a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

#brx-content .fluentform .ff-el-form-check-label .ff_t_c::before {
    position: absolute;
    content: '';
    width: 1.25em;
    height: 1.25em;
    border: 1px solid var(--gray-light-mode--300);
    border-radius: var(--spacing-sm);
    top: 0.125em;
    left: 0;
    outline: 2px solid transparent !important;
    outline-offset: 2px;
    transition: var(--base-transition);
}

#brx-content .fluentform .ff-el-form-check-label .ff_t_c::after {
    position: absolute;
    content: '';
    width: 0.875em;
    height: 0.875em;
    opacity: 0;
    visibility: hidden;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3E%3Cpath%20d='M11.6666%203.5L5.24992%209.91667L2.33325%207'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 0.35em;
    left: 0.19em;
}

#brx-content .fluentform .ff-el-form-check-label span:has(input:checked)+.ff_t_c::after {
    opacity: 1;
    visibility: visible;
}

#brx-content .fluentform .ff-el-form-check-label span:has(input:checked)+.ff_t_c::before {
    background: var(--bg-brand-solid);
    border-color: var(--bg-brand-solid);
}

#brx-content .fluentform .ff-el-form-check-label .ff_t_c:hover::before,
#brx-content .fluentform .ff-el-form-check-label span:has(input:focus)+.ff_t_c::before,
#brx-content .fluentform .ff-el-form-check-label span:has(input:focus-visible)+.ff_t_c::before {
    outline-color: var(--focus-ring) !important;
}

@media(max-width:575px) {
    #brx-content .fluentform .ff-t-container {
        flex-direction: column;
        gap: 1rem;
    }

    #brx-content .fluentform fieldset {
        gap: 1.5rem;
    }
}

/* **************** Fluent Form ***************** */