/*
 * PlantaHerb Gift Consent 0.1.3: registration gift block + checkbox, Google card, Moje konto switch, landing toast.
 * 0.1.1 (owner 2026-11-25): registration = one white card (photo tile 72 px, "Zaznacz zgodę i odbierz … gratis",
 * value crossed → 0 zł, leaf-green arrow to the checkbox row, short consent line, small links, checked state in
 * forest); Google card = photo tile, "Gratis" pill of the cart, value crossed → 0 zł, short text, consent line and
 * buttons on the right from 900 px, result shown in place. Leaf #629a1e = Site Chrome --ph-hdr-leaf (arrow only,
 * decorative); pill near-black on #79bd25 (8.3:1, C/ gift card).
 * Look of the C/ sign-in pages (plantaherb-cart-checkout assets/src/login.css, values copied, nothing imported):
 * white cards with 16 px corners and a 1 px #e5e5e2 line, 16 px text, forest #1F4D3A primary button with white
 * (9.6:1), outlined secondary, links in forest, 44 px tap areas, mobile (390 px) first.
 * Colours: text #1F2421 (15.8:1 on white), secondary #5C645F (6.1:1), warn #B4431F on #FBEDE8 (4.9:1),
 * forest on #E8EFEA (8.2:1). Tokens live on our own blocks, never on :root.
 * Review 030: larger arrow (40×48, stroke 3), photos contained (packshots never cropped), small legal links with
 * 24 px lines (WCAG 2.5.8), no-break "e-mail" (.ph-gc-nowrap), Google card as wide as the page container (1232 +
 * 2×16), answered card without the offer line, "Zobacz koszyk" link when the gift is already in the cart.
 * 0.1.2: the same Google card as the second, last chance in the Moje konto panel (.ph-gc-gbox--account, layout by
 * the panel width) and a soft forest pointer to it under the newsletter switch (.ph-gc-acc__gift).
 * 0.1.3 (phone audit 360/375/390/414 + 1440): Google card and Moje konto legal links 24 px tall, "Odbierz prezent"
 * 45 px tap area, second card with a 64 px photo in a narrow panel, arrow below the photo tile (46 px gap).
 */

.ph-gc-reg,
.ph-gc-gbox,
.ph-gc-acc,
.ph-gc-notice {
	--ph-gc-ink: #1f2421;
	--ph-gc-muted: #5c645f;
	--ph-gc-line: #e5e5e2;
	--ph-gc-forest: #1f4d3a;
	--ph-gc-forest-dark: #163a2b;
	--ph-gc-forest-soft: #e8efea;
	--ph-gc-warn: #b4431f;
	--ph-gc-warn-soft: #fbede8;
	--ph-gc-off: #7d857f;
	--ph-gc-tile: #f3f3f1;
	--ph-gc-leaf: #629a1e;
	--ph-gc-gift: #79bd25;
	--ph-gc-f: var(--font-notosans, "Noto Sans"), system-ui, -apple-system, "Segoe UI", sans-serif;
	box-sizing: border-box;
	font-family: var(--ph-gc-f);
}

.ph-gc-reg *,
.ph-gc-gbox *,
.ph-gc-acc *,
.ph-gc-notice * {
	box-sizing: border-box;
}

