/*
 * Pouse theme components. Tokens come from theme.json presets.
 * Semantic aliases use the same names as packages/ui/tokens.css (--sk-*).
 * Figma prefix --pouse-* -> --sk-* (see docs/DESIGN.md).
 * Text-muted is #626365 here (Figma #8e8f91 fails WCAG AA on light and cream).
 */

:root {
	--sk-color-bg-page: var(--wp--preset--color--light);
	--sk-color-bg-surface: var(--wp--preset--color--white);
	--sk-color-bg-muted: var(--wp--preset--color--cream);
	--sk-color-bg-inverse: var(--wp--preset--color--ink);
	--sk-color-bg-accent: var(--wp--preset--color--kraft);
	--sk-color-text-primary: var(--wp--preset--color--ink);
	--sk-color-text-muted: var(--wp--preset--color--grey-700);
	--sk-color-text-inverse: var(--wp--preset--color--light);
	--sk-color-border-default: var(--wp--preset--color--grey-300);
	--sk-color-border-strong: var(--wp--preset--color--ink);
	--sk-color-status-success: var(--wp--preset--color--green);
	--sk-color-status-warning: var(--wp--preset--color--amber);
	--sk-color-status-danger: var(--wp--preset--color--red);
	--sk-radius-sm: var(--wp--custom--radius--sm);
	--sk-radius-md: var(--wp--custom--radius--md);
	--sk-radius-lg: var(--wp--custom--radius--lg);
	--sk-radius-full: var(--wp--custom--radius--full);
	--sk-border-width: var(--wp--custom--border-width);
	--sk-font-display: var(--wp--preset--font-family--display);
	--sk-font-body: var(--wp--preset--font-family--body);
	--sk-duration: var(--wp--custom--duration);
	--sk-focus-ring: 0 0 0 3px var(--sk-color-bg-page), 0 0 0 5px var(--sk-color-border-strong);
	--pouse-header-h: 64px;
}

