/*
Theme Name: BoitierIPTV4K
Theme URI: https://example.com/
Author: BoitierIPTV4K
Description: Custom lightweight theme for the BoitierIPTV4K IPTV storefront. No page builder, no build pipeline required.
Version: 1.0.0
Text Domain: boitieriptv4k
*/

/* ==========================================================================
   Design tokens — single source of truth for colors, spacing, and motion.
   The accent color below is a placeholder [À REMPLACER] pending the final
   brand color decision; swap --color-accent (and its -strong/-soft pair)
   and the rest of the site follows automatically.
   ========================================================================== */
:root {
	--color-bg: #0b0b12;
	--color-bg-elevated: #14141f;
	--color-bg-card: rgba(255, 255, 255, 0.04);
	--color-text: #f5f5f7;
	--color-text-muted: #a6a6b3;
	--color-border: rgba(255, 255, 255, 0.12);

	/* [À REMPLACER] placeholder accent — final brand color pending decision */
	--color-accent: #4f7cff;
	--color-accent-strong: #2f58e0;
	--color-accent-soft: rgba(79, 124, 255, 0.18);
	--color-success: #35c56a;

	--font-base: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: 2.5rem;
	--space-6: 4rem;

	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;

	--container-width: 72rem;

	/* Animation rules: one easing curve, one duration scale, everywhere. */
	--ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
	--duration-fast: 150ms;
	--duration-base: 300ms;
	--duration-slow: 600ms;

	--header-height: 76px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	min-height: 100vh;
	line-height: 1.6;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
	line-height: 1.2;
	margin: 0 0 var(--space-3);
}

p {
	margin: 0 0 var(--space-3);
	color: var(--color-text-muted);
}

a {
	color: var(--color-accent);
	text-decoration: none;
}

/* Links inside running text need a non-color cue to meet WCAG 1.4.1 —
   nav/menu/button links are already distinguishable by position/style,
   so this is scoped to inline prose links specifically. */
p a {
	text-decoration: underline;
}

img,
video {
	max-width: 100%;
	display: block;
}

.sr-only {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	inset-inline-start: var(--space-3);
	inset-block-start: -100px;
	background: var(--color-accent);
	color: #fff;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-sm);
	z-index: 1000;
}

.skip-link:focus {
	inset-block-start: var(--space-3);
}

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

section {
	padding-block: var(--space-6);
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--space-4);
}

