/* ==========================================================================
   GrowthReader — components.css
   Announcement · header · navigation · search · footer · cards · badges ·
   price · breadcrumbs · pagination · accordion · chips · notes · newsletter ·
   consent · sticky buy bar · gallery · stars
   ========================================================================== */

/* ----- Announcement bar ------------------------------------------------- */
.gr-announce {
	background: var(--gr-ink);
	color: #fff;
	font-size: var(--gr-fs-sm);
	text-align: center;
}
.gr-announce .gr-container { padding-block: 9px; }
.gr-announce p, .gr-announce a { margin: 0; color: #fff; text-decoration: none; }
.gr-announce a:hover { text-decoration: underline; color: #fff; }

/* ----- Header ----------------------------------------------------------- */
.gr-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--gr-line);
}
.gr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: var(--gr-header-h);
}
.gr-header__brand { min-width: 0; flex: 0 1 auto; }
.gr-header__utils { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.gr-header__secure {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: var(--gr-fs-xs);
	color: var(--gr-muted);
	text-align: right;
}

.gr-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gr-ink);
	text-decoration: none;
	min-height: 44px;
}
.gr-logo:hover { color: var(--gr-ink); }
.gr-logo__text {
	font-family: var(--gr-font-head);
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.gr-logo__text span { color: var(--gr-accent); }
.custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.custom-logo-link img, .custom-logo { max-height: 40px; width: auto; }

.gr-iconbtn--orders { display: none; }
.gr-iconbtn__label { font-size: var(--gr-fs-sm); font-weight: 600; }
.gr-menu-toggle__close { display: none; }
.gr-menu-toggle[aria-expanded="true"] .gr-menu-toggle__open { display: none; }
.gr-menu-toggle[aria-expanded="true"] .gr-menu-toggle__close { display: block; }

/* ----- Navigation: phone panel (default) -------------------------------- */
.gr-nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-bottom: 1px solid var(--gr-line);
	box-shadow: var(--gr-shadow);
	max-height: calc(100vh - var(--gr-header-h));
	max-height: calc(100dvh - var(--gr-header-h));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: env(safe-area-inset-bottom);
}
.gr-nav.is-open { display: block; }
.gr-nav__list { list-style: none; margin: 0; padding: 4px 0; }
.gr-nav__item {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	border-bottom: 1px solid var(--gr-line);
}
.gr-nav__link {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 max(var(--gr-gutter), env(safe-area-inset-left));
	color: var(--gr-ink);
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
}
.gr-nav__link:hover { color: var(--gr-accent-hover); background: var(--gr-paper); }
.gr-nav__item.is-current > .gr-nav__link { color: var(--gr-accent); }
.gr-nav__toggle {
	flex: 0 0 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-left: 1px solid var(--gr-line);
	color: var(--gr-ink);
}
.gr-nav__toggle .gr-icon { transition: transform var(--gr-dur) var(--gr-ease); }
.gr-nav__item.is-open > .gr-nav__toggle .gr-icon { transform: rotate(180deg); }
.gr-nav__sub {
	flex: 0 0 100%;
	display: none;
	list-style: none;
	margin: 0;
	padding: 0 0 6px;
	background: var(--gr-paper);
}
.gr-nav__item.is-open > .gr-nav__sub { display: block; }
.gr-nav__sub .gr-nav__item { border: 0; }
.gr-nav__sub .gr-nav__link { min-height: 48px; font-weight: 500; padding-left: calc(max(var(--gr-gutter), env(safe-area-inset-left)) + 14px); }
.gr-nav__extra { border-top: 1px solid var(--gr-line); padding: 4px 0 8px; }
.gr-nav__extra .gr-nav__link { min-height: 48px; font-weight: 500; }