.ph-gc-link,
.ph-gc-reg a[href],
.ph-gc-gbox a[href],
.ph-gc-acc a[href] {
	font-weight: 600;
	color: var(--ph-gc-forest);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ph-gc-legal-links {
	white-space: nowrap;
}

.ph-gc-nowrap {
	white-space: nowrap;
}

/* ---------- Registration form: gift block + checkbox at the bottom (core .checkbox-label markup). ----------
 * The core/C/ .checkbox-label rules give the row (flex, 44 px, 14 px) and the 20 px box; we add the card, the
 * arrow, a 22 px box and our text size on the inner span (C/ sets the label font with !important). */
.ph-gc-reg {
	margin: 0 0 24px;
	color: var(--ph-gc-ink);
	container: ph-gc-reg / inline-size;
}

.ph-gc-reg--gift {
	padding: 16px;
	background: #fff;
	border: 1px solid var(--ph-gc-line);
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(31, 36, 33, 0.05);
}

.ph-gc-reg__offer {
	display: flex;
	gap: 14px;
	align-items: center;
}

.ph-gc-reg .ph-gc-reg__img {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	padding: 6px;
	/* Whole packshot: a portrait jar or box is never cropped (review 030). */
	object-fit: contain;
	background: var(--ph-gc-tile);
	border-radius: 12px;
}

.ph-gc-reg .ph-gc-reg__title {
	margin: 0 0 4px;
	font: 700 17px/1.35 var(--ph-gc-f);
	color: var(--ph-gc-ink);
}

.ph-gc-reg .ph-gc-reg__title strong {
	font-weight: 800;
	color: var(--ph-gc-forest);
}

.ph-gc-reg .ph-gc-reg__price {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	align-items: baseline;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ph-gc-muted);
}

.ph-gc-reg__sub {
	font-size: 13px;
}

.ph-gc-reg__choice {
	position: relative;
	padding: 10px 12px;
	background: var(--ph-gc-tile);
	border: 1.5px solid transparent;
	border-radius: 12px;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ph-gc-reg--gift .ph-gc-reg__choice {
	/* 0.1.3: 46 px (was 42): the arrow (top −47 px) starts below the photo tile, never on its edge (1440, 414). */
	margin: 46px 0 0;
}

.ph-gc-reg:not(.ph-gc-reg--gift) .ph-gc-reg__choice {
	padding: 0;
	background: none;
	border: 0;
}

.ph-gc-reg__arrow {
	position: absolute;
	/* Tip (y = 35 of 40 → 43.75 of 48) just above the row, as before the review 030 enlargement. */
	top: -47px;
	/* Tip (x = 9 of 32 → 11.25 of 40) over the centre of the 22 px box, as before: 13 + 11.25 ≈ 15 + 9. */
	left: 13px;
	width: 40px;
	height: 48px;
	color: var(--ph-gc-leaf);
	pointer-events: none;
	animation: ph-gc-nudge 1.6s ease-in-out infinite;
}

@keyframes ph-gc-nudge {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(3px);
	}
}

.ph-gc-reg .ph-gc-reg__label {
	min-height: 44px;
	padding: 2px 0;
	margin: 0;
	cursor: pointer;
}

#ph-registration-form #ph-gc-consent {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ph-gc-forest);
	cursor: pointer;
}

.ph-gc-reg .ph-gc-reg__text {
	font: 500 15px/1.45 var(--ph-gc-f);
	color: var(--ph-gc-ink);
}

.ph-gc-reg .ph-gc-reg__legal {
	margin: 0 0 0 32px;
	font-size: 13px;
	/* 24 px lines: the two small links never overlap when they wrap at 390 px (WCAG 2.5.8 target spacing). */
	line-height: 24px;
	color: var(--ph-gc-muted);
}

.ph-gc-reg .ph-gc-reg__legal a[href] {
	display: inline-block;
	padding: 2px 0;
	font-size: 13px;
	line-height: 20px;
	white-space: nowrap;
}

/* 390 px: the two links may wrap between them (never inside one link). */
.ph-gc-reg__legal .ph-gc-legal-links,
.ph-gc-gbox__legal .ph-gc-legal-links {
	white-space: normal;
}

.ph-gc-gbox__legal a[href] {
	/* 0.1.3: 24 px tall like the registration links (was 17 px inline: below the WCAG 2.5.8 minimum). */
	display: inline-block;
	padding: 2px 0;
	line-height: 20px;
	white-space: nowrap;
}

.ph-gc-reg .ph-gc-reg__hint:empty {
	display: none !important;
}

