/**
 * Mayoly Widgets - Base Styles
 *
 * @package Mayoly\Widgets
 * @version 1.0.0
 */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
	/* Brand Colors - Charte Mayoly */
	--mayoly-primary: #D50057; /* Magenta - Couleur principale */
	--mayoly-white: #FFFFFF;
	--mayoly-grey: #767676;
	--mayoly-grey2: #464646;
	--mayoly-grey0: #D6D6D6;
	--mayoly-beige: #F4F4F4;
	--mayoly-pink: #FFE2EE;

	/* Typography - Famille de police */
	--mayoly-font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

	/* Typography - Headings */
	--mayoly-h1-size: 48px;
	--mayoly-h1-weight: 700;
	--mayoly-h1-spacing: -0.96px;

	--mayoly-h2-size: 40px;
	--mayoly-h2-weight: 700;
	--mayoly-h2-spacing: -0.96px;

	--mayoly-h3-size: 32px;
	--mayoly-h3-weight: 400;
	--mayoly-h3-spacing: -0.96px;

	--mayoly-h4-size: 24px;
	--mayoly-h4-weight: 400;
	--mayoly-h4-spacing: -0.96px;

	/* Typography - Text Styles */
	--mayoly-chapo-size: 24px;
	--mayoly-chapo-weight: 700;
	--mayoly-chapo-spacing: 0;

	--mayoly-paragraph-size: 16px;
	--mayoly-paragraph-weight: 400;
	--mayoly-paragraph-spacing: 0;

	--mayoly-legend-size: 12px;
	--mayoly-legend-weight: 400;
	--mayoly-legend-spacing: 0;

	--mayoly-intro-size: 18px;
	--mayoly-intro-weight: 700;
	--mayoly-intro-spacing: 0;

	--mayoly-paragraph-b-size: 16px;
	--mayoly-paragraph-b-weight: 700;
	--mayoly-paragraph-b-spacing: 0;

	--mayoly-description-size: 14px;
	--mayoly-description-weight: 400;
	--mayoly-description-spacing: 0;

	/* Base Typography */
	--mayoly-font-size-base: 16px;
	--mayoly-line-height-base: 1.6;

	/* Spacing */
	--mayoly-spacing-xs: 0.5rem;
	--mayoly-spacing-sm: 1rem;
	--mayoly-spacing-md: 1.5rem;
	--mayoly-spacing-lg: 2rem;
	--mayoly-spacing-xl: 3rem;

	/* Border Radius */
	--mayoly-radius-sm: 4px;
	--mayoly-radius-md: 8px;
	--mayoly-radius-lg: 12px;
	--mayoly-radius-full: 9999px;

	/* Shadows */
	--mayoly-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--mayoly-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--mayoly-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

	/* Transitions */
	--mayoly-transition-fast: 150ms ease-in-out;
	--mayoly-transition-base: 300ms ease-in-out;
	--mayoly-transition-slow: 500ms ease-in-out;
}

/* ==========================================================================
   Global Typography Classes - Custom WYSIWYG Formats
   ========================================================================== */

/* Intro - Texte d'introduction */
.mayoly-text-intro,
p.mayoly-text-intro {
	font-size: var(--mayoly-intro-size);
	font-weight: var(--mayoly-intro-weight);
	letter-spacing: var(--mayoly-intro-spacing);
	line-height: 1.5;
	margin: 0 0 1rem 0;
}

/* Description - Texte descriptif */
.mayoly-text-description,
p.mayoly-text-description {
	font-size: var(--mayoly-description-size);
	font-weight: var(--mayoly-description-weight);
	letter-spacing: var(--mayoly-description-spacing);
	line-height: 1.6;
	margin: 0 0 0.75rem 0;
}

/* Légende - Texte de légende */
.mayoly-text-legend,
p.mayoly-text-legend {
	font-size: var(--mayoly-legend-size);
	font-weight: var(--mayoly-legend-weight);
	letter-spacing: var(--mayoly-legend-spacing);
	line-height: 1.4;
	color: var(--mayoly-grey);
	margin: 0 0 0.5rem 0;
}

/* ==========================================================================
   Reusable Components - Slider Navigation
   ========================================================================== */

/* Slider Arrows */
.mayoly-slider-arrow {
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--mayoly-grey0);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mayoly-grey2);
	padding: 0;
	flex-shrink: 0;
}

.mayoly-slider-arrow:hover {
	background-color: var(--mayoly-white);
}

.mayoly-slider-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.mayoly-slider-arrow svg {
	width: 24px;
	height: 24px;
}

/* Slider Dots */
.mayoly-slider-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0;
}

.mayoly-slider-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
}

/* Dot inactive (filled grey circle) */
.mayoly-slider-dot::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #D6D6D6;
	transition: opacity 0.3s ease;
}

/* Dot active (stroke magenta circle) */
.mayoly-slider-dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 3px solid #D50057;
	background: transparent;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mayoly-slider-dot.is-active::before {
	opacity: 0;
}

.mayoly-slider-dot.is-active::after {
	opacity: 1;
}

/* Slider Navigation Row (arrows + dots on same line) */
.mayoly-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	margin-top: 40px;
}

/* ==========================================================================
   Widget Base Styles
   ========================================================================== */

.mayoly-widget-wrapper {
	box-sizing: border-box;
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-font-size-base);
	line-height: var(--mayoly-line-height-base);
}

.mayoly-widget-wrapper *,
.mayoly-widget-wrapper *::before,
.mayoly-widget-wrapper *::after {
	box-sizing: inherit;
}

/* ==========================================================================
   Typography - Headings
   ========================================================================== */

.mayoly-widget-wrapper h1,
.mayoly-h1 {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h1-size);
	font-weight: var(--mayoly-h1-weight);
	letter-spacing: var(--mayoly-h1-spacing);
	line-height: 1.2;
}

