/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


.mepr-guest-layout .site-branding img.site-logo {
	max-height: 60px !important;
}

/**
 * Woocommerce Overrides
 */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .wc-forward {
    display: none !important;
}
.wc-block-components-product-name,
.wc-block-cart .wp-block-woocommerce-product-collection .wp-block-post-title {
	font-size: 1rem !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
	text-transform: var(--e-global-typography-accent-text-transform) !important;
	line-height: var(--e-global-typography-accent-line-height) !important;
	color: var(--e-global-color-primary) !important;
	margin-top: 0 !important;
}
.wc-block-components-product-metadata__description {
	margin-bottom: 10px;
}
.wc-block-components-sale-badge {
	display: none !important;
}

.wc-block-cart-items th {
	border-top: 0 !important; 
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
	content: none !important;
}

.wc-block-checkout h2,
.wc-block-cart h2 {
	font-size: 1.2rem !important;
    margin: 0 !important;
	text-transform: capitalize !important;
}
.wc-block-components-form .wc-block-components-checkout-step {
	margin-bottom: 20px !important;
}
.wc-block-components-order-summary-item__total-price  {
	display: none;
}
.wc-block-components-order-summary-item__image img,
.wc-block-cart-item__image img {
	background-color: var(--e-global-color-primary) !important;
    border-radius: 4px !important;
}
.wc-block-cart__submit-button,
.wc-block-components-product-button__button {
	background-color: var(--e-global-color-primary) !important;
    font-family: var(--e-global-typography-42c9840-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-42c9840-font-size) !important;
    text-transform: var(--e-global-typography-42c9840-text-transform) !important;
    font-style: var(--e-global-typography-42c9840-font-style) !important;
    line-height: var(--e-global-typography-42c9840-line-height) !important;
    color: #FFFFFF !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: var(--e-global-color-primary) !important;
    border-radius: 35px 35px 35px 35px !important;
    padding: 10px 30px 10px 30px !important;
}
.upsell-products {
	margin-top: 1rem !important;
}
.upsell-products > .wc-block-product {
	border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    padding: 10px 10px 20px 10px;
    border-radius: 6px;
}

.upsell-products .wc-block-components-product-sale-badge {
	background-color: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
	color: #FFFFFF !important;
}
.upsell-products  img {
	aspect-ratio: 1.2 !important;
}

/*
    Add your custom styles here
*/
html {
	--sidebar-width: 4vw;
	max-width: calc(100% - var(--sidebar-width)) !important;
}
.elementor-sticky {
	max-width: calc(100% - var(--sidebar-width)) !important;
}
#sidebar {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999;
	height: 100vh;
	width: var(--sidebar-width);
	background-color: var( --e-global-color-accent );
}
#sidebar .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	writing-mode: tb-rl;
	height: 100vh;
	width: var(--sidebar-width);
	max-width: var(--sidebar-width);
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: clamp(0.5rem, 0.6rem + 0.4vw, 1rem);
	color: white;
}
#sidebar .inner .sidebar-button {
	background: transparent;
	color: white;
	border: 1px solid white;
	border-radius: 30px;
	padding: 30px 5px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	transition: background 0.3s ease;
}
#sidebar .inner .sidebar-button:where(:hover, :focus) {
	background-color: white;
	color: black;
}
@media only screen and (max-width: 768px) {
	html {
		--sidebar-width: 2rem;
	}
}
@media only screen and (max-width: 1200px) {
	#sidebar .inner .sidebar-button {
		padding: 0;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background-color: transparent;
		text-decoration: underline;
		color: white;
	}
}


/**
 * Gravity Form Style Override
 */
