@font-face {
	font-family: 'Sequel-Neue';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/sequel-neue.woff2') format('woff2');
}

:root {
	--color-zespri-light-green: #b6d237;
	--color-zespri-yellow: #ffcd00;
	--color-zespri-green: #008436;
	--color-zespri-red: #ff1601;
}

/* BASE */

body.page-operation {
	font-family: 'Sequel-Neue', sans-serif;
	text-transform: uppercase;
}

/* COLORS */

.bg-green {
	background-color: var(--color-zespri-green);
}

.bg-yellow {
	background-color: var(--color-zespri-yellow);
}

.green {
	color: var(--color-zespri-green);
}

.white {
	color: white;
}

.yellow {
	color: var(--color-zespri-yellow);
}

/* LAYOUT */

.section {
	padding: 4rem 2rem;
	position: relative;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
}

#banner {
	position: relative;
	padding-bottom: calc(50% + 2rem);
	overflow: hidden;
}

#banner::after {
	content: '';
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 100%;
	transform: translateY(-50%);
	background-color: white;
	background: white url(../images/operation-setdetable2026/kiwi-love.webp) no-repeat center 12.5%/50% auto;
}

#section-reward::before,
#section-reward::after,
#section-form::after,
#section-toc::after,
#section-proof-of-purchase::before,
#section-proof-of-purchase::after {
	content: '';
	display: block;
	position: absolute;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#section-reward::after {
	aspect-ratio: 93/88;
	width: clamp(48px, 6.45vw, 93px);
	top: 5%;
	right: 5%;
	transform: translate(-50%, -50%);
	background-image: url(../images/operation-setdetable2026/petal-light-green-1.webp);
}

#section-form::after {
	aspect-ratio: 143/192;
	width: clamp(80px, 9.93vw, 143px);
	top: 0;
	right: 8%;
	transform: translate(0, -20%);
	background-image: url(../images/operation-setdetable2026/petal-green-1.webp);
}

#section-proof-of-purchase::before {
	aspect-ratio: 1;
	width: min(25vw, 120px);
	top: 8px;
	left: 0;
	transform: translateX(-40%);
	background-image: url(../images/operation-setdetable2026/soleil.webp);
}

#section-proof-of-purchase::after {
	aspect-ratio: 117/76;
	width: clamp(110px, 9.58vw, 138px);
	bottom: 100%;
	right: 10%;
	transform: translate(0, 20%);
	background-image: url(../images/operation-setdetable2026/petal-green-2.webp);
}

#section-proof-of-purchase img {
	display: none;
}

#section-proof-of-purchase {
/*	background: var(--color-zespri-green) url(../images/operation-setdetable2026/soleil.webp) no-repeat left top/30% auto;*/
}

#section-toc::after {
	aspect-ratio: 170/114;
	width: clamp(120px, 12vw, 170px);
	top: 0;
	left: 0;
	transform: translate(25%, -33.33%);
	background-image: url(../images/operation-setdetable2026/petal-green-3.webp);
}

@media (min-width: 768px) {
	
	.section {
		padding: 8rem 2rem;
	}

	#banner {
		padding: 4rem 2rem;
	}

	#banner::after {
		height: 200%;
		width: auto;
		max-height: 832px;
		bottom: auto;
		left: 100%;
		transform: translate(-50%, -50%);
		background-position: 20% 25%;
		background-size: 32%;
	}

	#banner .container > * {
		max-width: 50%;
	}

	#section-proof-of-purchase::before {
		content: none;
	}

	#section-reward::before {
		aspect-ratio: 80/170;
		width: clamp(48px, 5.55vw, 80px);
		top: 66.66%;
		left: 20%;
		transform: translate(-50%, -50%);
		background-image: url(../images/operation-setdetable2026/petal-light-green-2.webp);
	}

	#section-reward::after {
		top: 33.33%;
		right: 7%;
		transform: translate(-50%, 0);
	}

	#section-proof-of-purchase::after {
		right: 50%;
		transform: translate(320%, 20%);
	}

	#section-proof-of-purchase img {
		display: block;
	}

	#section-toc::after {
		top: 0;
		left: 3%;
		transform: translate(0, -33.33%);
	}
}