.mayoly-widget-wrapper h2,
.mayoly-h2 {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h2-size);
	font-weight: var(--mayoly-h2-weight);
	letter-spacing: var(--mayoly-h2-spacing);
	line-height: 1.2;
}

.mayoly-widget-wrapper h3,
.mayoly-h3 {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h3-size);
	font-weight: var(--mayoly-h3-weight);
	letter-spacing: var(--mayoly-h3-spacing);
	line-height: 1.3;
	margin: 0;
}

.mayoly-widget-wrapper h4,
.mayoly-h4 {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h4-size);
	font-weight: var(--mayoly-h4-weight);
	letter-spacing: var(--mayoly-h4-spacing);
	line-height: 1.4;
	margin: 0 0 0.6em 0;
}

/* ==========================================================================
   Typography - Text Styles
   ========================================================================== */

/* Chapo - Texte d'introduction bold 24px */
.mayoly-chapo {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-chapo-size);
	font-weight: var(--mayoly-chapo-weight);
	letter-spacing: var(--mayoly-chapo-spacing);
	line-height: 1.5;
}

/* Paragraph - Texte standard 16px */
.mayoly-paragraph,
.mayoly-widget-wrapper p {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-size);
	font-weight: var(--mayoly-paragraph-weight);
	letter-spacing: var(--mayoly-paragraph-spacing);
	line-height: 1.6;
}

/* Legend - Petite légende 12px */
.mayoly-legend {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-legend-size);
	font-weight: var(--mayoly-legend-weight);
	letter-spacing: var(--mayoly-legend-spacing);
	line-height: 1.5;
}

/* Intro - Introduction bold 18px */
.mayoly-intro {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-intro-size);
	font-weight: var(--mayoly-intro-weight);
	letter-spacing: var(--mayoly-intro-spacing);
	line-height: 1.6;
}

/* Paragraph B - Paragraphe bold 16px */
.mayoly-paragraph-b {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-b-size);
	font-weight: var(--mayoly-paragraph-b-weight);
	letter-spacing: var(--mayoly-paragraph-b-spacing);
	line-height: 1.6;
}

/* Description - Petit texte 14px */
.mayoly-description {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-description-size);
	font-weight: var(--mayoly-description-weight);
	letter-spacing: var(--mayoly-description-spacing);
	line-height: 1.5;
}

/* ==========================================================================
   Strate Widget
   ========================================================================== */

.mayoly-strate {
	width: 100%;
}

.mayoly-strate__heading {
	text-align: left;
	margin-bottom: 32px;
	color: #686C6F;
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h2-size);
	font-style: normal;
	font-weight: var(--mayoly-h2-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h2-spacing);
}

.mayoly-strate__blocks {
	display: flex;
	align-items: flex-start;
	gap: 140px;
	align-self: stretch;
	flex-wrap: wrap;
}

.mayoly-strate__blocks[data-columns="1"] .mayoly-strate__block {
	flex: 1 1 100%;
}

.mayoly-strate__blocks[data-columns="2"] .mayoly-strate__block {
	flex: 1 1 calc(50% - 70px);
}

.mayoly-strate__blocks[data-columns="3"] .mayoly-strate__block {
	flex: 1 1 calc(33.333% - 94px);
}

.mayoly-strate__blocks[data-columns="4"] .mayoly-strate__block {
	flex: 1 1 calc(25% - 105px);
}

@media (max-width: 1024px) {
	.mayoly-strate__blocks[data-columns="4"] .mayoly-strate__block,
	.mayoly-strate__blocks[data-columns="3"] .mayoly-strate__block {
		flex: 1 1 calc(50% - 70px);
	}
}

@media (max-width: 767px) {
	.mayoly-strate__blocks {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 24px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding-bottom: 16px;
	}

	.mayoly-strate__blocks .mayoly-strate__block {
		flex: 0 0 280px;
		min-width: 280px;
		scroll-snap-align: start;
	}

	/* Custom scrollbar styling for mobile */
	.mayoly-strate__blocks::-webkit-scrollbar {
		height: 4px;
	}

	.mayoly-strate__blocks::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 4px;
	}

	.mayoly-strate__blocks::-webkit-scrollbar-thumb {
		background: var(--mayoly-primary, #D50057);
		border-radius: 4px;
	}

	.mayoly-strate__blocks::-webkit-scrollbar-thumb:hover {
		background: #B0004A;
	}
}

.mayoly-strate__block {
	display: flex;
	flex-direction: column;
}

.mayoly-strate__block-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    width: 56px;
    height: 56px;
}

.mayoly-strate__block-icon img {
	height: 100%;
	display: block;
	object-fit: contain;
}

.mayoly-strate__block-title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-intro-size);
	font-style: normal;
	font-weight: var(--mayoly-intro-weight);
	line-height: 24px;
	color: var(--mayoly-grey);
	margin-bottom: 8px;
}

.mayoly-strate__block-description {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-size);
	font-weight: var(--mayoly-paragraph-weight);
	line-height: 24px;
	color: var(--mayoly-grey2);
}

.mayoly-strate__block-description p {
	margin: 0 0 1em;
}

.mayoly-strate__block-description p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Text & Image Widget
   ========================================================================== */

.mayoly-text-image {
	width: 100%;
}

.mayoly-text-image__title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h2-size);
	font-style: normal;
	font-weight: var(--mayoly-h2-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h2-spacing);
	color: var(--mayoly-grey);
	margin-bottom: 40px;
}

/* Individual block item */
.mayoly-text-image__item {
	width: 100%;
	margin-bottom: 32px;
}

.mayoly-text-image__item:last-child {
	margin-bottom: 0;
}

.mayoly-text-image__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	/* gap: 80px; */
	align-items: center;
}

