/* Therapy Dolls header controls: language switcher and responsive mini cart. */
.t4-header-r > .mod-opc-language-switcher {
	display: flex;
	align-items: center;
	height: 48px;
	margin-left: 10px;
}

.t4-header-r .mod-opc-language-switcher__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	border-radius: 999px;
	color: var(--mainnav-link-color, #6e5d5d);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.t4-header-r .mod-opc-language-switcher__link:hover,
.t4-header-r .mod-opc-language-switcher__link:focus-visible {
	background: rgba(226, 135, 171, .14);
	color: var(--mainnav-link-hover-color, #e287ab);
	outline: none;
	text-decoration: none;
}

.t4-header-r .mod-opc-language-switcher__link:focus-visible {
	box-shadow: 0 0 0 2px currentColor;
}

@media (max-width: 575.98px) {
	#t4-header .navbar-brand {
		margin-right: 12px;
	}

	#t4-header .t4-header-r > * {
		margin-left: 6px;
	}
}

@media (max-width: 359.98px) {
	#t4-header .navbar-brand {
		margin-right: 0;
	}

	#t4-header .t4-header-r > * {
		margin-left: 4px;
	}

	#t4-header .t4-header-r .mod-finder {
		width: 40px;
	}

	#t4-header .t4-header-r .vat_country_selector {
		min-width: 24px !important;
		width: 24px;
	}

	#t4-header .t4-header-r .vat_country_selector img {
		width: 24px !important;
		height: 16px !important;
	}

	#t4-header .t4-header-r .vmCartModule,
	#t4-header .t4-header-r .vmCartModule > .dropdownCart-btn {
		width: 40px;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	#t4-header .t4-navbar {
		display: none;
	}
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
	#t4-header .t4-megamenu .navbar-nav {
		flex-wrap: nowrap;
		white-space: nowrap;
	}

	#t4-header .t4-megamenu .navbar-nav > li > a,
	#t4-header .t4-megamenu .navbar-nav > li > .nav-link {
		padding-right: 6px;
		padding-left: 6px;
		font-size: 13px;
	}
}

.vmCartModule.dropdownCart {
	position: relative;
}