@media (min-width: 1440px) {

	#banner .container > * {
		max-width: 758px;
	}
}

/* GRID */

.grid {
	display: grid;
	gap: var(--grid-gap, 0);
}

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

@media (min-width: 768px) {

	.grid {
		--grid-gap: 6rem;
	}
	.grid--2 {
		grid-template-columns: 1fr 1fr;
	}

	.grid--2-3 {
		grid-template-columns: 2fr 3fr;
	}

	.grid--3-2 {
		grid-template-columns: 3fr 2fr;
	}
	.grid--reverse > :first-child {
	    order: 2;
	}
}

.flex-col-center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* FORM */

.form {
	--form-gap: 2em;
	
	font-size: clamp(1rem, 1.383838vw, 1.25rem);
	line-height: 1.2;
}

.form-item:not(:has(.form-item)) {
	margin-bottom: var(--form-gap);
}

.fieldgroup>.fieldset-wrapper>div {
	display: flex;
	gap: var(--form-gap);
}

.form-type-textfield input,
.form-type-email input,
.form-type-date input {
	width: 100%;
	color: currentColor;
	padding: 0.7em;
	border: none;
	border-radius: 0.3em;
	text-transform: uppercase;
}

.form-type-date:has(>label) {
	margin-top: -1.25em;
}

.form-type-date>label {
	display: block;
	font-size: 0.75em;
	margin-bottom: 0.5em;
}

input#edit-purchase-date {
	background-color: transparent;
	padding: 0.5em 0;
	border-bottom: 1px solid white;
	border-radius: 0;
}

.form-inline {
	display: flex;
	gap: var(--form-gap);
}

label.form-required::after {
	content: '*';
}

input {
	appearance: none;
}

input::placeholder {
	color: currentColor;
	opacity: 1;
}

input[type="radio"],
input[type="checkbox"] {
	margin: 0;
	background-color: white;
	color: currentColor;
	aspect-ratio: 1;
	width: 1.25em;
	border: 0.25em solid white;
	border-radius: 50%;
	transition: background-color 200ms ease-in-out;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
	background-color: var(--color-zespri-green);
}

.form-type-radio,
.form-type-checkbox  {
	display: flex;
	align-items: start;
	gap: 0.75em;
}

#edit-reward {
	max-width: 864px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	font-size: 1.875rem;
	line-height: 1.2;
}

#edit-reward .form-item input {
	display: none;
}

#edit-reward .form-item {
	margin: 0;
	position: relative;
}

#edit-reward .form-item label {
	width: 100%;
	aspect-ratio: 12/11;
	display: flex;
	flex-direction: column;
	justify-content: end;
	align-items: center;
	background-color: white;
	color: var(--color-zespri-green);
	padding: 6.5%;
	box-shadow: 5.31px 5.31px 5.31px 0px rgba(0, 0, 0, 0.25);
	position: relative;
}

#edit-reward .form-item input:checked + label,
#edit-reward .form-item:not(.form-disabled) label:hover {
	background-color: var(--color-zespri-light-green);
	color: white;
}

#edit-reward .form-item label::before {
	content: '';
	display: flex;
	flex-direction: column;
	width: 100%;
	aspect-ratio: 326/245;
	margin-bottom: 6.5%;
	background-color: #cccccc;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#edit-reward .form-item label[for=edit-reward-kiwi-love]::before {
	background-image: url(../images/operation-setdetable2026/set-kiwi-love.webp);
}

#edit-reward .form-item label[for=edit-reward-petit-dej]::before {
	background-image: url(../images/operation-setdetable2026/set-petit-dej.webp);
}

#edit-reward .form-item label[for=edit-reward-mosaique]::before {
	background-image: url(../images/operation-setdetable2026/set-mosaique.webp);
}