html {
	scroll-padding-top: calc(var(--pouse-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

/* ---------- Focus, motion ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--sk-color-border-strong);
	outline-offset: 2px;
	border-radius: 4px;
}

.has-ink-background-color :where(a, button):focus-visible,
.pouse-footer :where(a, button):focus-visible {
	outline-color: var(--sk-color-text-inverse);
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.skip-link.screen-reader-text:focus {
	background: var(--sk-color-bg-inverse);
	color: var(--sk-color-text-inverse);
	font-family: var(--sk-font-display);
	font-weight: 800;
	text-transform: uppercase;
	padding: 12px 16px;
	z-index: 100000;
}

/* ---------- Type helpers ---------- */
.is-style-label,
.pouse-label {
	font-family: var(--sk-font-display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--label-s);
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
}

.is-style-muted,
.pouse-muted {
	color: var(--sk-color-text-muted);
}

.has-ink-background-color .is-style-muted {
	color: var(--wp--preset--color--grey-300);
}

.pouse-display {
	font-family: var(--sk-font-display);
	font-weight: 900;
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0;
}

.pouse-price {
	font-family: var(--sk-font-display);
	font-weight: 900;
	font-size: var(--wp--preset--font-size--heading);
	line-height: 1;
	white-space: nowrap;
}

/* ---------- Buttons (Figma Button 3:1054) ---------- */
.wp-block-button__link,
.wp-element-button {
	min-height: var(--wp--custom--tap-target);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	transition: background-color var(--sk-duration), color var(--sk-duration), box-shadow var(--sk-duration);
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	background-color: #000;
}

.wp-block-button.is-style-secondary .wp-block-button__link {
	background: var(--sk-color-bg-surface);
	color: var(--sk-color-text-primary);
	box-shadow: inset 0 0 0 var(--sk-border-width) var(--sk-color-border-strong);
	padding: 12px 24px;
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover {
	background: var(--sk-color-bg-muted);
}

.wp-block-button.is-style-accent .wp-block-button__link {
	background: var(--sk-color-bg-accent);
	color: var(--sk-color-text-primary);
}

.wp-block-button.is-style-accent .wp-block-button__link:hover {
	background: var(--wp--preset--color--kraft-700);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: var(--sk-color-text-primary);
	padding-left: 12px;
	padding-right: 12px;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: transparent;
	text-decoration: none;
}

.wp-block-button.is-style-on-dark .wp-block-button__link {
	background: var(--sk-color-text-inverse);
	color: var(--sk-color-text-primary);
}

.wp-block-button.is-style-on-dark .wp-block-button__link:hover {
	background: var(--sk-color-bg-accent);
}

.pouse-btn-m .wp-block-button__link {
	padding: 12px 24px;
}

/* Full-width buttons on phones (hero, cards). */
@media (max-width: 599px) {

	.pouse-stack-mobile > .wp-block-button,
	.pouse-stack-mobile > .wp-block-button .wp-block-button__link {
		width: 100%;
	}
}

/* ---------- Tags (Figma Tag 3:1070) ---------- */
p.is-style-tag,
p[class*="is-style-tag-"] {
	display: inline-block;
	width: fit-content;
	margin: 0;
	padding: 4px 12px;
	border-radius: var(--sk-radius-full);
	background: var(--sk-color-bg-accent);
	color: var(--sk-color-text-primary);
	font-family: var(--sk-font-display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--label-s);
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
}

p.is-style-tag-approved {
	background: var(--sk-color-status-success);
	color: var(--wp--preset--color--white);
}

p.is-style-tag-pending {
	background: var(--sk-color-status-warning);
}

p.is-style-tag-off {
	background: var(--sk-color-bg-inverse);
	color: var(--sk-color-text-inverse);
}

/* ---------- Cards ---------- */
.wp-block-group.is-style-card {
	background: var(--sk-color-bg-surface);
	border: var(--sk-border-width) solid var(--sk-color-border-default);
	border-radius: var(--sk-radius-lg);
	padding: 16px;
}

.wp-block-group.is-style-card-cream {
	background: var(--sk-color-bg-muted);
	border-radius: var(--sk-radius-lg);
	padding: 24px;
}

.wp-block-group.is-style-card-ink {
	background: var(--sk-color-bg-inverse);
	color: var(--sk-color-text-inverse);
	border-radius: var(--sk-radius-lg);
	padding: 24px;
}

.wp-block-group.is-style-card-ink :where(h1, h2, h3, h4) {
	color: var(--sk-color-text-inverse);
}

.wp-block-image.is-style-rounded img {
	border-radius: var(--sk-radius-lg);
}

/* ---------- Header (Figma Site Header 4:1146) ---------- */
.pouse-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--sk-color-bg-page);
	border-bottom: 2px solid var(--sk-color-border-strong);
	padding-left: 16px !important; /* Figma header keeps 16px sides. */
	padding-right: 16px !important;
}

.admin-bar .pouse-header {
	top: var(--wp-admin--admin-bar--height, 0);
}

.pouse-header__inner {
	min-height: var(--pouse-header-h);
	gap: 12px;
}

.pouse-wordmark {
	display: inline-flex;
	align-items: center;
	color: var(--sk-color-text-primary);
	min-height: 44px;
	text-decoration: none;
	flex-shrink: 0;
}

.pouse-wordmark svg {
	display: block;
	width: auto;
	height: 28px;
}

.pouse-header .wp-block-navigation {
	gap: 24px;
}

.pouse-header .wp-block-navigation-item__content {
	text-decoration: none;
	padding: 12px 0;
}

.pouse-header .wp-block-navigation-item__content:hover,
.pouse-header .current-menu-item > .wp-block-navigation-item__content,
.pouse-header [aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.pouse-header .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	justify-content: center;
}

.pouse-header .wp-block-navigation__responsive-container-open svg,
.pouse-header .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

.pouse-header .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Full-screen mobile nav: big Big Shoulders links. */
.pouse-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--sk-color-bg-page);
	padding: 16px;
}

.pouse-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 48px;
	gap: 8px;
}

.pouse-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 40px;
	font-weight: 900;
	letter-spacing: 0;
	padding: 4px 0;
}