.ph-gc-reg .ph-gc-reg__hint {
	display: none;
	margin: 6px 0 2px 32px;
	font: 600 14px/1.45 var(--ph-gc-f);
	color: var(--ph-gc-forest);
}

.ph-gc-reg--gift .ph-gc-reg__choice:has(#ph-gc-consent:checked) {
	background: var(--ph-gc-forest-soft);
	border-color: var(--ph-gc-forest);
}

.ph-gc-reg__choice:has(#ph-gc-consent:checked) .ph-gc-reg__hint {
	display: block;
}

.ph-gc-reg__choice:has(#ph-gc-consent:checked) .ph-gc-reg__arrow {
	color: var(--ph-gc-forest);
	animation: none;
}

.ph-gc-reg__choice:has(#ph-gc-consent:focus-visible) {
	outline: 2px solid var(--ph-gc-forest);
	outline-offset: 2px;
}

@media (min-width: 640px) {
	.ph-gc-reg--gift {
		padding: 20px;
	}

	.ph-gc-reg .ph-gc-reg__img {
		width: 88px;
		height: 88px;
	}

	.ph-gc-reg .ph-gc-reg__title {
		font-size: 18px;
	}
}

/* Narrow form column (the Autoryzacja card at 390 px, ~280 px wide): tighter card, smaller photo. */
@container ph-gc-reg (max-width: 340px) {
	.ph-gc-reg--gift {
		padding: 12px;
	}

	.ph-gc-reg__offer {
		gap: 12px;
	}

	.ph-gc-reg .ph-gc-reg__img {
		width: 60px;
		height: 60px;
	}

	.ph-gc-reg .ph-gc-reg__title {
		font-size: 16px;
	}

	.ph-gc-reg__choice {
		padding: 10px;
	}

	.ph-gc-reg__arrow {
		left: 11px;
	}

	.ph-gc-reg .ph-gc-reg__text {
		font-size: 14.5px;
	}
}

/* Price of the gift: value crossed → "0 zł" (registration block and Google card). */
.ph-gc-price {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	align-items: baseline;
}

.ph-gc-price .ph-gc-price__old {
	font-size: 15px;
	color: var(--ph-gc-muted);
	text-decoration: line-through;
}

.ph-gc-price .ph-gc-price__new {
	font: 800 20px/1.2 var(--ph-gc-f);
	color: var(--ph-gc-forest);
	text-decoration: none;
	background: none;
}

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

/* Owner rule: CTA text starts with a capital letter (core button has Tailwind "lowercase"; text is "Zarejestruj się"). */
#ph-registration-form .ph-submit-btn {
	text-transform: none;
}

.ph-gc-reg-success {
	margin: 8px 0 0;
}

/* ---------- Buttons (Google card, toast). ---------- */
.ph-gc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 20px;
	margin: 0;
	font: 700 16px/1.2 var(--ph-gc-f);
	text-align: center;
	text-decoration: none;
	text-transform: none;
	border: 2px solid var(--ph-gc-forest);
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ph-gc-btn--primary {
	color: #fff;
	background: var(--ph-gc-forest);
}

.ph-gc-btn--primary:hover,
.ph-gc-btn--primary:focus-visible {
	color: #fff;
	background: var(--ph-gc-forest-dark);
	border-color: var(--ph-gc-forest-dark);
}

.ph-gc-btn--secondary {
	color: var(--ph-gc-ink);
	background: #fff;
}

.ph-gc-btn--secondary:hover,
.ph-gc-btn--secondary:focus-visible {
	background: var(--ph-gc-forest-soft);
}

.ph-gc-btn:focus-visible,
.ph-gc-notice__close:focus-visible,
.ph-gc-acc .ph-gc-switch:focus-visible {
	outline: 2px solid var(--ph-gc-forest);
	outline-offset: 2px;
}

.ph-gc-btn[disabled] {
	cursor: wait;
	opacity: 0.6;
}

