/* Utopik Studio — style repris des bons cadeaux Utopikphoto (modèle « Classique blanc et doré ») :
   noir sur blanc, titres Playfair Display, noms en Great Vibes, libellés Montserrat espacés.
   L'or #c4aa5e reste un accent rare, comme sur le bon : « Bon Digital », les pastilles 1-2-3,
   les mots en italique des titres, le prix.
   Polices hébergées dans le plugin (aucun appel à Google Fonts). */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/playfair.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/playfair-italic.woff2) format("woff2"); }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/great-vibes.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/montserrat-var.woff2) format("woff2"); }

.utk {
	--utk-gold: #c4aa5e;
	--utk-gold-deep: #b39446;
	--utk-gold-soft: #e9dfc4;
	--utk-ink: #211f1b;
	--utk-ink-2: #36332c;
	--utk-mute: #8f897b;
	--utk-line: #e6dfcf;
	--utk-paper: #fff;
	--utk-cream: #f7f4ee;
	--utk-cream-2: #f2eee6;
	--utk-error: #a5482f;
	--utk-ok: #3c7a4f;
	--utk-serif: "Playfair Display", Georgia, serif;
	--utk-script: "Great Vibes", "Snell Roundhand", cursive;
	--utk-sans: Montserrat, Arial, sans-serif;
	color: var(--utk-ink);
	font-family: var(--utk-sans);
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
}
.utk *, .utk *::before, .utk *::after { box-sizing: inherit; }
.utk a { color: var(--utk-ink); text-underline-offset: 3px; }

/* ---------- Typographie ---------- */
.utk-h {
	font-family: var(--utk-serif);
	font-weight: 500;
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	line-height: 1.1;
	color: var(--utk-ink);
	margin: 0 0 1.25rem;
}
.utk-h em { font-style: italic; color: var(--utk-gold); }
/* Libellé espacé, comme « O f f e r t   à » et « V a l i d i t é » sur le bon. */
.utk-tag {
	display: inline-block;
	font-family: var(--utk-sans);
	font-weight: 400;
	font-size: 0.72rem;
	letter-spacing: 0.45em;
	padding-left: 0.45em;
	text-transform: uppercase;
	color: var(--utk-ink-2);
}
.utk-script { font-family: var(--utk-script); font-weight: 400; color: var(--utk-ink); line-height: 1; }
.utk-caps { font-family: var(--utk-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Filet doré avec losange central, pour séparer les sections. */
.utk-rule { display: flex; align-items: center; gap: 14px; color: var(--utk-mute); margin: 2rem 0; }
.utk-rule::before, .utk-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--utk-line), transparent); }

