/*
Theme Name: Mallucci
Version: 1
*/

:root {
	--white: #fff;
	--black: #000;
	--grey: #b7b9b9;
}

body,
p,
li {
	margin: 0;
	font-size: 22px;
	line-height: 140%;
	font-family: "proxima-nova", sans-serif;
	font-weight: 400;
}

p {
	margin-bottom: 12px;
}

p:nth-last-child(1) {
	margin-bottom: 0;
}

a {
	color: var(--black);
}

* {
	box-sizing: border-box;
}

.container {
	max-width: 1440px !important;
	width: 100%;
	margin: 0 auto;
	padding: 0 32px;
}

h1,
.h1 {
	font-family: "DM Serif Display", serif;
	font-size: 68px;
    line-height: 90%;
    margin: 0;
	margin-bottom: 18px;
	font-weight: 400;
}

h2,
.h2 {
	font-family: "DM Serif Display", serif;
	font-size: 65px;
    line-height: 73%;
	font-weight: 400;
	letter-spacing: -3px;
    margin: 0;
    margin-bottom: 18px;
}


h3,
.h3 {
	font-family: "DM Serif Display", serif;
	font-size: 33px;
    line-height: 140%;
    margin: 0;
    margin-bottom: 18px;
	font-weight: 400;
}

h4,
.h4 {
	font-family: "DM Serif Display", serif;
	font-size: 30px;
    line-height: 140%;
    margin: 0;
    margin-bottom: 18px;
}

.text-image h2,
.heading-line {
    position: relative;
    display: inline-block;
    line-height: 73%;
    padding-right: 16px;
    margin-bottom: 50px;
}

.text-image h2:after,
.heading-line:after {
    content: '';
    display: block;
    height: 100%;
    width: 1px;
    position: absolute;
    right: 0;
    background: var(--black);
    top: 16px;
    transform: rotate(22deg);
}

.dark .heading-line:after {
	background-color: var(--white);
}

p + h2 {
	margin-top: 18px;
}

a {
	text-decoration: none;
}

.non-list {
	list-style: none;
	padding: 0;
}

.dark h1,
.dark h2,
.dark h3, 
.dark h4,
.dark h5,
.dark h6,
.dark p, 
.dark li,
.dark a {
	color: var(--white)
}

img {
	width: 100%;
	height: auto;
	display: block;
}

#cms-content footer form input:not([type="submit"]) {
    background-color: transparent;
    font-size: 18px;
    padding: 16px 0;
	border: none;
    border-bottom: solid 2px;
}

#cms-content .gform_heading,
#cms-content .gfield_label {
	display: none;
}

footer.dark form input::placeholder {
	color: var(--white);
}

#cms-content footer.dark form input {
	border-color: var(--white);
	color: var(--white);
}

#cms-content footer.dark form input[type="submit"] {
	border-color: var(--white);
	color: var(--black);
}

#cms-content footer.dark form input[type="submit"]:hover {
	background-color: transprent;
	color: var(--white);
}

.before-after-slider ul li:before {
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjMDAwIj48cGF0aCBkPSJNNDAwLTgwIDAtNDgwbDQwMC00MDAgNzEgNzEtMzI5IDMyOSAzMjkgMzI5LTcxIDcxWiIvPjwvc3ZnPg==");
    transform: rotate(180deg);
    position: relative;
    left: -6px;
    display: inline-block;
    top: -4px;
}

.before-after-slider ul li {
    list-style: none;
    margin-bottom: 10px;
}

.before-after-slider ul {
    padding-left: 0;
}