/* ---------- Google card: top of the main content, not a modal. ----------
 * Phone: photo tile 88 px | pill, title, price, text; consent line and the two buttons (full width) under it.
 * From 900 px: photo 120 px | text | consent line + buttons in a row on the right. */
.ph-gc-gbox {
	width: 100%;
	/* Page container 1232 px + the card's own 2 × 16 px side padding: edges line up with the content below. */
	max-width: 1264px;
	padding: 16px 16px 0;
	margin: 0 auto;
}

.ph-gc-gbox--dashboard {
	padding: 0;
	margin: 0 0 24px;
}

.ph-gc-gbox__card {
	position: relative;
	display: grid;
	grid-template-areas: "media main" "side side";
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 20px 16px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ph-gc-ink);
	text-align: left;
	background: #fff;
	border: 1px solid var(--ph-gc-line);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(31, 36, 33, 0.07);
}

.ph-gc-gbox__card--noimg {
	grid-template-areas: "main" "side";
	grid-template-columns: minmax(0, 1fr);
}

.ph-gc-gbox__media {
	grid-area: media;
	align-self: start;
}

.ph-gc-gbox .ph-gc-gbox__img {
	display: block;
	width: 88px;
	height: 88px;
	padding: 6px;
	/* 0.1.2: the theme's account panel gives images a 32 px block margin. */
	margin: 0;
	object-fit: contain;
	background: var(--ph-gc-tile);
	border-radius: 12px;
}

.ph-gc-gbox__main {
	grid-area: main;
	min-width: 0;
}

.ph-gc-gbox__side {
	grid-area: side;
	min-width: 0;
}

.ph-gc-pill {
	display: inline-block;
	padding: 2px 10px;
	margin: 0 0 6px;
	font: 700 12px/1.6 var(--ph-gc-f);
	color: var(--ph-gc-ink);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: var(--ph-gc-gift);
	border-radius: 999px;
}

.ph-gc-gbox .ph-gc-gbox__title {
	margin: 0 0 4px;
	font: 700 19px/1.3 var(--ph-gc-f);
	color: var(--ph-gc-ink);
}

.ph-gc-gbox__name {
	color: var(--ph-gc-forest);
}

.ph-gc-gbox .ph-gc-gbox__price {
	margin: 0 0 4px;
}

.ph-gc-gbox .ph-gc-gbox__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ph-gc-muted);
}

.ph-gc-gbox .ph-gc-gbox__legal {
	/* Above the buttons: the person reads the consent statement before answering. */
	margin: 0 0 12px;
	font-size: 12.5px;
	line-height: 24px;
	color: var(--ph-gc-muted);
}

.ph-gc-gbox__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ph-gc-gbox__actions .ph-gc-btn {
	width: 100%;
}

.ph-gc-gbox .ph-gc-gbox__status {
	margin: 0;
	font-weight: 600;
	color: var(--ph-gc-forest);
}

.ph-gc-gbox .ph-gc-gbox__status:empty {
	display: none;
}

.ph-gc-gbox .ph-gc-gbox__status:not(:empty) {
	margin: 12px 0 0;
}

/* Answer received: the offer line goes (the result panel says it), the result in a soft forest panel with a tick
 * (done) or an envelope (mail sent); "Zobacz koszyk" under it when the gift is already in the cart. */
.ph-gc-gbox--answered .ph-gc-gbox__text {
	display: none;
}

.ph-gc-gbox .ph-gc-gbox__cart {
	width: 100%;
	margin: 10px 0 0;
}

.ph-gc-gbox--answered .ph-gc-gbox__status:not(:empty) {
	padding: 14px 16px 14px 52px;
	margin: 0;
	font: 600 15px/1.5 var(--ph-gc-f);
	color: var(--ph-gc-forest-dark);
	background: var(--ph-gc-forest-soft) no-repeat 16px 14px / 24px 24px;
	border-radius: 12px;
	outline: none;
}