.mayoly-text-image__image {
	width: 100%;
}

.mayoly-text-image__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.mayoly-text-image__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 0 64px 0 128px;
	}

/* When image is on the right, padding switches to left */
.mayoly-text-image__item.image-right .mayoly-text-image__text {
	padding: 0 128px 0 64px;
}

.mayoly-text-image__subtitle {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h3-size);
	font-style: normal;
	font-weight: var(--mayoly-h3-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h3-spacing);
	color: var(--mayoly-grey);
	margin: 0;
}

.mayoly-text-image__description {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-size);
	font-style: normal;
	font-weight: var(--mayoly-paragraph-weight);
	line-height: 24px;
	color: var(--mayoly-grey2);
	margin: 0;
}

.mayoly-text-image__description p {
	margin: 0 0 1em;
}

.mayoly-text-image__description p:last-child {
	margin-bottom: 0;
}

.mayoly-text-image__cta {
	margin-top: auto;
}

/* Image position variations */
.mayoly-text-image__item.image-right .mayoly-text-image__content {
	grid-template-columns: 1fr 1fr;
}

.mayoly-text-image__item.image-right .mayoly-text-image__image {
	order: 2;
}

.mayoly-text-image__item.image-right .mayoly-text-image__text {
	order: 1;
}

/* Responsive */
@media (max-width: 1024px) {
	.mayoly-text-image__content,
	.mayoly-text-image__item.image-right .mayoly-text-image__content {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.mayoly-text-image__image,
	.mayoly-text-image__text {
		order: unset !important;
	}

	.mayoly-text-image__item {
		margin-bottom: 40px;
	}

	/* Remove padding on text block */
	.mayoly-text-image__text {
		padding: 0;
		gap: 16px;
	}

	/* Same padding for image on right variant */
	.mayoly-text-image__item.image-right .mayoly-text-image__text {
		padding: 0;
	}

	/* Image height on mobile */
	.mayoly-text-image__image img {
		height: 350px;
	}
}

@media (max-width: 767px) {
	.mayoly-text-image__image img {
		height: 230px;
	}
}

/* ==========================================================================
   Testimonials Widget
   ========================================================================== */

.mayoly-testimonials {
	width: 100%;
	text-align: center;
}

.mayoly-testimonials__title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h2-size);
	font-style: normal;
	font-weight: var(--mayoly-h2-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h2-spacing);
	color: var(--mayoly-grey);
	text-align: center;
	margin-bottom: 40px;
}

.mayoly-testimonials__slider {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
}

.mayoly-testimonials__slider-content {
	display: flex;
	align-items: center;
	gap: 80px;
	width: 100%;
}

.mayoly-testimonials__slides {
	position: relative;
	width: 100%;
	flex: 1;
}

.mayoly-testimonials__slide {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.mayoly-testimonials__slide.is-active {
	opacity: 1;
	visibility: visible;
	position: relative;
}

.mayoly-testimonials__quote {
	font-family: var(--mayoly-font-family);
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 23px;
	color: var(--mayoly-primary);
	text-align: center;
	margin: 0 0 40px;
	padding: 0;
	border: none;
}

.mayoly-testimonials__author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 30px;
}

.mayoly-testimonials__author-image {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.mayoly-testimonials__author-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mayoly-testimonials__author-info {
	text-align: left;
}

.mayoly-testimonials__author-name {
	font-family: var(--mayoly-font-family);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	color: var(--mayoly-grey2);
	margin-bottom: 4px;
}

.mayoly-testimonials__author-profile {
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 15px;
	color: var(--mayoly-grey2);
}

/* Navigation Arrows */
.mayoly-testimonials__arrow {
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--mayoly-grey0);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mayoly-grey2);
	padding: 0;
	flex-shrink: 0;
}

.mayoly-testimonials__arrow:hover {
	background-color: var(--mayoly-white);
}

.mayoly-testimonials__arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.mayoly-testimonials__arrow svg {
	width: 24px;
	height: 24px;
}

/* Dots Navigation */
.mayoly-testimonials__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0;
}

.mayoly-testimonials__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
}

/* Dot inactive (filled grey circle) */
.mayoly-testimonials__dot::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #D6D6D6;
	transition: opacity 0.3s ease;
}

/* Dot active (stroke magenta circle) */
.mayoly-testimonials__dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 3px solid #D50057;
	background: transparent;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mayoly-testimonials__dot.is-active::before {
	opacity: 0;
}

.mayoly-testimonials__dot.is-active::after {
	opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
	.mayoly-testimonials__slider {
		max-width: 900px;
		gap: 60px;
	}

	.mayoly-testimonials__slider-content {
		gap: 60px;
	}
}

@media (max-width: 767px) {
	.mayoly-testimonials__title {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.mayoly-testimonials__quote {
		font-size: 20px;
		line-height: 28px;
		margin-bottom: 30px;
	}

	.mayoly-testimonials__author {
		flex-direction: column;
		text-align: center;
	}

	.mayoly-testimonials__author-info {
		text-align: center;
	}

	.mayoly-testimonials__slider {
		gap: 30px;
		position: relative;
		padding-bottom: 64px;
	}

	/* Show only slides, hide arrows from slider-content */
	.mayoly-testimonials__slider-content {
		gap: 0;
	}

	.mayoly-testimonials__slider-content .mayoly-testimonials__arrow {
		display: none;
	}

	/* Position navigation elements absolutely at bottom in a row */
	.mayoly-testimonials__slider-content .mayoly-testimonials__arrow--prev,
	.mayoly-testimonials__slider-content .mayoly-testimonials__arrow--next {
		display: flex !important;
		position: absolute;
		bottom: 0;
	}

	.mayoly-testimonials__slider-content .mayoly-testimonials__arrow--prev {
		left: 0;
	}

	.mayoly-testimonials__slider-content .mayoly-testimonials__arrow--next {
		right: 0;
	}

	.mayoly-testimonials__dots {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		margin-top: 0;
	}
}

/* ==========================================================================
   Cards Widget
   ========================================================================== */

.mayoly-cards {
	width: 100%;
}

.mayoly-cards__title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h2-size);
	font-style: normal;
	font-weight: var(--mayoly-h2-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h2-spacing);
	color: var(--mayoly-grey);
	margin-bottom: 40px;
}

