/*
Theme Name: Rêvéo Stories
Description: Boutique de livres personnalisés Rêvéo Stories.
Version: 0.6.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: reveo-stories
*/

:root {
	--reveo-navy: #192d48;
	--reveo-ink: #283b52;
	--reveo-purple: #59438f;
	--reveo-lavender: #8275cf;
	--reveo-lilac: #f2edfb;
	--reveo-gold: #ffd36e;
	--reveo-cream: #fff5e1;
	--reveo-paper: #fffcf6;
	--reveo-line: #e7deeb;
	--reveo-serif: 'DM Serif Text', Georgia, serif;
	--reveo-side: clamp(1rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
figure { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--reveo-purple);
	outline-offset: 3px;
}

.reveo-container {
	width: min(calc(100% - 2 * var(--reveo-side)), 1248px);
	margin-inline: auto;
}

.reveo-preview {
	background: var(--reveo-cream);
	color: var(--reveo-navy);
	padding: .38rem 1rem;
	text-align: center;
	font-size: .875rem;
	border-bottom: 1px solid #f1e6ce;
}

.reveo-header { border-bottom: 1px solid #eee6e5; }
.reveo-header-inner {
	position: relative;
	min-height: 5rem;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 1.5rem;
}

.reveo-wordmark {
	justify-self: start;
	font: 400 2.05rem/.95 var(--reveo-serif);
	letter-spacing: -.05em;
	color: var(--reveo-navy);
	text-decoration: none;
	white-space: nowrap;
}

.reveo-wordmark span {
	font: 700 .77rem/1 'Lato', Arial, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-left: .12rem;
	color: var(--reveo-purple);
}

.reveo-header-nav, .reveo-header-actions {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
}

.reveo-header-actions { justify-content: flex-end; gap: clamp(.75rem, 1.6vw, 1.35rem); }
.reveo-header-nav a, .reveo-header-actions a, .reveo-mobile-nav a {
	text-decoration: none;
	font-weight: 700;
	font-size: .95rem;
}

.reveo-header-actions a { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .42rem; }
.reveo-header a:hover, .reveo-text-link:hover { color: var(--reveo-purple); text-decoration: underline; }
.reveo-mobile-nav { display: none; }

.reveo-hero {
	margin-top: clamp(1.25rem, 3vw, 2.75rem);
	display: grid;
	grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
	border-radius: 1.5rem;
	background: var(--reveo-cream);
	overflow: hidden;
}

.reveo-hero-copy {
	align-self: center;
	padding: clamp(2rem, 5vw, 4.8rem);
}

.reveo-kicker {
	margin: 0 0 1.1rem;
	font-size: .78rem;
	letter-spacing: .15em;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--reveo-purple);
}

.reveo-kicker span { margin-right: .3rem; font-size: 1.05rem; line-height: 1; }
.reveo-hero h1, .reveo-product-copy h1 {
	margin: 0;
	font-size: clamp(2.85rem, 5.3vw, 5.05rem);
	letter-spacing: -.05em;
	line-height: .99;
}

.reveo-hero h1 em { display: block; color: var(--reveo-purple); font-weight: 400; }
.reveo-hero-intro {
	font-size: clamp(1.08rem, 1.45vw, 1.27rem);
	line-height: 1.5;
	max-width: 30ch;
	margin: 1.55rem 0 1.7rem;
	color: var(--reveo-ink);
}

.reveo-hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; }
.reveo-button, button.reveo-button, .reveo-page .woocommerce a.button,
.reveo-page .woocommerce button.button, .reveo-page .woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 3rem;
	padding: .7rem 1.3rem;
	border: 1px solid transparent;
	border-radius: .6rem;
	background: var(--reveo-gold);
	color: var(--reveo-navy);
	text-decoration: none;
	font: 700 1rem/1.35 'Lato', Arial, sans-serif;
	cursor: pointer;
}