.treatments-slider__slide.treatments-slider__slide--active .treatments-slider__slide-title p,
.related-conditions-slider__slide.related-conditions-slider__slide--active .related-conditions-slider__slide-title p {
	word-break: break-all;
    width: 495px;
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.treatments-slider__slide-title p,
.related-conditions-slider__slide-title p{
	transform-origin: bottom right;
    transform: rotate(-90deg) translateY(0) translateX(100%);
}

.treatments-slider__slide:nth-child(2) .treatments-slider__slide-title p,
.related-conditions-slider__slide:nth-child(2) .related-conditions-slider__slide-title p {
	word-break: break-all;
    width: 380px;
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-conditions-slider__slide:nth-child(2) .related-conditions-slider__slide-title p {
	width: 400px;
}

.treatments-slider__slide:nth-child(3) .treatments-slider__slide-title p,
.related-conditions-slider__slide:nth-child(3) .related-conditions-slider__slide-title p {
	word-break: break-all;
    width: 270px;
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-conditions-slider__slide:nth-child(3) .related-conditions-slider__slide-title p {
	width: 300px;
}

.blog-post-body h2 {
    margin: 50px 0;
}

.blog-post-body h3 {
    margin: 30px 0;
}

button {
	-webkit-appearance: none;
	appearance: none;
	border: none;
}

@media only screen and (max-width: 1024px) {
	.text-image h2,
	.heading-line {
		margin-bottom: 20px;
	}
	
	.mobile-menu__trigger--active {
		transition: all 0.3s ease-in-out;
    	transition-delay: 0.6s;
    	transform: rotate(45deg);
	}
	
	.mobile-menu__trigger--active span:nth-child(1) {
		transform: translateY(12px);
		transition-delay: 0.3s;
	}
	
	.mobile-menu__trigger--active span:nth-child(2) {
		width: 0 !important;
	}
	
	.mobile-menu__trigger--active span:nth-child(3) {
		transform: translateY(-10px) rotate(90deg);
		transition-delay: 0.3s;
	}
	
	h1,
	.h1 {
		font-size: 50px;
	}
	
	h2, 
	.h2 {
		font-size: 46px;
	}
	
	.heading-line:after {
		height: 70%;
	}
	
	.swiper-button-prev:after,
	.swiper-button-next:after {	
		height: 32px;
		width: 32px;
		border: solid 1px black;
		display: block;
		content: '';
		background-repeat: no-repeat;
		background-position: center;
		background-size: 16px;
	}
	
	.swiper-button-prev:after {
		background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTkuNCAyMzMuNGMtMTIuNSAxMi41LTEyLjUgMzIuOCAwIDQ1LjNsMTYwIDE2MGMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zTDEwOS4yIDI4OCA0MTYgMjg4YzE3LjcgMCAzMi0xNC4zIDMyLTMycy0xNC4zLTMyLTMyLTMybC0zMDYuNyAwTDIxNC42IDExOC42YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zcy0zMi44LTEyLjUtNDUuMyAwbC0xNjAgMTYweiIvPjwvc3ZnPg==")
	}
	
	.swiper-button-next:after {
		background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTQzOC42IDI3OC42YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zbC0xNjAtMTYwYy0xMi41LTEyLjUtMzIuOC0xMi41LTQ1LjMgMHMtMTIuNSAzMi44IDAgNDUuM0wzMzguOCAyMjQgMzIgMjI0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnMxNC4zIDMyIDMyIDMybDMwNi43IDBMMjMzLjQgMzkzLjRjLTEyLjUgMTIuNS0xMi41IDMyLjggMCA0NS4zczMyLjggMTIuNSA0NS4zIDBsMTYwLTE2MHoiLz48L3N2Zz4=");
	}
	
	.menu-item__submenu[aria-hidden="false"] {
		display: block !important;
	}

	.menu-item__submenu-second.hidden[aria-hidden="false"] {
		display: block !important;
	}

}



/* ==========================================================================
   Events + Gift Vouchers (page-events.php, page-gift-vouchers.php)
   ========================================================================== */

.ml-section {
	padding: 64px 0;
}

.ml-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

.ml-split > *,
.ml-event__grid > * {
	min-width: 0;
}

.ml-copy > p {
	max-width: 620px;
}

.ml-label {
	display: block;
	font-family: "proxima-nova", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.ml-notice {
	border-left: 2px solid currentColor;
	padding: 8px 0 8px 16px;
	margin: 24px 0;
	font-size: 18px;
}

.ml-small,
.ml-small p {
	font-size: 16px;
	margin-top: 24px;
}

/* Panels (form containers) stay white with black text, including inside dark sections */
.ml-panel {
	background: var(--white);
	color: var(--black);
	border: 1px solid var(--black);
	padding: 24px;
}

.ml-panel__heading {
	margin-bottom: 24px;
	line-height: 1.1;
}

.dark .ml-panel h3,
.dark .ml-panel p,
.dark .ml-panel li,
.dark .ml-panel a,
.dark .ml-panel label,
.dark .ml-panel legend {
	color: var(--black);
}

/* Cards (facials, Black Friday tiers) */
.ml-cards {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

.ml-card {
	border: 1px solid var(--black);
	padding: 24px;
	background: rgba(255, 255, 255, 0.6);
}

.dark .ml-card {
	border-color: var(--white);
	background: transparent;
}

.ml-card__title {
	font-size: 28px;
	line-height: 1.1;
	margin-bottom: 10px;
}

.ml-card p {
	font-size: 18px;
}

.ml-card .ml-card__price {
	font-family: "DM Serif Display", serif;
	font-size: 26px;
	margin-top: 12px;
}

.ml-tier {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: end;
}

.ml-tier p {
	margin: 0;
	font-family: "DM Serif Display", serif;
	font-size: 34px;
	line-height: 1;
}

.ml-tier .ml-tier__value {
	font-size: 46px;
}

/* Featured event */
.ml-notice--preview {
	margin: 0 0 32px;
	padding: 12px 16px;
	border: 1px dashed var(--black);
	background: var(--white);
	font-size: 15px;
}

.ml-event__grid {
	display: grid;
	gap: 40px;
}

.ml-event__media img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.ml-event__title {
	font-size: 38px;
	line-height: 1.05;
}

.ml-event__meta {
	margin: 24px 0 28px;
	padding: 20px 0;
	border-top: 1px solid var(--black);
	border-bottom: 1px solid var(--black);
	display: grid;
	gap: 12px;
}

.ml-event__meta div {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 16px;
	align-items: baseline;
}

.ml-event__meta dt {
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ml-event__meta dd {
	margin: 0;
	font-size: 20px;
}

.ml-event__details {
	margin-top: 16px;
}

.ml-event__details ul {
	padding-left: 20px;
	margin: 0 0 12px;
}

.ml-event .ml-event__price {
	font-family: "DM Serif Display", serif;
	font-size: 40px;
	line-height: 1;
	margin: 32px 0;
}

.ml-event__price small {
	font-family: "proxima-nova", sans-serif;
	font-size: 16px;
}

.ml-booking {
	margin-top: 64px;
	padding-top: 64px;
	border-top: 1px solid var(--black);
	scroll-margin-top: 120px;
}

#featured-event,
#register-interest,
#gift-vouchers,
#facial-gift-vouchers,
#black-friday {
	scroll-margin-top: 80px;
}

/* Terms */
.ml-terms__list {
	margin: 0;
	padding-left: 24px;
	max-width: 900px;
}

.ml-terms__list li {
	font-size: 18px;
	margin-bottom: 10px;
	padding-left: 6px;
}

/* --------------------------------------------------------------------------
   Gravity Forms inside .ml-form
   Self-contained: works with GF CSS on (Orbital / 2.5 theme) or off,
   and neutralises theme globals (22px text, img width 100%, 65px h2).
   -------------------------------------------------------------------------- */

.ml-form {
	font-family: "proxima-nova", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--black);
}

.ml-form .gform_wrapper,
.ml-form .gform_wrapper form,
.ml-form .gform_body,
.ml-form .gform-body {
	margin: 0;
	padding: 0;
	max-width: none;
}

.ml-form .gform_wrapper.gform-theme {
	--gf-color-primary: #000;
	--gf-color-primary-rgb: 0, 0, 0;
	--gf-color-primary-contrast: #fff;
	--gf-color-primary-darker: #000;
	--gf-color-primary-lighter: #333;
	--gf-ctrl-border-color: #000;
	--gf-radius: 0;
}

.ml-form p,
.ml-form li,
.ml-form span,
.ml-form div {
	font-size: inherit;
	line-height: inherit;
}

.ml-form .gform_required_legend {
	font-size: 13px;
	color: #555;
	margin: 0 0 20px;
}

/* Field grid */
.ml-form .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.ml-form .gfield {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.ml-form fieldset.gfield {
	padding: 0;
	margin: 0;
	border: 0;
}

.ml-form .gform_hidden,
.ml-form .gfield--type-hidden,
.ml-form .gfield_visibility_hidden,
.ml-form .gform_validation_container,
.ml-form .gform-icon {
	display: none !important;
}

/* Labels */
#cms-content .ml-form .gfield_label,
.ml-form legend.gfield_label {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 10px;
	padding: 0;
	font-family: "proxima-nova", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--black);
}

.ml-form .gfield_required {
	display: inline;
	margin-left: 4px;
	color: inherit;
	font-size: 13px;
}

.ml-form .gfield_required .gfield_required_text {
	font-size: 11px;
	letter-spacing: 0;
	text-transform: none;
	color: #777;
}

.ml-form .gfield_description,
.ml-form .gform-field-label--type-sub,
.ml-form .ginput_complex label {
	display: block;
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: #555;
}

/* Inputs */
.ml-form .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="image"]),
.ml-form .gform_wrapper select,
.ml-form .gform_wrapper textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--black);
	border-radius: 0;
	background-color: var(--white);
	color: var(--black);
	font-family: "proxima-nova", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.ml-form .gform_wrapper textarea {
	min-height: 130px;
	resize: vertical;
}

.ml-form .gform_wrapper select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	cursor: pointer;
}