.pouse-header .pouse-header__cta .wp-block-button__link {
	padding: 10px 16px;
	font-size: 14px;
	min-height: 44px;
}

@media (max-width: 599px) {

	.pouse-header .wp-block-navigation {
		order: 3;
	}

	.pouse-header .pouse-header__cta {
		margin-left: auto;
	}
}

@media (min-width: 600px) {

	.pouse-header .pouse-header__cta .wp-block-button__link {
		padding: 12px 24px;
		font-size: 16px;
	}
}

@media (min-width: 960px) {

	:root {
		--pouse-header-h: 80px;
	}

	.pouse-wordmark svg {
		height: 36px;
	}
}

/* ---------- Sections ---------- */
.pouse-section {
	padding-top: var(--wp--preset--spacing--section);
	padding-bottom: var(--wp--preset--spacing--section);
}

.pouse-section > .wp-block-heading:first-child {
	margin-top: 0;
}

/* ---------- Hero (Figma Mobile / Home 10:902) ---------- */
.pouse-hero {
	background: var(--sk-color-bg-muted);
	overflow: hidden;
}

.pouse-hero .pouse-hero__title {
	font-size: var(--wp--preset--font-size--display);
	margin: 0;
}

.pouse-hero .pouse-hero__lead {
	color: var(--sk-color-text-muted);
	max-width: 36ch;
}

.pouse-hero .pouse-hero__art img {
	width: 100%;
	max-width: 560px;
	height: auto;
	aspect-ratio: 820 / 459;
}

@media (min-width: 782px) {

	.pouse-hero .pouse-hero__lead {
		font-size: var(--wp--preset--font-size--body-l);
	}
}

/* ---------- Event card (Figma 4:942) ---------- */
.pouse-event-card {
	background: var(--sk-color-bg-surface);
	border: var(--sk-border-width) solid var(--sk-color-border-default);
	border-radius: var(--sk-radius-lg);
	padding: 16px;
	gap: 16px;
	align-items: flex-start;
}

.pouse-event-card > .pouse-date {
	flex: 0 0 72px;
	width: 72px;
}

.pouse-event-card > :last-child {
	flex: 1 1 auto;
	min-width: 0;
}

.pouse-date {
	background: var(--sk-color-bg-inverse);
	color: var(--sk-color-text-inverse);
	border-radius: var(--sk-radius-md);
	padding: 12px 4px;
	text-align: center;
	gap: 0;
}

.pouse-date p {
	margin: 0;
	font-family: var(--sk-font-display);
	text-transform: uppercase;
	line-height: 1.2;
}

.pouse-date p:nth-child(1),
.pouse-date p:nth-child(3) {
	font-weight: 800;
	font-size: var(--wp--preset--font-size--label-s);
	letter-spacing: 1px;
}

.pouse-date p:nth-child(2) {
	font-weight: 900;
	font-size: 40px;
	line-height: 1;
}

.pouse-event-card .wp-block-heading {
	margin: 0;
}

/* Meta rows with icons (pin, clock, users, calendar, chat). */
.pouse-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--sk-color-text-muted);
	font-size: var(--wp--preset--font-size--body-s);
	line-height: 1.43;
}

.pouse-meta::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: var(--sk-color-text-primary);
	-webkit-mask: var(--pouse-icon) center / contain no-repeat;
	mask: var(--pouse-icon) center / contain no-repeat;
}

.pouse-meta--pin {
	--pouse-icon: url(../icons/pin.svg);
}

.pouse-meta--clock {
	--pouse-icon: url(../icons/clock.svg);
}

.pouse-meta--calendar {
	--pouse-icon: url(../icons/calendar.svg);
}

.pouse-meta--users {
	--pouse-icon: url(../icons/users.svg);
}

.pouse-meta--chat {
	--pouse-icon: url(../icons/chat.svg);
}

.pouse-meta--cup {
	--pouse-icon: url(../icons/cup.svg);
}

/* ---------- Menu (Figma Menu Item 4:901, Illustration / Drink 9:1090) ---------- */
.pouse-drinks {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	justify-items: center;
}

.pouse-drinks figure {
	margin: 0;
}