#edit-reward .form-item label[for=edit-reward-motif]::before {
	background-image: url(../images/operation-setdetable2026/set-motif.webp);
}

#edit-reward .form-item.form-disabled label {
	opacity: 0.5;
}

#edit-reward .form-item label + .description {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 0.4em 0.8em 0.3em;
	background-color: var(--color-zespri-red);
	color: white;
	border-radius: 0.25em;
}

@media (min-width: 768px) {

	.form {
		--form-gap: 2.4em;
	}

	#edit-reward {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
		font-size: 2.25rem;
	}
}

@media (min-width: 1024px) {

	#edit-reward> :nth-child(3),
	#edit-reward> :nth-child(4) {
		transform: translateX(12.5%);
	}
}

@media (min-width: 1280px) {

	#edit-reward> :nth-child(3),
	#edit-reward> :nth-child(4) {
		transform: translateX(25%);
	}
}

label[for=edit-tos] a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* BUTTON */

.button {
	appearance: none;
	display: inline-block;
	padding: 0.75em 2em;
	border: none;
	border-radius: 1.25em;
	text-transform: uppercase;
	letter-spacing: 0.0625em;
	text-decoration: none;
	text-align: center;
	transition: 
		background-color 300ms ease-in-out,
		box-shadow 300ms ease-in-out,
		color 300ms ease-in-out;
}

.button-white {
	background-color: white;
	color: var(--color-zespri-green);
	position: relative;
}

.button-white::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: var(--color-zespri-yellow);
	clip-path: circle(0%);
	z-index: 0;
	transition: 500ms;
	border-radius: 1.25em;
}

.button__text {
	position: relative;
	z-index: 1;
}

.button-white:hover::after {
	clip-path: circle(100%);
}

.button-yellow {
	background-color: var(--color-zespri-yellow);
	color: var(--color-zespri-green);
	transition: background-color 500ms ease-in-out
}

.button-yellow:hover {
	background-color: white;
}

/* TYPOGRAPHY */

.h2 {
	font-size: clamp(1.5rem, 2.22vw, 2rem);
	font-weight: 400;
	line-height: 1.2;
}

.h2 .big {
	font-size: 1.5625em;
}

.nowrap {
	text-wrap: nowrap;
}

.text-shadow {
	text-shadow: 3px 2px 0px #f59d28;
}

/* LISTS */

.list-group {
	font-size: clamp(1rem, 1.527777vw, 1.375rem);
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.list-group-item {
	counter-increment: list-group;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
}

.list-group-item>div {
	text-align: center;
}

.list-group-numbered .list-group-item::before {
	content: counter(list-group);
	display: flex;
    align-items: center;
    justify-content: center;
	min-width: 1.75em;
    height:  1.75em;
	border-radius: 50%;
	border: 3px solid #8c553e;
	background-color:  var(--color-zespri-green);
	color: white;
	font-size: 2.272727em;
	line-height: 1;
	flex-shrink: 0;
}

.list-group .big {
	font-size: 1.5em;
}

@media (min-width: 768px) {

	.list-group-item {
		flex-direction: row;
	} 

	.list-group-item>div {
		text-align: left;
	}

	.list-group .big {
		font-size: 1.818181em;
	}
}

/* MESSAGES */

.region-highlighted div[data-drupal-messages] {
	display: none;
}

div[data-drupal-messages] {
	margin: 1em 0;
	color: var(--color-zespri-yellow);
}

div[data-drupal-messages] div[role="alert"] {
	color: var(--color-zespri-red);
}

/* UTILITY */

.block {
	display: block;
}

.mb-2 {
	margin-bottom: 0.5em;
}

.mb-3 {
	margin-bottom: 1em;
}

.mb-5 {
	margin-bottom: 2em;
}

.mt-5 {
	margin-top: 2em;
}

.center {
	display: flex;
	justify-content: center;	
}

@media (min-width: 768px) {

	.row-desktop {
		display: flex;
		align-items: center;
	}
}

@media (max-width: 767px) {

	.text-center-mobile {
		text-align: center;
	}
}