.ml-form .gform_wrapper input::placeholder,
.ml-form .gform_wrapper textarea::placeholder {
	color: #888;
	opacity: 1;
}

.ml-form .gform_wrapper input:focus,
.ml-form .gform_wrapper select:focus,
.ml-form .gform_wrapper textarea:focus {
	outline: 2px solid var(--black);
	outline-offset: 2px;
}

/* Complex fields (name) */
.ml-form .ginput_complex,
.ml-form .gform-grid-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding: 0;
}

.ml-form .ginput_complex > span,
.ml-form .gform-grid-col {
	display: block;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	flex: none;
}

/* Radios and checkboxes */
.ml-form .gfield_radio,
.ml-form .gfield_checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin: 0;
	padding: 0;
}

.ml-form .gchoice,
.ml-form .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.ml-form .gchoice input[type="radio"],
.ml-form .gchoice input[type="checkbox"],
.ml-form .ginput_container_consent input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1px solid var(--black);
	border-radius: 50%;
	background: var(--white);
	display: grid;
	place-content: center;
	cursor: pointer;
	position: static;
	opacity: 1;
}

.ml-form .gchoice input[type="checkbox"],
.ml-form .ginput_container_consent input[type="checkbox"] {
	border-radius: 0;
}

.ml-form .gchoice input[type="radio"]::before,
.ml-form .gchoice input[type="checkbox"]::before,
.ml-form .ginput_container_consent input[type="checkbox"]::before {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--black);
	border-radius: 50%;
	transform: scale(0);
	transition: transform 0.12s ease;
}

