/*
Theme Name: Varesse Landing Page
Theme URI: https://varesse.id/
Author: Varesse
Author URI: https://varesse.id/
Description: Varesse Landing Page is a full site editing (FSE) theme built for the Varesse Hair Loss Defense product landing page. Structured after Twenty Twenty-Five, it ships a complete conversion-focused homepage (hero, product story, benefits, how-to, formula, results, social proof, order block and FAQ) with the Varesse green palette, DM Serif Display + Poppins typography, marketplace CTA buttons (Shopee, Tokopedia, TikTok Shop) and a sticky mobile buy bar, plus the long-form "Rambut Rontok" advertorial and two short two-screen ad landing pages: /marketplace/ and /wa/, whose WhatsApp button sits under the product image and carries a campaign keyword. Fully editable in the Site Editor.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: varesse-landing-page
Tags: one-column, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, block-patterns, wide-blocks, landing-page, e-commerce
*/

/* =========================================================================
   Varesse design tokens (ported from the landing-page draft)
   ========================================================================= */
:root {
	--green: #167d70;
	--green-deep: #0d5149;
	--green-dark: #093b36;
	--mint: #bcded2;
	--sage: #dce3c9;
	--cream: #f6f3ea;
	--paper: #fffdf8;
	--ink: #14322e;
	--muted: #64736e;
	--orange: #ee4d2d;
	--tokopedia: #03ac0e;
	--tiktok: #010101;
	/* WhatsApp brand green, darkened a step so the white label stays readable
	   at the same level as the Shopee and Tokopedia buttons. */
	--whatsapp: #1eb257;
	--line: rgba(20,50,46,.14);
	--shadow: 0 24px 70px rgba(13,81,73,.14);
	--radius: 28px;
	--max: 1180px;
}

/* =========================================================================
   WordPress block-theme integration
   The landing sections are authored as the original markup, so let the
   theme's own .wrap / .section rules control widths and rhythm instead of
   the editor's constrained layout.
   ========================================================================= */
.wp-site-blocks { overflow-x: hidden; }
.wp-site-blocks > main.wp-block-group { margin-block: 0; }
.varesse-main > * { margin-block: 0; }
.editor-styles-wrapper { background: var(--cream); }

/* =========================================================================
   Base (ported from draft)
   ========================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: hidden;
	background: var(--cream);
	color: var(--ink);
	font-family: Poppins, sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 100px 0; }
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	color: var(--green);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display {
	margin: 0;
	font-family: "DM Serif Display", serif;
	font-size: clamp(44px, 6vw, 84px);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.035em;
}
.section-title {
	margin: 0;
	font-family: "DM Serif Display", serif;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.025em;
}
.section-lead { max-width: 620px; color: var(--muted); font-size: 17px; }
.micro { margin-top: 12px; color: var(--muted); font-size: 11px; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px 25px;
	border: 0;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 28px rgba(22,125,112,.25); }
.btn-primary:hover { background: var(--green-deep); }
.btn-light { background: #fff; color: var(--green-deep); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.btn-shopee { background: var(--orange); color: #fff; box-shadow: 0 14px 30px rgba(238,77,45,.25); }
.btn-tokopedia { background: var(--tokopedia); color: #fff; box-shadow: 0 14px 30px rgba(3,172,14,.25); }
.btn-tiktok { background: var(--tiktok); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.30); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 14px 30px rgba(30,178,87,.28); }
/* Placeholder state: shown only while no WhatsApp number is configured. */
.btn-whatsapp.is-unconfigured { background: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn-whatsapp.is-unconfigured:hover { transform: none; }

.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 10;
	padding: 24px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 92px; height: 92px; object-fit: contain; }
.header-note {
	padding: 9px 14px;
	border: 1px solid rgba(20,50,46,.16);
	border-radius: 999px;
	background: rgba(255,253,248,.72);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	backdrop-filter: blur(10px);
}