.gform_required_legend,
.gform_heading,
.gform_validation_errors {
    display: none !important;
}
.gform-body {
    --gf-form-gap-y: 10px !important;
    --gf-form-gap-x: 10px !important;
}
.gform-body .gfield_label {
    font-family: var( --e-global-typography-968bcaa-font-family ), Sans-serif;
    font-size: var( --e-global-typography-text-font-size );
    font-weight: 400;
}
.gform-body .ginput_container input {
	--gf-local-border-color: #232A11 !important;
	--gf-local-outline-color: #232A11 !important;
	border-radius: 8px !important;
}
.gform-footer {
	margin-top: 15px !important;
}
.gform-footer .gform_button {
	--gf-local-border-color: #232A11 !important;
	--gf-local-outline-color: #232A11 !important;
    background-color: var( --e-global-color-primary ) !important;
    border-color: var( --e-global-color-primary ) !important;
    padding: 8px 20px 8px 20px !important;
    border-radius: 35px !important;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1) !important;
	font-size: var( --e-global-typography-42c9840-font-size ) !important;
	line-height: var( --e-global-typography-42c9840-line-height ) !important;
}
#gform_submit_button_3 {
	background-color: var( --e-global-color-text ) !important;
	border-color: var( --e-global-color-text ) !important;
}
.gform-footer .gform_button:where(:hover, :focus),
#gform_submit_button_3:where(:hover, :focus) {
    background-color: var( --e-global-color-accent ) !important;
    border-color: var( --e-global-color-accent ) !important;
}

/**
 * WooComm Account Page
 */
/* WooCommerce My Account */
.logged-in .woocommerce-account .woocommerce {
	display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Account Navigation */
.woocommerce-MyAccount-navigation {
    width: 240px;
    flex-shrink: 0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 14px 16px;
    color: #505631;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #f4f5f0;
}

.woocommerce-MyAccount-navigation .is-active a {
    background: #505631;
    color: #fff;
}

/* Account Content */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}

/* Headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin-top: 0;
    color: #505631;
}

/* Links */
.woocommerce-MyAccount-content a {
    color: #505631;
}

/* Forms */
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account select,
.woocommerce-account textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
    outline: none;
    border-color: #505631;
}

/* Buttons */
.woocommerce-account .button {
    display: inline-block;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    background: #505631;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.woocommerce-account .button:hover {
    background: #505631;
    color: #fff;
    opacity: 0.85;
}

/* Tables */
.woocommerce-account table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
    padding: 14px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.woocommerce-account table.shop_table th {
    color: #505631;
}

/* Addresses */
.woocommerce-account .woocommerce-Address {
    margin-bottom: 30px;
}

.woocommerce-account address {
    font-style: normal;
    line-height: 1.7;
}

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    padding: 15px 18px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-left: 3px solid #505631;
    background: #fafafa;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before {
	content: none;
}

/* Mobile */
@media (max-width: 767px) {
    .woocommerce-account .woocommerce {
        display: block;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-bottom: 30px;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
    }

    .woocommerce-MyAccount-navigation li {
        flex: 1 1 50%;
        border-bottom: 1px solid #e5e5e5;
    }

    .woocommerce-MyAccount-navigation a {
        padding: 12px;
    }
}

/**
 * WooCommerce Order Received
 * Order Overview
 */

.woocommerce-order-received .woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;

    width: 100%;
    margin: 0 0 35px !important;
    padding: 0 !important;

    list-style: none !important;

    border: 1px solid #e5e5e5 !important;
    border-radius: 6px;
    overflow: hidden;

    background: #fff;
}

/* Remove WooCommerce default clearfix */
.woocommerce-order-received .woocommerce-order-overview::before,
.woocommerce-order-received .woocommerce-order-overview::after {
    display: none !important;
    content: none !important;
}

/* Reset WooCommerce default list item styling */
.woocommerce-order-received .woocommerce-order-overview li {
    float: none !important;
    clear: none !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 18px 20px !important;

    border: 0 !important;
    border-right: 1px solid #e5e5e5 !important;

    color: #777;
    font-size: 0.85rem;
    line-height: 1.5;
    text-transform: none !important;

    box-sizing: border-box;
}

/* Remove divider from final item */
.woocommerce-order-received .woocommerce-order-overview li:last-child {
    border-right: 0 !important;
}

/* Order overview values */
.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;

    margin: 5px 0 0 !important;

    color: var(--e-global-color-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;

    word-break: break-word;
}