.vmCartModule.dropdownCart > .dropdownCart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 6px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--mainnav-link-color, #6e5d5d);
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.vmCartModule.dropdownCart > .dropdownCart-btn:hover,
.vmCartModule.dropdownCart > .dropdownCart-btn:focus-visible,
.vmCartModule.dropdownCart.is-open > .dropdownCart-btn {
	background: rgba(226, 135, 171, .14);
	color: var(--mainnav-link-hover-color, #e287ab);
	outline: none;
}

.vmCartModule.dropdownCart > .dropdownCart-btn:focus-visible {
	box-shadow: 0 0 0 2px currentColor;
}

.vmCartModule.dropdownCart .dropdownCart-icon,
.vmCartModule.dropdownCart .dropdownCart-icon svg {
	display: block;
}

.vmCartModule.dropdownCart .dropdownCart-icon svg path {
	stroke: currentColor;
}

.vmCartModule.dropdownCart > .dropdownCart-btn .total_products {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -1px;
	right: -2px;
	min-width: 19px;
	height: 19px;
	padding: 0 4px;
	border: 2px solid #fbf9f4;
	border-radius: 999px;
	background: var(--color-primary, #d68787);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.vmCartModule.dropdownCart:has(.dropdownCart-container.is_empty_cart) > .dropdownCart-btn .total_products {
	display: none;
}

.vmCartModule.dropdownCart > .dropdownCart-container {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	z-index: 1050;
	width: min(380px, calc(100vw - 24px));
	max-height: calc(100vh - 92px);
	max-height: calc(100dvh - 92px);
	overflow-y: auto;
	border: 1px solid rgba(110, 93, 93, .16);
	border-radius: 14px;
	background: #fbf9f4;
	box-shadow: 0 14px 40px rgba(110, 93, 93, .22);
}

.vmCartModule.dropdownCart.is-open > .dropdownCart-container {
	display: block;
}

.vmCartModule.dropdownCart > .dropdownCart-container.is_empty_cart {
	display: none !important;
}

.vmCartModule.dropdownCart .dropdownCart-container .product_row {
	padding: 12px 0;
}

.vmCartModule.dropdownCart .dropdownCart-container .show_cart > a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 999px;
	background: var(--color-primary, #d68787);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.vmCartModule.dropdownCart .dropdownCart-container .show_cart > a:hover,
.vmCartModule.dropdownCart .dropdownCart-container .show_cart > a:focus-visible {
	background: var(--mainnav-link-hover-color, #e287ab);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	.vmCartModule.dropdownCart:not(:has(.dropdownCart-container.is_empty_cart)):hover > .dropdownCart-container,
	.vmCartModule.dropdownCart:not(:has(.dropdownCart-container.is_empty_cart)):focus-within > .dropdownCart-container {
		display: block;
	}
}

@media (max-width: 991.98px) {
	.t4-header-r > .mod-opc-language-switcher {
		margin-left: 6px;
	}

	.t4-header-r .mod-opc-language-switcher__link {
		min-width: 32px;
		height: 32px;
		padding: 0 4px;
	}

	.vmCartModule.dropdownCart > .dropdownCart-container {
		right: -4px;
		width: min(340px, calc(100vw - 20px));
		border-radius: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.t4-header-r .mod-opc-language-switcher__link,
	.vmCartModule.dropdownCart > .dropdownCart-btn {
		transition: none;
	}
}

/* Product detail options and add-to-cart layout. */
.productdetails-view .vm-product-info .addtocart-area form.product {
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap {
	float: none !important;
	clear: none !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 0 1rem !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .pd-detail-item {
	margin-bottom: 0 !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .row.list-product,
.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .product-fields {
	float: none !important;
	clear: none !important;
	display: flex !important;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
	gap: .75rem;
	margin: 0;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .row.list-product > .product-field,
.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .product-fields > .product-field {
	flex: 1 1 150px;
	width: auto;
	max-width: 220px;
	margin: 0 !important;
	padding: 0 !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .product-fields-title-wrapper {
	text-align: left !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .product-field-display {
	height: auto !important;
	justify-content: flex-start;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .cf4all_wrapper,
.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap select {
	width: 100%;
	max-width: 100%;
}

.productdetails-view .vm-product-info .addtocart-area .addtocart-bar {
	float: none !important;
	clear: none !important;
	width: 100%;
	margin: 0 !important;
	flex-wrap: wrap;
	gap: .75rem;
}

.productdetails-view .vm-product-info .addtocart-area .addtocart-bar .addtocart-button {
	margin-left: 0;
}

@media (max-width: 575.98px) {
	.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .row.list-product > .product-field,
	.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .product-fields > .product-field {
		flex-basis: 100%;
		max-width: none;
	}
}

/* Newsletter fallback presentation on menu-less component pages. */
:is(#Mod156, .id_m_156) .af-form-wrapper {
	max-width: 760px;
	margin-inline: auto;
}

:is(#Mod156, .id_m_156) .af-form {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(110, 93, 93, .14);
	border-radius: 18px;
	background: rgba(251, 249, 244, .94);
	box-shadow: 0 14px 36px rgba(110, 93, 93, .16);
}

:is(#Mod156, .id_m_156) .af-body h3 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.2;
}

:is(#Mod156, .id_m_156) .af-body center {
	display: block;
}

:is(#Mod156, .id_m_156) .af-textWrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: .75rem;
	align-items: center;
}

:is(#Mod156, .id_m_156) .af-textWrap input.text,
:is(#Mod156, .id_m_156) .af-textWrap input[type="email"] {
	width: 100%;
	min-width: 0;
	height: 48px;
	padding: .65rem .9rem;
	border: 1px solid rgba(110, 93, 93, .24);
	border-radius: 10px;
	background: #fff;
	color: #6e5d5d;
	font: inherit;
}

:is(#Mod156, .id_m_156) .af-textWrap input:focus {
	border-color: #d68787;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(214, 135, 135, .2);
}

:is(#Mod156, .id_m_156) .af-textWrap input.button {
	height: 48px;
	padding: 0 1.4rem;
	border: 0;
	border-radius: 10px;
	background: #d68787;
	color: #fff;
	font: 700 1rem/1 Urbanist, sans-serif;
	cursor: pointer;
}

:is(#Mod156, .id_m_156) .af-textWrap input.button:hover,
:is(#Mod156, .id_m_156) .af-textWrap input.button:focus-visible {
	background: #e287ab;
}

body.layout-home:not(.com_content.view-featured) #t4-section-1 {
	padding-top: 164px;
}

@media (max-width: 991.98px) {
	body.layout-home:not(.com_content.view-featured) #t4-section-1 {
		padding-top: 96px;
	}
}

@media (max-width: 575.98px) {
	:is(#Mod156, .id_m_156) .af-form {
		border-radius: 14px;
	}

	:is(#Mod156, .id_m_156) .af-textWrap {
		grid-template-columns: 1fr;
	}

	:is(#Mod156, .id_m_156) .af-textWrap input.button {
		width: 100%;
	}
}