.section-title {
	text-align: center;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.section-subtitle {
	text-align: center;
	max-width: 40rem;
	margin-inline: auto;
	margin-block-end: var(--space-5);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 0.85rem 1.6rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.btn--primary {
	background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
	color: #fff;
}

.btn--ghost {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-text);
}

.btn--small {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.btn__shine {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	z-index: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */
.scroll-progress {
	position: fixed;
	inset-block-start: 0;
	inset-inline-start: 0;
	height: 3px;
	width: 0%;
	background: var(--color-accent);
	z-index: 1001;
}

.site-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 900;
	background: transparent;
	border-bottom: 1px solid transparent;
}

.site-header__inner {
	padding-inline: var(--space-4);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: var(--header-height);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--color-text);
	letter-spacing: 0.02em;
	white-space: nowrap;
	flex-shrink: 0;
}

.site-logo__mark {
	display: block;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
}

.site-logo .icon {
	width: 1.6rem;
	height: 1.6rem;
	color: var(--color-accent);
	flex-shrink: 0;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.primary-nav__list {
	display: flex;
	gap: var(--space-4);
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav__list a {
	color: var(--color-text);
	position: relative;
	padding-block: var(--space-1);
	white-space: nowrap;
}

.primary-nav__cta {
	white-space: nowrap;
}

.nav-toggle {
	display: none;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 0;
	color: var(--color-text);
	cursor: pointer;
	flex-shrink: 0;
}

/* Three-line hamburger icon: the middle line is .nav-toggle__bar itself,
   top/bottom lines are its ::before/::after. Open state morphs it into an
   "X" using only transform/opacity (translateY + rotate), per the
   sitewide animation rule — never animating position offsets directly. */
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 50%;
	width: 1.125rem;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transform: translate(-50%, -50%);
	transition: transform var(--duration-base) var(--ease-standard),
		background-color var(--duration-base) var(--ease-standard);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: '';
	inset-inline-start: 0;
	inset-block-start: 0;
}

.nav-toggle__bar::before {
	transform: translateY(-6px);
}

.nav-toggle__bar::after {
	transform: translateY(6px);
}

/* Hide only the middle line: opacity on the bar would also hide its
   ::before/::after, which form the "X". */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
	background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
	transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
	transform: translateY(0) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
	.nav-toggle:hover {
		border-color: var(--color-accent);
		color: var(--color-accent);
	}
}

/* Hamburger below 1100px: the full desktop nav (logo + 5 links + CTA)
   needs ~1030px, so links wrapped/collided with the brand name in the
   860–1090px range. */
@media (max-width: 1099px) {
	.nav-toggle {
		display: inline-flex;
	}

	.primary-nav {
		position: fixed;
		inset-inline: 0;
		inset-block-start: var(--header-height);
		flex-direction: column;
		align-items: stretch;
		background: var(--color-bg-elevated);
		padding: var(--space-4);
		border-bottom: 1px solid var(--color-border);
		display: none;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.primary-nav__list {
		flex-direction: column;
		gap: var(--space-3);
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	max-width: none;
	margin-inline: 0;
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-block: var(--space-6);
	padding-inline: 0;
	overflow: hidden;
	overflow-x: hidden;
	background-color: #0b0708;
}

@media (min-width: 1024px) {
	.hero {
		min-height: 100vh;
	}
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 64rem;
	padding-inline: var(--space-4);
}

.hero__headline {
	font-size: clamp(2rem, 6vw, 3.6rem);
	font-weight: 800;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.hero__word {
	display: inline-block;
	margin-inline-end: 0.3em;
}

.hero__subhead {
	font-size: 1.1rem;
	max-width: 44rem;
	margin-inline: auto;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero__actions {
	display: flex;
	gap: var(--space-3);
	justify-content: center;
	flex-wrap: wrap;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	text-align: center;
}

.trust-bar__value {
	display: block;
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--color-accent);
}

.trust-bar__label {
	color: var(--color-text-muted);
	font-size: 0.875rem;
}

/* ==========================================================================
   Cards (benefits, pricing, devices, testimonials, content categories)
   ========================================================================== */
.card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-4);
	color: var(--color-text);
}

.benefits__grid,
.content-categories__grid {
	display: grid;
	/* Explicit column counts per breakpoint instead of auto-fit/minmax:
	   with exactly 4 (benefits, content-categories) items, auto-fit's column count depends on exact container width and
	   can land on an awkward remainder (e.g. 3+1) at some viewport sizes —
	   verified this happening at 768px before this fix. */
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.benefits__icon {
	display: inline-flex;
	color: var(--color-accent);
	margin-block-end: var(--space-2);
}

@media (min-width: 640px) {

	.benefits__grid,
	.content-categories__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {

	.benefits__grid,
	.content-categories__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ==========================================================================
   Comment ça marche ? (how it works)
   ========================================================================== */
:root {
	--how-it-works-badge-size: 2.75rem;
}

.how-it-works {
	text-align: center;
}

.how-it-works__track {
	position: relative;
	margin-block-start: var(--space-5);
}

.how-it-works__line {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.how-it-works__line-track {
	fill: none;
	stroke: var(--color-border);
	stroke-width: 1.2;
	stroke-dasharray: 2.4 2.4;
}

.how-it-works__line-progress {
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
}

.how-it-works__line--desktop {
	display: none;
	inset-inline: 0;
	top: calc(var(--how-it-works-badge-size) / 2);
	width: 100%;
	height: 4px;
}

.how-it-works__line--mobile {
	display: block;
	inset-block: 0;
	inset-inline-start: calc(var(--how-it-works-badge-size) / 2 - 2px);
	width: 4px;
	height: 100%;
}

.how-it-works__steps {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.how-it-works__step {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: var(--space-3);
	text-align: start;
}

.how-it-works__badge {
	flex-shrink: 0;
	width: var(--how-it-works-badge-size);
	height: var(--how-it-works-badge-size);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg);
	border: 2px solid var(--color-accent);
	color: var(--color-text);
	font-weight: 800;
	position: relative;
	z-index: 1;
}

.how-it-works__card {
	flex: 1;
	text-align: start;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	position: relative;
	isolation: isolate;
}

.how-it-works__card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, var(--color-accent), transparent 60%);
	opacity: 0.6;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.how-it-works__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: radial-gradient(circle, var(--color-accent-soft), transparent 70%);
	color: var(--color-accent);
	margin-block-end: var(--space-3);
}

.how-it-works__icon-wrap .icon {
	width: 1.5rem;
	height: 1.5rem;
}

.how-it-works__card h3 {
	font-size: 1.1rem;
	margin-block-end: var(--space-2);
}

.how-it-works__card p {
	font-size: 1rem;
	margin: 0;
}

.how-it-works__cta {
	display: flex;
	gap: var(--space-3);
	justify-content: center;
	flex-wrap: wrap;
	margin-block-start: var(--space-5);
}

.how-it-works__reassurance {
	margin-block-start: var(--space-2);
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

@media (min-width: 861px) {
	.how-it-works__line--desktop {
		display: block;
	}

	.how-it-works__line--mobile {
		display: none;
	}

	.how-it-works__steps {
		flex-direction: row;
		/* stretch (not flex-start): every step becomes the height of the
		   tallest one, so the three cards below the badges line up evenly
		   regardless of how much text each step has. */
		align-items: stretch;
		gap: var(--space-4);
	}

	.how-it-works__step {
		flex: 1;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.how-it-works__card {
		text-align: center;
		margin-block-start: var(--space-3);
		width: 100%;
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

[dir="rtl"] .how-it-works__line--desktop {
	transform: scaleX(-1);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
	gap: var(--space-4);
	align-items: stretch;
}

@media (min-width: 1024px) {
	.pricing__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.pricing__card {
	position: relative;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.pricing__card--featured {
	border-color: var(--color-accent);
	transform: scale(1.03);
	background: linear-gradient(180deg, var(--color-accent-soft), var(--color-bg-card));
}

.pricing__badge {
	position: absolute;
	inset-block-start: -0.8rem;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	background: var(--color-accent);
	color: #fff;
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	white-space: nowrap;
}

.pricing__plan-label {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
	color: var(--color-text-muted);
}

.pricing__amount {
	font-size: 2rem;
	font-weight: 800;
}

.pricing__monthly {
	color: var(--color-text-muted);
	font-size: 0.85rem;
	margin-block-start: calc(-1 * var(--space-2));
}

.pricing__savings {
	display: inline-block;
	margin-inline-start: var(--space-1);
	background: var(--color-accent-soft);
	color: var(--color-accent);
	font-weight: 700;
	font-size: 0.75rem;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
}

.pricing__guarantee {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin-block-start: var(--space-2);
	margin-block-end: 0;
}

.pricing__features {
	list-style: none;
	padding: 0;
	margin: var(--space-3) 0;
	text-align: start;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	/* Fills the leftover space once .pricing__card stretches to match the
	   tallest card in the row, so every "Commander" button + guarantee
	   line lines up at the same bottom edge regardless of plan content. */
	flex: 1;
}

.pricing__features li {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.pricing__features .icon {
	color: var(--color-success);
	flex-shrink: 0;
	width: 17px;
	height: 17px;
}

.pricing__cta {
	width: 100%;
	justify-content: center;
}

/* ==========================================================================
   Devices
   ========================================================================== */
.devices__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: var(--space-4);
}

.devices__card {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--color-text);
}

.devices__float {
	display: inline-flex;
	margin-block-end: var(--space-3);
}

.devices__float img {
	width: 2.75rem;
	height: 2.75rem;
	/* Supplied icons are solid black on transparent — invert to white so
	   they're visible on the site's dark background. */
	filter: invert(1);
}

/* ==========================================================================
   Testimonials — CSS scroll-snap carousel on mobile, static grid on desktop
   ========================================================================== */
.testimonials__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-4);
}

.testimonials__title {
	font-size: 1.125rem;
	font-style: italic;
	margin: 0 0 var(--space-2);
}

.testimonials__text {
	color: var(--color-text-muted);
	margin: 0;
}

@media (max-width: 860px) {
	.testimonials__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: var(--space-3);
		padding-block-end: var(--space-2);
	}

	.testimonials__track .card {
		flex: 0 0 85%;
		scroll-snap-align: center;
	}
}

/* ==========================================================================
   FAQ accordion (native details/summary)
   ========================================================================== */
.faq__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.faq__item {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-3) var(--space-4);
}

.faq__question {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	font-weight: 600;
	list-style: none;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__chevron .icon {
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
	color: var(--color-text-muted);
}

.faq__answer {
	padding-block-start: var(--space-2);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
	text-align: center;
	background: linear-gradient(135deg, var(--color-accent-soft), transparent);
	border-radius: var(--radius-lg);
	padding: var(--space-6) var(--space-4);
}

/* ==========================================================================
   Content pages
   ========================================================================== */
.page-intro {
	text-align: center;
}

/* ==========================================================================
   Forms (trial / contact — fields rendered by the plugin in Phase 4)
   ========================================================================== */
.form-field {
	position: relative;
	margin-block-end: var(--space-4);
}

.form-field input,
.form-field textarea {
	width: 100%;
	background: var(--color-bg-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text);
	padding: 0.9rem 0.75rem 0.4rem;
	font-family: inherit;
	font-size: 1rem;
}

.form-field label {
	position: absolute;
	inset-inline-start: 0.75rem;
	inset-block-start: 0.65rem;
	color: var(--color-text-muted);
	pointer-events: none;
	transform-origin: top left;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-field input:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field textarea:focus+label,
.form-field textarea:not(:placeholder-shown)+label {
	transform: translateY(-0.65rem) scale(0.8);
}

.boitieriptv4k-trial-form {
	max-width: 28rem;
	margin-inline: auto;
}

.boitieriptv4k-hp-field {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.boitieriptv4k-form-legal {
	font-size: 0.8rem;
	margin-block-start: var(--space-2);
}

.boitieriptv4k-form-success,
.boitieriptv4k-form-error {
	max-width: 28rem;
	margin-inline: auto;
	margin-block-end: var(--space-3);
	text-align: center;
}

.boitieriptv4k-form-error {
	border-color: #c0392b;
}

.boitieriptv4k-success-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--color-success);
	color: #fff;
	margin-block-end: var(--space-2);
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
	position: fixed;
	inset-inline: var(--space-3);
	inset-block-end: var(--space-3);
	max-width: 32rem;
	margin-inline: auto;
	background: var(--color-bg-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-4);
	z-index: 1000;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cookie-banner__actions {
	display: flex;
	gap: var(--space-2);
	justify-content: flex-end;
}

/* ==========================================================================
   Sticky mobile CTA / back-to-top
   ========================================================================== */
.sticky-cta {
	position: fixed;
	inset-inline: var(--space-3);
	inset-block-end: var(--space-3);
	z-index: 800;
	display: none;
	gap: var(--space-2);
	background: var(--color-bg-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sticky-cta__trial,
.sticky-cta__order {
	flex: 1;
	justify-content: center;
	/* Two buttons share a narrow bar down to ~320px screens — tighter
	   horizontal padding than the default .btn, but min-height keeps the
	   tap target at the recommended ~44px regardless. */
	padding-inline: var(--space-2);
	min-height: 44px;
	font-size: 0.875rem;
	white-space: nowrap;
}

@media (min-width: 861px) {
	.sticky-cta {
		display: none !important;
	}
}

.back-to-top {
	position: fixed;
	inset-inline-end: var(--space-3);
	inset-block-end: calc(var(--space-3) + 4.5rem);
	z-index: 800;
	background: var(--color-accent);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	border-block-start: 1px solid var(--color-border);
	padding: var(--space-5) var(--space-4);
	color: var(--color-text-muted);
	text-align: center;
}

.site-footer__inner {
	max-width: var(--container-width);
	margin-inline: auto;
}

.footer-menu {
	list-style: none;
	display: flex;
	gap: var(--space-3);
	justify-content: center;
	flex-wrap: wrap;
	padding: 0;
	margin: var(--space-3) 0 0;
}

.footer-menu a {
	position: relative;
	padding-block: var(--space-1);
}

/* ==========================================================================
   WooCommerce: checkout waiver checkbox, My Account subscription panel
   ========================================================================== */
.boitieriptv4k-withdrawal-waiver {
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

.boitieriptv4k-account-plan {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-4);
	max-width: 32rem;
}

.boitieriptv4k-account-credentials {
	border-block-start: 1px solid var(--color-border);
	margin-block: var(--space-3);
	padding-block-start: var(--space-3);
}

.boitieriptv4k-badge--expired {
	background: #c0392b;
	color: #fff;
	font-size: 0.75rem;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	margin-inline-start: var(--space-2);
}

/* Blog styles now live in assets/css/blog.css (loaded only on blog
   templates) — see boitieriptv4k_blog_assets() in functions.php. */

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-page {
	max-width: 42rem;
	margin-inline: auto;
	padding-inline: var(--space-4);
	padding-block: var(--space-6);
}

.legal-table-wrapper {
	overflow-x: auto;
}

.legal-table {
	width: 100%;
	border-collapse: collapse;
}

.legal-table th,
.legal-table td {
	border: 1px solid var(--color-border);
	padding: var(--space-2);
	text-align: start;
	font-size: 0.9rem;
}