/*
Theme Name: Wellness Joy Child Theme
Theme URI: https://wellness-joy.axiomthemes.com/
Description: Wellness Joy is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: Axiomthemes
Author URI: https://axiomthemes.com/
Version: 1.10.0
Tested up to: 6.8
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: wellness-joy
Template: wellness-joy
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* NanaNova header logo: compensate for transparent padding in the square source image. */
.top_panel_custom_6461 .elementor-widget-trx_sc_layouts_logo .sc_layouts_logo {
	position: relative;
	display: block;
	width: 170px;
	height: 44px;
	overflow: hidden;
}

.top_panel_custom_6461 .elementor-widget-trx_sc_layouts_logo .logo_image {
	position: absolute;
	top: 50%;
	left: 0;
	width: auto !important;
	height: 44px !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain;
	object-position: left center;
	transform: translateY(-50%);
}

@media (max-width: 1024px) {
	.top_panel_custom_6461 .elementor-widget-trx_sc_layouts_logo .sc_layouts_logo {
		width: 145px;
		height: 38px;
	}

	.top_panel_custom_6461 .elementor-widget-trx_sc_layouts_logo .logo_image {
		width: auto !important;
		height: 38px !important;
	}
}

@media (max-width: 767px) {
	.top_panel_custom_6461 .elementor-widget-trx_sc_layouts_logo .sc_layouts_logo {
		width: 128px;
		height: 34px;
	}

	.top_panel_custom_6461 .elementor-widget-trx_sc_layouts_logo .logo_image {
		width: auto !important;
		height: 34px !important;
	}
}

/* THE COLLECTION: equalise the two final image tiles without changing media files. */
.elementor-5070 .elementor-element-c5c794c > .elementor-element-e737791,
.elementor-5070 .elementor-element-c5c794c > .elementor-element-dc538ff {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
}
.elementor-5070 .elementor-element-c5c794c > .elementor-element-e737791 img,
.elementor-5070 .elementor-element-c5c794c > .elementor-element-dc538ff img {
	width: 100%;
	aspect-ratio: 3 / 4;
	height: auto;
	object-fit: cover;
}

/* NanaNova typography: use the already-loaded Montserrat family for text only. */
body,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body button, body label,
body .elementor-heading-title,
body .elementor-widget-text-editor,
body .elementor-widget-button .elementor-button,
body .woocommerce, body .woocommerce-page,
body .woocommerce-loop-product__title,
body .woocommerce div.product .product_title,
body .woocommerce div.product .price,
body .woocommerce-breadcrumb,
body .sc_layouts_title_caption,
body .sc_layouts_title_breadcrumbs,
body .trx-addons-main-nav-menu .trx-addons-menu-link {
	font-family: Montserrat, sans-serif;
}
body.woocommerce-page .woocommerce-loop-product__title,
body.woocommerce-page .woocommerce ul.products li.product .price,
body.woocommerce-page .woocommerce div.product .product_title,
body.woocommerce-page .woocommerce div.product .price,
body.woocommerce-page .woocommerce .price,
body.woocommerce-page .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce small,
body.woocommerce-page .woocommerce label,
body.woocommerce-page .woocommerce input,
body.woocommerce-page .woocommerce select,
body.woocommerce-page .woocommerce textarea {
	font-family: Montserrat, sans-serif !important;
}
body .price,
body .woocommerce-Price-amount,
body .woocommerce-Price-currencySymbol,
body .decimals_separator,
body .decimals,
body .screen-reader-text {
	font-family: Montserrat, sans-serif !important;
}