/* ---------- Boutique ---------- */
/* Grille centrée : une rangée incomplète reste au milieu au lieu de pendre à gauche. */
.utk-grid {
	--gap: clamp(20px, 2.4vw, 32px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: calc(var(--gap) * 1.6) var(--gap);
	max-width: 1180px;
	margin: clamp(2.5rem, 5vw, 4rem) auto clamp(4rem, 8vw, 6.5rem);
	padding: 0 16px;
}
.utk-grid .utk-card {
	flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
	min-width: 260px;
	display: flex;
	flex-direction: column;
	text-align: left;
	color: var(--utk-ink);
	text-decoration: none;
}
.utk-grid .utk-card__media { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--utk-cream-2); aspect-ratio: 4 / 5; }
.utk-grid .utk-card__media img, .utk-grid .utk-card__ph {
	display: block;
	width: 100%;
	height: 100% !important; /* Le thème impose la hauteur d'origine des images. */
	max-width: 100%;
	object-fit: cover;
	transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s;
}
.utk-grid .utk-card:hover .utk-card__media img, .utk-grid .utk-card:focus-visible .utk-card__media img { transform: scale(1.045); }
.utk-grid .utk-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 2px 0; }
.utk-grid .utk-card__meta { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--utk-gold-deep); }
.utk-grid .utk-card__title { font-family: var(--utk-serif); font-size: clamp(1.35rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.15; }
.utk-grid .utk-card__detail { display: block; margin: 4px 0 6px; font-family: var(--utk-sans); font-size: 0.85rem; font-weight: 400; color: var(--utk-mute); letter-spacing: 0.02em; }
.utk-grid .utk-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--utk-line); }
.utk-grid .utk-card__price { font-family: var(--utk-serif); font-size: 1.3rem; }
.utk-grid .utk-card__cta { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.utk-grid .utk-card__cta span { display: inline-block; transition: transform .35s; }
.utk-grid .utk-card:hover .utk-card__cta span, .utk-grid .utk-card:focus-visible .utk-card__cta span { transform: translateX(4px); }
.utk-grid .utk-card:hover .utk-card__title, .utk-grid .utk-card:focus-visible .utk-card__title { color: var(--utk-gold-deep); }
.utk-grid .utk-card:focus-visible { outline: 2px solid var(--utk-gold); outline-offset: 6px; border-radius: 6px; }
@media (max-width: 900px) { .utk-grid .utk-card { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 600px) { .utk-grid .utk-card { flex-basis: 100%; min-width: 0; } }

/* En-tête de la page Boutique (contenu de la page, classes utk-shop-*). */
.utk-shop-hero { max-width: 760px; margin: clamp(1.5rem, 4vw, 3rem) auto 0; text-align: center; }
.utk-shop-hero > * { margin-block: 0; }
.utk-shop-hero .utk-shop-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--utk-gold-deep); }
.utk-shop-hero h1 { margin-top: 18px !important; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; }
.utk-shop-hero h1 em { font-family: var(--utk-serif); font-weight: 400; }
.utk-shop-hero .utk-shop-lead { margin-top: 22px !important; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--utk-ink-2); }
ul.utk-shop-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; max-width: 900px; margin: clamp(2rem, 4vw, 3rem) auto 0 !important; padding: 18px 0 !important; list-style: none; border-block: 1px solid var(--utk-line); }
ul.utk-shop-assure li { margin: 0; padding: 0 clamp(14px, 2.4vw, 28px); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--utk-ink-2); }
ul.utk-shop-assure li + li { border-left: 1px solid var(--utk-line); }
ul.utk-shop-assure a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--utk-gold); }
.utk-shop-head { margin: clamp(3rem, 6vw, 4.5rem) auto 0; text-align: center; }
.utk-shop-head > * { margin-block: 0; }
.utk-shop-head .utk-shop-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--utk-gold-deep); }
.utk-shop-head .utk-shop-title { margin-top: 10px !important; font-family: var(--utk-serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
/* Le thème des pages (utk-prose-blocks) aligne à gauche, rétrécit et colle les blocs : on reprend la main ici. */
.utk-prose-blocks > .utk-grid { max-width: 1180px !important; margin-block: clamp(2.5rem, 5vw, 4rem) clamp(4.5rem, 9vw, 7rem); }
.utk-prose-blocks > .utk-shop-hero { margin-top: clamp(1.5rem, 4vw, 3rem); }
.utk-prose-blocks > ul.utk-shop-assure { max-width: 900px !important; margin-top: clamp(2rem, 4vw, 3rem) !important; }
.utk-prose-blocks > .utk-shop-head { margin-top: clamp(3rem, 6vw, 4.5rem); }
.utk-prose-blocks :is(.utk-shop-hero, .utk-shop-head) :is(p, h1) { text-align: center !important; }
.utk-prose-blocks .utk-shop-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
@media (max-width: 600px) {
	ul.utk-shop-assure { flex-direction: column; align-items: center; }
	ul.utk-shop-assure li + li { border-left: 0; }
}

/* ---------- Formulaires ---------- */
.utk-buy, .utk-booking { max-width: 680px; margin-left: auto; margin-right: auto; text-align: left; } /* Le thème centre le texte des pages. */
.utk-price { font-family: var(--utk-serif); font-weight: 500; font-size: 2.4rem; color: var(--utk-ink); margin: 0 0 1.25rem; line-height: 1; }
.utk-form { display: grid; gap: 16px; }
.utk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.utk-field { display: grid; gap: 6px; }
.utk-field > span, .utk-choice legend {
	font-size: 0.68rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--utk-ink-2);
}
.utk input[type="text"], .utk input[type="email"], .utk input[type="tel"], .utk input[type="number"], .utk textarea {
	width: 100%;
	font: inherit;
	padding: 0.85rem 1rem;
	border: 1px solid var(--utk-line);
	border-radius: 6px;
	background: var(--utk-paper);
	color: var(--utk-ink);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.utk input:focus-visible, .utk textarea:focus-visible { outline: none; border-color: var(--utk-ink-2); box-shadow: 0 0 0 3px rgba(33, 31, 27, 0.08); }
.utk input[name="beneficiary"] { font-family: var(--utk-script); font-size: 1.7rem; padding: 0.35rem 1rem; }
.utk input[name="beneficiary"]::placeholder { font-family: var(--utk-sans); font-size: 1rem; }
.utk-field--qty { max-width: 130px; }

.utk-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.utk-choice legend { margin-bottom: 10px; }
.utk-choice label, .utk-service {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border: 1px solid var(--utk-line);
	border-radius: 6px;
	background: var(--utk-paper);
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.utk-choice label:hover, .utk-service:hover { border-color: #cfc7b4; }
.utk-choice label:has(input:checked), .utk-service:has(input:checked) { border-color: var(--utk-ink); background: var(--utk-cream); }
.utk-choice input { accent-color: var(--utk-ink); margin-top: 5px; }
.utk-choice strong { font-weight: 600; }
.utk-choice small { display: block; color: var(--utk-mute); font-size: 0.85rem; }
.utk-choice em { font-style: normal; color: var(--utk-mute); }
/* Un élément masqué le reste, même si sa classe lui donne un affichage (champ du bon cadeau, option…). */
.utk [hidden] { display: none !important; }

/* Option de la séance (Master) : un cadre doré, cochable, à l'achat comme à la réservation. */
.utk-addon {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border: 1px dashed var(--utk-gold);
	border-radius: 6px;
	background: var(--utk-paper);
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.utk-addon:has(input:checked) { border-style: solid; border-color: var(--utk-ink); background: var(--utk-cream); }
.utk-addon input { accent-color: var(--utk-ink); margin-top: 5px; }
.utk-addon strong { font-weight: 600; }
.utk-addon em { font-style: normal; color: var(--utk-gold); white-space: nowrap; }
.utk-addon small { display: block; color: var(--utk-mute); font-size: 0.85rem; margin-top: 2px; }
.utk-addon .utk-addon__note { font-style: italic; }
.utk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--utk-ink-2); }
.utk-check input { accent-color: var(--utk-ink); margin-top: 4px; }
.utk-hp { position: absolute !important; left: -9999px !important; }

/* Bouton : pilule noire (forme du cadre « + Option Master » du bon), or au survol seulement. */
.utk-btn {
	appearance: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 0.6em;
	padding: 1.05rem 2.4rem;
	border: 0;
	border-radius: 60px;
	background: var(--utk-ink);
	color: #fff;
	font-family: var(--utk-sans);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}
.utk-btn:hover { background: var(--utk-gold-deep); }
.utk-btn:active { transform: scale(0.98); }
.utk-btn[disabled] { opacity: 0.55; cursor: progress; }
.utk-btn--ghost { background: transparent; color: var(--utk-ink); box-shadow: inset 0 0 0 1px var(--utk-ink); }
.utk-btn--ghost:hover { background: var(--utk-cream); }
.utk-secure { font-size: 0.78rem; color: var(--utk-mute); margin: 0; text-align: center; }
.utk-error { color: var(--utk-error); background: #fbf1ec; border-left: 3px solid var(--utk-error); padding: 0.75rem 1rem; border-radius: 4px; margin: 0; }

/* ---------- Aperçu du bon dans le formulaire d'achat ---------- */
.utk-mini {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
	padding: 22px 20px 20px;
	margin: 0 0 1.5rem;
	background: var(--utk-paper);
	border: 1px solid var(--utk-line);
	box-shadow: 0 10px 30px -22px rgba(33, 31, 27, 0.4);
	text-align: center;
}
.utk-mini__side .utk-tag { font-size: 0.55rem; letter-spacing: 0.4em; }
.utk-mini__side .utk-script { font-size: 1.6rem; display: block; margin-top: 2px; min-height: 1.6rem; }
.utk-mini__kind { font-family: var(--utk-serif); color: var(--utk-gold); font-size: 1.7rem; line-height: 1; }
.utk-mini__name { font-weight: 600; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; margin-top: 2px; }
.utk-mini__sub { font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--utk-ink-2); margin-top: 2px; }

/* ---------- Réservation ---------- */
/* Étapes en pastilles dorées, comme « 1 2 3 » au bas du bon. */
.utk-steps { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: s; }
.utk-steps li {
	counter-increment: s;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.7rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--utk-mute);
}
.utk-steps li::before {
	content: counter(s);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--utk-line);
	color: var(--utk-mute);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0;
}
.utk-steps li.is-on { color: var(--utk-ink); }
.utk-steps li.is-on::before { background: var(--utk-gold); border-color: var(--utk-gold); color: #fff; }

.utk-step { margin-bottom: 2.5rem; }
.utk-step .utk-h { font-size: clamp(1.5rem, 3vw, 2rem); }
.utk-services { display: grid; gap: 10px; }
.utk-service { justify-content: space-between; align-items: center; }
.utk-service input { position: absolute; opacity: 0; pointer-events: none; }
.utk-service__title { font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; }
.utk-service__meta { font-family: var(--utk-serif); color: var(--utk-ink-2); white-space: nowrap; }
.utk-service:focus-within { outline: 2px solid var(--utk-ink); outline-offset: 2px; }

.utk-cal { max-width: 460px; background: var(--utk-paper); border: 1px solid var(--utk-line); border-radius: 6px; padding: 20px; }
.utk-cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.utk-cal__month { font-family: var(--utk-serif); font-size: 1.35rem; color: var(--utk-ink); text-transform: capitalize; }
.utk-cal__nav { appearance: none; border: 1px solid var(--utk-line); width: 38px; height: 38px; border-radius: 50%; background: var(--utk-paper); color: var(--utk-ink); font-size: 1.1rem; cursor: pointer; }
.utk-cal__nav:hover:not([disabled]) { background: var(--utk-ink); color: #fff; border-color: var(--utk-ink); }
.utk-cal__nav[disabled] { opacity: 0.3; cursor: default; }
.utk-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.utk-cal__dow { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--utk-mute); padding-bottom: 6px; }
.utk-cal__day { appearance: none; aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: #cfc9bb; font: inherit; font-size: 0.95rem; }
.utk-cal__day.is-open { color: var(--utk-ink); font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--utk-line); }
.utk-cal__day.is-open:hover { background: var(--utk-cream-2); }
.utk-cal__day.is-selected { background: var(--utk-ink); color: #fff; box-shadow: none; }
.utk-cal__loading { opacity: 0.4; pointer-events: none; }

.utk-slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.utk-slot {
	appearance: none;
	border: 1px solid var(--utk-line);
	background: var(--utk-paper);
	color: var(--utk-ink);
	border-radius: 60px;
	padding: 0.55rem 1.3rem;
	font-family: var(--utk-serif);
	font-size: 1.05rem;
	cursor: pointer;
}
.utk-slot:hover { border-color: var(--utk-ink); }
.utk-slot.is-selected { background: var(--utk-ink); border-color: var(--utk-ink); color: #fff; }
.utk-recap { background: var(--utk-cream); padding: 0.85rem 1.1rem; border-radius: 4px; }
.utk-recap button { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--utk-ink-2); }
.utk-done { padding: 2.5rem 2rem; text-align: center; background: var(--utk-paper); border: 1px solid var(--utk-line); }
.utk-done .utk-script { font-size: 3rem; display: block; margin-bottom: 0.25rem; }
.utk-voucher-ok { font-size: 0.85rem; color: var(--utk-ok); margin: -6px 0 0; }

/* ---------- Pages techniques ---------- */
.utk-page { max-width: 720px; margin: 4rem auto; padding: 0 16px; text-align: center; }

@media (max-width: 560px) {
	.utk-row { grid-template-columns: 1fr; }
	.utk-field--qty { max-width: none; }
	.utk-btn { width: 100%; }
	.utk-steps { gap: 12px; }
	.utk-steps li { font-size: 0; gap: 0; }
	.utk-steps li.is-on { font-size: 0.65rem; gap: 8px; }
	.utk-mini { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.utk * { transition: none !important; }
}

/* ---------- Fiche séance : galerie de photos, achat, description, séances proches ---------- */
.utk-product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1240px; margin: 8px auto 48px; padding: 0 24px; }
.utk-product:not(:has(.utk-product__gallery)) { grid-template-columns: minmax(0, 640px); justify-content: center; }
.utk-product__gallery { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; }
.utk-product__main { display: block; overflow: hidden; border-radius: 10px; }
.utk-product__main img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.utk-product__main:hover img { transform: scale(1.03); }
.utk-product__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.utk-product__thumbs a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.utk-product__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.utk-product__thumbs a:hover img { transform: scale(1.06); }
.utk-product .utk-buy { margin: 0; }
.utk-product__desc { max-width: 860px; margin: 0 auto 56px; padding: 0 24px; }
.utk-related { max-width: 1240px; margin: 0 auto 72px; padding: 48px 24px 0; border-top: 1px solid #E8E6E1; }
.utk-related h2 { margin: 0 0 24px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; }
.utk-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.utk-related__item { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.utk-related__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: #F4F3F1; }
.utk-related__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.utk-related__item:hover .utk-related__img img { transform: scale(1.05); }
.utk-related__name { font-size: 18px; font-weight: 500; }
.utk-related__price { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 22px; color: #8C6F2A; }
@media (max-width: 900px) { .utk-product { grid-template-columns: 1fr; } .utk-product__gallery { position: static; } }
