/* ==========================
   Pepipoo Base Styles
   ========================== */

:root {
	--color-bg: #060814;
	--color-bg-alt: #0d1224;
	--color-surface: #151a33;
	--color-surface-soft: #191f3b;
	--color-accent: #f5b301;
	--color-accent-soft: rgba(245, 179, 1, 0.14);
	--color-border: #242a4a;
	--color-text: #f7f8ff;
	--color-text-muted: #9ba3cd;
	--color-danger: #ff5f6c;
	--shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.55);

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;

	--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
		"Liberation Mono", "Courier New", monospace;

	--page-width: 1120px;
	--transition-fast: 0.15s ease-out;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.site--pepipoo {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-sans);
	color: var(--color-text);
	background: radial-gradient(circle at top left, #222c59 0, #060814 45%, #050610 100%);
}

/* ==========================
   Accessibility helpers
   ========================== */

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	padding: 0.5rem 1rem;
	background: var(--color-accent);
	color: #000;
	z-index: 9999;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	font-weight: 600;
}

.skip-link:focus {
	left: 0.75rem;
}

/* ==========================
   Global typography
   ========================== */

h1,
h2,
h3,
h4 {
	margin-top: 0;
	font-weight: 600;
	color: #ffffff;
}

h1 {
	font-size: clamp(1.9rem, 2.4vw, 2.4rem);
	line-height: 1.2;
	margin-bottom: 0.75rem;
}

h2 {
	font-size: 1.4rem;
	margin-bottom: 0.75rem;
}

h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

p {
	margin: 0 0 0.75rem;
	color: var(--color-text-muted);
	line-height: 1.6;
}

a {
	color: var(--color-accent);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

/* ==========================
   Layout shell
   ========================== */

.page {
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2rem;
}

.page__main {
	margin-top: 1.25rem;
}

.layout {
	display: grid;
	/* grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.2fr);*/
	gap: 1.5rem;
	align-items: flex-start;
}

.layout__content,
.layout__sidebar {
	min-width: 0;
}

/* Stack on mobile */
@media (max-width: 900px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================
   Header & Navigation
   ========================== */

.site-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	background:
		radial-gradient(circle at top left, rgba(245, 179, 1, 0.18), transparent 55%),
		linear-gradient(to bottom, rgba(13, 18, 36, 0.98), rgba(6, 8, 20, 0.98));
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(18px);
}

.site-header__inner {
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 0.95rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.brand__link {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: inherit;
	text-decoration: none;
}

.brand__icon {
	position: relative;
	width: 40px;
	height: 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, #f5b301, #ff7b3c);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.brand__icon-wheel {
	position: absolute;
	bottom: -6px;
	left: 7px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #000;
	background: #e3e5ff;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.75);
}

.brand__icon-wheel--rear {
	left: 24px;
}

.brand__text {
	display: flex;
	flex-direction: column;
}

.brand__name {
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.brand__tagline {
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

/* Nav toggle (mobile) */
.nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 32px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(9, 12, 30, 0.9);
	cursor: pointer;
	padding: 0 10px;
}

.nav-toggle__bar {
	height: 2px;
	border-radius: 999px;
	background: #ffffff;
}

/* Primary nav */
.primary-nav {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	background: rgba(6, 8, 20, 0.96);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	display: none;
}

.primary-nav--open {
	display: block;
}

.primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0.5rem 1.25rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.primary-nav__link {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	color: #e3e5ff;
	font-size: 0.9rem;
}

.primary-nav__link:hover,
.primary-nav__link:focus {
	background: rgba(244, 244, 255, 0.06);
	text-decoration: none;
}

.primary-nav__link--highlight {
	background: var(--color-accent);
	color: #000;
	font-weight: 600;
}

.primary-nav__link--highlight:hover,
.primary-nav__link--highlight:focus {
	background: #ffd961;
}

/* Desktop nav layout */
@media (min-width: 900px) {
	.nav-toggle {
		display: none;
	}
	.primary-nav {
		position: static;
		display: block;
		background: transparent;
		border-bottom: none;
	}
	.primary-nav__list {
		padding: 0;
		flex-direction: row;
		gap: 0.4rem;
	}
}

/* Header meta bar */

.site-header__meta {
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 0 1.25rem 0.7rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

.site-header__meta-item--right {
	text-align: right;
}

.meta-note {
	opacity: 0.9;
}

/* ==========================
   Breadcrumb
   ========================== */

.breadcrumb {
	margin-top: 0.75rem;
}

.breadcrumb__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	padding: 0;
	margin: 0;
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

.breadcrumb__item a {
	color: var(--color-text-muted);
}

.breadcrumb__item--current {
	color: #ffffff;
}

/* Breadcrumb separator (Pepipoo) */
.breadcrumb__item + .breadcrumb__item::before {
	content: ">>";
	margin: 0 0.35rem;
	color: var(--color-text-muted);
	opacity: 0.75;
}
/* ==========================
   Cards, buttons, lists
   ========================== */

/* Pepipoo category pills (under the hero) */
body.site--pepipoo .cats {
	margin: 0 0 0.8rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

body.site--pepipoo .cats .pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--color-text-muted);
	background: rgba(4, 6, 16, 0.85);
	border: 1px solid rgba(148, 163, 184, 0.5);
	text-decoration: none;
	transition:
		background var(--transition-fast),
		color var(--transition-fast),
		border-color var(--transition-fast),
		transform var(--transition-fast);
}

body.site--pepipoo .cats .pill:hover,
body.site--pepipoo .cats .pill:focus {
	background: rgba(15, 23, 42, 0.95);
	color: #fff;
	border-color: rgba(248, 250, 252, 0.7);
	text-decoration: none;
	transform: translateY(-1px);
}

/* Active pill (current category) */
body.site--pepipoo .cats .pill.active,
body.site--pepipoo .cats .pill.active:hover,
body.site--pepipoo .cats .pill.active:focus {
	background: linear-gradient(135deg, #f5b301, #ff7b3c);
	color: #000;
	border-color: rgba(245, 179, 1, 0.9);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9);
}

.card {
	background: linear-gradient(145deg, var(--color-surface), var(--color-surface-soft));
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.04);
	box-shadow: var(--shadow-soft);
	padding: 1.1rem 1.1rem 1rem;
}

.card--sidebar {
	margin-bottom: 1rem;
}

.card__title {
	font-size: 1rem;
	margin-bottom: 0.4rem;
}

.card__text {
	font-size: 0.9rem;
}


/* Generic primary button */

.button,
.btn,
.btn-primary,
.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 0;
    background: var(--color-accent);
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}

.button:hover,
.button:focus,
.btn:hover,
.btn:focus {
	background: #ffd861;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(0, 0, 0, 0.6);
}

.button--ghost {
	background: transparent;
	color: var(--color-accent);
	border: 1px solid rgba(245, 179, 1, 0.6);
	box-shadow: none;
}

/* Pepipoo button refinements */
body.site--pepipoo #manage-cookies {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    background: transparent;
    color: var(--color-accent);
    border: 1px dashed rgba(245, 179, 1, 0.6);
    box-shadow: none;
}

