/* ==========================================================================
   No Pain Store — main stylesheet
   1. Tokens & base   2. Layout & buttons   3. Header & USP bar   4. Homepage
   5. Pages   6. WooCommerce   7. Footer & floating contact
   ========================================================================== */

/* 1. Tokens & base
   ========================================================================== */
@font-face {
	font-family: "Arsenal";
	src: url("../fonts/arsenal-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Arsenal";
	src: url("../fonts/arsenal-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Serif Display";
	src: url("../fonts/dm-serif-display-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--c-text: #212121;
	--c-muted: #6b6b6b;
	--c-bg: #fff;
	--c-soft: #f5f4f1;
	--c-line: #e4e2dd;
	--c-black: #0b0b0b;
	--c-accent: #2aad23;
	--c-accent-dark: #218a1c;
	--c-sale: #d0271d;
	--c-star: #f5a623;
	--c-whatsapp: #25d366;
	--font-body: "Arsenal", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "DM Serif Display", Georgia, serif;
	--radius: 14px;
	--container: 1240px;
	--gutter: 20px;

	/* WooCommerce's own palette */
	--woocommerce: var(--c-black);
	--wc-primary: var(--c-black);
	--wc-primary-text: #fff;
	--wc-secondary: #efeeea;
	--wc-secondary-text: var(--c-text);
	--wc-highlight: var(--c-accent);
	--wc-green: var(--c-accent);
	--wc-red: var(--c-sale);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	line-height: 1.15;
}

h1,
h2 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0.005em;
}

h1 {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

h3 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.icon-whatsapp,
.icon-facebook,
.icon-instagram {
	fill: currentColor;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 10px 16px;
	background: #fff;
	color: #000;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

.stars {
	--pct: calc(var(--rating) / 5 * 100%);
	display: inline-block;
	font-family: Arial, sans-serif;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 1px;
}

.stars::before {
	content: "★★★★★";
	background: linear-gradient(90deg, var(--c-star) var(--pct), #d4d2cc var(--pct));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.stars--lg {
	font-size: 1.5rem;
}

/* 2. Layout & buttons
   ========================================================================== */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(860px + var(--gutter) * 2);
}

.site-main {
	padding-block: clamp(28px, 4vw, 56px) clamp(48px, 7vw, 96px);
}

.section {
	padding-block: clamp(48px, 7vw, 96px);
}

.section--soft {
	background: var(--c-soft);
}

.section--dark {
	background: var(--c-black);
	color: #fff;
}

.section__head {
	max-width: 720px;
	margin: 0 auto clamp(24px, 4vw, 44px);
	text-align: center;
}

.section__head p {
	color: var(--c-muted);
	margin: 0;
}

.section__head--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: none;
	margin-bottom: 24px;
	text-align: left;
}

.section__head--row h2 {
	margin: 0;
}

.section__title {
	max-width: 780px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	text-align: center;
}

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 1px solid var(--c-black);
	border-radius: 999px;
	background: var(--c-black);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: #2b2b2b;
	color: #fff;
}

.btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--c-black);
	text-transform: uppercase;
}

.btn--light:hover {
	background: #ecebe7;
	color: var(--c-black);
}

.btn--outline {
	background: transparent;
	color: var(--c-black);
}

.btn--outline:hover {
	background: var(--c-black);
	color: #fff;
}

.btn--lg {
	padding: 15px 44px;
}

/* 3. Header & USP bar
   ========================================================================== */
.usp-bar {
	overflow: hidden;
	background: #f1f0ec;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.usp-bar__track {
	display: flex;
	width: max-content;
	animation: nps-marquee 45s linear infinite;
}

.usp-bar:hover .usp-bar__track {
	animation-play-state: paused;
}

.usp-bar__group {
	display: flex;
	flex: none;
}

.usp-bar__group li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 28px;
	white-space: nowrap;
}

.usp-bar .icon {
	width: 18px;
	height: 18px;
}