/* ----- Navigation: desktop ---------------------------------------------- */
@media (min-width: 1100px) {
	.gr-header { --gr-header-h: 72px; }
	.gr-menu-toggle { display: none; }
	.gr-iconbtn--orders { display: inline-flex; }
	.gr-nav {
		display: block;
		position: static;
		flex: 1 1 auto;
		margin-inline: 20px;
		max-height: none;
		overflow: visible;
		border: 0;
		box-shadow: none;
		padding: 0;
	}
	.gr-nav__list { display: flex; justify-content: center; gap: 2px; padding: 0; }
	.gr-nav__item { position: relative; border: 0; flex-wrap: nowrap; align-items: center; }
	.gr-nav__link { flex: 0 0 auto; min-height: 44px; padding: 0 11px; border-radius: var(--gr-radius-sm); font-size: 0.96875rem; }
	.gr-nav__item.is-current > .gr-nav__link { box-shadow: inset 0 -3px 0 var(--gr-accent); border-radius: 0; }
	.gr-nav__toggle { flex: 0 0 28px; min-height: 44px; margin-left: -10px; border: 0; background: transparent; }
	.gr-nav__toggle .gr-icon { width: 14px; height: 14px; }
	.gr-nav__sub {
		position: absolute;
		left: 0;
		top: 100%;
		min-width: 250px;
		padding: 8px;
		background: #fff;
		border: 1px solid var(--gr-line);
		border-radius: var(--gr-radius);
		box-shadow: var(--gr-shadow);
		z-index: 60;
	}
	.has-sub:hover > .gr-nav__sub,
	.has-sub:focus-within > .gr-nav__sub { display: block; }
	.gr-nav__sub .gr-nav__link { padding: 0 12px; min-height: 44px; width: 100%; }
	.gr-nav__extra { display: none; }
}

/* ----- Search panel + form + suggestions -------------------------------- */
.gr-search-panel { background: #fff; border-top: 1px solid var(--gr-line); padding: 12px 0 16px; }
.gr-searchform { position: relative; width: 100%; max-width: 720px; margin-inline: auto; }
.gr-searchform__field {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 54px;
	padding: 4px 4px 4px 14px;
	background: #fff;
	border: 1.5px solid var(--gr-control-border);
	border-radius: var(--gr-radius);
	transition: border-color var(--gr-dur) var(--gr-ease), box-shadow var(--gr-dur) var(--gr-ease);
}
.gr-searchform__field:focus-within { border-color: var(--gr-accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.25); }
.gr-searchform__field > .gr-icon { color: var(--gr-muted); }
.gr-searchform__field input[type="search"],
.gr-searchform__field input[type="search"]:focus {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	box-shadow: none;
	background: transparent;
}
.gr-searchform--page { margin-bottom: var(--gr-s6); max-width: 100%; }

.gr-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 80;
	max-height: min(70vh, 480px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
	box-shadow: var(--gr-shadow);
}
.gr-suggest__heading {
	margin: 6px 10px 2px;
	font-size: var(--gr-fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gr-muted);
}
.gr-suggest__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 8px 10px;
	border-radius: 8px;
	color: var(--gr-ink);
	text-decoration: none;
}
.gr-suggest__item:hover, .gr-suggest__item[aria-selected="true"] { background: var(--gr-paper); color: var(--gr-ink); }
.gr-suggest__item[aria-selected="true"] { outline: 2px solid var(--gr-accent); outline-offset: -2px; }
.gr-suggest__thumb { flex: 0 0 40px; width: 40px; height: 50px; object-fit: cover; border-radius: 4px; background: var(--gr-paper); }
.gr-suggest__thumb--none { display: flex; align-items: center; justify-content: center; color: var(--gr-muted); }
.gr-suggest__text { flex: 1 1 auto; min-width: 0; }
.gr-suggest__title { display: block; font-weight: 600; line-height: 1.3; }
.gr-suggest__meta { display: block; font-size: var(--gr-fs-xs); color: var(--gr-muted); }
.gr-suggest__price { flex: 0 0 auto; font-weight: 700; font-size: var(--gr-fs-sm); }
.gr-suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 10px 10px; }
.gr-suggest__note { margin: 0; padding: 10px; font-size: var(--gr-fs-sm); color: var(--gr-muted); }
.gr-suggest__all {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 4px;
	border-top: 1px solid var(--gr-line);
	font-weight: 600;
	text-decoration: none;
}

