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

/* ************************* Global ************************* */

:root {
    --var-header-height: 90px;
}

* {
    transition: .2s;
    outline: none !important;
}

html {
    -webkit-tap-highlight-color: transparent;
}

:where(p) {
    margin: 0 0 1.5em;
}

p:last-child {
    margin-bottom: 0 !important;
}

.form-group:has(textarea) {
    margin-block: 10px;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
    background: var(--base) !important;
    margin: 0 !important;
}

.mCSB_scrollTools .mCSB_draggerContainer {
    background: #dedede;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal {
    height: 4px !important;
}

/* ************************* Global ************************* */

/* ************************* Haeder ************************* */

.header_menu li.menu-item a {
    position: relative;
}

.header_menu li.menu-item a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0.23em;
    background: var(--action);
    bottom: -0.4em;
    transition: .3s ease-out;
    left: 0;
}

.header_menu li.menu-item:hover>a:after,
.header_menu li.menu-item .brx-submenu-toggle:hover a:after,
.header_menu li.menu-item a[aria-current="page"]:after {
    width: 100%;
}

#brx-header .header_menu nav.bricks-nav-menu-wrapper a {
    width: fit-content !important;
    width: -moz-fit-content !important;
}

#brx-header .header_menu .bricks-mobile-menu-wrapper ul.sub-menu {
    padding-left: 20px;
}

#brx-header .header_menu .bricks-mobile-menu-wrapper ul.sub-menu {
    white-space: normal;
}

.header_menu nav.bricks-nav-menu-wrapper ul.sub-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 40px 30px 30px;
    max-height: 600px;
    overflow: auto;
    scrollbar-width: thin;
}

.header_menu nav.bricks-nav-menu-wrapper ul.sub-menu a {
    white-space: nowrap !important;
}

/* ************************* Haeder ************************* */

/* ************************* Single Product ************************* */

.prod_detail_table .prod_detail_table_wrapper {
    color: black;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    min-width: 920px;
}

.prod_detail_table .prod_detail_table_wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid;
}