/**
 * Order Details Table
 */
.woocommerce-order-received table.shop_table {
    width: 100%;

    margin: 0 !important;

    border: 1px solid #e5e5e5 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;

    border-radius: 6px;
    overflow: hidden;

    background: #fff;
}


/* Reset all WooCommerce cell borders */
.woocommerce-order-received table.shop_table th,
.woocommerce-order-received table.shop_table td {
    padding: 14px 16px !important;

    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;

    text-align: left;
    vertical-align: middle;

    box-sizing: border-box;
}

/* Header */
.woocommerce-order-received table.shop_table thead th {
    background: #f4f5f0;

    color: var(--e-global-color-primary);
    font-weight: 600;
}

/* Footer labels */
.woocommerce-order-received table.shop_table tfoot th {
    color: var(--e-global-color-primary);
    font-weight: 600;
}

/* Remove border from very last table row */
.woocommerce-order-received table.shop_table tr:last-child th,
.woocommerce-order-received table.shop_table tr:last-child td {
    border-bottom: 0 !important;
}

/* Avoid WooCommerce adding extra borders */
.woocommerce-order-received table.shop_table thead,
.woocommerce-order-received table.shop_table tbody,
.woocommerce-order-received table.shop_table tfoot,
.woocommerce-order-received table.shop_table tr {
    border: 0 !important;
}

/* Final total */
.woocommerce-order-received table.shop_table tfoot tr:last-child {
    background: #f4f5f0;
}

/**
 * Mobile
 */
@media (max-width: 767px) {

    .woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce-order-received .woocommerce-order-overview li {
        border-right: 1px solid #e5e5e5 !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }

    .woocommerce-order-received .woocommerce-order-overview li:nth-child(2n) {
        border-right: 0 !important;
    }

    .woocommerce-order-received .woocommerce-order-overview li:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }
}

@media (max-width: 480px) {

    .woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    .woocommerce-order-received .woocommerce-order-overview li {
        border-right: 0 !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }

    .woocommerce-order-received .woocommerce-order-overview li:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e5e5e5 !important;
    }

    .woocommerce-order-received .woocommerce-order-overview li:last-child {
        border-bottom: 0 !important;
    }
}

/**
 * WooCommerce Account Tables
 * Clean Bordered Style
 */

.woocommerce-account table.shop_table {
    width: 100%;
    margin: 0 0 30px !important;

    border: 1px solid #e5e5e5 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;

    border-radius: 6px;
    overflow: hidden;

    background: #fff;
}

/* Reset WooCommerce borders */
.woocommerce-account table.shop_table thead,
.woocommerce-account table.shop_table tbody,
.woocommerce-account table.shop_table tfoot,
.woocommerce-account table.shop_table tr {
    border: 0 !important;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
    padding: 14px 16px !important;

    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;

    text-align: left;
    vertical-align: middle;

    box-sizing: border-box;
}

/* Header */
.woocommerce-account table.shop_table thead th {
    background: #f4f5f0;

    color: var(--e-global-color-primary);
    font-weight: 600;
}

/* Remove final row divider */
.woocommerce-account table.shop_table tbody tr:last-child th,
.woocommerce-account table.shop_table tbody tr:last-child td,
.woocommerce-account table.shop_table tfoot tr:last-child th,
.woocommerce-account table.shop_table tfoot tr:last-child td {
    border-bottom: 0 !important;
}

/* Links */
.woocommerce-account table.shop_table a {
    color: var(--e-global-color-primary);
}

/* Order number */
.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    text-decoration: none;
}

/* Buttons inside tables */
.woocommerce-account table.shop_table .button {
    padding: 8px 18px !important;

    border: 1px solid var(--e-global-color-primary) !important;
    border-radius: 35px !important;

    background: var(--e-global-color-primary) !important;
    color: #fff !important;

    font-size: 0.85rem;
    line-height: 1.2;

    white-space: nowrap;
}

.woocommerce-account table.shop_table .button:hover {
    opacity: 0.85;
}