@keyframes nps-marquee {
	to {
		transform: translateX(-25%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.usp-bar__track {
		animation: none;
	}

	html {
		scroll-behavior: auto;
	}
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-black);
	color: #fff;
}

.home .site-header {
	position: absolute;
	top: auto;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 68px;
}

.site-logo img {
	width: auto;
	height: 20px;
}

.primary-nav {
	flex: 1;
}

.primary-nav ul {
	display: flex;
	gap: 26px;
}

.primary-nav a {
	padding: 8px 0;
	text-decoration: none;
	font-size: 1rem;
	letter-spacing: 0.03em;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	text-decoration: underline;
}

.site-header__tools {
	display: flex;
	flex: none;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.site-logo {
	min-width: 0;
}

/* TranslatePress switcher: keep it compact inside the header. */
.lang-switcher {
	flex: none;
}

.lang-switcher .trp-shortcode-switcher {
	padding-block: 4px;
}

.site-header__tools .icon {
	width: 22px;
	height: 22px;
}

.nav-toggle {
	display: none;
	padding: 6px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.nav-toggle .icon {
	width: 26px;
	height: 26px;
}

.nav-toggle .icon-x,
.nav-open .nav-toggle .icon-menu {
	display: none;
}

.nav-open .nav-toggle .icon-x {
	display: block;
}

.header-cart {
	position: relative;
	display: inline-flex;
	padding: 6px;
}

.header-cart__count {
	position: absolute;
	top: -2px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--c-accent);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.header-cart__count.is-empty {
	display: none;
}

.header-search {
	position: relative;
}

.header-search summary {
	display: inline-flex;
	padding: 6px;
	list-style: none;
	cursor: pointer;
}

.header-search summary::-webkit-details-marker {
	display: none;
}

.header-search__panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: min(340px, 86vw);
	padding: 12px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.header-search__panel form {
	display: flex;
	gap: 8px;
}

.header-search__panel input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	color: var(--c-text);
}

.header-search__panel button {
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--c-black);
	color: #fff;
	cursor: pointer;
}

/* Checkout: no menu or search, the logo large and centred. */
.woocommerce-checkout .site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	min-height: 92px;
}

.woocommerce-checkout .primary-nav,
.woocommerce-checkout .nav-toggle,
.woocommerce-checkout .header-search {
	display: none;
}

.woocommerce-checkout .site-logo {
	grid-column: 2;
}

.woocommerce-checkout .site-logo img {
	height: 38px;
}

.woocommerce-checkout .site-header__tools {
	grid-column: 3;
	justify-self: end;
}

@media (max-width: 860px) {
	.nav-toggle {
		display: inline-flex;
	}

	.woocommerce-checkout .site-header__inner {
		min-height: 72px;
	}

	.woocommerce-checkout .site-logo img {
		height: 22px;
	}

	.site-header__inner {
		gap: 12px;
		min-height: 60px;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 8px var(--gutter) 20px;
		background: var(--c-black);
	}

	.nav-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		flex-direction: column;
		gap: 0;
	}

	.primary-nav a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		font-size: 1.1rem;
	}

	.site-logo img {
		height: 14px;
	}

	.site-header__tools {
		gap: 6px;
	}
}

/* 4. Homepage
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(520px, 74vh, 760px);
	overflow: hidden;
	background: #1b1b1b;
	color: #fff;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
}

.hero__content {
	position: relative;
	z-index: 1;
	padding-block: 110px 60px;
}

.hero h1 {
	max-width: 11em;
	margin-bottom: 0.35em;
	font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.hero__lead {
	max-width: 30em;
	margin-bottom: 1.4em;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.rating-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 1.8em;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-size: 0.85rem;
	letter-spacing: 0.03em;
}

.hero .btn {
	display: flex;
	width: fit-content;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero__guarantee {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 1.1em 0 0;
	font-size: 0.85rem;
}

/* Colour slider: one tube in the centre, the shape behind it takes that tube's colour. */
.showcase {
	--slide-w: clamp(180px, 24vw, 300px);
	--gap: clamp(8px, 2vw, 26px);
	--pad-top: clamp(28px, 4vw, 52px);
	--media-h: calc(var(--slide-w) * 5 / 3);
	--shape-size: 1900px;
	position: relative;
	overflow: hidden;
	padding-block: var(--pad-top) clamp(36px, 5vw, 64px);
}

/* A large rotated square whose bottom corner ends just under the centre tube. */
.showcase__shape {
	position: absolute;
	top: calc(var(--pad-top) + var(--media-h) - var(--shape-size) * 1.2071);
	left: 50%;
	width: var(--shape-size);
	height: var(--shape-size);
	border-radius: 100px;
	background: var(--showcase-color, var(--c-black));
	transform: translateX(-50%) rotate(45deg);
	transition: background-color 0.35s ease;
}