/* ----- Footer ----------------------------------------------------------- */
.gr-footer { background: var(--gr-ink); color: #cdd7df; padding-top: var(--gr-section); padding-bottom: 24px; font-size: var(--gr-fs-sm); }
.gr-footer a { color: #e9eff4; text-decoration: none; }
.gr-footer a:hover { color: #fff; text-decoration: underline; }
.gr-footer .gr-logo { color: #fff; }
.gr-footer .gr-logo__text span { color: var(--gr-accent-on-dark); }
.gr-footer .gr-logo__mark rect { fill: var(--gr-accent); }
.gr-footer .gr-logo__mark path { stroke: #fff; }
.gr-footer .gr-logo__mark circle { fill: #fff; }
.gr-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.gr-footer__brand { grid-column: 1 / -1; max-width: 420px; }
.gr-footer__brand p { margin: 14px 0; color: #b9c6d0; }
.gr-footer__title { margin: 0 0 10px; font-family: var(--gr-font-body); font-size: var(--gr-fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.gr-footer__list { list-style: none; margin: 0; padding: 0; }
.gr-footer__list a { display: inline-flex; align-items: center; min-height: 40px; }
.gr-social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gr-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); }
.gr-social a:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.gr-footer__bottom { margin-top: var(--gr-s7); padding-top: var(--gr-s5); border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 4px; color: #a9b8c4; }
.gr-footer__bottom p { margin: 0 0 6px; }
.gr-footer__legalline span { display: block; }
.gr-footer__pay { display: flex; align-items: center; gap: 8px; }
.gr-footer__disclaimer { font-size: var(--gr-fs-xs); max-width: 70ch; }
.gr-footer .gr-linkbtn { color: #e9eff4; }
@media (min-width: 900px) {
	.gr-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
	.gr-footer__brand { grid-column: auto; }
}

/* ----- Cards ------------------------------------------------------------ */
.gr-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
	overflow: hidden;
	transition: box-shadow var(--gr-dur) var(--gr-ease), transform var(--gr-dur) var(--gr-ease), border-color var(--gr-dur) var(--gr-ease);
}
@media (hover: hover) {
	.gr-card:hover { box-shadow: var(--gr-shadow); border-color: var(--gr-line-strong); transform: translateY(-2px); }
}
.gr-card__media { position: relative; display: block; background: var(--gr-paper); }
.gr-card__media--wide { aspect-ratio: 16 / 10; overflow: hidden; }
.gr-card__img { width: 100%; height: 100%; object-fit: cover; }
.gr-card__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--gr-accent); background: var(--gr-accent-soft); }
.gr-card__badge { position: absolute; top: 8px; right: 8px; z-index: 1; } /* top-right: the placeholder cover puts its type label top-left */
.gr-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 12px 12px 14px; }
.gr-card__type { margin: 0 0 4px; font-size: var(--gr-fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gr-muted); }
.gr-card__title { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.25; }
.gr-card__title a { color: var(--gr-ink); text-decoration: none; }
.gr-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.gr-card__desc {
	margin: 0 0 8px;
	font-size: var(--gr-fs-sm);
	line-height: 1.45;
	color: var(--gr-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.gr-card__meta { margin: 0 0 8px; font-size: var(--gr-fs-xs); color: var(--gr-muted); }
.gr-card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.gr-card__foot .gr-btn { position: relative; z-index: 1; width: 100%; }
.gr-card--post .gr-card__title { font-size: 1.1875rem; }
.gr-card--post .gr-card__desc { -webkit-line-clamp: 3; }
@media (min-width: 768px) {
	.gr-card__body { padding: 16px 16px 18px; }
	.gr-card__desc { -webkit-line-clamp: 3; }
	.gr-card__foot { flex-direction: row; align-items: center; justify-content: space-between; }
	.gr-card__foot .gr-btn { width: auto; }
}

/* Covers (real image, or typographic placeholder until one is uploaded) */
.gr-cover { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gr-paper); }
.gr-cover img, .gr-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-cover__ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 12% 9% 9% 11%;
	background: var(--gr-paper);
	color: var(--gr-ink);
	border-left: 6px solid var(--gr-accent);
}
.gr-cover__ph-type { font-size: clamp(0.625rem, 2.6vw, 0.75rem); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gr-accent); }
.gr-cover__ph-title { font-family: var(--gr-font-head); font-weight: 700; font-size: clamp(1rem, 5.2vw, 1.5rem); line-height: 1.12; overflow-wrap: break-word; }
.gr-cover__ph-brand { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gr-muted); }
.gr-cover__ph--planners { background: var(--gr-accent-soft); }
.gr-cover__ph--free { background: var(--gr-accent-soft); border-left-color: var(--gr-ink); }
.gr-cover__ph--trackers, .gr-cover__ph--bundles { background: var(--gr-ink); color: #fff; border-left-color: var(--gr-accent-on-dark); }
.gr-cover__ph--trackers .gr-cover__ph-type, .gr-cover__ph--bundles .gr-cover__ph-type { color: var(--gr-accent-on-dark); }
.gr-cover__ph--trackers .gr-cover__ph-brand, .gr-cover__ph--bundles .gr-cover__ph-brand { color: rgba(255, 255, 255, 0.72); }
.gr-cover--lg .gr-cover__ph-title { font-size: clamp(1.4rem, 7vw, 2.25rem); }
.gr-cover--lg .gr-cover__ph-type { font-size: 0.8125rem; }

/* ----- Category tile ---------------------------------------------------- */
.gr-grid--cats { grid-template-columns: minmax(0, 1fr); gap: var(--gr-s3); }
.gr-catcard {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
	color: var(--gr-text);
	text-decoration: none;
	transition: border-color var(--gr-dur) var(--gr-ease), box-shadow var(--gr-dur) var(--gr-ease);
}
.gr-catcard:hover { border-color: var(--gr-accent); box-shadow: var(--gr-shadow-sm); color: var(--gr-text); }
.gr-catcard__icon { flex: 0 0 52px; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gr-accent-soft); color: var(--gr-accent); }
.gr-catcard__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gr-catcard__name { font-family: var(--gr-font-head); font-weight: 600; font-size: 1.125rem; color: var(--gr-ink); line-height: 1.25; }
.gr-catcard__goal { font-size: var(--gr-fs-sm); color: var(--gr-muted); line-height: 1.4; }
.gr-catcard__topics { font-size: var(--gr-fs-xs); color: var(--gr-accent); font-weight: 600; }
.gr-catcard__go { flex: 0 0 auto; display: inline-flex; color: var(--gr-muted); }
@media (min-width: 640px) {
	.gr-grid--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gr-s4); }
}
@media (min-width: 1100px) {
	.gr-grid--cats:not(.gr-grid--2) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gr-grid--cats:not(.gr-grid--2) .gr-catcard { flex-direction: column; align-items: flex-start; }
	.gr-grid--cats:not(.gr-grid--2) .gr-catcard__go { display: none; }
}

/* ----- Badges ----------------------------------------------------------- */
.gr-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	font-size: var(--gr-fs-xs);
	font-weight: 700;
	line-height: 1.5;
	color: var(--gr-ink);
	background: var(--gr-paper);
	border: 1px solid var(--gr-line);
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}
a.gr-badge:hover { border-color: var(--gr-ink); color: var(--gr-ink); }
.gr-badge--sale { background: var(--gr-sale-bg); color: var(--gr-sale-fg); border-color: #f1d2b2; }
.gr-badge--save { background: var(--gr-accent); color: #fff; border-color: transparent; }
.gr-badge--free { background: var(--gr-accent-soft); color: var(--gr-accent-hover); border-color: transparent; }
.gr-badge--type { background: var(--gr-ink); color: #fff; border-color: transparent; }
.gr-badge--verified { background: var(--gr-success-soft); color: var(--gr-success); border-color: transparent; }

/* ----- Price ------------------------------------------------------------ */
.gr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.gr-price__current { font-size: 1.125rem; font-weight: 800; color: var(--gr-ink); font-variant-numeric: tabular-nums; }
.gr-price__was { font-size: var(--gr-fs-sm); font-weight: 500; color: var(--gr-muted); font-variant-numeric: tabular-nums; }
.gr-price--sm .gr-price__current { font-size: 1rem; }
.gr-price--lg .gr-price__current { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.gr-price--lg .gr-price__was { font-size: 1.125rem; }

/* ----- Rating stars (real reviews only) --------------------------------- */
.gr-rating { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: var(--gr-fs-sm); color: var(--gr-muted); }
.gr-rating a { color: inherit; }
.gr-stars { display: inline-flex; gap: 1px; margin: 0; color: var(--gr-line-strong); }
.gr-star.is-on { color: #b45309; }
.gr-star.is-on .gr-icon { fill: currentColor; }

/* ----- Breadcrumbs ------------------------------------------------------ */
.gr-breadcrumbs { margin: 0 0 var(--gr-s3); font-size: var(--gr-fs-sm); }
.gr-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; color: var(--gr-muted); }
.gr-breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.gr-breadcrumbs li + li::before { content: "/"; color: var(--gr-line-strong); }
.gr-breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--gr-muted); text-decoration: none; }
.gr-breadcrumbs a:hover { color: var(--gr-accent-hover); text-decoration: underline; }
.gr-breadcrumbs [aria-current] { color: var(--gr-ink); }

/* ----- Pagination ------------------------------------------------------- */
.gr-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: var(--gr-s7) 0 0; padding: 0; list-style: none; }
.gr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	color: var(--gr-ink);
	background: #fff;
	border: 1px solid var(--gr-line-strong);
	border-radius: var(--gr-radius-sm);
	font-weight: 600;
	text-decoration: none;
}
.gr-pagination a.page-numbers:hover { background: var(--gr-paper); border-color: var(--gr-ink); }
.gr-pagination .page-numbers.current { background: var(--gr-ink); color: #fff; border-color: var(--gr-ink); }
.gr-pagination .page-numbers.dots { border: 0; background: transparent; min-width: 24px; padding: 0; }

/* ----- Accordion (native <details>) ------------------------------------- */
.gr-acc-list { border-top: 1px solid var(--gr-line); }
.gr-acc { border-bottom: 1px solid var(--gr-line); }
.gr-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 14px 0;
	list-style: none;
	font-weight: 650;
	color: var(--gr-ink);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.gr-acc summary::-webkit-details-marker { display: none; }
.gr-acc summary .gr-icon { color: var(--gr-muted); transition: transform var(--gr-dur) var(--gr-ease); }
.gr-acc[open] > summary .gr-icon { transform: rotate(180deg); }
.gr-acc summary:hover { color: var(--gr-accent-hover); }
.gr-acc__body { padding: 0 0 18px; }
.gr-acc__body > :last-child { margin-bottom: 0; }
.gr-acc--compact { border: 0; margin-top: var(--gr-s2); }
.gr-acc--compact summary { min-height: 44px; padding: 8px 0; font-size: var(--gr-fs-sm); font-weight: 600; }
.gr-acc--compact .gr-acc__body { font-size: var(--gr-fs-sm); color: var(--gr-muted); }
.gr-faq { margin-bottom: var(--gr-s7); }

/* ----- Chips, notes, empty states, trust -------------------------------- */
.gr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--gr-s4) 0 0; padding: 0; list-style: none; }
.gr-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	background: #fff;
	color: var(--gr-ink);
	font-size: var(--gr-fs-sm);
	font-weight: 600;
	border: 1px solid var(--gr-line-strong);
	border-radius: 999px;
	text-decoration: none;
	transition: background-color var(--gr-dur) var(--gr-ease), border-color var(--gr-dur) var(--gr-ease);
}
.gr-chip:hover { border-color: var(--gr-ink); color: var(--gr-ink); background: var(--gr-paper); }
.gr-chip.is-current { background: var(--gr-ink); color: #fff; border-color: var(--gr-ink); }

.gr-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: var(--gr-s5) 0;
	padding: 14px 16px;
	background: var(--gr-accent-soft);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
}
.gr-note .gr-icon { margin-top: 2px; color: var(--gr-accent); }
.gr-note p { margin: 0; font-size: var(--gr-fs-sm); }
.gr-note--muted { background: var(--gr-paper); }
.gr-note--muted .gr-icon { color: var(--gr-muted); }
.gr-admin-note { margin-top: var(--gr-s3); padding: 8px 12px; font-size: var(--gr-fs-xs); color: #6b4e00; background: #fff6d6; border: 1px dashed #d4b24c; border-radius: var(--gr-radius-sm); }

.gr-empty { max-width: 560px; margin: var(--gr-s7) auto; padding: 0 var(--gr-s4); text-align: center; }
.gr-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: var(--gr-s3); color: var(--gr-accent); background: var(--gr-accent-soft); border-radius: 50%; }
.gr-empty__title { font-size: var(--gr-fs-h3); }
.gr-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--gr-s4); }