body.site--pepipoo #manage-cookies:hover,
body.site--pepipoo #manage-cookies:focus {
    background: rgba(245, 179, 1, 0.12);
    text-decoration: none;
    transform: none;
    box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.3);
}

body.site--pepipoo .search-button {
    padding-inline: 0.9rem;
    font-size: 0.85rem;
    margin-left: 0.25rem;
    white-space: nowrap;
}

/* Pepipoo primary buttons (re-skin for standard .btn-primary usage) */
body.site--pepipoo .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, #f5b301, #ff7b3c);
	color: #000;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
	transition:
		transform var(--transition-fast),
		box-shadow var(--transition-fast),
		background var(--transition-fast);
}

body.site--pepipoo .btn-primary:hover,
body.site--pepipoo .btn-primary:focus {
	background: #ffd861;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(0, 0, 0, 0.6);
}

/* Keep the cookie button looking like a main CTA */
body.site--pepipoo #manage-cookies.btn-primary {
	white-space: nowrap;
	font-size: 0.85rem;
}

/* Search button: slightly shorter + more compact text */
body.site--pepipoo .btn-primary.search-button {
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	font-size: 0.85rem;
}

/* Pepipoo header search input: slightly taller and aligned with the button */
body.site--pepipoo input[type="search"][name="q"] {
	padding: 0.55rem 0.7rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background: rgba(4, 6, 16, 0.9);
	color: var(--color-text);
	font-size: 0.9rem;
}

/* If the search is wrapped in a container (optional but common) */
body.site--pepipoo .site-search input[type="search"],
body.site--pepipoo .site-search .search-input {
	padding: 0.6rem 0.75rem;
}

