/**
 * WooCommerce Product Experience Builder — frontend styles.
 * All colours, sizes and spacing read from CSS variables printed by the
 * plugin settings, so the design system is editable without touching CSS.
 */

/* ------------------------------------------------------------------ *
 * Base
 * ------------------------------------------------------------------ */

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

.pxb {
	color: var(--pxb-body, #555);
	font-family: var(--pxb-font-body, inherit);
	font-size: var(--pxb-body-size, 18px);
	line-height: var(--pxb-body-lh, 1.7);
}

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

.pxb-container {
	width: 100%;
	max-width: var(--pxb-container, 1200px);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.pxb-container--narrow {
	max-width: calc(var(--pxb-container, 1200px) - 160px);
}

.pxb-section {
	position: relative;
	padding-top: var(--pxb-section-space, 96px);
	padding-bottom: var(--pxb-section-space, 96px);
}

/* Full bleed background even inside a themed container. */
.pxb-section--dark,
.pxb-benefits {
	box-shadow: 0 0 0 100vmax var(--pxb-bleed, transparent);
	clip-path: inset(0 -100vmax);
}

.pxb-section--dark {
	--pxb-bleed: var(--pxb-dark, #171717);
	background-color: var(--pxb-dark, #171717);
	color: rgba(255, 255, 255, 0.72);
}

.pxb-benefits {
	--pxb-bleed: var(--pxb-cream, #f4f1e8);
	background-color: var(--pxb-cream, #f4f1e8);
}

/* Headings ---------------------------------------------------------- */

.pxb h1,
.pxb h2,
.pxb h3,
.pxb h4 {
	font-family: var(--pxb-font-heading, inherit);
	color: var(--pxb-heading, #111);
	line-height: var(--pxb-heading-lh, 1.08);
	letter-spacing: var(--pxb-heading-ls, 0.01em);
	margin: 0;
	font-weight: 800;
}

.pxb-section__title {
	font-size: var(--pxb-section-size, 48px);
	text-transform: var(--pxb-heading-tt, uppercase);
	color: var(--pxb-white, #fff);
	margin: 0 0 24px;
	max-width: 20ch;
}

.pxb-section--dark .pxb-section__title {
	color: var(--pxb-white, #fff);
}

.pxb-section__title--dark {
	color: var(--pxb-heading, #111);
}

.pxb-section__title--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	max-width: 24ch;
}

.pxb-section__lead {
	margin: 0 0 40px;
	max-width: 62ch;
	font-size: var(--pxb-body-size, 18px);
}

.pxb-section__lead--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.pxb-eyebrow {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pxb-body, #555);
	margin: 0 0 16px;
}

.pxb-eyebrow--accent {
	color: var(--pxb-accent, #687344);
}

.pxb-eyebrow--center {
	text-align: center;
}

/* Buttons ----------------------------------------------------------- */

.pxb .pxb-btn,
.pxb .pxb-hero__cart button.single_add_to_cart_button,
.pxb .pxb-hero__cart a.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--pxb-font-heading, inherit);
	font-size: var(--pxb-btn-size, 13px);
	font-weight: 700;
	letter-spacing: var(--pxb-btn-ls, 0.12em);
	text-transform: uppercase;
	text-decoration: none;
	padding: var(--pxb-btn-padding, 16px 34px);
	border-radius: var(--pxb-btn-radius, 2px);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	line-height: 1.2;
	text-align: center;
}

.pxb .pxb-btn--primary,
.pxb .pxb-hero__cart button.single_add_to_cart_button,
.pxb .pxb-hero__cart a.single_add_to_cart_button {
	background-color: var(--pxb-btn-bg, #687344);
	color: var(--pxb-btn-color, #fff);
	border-color: var(--pxb-btn-bg, #687344);
}

.pxb .pxb-btn--primary:hover,
.pxb .pxb-btn--primary:focus-visible,
.pxb .pxb-hero__cart button.single_add_to_cart_button:hover,
.pxb .pxb-hero__cart a.single_add_to_cart_button:hover {
	background-color: var(--pxb-btn-bg-hover, #565f38);
	border-color: var(--pxb-btn-bg-hover, #565f38);
	color: var(--pxb-btn-color-hover, #fff);
}

.pxb .pxb-btn--outline {
	background-color: transparent;
	color: var(--pxb-heading, #111);
	border-color: var(--pxb-border, #d8d3c5);
}

.pxb .pxb-btn--outline:hover {
	border-color: var(--pxb-heading, #111);
	background-color: transparent;
}

.pxb .pxb-btn--dark {
	background-color: var(--pxb-dark, #171717);
	color: #fff;
	border-color: var(--pxb-dark, #171717);
}

.pxb .pxb-btn--dark:hover {
	background-color: var(--pxb-accent, #687344);
	border-color: var(--pxb-accent, #687344);
}

.pxb .pxb-btn--ghost {
	background: transparent;
	color: var(--pxb-heading, #111);
	border-color: var(--pxb-border, #d8d3c5);
}

.pxb .pxb-btn--ghost:hover {
	background: var(--pxb-cream, #f4f1e8);
}

.pxb button:focus-visible,
.pxb a:focus-visible,
.pxb input:focus-visible,
.pxb textarea:focus-visible,
.pxb select:focus-visible {
	outline: 2px solid var(--pxb-accent, #687344);
	outline-offset: 2px;
}

/* Stars ------------------------------------------------------------- */

.pxb-stars {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
	font-family: Arial, Helvetica, sans-serif;
}

.pxb-stars--sm {
	font-size: 13px;
}

.pxb-stars__bg {
	color: rgba(0, 0, 0, 0.16);
}

.pxb-section--dark .pxb-stars__bg {
	color: rgba(255, 255, 255, 0.24);
}

.pxb-stars__fg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: var(--pxb-accent, #687344);
}

/* Placeholder in the Elementor editor -------------------------------- */

.pxb-placeholder {
	padding: 32px;
	border: 1px dashed var(--pxb-border, #d8d3c5);
	background: var(--pxb-cream, #f4f1e8);
	color: var(--pxb-body, #555);
	font-size: 14px;
	text-align: center;
}

/* When the plugin owns the page, the theme's now-empty summary column must
   not reserve space or float next to our sections. */
body.pxb-active .summary.entry-summary {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	clear: both;
}

body.pxb-active .pxb-empty-summary {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * 1. Hero
 * ------------------------------------------------------------------ */

.pxb-hero {
	padding-top: 32px;
	padding-bottom: 56px;
	background-color: #fff;
}

.pxb-breadcrumb {
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--pxb-body, #555);
	margin-bottom: 24px;
}

.pxb-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.pxb-breadcrumb a:hover {
	color: var(--pxb-accent, #687344);
}

.pxb-breadcrumb__sep {
	margin: 0 8px;
	opacity: 0.5;
}

.pxb-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.pxb-gallery__main {
	background: var(--pxb-cream, #f4f1e8);
	overflow: hidden;
}

.pxb-gallery__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.pxb-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.pxb-gallery__thumb {
	padding: 0;
	border: 1px solid transparent;
	background: var(--pxb-cream, #f4f1e8);
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.pxb-gallery__thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.pxb-gallery__thumb.is-active,
.pxb-gallery__thumb:hover {
	border-color: var(--pxb-accent, #687344);
}

.pxb-hero__info {
	padding-top: 8px;
}

.pxb-hero__title {
	font-size: var(--pxb-hero-size, 56px);
	text-transform: var(--pxb-heading-tt, uppercase);
	margin: 0 0 16px;
}

.pxb-hero__rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--pxb-body, #555);
	font-size: 13px;
	margin-bottom: 20px;
}

.pxb-hero__rating-value {
	font-weight: 700;
	color: var(--pxb-heading, #111);
}

.pxb-hero__price {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 30px;
	font-weight: 800;
	color: var(--pxb-heading, #111);
	margin-bottom: 22px;
	line-height: 1.2;
}

.pxb-hero__price del {
	opacity: 0.45;
	font-size: 0.7em;
	margin-right: 8px;
	font-weight: 500;
}

.pxb-hero__price ins {
	text-decoration: none;
}

.pxb-hero__excerpt {
	max-width: 52ch;
	margin-bottom: 28px;
}

.pxb-hero__excerpt p {
	margin: 0 0 12px;
}

.pxb-hero__trust {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--pxb-body, #555);
}

.pxb-hero__trust-icon img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.pxb-hero__sku {
	margin: 12px 0 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

/* WooCommerce cart form inside the hero ------------------------------ */

.pxb-hero__cart form.cart {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}

.pxb-hero__cart .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--pxb-border, #d8d3c5);
	border-radius: var(--pxb-btn-radius, 2px);
	overflow: hidden;
	flex: 0 0 auto;
}

.pxb-hero__cart .quantity input.qty {
	width: 56px;
	border: 0;
	text-align: center;
	font-size: 15px;
	background: transparent;
	color: var(--pxb-heading, #111);
	-moz-appearance: textfield;
	padding: 0;
}

.pxb-hero__cart .quantity input.qty::-webkit-outer-spin-button,
.pxb-hero__cart .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pxb-qty-btn {
	width: 40px;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: var(--pxb-heading, #111);
}

.pxb-qty-btn:hover {
	background: var(--pxb-cream, #f4f1e8);
}

.pxb-hero__cart button.single_add_to_cart_button,
.pxb-hero__cart a.single_add_to_cart_button {
	flex: 1 1 240px;
}

.pxb-hero__cart .pxb-buy-now {
	flex: 1 1 100%;
	width: 100%;
}

.pxb-hero__cart .variations {
	width: 100%;
	border: 0;
	margin: 0 0 4px;
}

.pxb-hero__cart .variations th,
.pxb-hero__cart .variations td {
	border: 0;
	padding: 6px 0;
	text-align: left;
	vertical-align: middle;
}

.pxb-hero__cart .variations label {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pxb-heading, #111);
	margin: 0;
}

.pxb-hero__cart .variations select {
	width: 100%;
	max-width: 320px;
	padding: 12px 14px;
	border: 1px solid var(--pxb-border, #d8d3c5);
	border-radius: var(--pxb-btn-radius, 2px);
	background-color: #fff;
	color: var(--pxb-heading, #111);
	font-size: 14px;
}

.pxb-hero__cart .reset_variations {
	font-size: 12px;
	color: var(--pxb-body, #555);
}

.pxb-hero__cart .woocommerce-variation-price {
	width: 100%;
	font-size: 22px;
	font-weight: 700;
	color: var(--pxb-heading, #111);
	margin-bottom: 8px;
}

.pxb-hero__cart .stock {
	width: 100%;
	margin: 0;
	font-size: 13px;
}

.pxb-hero__cart .stock.out-of-stock {
	color: #b3261e;
}

.pxb-hero__cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	align-items: stretch;
}

/* ------------------------------------------------------------------ *
 * 2. Steps
 * ------------------------------------------------------------------ */

.pxb-steps {
	--pxb-step-divider: rgba(255, 255, 255, 0.12);
}

.pxb-steps__grid {
	list-style: none;
	margin: 40px 0 0;
	padding: 32px 0 0;
	border-top: 1px solid var(--pxb-step-divider);
	display: grid;
	grid-template-columns: repeat(var(--pxb-steps-cols, 4), minmax(0, 1fr));
	gap: 0;
}

.pxb-step {
	padding: 8px 32px 8px 0;
	position: relative;
}

.pxb-step + .pxb-step {
	border-left: 1px solid var(--pxb-step-divider);
	padding-left: 32px;
}

.pxb-step__num {
	display: block;
	font-family: var(--pxb-font-heading, inherit);
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
	color: var(--pxb-step-number, var(--pxb-accent, #687344));
	margin-bottom: 24px;
	letter-spacing: 0.02em;
}

.pxb-step__image {
	display: block;
	margin-bottom: 16px;
}

.pxb-step__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.pxb-step__title {
	font-size: 15px;
	line-height: 1.4;
	text-transform: var(--pxb-heading-tt, uppercase);
	color: var(--pxb-step-text, var(--pxb-white, #fff));
	margin-bottom: 10px;
	letter-spacing: 0.04em;
	max-width: 22ch;
}

.pxb-step__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	max-width: 30ch;
}

.pxb-steps__footnote {
	margin: 40px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--pxb-step-divider);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------------ *
 * 3. Video
 * ------------------------------------------------------------------ */

.pxb-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
	margin-top: 16px;
}

.pxb-video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.pxb-video__frame iframe,
.pxb-video__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.pxb-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.92);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.pxb-video__play:hover {
	transform: translate(-50%, -50%) scale(1.06);
	background: #fff;
}

.pxb-video__play-icon {
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 20px solid var(--pxb-dark, #171717);
	margin-left: 6px;
}

/* ------------------------------------------------------------------ *
 * 4. Story
 * ------------------------------------------------------------------ */

.pxb-story {
	background-color: #fff;
}

.pxb-story__grid--image {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.pxb-story__grid--left .pxb-story__text {
	order: 2;
}

.pxb-story__grid--left .pxb-story__media {
	order: 1;
}

.pxb-story__content {
	max-width: 68ch;
	color: var(--pxb-body, #555);
}

.pxb-story__content p {
	margin: 0 0 20px;
}

.pxb-story__content p:last-child {
	margin-bottom: 0;
}

.pxb-story__content a {
	color: var(--pxb-accent, #687344);
}

.pxb-story__media img {
	width: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------------ *
 * 5. Benefits
 * ------------------------------------------------------------------ */

.pxb-benefits {
	--pxb-benefit-divider: var(--pxb-border, #d8d3c5);
}

.pxb-benefits__grid {
	display: grid;
	grid-template-columns: repeat(var(--pxb-benefits-cols, 3), minmax(0, 1fr));
	gap: 0;
}

.pxb-benefit {
	padding: 4px 40px 4px 0;
}

.pxb-benefit + .pxb-benefit {
	border-left: 1px solid var(--pxb-benefit-divider);
	padding-left: 40px;
}

.pxb-benefit__icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	margin-bottom: 16px;
}

.pxb-benefit__title {
	font-size: 17px;
	text-transform: var(--pxb-heading-tt, uppercase);
	letter-spacing: 0.04em;
	margin-bottom: 12px;
	color: var(--pxb-heading, #111);
}

.pxb-benefit__desc {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	max-width: 34ch;
}

.pxb-benefit__highlight {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--pxb-benefit-divider);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--pxb-heading, #111);
	max-width: 34ch;
}

/* ------------------------------------------------------------------ *
 * 6. CTA
 * ------------------------------------------------------------------ */

.pxb-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.pxb-cta .pxb-section__title {
	margin-bottom: 32px;
}

/* ------------------------------------------------------------------ *
 * 7. Reviews
 * ------------------------------------------------------------------ */

.pxb-reviews {
	background-color: #fff;
}

.pxb-reviews__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	padding-bottom: 48px;
}

.pxb-reviews__score-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.pxb-reviews__average {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
	color: var(--pxb-heading, #111);
}

.pxb-reviews__score-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pxb-reviews__based {
	font-size: 13px;
	color: var(--pxb-body, #555);
}

.pxb-reviews__bars {
	display: flex;
	flex-direction: column;
	gap: 7px;
	max-width: 360px;
}

.pxb-reviews__bar-row {
	display: grid;
	grid-template-columns: 34px 1fr 32px;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: var(--pxb-body, #555);
}

.pxb-reviews__bar-label {
	display: inline-flex;
	gap: 2px;
	align-items: center;
	color: var(--pxb-body, #555);
}

.pxb-reviews__bar {
	position: relative;
	height: 7px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 0;
	overflow: hidden;
	display: block;
}

.pxb-reviews__bar-fill {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--pxb-accent, #687344);
	display: block;
}

.pxb-reviews__bar-count {
	text-align: right;
}

.pxb-reviews__recommend {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--pxb-body, #555);
}

.pxb-reviews__recommend-pct {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 34px;
	font-weight: 800;
	color: var(--pxb-heading, #111);
	line-height: 1;
}

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

.pxb-reviews__gallery-item img {
	width: 74px;
	height: 74px;
	object-fit: cover;
}

.pxb-reviews__bar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 0;
	border-top: 1px solid var(--pxb-border, #d8d3c5);
	border-bottom: 1px solid var(--pxb-border, #d8d3c5);
	flex-wrap: wrap;
}

.pxb-reviews__title {
	font-size: 24px;
	text-transform: var(--pxb-heading-tt, uppercase);
	margin: 0;
	letter-spacing: 0.04em;
}

.pxb-reviews__title-count {
	opacity: 0.55;
}

.pxb-reviews__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 22px 0;
}

.pxb-reviews__filters-label {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pxb-body, #555);
	margin-right: 8px;
}

.pxb-chip {
	border: 1px solid var(--pxb-border, #d8d3c5);
	background: transparent;
	color: var(--pxb-heading, #111);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	line-height: 1.2;
}

.pxb-chip:hover {
	border-color: var(--pxb-heading, #111);
}

.pxb-chip.is-active {
	background: var(--pxb-dark, #171717);
	border-color: var(--pxb-dark, #171717);
	color: #fff;
}

.pxb-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pxb-review {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 32px;
	padding: 32px 0;
	border-bottom: 1px solid var(--pxb-border, #d8d3c5);
}

.pxb-review.is-hidden {
	display: none;
}

.pxb-review__author {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: var(--pxb-body, #555);
}

.pxb-review__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--pxb-cream, #f4f1e8);
	color: var(--pxb-accent, #687344);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.pxb-review__name {
	font-weight: 700;
	color: var(--pxb-heading, #111);
	font-size: 13px;
}

.pxb-review__verified {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pxb-accent, #687344);
	font-weight: 700;
}

.pxb-review__product a {
	color: var(--pxb-heading, #111);
	text-decoration: none;
	border-bottom: 1px solid var(--pxb-border, #d8d3c5);
}

.pxb-review__product-label {
	display: block;
	opacity: 0.6;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.pxb-review__recommends {
	color: var(--pxb-accent, #687344);
	font-size: 11px;
	font-weight: 600;
}

.pxb-review__recommends::before {
	content: "\2713";
	margin-right: 5px;
}

.pxb-review__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.pxb-review__date {
	font-size: 12px;
	color: var(--pxb-body, #555);
	opacity: 0.75;
}

.pxb-review__title {
	font-size: 16px;
	margin: 0 0 8px;
	letter-spacing: 0;
	text-transform: none;
}

.pxb-review__text {
	font-size: 15px;
	line-height: 1.65;
}

.pxb-review__text p {
	margin: 0 0 12px;
}

.pxb-review__photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
}

.pxb-review__photos img {
	width: 78px;
	height: 78px;
	object-fit: cover;
}

.pxb-review__helpful {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	font-size: 12px;
	color: var(--pxb-body, #555);
}

.pxb-vote {
	border: 1px solid var(--pxb-border, #d8d3c5);
	background: transparent;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
}

.pxb-vote:hover {
	border-color: var(--pxb-heading, #111);
}

.pxb-vote.is-voted {
	background: var(--pxb-cream, #f4f1e8);
	border-color: var(--pxb-accent, #687344);
}

.pxb-review__reply {
	margin-top: 16px;
	padding: 16px 20px;
	background: var(--pxb-cream, #f4f1e8);
	border-left: 2px solid var(--pxb-accent, #687344);
}

.pxb-review__reply-author {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 6px;
	color: var(--pxb-heading, #111);
}

.pxb-review__reply-text {
	font-size: 14px;
}

.pxb-review__reply-text p {
	margin: 0;
}

.pxb-reviews__more {
	text-align: center;
	margin: 32px 0 0;
}

.pxb-reviews__empty {
	padding: 32px 0;
}

/* Review form -------------------------------------------------------- */

.pxb-reviews__form {
	padding: 32px;
	background: var(--pxb-cream, #f4f1e8);
	margin-top: 24px;
}

.pxb-reviews__form[hidden] {
	display: none;
}

.pxb-form__row {
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pxb-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.pxb-form__label {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pxb-heading, #111);
}

.pxb-form input[type="text"],
.pxb-form input[type="email"],
.pxb-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--pxb-border, #d8d3c5);
	background: #fff;
	border-radius: var(--pxb-btn-radius, 2px);
	font-size: 15px;
	color: var(--pxb-heading, #111);
	font-family: inherit;
}

.pxb-form__hint {
	font-size: 12px;
	opacity: 0.7;
}

.pxb-form__row--check label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.pxb-form__actions {
	margin: 8px 0 0;
}

.pxb-rating-input {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
}

.pxb-rating-input input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.pxb-rating-input label {
	font-size: 26px;
	line-height: 1;
	color: rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: color 0.15s ease;
}

.pxb-rating-input label:hover,
.pxb-rating-input label:hover ~ label,
.pxb-rating-input input:checked ~ label {
	color: var(--pxb-accent, #687344);
}

.pxb-rating-input input:focus-visible + label {
	outline: 2px solid var(--pxb-accent, #687344);
}

/* ------------------------------------------------------------------ *
 * 8. Sticky cart
 * ------------------------------------------------------------------ */

.pxb-sticky {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	border-top: 1px solid var(--pxb-border, #d8d3c5);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(110%);
	transition: transform 0.28s ease;
}

.pxb-sticky--bottom {
	bottom: var(--pxb-sticky-offset, 0px);
}

.pxb-sticky--top {
	top: var(--pxb-sticky-offset, 0px);
	bottom: auto;
	border-top: 0;
	border-bottom: 1px solid var(--pxb-border, #d8d3c5);
	transform: translateY(-110%);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.pxb-sticky.is-visible {
	transform: translateY(0);
}

.pxb-sticky__inner {
	max-width: var(--pxb-container, 1200px);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pxb-sticky__product {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.pxb-sticky__image img {
	width: 46px;
	height: 46px;
	object-fit: cover;
}

.pxb-sticky__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pxb-sticky__title {
	font-family: var(--pxb-font-heading, inherit);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: var(--pxb-heading-tt, uppercase);
	color: var(--pxb-heading, #111);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 46ch;
}

.pxb-sticky__price {
	font-size: 14px;
	font-weight: 700;
	color: var(--pxb-heading, #111);
}

.pxb-sticky__price del {
	opacity: 0.5;
	font-weight: 400;
	margin-right: 6px;
}

.pxb-sticky__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pxb-sticky__variations select {
	padding: 10px 12px;
	border: 1px solid var(--pxb-border, #d8d3c5);
	background: #fff;
	font-size: 13px;
	max-width: 180px;
}

.pxb-sticky__qty .quantity {
	display: inline-flex;
	border: 1px solid var(--pxb-border, #d8d3c5);
}

.pxb-sticky__qty input {
	width: 46px;
	border: 0;
	text-align: center;
	background: transparent;
	-moz-appearance: textfield;
}

.pxb-sticky__qty input::-webkit-outer-spin-button,
.pxb-sticky__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pxb-sticky__button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

body.pxb-sticky-bottom.pxb-active {
	padding-bottom: 0;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.pxb {
		font-size: calc(var(--pxb-body-size, 18px) - 1px);
	}

	.pxb-section {
		padding-top: calc(var(--pxb-section-space, 96px) * 0.72);
		padding-bottom: calc(var(--pxb-section-space, 96px) * 0.72);
	}

	.pxb-container--narrow {
		max-width: var(--pxb-container, 1200px);
	}

	.pxb-hero__title {
		font-size: var(--pxb-hero-size-t, 42px);
	}

	.pxb-section__title {
		font-size: var(--pxb-section-size-t, 36px);
	}

	.pxb-hero__grid {
		gap: 36px;
	}

	.pxb-steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 36px;
	}

	.pxb-step:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.pxb-step:nth-child(even) {
		border-left: 1px solid var(--pxb-step-divider);
		padding-left: 32px;
	}

	.pxb-benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 36px;
	}

	.pxb-benefit:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.pxb-benefit:nth-child(even) {
		border-left: 1px solid var(--pxb-benefit-divider);
		padding-left: 32px;
	}

	.pxb-reviews__summary {
		gap: 40px;
	}
}

@media (max-width: 767px) {
	.pxb {
		font-size: var(--pxb-body-size-m, 15px);
	}

	.pxb-container {
		padding-left: 18px;
		padding-right: 18px;
	}

	.pxb-section {
		padding-top: var(--pxb-section-space-m, 56px);
		padding-bottom: var(--pxb-section-space-m, 56px);
	}

	.pxb-hero {
		padding-top: 20px;
		padding-bottom: 36px;
	}

	.pxb-hero__grid,
	.pxb-story__grid--image,
	.pxb-reviews__summary,
	.pxb-form__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pxb-story__grid--left .pxb-story__text,
	.pxb-story__grid--left .pxb-story__media {
		order: initial;
	}

	.pxb-hero__title {
		font-size: var(--pxb-hero-size-m, 32px);
	}

	.pxb-section__title {
		font-size: var(--pxb-section-size-m, 30px);
		max-width: none;
	}

	.pxb-hero__price {
		font-size: 24px;
	}

	.pxb-gallery__thumbs {
		grid-template-columns: repeat(4, 1fr);
	}

	.pxb-steps__grid,
	.pxb-benefits__grid {
		grid-template-columns: 1fr;
		row-gap: 28px;
	}

	.pxb-step,
	.pxb-step + .pxb-step,
	.pxb-step:nth-child(even),
	.pxb-benefit,
	.pxb-benefit + .pxb-benefit,
	.pxb-benefit:nth-child(even) {
		border-left: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.pxb-step + .pxb-step,
	.pxb-benefit + .pxb-benefit {
		border-top: 1px solid var(--pxb-step-divider);
		padding-top: 28px;
	}

	.pxb-benefit + .pxb-benefit {
		border-top-color: var(--pxb-benefit-divider);
	}

	.pxb-step__num {
		font-size: 34px;
		margin-bottom: 14px;
	}

	.pxb-video__play {
		width: 62px;
		height: 62px;
	}

	.pxb-review {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.pxb-review__author {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}

	.pxb-review__avatar {
		margin-bottom: 0;
	}

	.pxb-review__product {
		width: 100%;
	}

	.pxb-reviews__form {
		padding: 20px;
	}

	.pxb-reviews__bar-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.pxb-hero__cart form.cart,
	.pxb-hero__cart .woocommerce-variation-add-to-cart {
		flex-direction: column;
		align-items: stretch;
	}

	.pxb-hero__cart .quantity {
		align-self: flex-start;
	}

	.pxb-sticky__inner {
		padding: 10px 16px;
		gap: 12px;
	}

	.pxb-sticky__image,
	.pxb-sticky__qty {
		display: none;
	}

	.pxb-sticky__title {
		font-size: 12px;
		max-width: 22ch;
	}

	.pxb-sticky__button {
		padding: 14px 20px;
		white-space: nowrap;
	}

	.pxb-sticky__variations select {
		max-width: 120px;
	}
}

@media (max-width: 480px) {
	.pxb-sticky__product {
		flex: 1 1 auto;
	}

	.pxb-sticky__actions {
		flex: 0 0 auto;
	}
}

/* Device visibility for the sticky bar */
@media (min-width: 768px) {
	.pxb-sticky--no-desktop {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.pxb-sticky--no-mobile {
		display: none !important;
	}
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	.pxb *,
	.pxb *::before,
	.pxb *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.pxb-sticky {
		transition: none;
	}
}