.gr-trust { display: grid; gap: var(--gr-s4); margin: var(--gr-s5) 0 var(--gr-s4); padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
.gr-trust li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--gr-line); border-radius: var(--gr-radius); }
.gr-trust .gr-icon { color: var(--gr-accent); margin-top: 2px; }
.gr-trust strong { display: block; color: var(--gr-ink); }
.gr-trust span { display: block; font-size: var(--gr-fs-sm); color: var(--gr-muted); }
@media (min-width: 640px) { .gr-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gr-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ----- Section heading -------------------------------------------------- */
.gr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--gr-s3) var(--gr-s5); margin-bottom: var(--gr-s5); }
.gr-head--center { flex-direction: column; align-items: center; text-align: center; }
.gr-head__main { min-width: 0; max-width: 62ch; }
.gr-head__title { margin: 0; font-size: var(--gr-fs-h2); }
.gr-head__text { margin: var(--gr-s2) 0 0; color: var(--gr-muted); }
.gr-head__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; text-decoration: none; }
.gr-head__link:hover { text-decoration: underline; }

/* ----- Forms: layout + status ------------------------------------------- */
.gr-form__row { display: flex; flex-direction: column; gap: 10px; }
.gr-form__row .gr-btn { width: 100%; }
.gr-form__hint { margin: 0 0 var(--gr-s3); font-size: var(--gr-fs-xs); color: var(--gr-muted); }
.gr-form__status { min-height: 1.5em; margin: var(--gr-s3) 0 0; font-weight: 600; font-size: var(--gr-fs-sm); }
.gr-form__status:empty { min-height: 0; margin: 0; }
.gr-form__status.is-success { color: var(--gr-success); }
.gr-form__status.is-success::before { content: "\2713\00a0"; }
.gr-form__status.is-error { color: var(--gr-danger); }
.gr-form__status.is-error::before { content: "!\00a0"; font-weight: 800; }
.gr-field__error { margin: 6px 0 0; font-size: var(--gr-fs-sm); font-weight: 600; color: var(--gr-danger); }
.gr-success { margin-top: var(--gr-s4); padding: 16px; background: var(--gr-success-soft); border: 1px solid #b9dcc8; border-radius: var(--gr-radius); }
.gr-success p:last-child { margin-bottom: 0; }
@media (min-width: 480px) {
	.gr-form__row { flex-direction: row; }
	.gr-form__row input { flex: 1 1 auto; min-width: 0; }
	.gr-form__row .gr-btn { width: auto; flex: 0 0 auto; }
}

/* ----- Newsletter ------------------------------------------------------- */
.gr-newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gr-s5); align-items: center; }
.gr-newsletter__copy p { margin: var(--gr-s2) 0 0; color: var(--gr-muted); }
.gr-newsletter--compact { margin-top: var(--gr-s3); }
.gr-newsletter--compact .gr-newsletter__inner { display: block; }
@media (min-width: 900px) {
	.gr-newsletter:not(.gr-newsletter--compact) .gr-newsletter__inner { grid-template-columns: 1fr 1fr; gap: var(--gr-s8); }
}

