/*
 Theme Name:   MoaraChild
 Theme URI:    
 Description:  A child theme for Hello Elementor
 Author:       cuminte.ro
 Author URI:   https://cuminte.ro/
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  moarachild
*/

html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}


html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
    background: #2A0B0B;
}

body.admin-bar::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
    background: #2A0B0B;
}


html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
    background: #B20000;
    border-radius: 999px;
    border: 0;
    box-shadow: inset 0 0 0 2px #B20000;
    min-height: 40px;
}

body.admin-bar::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
    background: #B20000;
    border-radius: 999px;
    border: 0;
    box-shadow: inset 0 0 0 2px #B20000;
    min-height: 40px;
}


html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:hover {
    background: #D12323;
    box-shadow: inset 0 0 0 2px #D12323;
}

body.admin-bar::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
    background: #D12323;
    box-shadow: inset 0 0 0 2px #D12323;
}

html,
body,
* {
    scrollbar-width: thin;
    scrollbar-color: #B20000 #2A0B0B;
}

body.admin-bar {
    scrollbar-color: #B20000 #2A0B0B;
}

/* hide Elementor header on the homepage when body has .home */
body.home #site-header {
    display: none !important;
}


body.moara-mobile-menu-open {
	overflow: hidden;
}

.moara-mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
	z-index: 9998;
}

.moara-mobile-menu-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: min(86vw, 360px);
	background: #111;
	color: #fff;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: -12px 0 30px rgba(0, 0, 0, 0.28);
	z-index: 9999;
	display: flex;
	flex-direction: column;
}

body.moara-mobile-menu-open .moara-mobile-menu-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.moara-mobile-menu-open .moara-mobile-menu-drawer {
	transform: translateX(0);
}

.moara-mobile-menu-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.moara-mobile-menu-title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--e-global-color-primary);
	text-decoration: none;
}