.showcase__stage {
	position: relative;
	touch-action: pan-y;
}

.showcase__track {
	display: grid;
	justify-items: center;
}

.showcase__slide {
	grid-area: 1 / 1;
	width: var(--slide-w);
	transform: translateX(calc(var(--pos, 0) * (var(--slide-w) + var(--gap))));
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
	cursor: pointer;
}

.showcase__slide.is-active {
	z-index: 1;
	cursor: default;
}

.showcase__slide.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.showcase__media {
	display: block;
	height: var(--media-h);
	transform: translateY(7%) scale(0.8);
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase__slide.is-active .showcase__media {
	transform: none;
}

/* The photos are square with the tube in the middle; cropping the sides makes the tube fill the slide. */
.showcase__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.28));
}

.showcase__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding-top: 18px;
	opacity: 0;
	text-align: center;
	pointer-events: none;
	transition: opacity 0.25s;
}

.showcase__slide.is-active .showcase__info {
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.25s;
}

.showcase__info h3 {
	margin: 0;
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	white-space: nowrap;
}

.showcase__info .price {
	margin: 0 0 8px;
}

.showcase__arrow {
	position: absolute;
	bottom: 2px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--c-black);
	color: #fff;
	cursor: pointer;
}

.showcase__arrow--prev {
	right: calc(50% + var(--slide-w) / 2 + 12px);
}

.showcase__arrow--next {
	left: calc(50% + var(--slide-w) / 2 + 12px);
}

@media (max-width: 720px) {
	.showcase {
		--slide-w: 52vw;
		--shape-size: 1400px;
	}

	.showcase__arrow {
		width: 40px;
		height: 40px;
	}

	.showcase__arrow--prev {
		right: auto;
		left: 14px;
	}

	.showcase__arrow--next {
		left: auto;
		right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.showcase__slide,
	.showcase__media,
	.showcase__shape {
		transition: none;
	}
}

.other-products {
	padding-top: clamp(24px, 3vw, 40px);
}

.other-products__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 280px));
	justify-content: center;
	gap: 20px;
}

/* Carousels (reviews) */
.carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 16px;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
	display: none;
}

.carousel > li {
	flex: 0 0 clamp(230px, 23vw, 290px);
	scroll-snap-align: start;
}

.carousel-nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 14px;
}

.carousel-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--c-black);
	color: #fff;
	cursor: pointer;
}

.carousel-nav__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.product-card {
	display: flex;
	flex-direction: column;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--c-soft);
	text-align: center;
}

.product-card__media {
	display: block;
	margin-bottom: 12px;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.product-card__media img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-card:hover .product-card__media img {
	transform: scale(1.04);
}

.product-card__title {
	margin-bottom: 4px;
	font-size: 1.15rem;
}

.product-card__title a {
	text-decoration: none;
}

.product-card__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-bottom: 4px;
	color: var(--c-muted);
	font-size: 0.85rem;
}

.product-card__price {
	margin-bottom: 14px;
}

.product-card .btn {
	margin-top: auto;
}

.price del {
	opacity: 0.55;
}

.price ins {
	color: var(--c-sale);
	font-weight: 700;
	text-decoration: none;
}

.price-from {
	color: var(--c-muted);
	font-size: 0.9em;
}

/* Split text + image sections */
.split__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(28px, 6vw, 80px);
}

.split--reverse .split__media {
	order: -1;
}

.split__media {
	width: 100%;
	border-radius: var(--radius);
}

.split__text p {
	font-size: 1.1rem;
}

.checklist {
	margin-bottom: 28px;
}

.checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 1.1rem;
	font-weight: 700;
}

.checklist .icon {
	color: var(--c-accent);
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px;
	text-align: center;
}

.features__grid img {
	width: 84px;
	margin: 0 auto 14px;
	filter: invert(1);
}