.button--full {
	width: 100%;
}

/* Lists */
.list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.list--links li + li {
	margin-top: 0.35rem;
}

.list--links a {
	font-size: 0.9rem;
}

/* Badges */
.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.badge--soft {
	background: var(--color-accent-soft);
	color: var(--color-accent);
	border: 1px solid rgba(245, 179, 1, 0.4);
}

/* ==========================
   Footer
   ========================== */

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: linear-gradient(to bottom, #050814, #020309);
	margin-top: 2rem;
	padding: 1.75rem 1.25rem 1.5rem;
}

.site-footer__inner {
	max-width: var(--page-width);
	margin: 0 auto 1.25rem;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.3fr);
	gap: 1.5rem;
}

.site-footer__heading {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
	margin-bottom: 0.6rem;
}

.site-footer__text {
	font-size: 0.85rem;
}

.site-footer__bottom {
	max-width: var(--page-width);
	margin: 0 auto;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 0.75rem;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.site-footer__fineprint {
	margin: 0;
}

.site-footer__copyright {
	margin: 0;
	opacity: 0.85;
}

/* Footer responsive */
@media (max-width: 900px) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================
   Content utilities
   ========================== */

.prose {
	font-size: 0.95rem;
}

.prose p + h2,
.prose p + h3 {
	margin-top: 1.4rem;
}

.prose ul,
.prose ol {
	margin: 0.5rem 0 0.9rem 1.3rem;
	color: var(--color-text-muted);
}

.callout {
	border-radius: var(--radius-md);
	border: 1px solid rgba(245, 179, 1, 0.5);
	background: rgba(245, 179, 1, 0.06);
	padding: 0.7rem 0.85rem;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

/* ==========================
   Forms (for contact / wizards)
   ========================== */

.form-field {
	margin-bottom: 0.9rem;
}

.form-label {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 0.3rem;
	color: #e7e8ff;
}

.form-input,
.form-textarea,
.form-select {
	width: 100%;
	padding: 0.55rem 0.6rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background: rgba(4, 6, 16, 0.9);
	color: var(--color-text);
	font-size: 0.9rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.4);
}

.form-help {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-top: 0.2rem;
}

/* ==========================
   Simple hero (optional)
   ========================== */

.hero {
	margin-bottom: 1.1rem;
	padding: 1rem 1rem 1rem;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at top right, rgba(245, 179, 1, 0.15), transparent 55%),
		linear-gradient(135deg, rgba(16, 23, 51, 0.97), rgba(9, 12, 32, 0.97));
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: var(--shadow-soft);
}

.hero__title {
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
}

.hero__subtitle {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	margin-bottom: 0.7rem;
}

/* ==========================
   Code / mono text
   ========================== */

code {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	background: rgba(0, 0, 0, 0.45);
	padding: 0.1rem 0.3rem;
	border-radius: var(--radius-sm);
}

.links--vertical a {
	display: block;
	margin: 0 0 0.25rem 0;
}

/* ==========================
   Pepipoo: Full Hero Section
   ========================== */

.hero-pepipoo {
	position: relative;
	margin: 1.25rem 0 1.5rem;
	padding: 2.2rem 1.8rem;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(245,179,1,0.18), transparent 60%),
		radial-gradient(circle at bottom left, rgba(60,80,180,0.25), transparent 65%),
		linear-gradient(135deg, rgba(10,14,32,1), rgba(4,6,18,0.95));
	border: 1px solid rgba(255,255,255,0.05);
	box-shadow: 0 10px 40px rgba(0,0,0,0.65);
}

.hero-pepipoo::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		url('/images/pepipoo/speed-camera-pattern.png') repeat;
	opacity: 0.025;
	pointer-events: none;
}

.hero-pepipoo__title {
	font-size: clamp(2rem, 3vw, 2.6rem);
	font-weight: 700;
	margin-bottom: 0.45rem;
	color: #fff;
	text-shadow: 0 0 18px rgba(0,0,0,0.55);
}

.hero-pepipoo__subtitle {
	font-size: 1.05rem;
	max-width: 700px;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

.hero-pepipoo__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.8rem;
}

.hero-pepipoo__cta .button {
	font-size: 1rem;
	padding: 0.65rem 1.3rem;
}





/* Pepipoo index hero – motoring law dashboard style */
.hero--pepipoo {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
	gap: 1.5rem;
	align-items: stretch;
	padding: 1.25rem 1.35rem 1.25rem;
	overflow: hidden;
}

