/*
Theme Name: Luchiana-Child
Theme URI: https://parkofideas.com/luchiana/
Text Domain: luchiana-child
Description: Cosmetics and Beauty Shop Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.2
Template: luchiana
Author: parkofideas.com
Author URI: https://parkofideas.com
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* Theme customization starts here
-------------------------------------------------------------- */
.entry-content img,
.c-page__content img,
.elementor-widget-text-editor img {
	max-width: 100%;
	height: auto;
}

/* Avada sets .fusion-button_size-large .quantity { width: 122px }, which
   clips Luchiana's 150px quantity control and pushes + against Add to cart.
   It also shrinks button.button, so the product button loses the theme height. */
.c-product form.cart .c-product__quantity {
	width: auto;
}

body.fusion-button_size-large .c-product__atc-wrap button.button {
	padding: 18px 26px;
	line-height: 14px;
	font-size: 12px;
}

.c-product__atc-wrap .ppcp-messages {
	margin-top: 14px;
}

/* PayPal sets display:block on some methods, which drops the radio
   above the label. Keep the radio, name, and card icons on one line. */
.c-cart__payment-methods > li.wc_payment_method {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
}

.c-cart__payment-methods-title {
	flex-direction: row;
	align-items: center;
}

.c-cart__payment-methods-title img {
	max-height: 24px;
	width: auto;
	margin-left: 8px;
}

.c-cart__payment-methods-title img:first-of-type {
	margin-left: auto;
}

.c-cart__payment-methods-box {
	flex: 1 0 100%;
}

/* Content pages rebuilt from Avada into the theme layout. */
.dm-theme-page {
	color: #616161;
	font-size: 15px;
	line-height: 1.75;
}

.dm-theme-page h2,
.dm-theme-page h3 {
	margin: 1.6em 0 0.6em;
	color: #111;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.dm-theme-page h2 {
	font-size: 22px;
}

.dm-theme-page h3 {
	font-size: 16px;
}

.dm-theme-page p {
	margin: 0 0 1em;
}

.dm-theme-page a {
	text-decoration: underline;
}

.dm-theme-page img {
	max-width: 100%;
	height: auto;
}

.dm-videos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.elementor-widget.dm-inline-video {
	max-width: 720px;
	margin: 1.5em 0;
}

.elementor-element.dm-videos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.elementor-element.dm-videos > .e-con-inner {
	display: contents;
}

.dm-video iframe,
.dm-videos iframe,
.dm-theme-page iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.dm-reviews {
	display: grid;
	gap: 32px;
}

.dm-review {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 28px;
	align-items: start;
	padding-bottom: 32px;
	border-bottom: 1px solid #e4e4e4;
}

.dm-review img {
	width: 140px;
	height: 140px;
	object-fit: cover;
}

.dm-review h2 {
	margin-top: 0;
}

@media (max-width: 767px) {
	.dm-videos,
	.dm-review,
	.elementor-element.dm-videos {
		grid-template-columns: 1fr;
	}
}

/* FAQ page only: drop the narrow post column so the tabs can sit on one line. */
.page-id-2034 .c-post__wrap {
	padding-left: 20px;
	padding-right: 20px;
}

.page-id-2034 .c-post__inner,
.page-id-2034 .e-con-inner {
	max-width: none;
}

/* FAQ category tabs, matching the live site filter row. */
.dm-faq-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0 22px;
	overflow: visible;
	border-bottom: 1px solid #e4e4e4;
	margin: 10px 0 8px;
}

@media (max-width: 1189px) {
	.dm-faq-tabs {
		flex-wrap: wrap;
	}
}

.dm-faq-tabs button {
	flex: 0 0 auto;
	margin: 0 0 -1px;
	padding: 14px 0 12px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--text-color);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
	cursor: pointer;
}

.dm-faq .c-ip-accordion__wrap--layout-1 {
	margin: 0;
}

.dm-faq .c-ip-accordion__item--layout-1 {
	margin: 0;
	border-bottom: 1px solid #e4e4e4;
}

.dm-faq .c-ip-accordion__header--layout-1 {
	padding: 18px 36px 18px 0;
	color: var(--text-color);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
}

.dm-faq .c-ip-accordion__arrow--layout-1 {
	right: 0;
}

.dm-faq .c-ip-accordion__content--layout-1 {
	padding: 0 36px 20px 0;
	color: var(--text-color);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
	line-height: 1.7;
	text-align: left;
}

.dm-faq-tabs button.is-active {
	color: #559a42;
	border-bottom-color: #559a42;
}

.dm-faq .c-ip-accordion__item.is-hidden {
	display: none;
}

/* Hair Loss page: keep the article list, links, and product inside the centered column. */
.page-id-35283 .elementor-element-203e622,
.page-id-35283 .elementor-element-120eb38 {
	width: min(1160px, calc(100% - 60px));
	max-width: 1160px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}

.page-id-35283 .elementor-element-203e622 {
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 36px;
	background: transparent;
}

.page-id-35283 .elementor .elementor-element-af68f19 {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	padding: 6px 28px 8px;
	background: #fff;
}

.page-id-35283 .elementor .elementor-element-d1acada {
	flex: 0 0 340px;
	width: 340px;
	max-width: 100%;
	margin: 0;
	padding: 28px 24px;
	background: #fff;
	border: 1px solid #ececec;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__wrap--layout-1,
.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__item--layout-1 {
	margin: 0;
	background: transparent;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__item--layout-1 {
	border-bottom: 1px solid #e6e6e6;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__item--layout-1:last-child {
	border-bottom: 0;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__header--layout-1 {
	padding: 16px 32px 4px 0;
	color: var(--text-color);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.45;
	text-transform: none;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__arrow--layout-1 {
	right: 0;
}

.page-id-35283 .elementor-element-af68f19 .dm-article-preview {
	display: -webkit-box;
	margin: 0 32px 14px 0;
	overflow: hidden;
	color: #616161;
	font-size: 14px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__item--active .dm-article-preview {
	display: none;
}

.page-id-35283 .elementor-element-af68f19 .c-ip-accordion__content--layout-1 {
	padding: 0 32px 16px 0;
	color: #444;
	font-family: var(--font-text);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.7;
	text-align: left;
}

.page-id-35283 .elementor-element-d1acada .c-ip-heading {
	margin: 0 0 12px;
	color: var(--text-color);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

.page-id-35283 .elementor-element-d1acada .elementor-widget-text-editor {
	color: #555;
	font-family: var(--font-text);
	font-size: 14px;
	line-height: 1.6;
}

.page-id-35283 .elementor-element-d1acada h6 {
	margin: 0 0 4px;
	color: var(--text-color);
	font-family: var(--font-text);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

.page-id-35283 .elementor-element-d1acada .elementor-spacer-inner {
	height: 16px !important;
}

.page-id-35283 .elementor-element-120eb38 {
	align-items: center;
	margin-bottom: 48px;
}

.page-id-35283 .elementor-element-120eb38 img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.page-id-35283 .elementor-element-203e622 {
		flex-direction: column;
		width: calc(100% - 32px);
	}

	.page-id-35283 .elementor .elementor-element-af68f19,
	.page-id-35283 .elementor .elementor-element-d1acada {
		flex: 1 1 auto;
		width: 100%;
	}
}

/* Applicator sits in the colour row, drawn as an icon rather than a fill. */
.variable-item[data-value="applicator"] .dm-applicator-swatch {
	background-color: #fff;
	background-image: url("images/applicator-swatch.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
}