.pouse-drinks img {
	width: 100px;
	height: auto;
	aspect-ratio: 200 / 290;
}

@media (min-width: 782px) {

	.pouse-drinks.pouse-drinks--all {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.pouse-drinks img {
		width: 120px;
	}
}

.pouse-menu-list {
	gap: 0;
}

.pouse-menu-item {
	background: var(--sk-color-bg-surface);
	border-bottom: 1px solid var(--sk-color-border-default);
	padding: 12px 16px;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0 !important;
}

.pouse-menu-item .wp-block-heading {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading);
	font-weight: 800;
	line-height: 1.1;
	text-transform: none;
}

.pouse-menu-item p {
	margin: 4px 0 0;
}

.pouse-menu-item > p.pouse-price,
.pouse-menu-item > .pouse-price {
	margin: 0;
}

.pouse-menu-item .pouse-menu-item__desc {
	color: var(--sk-color-text-muted);
	font-size: var(--wp--preset--font-size--body-s);
	line-height: 1.43;
}

.pouse-menu-item.is-sold-out {
	opacity: 0.6;
}

.pouse-menu-note {
	color: var(--sk-color-text-muted);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
}

/* Menu cards (Spyskaart page): illustration + name + price. */
.pouse-drink-card {
	background: var(--sk-color-bg-surface);
	border: var(--sk-border-width) solid var(--sk-color-border-default);
	border-radius: var(--sk-radius-lg);
	padding: 16px;
	text-align: center;
	height: 100%;
}

.pouse-drink-card .wp-block-image {
	margin: 0 auto 8px;
}

.pouse-drink-card .wp-block-image img {
	width: 120px;
	height: auto;
	aspect-ratio: 200 / 290;
}

.pouse-drink-card .wp-block-heading {
	margin: 0;
	text-transform: none;
}

.pouse-drink-card p {
	margin: 4px 0 0;
}

/* ---------- Loyalty (Figma Loyalty / Card 4:1070, Stamp 3:1117) ---------- */
.pouse-loyalty {
	background: var(--sk-color-bg-muted);
	border-radius: var(--sk-radius-lg);
	padding: 24px;
}

.pouse-loyalty__row {
	justify-content: space-between;
	align-items: center;
}

.pouse-loyalty__row .pouse-wordmark svg {
	height: 24px;
}

/* ---------- Footer (Figma 10:1192) ---------- */
.pouse-footer {
	background: var(--sk-color-bg-inverse);
	color: var(--sk-color-text-inverse);
}

.pouse-footer a {
	color: var(--sk-color-text-inverse);
}

.pouse-footer .pouse-wordmark {
	color: var(--sk-color-text-inverse);
}

.pouse-footer .pouse-wordmark svg {
	height: 30px;
}

.pouse-footer .wp-block-navigation {
	font-family: var(--sk-font-body);
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.pouse-footer .wp-block-navigation-item__content {
	padding: 10px 0;
}

.pouse-footer .pouse-footer__small {
	font-size: var(--wp--preset--font-size--caption);
	color: var(--wp--preset--color--grey-300);
}

/* ---------- Floating WhatsApp (Figma WhatsApp Button 3:1127) ---------- */
.pouse-whatsapp {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 16px 24px;
	border-radius: var(--sk-radius-full);
	background: var(--sk-color-status-success);
	color: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--float);
	font-family: var(--sk-font-display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--body-m);
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
}

.pouse-whatsapp:hover {
	background: #3f6a43;
	color: var(--wp--preset--color--white);
}

.pouse-whatsapp .pouse-icon {
	flex: 0 0 24px;
}

/* Compact on scroll (no JS): the label folds away once the page scrolls. */
@supports (animation-timeline: scroll()) {

	@media (max-width: 781px) and (prefers-reduced-motion: no-preference) {

		.pouse-whatsapp__label {
			display: inline-block;
			overflow: hidden;
			white-space: nowrap;
			max-width: 12em;
			animation: pouse-compact linear both;
			animation-timeline: scroll(root);
			animation-range: 0 240px;
		}

		.pouse-whatsapp {
			animation: pouse-compact-pad linear both;
			animation-timeline: scroll(root);
			animation-range: 0 240px;
		}
	}
}