.ml-form .gchoice input[type="checkbox"]::before,
.ml-form .ginput_container_consent input[type="checkbox"]::before {
	border-radius: 0;
}

.ml-form .gchoice input:checked::before,
.ml-form .ginput_container_consent input:checked::before {
	transform: scale(1);
}

.ml-form .gchoice input:focus-visible,
.ml-form .ginput_container_consent input:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: 2px;
}

.ml-form .gchoice label,
.ml-form .gfield_consent_label {
	display: block;
	margin: 0;
	padding: 0;
	max-width: none;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--black);
	cursor: pointer;
}

/* Product choices as chips (field class "ml-chips") */
.ml-form .ml-chips .gfield_radio {
	gap: 10px;
}

.ml-form .ml-chips .gchoice {
	position: relative;
	display: block;
}

.ml-form .ml-chips .gchoice input[type="radio"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	opacity: 0;
	z-index: 1;
}

.ml-form .ml-chips .gchoice label {
	display: block;
	min-width: 84px;
	padding: 12px 18px;
	border: 1px solid var(--black);
	background: var(--white);
	text-align: center;
	line-height: 1.3;
	transition: background 0.15s ease, color 0.15s ease;
}

.ml-form .ml-chips .gchoice:hover label {
	background: #f1f1f1;
}

.ml-form .ml-chips .gchoice input[type="radio"]:checked + label {
	background: var(--black);
	color: var(--white);
}

.ml-form .ml-chips .gchoice input[type="radio"]:focus-visible + label {
	outline: 2px solid var(--black);
	outline-offset: 2px;
}

.ml-form .ml-chips .ginput_price {
	display: none;
}

/* Long option text always wraps inside its button */
.ml-form .ml-chips .gchoice {
	max-width: 100%;
}

.ml-form .ml-chips .gchoice label {
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
	height: auto;
}

/* Facial + Black Friday options: full-width rows (class added automatically) */
.ml-form .ml-chips--stacked .gfield_radio {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
}

.ml-form .ml-chips--stacked .gchoice {
	width: 100%;
}

.ml-form .ml-chips--stacked .gchoice label {
	width: 100%;
	min-width: 0;
	padding: 14px 18px 14px 50px;
	text-align: left;
	position: relative;
}

.ml-form .ml-chips--stacked .gchoice label::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 1px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
}

.ml-form .ml-chips--stacked .gchoice input[type="radio"]:checked + label::before {
	border-width: 5px;
	border-color: var(--white);
}