.moara-mobile-menu-toggle-floating {
	position: fixed !important;
	top: 12px !important;
	right: 14px !important;
	z-index: 10001 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

body.moara-mobile-menu-open .moara-mobile-menu-title,
body.moara-mobile-menu-open .moara-mobile-menu-list a {
	font-family: "Cormorant Garamond", Sans-serif;
	font-size: 24px;
}

.widget_shopping_cart_content .moara-mini-cart-empty-cta,
.elementor-menu-cart__main .widget_shopping_cart_content .moara-mini-cart-empty-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 14px;
	padding: 12px 18px;
	border: 1px solid #1f1f1f;
	border-radius: 8px;
	background: #1f1f1f;
	color: #fff;
	font-family: "Cormorant Garamond", Sans-serif;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: none;
	line-height: 1.2;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.widget_shopping_cart_content .moara-mini-cart-empty-cta:hover,
.widget_shopping_cart_content .moara-mini-cart-empty-cta:focus,
.elementor-menu-cart__main .widget_shopping_cart_content .moara-mini-cart-empty-cta:hover,
.elementor-menu-cart__main .widget_shopping_cart_content .moara-mini-cart-empty-cta:focus {
	background: #383838;
	border-color: #383838;
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.elementor-menu-cart__main .widget_shopping_cart_content .moara-mini-cart-empty-cta {
	background: #1f1f1f !important;
	border-color: #1f1f1f !important;
	color: #fff !important;
	font-family: "Cormorant Garamond", Sans-serif !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	padding: 12px 18px !important;
	border-radius: 8px !important;
}

.moara-mobile-menu-content {
	padding: 14px 16px 24px;
	overflow-y: auto;
}

.moara-mobile-menu-list,
.moara-mobile-menu-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.moara-mobile-menu-list a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 782px) {
	.dtpicker-dropdown,
	.tpicker-dropdown {
		right: 0 !important;
		left: auto !important;
	}
}

.dtpicker-dropdown,
.tpicker-dropdown {
	border: 1px solid var(--e-global-color-6b1e6b4, #917E66) !important;
	border-radius: 20px !important;
	background: var(--e-global-color-1f8f171, #ECDFB9) !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16), 0 3px 10px rgba(145, 126, 102, 0.18) !important;
	color: var(--e-global-color-text, #000000) !important;
}

.dtpicker-tab {
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent !important;
	color: var(--e-global-color-6b1e6b4, #917E66) !important;
}

.dtpicker-tabs {
	background: rgba(145, 126, 102, 0.12) !important;
}

.dtpicker-tab.active {
	background: var(--e-global-color-primary, #B20000) !important;
	color: var(--e-global-color-17d59b0, #FFFFFF) !important;
	box-shadow: 0 8px 18px rgba(156, 27, 0, 0.24) !important;
}

.dtpicker-month-year,
.dtpicker-time-label,
.tpicker-time-label {
	color: var(--e-global-color-text, #000000) !important;
}

.dtpicker-prev-month,
.dtpicker-next-month {
	border-color: rgba(145, 126, 102, 0.35) !important;
	background: rgba(255, 255, 255, 0.55) !important;
	color: var(--e-global-color-primary, #B20000) !important;
}

.dtpicker-prev-month:hover,
.dtpicker-next-month:hover {
	background: rgba(156, 27, 0, 0.08) !important;
	border-color: var(--e-global-color-primary, #B20000) !important;
}

.dtpicker-day-name {
	color: var(--e-global-color-6b1e6b4, #917E66) !important;
}

.dtpicker-day {
	border-color: rgba(145, 126, 102, 0.18) !important;
	background: rgba(255, 255, 255, 0.42) !important;
	color: var(--e-global-color-text, #000000) !important;
}

.dtpicker-day:hover {
	background: rgba(156, 27, 0, 0.08) !important;
	border-color: rgba(178, 0, 0, 0.35) !important;
	color: var(--e-global-color-primary, #B20000) !important;
}

.dtpicker-day-other-month {
	background: transparent !important;
	color: rgba(145, 126, 102, 0.72) !important;
}

.dtpicker-day-today {
	border-color: var(--e-global-color-eeb4189, #D88213) !important;
	background: rgba(241, 195, 147, 0.35) !important;
	color: var(--e-global-color-1f177ea, #9C1B00) !important;
}


.dtpicker-day-selected {
	border-color: var(--e-global-color-primary, #B20000) !important;
	background: linear-gradient(180deg, var(--e-global-color-primary, #B20000) 0%, var(--e-global-color-1f177ea, #9C1B00) 100%) !important;
	color: var(--e-global-color-17d59b0, #FFFFFF) !important;
	box-shadow: 0 10px 20px rgba(156, 27, 0, 0.24) !important;
}

.dtpicker-day-disabled {
	background: rgba(227, 222, 216, 0.6) !important;
	color: rgba(145, 126, 102, 0.68) !important;
}

.dtpicker-date:focus,
.dtpicker-time:focus,
.tpicker-input:focus,
.dtpicker-hours:focus,
.dtpicker-minutes:focus,
.tpicker-hours:focus,
.tpicker-minutes:focus {
	border-color: var(--e-global-color-primary, #B20000) !important;
	box-shadow: 0 0 0 1px var(--e-global-color-primary, #B20000) !important;
}

.dtpicker-controls,
.tpicker-controls {
	border-top-color: rgba(145, 126, 102, 0.22) !important;
}

.dtpicker-close-btn,
.tpicker-close-btn {
	border-color: rgba(145, 126, 102, 0.35) !important;
	background: rgba(255, 255, 255, 0.55) !important;
	color: var(--e-global-color-text, #000000) !important;
}

.dtpicker-select-btn,
.tpicker-select-btn {
	background: var(--e-global-color-primary, #B20000) !important;
	color: var(--e-global-color-17d59b0, #FFFFFF) !important;
	box-shadow: 0 10px 18px rgba(156, 27, 0, 0.22) !important;
}

.dtpicker-select-btn:hover,
.tpicker-select-btn:hover {
	background: var(--e-global-color-1f177ea, #9C1B00) !important;
}

/* Checkout styling */
body.page-id-48 {
	--moara-checkout-primary: var(--e-global-color-primary, #B20000);
	--moara-checkout-primary-dark: var(--e-global-color-1f177ea, #9C1B00);
	--moara-checkout-cream: var(--e-global-color-1f8f171, #ECDFB9);
	--moara-checkout-sand: var(--e-global-color-6b1e6b4, #917E66);
	--moara-checkout-white: var(--e-global-color-17d59b0, #FFFFFF);
	--moara-checkout-text: var(--e-global-color-text, #000000);
	--moara-checkout-border: rgba(145, 126, 102, 0.28);
	--moara-checkout-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
}

body.page-id-48 .fwp-pro-card,
body.page-id-48 .fwp-pro-loginwrap,
body.page-id-48 .wc-block-checkout,
body.page-id-48 .wc-block-components-sidebar,
body.page-id-48 .wc-block-components-totals-wrapper,
body.page-id-48 .wc-block-checkout__main,
body.page-id-48 .wc-block-checkout__sidebar,
body.page-id-48 .wc-block-components-order-summary,
body.page-id-48 .wc-block-checkout__actions_row,
body.page-id-48 .wc-block-components-panel,
body.page-id-48 .wc-block-components-checkout-step,
body.page-id-48 .wc-block-components-order-summary-item {
	border-radius: 20px !important;
}

body.page-id-48 .fwp-pro-card,
body.page-id-48 .fwp-pro-loginwrap,
body.page-id-48 .wc-block-checkout__main,
body.page-id-48 .wc-block-checkout__sidebar .wc-block-components-sidebar-layout,
body.page-id-48 .wc-block-components-totals-wrapper,
body.page-id-48 .wc-block-components-panel,
body.page-id-48 .wc-block-components-checkout-step {
	border: 1px solid var(--moara-checkout-border) !important;
	background: #fff !important;
	box-shadow: none !important;
}

body.page-id-48 .wc-block-components-totals-wrapper,
body.page-id-48 .wc-block-components-panel,
body.page-id-48 .wc-block-components-checkout-step {
	border: 0 !important;
}

@media (min-width: 768px) {
	body.page-id-48 .fwp-pro-loginwrap,
	body.page-id-48 .wc-block-checkout__main,
	body.page-id-48 .wc-block-checkout__sidebar .wc-block-components-sidebar-layout,
	body.page-id-48 .wc-block-components-totals-wrapper,
	body.page-id-48 .wc-block-components-panel,
	body.page-id-48 .wc-block-components-checkout-step {
		padding: 20px !important;
	}
}

body.page-id-48 .fwp-pro-card-title,
body.page-id-48 .fwp-pro-h,
body.page-id-48 .wc-block-components-title,
body.page-id-48 .wc-block-components-checkout-step__heading,
body.page-id-48 .wc-block-components-order-summary__title,
body.page-id-48 .wc-block-components-panel__button,
body.page-id-48 .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
	font-family: "Cormorant Garamond", Sans-serif;
}

body.page-id-48 .fwp-pro-card-title,
body.page-id-48 .fwp-pro-h,
body.page-id-48 .wc-block-components-title,
body.page-id-48 .wc-block-components-checkout-step__heading,
body.page-id-48 .wc-block-components-order-summary__title {
	color: var(--moara-checkout-primary-dark) !important;
	font-size: clamp(28px, 2.5vw, 44px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
}

body.page-id-48 .fwp-pro-card-sub,
body.page-id-48 .fwp-pro-label,
body.page-id-48 .wc-block-components-checkbox__label,
body.page-id-48 .wc-block-components-text-input label,
body.page-id-48 .wc-block-components-combobox .wc-block-components-combobox-control label,
body.page-id-48 .wc-block-components-select label,
body.page-id-48 .wc-block-components-radio-control__option-layout,
body.page-id-48 .wc-block-components-address-form__address_2-toggle,
body.page-id-48 .wc-block-components-order-summary-item__description {
	color: var(--moara-checkout-sand) !important;
	font-family: "Montserrat", Sans-serif;
}

body.page-id-48 .fwp-pro-btn,
body.page-id-48 .fwp-pro-card,
body.page-id-48 .wc-block-components-button,
body.page-id-48 .wc-block-cart__submit-button,
body.page-id-48 .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
body.page-id-48 .wc-block-components-checkout-return-to-cart-button,
body.page-id-48 .wc-block-components-panel__button {
	border: 1px solid var(--moara-checkout-primary) !important;
	border-radius: 16px !important;
	background: linear-gradient(180deg, var(--moara-checkout-primary) 0%, var(--moara-checkout-primary-dark) 100%) !important;
	color: var(--moara-checkout-white) !important;
	box-shadow: 0 12px 24px rgba(156, 27, 0, 0.18);
	font-family: "Montserrat", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.page-id-48 .fwp-pro-card {
	background: #fff !important;
	color: var(--moara-checkout-primary-dark) !important;
	box-shadow: none !important;
	padding: 22px 20px;
}

body.page-id-48 .fwp-pro-card-title,
body.page-id-48 .fwp-pro-card-sub {
	color: var(--moara-checkout-primary-dark) !important;
}

body.page-id-48 .fwp-pro-card:hover,
body.page-id-48 .fwp-pro-card:focus-visible,
body.page-id-48 .fwp-pro-btn:hover,
body.page-id-48 .fwp-pro-btn:focus-visible,
body.page-id-48 .wc-block-components-button:hover,
body.page-id-48 .wc-block-components-button:focus,
body.page-id-48 .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover,
body.page-id-48 .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:focus,
body.page-id-48 .wc-block-components-panel__button:hover,
body.page-id-48 .wc-block-components-panel__button:focus {
	filter: brightness(1.03);
	box-shadow: 0 16px 28px rgba(156, 27, 0, 0.24);
	transform: translateY(-1px);
}

body.page-id-48 .wc-block-components-checkout-return-to-cart-button {
	background: transparent !important;
	color: var(--moara-checkout-primary) !important;
	box-shadow: none;
	padding: 5px !important;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	min-width: 150px;
	white-space: nowrap;
}

body.page-id-48 .wc-block-components-text-input input,
body.page-id-48 .wc-block-components-text-input input[type="email"],
body.page-id-48 .wc-block-components-text-input input[type="tel"],
body.page-id-48 .wc-block-components-text-input input[type="text"],
body.page-id-48 .wc-block-components-text-input input[type="number"],
body.page-id-48 .wc-block-components-text-input textarea,
body.page-id-48 .wc-block-components-combobox .wc-block-components-combobox-control input,
body.page-id-48 .wc-block-components-select select,
body.page-id-48 .fwp-pro-login input[type="text"],
body.page-id-48 .fwp-pro-login input[type="password"],
body.page-id-48 select[data-fwp-city-select="1"] {
	min-height: 56px;
	border: 1px solid var(--moara-checkout-border) !important;
	border-radius: 16px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: var(--moara-checkout-text) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
	font-family: "Montserrat", Sans-serif;
	padding-left: 16px !important;
	padding-right: 16px !important;
}

body.page-id-48 .wc-block-components-text-input.is-active input,
body.page-id-48 .wc-block-components-text-input input:focus,
body.page-id-48 .wc-block-components-text-input textarea:focus,
body.page-id-48 .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.page-id-48 .wc-block-components-select select:focus,
body.page-id-48 .fwp-pro-login input[type="text"]:focus,
body.page-id-48 .fwp-pro-login input[type="password"]:focus,
body.page-id-48 select[data-fwp-city-select="1"]:focus {
	border-color: var(--moara-checkout-primary) !important;
	box-shadow: 0 0 0 1px var(--moara-checkout-primary), 0 10px 20px rgba(156, 27, 0, 0.10) !important;
	outline: none;
}

body.page-id-48 .wc-block-components-form .wc-block-components-text-input label,
body.page-id-48 .wc-block-components-text-input label {
	top: 16px !important;
	left: 16px !important;
}

body.page-id-48 .wc-block-components-radio-control .wc-block-components-radio-control__option,
body.page-id-48 .wc-block-components-checkbox,
body.page-id-48 .wc-block-components-order-summary-item,
body.page-id-48 .wc-block-components-totals-item {
	border-color: rgba(145, 126, 102, 0.18) !important;
}

body.page-id-48 .wc-block-components-order-summary-item__quantity,
body.page-id-48 .wc-block-components-formatted-money-amount,
body.page-id-48 .wc-block-components-totals-item__value,
body.page-id-48 .wc-block-formatted-money-amount {
	color: var(--moara-checkout-primary-dark) !important;
	font-weight: 700;
}

body.page-id-48 .wc-block-components-checkout-step__description,
body.page-id-48 .wc-block-components-validation-error,
body.page-id-48 .wc-block-components-notice-banner {
	font-family: "Montserrat", Sans-serif;
}

body.page-id-48 .wc-block-components-notice-banner,
body.page-id-48 .fwp-pro-error {
	border: 1px solid rgba(178, 0, 0, 0.22) !important;
	border-radius: 16px !important;
	background: rgba(255, 245, 245, 0.96) !important;
	color: var(--moara-checkout-primary-dark) !important;
}

body.page-id-48 .wc-block-components-radio-control__input:checked,
body.page-id-48 .wc-block-components-checkbox__input:checked,
body.page-id-48 input[type="checkbox"]:checked,
body.page-id-48 input[type="radio"]:checked {
	accent-color: var(--moara-checkout-primary);
}

@media (max-width: 767px) {
	body.page-id-48 .fwp-pro-card-title,
	body.page-id-48 .fwp-pro-h,
	body.page-id-48 .wc-block-components-title,
	body.page-id-48 .wc-block-components-checkout-step__heading,
	body.page-id-48 .wc-block-components-order-summary__title {
		font-size: 28px;
	}

	body.page-id-48 .fwp-pro-card,
	body.page-id-48 .fwp-pro-loginwrap,
	body.page-id-48 .wc-block-checkout__main,
	body.page-id-48 .wc-block-components-totals-wrapper,
	body.page-id-48 .wc-block-components-panel,
	body.page-id-48 .wc-block-components-checkout-step {
		border-radius: 18px !important;
	}

}

/* Remove default shadow from add to cart buttons rendered inside product loops. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ajax_add_to_cart,
.wc-block-grid__products .wc-block-grid__product .wp-block-button__link,
.wc-block-product-template .wp-block-button__link,
.wc-block-product-template .wc-block-components-product-button__button,
.wc-block-product-template .add_to_cart_button,
.elementor-widget-loop-grid .add_to_cart_button,
.elementor-widget-loop-grid .ajax_add_to_cart,
.elementor-loop-container .add_to_cart_button,
.elementor-loop-container .ajax_add_to_cart {
	box-shadow: none !important;
}

.woocommerce div.product form.cart {
	margin-bottom: 0 !important;
}

.fwp-moara-submit.single_add_to_cart_button.button.alt,
.fwp-moara-native-add-to-cart .woocommerce-variation-add-to-cart .single_add_to_cart_button.button.alt {
	box-shadow: none !important;
}