/* Shop-only NanaNova category pills. */
.nananova-shop-selector {
	max-width: 1300px;
	margin: 0 auto 36px;
	padding: 26px 30px;
	background: #f7f1ed;
	border: 1px solid rgba(137,84,78,.14);
	border-radius: 22px;
}
.nananova-shop-selector .nananova-shop-kicker {font-size:11px;letter-spacing:.12em;color:#89544e;margin-bottom:7px}
.nananova-shop-selector h2 {margin:0 0 18px;font-size:25px;font-weight:500;letter-spacing:.01em;color:#553d39}
.nananova-shop-selector nav {display:flex;flex-wrap:wrap;gap:10px}
.nananova-shop-pill {display:inline-flex;align-items:center;padding:11px 18px;border:1px solid rgba(137,84,78,.18);border-radius:999px;background:rgba(255,255,255,.55);color:#4b3a37;font-size:13px;letter-spacing:.03em;line-height:1.2;transition:all .25s ease}
.nananova-shop-pill:hover {background:#eedfd6;border-color:#b98f7d;color:#4b3a37}
.nananova-shop-pill.is-active {background:#89544e;border-color:#89544e;color:#fff}
.nananova-shop-status {margin-top:18px;font-size:12px;opacity:.65;color:#553d39;letter-spacing:.02em}
@media (max-width:767px){.nananova-shop-selector{margin:0 16px 28px;padding:24px 18px}.nananova-shop-selector h2{font-size:22px}.nananova-shop-selector nav{gap:8px}.nananova-shop-pill{flex:1 1 calc(50% - 8px);justify-content:center;padding:11px 8px;font-size:12px;text-align:center}}

/* Inner-page content only: remove the demo's oversized opening top padding. */
body.woocommerce-shop .page_content_wrap { padding-top: 30px !important; }
body.page-id-7511 .page_content_wrap .elementor > .elementor-element:first-child {
	padding-top: 30px !important;
}
body.page-id-5078 .page_content_wrap .elementor > .elementor-element:first-child {
	padding-top: 50px !important;
}
body.page-id-5104 .elementor-5104 .elementor-element-9347767 {
	transform: none !important;
	margin-top: -145px !important;
	margin-bottom: -145px !important;
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

/* Header 6461 only: shrink the actual right-side wrappers to their content
   so their visual centers follow the menu row instead of the stretched
   container cross-axis. */
.elementor-6461 .elementor-element-146dd82 > .elementor-element-9e036ac,
.elementor-6461 .elementor-element-9616c3e > .elementor-element-cb376cb,
.elementor-6461 .elementor-element-9e036ac > .elementor-element-nncommerce6461,
.elementor-6461 .elementor-element-9e036ac > .elementor-element-f60f36e,
.elementor-6461 .elementor-element-cb376cb > .elementor-element-nncommerce6461,
.elementor-6461 .elementor-element-cb376cb > .elementor-element-68bee78 {
	align-self: center !important;
}

/* The two middle icons need a tiny desktop-only optical correction. */
@media (min-width: 1025px) {
	.elementor-6461 .elementor-element-nnwishlist6461,
	.elementor-6461 .elementor-element-nnaccount6461 {
		transform: translateY(5px);
	}
}

/* Inner-page white Header (Layout 275): move only the middle two icons. */
@media (min-width: 1025px) {
	.top_panel_custom_275 .elementor-element-nnwishlist,
	.top_panel_custom_275 .elementor-element-nnaccount {
		transform: translateY(2px);
	}
}

/* Inner pages only: match the normal menu to Header 6461's dark sticky menu. */
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .trx-addons-nav-menu-item > .trx-addons-menu-link {
	color: var(--e-global-color-theme_color_title);
	opacity: 1;
}
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .trx-addons-nav-menu-item > .trx-addons-menu-link .trx-addons-dropdown-icon,
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .trx-addons-nav-menu-item > .trx-addons-menu-link .trx-addons-dropdown-icon svg path {
	color: var(--e-global-color-theme_color_title);
	fill: var(--e-global-color-theme_color_title);
	opacity: 1;
}

/* Homepage overlay: fixed-row helpers must not reserve a white header
   slot before the Hero. Keep sticky row behaviour intact. */
body.home.header_position_over .sc_layouts_row_fixed_placeholder,
body.home.header_position_over .sc_layouts_row_unfixed_placeholder {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	background: transparent !important;
}

/* The overlay homepage must not inherit the theme's normal main-content
   top padding. This removes the 144px wrapper offset without touching Hero. */
body.home.header_position_over .page_content_wrap {
	padding-top: 0 !important;
}
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .trx-addons-nav-menu-item:hover > .trx-addons-menu-link,
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .trx-addons-active-item > .trx-addons-menu-link,
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .current-menu-ancestor > .trx-addons-menu-link,
body.header_position_default .elementor-6461 .elementor-element-4fcc829 .trx-addons-main-nav-menu > .current-menu-item > .trx-addons-menu-link {
	color: var(--e-global-color-theme_color_text);
	opacity: 1;
}

/* Header 6461: reserve a real flex slot for the CTA so its label cannot wrap. */
@media (min-width: 1025px) {
	.elementor-6461 .elementor-element-f60f36e,
	.elementor-6461 .elementor-element-68bee78 {
		flex: 0 0 140px !important;
		width: 140px !important;
		min-width: 140px !important;
	}
	.elementor-6461 .elementor-element-f60f36e .elementor-button,
	.elementor-6461 .elementor-element-68bee78 .elementor-button {
		width: 100% !important;
		min-width: 0 !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
	}
}