.mayoly-cards__grid {
	display: grid;
	gap: 24px;
}

.mayoly-cards__grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.mayoly-cards__grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.mayoly-card {
	display: flex;
	padding: 32px 16px;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	border: 1px solid var(--mayoly-grey0);
}

.mayoly-card__surtitle {
	font-family: var(--mayoly-font-family);
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	color: var(--mayoly-primary);
}

.mayoly-card__title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h3-size);
	font-style: normal;
	font-weight: var(--mayoly-h3-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h3-spacing);
	color: var(--mayoly-grey2);
	margin: 0;
}

.mayoly-card__title p {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
	margin: 0;
}

.mayoly-card__description {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-size);
	font-style: normal;
	font-weight: var(--mayoly-paragraph-weight);
	line-height: 24px;
	color: var(--mayoly-grey2);
}

.mayoly-card__link {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity 0.3s ease;
}

.mayoly-card__link:hover {
	opacity: 0.8;
}

.mayoly-card__link svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.mayoly-cards__grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================
   Slider Blocks Widget
   ============================================ */

.mayoly-slider-blocks {
	width: 100%;
}

.mayoly-slider-blocks__title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h2-size);
	font-style: normal;
	font-weight: var(--mayoly-h2-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h2-spacing);
	color: var(--mayoly-grey);
	margin: 0 0 48px 0;
	text-align: left;
}

/* Grid Layout (2-3 blocks) */
.mayoly-slider-blocks__grid {
	display: grid;
	gap: 24px;
}

.mayoly-slider-blocks__grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.mayoly-slider-blocks__grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Slider Layout (4+ blocks) */
.mayoly-slider-blocks.is-slider {
	position: relative;
}

.mayoly-slider-blocks__slider {
	position: relative;
	width: 100%;
}

.mayoly-slider-blocks__slide {
	display: none;
}

.mayoly-slider-blocks__slide.is-active {
	display: grid;
	gap: 24px;
}

/* Dynamic grid columns based on number of cards in slide */
.mayoly-slider-blocks__slide.is-active.slide-cols-1 {
	grid-template-columns: 1fr;
}

.mayoly-slider-blocks__slide.is-active.slide-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.mayoly-slider-blocks__slide.is-active.slide-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Block Styles */
.mayoly-slider-block {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mayoly-slider-block__image {
	width: 100%;
	height: 274px;
	overflow: hidden;
}

.mayoly-slider-block__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mayoly-slider-block__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mayoly-slider-block__surtitle {
	font-family: var(--mayoly-font-family);
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	color: var(--mayoly-primary);
}

.mayoly-slider-block__title {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-h3-size);
	font-style: normal;
	font-weight: var(--mayoly-h3-weight);
	line-height: 110%;
	letter-spacing: var(--mayoly-h3-spacing);
	color: var(--mayoly-grey2);
	margin: 0;
}

.mayoly-slider-block__title p {
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	color: inherit !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mayoly-slider-block__description {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-size);
	font-style: normal;
	font-weight: var(--mayoly-paragraph-weight);
	line-height: 24px;
	color: var(--mayoly-grey2);
}

.mayoly-slider-block__link {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity 0.3s ease;
}

.mayoly-slider-block__link:hover {
	opacity: 0.8;
}

.mayoly-slider-block__link svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
	.mayoly-slider-blocks__slide.is-active {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 991px) {
	.mayoly-slider-blocks__grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.mayoly-slider-blocks__slide.is-active {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.mayoly-slider-blocks__slide.is-active {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.mayoly-cards__title {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.mayoly-cards__grid--2,
	.mayoly-cards__grid--3 {
		grid-template-columns: 1fr;
	}

	.mayoly-card {
		padding: 24px 16px;
	}
}

/* ==========================================================================
   Media Block Widget
   ========================================================================== */

.mayoly-media-block {
	position: relative;
	width: 100%;
}

.mayoly-media-block__item {
	position: relative;
	width: 100%;
}

.mayoly-media-block__media {
	position: relative;
	width: 100%;
	height: 738px;
	overflow: hidden;
}

.mayoly-media-block__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Video */
.mayoly-media-block__video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
}

.mayoly-media-block__video iframe,
.mayoly-media-block__video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.mayoly-media-block__video-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--mayoly-beige);
	font-size: 48px;
	color: var(--mayoly-grey);
}

/* Caption */
.mayoly-media-block__caption {
	margin-top: 24px;
	margin-bottom: 24px;
	color: var(--mayoly-grey2);
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
}

/* Slider */
.mayoly-media-block__slider {
	position: relative;
	overflow: visible;
}

.mayoly-media-block__slider .mayoly-media-block__media {
	margin-bottom: 24px;
}

.mayoly-slider-wrapper {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.mayoly-media-block__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.mayoly-media-block__slide.active {
	opacity: 1;
}

.mayoly-media-block__slide-image {
	display: block;
	width: 100%;
	height: auto;
}

/* Media Block Slider Navigation Arrows (position absolute) */
.mayoly-media-block__slider .mayoly-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--mayoly-grey0);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mayoly-grey2);
}

.mayoly-slider-arrow:hover {
	background-color: var(--mayoly-white);
}

.mayoly-slider-arrow svg {
	width: 24px;
	height: 24px;
}