/* Road / lane effects layered on top of the base .hero background */
.hero--pepipoo::before,
.hero--pepipoo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero--pepipoo::before {
	background:
		linear-gradient(
			115deg,
			rgba(245, 179, 1, 0.0) 0,
			rgba(245, 179, 1, 0.18) 35%,
			rgba(245, 179, 1, 0.0) 70%
		);
	opacity: 0.65;
}

.hero--pepipoo::after {
	background:
		repeating-linear-gradient(
			115deg,
			transparent 0,
			transparent 7px,
			rgba(255, 255, 255, 0.18) 7px,
			rgba(255, 255, 255, 0.18) 10px
		);
	opacity: 0.25;
}

/* Ensure hero content sits above the decorative layers */
.hero--pepipoo > * {
	position: relative;
	z-index: 1;
}

/* Left column */
.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.18rem 0.6rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: var(--color-accent);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
	border: 1px solid rgba(245, 179, 1, 0.4);
}

.hero__eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.35);
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.1rem;
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin-bottom: 0.8rem;
}

.hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.hero__meta-label {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	font-size: 0.72rem;
	color: rgba(230, 232, 255, 0.85);
}

.hero__meta-value {
	font-weight: 500;
}

/* Stats row */
.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 0.85rem;
}

.hero__stat {
	min-width: 120px;
	padding: 0.4rem 0.7rem;
	border-radius: var(--radius-md);
	background: rgba(4, 6, 16, 0.9);
	border: 1px solid rgba(245, 179, 1, 0.35);
}

.hero__stat-label {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-bottom: 0.15rem;
}

.hero__stat-value {
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
}

/* Hero actions */
.hero__actions {
	margin-top: 0.95rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

/* Right column – quick helper / checklist card */
.hero__card {
	align-self: stretch;
	border-radius: var(--radius-lg);
	background: rgba(4, 6, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0.9rem 0.95rem 0.85rem;
	backdrop-filter: blur(14px);
}

.hero__card-title {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
	margin-bottom: 0.45rem;
}

.hero__card p {
	font-size: 0.85rem;
	margin-bottom: 0.6rem;
}

.hero__checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 0.6rem 0;
	font-size: 0.83rem;
	color: var(--color-text-muted);
}

.hero__checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
}

.hero__checklist li + li {
	margin-top: 0.35rem;
}

.hero__check {
	margin-top: 0.15rem;
	font-size: 0.85rem;
	color: var(--color-accent);
}

/* Mobile layout */
@media (max-width: 900px) {
	.hero--pepipoo {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
		padding: 1.1rem 1rem 1.05rem;
	}

	.hero__stats {
		margin-top: 0.7rem;
	}

	.hero__card {
		padding: 0.85rem 0.9rem 0.8rem;
	}
}

/* Pepipoo product images inside cards: constrain size within grids */
body.site--pepipoo .grid .card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-md);
	object-fit: contain;
}

/* Pepipoo product grids on category pages: cards under category pills (.cats) */
body.site--pepipoo .cats ~ .grid {
	display: grid;
	gap: 1.25rem;
}

/* One column on smaller screens */
@media (max-width: 767px) {
	body.site--pepipoo .cats ~ .grid {
		grid-template-columns: 1fr;
	}
}

/* Up to three columns on wider screens so single items never exceed one third width */
@media (min-width: 768px) {
	body.site--pepipoo .cats ~ .grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Product page – clamp main product image width */
.product__image {
	text-align: center;              /* centre the image within the figure */
}

.product__image img {
	width: 95%;
	max-width: 95%;
	height: auto;
	margin: 0 auto 1.5rem;
}

/* Optionally: on small screens, let it go full-width */
@media (max-width: 767.98px) {
	.product__image img {
		width: 100%;
		max-width: 100%;
	}
}

/* Product page – two-column layout on larger screens */
@media (min-width: 880px) {
	/* Keep normal block flow overall */
	.product__info {
		display: block;
	}

	/* Float the image block to the left */
	.product__media {
		float: left;
		width: 40%;
		max-width: 420px;
		margin: 0 2rem 1.5rem 0;
	}

	/* No extra margin on the figure when floated */
	.product__image {
		margin: 0;
	}

	/* Make the “Prices from retailers” section full width below the float */
	.product__info h2,
	.product__info .offers {
		clear: both;
	}
}
.admin-page-with-margin {
	margin-left: 20pc;
}