/* Pricing */
.ml-form .ginput_container_singleproduct {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.ml-form .ginput_product_price_label {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ml-form .ginput_product_price,
.ml-form .ginput_total {
	font-family: "DM Serif Display", serif;
	font-size: 30px;
	line-height: 1.1;
	color: var(--black);
}

.ml-form .gfield--type-total {
	padding-top: 20px;
	border-top: 1px solid var(--black);
}

/* Stripe card field container (Payment Element styles itself) */
.ml-form .StripeElement {
	padding: 16px;
	border: 1px solid var(--black);
	background: var(--white);
}

/* Submit + spinner */
.ml-form .gform_footer,
.ml-form .gform_page_footer {
	display: block;
	margin: 32px 0 0;
	padding: 0;
	border: 0;
}

.ml-form .gform_wrapper .gform_footer input[type="submit"],
.ml-form .gform_wrapper .gform_footer button,
.ml-form .gform_wrapper .gform_button {
	display: block;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 14px 32px;
	border: 1px solid var(--black);
	border-radius: 0;
	background: var(--black);
	color: var(--white);
	font-family: "proxima-nova", sans-serif;
	font-size: 18px;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.ml-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.ml-form .gform_wrapper .gform_footer button:hover,
.ml-form .gform_wrapper .gform_button:hover {
	background: transparent;
	color: var(--black);
}

.ml-form img.gform_ajax_spinner {
	display: block;
	width: 22px !important;
	height: 22px !important;
	margin: 14px auto 0;
}

/* Errors */
.ml-form .gform_validation_errors {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid #b42318;
	border-radius: 0;
	background: #fef3f2;
	box-shadow: none;
}

.ml-form .gform_validation_errors h2,
.ml-form .gform_submission_error {
	margin: 0;
	padding: 0;
	font-family: "proxima-nova", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	color: #b42318;
}

.ml-form .gform_validation_errors ol {
	margin: 8px 0 0;
	padding-left: 18px;
	font-size: 14px;
}

.ml-form .gform_validation_errors a {
	color: #b42318;
	text-decoration: underline;
}

.ml-form .gfield_error input:not([type="radio"]):not([type="checkbox"]),
.ml-form .gfield_error select,
.ml-form .gfield_error textarea {
	border-color: #b42318;
}

.ml-form .validation_message,
.ml-form .gfield_validation_message {
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	line-height: 1.4;
	color: #b42318;
}

/* Success */
.ml-form .gform_confirmation_message {
	padding: 24px;
	border: 1px solid var(--black);
	font-size: 18px;
	line-height: 1.5;
}

.ml-form .gform_confirmation_message p {
	margin: 0 0 10px;
}

/* Text inside the white panel stays black in dark sections */
.dark .ml-panel h2,
.dark .ml-panel span,
.dark .ml-panel div {
	color: inherit;
}

.dark .ml-panel .gform_validation_errors h2,
.dark .ml-panel .validation_message,
.dark .ml-panel .gfield_validation_message {
	color: #b42318;
}

@media only screen and (min-width: 640px) {
	.ml-form .ginput_complex.has_first_name.has_last_name,
	.ml-form .ginput_container--name.gform-grid-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ml-form .gfield--width-half {
		grid-column: span 6;
	}
}

/* Breakpoints */
@media only screen and (min-width: 640px) {
	.ml-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (min-width: 1024px) {
	.ml-section {
		padding: 96px 0;
	}

	.ml-split {
		grid-template-columns: 5fr 6fr;
		gap: 96px;
		align-items: start;
	}

	.ml-panel {
		padding: 48px;
	}

	.ml-event__grid {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
		align-items: center;
	}

	.ml-event__grid--no-media {
		grid-template-columns: minmax(0, 1fr);
		max-width: 860px;
	}

	.ml-event__title {
		font-size: 50px;
	}

	.ml-booking {
		margin-top: 96px;
		padding-top: 96px;
	}
}

@media only screen and (max-width: 639px) {
	.ml-panel {
		padding: 20px;
	}

	.ml-tier p {
		font-size: 28px;
	}

	.ml-tier .ml-tier__value {
		font-size: 36px;
	}

	.ml-event .ml-event__price {
		font-size: 34px;
	}
}

/* Delivery date uses the native date picker: hide Gravity Forms' own calendar toggle */
.ml-form .ml-delivery-date .gform-datepicker-toggle {
	display: none !important;
}