/* ----- Buy box fallbacks + notes ---------------------------------------- */
.gr-buy-fallback { padding: 18px; background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: var(--gr-radius); }
.gr-buy-fallback__title { margin: 0 0 4px; color: var(--gr-ink); }
.gr-buy-fallback__text { margin: 0 0 var(--gr-s3); font-size: var(--gr-fs-sm); color: var(--gr-muted); }
.gr-buybox .gr-btn--block { margin-bottom: var(--gr-s4); }
.gr-buynotes { display: grid; gap: 8px; margin: 0 0 var(--gr-s3); padding: 0; list-style: none; font-size: var(--gr-fs-sm); color: var(--gr-muted); }
.gr-buynotes li { display: flex; gap: 10px; align-items: flex-start; }
.gr-buynotes .gr-icon { margin-top: 2px; color: var(--gr-accent); }

/* ----- Consent banner --------------------------------------------------- */
.gr-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: grid;
	gap: 12px;
	padding: 14px max(var(--gr-gutter), env(safe-area-inset-left)) calc(14px + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--gr-line-strong);
	box-shadow: 0 -10px 30px -14px rgba(16, 32, 46, 0.35);
	font-size: var(--gr-fs-sm);
}
.gr-consent p { margin: 0; }
.gr-consent__title { margin-bottom: 2px !important; font-weight: 700; color: var(--gr-ink); }
.gr-consent__actions { display: flex; gap: 10px; }
.gr-consent__actions .gr-btn { flex: 1 1 0; }
body.gr-consent-open { padding-bottom: var(--gr-consent-h, 150px); }
@media (min-width: 768px) {
	.gr-consent { grid-template-columns: 1fr auto; align-items: center; gap: 24px; left: 16px; right: 16px; bottom: 16px; max-width: 920px; margin-inline: auto; border: 1px solid var(--gr-line-strong); border-radius: var(--gr-radius); }
	.gr-consent__actions .gr-btn { flex: 0 0 auto; }
}