@keyframes pouse-compact {

	to {
		max-width: 0;
		opacity: 0;
	}
}

@keyframes pouse-compact-pad {

	to {
		padding: 16px;
		gap: 0;
	}
}

/* Leave room so the floating button never covers the footer text. */
@media (max-width: 781px) {

	footer.pouse-footer {
		padding-bottom: calc(var(--wp--preset--spacing--section) + 72px) !important;
	}
}

/* ---------- Forms (Figma Input 3:1089) ---------- */
.pouse-form {
	display: grid;
	gap: 16px;
}

.pouse-field {
	display: grid;
	gap: 8px;
}

.pouse-field label,
.pouse-field legend {
	font-family: var(--sk-font-display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--label-s);
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.2;
}

.pouse-field input,
.pouse-field select,
.pouse-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--sk-color-text-primary);
	background: var(--sk-color-bg-surface);
	border: var(--sk-border-width) solid var(--sk-color-border-default);
	border-radius: var(--sk-radius-md);
	box-sizing: border-box;
}

.pouse-field input:focus,
.pouse-field select:focus,
.pouse-field textarea:focus {
	border-color: var(--sk-color-border-strong);
	outline: none;
	box-shadow: var(--sk-focus-ring);
}

.pouse-field [aria-invalid="true"] {
	border-color: var(--sk-color-status-danger);
}

.pouse-field .pouse-help {
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	color: var(--sk-color-text-muted);
	margin: 0;
}

.pouse-field .pouse-error {
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	color: var(--sk-color-status-danger);
	margin: 0;
}

.pouse-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: var(--wp--preset--font-size--body-s);
}

.pouse-check input {
	width: 24px;
	height: 24px;
	margin: 0;
	flex: 0 0 24px;
	accent-color: var(--sk-color-bg-inverse);
}

.pouse-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pouse-notice {
	border-radius: var(--sk-radius-md);
	padding: 16px;
	border: var(--sk-border-width) solid var(--sk-color-border-strong);
	background: var(--sk-color-bg-surface);
}

.pouse-notice--ok {
	border-color: var(--sk-color-status-success);
}

.pouse-notice--error {
	border-color: var(--sk-color-status-danger);
}

/* ---------- Gallery ---------- */
.pouse-gallery.wp-block-gallery img {
	border-radius: var(--sk-radius-lg);
}

/* ---------- Page header band (page template) ---------- */
.pouse-page-header {
	background: var(--sk-color-bg-muted);
	border-bottom: 2px solid var(--sk-color-border-strong);
}

.pouse-page-header .wp-block-post-title {
	margin: 0;
}

/* ---------- Content defaults ---------- */
.entry-content > * + .wp-block-heading,
.wp-block-post-content > * + .wp-block-heading {
	margin-top: 1.5em;
}

.wp-block-post-content a:not(.wp-block-button__link) {
	text-underline-offset: 3px;
}

/* ---------- Fixes after first review ---------- */

/* Full-width sections sit flush: no block gap between them. */
.wp-block-post-content > .alignfull,
main > .alignfull {
	margin-block-start: 0;
	margin-block-end: 0;
}


.pouse-notice p {
	margin: 0;
}

/* ---------- Skipt plugin slots (P05) ---------- */
.pouse-skipt-slot {
	width: 100%;
	min-width: 0;
}

.pouse-header .pouse-skipt-status {
	width: auto;
	font-size: var(--wp--preset--font-size--body-s);
}

@media (max-width: 599px) {

	.pouse-header .pouse-skipt-status {
		display: none;
	}
}

/* ---------- Brand lockup: "kry jou" over POUSE (Figma Logo / Horizontal) ---------- */
.pouse-brand {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-height: 44px;
	justify-content: center;
	color: var(--sk-color-text-primary);
	text-decoration: none;
	flex-shrink: 0;
}

.pouse-brand__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--sk-font-display);
	font-weight: 800;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.5px;
}

.pouse-brand__tag::before,
.pouse-brand__tag::after {
	content: "";
	width: 10px;
	height: 2px;
	background: currentcolor;
}