.reveo-button:hover, button.reveo-button:hover, .reveo-page .woocommerce a.button:hover,
.reveo-page .woocommerce button.button:hover { background: #ffc857; color: var(--reveo-navy); }
.reveo-button:focus-visible { outline-offset: -4px; }
.reveo-text-link { font-weight: 700; text-underline-offset: .2em; }
.reveo-hero-action .reveo-text-link { font-size: .95rem; }
.reveo-hero-age { font-size: .9rem; color: #4d4c62; margin: 1.05rem 0 0; }

.reveo-hero-media, .reveo-product-media { position: relative; min-width: 0; }
.reveo-hero-media { min-height: clamp(27rem, 39vw, 35rem); background: #75466c; }
.reveo-hero-media img, .reveo-product-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.reveo-hero-media img { position: absolute; inset: 0; }
.reveo-hero-media figcaption, .reveo-product-media figcaption {
	position: absolute;
	right: .85rem;
	bottom: .8rem;
	padding: .26rem .62rem;
	border-radius: 100px;
	color: #fff;
	background: #241d2ee8;
	font-size: .78rem;
}

.reveo-section { padding-block: clamp(3.4rem, 6.7vw, 6rem); }
.reveo-section-head { margin: 0 0 clamp(1.5rem, 3vw, 2.35rem); }
.reveo-section h2, .reveo-faq h2, .reveo-page-title {
	margin: 0;
	font-size: clamp(2.15rem, 4.1vw, 3.65rem);
	letter-spacing: -.04em;
}

.reveo-steps .reveo-section-head { text-align: center; }
.reveo-steps ol, .reveo-story-grid {
	display: grid;
	gap: clamp(.85rem, 2.2vw, 1.55rem);
	margin: 0;
	padding: 0;
}

.reveo-steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.reveo-steps li {
	padding: clamp(1.15rem, 2.6vw, 1.9rem);
	border: 1px solid #eee5e0;
	border-radius: 1rem;
	background: #fffdfa;
}

.reveo-step-number {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--reveo-lilac);
	color: var(--reveo-purple);
	font: 400 1.18rem/1 var(--reveo-serif);
}

.reveo-steps li:nth-child(2) .reveo-step-number { background: #fce3dd; }
.reveo-steps li:nth-child(3) .reveo-step-number { background: var(--reveo-cream); }
.reveo-steps h3, .reveo-story h3 {
	margin: .8rem 0 .45rem;
	font-size: clamp(1.35rem, 2.1vw, 1.74rem);
	letter-spacing: -.024em;
}

.reveo-steps p, .reveo-story p { margin: 0; color: var(--reveo-ink); }
.reveo-inspirations { background: var(--reveo-lilac); }
.reveo-inspiration-head p { margin: .75rem 0 0; }
.reveo-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reveo-story { background: #fffdfa; border-radius: 1.05rem; overflow: hidden; }
.reveo-story img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.reveo-story > div { padding: clamp(1.2rem, 3vw, 2rem); }
.reveo-story .reveo-story-meta { font-size: .88rem; color: var(--reveo-purple); font-weight: 700; }
.reveo-story h3 { margin-top: .45rem; }

.reveo-book-details {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 2rem clamp(1.5rem, 5vw, 4.75rem);
	align-items: center;
	padding: clamp(1.4rem, 5vw, 4rem);
	border-radius: 1.25rem;
	background: var(--reveo-cream);
}

.reveo-book-details p { max-width: 45ch; margin: 1rem 0 1.4rem; }
.reveo-book-details dl { margin: 0; border-top: 1px solid #e9d6bc; }
.reveo-book-details dl div {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: .6rem;
	padding-block: 1rem;
	border-bottom: 1px solid #e9d6bc;
}

.reveo-book-details dt { font-weight: 700; }
.reveo-book-details dd { margin: 0; }
.reveo-faq {
	display: grid;
	grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
	gap: 1.3rem clamp(1.5rem, 5vw, 4rem);
	padding-bottom: clamp(3rem, 6vw, 5.7rem);
}

.reveo-faq details { border-top: 1px solid var(--reveo-line); }
.reveo-faq details:last-child { border-bottom: 1px solid var(--reveo-line); }
.reveo-faq summary {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: .95rem .2rem;
	list-style: none;
	font-weight: 700;
	cursor: pointer;
}

.reveo-faq summary::-webkit-details-marker, .reveo-mobile-nav summary::-webkit-details-marker { display: none; }
.reveo-faq summary::after { content: '+'; color: var(--reveo-purple); font-size: 1.2rem; }
.reveo-faq details[open] summary::after { content: '−'; }
.reveo-faq p { margin: 0 2rem 1.05rem .2rem; max-width: 55ch; }

.reveo-footer { background: var(--reveo-navy); color: #fff9e9; }
.reveo-footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: start;
	gap: 1.6rem 2rem;
	padding-block: clamp(2rem, 5vw, 4rem) 1.35rem;
}

.reveo-footer a { color: inherit; text-decoration: none; }
.reveo-footer a:hover { text-decoration: underline; }
.reveo-footer .reveo-wordmark span { color: #dfd4fa; }
.reveo-footer p { margin: .55rem 0 0; }
.reveo-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem 1.25rem; }
.reveo-footer small {
	grid-column: 1 / -1;
	border-top: 1px solid #526277;
	padding-top: .9rem;
	color: #e8dfed;
}

.reveo-footer a:focus-visible { outline-color: var(--reveo-gold); }
.reveo-page { padding-block: clamp(2rem, 5vw, 4.4rem); min-height: 48vh; }
.reveo-page-title { margin-bottom: 1.25rem; }
.reveo-page-intro { font-size: 1.15rem; margin: 0 0 2rem; }
.reveo-content > * { margin-block: 0 1.1rem; }
.reveo-content > p, .reveo-content > ul, .reveo-content > h2 { max-width: 70ch; }
.reveo-content > .reveo-faq { width: 100%; padding-bottom: 0; }

.reveo-page .woocommerce ul.products li.product {
	border: 1px solid var(--reveo-line);
	border-radius: 1rem;
	background: #fffdfa;
	overflow: hidden;
	padding: 0 1rem 1rem;
}

.reveo-page .woocommerce ul.products li.product a img {
	width: calc(100% + 2rem);
	max-width: none;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0 -1rem .35rem;
}

.reveo-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--reveo-navy);
	font-size: 1.5rem;
}

.reveo-page .woocommerce ul.products li.product .price { color: var(--reveo-purple); font-size: 1.02rem; }
.reveo-product-back { display: inline-flex; margin-bottom: 1rem; }
.reveo-product-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
	gap: clamp(1.5rem, 5vw, 4rem);
	align-items: center;
}

.reveo-product-media { border-radius: 1.3rem; overflow: hidden; background: var(--reveo-lilac); }
.reveo-product-media img { aspect-ratio: 4 / 3; }
.reveo-product-copy h1 { font-size: clamp(2.35rem, 4.2vw, 3.85rem); }
.reveo-product-description { max-width: 54ch; }
.reveo-product-ebook {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: .65rem;
	align-items: start;
	margin-block: 1.15rem;
	padding: .85rem 1rem;
	border: 1px solid #e2d4ed;
	border-radius: .95rem;
	background: linear-gradient(115deg, #f2e9fb, #fff6e7);
}
.reveo-product-ebook svg { box-sizing: content-box; border-radius: .65rem; padding: .45rem; background: #e5d7f2; color: #58248a; }
.reveo-product-ebook h2 { margin: 0 0 .25rem; font-size: clamp(1.16rem, 2vw, 1.37rem); }
.reveo-product-ebook p { margin: 0; font-size: .95rem; }
.reveo-product-price { display: flex; align-items: baseline; gap: .85rem; margin: .8rem 0 1.15rem; }
.reveo-product-price .amount { font-size: 1.55rem; font-weight: 700; }
.reveo-product-price small { color: var(--reveo-purple); }
.reveo-personalization {
	max-width: 54rem;
	margin: clamp(2rem, 5vw, 4rem) auto 0;
	padding: clamp(1.2rem, 4vw, 2.7rem);
	border: 1px solid var(--reveo-line);
	border-radius: 1.1rem;
	background: #fffdfa;
}

.reveo-personalization h2 { margin: .35rem 0 .8rem; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.reveo-form-step { color: var(--reveo-purple); font-weight: 700; margin: 0; }
.reveo-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.15rem; }
.reveo-field, .reveo-consent { display: flex; gap: .35rem; font-weight: 700; }
.reveo-field { flex-direction: column; }
.reveo-field:has(textarea) { grid-column: 1 / -1; }
.reveo-field small, .reveo-consent span { font-weight: 400; }
.reveo-field :is(input, textarea, select), .reveo-page .woocommerce :is(input.input-text, textarea) {
	display: block;
	width: 100%;
	min-height: 2.85rem;
	padding: .6rem .72rem;
	border: 1px solid #8e829b;
	border-radius: .42rem;
	background: #fff;
	color: var(--reveo-navy);
	font: inherit;
	font-weight: 400;
}

.reveo-field textarea { resize: vertical; }
.reveo-consent { align-items: flex-start; margin-block: 1rem; }
.reveo-consent input { min-width: 1.1rem; min-height: 1.1rem; margin: .32rem .45rem 0 0; }
.reveo-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.reveo-form-actions .reveo-secondary { border-color: #b1a3c5; background: transparent; }
.reveo-form-actions .reveo-secondary:hover { background: var(--reveo-lilac); }
.reveo-form-summary { margin: 0 0 .9rem; }
.reveo-form-summary div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: .5rem; border-bottom: 1px solid var(--reveo-line); padding: .4rem 0; }
.reveo-form-summary dt { font-weight: 700; }
.reveo-form-summary dd { margin: 0; overflow-wrap: anywhere; }
.reveo-cart-edit { display: block; margin-top: .25rem; }
.reveo-selection { scroll-margin-top: 6rem; box-shadow: 0 1rem 3rem #3422510c; }
.reveo-page:has(.reveo-selection-journey) { padding-block: clamp(1.1rem, 3.5vw, 3rem); }
.reveo-selection-journey {
	--journey-purple: #4e2478;
	--journey-line: #e2d6eb;
	--journey-inset: clamp(.85rem, 3vw, 2.35rem);
	max-width: 68rem;
	margin-top: 0;
	padding: 0;
	border-color: var(--journey-line);
	border-radius: 1.3rem;
	box-shadow: 0 1.15rem 3rem #42255614;
}
.reveo-selection-journey > form { padding: clamp(1rem, 3vw, 2rem) var(--journey-inset); }
.reveo-selection-journey > .woocommerce-error { margin: 1rem var(--journey-inset) 0; }
.reveo-selection-journey:focus { outline: 2px solid #a383bc; outline-offset: 2px; }
.reveo-selection fieldset { min-width: 0; border: 0; margin: 0 0 1.45rem; padding: 0; }
.reveo-selection legend, .reveo-creative-details summary { font-weight: 700; }
.reveo-selection legend { margin-bottom: .65rem; font-size: 1.08rem; }
.reveo-selection h1 { font-size: clamp(1.9rem,4vw,2.7rem); line-height: 1.08; margin: .5rem 0 .8rem; }
.reveo-selection-total { margin: .35rem 0; font-weight: 700; }
.reveo-selection-total small { font-weight: 400; }
.reveo-selection-heading {
	padding: clamp(1.1rem, 3vw, 2.15rem) var(--journey-inset);
	padding-inline-end: clamp(5.85rem, 21vw, 15rem);
	border-block: 1px solid var(--journey-line);
	background:
		url('assets/images/home/decorations/faq-books.webp') right var(--journey-inset) center / clamp(4rem, 14vw, 8.5rem) auto no-repeat,
		radial-gradient(ellipse at 83% 16%, #ffefc9 0%, transparent 45%),
		linear-gradient(120deg, #f2e5fb, #fff7ed 70%, #ffede6);
}
.reveo-selection-heading :is(h1, h2) {
	margin: 0 0 .28rem;
	font-size: clamp(1.72rem, 5vw, 3.15rem);
	line-height: 1.05;
	color: #35184e;
	text-wrap: balance;
}
.reveo-preview-price { color: #65516e; font-size: .81rem; }
.reveo-progress {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(.28rem, 1vw, .65rem);
	margin: 0;
	padding: .8rem var(--journey-inset);
	border-radius: 1.3rem 1.3rem 0 0;
	list-style: none;
	font-size: .93rem;
}
.reveo-progress li {
	display: flex; gap: .52rem; align-items: center; justify-content: center;
	padding: .46rem .4rem; border-radius: .6rem; color: #65516e; font-weight: 700;
}
.reveo-step-marker {
	display: grid; place-items: center; flex: 0 0 1.65rem; aspect-ratio: 1; border-radius: 50%; background: #f0e8f6;
}
.reveo-progress .is-complete { color: var(--journey-purple); }
.reveo-progress [aria-current] { color: var(--journey-purple); background: #f1e5fa; }
.reveo-progress [aria-current] .reveo-step-marker { background: var(--journey-purple); color: #fff; }
.reveo-offer-story { padding: .65rem .85rem; margin: 0 0 1rem; border-radius: .65rem; background: #f5ecfa; }
.reveo-offer-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.35rem, 1.7vw, 1.1rem); }
.reveo-option, .reveo-portrait { box-sizing: border-box; cursor: pointer; border: 1px solid var(--journey-line); border-radius: .8rem; background: #fff; }
.reveo-option { display: flex; gap: .55rem; align-items: center; padding: .65rem .8rem; }
.reveo-offer-options .reveo-option {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .18rem;
	padding: clamp(.55rem, 1.6vw, 1.2rem); align-content: start;
	background: linear-gradient(155deg,#fffdf9,#f9f1fc);
}
.reveo-offer-options input { grid-area: 1 / 2; margin: .1rem 0 0; align-self: start; }
.reveo-offer-options strong { grid-area: 1 / 1; font-size: clamp(.83rem, 1.85vw, 1.15rem); }
.reveo-offer-options label > span {
	grid-column: 1 / -1;
	color: var(--journey-purple);
	font: 400 clamp(1.1rem, 3vw, 2.1rem)/1 'DM Serif Text', Georgia, serif;
}
.reveo-option input, .reveo-portrait input, .reveo-recipients input { accent-color: #632c97; }
.reveo-selection label:has(input[type=radio]:checked) { border-color: #7037a8; box-shadow: inset 0 0 0 1px #7037a8; }
.reveo-selection label:has(input[type=radio]:focus-visible) { outline: 3px solid #4d267d; outline-offset: 2px; }
.reveo-offer-options .reveo-option:has(input:checked) { background: linear-gradient(140deg,#f3e4fc,#fdf6ff); }
.reveo-offer-options .reveo-option-featured { border-color: #9c6fbb; background: #f3e4fc; }
.reveo-offer-options .reveo-option-featured:has(input:checked) { background: linear-gradient(145deg,#ead7f7,#f8effd); }
.reveo-bundle-options .reveo-option { row-gap: .45rem; }
.reveo-bundle-options .reveo-option > small {
	grid-column: 1 / -1; justify-self: start; padding: .2rem .5rem;
	border-radius: .4rem; background: #fff0c7; color: #644414; font-size: .8rem; font-weight: 700;
}
.reveo-selection .reveo-offer-inclusions { margin: .85rem 0 0; color: #594564; font-size: .93rem; }
.reveo-book-format { max-width: 14rem; }
@media (max-width: 540px) {
	.reveo-bundle-options { grid-template-columns: 1fr; }
	.reveo-bundle-options .reveo-option { grid-template-columns: 1fr auto auto; align-items: center; column-gap: .65rem; }
	.reveo-bundle-options input { grid-area: 1 / 3; margin: 0; align-self: center; }
	.reveo-bundle-options label > span { grid-area: 1 / 2; }
	.reveo-bundle-options .reveo-option > small { grid-row: 2; }
}
.reveo-recipient-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.reveo-recipients label { display: flex; align-items: flex-start; gap: .55rem; border: 1px solid var(--journey-line); border-radius: .7rem; padding: .8rem; cursor: pointer; background: #fff; }
.reveo-recipients :is(strong,small) { display: block; }
.reveo-recipients small { font-size: .83rem; color: #65516e; }
.reveo-selection form:has([name=quantity][value="1"]:checked) .reveo-recipients { display: none; }
.reveo-child-details p { margin: 0; padding: .65rem .85rem; border-radius: .65rem; background: #f5ecfa; }
.reveo-selection-journey .reveo-field :is(input, select, textarea) { border-color: #9c8daf; border-radius: .64rem; }
.reveo-portrait-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; }
.reveo-portrait { display: grid; position: relative; text-align: center; overflow: hidden; padding: 3px; }
.reveo-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: .65rem .65rem 0 0; }
.reveo-portrait input { position: absolute; top: .4rem; right: .4rem; width: 1.15rem; height: 1.15rem; margin: 0; }
.reveo-portrait span { padding: .38rem .12rem; font-weight: 700; font-size: .93rem; }
.reveo-portrait:has(input:checked) span { color: var(--journey-purple); background: #f5e9fb; border-radius: 0 0 .55rem .55rem; }
.reveo-own-story { grid-column: span 2; align-content: center; justify-items: center; background: linear-gradient(145deg,#fdf6ff,#eee0f8); }
.reveo-own-story strong { display: grid; place-items: center; width: 2.2rem; aspect-ratio: 1; border-radius: 50%; background: #633393; color: #ffe59e; }
.reveo-story-picker:not(:has([value=custom]:checked)) .reveo-custom-story { display: none; }
.reveo-custom-story { margin-top: .75rem; }
.reveo-creative-details {
	margin-top: 1rem;
	background: #f8f2fc;
	border: 1px solid var(--journey-line);
	border-radius: .75rem;
}
.reveo-creative-details > summary {
	display: flex;
	align-items: center;
	gap: .6rem;
	min-height: 3rem;
	padding: .48rem .8rem;
	border-radius: inherit;
	color: var(--journey-purple);
	cursor: pointer;
	list-style: none;
}
.reveo-creative-details > summary::-webkit-details-marker { display: none; }
.reveo-creative-details > summary small { color: #65516e; font-size: .8rem; font-weight: 400; }
.reveo-creative-toggle {
	display: grid;
	place-items: center;
	flex: 0 0 1.8rem;
	aspect-ratio: 1;
	margin-inline-start: auto;
	border-radius: 50%;
	background: #ecddf6;
	font-size: 1.15rem;
	line-height: 1;
}
.reveo-creative-toggle::before { content: '+'; }
.reveo-creative-details[open] > summary .reveo-creative-toggle::before { content: '−'; }
.reveo-creative-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .85rem;
	padding: .85rem .8rem;
	border-top: 1px solid var(--journey-line);
}
.reveo-creative-fields .reveo-field { grid-column: auto; }
.reveo-creative-fields textarea { min-height: 4.55rem; }
.reveo-saved-details { margin: 0 .8rem .65rem; }
.reveo-saved-details summary {
	color: var(--journey-purple);
	padding: .45rem 0;
	font-size: .9rem;
	cursor: pointer;
}
.reveo-saved-details .reveo-fields { padding: .3rem 0 .5rem; }
.reveo-book-review {
	margin-bottom: .85rem; padding: .85rem clamp(.65rem, 2.2vw, 1.2rem);
	border: 1px solid var(--journey-line); border-radius: .9rem;
	background: linear-gradient(145deg, #faf3fd, #fffdf9 68%);
	overflow-wrap: anywhere;
}
.reveo-book-review-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.reveo-book-review-head img, .reveo-book-emblem { width: 3.75rem; height: 3.75rem; object-fit: contain; border-radius: .65rem; }
.reveo-book-emblem { display: grid; place-items: center; background: #ede0f7; color: var(--journey-purple); font-size: 1.65rem; }
.reveo-book-review-head p { margin: 0 0 .17rem; color: #65516e; font-size: .83rem; font-weight: 700; }
.reveo-book-review-head h3 { margin: 0; color: #35184e; line-height: 1.12; }
.reveo-book-review .reveo-form-summary { margin: .48rem 0 0; }
.reveo-book-review .reveo-form-summary dd { white-space: pre-line; }
.reveo-book-review .reveo-form-summary div:last-child { border-bottom: 0; }
.reveo-selection-journey .reveo-consent { padding: .75rem; border-radius: .7rem; background: #faf4e8; }
button.reveo-review-edit { min-height: 2.75rem; padding: .5rem .7rem; color: var(--journey-purple); border-color: #bca5cc; background: #fff; font-size: .87rem; }
button.reveo-review-edit:hover { background: #f4e9fa; color: var(--journey-purple); }
button.reveo-journey-next {
	gap: .7rem; min-height: 3.1rem; padding-inline: 1.2rem;
	background: linear-gradient(120deg, #743fa3, #4c207a); color: #fff;
	box-shadow: 0 .35rem .85rem #4f2a7540;
}
button.reveo-journey-next:hover { background: #4c207a; color: #fff; }
button.reveo-journey-next:focus-visible { outline-color: #4c207a; outline-offset: 3px; }
.reveo-whatsapp-button, .reveo-whatsapp-button:hover { border-color: #126049; background: #126049; color: white; }
.reveo-whatsapp-button:hover:not(:disabled) { background: #0d4938; }
.reveo-whatsapp-button:disabled { opacity: .65; cursor: default; }
.reveo-whatsapp-summary {
	display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: .65rem 1rem;
	padding: .9rem 1rem; background: #edf8f1; border: 1px solid #c8e3d2; border-radius: .8rem;
}
.reveo-whatsapp-summary p { margin: 0; }
.reveo-whatsapp-summary strong { font-size: 1.12rem; }
.reveo-whatsapp-summary button { margin-inline-start: auto; }
.reveo-whatsapp-summary #reveo-whatsapp-help { flex-basis: 100%; font-size: .9rem; }
button.reveo-whatsapp-confirm {
	min-height: 3.65rem;
	gap: .85rem;
	padding: .52rem .62rem .52rem 1.15rem;
	border-color: #0b523c;
	border-radius: .9rem;
	background: linear-gradient(125deg, #147153 0%, #0c6047 54%, #094635 100%);
	box-shadow: inset 0 1px 0 #ffffff40, 0 .3rem .85rem #084b3738;
	color: #fff;
	font-size: 1.0625rem;
	text-align: left;
}
button.reveo-whatsapp-confirm:hover:not(:disabled) {
	background: linear-gradient(125deg, #0f634a, #084936);
	box-shadow: inset 0 1px 0 #ffffff40, 0 .4rem 1rem #084b3754;
	color: #fff;
}
button.reveo-whatsapp-confirm:focus-visible { outline: 3px solid #14382c; outline-offset: 3px; }
.reveo-whatsapp-arrow {
	display: grid;
	flex: 0 0 2.25rem;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid #ffffff50;
	border-radius: .62rem;
	background: #ffffff22;
	font-size: 1.25rem;
}
@media(max-width: 540px) {
	.reveo-whatsapp-summary button { width: 100%; margin-inline-start: 0; }
	button.reveo-whatsapp-confirm { justify-content: space-between; padding-inline-start: .8rem; }
}
@media(max-width: 540px) {
	.reveo-portrait-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; }
	.reveo-own-story { grid-column: auto; }
	.reveo-portrait span { font-size: .78rem; overflow-wrap: anywhere; }
	.reveo-progress { font-size: .75rem; }
	.reveo-progress li { gap: .2rem; padding: .4rem .12rem; }
	.reveo-step-marker { flex-basis: 1.27rem; }
	.reveo-option { padding: .5rem; }
	.reveo-recipient-options { grid-template-columns: 1fr; }
	.reveo-creative-fields { grid-template-columns: 1fr; }
	.reveo-book-review-head { grid-template-columns: auto minmax(0, 1fr); gap: .48rem .65rem; }
	.reveo-book-review-head .reveo-review-edit { grid-column: 2; }
	.reveo-book-review-head img, .reveo-book-emblem { width: 3rem; height: 3rem; }
	button.reveo-journey-next { width: 100%; }
}
.reveo-cart-edit small { display: inline-block; margin-right: .5rem; }

@media (max-width: 920px) {
	.reveo-header-actions { gap: .65rem; }
	.reveo-header-inner { column-gap: .8rem; }
	.reveo-header-nav { gap: 1rem; }
	.reveo-hero-copy { padding: clamp(1.55rem, 3.5vw, 2.5rem); }
	.reveo-hero-media { min-height: 25rem; }
}

@media (max-width: 760px) {
	.reveo-header-inner { display: flex; min-height: 4.25rem; }
	.reveo-header-nav { display: none; }
	.reveo-header-actions { margin-left: auto; gap: .25rem; }
	.reveo-header-actions a { justify-content: center; width: 2.75rem; }
	.reveo-header-actions span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.reveo-mobile-nav { display: block; }
	.reveo-mobile-nav summary {
		display: grid;
		place-items: center;
		list-style: none;
		min-width: 2.75rem;
		min-height: 2.75rem;
		font-weight: 700;
		cursor: pointer;
	}
	.reveo-mobile-nav nav {
		position: absolute;
		z-index: 3;
		inset: calc(100% + .35rem) 0 auto;
		display: grid;
		padding: .4rem .9rem;
		border: 1px solid var(--reveo-line);
		border-radius: .65rem;
		background: var(--reveo-paper);
		box-shadow: 0 .45rem 1.1rem #3024441f;
	}
	.reveo-mobile-nav a { padding: .65rem .25rem; }
	.reveo-mobile-nav a + a { border-top: 1px solid var(--reveo-line); }
	.reveo-hero, .reveo-book-details, .reveo-faq, .reveo-product-card { grid-template-columns: 1fr; }
	.reveo-hero h1 { font-size: clamp(2.65rem, 10vw, 4.25rem); }
	.reveo-hero-media { min-height: 0; aspect-ratio: 4 / 3; }
	.reveo-steps ol { grid-template-columns: 1fr; }
	.reveo-footer-inner { grid-template-columns: 1fr; }
	.reveo-footer nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
	.reveo-wordmark { font-size: 1.72rem; }
	.reveo-wordmark span { font-size: .65rem; }
	.reveo-story-grid, .reveo-fields { grid-template-columns: 1fr; }
	.reveo-story img { aspect-ratio: 3 / 2; }
	.reveo-page .woocommerce ul.products[class*='columns-'] li.product { width: 100%; margin-right: 0; }
}
