/* Benda Product Page v1.0.0 */
.bpp, .bpp-content, .bpp-bar, .bpp-lightbox {
	--bpp-accent: #44d62c;
	--bpp-bg: #000;
	--bpp-surface: #111;
	--bpp-surface-2: #1b1b1b;
	--bpp-line: #262626;
	--bpp-text: #fff;
	--bpp-muted: #999;
	box-sizing: border-box;
}
.bpp *, .bpp-content *, .bpp-bar *, .bpp-lightbox * { box-sizing: border-box; }
html.bpp-lock, html.bpp-lock body { overflow: hidden; }

/* ======================================================================
 * Hero
 * ==================================================================== */
.bpp { color: var(--bpp-text); width: 100%; font-family: inherit; }
.bpp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "gallery" "info";
}
.bpp-head { grid-area: head; padding: 18px 0 14px; }
.bpp .bpp-title {
	margin: 0;
	padding: 0;
	color: var(--bpp-text);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-align: start;
}
.bpp-sku { margin-top: 6px; font-size: 13px; color: var(--bpp-muted); }

/* ---------- gallery ---------- */
.bpp-gallery { grid-area: gallery; position: relative; min-width: 0; }
.bpp-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}
.bpp-track::-webkit-scrollbar { display: none; }
.bpp-slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: zoom-in;
	background: var(--bpp-bg);
}
.bpp-slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	margin: 0;
	border: 0;
	border-radius: 0;
}
.bpp-badges {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}
.bpp-badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 2px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.1;
}
.bpp-badge--new, .bpp .bpa-badge--fs { background: var(--bpp-accent); color: #000; }
.bpp .bpa-badge--fs { background: var(--bpa-fs-bg, var(--bpp-accent)); color: var(--bpa-fs-color, #000); }
.bpp-badge--sale, .bpp .bpa-badge--sale { background: #e53935; color: #fff; }
.bpp-badge--oos, .bpp .bpa-badge--oos { background: #3a3a3a; color: #fff; }

.bpp-arrow {
	position: absolute;
	top: calc(50% - 32px);
	z-index: 2;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	color: #fff;
	cursor: pointer;
	transition: background .2s;
}
.bpp-arrow:hover, .bpp-arrow:focus { background: rgba(0, 0, 0, .7); color: var(--bpp-accent); }
.bpp-arrow--prev { right: 4px; }
.bpp-arrow--next { left: 4px; }
.bpp-dots { display: flex; justify-content: center; gap: 10px; padding: 14px 0 4px; }
.bpp-dot {
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #3a3a3a;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.bpp-dot.is-active { background: #fff; transform: scale(1.1); }
.bpp-thumbs { display: none; }
.bpp-open-gallery {
	display: block;
	margin: 10px auto 0;
	padding: 6px 10px;
	border: 0;
	background: none;
	color: var(--bpp-accent);
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}
.bpp-open-gallery:hover, .bpp-open-gallery:focus { background: none; color: var(--bpp-accent); text-decoration: underline; }

/* ---------- info ---------- */
.bpp-info { grid-area: info; min-width: 0; padding-top: 18px; }
.bpp-price { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--bpp-text); text-align: center; }
.bpp-price del { font-size: 17px; font-weight: 400; color: var(--bpp-muted); margin-inline-start: 6px; }
.bpp-price ins { text-decoration: none; background: none; color: var(--bpp-text); }
.bpp-price .screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.bpp .bpp-features { list-style: none; margin: 18px 0 0; padding: 0; text-align: center; }
.bpp .bpp-features li { margin: 0; padding: 5px 0; font-size: 15px; line-height: 1.45; color: var(--bpp-text); }
.bpp-features li[hidden] { display: none; }
.bpp-features-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.bpp .bpp-link {
	padding: 4px 0;
	margin: 0;
	border: 0;
	background: none;
	color: var(--bpp-accent);
	font: inherit;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
}
.bpp .bpp-link:hover, .bpp .bpp-link:focus { background: none; color: var(--bpp-accent); text-decoration: underline; }
.bpp .bpp-link[hidden] { display: none; }
.bpp-short { margin-top: 16px; color: var(--bpp-text); font-size: 15px; line-height: 1.6; text-align: center; }

/* ---------- gift ---------- */
.bpp-gift {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 22px 0 0;
	padding: 14px;
	background: linear-gradient(135deg, rgba(68, 214, 44, .10), rgba(68, 214, 44, 0) 55%), var(--bpp-surface);
	border: 1px solid var(--bpp-line);
	border-inline-start: 3px solid var(--bpp-accent);
	border-radius: 8px;
}
.bpp-gift__img {
	flex: 0 0 76px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bpp-surface-2);
	border-radius: 8px;
	overflow: hidden;
}
.bpp-gift__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; margin: 0; }
.bpp-gift__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.bpp-gift__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--bpp-accent);
	font-size: 12px;
	font-weight: 700;
}
.bpp-gift__badge svg { width: 15px; height: 15px; }
.bpp-gift__title { font-size: 16px; font-weight: 700; color: var(--bpp-text); line-height: 1.3; }
.bpp .bpp-gift__text { margin: 0; font-size: 13px; line-height: 1.5; color: #b5b5b5; }
.bpp-gift__text strong { color: var(--bpp-accent); }

/* ---------- add to cart ---------- */
.bpp-cart { margin-top: 22px; }
.bpp-cart .stock { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.bpp-cart .stock.in-stock { color: var(--bpp-accent); }
.bpp-cart .stock.out-of-stock { color: #ff5a5a; }
.bpp .bpp-cart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}
.bpp .bpp-cart form.variations_form { display: block; }
.bpp .bpp-cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.bpp .bpp-cart .quantity {
	display: flex !important;
	align-items: center;
	height: 52px;
	margin: 0 !important;
	border: 1px solid #333;
	border-radius: 4px;
	overflow: hidden;
	float: none !important;
}
.bpp .bpp-cart .quantity .minus,
.bpp .bpp-cart .quantity .plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 100%;
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 20px;
	text-decoration: none;
	line-height: 1;
}
.bpp .bpp-cart .quantity .qty {
	width: 44px;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 16px;
	text-align: center;
	-moz-appearance: textfield;
}
.bpp .bpp-cart .quantity .qty::-webkit-inner-spin-button,
.bpp .bpp-cart .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bpp .bpp-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
	height: 52px;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--bpp-accent) !important;
	color: #000 !important;
	font: inherit;
	font-size: 17px !important;
	font-weight: 800 !important;
	letter-spacing: .02em;
	line-height: 1 !important;
	text-transform: none !important;
	float: none !important;
	transition: filter .2s, transform .1s;
}
.bpp .bpp-cart .single_add_to_cart_button:hover { filter: brightness(1.08); }
.bpp .bpp-cart .single_add_to_cart_button:active { transform: scale(.99); }
.bpp .bpp-cart .single_add_to_cart_button.disabled { opacity: .45; }
.bpp .bpp-cart table.variations { width: 100%; margin: 0 0 6px; border: 0; }
.bpp .bpp-cart table.variations th,
.bpp .bpp-cart table.variations td { display: block; padding: 4px 0; border: 0; background: none; text-align: start; color: var(--bpp-text); }
.bpp .bpp-cart table.variations select {
	width: 100%;
	height: 46px;
	padding: 0 12px;
	border: 1px solid #333;
	border-radius: 4px;
	background-color: var(--bpp-surface);
	color: #fff;
}
.bpp .bpp-cart .reset_variations { color: var(--bpp-muted); font-size: 13px; }