.ph-gc-gbox--done .ph-gc-gbox__status:not(:empty) {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%231f4d3a'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ph-gc-gbox--pending .ph-gc-gbox__status:not(:empty) {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

.ph-gc-gbox .ph-gc-gbox__close {
	position: absolute;
	top: 4px;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	font: 400 26px/1 var(--ph-gc-f);
	color: var(--ph-gc-ink);
	cursor: pointer;
	background: transparent;
	border: 0;
	border-radius: 10px;
}

.ph-gc-gbox .ph-gc-gbox__close[hidden] {
	display: none;
}

.ph-gc-gbox .ph-gc-gbox__close:focus-visible {
	outline: 2px solid var(--ph-gc-forest);
	outline-offset: 2px;
}

@media (min-width: 600px) {
	.ph-gc-gbox__actions {
		flex-direction: row;
	}

	.ph-gc-gbox__actions .ph-gc-btn {
		flex: 1 1 0;
		width: auto;
	}
}

@media (min-width: 900px) {
	.ph-gc-gbox__card {
		grid-template-areas: "media main side";
		grid-template-columns: 120px minmax(0, 1fr) minmax(300px, 380px);
		gap: 24px;
		padding: 24px;
	}

	.ph-gc-gbox__card--noimg {
		grid-template-areas: "main side";
		grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	}

	.ph-gc-gbox .ph-gc-gbox__img {
		width: 120px;
		height: 120px;
	}

	.ph-gc-gbox .ph-gc-gbox__title {
		font-size: 22px;
	}

	.ph-gc-gbox .ph-gc-gbox__text {
		font-size: 15px;
	}

	.ph-gc-gbox--answered .ph-gc-gbox__side {
		padding-right: 36px;
	}
}

/* ---------- 0.1.2: second, last Google card at the top of the Moje konto dashboard. ----------
 * It sits in the theme's account panel (about half of the page at 1440), so its layout follows the width of the
 * panel (container query), not of the window: photo | text, consent line and buttons under them; three columns
 * only when the panel itself is wide (theme layout changed). */
.ph-gc-gbox--account {
	padding: 0;
	margin: 0 0 24px;
	container: ph-gc-gacc / inline-size;
}

@media (min-width: 900px) {
	.ph-gc-gbox--account .ph-gc-gbox__card {
		grid-template-areas: "media main" "side side";
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 20px 24px;
	}

	.ph-gc-gbox--account .ph-gc-gbox__card--noimg {
		grid-template-areas: "main" "side";
		grid-template-columns: minmax(0, 1fr);
	}

	.ph-gc-gbox--account.ph-gc-gbox--answered .ph-gc-gbox__side {
		padding-right: 0;
	}
}

@container ph-gc-gacc (max-width: 360px) {
	/* 0.1.3: phone (panel ~280-334 px): smaller photo and gaps, so the text column is ~30 px wider (5 → 4 lines). */
	.ph-gc-gbox--account .ph-gc-gbox__card {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 16px 12px;
		padding: 16px 14px;
	}

	.ph-gc-gbox--account .ph-gc-gbox__card--noimg {
		grid-template-columns: minmax(0, 1fr);
	}

	.ph-gc-gbox--account .ph-gc-gbox__img {
		width: 64px;
		height: 64px;
		padding: 4px;
	}

	.ph-gc-gbox--account .ph-gc-gbox__title {
		font-size: 18px;
	}

	.ph-gc-gbox--account .ph-gc-gbox__actions {
		flex-direction: column;
	}

	.ph-gc-gbox--account .ph-gc-gbox__actions .ph-gc-btn {
		flex: none;
		width: 100%;
	}
}

@container ph-gc-gacc (min-width: 860px) {
	.ph-gc-gbox--account .ph-gc-gbox__card {
		grid-template-areas: "media main side";
		grid-template-columns: 120px minmax(0, 1fr) minmax(300px, 380px);
	}

	.ph-gc-gbox--account .ph-gc-gbox__card--noimg {
		grid-template-areas: "main side";
		grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	}
}

/* Moje konto → Edytuj dane: pointer to the open gift card (no −10% promise next to the switch). */
.ph-gc-acc .ph-gc-acc__gift {
	padding: 10px 14px;
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ph-gc-forest-dark);
	background: var(--ph-gc-forest-soft);
	border-radius: 12px;
}