/* ----- Sticky mobile buy bar -------------------------------------------- */
.gr-buybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px max(var(--gr-gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gr-gutter), env(safe-area-inset-left));
	background: #fff;
	border-top: 1px solid var(--gr-line);
	box-shadow: 0 -10px 26px -14px rgba(16, 32, 46, 0.35);
	transform: translateY(110%);
	transition: transform 220ms var(--gr-ease);
}
.gr-buybar.is-visible { transform: none; }
.gr-buybar__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.gr-buybar__title { overflow: hidden; font-size: var(--gr-fs-sm); font-weight: 600; color: var(--gr-ink); text-overflow: ellipsis; white-space: nowrap; }
.gr-buybar .gr-price { flex-wrap: nowrap; }
.gr-buybar .gr-btn { flex: 0 0 auto; }
body.gr-buybar-on { padding-bottom: var(--gr-buybar-h, 80px); }
html.gr-consent-open .gr-buybar { display: none; }
@media (min-width: 900px) {
	.gr-buybar { display: none !important; }
	body.gr-buybar-on { padding-bottom: 0; }
}

/* ----- Product gallery + lightbox --------------------------------------- */
.gr-gallery__stage { position: relative; }
/* Phones: a slightly smaller cover keeps the price and buy button near the first screen */
@media (max-width: 639px) {
	.gr-gallery__stage { max-width: 290px; margin-inline: auto; }
}
.gr-gallery .gr-cover--lg { border: 1px solid var(--gr-line); border-radius: var(--gr-radius); }
.gr-gallery__zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--gr-line); border-radius: 50%; box-shadow: var(--gr-shadow-sm); }
.gr-gallery__thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 2px 2px 8px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.gr-gallery__thumbs li { flex: 0 0 68px; scroll-snap-align: start; }
.gr-gallery__thumb { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; background: var(--gr-paper); border: 2px solid transparent; border-radius: 8px; }
.gr-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gr-gallery__thumb.is-active { border-color: var(--gr-accent); }
.gr-gallery__thumb:hover { border-color: var(--gr-line-strong); }
.gr-gallery__thumb.is-active:hover { border-color: var(--gr-accent); }

.gr-lightbox { width: 100%; max-width: 100vw; height: 100%; max-height: 100vh; max-height: 100dvh; padding: 0; border: 0; background: transparent; }
.gr-lightbox::backdrop { background: rgba(16, 32, 46, 0.9); }
.gr-lightbox__inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 12px 24px; }
.gr-lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; }
.gr-lightbox__close, .gr-lightbox__nav { position: absolute; background: rgba(255, 255, 255, 0.95); border-radius: 50%; min-width: 48px; min-height: 48px; }
.gr-lightbox__close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.gr-lightbox__nav { top: 50%; transform: translateY(-50%); }
.gr-lightbox__nav--prev { left: 8px; }
.gr-lightbox__nav--next { right: 8px; }

/* ----- Misc ------------------------------------------------------------- */
.gr-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gr-checks li { display: flex; gap: 12px; align-items: flex-start; }
.gr-checks .gr-icon { margin-top: 2px; color: var(--gr-accent); }
.gr-checks--no .gr-icon { color: var(--gr-muted); }