.mayoly-slider-prev {
	left: 20px;
}

.mayoly-slider-next {
	right: 20px;
}

/* Slider Dots */
.mayoly-slider-dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	padding: 0;
	margin: 0;
	z-index: 10;
}

.mayoly-slider-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
}

/* Dot inactive (filled grey circle) */
.mayoly-slider-dot::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #D6D6D6;
	transition: opacity 0.3s ease;
}

/* Dot active (stroke magenta circle) */
.mayoly-slider-dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 3px solid #D50057;
	background: transparent;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mayoly-slider-dot.active::before {
	opacity: 0;
}

.mayoly-slider-dot.active::after {
	opacity: 1;
}

/* Responsive - Media Block */
@media (max-width: 767px) {
	/* Reduce media height on mobile */
	.mayoly-media-block__media {
		height: 186px;
	}

	/* Position arrows statically instead of absolute */
	.mayoly-media-block__slider .mayoly-slider-arrow {
		position: static;
		transform: none;
	}

	.mayoly-slider-prev {
		left: auto;
	}

	.mayoly-slider-next {
		right: auto;
	}

	/* Create flexbox layout for slider */
	.mayoly-media-block__slider {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0;
	}

	/* Slider wrapper takes full width */
	.mayoly-media-block__slider .mayoly-slider-wrapper {
		flex: 0 0 100%;
		width: 100%;
		order: 1;
	}

	/* Order navigation: prev (order 2), dots (order 3), next (order 4) */
	.mayoly-slider-prev {
		order: 2;
		flex: 0 0 auto;
	}

	.mayoly-slider-dots {
		order: 3;
		flex: 0 0 auto;
	}

	.mayoly-slider-next {
		order: 4;
		flex: 0 0 auto;
	}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Layout */
.mayoly-flex {
	display: flex;
}

.mayoly-flex-col {
	display: flex;
	flex-direction: column;
}

.mayoly-grid {
	display: grid;
}

.mayoly-items-center {
	align-items: center;
}

.mayoly-justify-center {
	justify-content: center;
}

.mayoly-justify-between {
	justify-content: space-between;
}

.mayoly-gap-sm {
	gap: var(--mayoly-spacing-sm);
}

.mayoly-gap-md {
	gap: var(--mayoly-spacing-md);
}

.mayoly-gap-lg {
	gap: var(--mayoly-spacing-lg);
}

/* Container */
.mayoly-container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--mayoly-spacing-md);
	padding-right: var(--mayoly-spacing-md);
}

/* Text Utilities */
.mayoly-text-center {
	text-align: center;
}

.mayoly-text-left {
	text-align: left;
}

.mayoly-text-right {
	text-align: right;
}

/* Color Utilities - Text */
.mayoly-text-primary {
	color: var(--mayoly-primary);
}

.mayoly-text-white {
	color: var(--mayoly-white);
}

.mayoly-text-grey {
	color: var(--mayoly-grey);
}

.mayoly-text-grey2 {
	color: var(--mayoly-grey2);
}

.mayoly-text-pink {
	color: var(--mayoly-pink);
}

/* Background Utilities */
.mayoly-bg-primary {
	background-color: var(--mayoly-primary);
}

.mayoly-bg-white {
	background-color: var(--mayoly-white);
}

.mayoly-bg-beige {
	background-color: var(--mayoly-beige);
}

.mayoly-bg-pink {
	background-color: var(--mayoly-pink);
}

.mayoly-bg-grey0 {
	background-color: var(--mayoly-grey0);
}

/* ==========================================================================
   Buttons - Charte Mayoly
   ========================================================================== */

/* Button Base */
.mayoly-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 8px 25px;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	transition: background-color var(--mayoly-transition-base);
}

.mayoly-button-primary {
	background-color: var(--mayoly-primary);
	color: var(--mayoly-white);
}

.mayoly-button-primary:hover {
	background-color: #ba004c;
}

.mayoly-button-secondary {
	background-color: transparent;
	color: var(--mayoly-grey2);
	border: 1px solid var(--mayoly-grey2);
}

.mayoly-button-secondary:hover {
	background-color: var(--mayoly-grey2);
	color: var(--mayoly-white);
}

/* ==========================================================================
   Links - Charte Mayoly (CTA/Standard)
   ========================================================================== */

.mayoly-link,
.mayoly-widget-wrapper a:not(.mayoly-button):not(.mayoly-content-hero__button):not(.mayoly-product-banner__link) {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	transition: color var(--mayoly-transition-base);
	cursor: pointer;
}

.mayoly-link:hover,
.mayoly-widget-wrapper a:not(.mayoly-button):not(.mayoly-content-hero__button):not(.mayoly-product-banner__link):hover {
	color: var(--mayoly-grey2);
}

/* Link variant - Primary color */
.mayoly-link-primary {
	color: var(--mayoly-primary);
}

.mayoly-link-primary:hover {
	color: #ba004c;
}

/* ==========================================================================
   Responsive Visibility
   ========================================================================== */