.pouse-brand .pouse-wordmark {
	min-height: 0;
}

.pouse-brand .pouse-wordmark svg {
	height: 24px;
}

.pouse-footer .pouse-brand {
	align-items: flex-start;
	color: var(--sk-color-text-inverse);
}

.pouse-footer .pouse-brand__tag {
	margin-left: 4px;
}

@media (min-width: 960px) {

	.pouse-brand .pouse-wordmark svg {
		height: 32px;
	}

	.pouse-brand__tag {
		font-size: 13px;
	}
}

/* ---------- AF | EN toggle ---------- */
.pouse-header__end {
	gap: 12px;
	align-items: center;
}

.pouse-lang {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--sk-color-border-strong);
	border-radius: var(--sk-radius-full);
	overflow: hidden;
}

.pouse-lang a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 40px;
	padding: 0 10px;
	font-family: var(--sk-font-display);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 1px;
	color: var(--sk-color-text-primary);
	text-decoration: none;
}

.pouse-lang a.is-current {
	background: var(--sk-color-bg-inverse);
	color: var(--sk-color-text-inverse);
}

.pouse-lang a:not(.is-current):hover {
	background: var(--sk-color-bg-muted);
}

/* ---------- Mobile bottom tab bar ---------- */
.pouse-tabbar {
	display: none;
}

@media (max-width: 781px) {

	.pouse-tabbar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		background: var(--sk-color-bg-page);
		border-top: 2px solid var(--sk-color-border-strong);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	.pouse-tabbar ul {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.pouse-tabbar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 60px;
		padding: 6px 2px;
		color: var(--sk-color-text-primary);
		font-size: 11px;
		font-weight: 600;
		line-height: 1.1;
		text-decoration: none;
	}

	.pouse-tabbar a[aria-current="page"] {
		box-shadow: inset 0 3px 0 var(--sk-color-border-strong);
		font-weight: 800;
	}

	.pouse-tabbar__order a {
		background: var(--sk-color-bg-inverse);
		color: var(--sk-color-text-inverse);
		font-family: var(--sk-font-display);
		font-weight: 800;
		font-size: 13px;
		letter-spacing: 1px;
		text-transform: uppercase;
	}

	/* The tab bar replaces the top nav, the header CTA and the floating WhatsApp button. */
	.pouse-header .pouse-header__nav,
	.pouse-header .pouse-header__cta,
	.pouse-whatsapp {
		display: none !important;
	}

	body {
		padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));

		/* The Skipt Shop basket bar sits above the tab bar. */
		--skipt-bottom-offset: 62px;
	}

	footer.pouse-footer {
		padding-bottom: var(--wp--preset--spacing--section) !important;
	}
}

/* ---------- Loyalty stamp card (Figma Loyalty / Card 4:1070) ---------- */
.pouse-stamps {
	display: grid;
	grid-template-columns: repeat(5, 48px);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pouse-stamp {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: var(--sk-radius-full);
	background: var(--sk-color-bg-surface);
	border: var(--sk-border-width) dashed var(--sk-color-border-default);
}

.pouse-stamp--filled {
	background: var(--sk-color-bg-inverse);
	border: 0;
	color: var(--sk-color-text-inverse);
}

.pouse-stamp--reward {
	background: var(--sk-color-bg-accent);
	border: 0;
	color: var(--sk-color-text-primary);
}

@media (min-width: 400px) {

	.pouse-stamps {
		grid-template-columns: repeat(5, 56px);
	}

	.pouse-stamp {
		width: 56px;
		height: 56px;
	}
}


/* ---------- Lower footer: copyright + DezignZA credit (as on keurboom.co.za) ---------- */
.pouse-footer__lower {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: var(--wp--preset--spacing--8);
	padding-top: var(--wp--preset--spacing--4);
	border-top: 1px solid rgba(244, 243, 239, 0.2);
}

.pouse-footer__lower p {
	margin: 0;
}

.pouse-credit {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.pouse-credit a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.pouse-credit img {
	display: block;
	width: 85px;
	height: auto;
}