.features__grid span {
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Comparison table */
.comparison__scroll {
	overflow-x: auto;
}

.comparison__table {
	width: 100%;
	min-width: 480px;
	border-collapse: separate;
	border-spacing: 12px 0;
	table-layout: fixed;
}

.comparison__table th,
.comparison__table td {
	padding: 18px 20px;
	background: #fff;
	border-bottom: 1px solid var(--c-line);
	vertical-align: middle;
}

.comparison__table th {
	border-radius: var(--radius) var(--radius) 0 0;
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 400;
}

.comparison__table th img {
	width: 72px;
	height: 72px;
	margin: 0 auto 10px;
	padding: 8px;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
}

.comparison__table tr:last-child td {
	border-bottom: 0;
	border-radius: 0 0 var(--radius) var(--radius);
}

.comparison__table td {
	color: var(--c-muted);
}

.comparison__table td .icon {
	margin-right: 10px;
	vertical-align: -0.25em;
	color: var(--c-sale);
}

.comparison__table .is-tktx {
	background: var(--c-black);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-weight: 700;
}

.comparison__table td.is-tktx .icon {
	color: var(--c-accent);
}

/* Usage steps */
.steps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	counter-reset: step;
}

.step__media {
	position: relative;
	margin-bottom: 16px;
}

.step__media img {
	width: 100%;
	aspect-ratio: 15 / 8;
	border-radius: var(--radius);
	object-fit: cover;
}

.step__number {
	position: absolute;
	left: 14px;
	bottom: -16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--c-black);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.15rem;
}

.step h3 {
	margin-top: 24px;
	font-size: 1.3rem;
}

.step p {
	margin: 0;
	color: var(--c-muted);
}

/* FAQ accordion */
.faq__item,
.entry-content .wp-block-details {
	border-bottom: 1px solid var(--c-line);
}

.faq__item summary,
.entry-content .wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	font-size: 1.15rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker,
.entry-content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.entry-content .wp-block-details summary::after {
	content: "+";
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
}

.entry-content .wp-block-details[open] summary::after {
	content: "–";
}

.faq__item .icon {
	transition: transform 0.2s;
}

.faq__item[open] .icon {
	transform: rotate(180deg);
}

.faq__answer,
.entry-content .wp-block-details > :not(summary) {
	padding: 0 4px;
	color: #444;
}

.faq__answer > :last-child,
.entry-content .wp-block-details > :last-child {
	margin-bottom: 20px;
}

/* Reviews */
.reviews__summary {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.reviews__summary strong {
	color: var(--c-text);
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1;
}

.carousel--reviews {
	padding-inline: 0;
	scroll-padding-inline: 0;
}

.carousel--reviews > li {
	flex-basis: clamp(260px, 30vw, 360px);
}

.review-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
}

.review-card h3 {
	margin: 0;
	font-size: 1.1rem;
}

.review-card p {
	margin: 0;
	color: #444;
}

.review-card cite {
	margin-top: auto;
	padding-top: 6px;
	font-style: normal;
	font-weight: 700;
}

.reviews__cta {
	margin: 28px 0 0;
	text-align: center;
}

@media (max-width: 960px) {
	.features__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.split__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.split .split__media {
		order: -1;
	}

	.features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.carousel > li {
		flex-basis: 68vw;
	}

	.carousel--reviews > li {
		flex-basis: 82vw;
	}

	.hero__bg {
		object-position: 70% center;
	}

	.hero::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.35));
	}
}

@media (max-width: 480px) {
	.steps__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 5. Pages
   ========================================================================== */
.page-title {
	margin-bottom: 0.7em;
}

.entry-content h2 {
	margin-top: 1.4em;
	font-size: 1.7rem;
}

.entry-content h3 {
	margin-top: 1.5em;
	font-size: 1.25rem;
}

/* Direct children only, so WooCommerce's cart/checkout/account markup keeps its own styling. */
.entry-content > ul,
.entry-content > ol,
.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
	margin: 0 0 1em;
	padding-left: 1.3em;
}

.entry-content > ul,
.woocommerce-Tabs-panel ul {
	list-style: disc;
}

.entry-content > ol,
.woocommerce-Tabs-panel ol {
	list-style: decimal;
}

.entry-content > ul li,
.entry-content > ol li,
.woocommerce-Tabs-panel li {
	margin-bottom: 0.35em;
}

.entry-content > p a,
.entry-content > ul a,
.entry-content > ol a {
	text-decoration: underline;
}

.entry-content > table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content > table td,
.entry-content > table th {
	padding: 10px 12px;
	border: 1px solid var(--c-line);
	text-align: left;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.contact-cards a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	font-weight: 700;
	text-decoration: none;
}

.contact-cards a:hover {
	border-color: var(--c-black);
}