.hero {
	position: relative;
	min-height: 820px;
	overflow: hidden;
	background: var(--paper);
}
.hero-media { position: absolute; inset: 0 0 0 47%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 67%; }
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 39%, rgba(255,253,248,.92) 49%, rgba(255,253,248,.08) 72%);
}
.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 820px;
	padding: 110px 0 132px;
}
.hero-copy { width: 54%; max-width: 640px; }
.hero h1 em { color: var(--green); font-weight: 400; }
.hero-sub {
	max-width: 560px;
	margin: 28px 0 0;
	color: var(--muted);
	font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* .hero-order marks the three marketplace buttons repeated at the top of the
   page, under the hero CTA. Spacing and layout come from .order-buttons. */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.trust-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255,255,255,.7);
	font-size: 12px;
	font-weight: 600;
}
.trust-pill::before { content: "✓"; color: #fff; width: 18px; height: 18px; border-radius: 50%; background: var(--green); text-align: center; line-height: 18px; }
.proof-strip { position: relative; z-index: 3; margin-top: -52px; }
.proof-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	overflow: hidden;
	border-radius: 24px;
	background: var(--green-dark);
	color: #fff;
	box-shadow: var(--shadow);
}
.proof { padding: 27px 32px; border-right: 1px solid rgba(255,255,255,.14); }
.proof:last-child { border: 0; }
.proof strong { display: block; font-family: "DM Serif Display", serif; font-size: 31px; font-weight: 400; line-height: 1; }
.proof span { display: block; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 12px; }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.story-image {
	position: relative;
	overflow: hidden;
	min-height: 660px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-stamp {
	position: absolute;
	right: 22px;
	bottom: 22px;
	width: 140px;
	height: 140px;
	display: grid;
	place-items: center;
	padding: 20px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .08em;
	transform: rotate(8deg);
}
.story-copy p { color: var(--muted); font-size: 16px; }
.story-copy .story-tags { color: var(--green); line-height: 1.65; }
.feature-list { display: grid; gap: 14px; margin: 32px 0; }
.feature {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: center;
	padding: 15px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255,255,255,.5);
}
.feature i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--green-deep); font-style: normal; font-weight: 800; }
.feature b { display: block; font-size: 14px; }
.feature small { color: var(--muted); }

.lp1-brief-visuals { background: var(--paper); }
.lp1-brief-visuals-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
}
.lp1-brief-visual {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}
.lp1-brief-visual img { width: 100%; height: auto; }
.lp1-safe { background: var(--cream); }
.lp1-safe-grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: 65px;
	align-items: center;
}
.lp1-safe-image {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.lp1-safe-image img { width: 100%; height: auto; }
.lp1-safe-copy p { color: var(--muted); font-size: 16px; }

.benefits {
	position: relative;
	overflow: hidden;
	padding: 110px 0 0;
	background: var(--sage);
}
.benefits::before {
	content: "VARESSE";
	position: absolute;
	top: 10px;
	left: -20px;
	color: rgba(22,125,112,.07);
	font-size: clamp(100px, 18vw, 260px);
	font-weight: 800;
	letter-spacing: -.08em;
}
.benefits-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; min-height: 600px; }
.benefits-copy { align-self: center; padding-bottom: 80px; }
.checks { display: grid; gap: 16px; margin: 30px 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; }
.benefits-person { align-self: end; margin: 0; }
.benefits-person img { width: min(100%, 600px); margin: 0 auto; }