.prod_detail_table .prod_detail_table_wrapper .table_body>div {
    border-bottom: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.prod_detail_table .prod_detail_table_wrapper .table_body>div a {
    padding: 2px 10px;
    width: 100%;
    display: block;
    border: 1px solid var(--base);
    color: var(--base);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.prod_detail_table .prod_detail_table_wrapper ul,
.prod_detail_table .prod_detail_table_wrapper .table_body {
    display: flex;
}

.prod_detail_table .prod_detail_table_wrapper ul li,
.prod_detail_table .prod_detail_table_wrapper .table_body>div {
    width: var(--table-column);
    padding: 10px 7px;
}

.prod_detail_table .prod_detail_table_wrapper ul.top_head_main li>div {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.prod_detail_table .prod_detail_table_wrapper .table_body>div,
.prod_detail_table .prod_detail_table_wrapper ul.top_head li {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod_detail_table .prod_detail_table_wrapper ul li:not(:last-child),
.prod_detail_table .prod_detail_table_wrapper .table_body>div:not(:last-child) {
    border-right: 1px solid;
}

.prod_detail_table .prod_detail_table_wrapper .top_head_main li {
    padding: 10px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table_bodies .table_body:nth-child(odd)>*:not(:first-child, :last-child) {
    background: #CAE8E0;
}

.table_body span {
    font-weight: 400;
}

.table_headers ul.top_head>li:last-child,
.prod_detail_table .prod_detail_table_wrapper .top_head_main li:last-child {
    flex-grow: 1;
}

.prod_detail_table .prod_detail_table_wrapper .table_body>div a:hover {
    color: white;
    background: var(--action);
    border-color: var(--action);
}

.product_content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product_content ul li {
    position: relative;
    padding-left: 18px;
}

.product_content ul li:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    left: 1px;
    top: 12px;
}

.category_product_wrapper>div:first-child {
    padding-top: 0;
    border: 0;
}

.layout_main_wrapper .image_wrap .image_cont {
    text-align: center;
}

body.single .layout_main_wrapper {
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}


/* ************************* Single Product ************************* */

.header_menu nav.bricks-mobile-menu-wrapper {
    padding: 45px 20px;
}

.header_menu nav.bricks-mobile-menu-wrapper a::after {
    left: 0;
    bottom: 22px;
}


/* ************************* Responsive ************************* */

@media(max-width: 1550px) {

    .prod_detail_table .prod_detail_table_wrapper,
    .table_bodies .table_body>*:nth-last-child(2) {
        font-size: 13px;
    }

    .table_bodies .table_body>*:nth-child(1),
    .prod_detail_table .prod_detail_table_wrapper .top_head_main li:nth-child(1),
    .prod_detail_table .prod_detail_table_wrapper ul.top_head li:nth-child(1) {
        width: 8% !important;
    }

    .layout_main_wrapper .prod_detail_table .prod_detail_table_wrapper {
        margin-bottom: 12px;
    }

    .layout_main_wrapper .prod_detail_table::-webkit-scrollbar {
        height: 5px;
        background: #dedede;
    }

    .layout_main_wrapper .prod_detail_table::-webkit-scrollbar-thumb {
        background: var(--base);
    }

}

@media(max-width: 1200px) {
    .header_sec .header_menu .bricks-nav-menu {
        gap: 16px !important;
    }
}

@media(max-width: 767px) {
    .form-group:has(textarea) {
        margin-block: 5px;
    }

    .related-products {
        row-gap: 30px;
    }

    .brxe-zozbjn.brxe-block {
        width: calc(33.33% - calc(var(--space-m) * 0.9375)) !important;
    }

}

@media(max-width: 575px) {
    .brxe-zozbjn.brxe-block {
        width: calc(50% - calc(var(--space-m) * 0.9375)) !important;
    }

    body.single .layout_main_wrapper {
        gap: 50px;
    }
}

/* ************************* Responsive ************************* */


/* ************************* Table Layout ************************* */

.htm-table {
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 18px;
    color: #000;
    text-align: center;
    text-wrap: balance;
}

.htm-table tbody tr td:first-child {
    background: #fff;
}

.htm-table td {
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    padding: 0.7em 0.5em;
}

.htm-table tr td:last-child {
    border-right: 0;
}

.htm-table tr.htm-table__title td {
    /* writing-mode: vertical-rl;
    transform: rotate(180deg); */
    text-align: left;
    padding-inline: 1em 1em;
    font-weight: 500;
    max-height: 192px;
    vertical-align: bottom;
}

.htm-table tr.htm-table__title td div {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.htm-table tbody {
    background: #f4faf8;
}

.htm-table tbody tr:nth-child(odd) {
    background: #d6ece4;
}

.htm-table__title sup {
    top: 0;
}

.htm-table-green__inner-wrap {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 26%;
    gap: 6rem;
}

.htm-table.htm-table-red-1 {
    table-layout: auto;
    font-size: 16px;
}

.htm-table-green-3 thead td {
    height: 109px;
    font-weight: 500;
}

.htm-table-green-3 td {
    padding: 0.5em;
    background: transparent !important;
}

.htm-table-green-2 td:nth-child(1) {
    width: 12%;
}

.htm-table-green-2 td:nth-child(2) {
    width: 24%;
}

.htm-table-green-2 tbody td {
    height: 170px;
}

.htm-table-inner {
    table-layout: fixed;
    border-collapse: collapse;
}

td:has(.htm-table-inner) {
    padding: 0;
}

.htm-table-inner td {
    width: auto !important;
    border-bottom: 0;
    background: white;
    height: auto !important;
}

.htm-table-inner tr:not(:last-child) {
    border-bottom: 1px solid #000;
}

.htm-table-inner tr:first-child td {
    height: 63px !important;
    vertical-align: bottom;
}

.htm-table-green-2 thead {
    font-weight: 500;
}

.htm-table-green__wrap,
.htm-table-red__wrap {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.htm-table.htm-table-red-2 {
    font-size: 15px
}

.htm-table-red-2 td:last-child {
    width: 500px;
}

.htm-table-red-2 thead {
    background: #3ba788;
    color: #fff;
    line-height: 1.3;
}

.htm-table-red-2 thead span {
    display: block;
    margin-top: 0.6em;
}

.htm-table-red-2 thead td {
    padding-block: 1em;
}

.htm-table tr td[rowspan="2"]:last-child {
    box-shadow: -1px 0 0 0 #000;
}

.htm-table-red-3 td:has(img) {
    /* width: 200px; */
    width: 150px;
}

.htm-table-red-3 td img {
    max-width: 200px;
    width: 100%;
    /*     height: 60px; */
    object-fit: cover;
}

/* .htm-table-red-3 td:last-child, .htm-table-red-3 td:nth-last-child(2) { */
.htm-table-red-3 td:nth-last-child(2) {
    /* width: 300px; */
    max-width: 187px;
}

.htm-table.htm-table-red-3 {
    font-size: 16px;
    table-layout: auto;
}

.htm-table.htm-table.htm-table-red-3 tbody tr td:first-child {
    /* width: 126px; */
    max-width: 79px;
}

.custom_scroll_bar .mCSB_dragger,
.custom_scroll_bar .mCSB_container {
    transition: all linear !important;
}

.custom_scroll_bar .mCSB_container {
    margin-bottom: 20px !important;
}

@media(max-width: 1024px) {
    .htm-table {
        font-size: 15px !important;
        line-height: 24px;
    }

    .htm-table tr.htm-table__title td {
        line-height: 18px;
    }

    .htm-table-red-3 {
        min-width: 1100px;
    }

    .htm-table-green__inner-wrap {
        display: flex;
        flex-direction: column;
    }
}

@media(max-width: 767px) {
    .htm-table {
        font-size: 14px !important;
        line-height: 22px;
    }

    .htm-table td {
        min-width: 80px;
    }

    .htm-table.htm-table.htm-table-red-3 tbody tr td:first-child {
        max-width: unset;
    }

    .htm-table-red-2 td {
        width: 90px;
    }

    .htm-table tr.htm-table__title td {
        max-height: 150px;
    }

    .htm-table-red-2 {
        min-width: 500px;
        width: auto;
    }

    .htm-table-red-2 td:last-child {
        width: 300px;
    }

    .htm-table-red-3 td:last-child {
        /* width: 250px; */
    }

    .htm-table-green-1 {
        min-width: 800px;
    }

    .htm-table-green-2 {
        min-width: 800px;
    }

    .htm-table-green-2 tbody td {
        height: 110px;
    }
}

@media(max-width: 575px) {
    .htm-table-green-3 thead td {
        height: 70px;
    }

    .htm-table-green-2 td:nth-child(2) {
        width: 18%;
    }

    .htm-table-red-2 td:last-child {
        width: 150px;
        min-width: 150px;
    }

    .htm-table-red-3 {
        min-width: 980px;
    }

    .htm-table-red-3 td:last-child {
        /* width: 220px; */
    }
}

/* ************************* Table Layout ************************* */