/* ---------- trust row ---------- */
.bpp .bpp-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
	margin: 28px 0 8px;
	padding: 0;
}
.bpp .bpp-trust li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 0; text-align: center; font-size: 13px; line-height: 1.35; color: var(--bpp-text); }
.bpp-trust__ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1.5px solid #fff;
	border-radius: 50%;
}

/* ---------- sticky buy bar ---------- */
.bpp-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: #222;
	border-top: 2px solid var(--bpp-accent);
	color: #fff;
	direction: rtl;
	font-family: inherit;
	transform: translateY(110%);
	transition: transform .28s ease;
}
.bpp-bar.is-visible { transform: none; }
.bpp-bar__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.bpp-bar__name { font-size: 12px; color: var(--bpp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpp-bar__price { font-size: 20px; font-weight: 700; line-height: 1.2; }
.bpp-bar__price del { font-size: 13px; font-weight: 400; color: var(--bpp-muted); }
.bpp-bar__price ins { text-decoration: none; background: none; }
.bpp-bar__price .screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.bpp-bar__btn {
	flex: 0 0 auto;
	height: 44px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 4px;
	background: var(--bpp-accent);
	color: #000;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}
.bpp-bar__btn:hover, .bpp-bar__btn:focus { background: var(--bpp-accent); color: #000; filter: brightness(1.08); }
.bpp-bar__btn.is-disabled { background: #3a3a3a; color: #bbb; cursor: default; }
@media (max-width: 1024px) {
	body.bpp-has-bar { padding-bottom: 70px; }
	body.bpp-has-bar #scroll-top { bottom: 84px; }
}

/* ---------- lightbox ---------- */
.bpp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #000;
	direction: rtl;
}
.bpp-lightbox[hidden] { display: none; }
.bpp-lightbox__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.bpp-lightbox__track::-webkit-scrollbar { display: none; }
.bpp-lightbox__slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; padding: 56px 0; }
.bpp-lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0; }
.bpp-lightbox__close {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.bpp-lightbox__count { position: absolute; top: 20px; right: 0; left: 0; z-index: 1; text-align: center; color: #aaa; font-size: 14px; pointer-events: none; }

/* ======================================================================
 * Content (rebuilt from the tabs)
 * ==================================================================== */
.bpp-content {
	color: var(--bpp-text);
	width: 100%;
	max-width: 1240px;
	margin: 28px auto 0;
	padding: 0 16px;
	font-family: inherit;
}

.bpp-subnav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(0, 0, 0, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--bpp-line);
}
.bpp-subnav[hidden] { display: none; }
.bpp-subnav { margin-inline: -16px; }
.bpp-subnav__inner {
	padding-inline: 16px !important;
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0 2px;
}
.bpp-subnav__inner::-webkit-scrollbar { display: none; }
.bpp-content .bpp-subnav__link {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 50px;
	border-bottom: 2px solid transparent;
	color: var(--bpp-muted);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s, border-color .2s;
}
.bpp-content .bpp-subnav__link:hover { color: #fff; }
.bpp-content .bpp-subnav__link.is-active { color: #fff; border-bottom-color: var(--bpp-accent); }

.bpp-sec { padding: 40px 0 8px; scroll-margin-top: 110px; }
.bpp-sec + .bpp-sec { border-top: 1px solid var(--bpp-line); }
.bpp-sec__head { margin-bottom: 26px; }
.bpp-content .bpp-sec__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	text-align: start;
	text-transform: uppercase;
}
.bpp-content .bpp-sec__title::before {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-bottom: 14px;
	background: var(--bpp-accent);
}

.bpp-content p { margin: 0 0 12px; color: #b3b3b3; font-size: 16px; line-height: 1.75; text-align: inherit; }
.bpp-content p:last-child { margin-bottom: 0; }
.bpp-content strong, .bpp-content b { color: #fff; font-weight: 700; }
.bpp-content a { color: var(--bpp-accent); }
.bpp-content img { display: block; width: 100%; height: auto; max-width: 100%; margin: 0; border-radius: 8px; }

/* intro */
.bpp-intro { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.bpp-content .bpp-intro__title { margin: 0 0 16px; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.2; }
.bpp-content .bpp-intro p { font-size: 17px; }
.bpp-text { max-width: 820px; margin: 0 auto 40px; text-align: center; }

/* features */
.bpp-feat { margin: 0 0 52px; text-align: center; }
.bpp-feat__media { overflow: hidden; border-radius: 8px; background: #0b0b0b; }
.bpp-feat__text { padding: 20px 4px 0; }
.bpp-content .bpp-feat__title { margin: 0 0 10px; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; }
.bpp-content .bpp-feat__title::after {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	margin: 12px auto 0;
	background: var(--bpp-accent);
}
.bpp-wide { margin: 0 0 40px; }
.bpp-content h4 { margin: 18px 0 8px; color: #fff; font-size: 18px; }

/* specs */
.bpp-content .bpp-specs { margin: 0; padding: 0; }
.bpp-spec {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--bpp-line);
}
.bpp-content .bpp-spec dt { margin: 0; color: var(--bpp-muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.bpp-content .bpp-spec dd { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }

/* lists / in-the-box */
.bpp-content .bpp-list { margin: 0 0 16px; padding-inline-start: 20px; color: #b3b3b3; }
.bpp-content .bpp-list li { margin: 0 0 6px; line-height: 1.6; }
.bpp-content .bpp-box { list-style: none; margin: 0 0 24px; padding: 0; }
.bpp-content .bpp-box li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--bpp-line);
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
}
.bpp-content .bpp-box li svg { flex: 0 0 auto; margin-top: 2px; color: var(--bpp-accent); }
.bpp-content .bpp-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	padding: 12px 22px;
	border: 1px solid var(--bpp-accent);
	border-radius: 4px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.bpp-content .bpp-btn-outline::after { content: "↗"; color: var(--bpp-accent); }
.bpp-content .bpp-btn-outline:hover { background: var(--bpp-accent); color: #000; }
.bpp-content .bpp-btn-outline:hover::after { color: #000; }
.bpp-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.bpp-table-wrap table { width: 100%; border-collapse: collapse; color: #ddd; }
.bpp-table-wrap td, .bpp-table-wrap th { padding: 10px; border-bottom: 1px solid var(--bpp-line); }
.bpp-embed { position: relative; margin: 0 0 32px; aspect-ratio: 16 / 9; }
.bpp-embed iframe, .bpp-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }

/* ======================================================================
 * Tablet / desktop
 * ==================================================================== */
@media (min-width: 900px) {
	.bpp-hero {
		grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
		grid-template-areas: "gallery head" "gallery info";
		grid-template-rows: auto 1fr;
		column-gap: 48px;
		align-items: start;
	}
	.bpp-gallery { position: sticky; top: 20px; }
	.bpp-head { padding-top: 6px; }
	.bpp .bpp-title { font-size: 34px; }
	.bpp-info { padding-top: 6px; }
	.bpp-price { text-align: start; font-size: 30px; }
	.bpp .bpp-features { text-align: start; }
	.bpp .bpp-features li { position: relative; padding-inline-start: 16px; }
	.bpp .bpp-features li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 6px; height: 6px; background: var(--bpp-accent); }
	.bpp-features-links { justify-content: flex-start; }
	.bpp-short { text-align: start; }
	.bpp-dots { display: none; }
	.bpp-thumbs {
		display: flex;
		gap: 10px;
		margin-top: 12px;
		overflow-x: auto;
		scrollbar-width: thin;
	}
	.bpp-thumb {
		flex: 0 0 84px;
		height: 64px;
		margin: 0;
		padding: 0;
		border: 1px solid var(--bpp-line);
		border-radius: 4px;
		background: var(--bpp-bg);
		cursor: pointer;
		overflow: hidden;
		opacity: .6;
		transition: opacity .2s, border-color .2s;
	}
	.bpp-thumb img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
	.bpp-thumb.is-active, .bpp-thumb:hover { opacity: 1; border-color: var(--bpp-accent); background: var(--bpp-bg); }
	.bpp-open-gallery { margin-inline-start: 0; }

	.bpp-content .bpp-sec__title { font-size: 34px; }
	.bpp-sec { padding-top: 64px; }
	.bpp-content .bpp-intro__title { font-size: 40px; }
	.bpp-feat {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 56px;
		align-items: center;
		margin-bottom: 80px;
		text-align: start;
	}
	.bpp-feat.is-alt .bpp-feat__media { order: 2; }
	.bpp-feat__text { padding: 0; }
	.bpp-content .bpp-feat__title { font-size: 30px; }
	.bpp-content .bpp-feat__title::after { margin-inline: 0; }
	.bpp-content .bpp-specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
	.bpp-content .bpp-box { columns: 2; column-gap: 56px; }
	.bpp-content .bpp-box li { break-inside: avoid; }
	.bpp-bar { padding-inline: max(16px, calc((100vw - 1200px) / 2)); }
	.bpp-content { padding: 0 24px; }
	.bpp-subnav { margin-inline: -24px; }
	.bpp-subnav__inner { padding-inline: 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.bpp *, .bpp-content *, .bpp-bar, .bpp-track { transition: none !important; scroll-behavior: auto !important; }
}