/* Site Reviews plugin (reviews page) */
.glsr-button,
.glsr button[type="submit"] {
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--c-black);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.glsr-review {
	padding: 20px 0;
	border-bottom: 1px solid var(--c-line);
}

/* 6. WooCommerce
   ========================================================================== */
.woocommerce .woocommerce-breadcrumb {
	margin-bottom: 20px;
	color: var(--c-muted);
	font-size: 0.85rem;
}

.woocommerce .woocommerce-breadcrumb a {
	color: inherit;
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--c-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Product grid */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 32px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--c-soft);
	text-align: center;
}

.woocommerce ul.products li.product a img {
	margin-bottom: 12px;
	border-radius: 10px;
	background: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-family: var(--font-body);
	font-size: 1.15rem;
	font-weight: 700;
}

.woocommerce ul.products li.product .star-rating {
	margin: 6px auto;
}

.woocommerce ul.products li.product .price {
	margin-bottom: 12px;
	color: var(--c-text);
	font-size: 1rem;
}

.woocommerce ul.products li.product .button {
	margin-top: auto;
}

.woocommerce .star-rating span::before,
.woocommerce p.stars a::before {
	color: var(--c-star);
}

/* Single product */
.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px clamp(28px, 5vw, 64px);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
}

@media (min-width: 769px) {
	.woocommerce div.product div.images {
		position: sticky;
		top: 88px;
		align-self: start;
	}
}

.woocommerce div.product div.images img {
	border-radius: var(--radius);
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	float: none;
	width: 72px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
	grid-column: 1 / -1;
	min-width: 0;
}

.woocommerce div.product .product_title {
	margin-bottom: 0.3em;
	font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.woocommerce div.product .woocommerce-product-rating {
	margin-bottom: 12px;
}

.product-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.woocommerce div.product .product-price p.price {
	margin: 0;
	color: var(--c-text);
	font-size: 1.6rem;
	font-weight: 700;
}

.woocommerce div.product p.price del {
	font-weight: 400;
}

.woocommerce div.product p.price ins {
	color: var(--c-sale);
}

.save-badge {
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--c-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.woocommerce div.product form.cart {
	margin-bottom: 20px;
}

.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
}

.woocommerce div.product form.cart table.variations {
	margin-bottom: 8px;
}

.woocommerce div.product form.cart table.variations tr {
	margin-bottom: 18px;
}

.woocommerce div.product form.cart table.variations th.label {
	margin-bottom: 8px;
}

.woocommerce div.product form.cart table.variations label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* The native <select> stays in the DOM for WooCommerce's script, hidden behind the swatches. */
.swatches ~ select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0 !important;
}

.woocommerce div.product form.cart .reset_variations {
	display: none !important;
}

.swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.swatch {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 76px;
	padding: 11px 18px;
	border: 1px solid #cfcdc7;
	border-radius: 999px;
	background: #fff;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.swatch:hover {
	border-color: var(--c-black);
}

.swatch.is-selected {
	border-color: var(--c-black);
	box-shadow: 0 0 0 1px var(--c-black);
}

.swatch--image {
	width: 84px;
	padding: 6px 6px 8px;
	border-radius: 12px;
	font-size: 0.82rem;
}

.swatch--image img {
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 4px;
	border-radius: 8px;
	object-fit: cover;
}

@media (max-width: 480px) {
	.swatches {
		gap: 6px;
	}

	.swatch--image {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		padding: 4px 3px 6px;
		font-size: 0.75rem;
	}

	.swatch__na {
		font-size: 0.58rem;
	}
}

.swatch.is-unavailable {
	border-style: dashed;
	background: #f3f2ef;
	color: #9a9892;
}

.swatch.is-unavailable img {
	filter: grayscale(1);
	opacity: 0.45;
}

.swatch.is-unavailable .swatch__label {
	text-decoration: line-through;
}

.swatch__na {
	display: block;
	margin-top: 2px;
	font-size: 0.66rem;
	font-weight: 400;
	line-height: 1.15;
	text-decoration: none;
}

/* Variation price is shown in the main price block instead. */
.woocommerce div.product .woocommerce-variation-price {
	display: none;
}

.woocommerce div.product .stock {
	color: var(--c-accent-dark);
	font-weight: 700;
}

.woocommerce div.product .stock.out-of-stock {
	color: var(--c-sale);
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
	content: none;
}