.ph-gc-acc .ph-gc-acc__gift a[href] {
	/* 0.1.3: 45 px tap area (was 25 px) without a taller line: the padding is taken back by the negative margin. */
	display: inline-block;
	padding: 12px 0;
	margin: -12px 0;
	white-space: nowrap;
}

/* ---------- Moje konto: newsletter switch (native checkbox, role="switch"). ---------- */
.ph-gc-acc {
	padding: 16px 0;
	margin: 8px 0 20px;
	color: var(--ph-gc-ink);
	border-top: 1px solid var(--ph-gc-line);
	border-bottom: 1px solid var(--ph-gc-line);
}

.ph-gc-acc .ph-gc-acc__row {
	display: flex;
	gap: 12px;
	align-items: center;
	min-height: 44px;
	margin: 0;
	font: 600 16px/1.4 var(--ph-gc-f);
	color: var(--ph-gc-ink);
	cursor: pointer;
}

/* id selector: wins over the theme / Site Chrome 20 px checkbox rules of Moje konto. */
#ph-gc-newsletter {
	position: relative;
	flex: none;
	width: 48px;
	height: 28px;
	margin: 0;
	cursor: pointer;
	background: var(--ph-gc-off);
	border: 0;
	border-radius: 999px;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease;
}

#ph-gc-newsletter::before {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	content: "";
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

#ph-gc-newsletter:checked {
	background: var(--ph-gc-forest);
}

#ph-gc-newsletter:checked::before {
	transform: translateX(20px);
}

.ph-gc-acc .ph-gc-acc__legal {
	margin: 6px 0 0 60px;
	font-size: 14px;
	/* 0.1.3: 24 px lines, the privacy link 24 px tall (was 19 px). */
	line-height: 24px;
	color: var(--ph-gc-muted);
}

.ph-gc-acc .ph-gc-acc__legal a[href] {
	display: inline-block;
	padding: 2px 0;
	line-height: 20px;
}

.ph-gc-acc .ph-gc-acc__status {
	padding: 10px 12px;
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ph-gc-forest);
	background: var(--ph-gc-forest-soft);
	border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
	#ph-gc-newsletter,
	#ph-gc-newsletter::before,
	.ph-gc-btn,
	.ph-gc-reg__choice {
		transition: none;
	}

	.ph-gc-reg__arrow {
		animation: none;
	}
}

/* ---------- Landing toast (right after <body>). ---------- */
.ph-gc-notice {
	position: fixed;
	top: 16px;
	left: 50%;
	z-index: 100000;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	width: calc(100% - 32px);
	max-width: 560px;
	padding: 16px 56px 16px 20px;
	color: var(--ph-gc-ink);
	background: #fff;
	border: 1px solid var(--ph-gc-line);
	border-left: 4px solid var(--ph-gc-forest);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(31, 36, 33, 0.16);
	transform: translateX(-50%);
}

.ph-gc-notice--warn {
	background: var(--ph-gc-warn-soft);
	border-left-color: var(--ph-gc-warn);
}

.ph-gc-notice .ph-gc-notice__text {
	flex: 1 1 100%;
	margin: 0;
	font: 400 16px/1.5 var(--ph-gc-f);
	color: var(--ph-gc-ink);
}

.ph-gc-notice__close {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--ph-gc-ink);
	cursor: pointer;
	background: transparent;
	border: 0;
	border-radius: 10px;
}

body.admin-bar .ph-gc-notice {
	top: 62px;
}

@media (min-width: 783px) {
	body.admin-bar .ph-gc-notice {
		top: 48px;
	}
}