.how { background: var(--green-dark); color: #fff; }
.how .kicker { color: var(--mint); }
.how-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.how-head p { max-width: 430px; margin: 0; color: rgba(255,255,255,.68); }
.video-shell { overflow: hidden; border-radius: var(--radius); box-shadow: 0 26px 60px rgba(0,0,0,.32); }
.video-shell video { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; background: #000; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.step {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 20px;
	align-items: center;
	padding: 24px;
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 20px;
	background: rgba(255,255,255,.06);
}
.step img { width: 82px; }
.step strong { display: block; margin-bottom: 5px; }
.step p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.how-note { max-width: 900px; margin: 24px auto 0; color: rgba(255,255,255,.78); text-align: center; }

.formula { background: var(--paper); }
.formula-head { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.formula-head .kicker { justify-content: center; }
.formula-head .section-lead { margin-inline: auto; text-align: center; }
.formula-stage {
	display: grid;
	grid-template-columns: 1fr minmax(270px, 360px) 1fr;
	gap: 35px;
	align-items: center;
}
.ingredient-list { display: grid; gap: 26px; }
.ingredient {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}
.ingredient-list.right { text-align: right; }
.ingredient strong { display: block; color: var(--green); font-size: 19px; }
.ingredient small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-style: italic; }
.formula-bottle img { max-height: 650px; margin: auto; }

.results { background: var(--green); color: #fff; }
.results-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.results-head p { max-width: 460px; margin: 0; color: rgba(255,255,255,.72); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.result-card {
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 18px 45px rgba(0,0,0,.12);
}
.result-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.result-card figcaption { padding: 14px 16px; font-size: 12px; font-weight: 700; color: var(--green-deep); }
.results .cta-center { margin-top: 36px; text-align: center; }

.social-proof { background: var(--paper); }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.face { margin: 0; text-align: center; }
.face img { width: 150px; height: 150px; margin: auto; border-radius: 50%; object-fit: cover; border: 8px solid var(--cream); box-shadow: 0 10px 28px rgba(0,0,0,.09); }
.face figcaption { margin-top: 12px; font-size: 13px; font-weight: 700; }

.buy {
	position: relative;
	overflow: hidden;
	background: var(--sage);
}
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.buy-photo { overflow: hidden; min-height: 600px; border-radius: var(--radius); box-shadow: var(--shadow); }
.buy-photo img { width: 100%; height: 600px; object-fit: cover; object-position: center 65%; }
.buy-copy .price-note { margin: 25px 0; padding: 16px 18px; border-left: 3px solid var(--green); background: rgba(255,255,255,.42); font-size: 13px; }
.order-buttons { display: grid; gap: 12px; margin-top: 26px; max-width: 440px; }
.order-buttons .btn { width: 100%; }
/*
 * #buy sits on the order-buttons block, not on the section, so every supporting
 * CTA scrolls the three marketplace buttons into the middle of the screen
 * instead of parking the section header at the top (which left the buttons
 * below the fold on mobile).
 *
 * Offset = half the viewport, minus half the button stack, minus half the
 * sticky buy bar (the bar covers the bottom of the viewport, so the usable area
 * is shorter and its midpoint sits higher). Stack = 3 x 54px + 2 x 12px gap =
 * 186px, so half is 93px. Bar = 70px on mobile and 75px above 620px, so half is
 * ~35px. 93 + 35 = 128px. Re-derive this if either height changes.
 *
 * svh repeats the value for mobile browsers whose chrome resizes the viewport,
 * and the safe-area term keeps it centred on notched phones where the bar grows.
 */
#buy {
	scroll-margin-top: calc(50vh - 128px);
	scroll-margin-top: calc(50svh - 128px - env(safe-area-inset-bottom, 0px) / 2);
}

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.faq-aside {
	position: sticky;
	top: 25px;
	padding: 36px;
	border-radius: var(--radius);
	background: var(--green-dark);
	color: #fff;
}
.faq-aside p { color: rgba(255,255,255,.7); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 45px 23px 0; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; top: 19px; color: var(--green); font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 42px 22px 0; color: var(--muted); font-size: 14px; }

.footer { padding: 40px 0 116px; background: var(--paper); text-align: center; }
.footer img { width: 92px; margin: 0 auto 10px; }
.footer p { margin: 0; color: var(--muted); font-size: 12px; }
.buybar {
	position: fixed;
	z-index: 100;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: min(100%, 760px);
	display: flex;
	gap: 8px;
	/* The deeper bottom padding lifts the buttons off the very edge of the
	   screen; the safe-area inset keeps them clear of the iOS home indicator. */
	padding: 9px 9px 20px;
	padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	background: var(--paper);
	box-shadow: 0 -10px 30px rgba(0,0,0,.18);
	border-radius: 18px 18px 0 0;
}
.buybar-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 46px;
	border-radius: 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	transition: transform .15s ease;
}
.buybar-btn:hover { transform: translateY(-2px); }
.buybar-btn svg { flex: 0 0 auto; }
.bb-shopee { background: var(--orange); }
.bb-tokopedia { background: var(--tokopedia); }
.bb-tiktok { background: var(--tiktok); }

@media (max-width: 900px) {
	.section { padding: 74px 0; }
	.header-note { display: none; }
	.hero { min-height: auto; padding-top: 105px; }
	.hero::after { display: none; }
	.hero-content { min-height: auto; padding: 60px 0 38px; }
	.hero-copy { width: 100%; }
	.hero-media { position: relative; inset: auto; height: 460px; }
	.hero-media img { object-position: 50% 69%; }
	.proof-strip { margin-top: 0; }
	.proof-grid { border-radius: 0; }
	.story-grid, .lp1-brief-visuals-grid, .lp1-safe-grid, .benefits-grid, .faq-grid, .buy-grid { grid-template-columns: 1fr; }
	.story-grid { gap: 42px; }
	.lp1-brief-visuals-grid, .lp1-safe-grid { gap: 32px; }
	.story-image { min-height: 560px; }
	.benefits-grid { min-height: auto; }
	.benefits-copy { padding-bottom: 20px; }
	.benefits-person img { max-width: 580px; }
	.how-head, .results-head { align-items: start; flex-direction: column; }
	.formula-stage { grid-template-columns: 1fr 250px 1fr; gap: 18px; }
	.results-grid { grid-template-columns: repeat(2, 1fr); }
	.faces { grid-template-columns: repeat(2, 1fr); }
	.faq-aside { position: static; }
}

@media (max-width: 620px) {
	.wrap { width: min(calc(100% - 30px), var(--max)); }
	main, section, .wrap { max-width: 100%; }
	.site-header { padding: 12px 0; }
	.brand img { width: 78px; height: 78px; }
	.display {
		max-width: 100%;
		font-size: clamp(39px, 11.5vw, 46px);
		overflow-wrap: anywhere;
	}
	.hero { padding-top: 86px; }
	.hero-content.wrap {
		width: calc(100vw - 30px);
		margin-left: 15px;
		margin-right: 15px;
		padding-top: 42px;
	}
	.hero-copy { width: 100%; min-width: 0; overflow: hidden; }
	.hero-sub { max-width: calc(100vw - 30px); font-size: 15px; overflow-wrap: anywhere; }
	.story-copy .kicker { font-size: 10px; letter-spacing: .12em; }
	.lp1-brief-visuals-grid, .lp1-safe-grid { gap: 24px; }
	.hero-actions .btn { width: 100%; }
	.trust-row { margin-top: 28px; }
	.hero-media { height: 370px; }
	.proof-grid { grid-template-columns: 1fr; }
	.proof { padding: 18px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
	.proof strong { font-size: 25px; }
	.story-image { min-height: 460px; }
	.story-stamp { width: 110px; height: 110px; font-size: 9px; }
	.benefits { padding-top: 75px; }
	.benefits-grid { display: flex; flex-direction: column; }
	.benefits-copy { width: 100%; min-width: 0; overflow: hidden; }
	.checks li { align-items: flex-start; font-size: 13px; overflow-wrap: anywhere; }
	.benefits-person { order: 2; }
	.steps { grid-template-columns: 1fr; }
	.step { grid-template-columns: 70px 1fr; }
	.step img { width: 70px; }
	.formula-stage { grid-template-columns: 1fr 42%; grid-template-areas: "bottle left" "bottle right"; align-items: center; }
	.formula-bottle { grid-area: bottle; }
	.ingredient-list.left { grid-area: left; }
	.ingredient-list.right { grid-area: right; text-align: left; }
	.ingredient-list { gap: 12px; }
	.ingredient { padding-bottom: 10px; }
	.ingredient strong { font-size: 14px; }
	.ingredient small { font-size: 10px; }
	.results-grid { grid-template-columns: 1fr; }
	.faces { gap: 22px 10px; }
	.face img { width: 118px; height: 118px; border-width: 5px; }
	.order-buttons { max-width: 100%; }
	.buy-photo, .buy-photo img { min-height: 440px; height: 440px; }
	.buybar { padding: 8px 8px 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 0; }
	.buybar-btn { font-size: 12px; gap: 5px; min-height: 44px; }
}

/* =========================================================================
   Two-screen ad landing pages — /marketplace/ and /wa/.

   Both are one phone screen with the headline and the call-to-action buttons,
   then one with the three-product image. Nothing below. They reuse the front
   page's tokens, buttons, header and footer, so everything here is an override
   of the long hero rather than a second design, and every rule is scoped to
   the .varesse-short body class that varesse_landing_page_body_class() adds.
   Desktop deliberately follows the phone layout — one centred column —
   instead of the front page's split hero.

   This block sits at the end of the file on purpose: the overrides win on
   specificity everywhere, and on source order against the equally specific
   .hero-content.wrap rule in the mobile block above.
   ========================================================================= */
.varesse-short .site-header .wrap { justify-content: center; }
.varesse-short .header-note { display: none; }
/* Capped lower than the split hero: the headline is centred in a single column
   here, so the front page's 84px filled the whole first screen on a laptop. */
.varesse-short .display { font-size: clamp(42px, 5vw, 68px); }

.varesse-short .hero { min-height: 0; overflow: visible; padding: 0 0 60px; }
/* The long hero fades a full-bleed photo out behind the copy; there is no
   background photo here, so the gradient has nothing to fade. */
.varesse-short .hero::after { display: none; }
.varesse-short .hero-content {
	display: block;
	min-height: 0;
	padding: 150px 0 42px;
	text-align: center;
}
.varesse-short .hero-copy { width: 100%; max-width: 880px; margin-inline: auto; }
.varesse-short .hero-sub { margin-inline: auto; }
/* In the front page's hero the media is an absolutely positioned, cropped
   backdrop. Here it is the second screen: a square infographic in normal flow. */
.varesse-short .hero-media { position: static; inset: auto; height: auto; max-width: 720px; margin-inline: auto; }
.varesse-short .hero-media img {
	width: 100%;
	height: auto;
	object-fit: fill;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.varesse-short .order-buttons { margin-inline: auto; }
/*
 * #buy sits on the button block in the hero. On the front page it marks the
 * order section further down; that section does not exist here, so the anchor
 * rides along with the hero buttons and a link to /marketplace/#buy still
 * lands on them.
 *
 * Offset = half the viewport minus half the button stack, so the buttons land
 * in the middle of the screen; there is no sticky buy bar here to correct for.
 * The two pages differ only in how many buttons they stack, so the offset is
 * picked by counting them rather than by adding a second body class: one
 * button = 54px, so half is 27px; two = 2 x 54px + 12px gap = 120px, half 60px.
 * Re-derive both if the button height or gap changes.
 *
 * A browser without :has() keeps the one-button offset on /marketplace/, which
 * scrolls the buttons 33px high — off-centre, not broken.
 *
 * svh repeats each value for mobile browsers whose chrome resizes the viewport.
 */
.varesse-short #buy {
	scroll-margin-top: calc(50vh - 27px);
	scroll-margin-top: calc(50svh - 27px);
}
.varesse-short #buy:has(> a + a) {
	scroll-margin-top: calc(50vh - 60px);
	scroll-margin-top: calc(50svh - 60px);
}
/*
 * Buttons under the product image, the /wa/ arrangement. .order-buttons still
 * carries the width and the stacking; this only supplies the gap the image
 * leaves behind, which .hero-copy would otherwise have provided.
 */
.varesse-short .hero-cta { margin-top: 8px; }
/* The copy block ends at the sub-headline here, so the space that used to sit
   between it and the image belongs above the image instead. */
.varesse-short .hero-cta-below .hero-content { padding-bottom: 34px; }

/* No sticky buy bar to clear. */
.varesse-short .footer { padding-bottom: 48px; }

@media (max-width: 900px) {
	.varesse-short .hero { padding-top: 0; }
	.varesse-short .hero-content { padding: 120px 0 38px; }
	.varesse-short .hero-cta-below .hero-content { padding-bottom: 30px; }
}

@media (max-width: 620px) {
	.varesse-short .hero { padding-top: 0; }
	.varesse-short .hero-content.wrap { padding: 96px 0 38px; }
	.varesse-short .hero-cta-below .hero-content.wrap { padding-bottom: 28px; }
}