.woocommerce .quantity .qty {
	width: 76px;
	height: 100%;
	min-height: 52px;
	padding: 8px;
	border: 1px solid #cfcdc7;
	border-radius: 999px;
	text-align: center;
}

.woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
	flex: 1;
	float: none;
	min-height: 52px;
	padding: 14px 28px;
	border-color: var(--c-accent);
	background: var(--c-accent);
	font-size: 1.05rem;
	text-transform: uppercase;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
	border-color: var(--c-accent-dark);
	background: var(--c-accent-dark);
}

.woocommerce div.product form.cart .button.single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .button.single_add_to_cart_button:disabled {
	border-color: #b9b7b1;
	background: #b9b7b1;
	opacity: 1;
}

.product-usps {
	display: grid;
	gap: 8px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--c-line);
	font-size: 0.95rem;
}

.product-usps li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	margin: 0 0 24px;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-color: var(--c-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0 24px 0 0;
	padding: 0;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--c-black);
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 12px 0;
	color: var(--c-text);
	font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 860px;
}

.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
	font-size: 1.6rem;
}

.woocommerce .related > h2 {
	margin-bottom: 20px;
}

/* Free-shipping progress bar */
.fs-bar {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: var(--c-soft);
}

.fs-bar__text {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 0.95rem;
}

.fs-bar__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #dcdad4;
}

.fs-bar__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--c-black);
	transition: width 0.4s ease;
}

.fs-bar.is-complete .fs-bar__track span {
	background: var(--c-accent);
}

.fs-bar.is-complete .icon {
	color: var(--c-accent);
}

/* Notices, cart, checkout */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--c-black);
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--c-soft);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--c-black);
}

.woocommerce table.shop_table {
	border-color: var(--c-line);
	border-radius: var(--radius);
}

.woocommerce table.shop_table del {
	opacity: 0.55;
}

.woocommerce table.shop_table ins {
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-cart table.cart img {
	width: 72px;
	border-radius: 8px;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #payment #place_order {
	border-color: var(--c-accent);
	background: var(--c-accent);
	color: #fff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #payment #place_order:hover {
	border-color: var(--c-accent-dark);
	background: var(--c-accent-dark);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 12px 14px;
	border: 1px solid #cfcdc7;
	border-radius: 10px;
}

@media (max-width: 960px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr);
	}

	.woocommerce ul.products[class*="columns-"] li.product {
		float: none;
		width: auto;
		margin: 0;
	}
}

/* 7. Footer & floating contact
   ========================================================================== */
.site-footer {
	padding-block: 56px 28px;
	background: var(--c-black);
	color: #cfcfcf;
	font-size: 0.95rem;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
}

.site-footer__brand img {
	width: auto;
	height: 22px;
	margin-bottom: 20px;
}

.site-footer__company li,
.site-footer__col li {
	padding: 4px 0;
}

.site-footer h2 {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.site-footer__col ul + h2 {
	margin-top: 24px;
}

.site-footer__col li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.site-footer__social {
	display: flex;
	gap: 10px;
}

.site-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
}

.site-footer__social a:hover {
	background: #fff;
	color: var(--c-black);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.85rem;
}

.site-footer__bottom p {
	margin: 0;
}

/* Room for the floating contact buttons. */
@media (min-width: 721px) {
	.site-footer__bottom {
		padding-right: 170px;
	}
}

@media (max-width: 720px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	/* Keep the last footer line clear of the floating buttons. */
	.site-footer {
		padding-bottom: 96px;
	}
}

.contact-fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.contact-fab__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	min-width: 52px;
	padding: 0 14px;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s;
}

.contact-fab__btn:hover {
	transform: translateY(-2px);
}

.contact-fab__btn .icon {
	width: 24px;
	height: 24px;
}

.contact-fab__btn--call {
	background: var(--c-black);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-fab__btn--whatsapp {
	background: var(--c-whatsapp);
	color: #fff;
}

@media (max-width: 720px) {
	.contact-fab__btn--whatsapp span {
		display: none;
	}

	.contact-fab {
		right: 12px;
		bottom: 12px;
		gap: 8px;
	}

	.contact-fab__btn {
		height: 46px;
		min-width: 46px;
		padding: 0 11px;
	}
}

@media print {
	.contact-fab,
	.usp-bar,
	.site-header__tools,
	.nav-toggle {
		display: none !important;
	}
}