/* Desktop */
@media (min-width: 1025px) {
	.mayoly-hidden-desktop-yes {
		display: none !important;
	}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
	.mayoly-hidden-tablet-yes {
		display: none !important;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.mayoly-hidden-mobile-yes {
		display: none !important;
	}

	.mayoly-container {
		padding-left: var(--mayoly-spacing-sm);
		padding-right: var(--mayoly-spacing-sm);
	}
}

/* ==========================================================================
   Animation Utilities
   ========================================================================== */

.mayoly-fade-in {
	animation: mayolyFadeIn var(--mayoly-transition-base) ease-in;
}

@keyframes mayolyFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.mayoly-slide-up {
	animation: mayolySlideUp var(--mayoly-transition-base) ease-out;
}

@keyframes mayolySlideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.mayoly-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Focus visible for keyboard navigation */
.mayoly-widget-wrapper a:focus-visible,
.mayoly-widget-wrapper button:focus-visible {
	outline: 2px solid var(--mayoly-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   Content Hero Widget
   ========================================================================== */

.mayoly-content-hero {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.mayoly-content-hero__heading {
	margin: 0;
	color: var(--mayoly-grey);
	font-family: var(--mayoly-font-family);
	font-size: 32px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
}

.mayoly-content-hero__text {
	margin: 0;
	color: var(--mayoly-grey2);
}

.mayoly-content-hero__text p {
	font-family: var(--mayoly-font-family);
	font-size: var(--mayoly-paragraph-size);
	font-weight: var(--mayoly-paragraph-weight);
	line-height: 1.6;
}

.mayoly-content-hero__text p:last-child {
	margin-bottom: 0;
}

.mayoly-content-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.mayoly-content-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	transition: all var(--mayoly-transition-base);
}

.mayoly-content-hero__button:hover {
	transform: translateY(-2px);
}

.mayoly-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mayoly-button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.mayoly-content-hero__secondary-link {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	transition: color var(--mayoly-transition-base);
}

.mayoly-content-hero__secondary-link:hover {
	color: var(--mayoly-grey2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.mayoly-content-hero {
		gap: 16px;
	}

	.mayoly-content-hero__actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Main Hero Widget
   ========================================================================== */

.mayoly-main-hero {
	width: 100%;
}

.mayoly-main-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 64px;
}

.mayoly-main-hero--no-image .mayoly-main-hero__grid {
	grid-template-columns: 1fr;
	/* max-width: 80%;
	margin: 0 auto; */
	padding-top: 240px;
}

.mayoly-main-hero--no-image .mayoly-main-hero__image {
	display: none;
}

.mayoly-main-hero__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.mayoly-main-hero--no-image .mayoly-main-hero__content {
	width: 70%;
}

.mayoly-main-hero__title {
	color: #767676;
	font-family: var(--mayoly-font-family);
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
	margin: 0;
}

.mayoly-main-hero__description {
	color: #414141;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

.mayoly-main-hero__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mayoly-main-hero__secondary-link {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	transition: color var(--mayoly-transition-base);
}

.mayoly-main-hero__secondary-link:hover {
	color: var(--mayoly-grey2);
}

.mayoly-main-hero__image img {
	width: 100%;
	height: 700px;
	display: block;
	object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
	.mayoly-main-hero__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.mayoly-main-hero--no-image .mayoly-main-hero__grid {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.mayoly-main-hero__grid {
		gap: 32px;
	}

	.mayoly-main-hero__title {
		font-size: 32px;
		line-height: 120%;
	}

	.mayoly-main-hero__actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Product Reassurance Widget
   ========================================================================== */

.mayoly-product-reassurance {
	background-color: #F4F4F4;
	padding: 59px 110px;
}

.mayoly-product-reassurance__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: 64px;
	position: relative;
	z-index: 1;
	padding: 23px;
}

.mayoly-product-reassurance__left {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mayoly-product-reassurance__title {
	color: #767676;
	font-family: var(--mayoly-font-family);
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
	margin: 0;
}

.mayoly-product-reassurance__description {
	color: #585858;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
	padding-bottom: 16px;
}

.mayoly-product-reassurance__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	/* gap: 32px 48px; */
	overflow: visible;
	position: relative;
}

.mayoly-product-reassurance__stats::before {
	content: '';
	position: absolute;
	width: 37px;
	height: 37px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: url('../images/icons/cross.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 1;
}

.mayoly-product-reassurance__stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
	padding: 24px;
}

.mayoly-product-reassurance__stat::before {
	content: '';
	position: absolute;
	width: 57px;
	height: 56px;
	background-image: url('../images/icons/lines.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
}

.mayoly-product-reassurance__stat:nth-child(1)::before {
	top: -14px;
	left: -20px;
	transform: rotate(180deg);
}

.mayoly-product-reassurance__stat:nth-child(2)::before {
	top: -14px;
	right: -20px;
	transform: rotate(-90deg);
}

.mayoly-product-reassurance__stat:nth-child(3)::before {
	bottom: -28px;
	left: -20px;
	transform: rotate(90deg);
}

.mayoly-product-reassurance__stat:nth-child(4)::before {
	bottom: -28px;
	right: -20px;
}

.mayoly-product-reassurance__stat-value {
	color: #D50057;
	font-family: var(--mayoly-font-family);
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
}

.mayoly-product-reassurance__stat-label {
	color: #686C6F;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
}

.mayoly-product-reassurance__link {
	padding-top: 48px;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	transition: color var(--mayoly-transition-base);
}

.mayoly-product-reassurance__link:hover {
	color: var(--mayoly-grey2);
}

.mayoly-product-reassurance__image img {
	width: 100%;
	height: 579px;
	display: block;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.mayoly-product-reassurance {
		padding: 48px 48px;
	}

	.mayoly-product-reassurance__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 767px) {
	.mayoly-product-reassurance {
		padding: 40px 24px;
	}

	.mayoly-product-reassurance__grid {
		gap: 32px;
	}

	.mayoly-product-reassurance__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.mayoly-product-reassurance__image img {
		height: 340px;
	}
}

@media (max-width: 520px) {
	.mayoly-product-reassurance__stats {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Product Carousel Widget
   ========================================================================== */

.mayoly-product-carousel__title {
	color: #686C6F;
	font-family: var(--mayoly-font-family);
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
	margin: 0;
	text-align: left;
}

.mayoly-product-carousel__items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap:30px;
	margin-top: 48px;
}

.mayoly-product-carousel__item {
	position: relative;
}

.mayoly-product-carousel__item-inner {
	padding: 37px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: background-image 0.3s ease, background-size 0.3s ease;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.mayoly-product-carousel__item.has-hover-bg:hover .mayoly-product-carousel__item-inner {
	background-image: var(--hover-bg);
}

.mayoly-product-carousel__item.has-hover-bg:hover .mayoly-product-carousel__item-title,
.mayoly-product-carousel__item.has-hover-bg:hover .mayoly-product-carousel__item-price-wrapper,
.mayoly-product-carousel__item.has-hover-bg:hover .mayoly-product-carousel__item-quantity {
	color: #FFFFFF;
}

.mayoly-product-carousel__item.has-hover-bg:hover .mayoly-product-carousel__badge {
	background-color: #FFFFFF;
}

.mayoly-product-carousel__item-image {
	width: 100%;
	display: block;
	object-fit: cover;
	margin-bottom: 8px;
	transition: opacity 0.3s ease;
	padding: 48px 8px 20px 0;
}

.mayoly-product-carousel__item.has-hover-bg:hover .mayoly-product-carousel__item-image {
	opacity: 0;
}

.mayoly-product-carousel__item-category {
	margin-top: 21px;
	margin-bottom: 8px;
}

.mayoly-product-carousel__badge {
	background-color: #F4F4F4;
	color: #767676;
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-weight: 400;
	line-height: 15px;
	padding: 5px 6px;
	border-radius: 5px;
	display: inline-block;
}

.mayoly-product-carousel__item-info {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mayoly-product-carousel__item-title {
	color: #6F7271;
	font-family: var(--mayoly-font-family);
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	margin: 0;
}

.mayoly-product-carousel__item-price-wrapper {
	color: #6F7271;
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 15px;
	margin: 0;
	display: block;
}

.mayoly-product-carousel__item-price-label,
.mayoly-product-carousel__item-price {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.mayoly-product-carousel__item-quantity {
	color: #6F7271;
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 15px;
	margin: 0;
	display: block;
}

@media (max-width: 1024px) {
	.mayoly-product-carousel__items {
		margin-top: 80px;
	}

	.mayoly-product-carousel__item {
		flex: 0 0 calc(50% - 24px);
	}
}

@media (max-width: 767px) {
	.mayoly-product-carousel {
		padding: 0 24px;
	}

	.mayoly-product-carousel__header {
		margin-top: 32px;
	}

	.mayoly-product-carousel__title {
		font-size: 32px;
		line-height: 120%;
	}

	.mayoly-product-carousel__items {
		margin-top: 40px;
		gap: 20px;
	}

	.mayoly-product-carousel__item {
		flex: 0 0 calc(50% - 10px);
	}
}

@media (max-width: 520px) {
	.mayoly-product-carousel__item {
		flex: 0 0 100%;
	}

	.mayoly-product-carousel__title {
		font-size: 24px;
	}
}

/* ==========================================================================
   Product Banner Widget
   ========================================================================== */

.mayoly-product-banner {
	background-color: #F4F4F4;
	min-height: 546px;
	padding: 59px 110px;
}

.mayoly-product-banner__grid {
	display: grid;
	grid-template-columns: 60% 40%;
	align-items: center;
	gap: 64px;
}

.mayoly-product-banner__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mayoly-product-banner__title {
	font-family: var(--mayoly-font-family);
	margin: 0;
}

/* Allow WYSIWYG content to use its own styles */
.mayoly-product-banner__title h1 {
	font-size: var(--mayoly-h1-size);
	font-weight: var(--mayoly-h1-weight);
	letter-spacing: var(--mayoly-h1-spacing);
	line-height: 1.2;
	color: #6F7271;
	margin: 0;
}

.mayoly-product-banner__title h2 {
	font-size: var(--mayoly-h2-size);
	font-weight: var(--mayoly-h2-weight);
	letter-spacing: var(--mayoly-h2-spacing);
	line-height: 1.2;
	color: #6F7271;
	margin: 0;
}

.mayoly-product-banner__title h3 {
	font-size: var(--mayoly-h3-size);
	font-weight: var(--mayoly-h3-weight);
	letter-spacing: var(--mayoly-h3-spacing);
	line-height: 1.2;
	color: #6F7271;
	margin: 0;
}

.mayoly-product-banner__title h4 {
	font-size: var(--mayoly-h4-size);
	font-weight: var(--mayoly-h4-weight);
	letter-spacing: var(--mayoly-h4-spacing);
	line-height: 1.2;
	color: #6F7271;
	margin: 0;
}

.mayoly-product-banner__title p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #6F7271;
	margin: 0;
}

.mayoly-product-banner__description {
	color: #585858;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

.mayoly-product-banner__product {
	position: relative;
	padding-right: 60px;
	justify-self: start;
}

.mayoly-product-banner__link {
	text-decoration: none;
	display: block;
}

.mayoly-product-banner__card {
	position: relative;
	width: 330px;
	height: 448px;
}

.mayoly-product-banner__card::before,
.mayoly-product-banner__card::after {
	content: '';
	position: absolute;
	width: 57px;
	height: 56px;
	background-image: url('../images/icons/lines.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 2;
}

.mayoly-product-banner__card::before {
	top: -30px;
	left: -40px;
	transform: rotate(180deg);
}

.mayoly-product-banner__card::after {
	top: -30px;
	right: -40px;
	transform: rotate(-90deg);
}

.mayoly-product-banner__card-inner {
	background-color: transparent;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.mayoly-product-banner__card-inner::before,
.mayoly-product-banner__card-inner::after {
	content: '';
	position: absolute;
	width: 57px;
	height: 56px;
	background-image: url('../images/icons/lines.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 2;
}

.mayoly-product-banner__card-inner::before {
	bottom: -38px;
	left: -44px;
	transform: rotate(90deg);
}

.mayoly-product-banner__card-inner::after {
	bottom: -38px;
	right: -44px;
	transform: rotate(0deg);
}

.mayoly-product-banner__card.has-bg-image .mayoly-product-banner__card-inner {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 63.08%, rgba(0, 0, 0, 0.80) 100%), var(--hover-bg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	justify-content: flex-end;
}

.mayoly-product-banner__card-image {
	width: 100%;
	height: 180px;
	display: block;
	object-fit: cover;
	margin-bottom: 8px;
}

.mayoly-product-banner__card.has-bg-image .mayoly-product-banner__card-image {
	display: none;
}

.mayoly-product-banner__card-category {
	margin-top: 21px;
	margin-bottom: 8px;
}

.mayoly-product-banner__badge {
	background-color: #FFFFFF;
	color: #767676;
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-weight: 400;
	line-height: 15px;
	padding: 5px 6px;
	border-radius: 5px;
	display: inline-block;
}

.mayoly-product-banner__card-info {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mayoly-product-banner__card-title {
	color: #FFFFFF;
	font-family: var(--mayoly-font-family);
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	margin: 0;
	text-decoration: none;
}

.mayoly-product-banner__card-price-wrapper {
	color: #FFFFFF;
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 15px;
	margin: 0;
	display: block;
	text-decoration: none;
}

.mayoly-product-banner__card-price-label,
.mayoly-product-banner__card-price {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: none;
}

.mayoly-product-banner__card-quantity {
	color: #FFFFFF;
	font-family: var(--mayoly-font-family);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 15px;
	margin: 0;
	display: block;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.mayoly-product-banner {
		padding: 64px 48px;
	}

	.mayoly-product-banner__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.mayoly-product-banner__product {
		justify-self: center;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.mayoly-product-banner {
		padding: 16px 20px 48px 20px;
		min-height: auto;
	}

	.mayoly-product-banner__title {
		font-size: 32px;
	}

	.mayoly-product-banner__grid {
		gap: 32px;
	}

	.mayoly-product-banner__product {
		width: 100%;
		max-width: 330px;
		height: 448px;
	}
}

@media (max-width: 520px) {
	.mayoly-product-banner__title {
		font-size: 24px;
	}
}

/* ==========================================================================
   Content Banner Widget (Bandeau professionnel)
   ========================================================================== */

.mayoly-content-banner {
	position: relative;
	height: 365px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.mayoly-content-banner__content {
	position: relative;
	z-index: 1;
	text-align: left;
	max-width: 60%;
	padding: 0 80px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.mayoly-content-banner__title {
	color: var(--mayoly-grey);
	font-family: var(--mayoly-font-family);
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
}

.mayoly-content-banner__description {
	color: var(--mayoly-grey2);
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
}

.mayoly-content-banner__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mayoly-content-banner__secondary-link {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 100%;
	color: var(--mayoly-grey);
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	transition: color var(--mayoly-transition-base);
}

.mayoly-content-banner__secondary-link:hover {
	color: var(--mayoly-grey2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.mayoly-content-banner {
		height: auto;
		min-height: 496px;
		padding: 60px 0;
	}

	.mayoly-content-banner__content {
		max-width: 100%;
		padding: 0 24px;
	}

	.mayoly-content-banner__title {
		font-size: 32px;
	}

	.mayoly-content-banner__actions {
		flex-direction: column;
	}
}

/* ==========================================================================
   Content FAQ Widget
   ========================================================================== */

.mayoly-faq {
	width: 100%;
}

.mayoly-faq__grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 124px;
	align-items: flex-start;
}

.mayoly-faq__left {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.mayoly-faq__title {
	color: #686C6F;
	font-family: var(--mayoly-font-family);
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
	margin: 0;
	text-align: left;
}

.mayoly-faq__product-name {
	display: block;
	color: #D50057;
}

.mayoly-faq__description {
	color: #686C6F;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

.mayoly-faq__right {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mayoly-faq__accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mayoly-faq__item {
	display: flex;
	flex-direction: column;
}

.mayoly-faq__item:not(:last-child) .mayoly-faq__question {
	border-bottom: none;
}

.mayoly-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 1px solid var(--mayoly-grey0);
	padding: 16px 24px;
	background-color: var(--mayoly-white);
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	color: var(--mayoly-grey);
	border-radius: 0;
}

.mayoly-faq__question:hover {
	background-color: #f9f9f9;
	color: var(--mayoly-grey2);
}

.mayoly-faq__question-text {
	flex: 1;
	text-align: left;
}

.mayoly-faq__chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: 16px;
	transition: transform 0.3s ease;
	color: var(--mayoly-grey);
}

.mayoly-faq__question[aria-expanded="true"] .mayoly-faq__chevron {
	transform: rotate(180deg);
}

.mayoly-faq__item.is-open  .mayoly-faq__question {
	color: var(--mayoly-grey2);
}

.mayoly-faq__chevron svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
}

.mayoly-faq__answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
	background-color: var(--mayoly-white);
	border: 1px solid var(--mayoly-grey0);
	border-top: none;
	padding: 0 24px;
}

.mayoly-faq__answer p {
	font-family: var(--mayoly-font-family);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--mayoly-grey2);
	margin: 16px 0;
}

.mayoly-faq__answer p:first-child {
	margin-top: 16px;
}

.mayoly-faq__answer p:last-child {
	margin-bottom: 16px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.mayoly-faq__grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
}

@media (max-width: 767px) {
	.mayoly-faq__grid {
		gap: 40px;
	}

	.mayoly-faq__title {
		font-size: 32px;
	}

	.mayoly-faq__question {
		font-size: 14px;
		padding: 12px 16px;
	}

	.mayoly-faq__chevron {
		margin-left: 12px;
	}
}
