/* ═══════════════════════════════════════════════════════
   FB PRODUCT PAGE v1.0.0 — V12 design system
   Tokens verified against V12_krayniy_27_03.html etalon.
   Scope: body.fbpp-v12 (single product pages only, dark site).
═══════════════════════════════════════════════════════ */

body.fbpp-v12 {
	--fbpp-bg: #0a0a0c;
	--fbpp-surface: #131316;
	--fbpp-card: #181820;
	--fbpp-border: rgba(255, 255, 255, .08);
	--fbpp-border2: rgba(255, 255, 255, .05);
	--fbpp-txt: #f0eff8;
	--fbpp-txt2: rgba(240, 239, 248, .60);
	--fbpp-txt3: rgba(240, 239, 248, .38);
	--fbpp-red: #e8183a;
	--fbpp-red2: #ff4060;
	--fbpp-gold: #c9a44e;
	--fbpp-gold2: #e8c97a;
	--fbpp-line: rgba(201, 164, 78, .28);
	--fbpp-line-soft: rgba(201, 164, 78, .16);
	--fbpp-r-xl: 24px;
	--fbpp-r-lg: 18px;
	--fbpp-r-md: 14px;
	--fbpp-r-sm: 10px;
	--fbpp-r-pill: 999px;
	--fbpp-font: "Montserrat", "Manrope", system-ui, sans-serif;
	--fbpp-ease: cubic-bezier(.22, .9, .22, 1);
	--fbpp-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ── Base typography inside product area ── */
body.fbpp-v12 .product-info,
body.fbpp-v12 .product-footer {
	font-family: var(--fbpp-font);
	-webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .breadcrumbs {
	font-family: var(--fbpp-font);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--fbpp-txt3);
}

body.fbpp-v12 .breadcrumbs a {
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid transparent;
	border-radius: var(--fbpp-r-pill);
	color: var(--fbpp-txt2);
	transition: color .17s ease, border-color .17s ease, background .17s ease;
}

body.fbpp-v12 .breadcrumbs a:hover {
	color: var(--fbpp-gold2);
	border-color: var(--fbpp-line);
	background: rgba(201, 164, 78, .08);
}

body.fbpp-v12 .breadcrumbs .divider {
	opacity: .45;
	margin: 0 1px;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .product-gallery .woocommerce-product-gallery__image,
body.fbpp-v12 .product-gallery .woocommerce-product-gallery__image img {
	border-radius: var(--fbpp-r-xl);
}

body.fbpp-v12 .product-thumbnails a,
body.fbpp-v12 .product-thumbnails img {
	border-radius: var(--fbpp-r-md);
}

body.fbpp-v12 .product-thumbnails a {
	display: block;
	border: 1px solid transparent;
	overflow: hidden;
	transition: border-color .2s ease, transform .25s var(--fbpp-spring);
}

body.fbpp-v12 .product-thumbnails a:hover {
	border-color: var(--fbpp-line-soft);
}

body.fbpp-v12 .product-thumbnails .is-nav-selected a,
body.fbpp-v12 .product-thumbnails .active a {
	border-color: var(--fbpp-line);
	transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════
   TITLE + RATING
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .product-info .product-title,
body.fbpp-v12 .product-info .product_title {
	font-family: var(--fbpp-font);
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.15;
	color: var(--fbpp-txt);
}

body.fbpp-v12 .product-info .product_title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin-top: 12px;
	border-radius: var(--fbpp-r-pill);
	background: linear-gradient(90deg, var(--fbpp-gold), var(--fbpp-red));
	transform-origin: left center;
	animation: fbppBar .9s var(--fbpp-ease) .25s both;
}

body.fbpp-v12 .star-rating,
body.fbpp-v12 .star-rating::before {
	color: rgba(201, 164, 78, .28);
}

body.fbpp-v12 .star-rating span,
body.fbpp-v12 .star-rating span::before {
	color: var(--fbpp-gold2);
}

body.fbpp-v12 .woocommerce-review-link,
body.fbpp-v12 .review-count {
	color: var(--fbpp-txt3);
	font-size: 12.5px;
}

/* ═══════════════════════════════════════════════════════
   PRICE + SAVINGS CHIP
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .product-info .price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 12px;
	font-family: var(--fbpp-font);
	animation: fbppFadeUp .5s var(--fbpp-ease) .12s both;
}

body.fbpp-v12 .product-info .price del {
	opacity: 1;
}

body.fbpp-v12 .product-info .price del .amount,
body.fbpp-v12 .product-info .price del {
	font-size: 16px;
	font-weight: 600;
	color: var(--fbpp-txt3);
	text-decoration: line-through;
	text-decoration-color: rgba(232, 24, 58, .60);
	text-decoration-thickness: 2px;
}

body.fbpp-v12 .product-info .price ins {
	text-decoration: none;
	background: none;
}

body.fbpp-v12 .product-info .price ins .amount,
body.fbpp-v12 .product-info .price > .amount {
	font-size: clamp(28px, 6vw, 36px);
	font-weight: 900;
	letter-spacing: -.01em;
	color: var(--fbpp-gold2);
	background: linear-gradient(135deg, #ffffff 30%, var(--fbpp-gold2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

body.fbpp-v12 .fbpp-save {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: var(--fbpp-r-pill);
	border: 1px solid rgba(232, 24, 58, .35);
	background: rgba(232, 24, 58, .12);
	color: #ff8fa3;
	font: 600 12.5px/1 var(--fbpp-font);
	white-space: nowrap;
	-webkit-text-fill-color: #ff8fa3;
	opacity: 0;
	transform: scale(.8);
	transition: transform .45s var(--fbpp-spring), opacity .3s ease;
}

body.fbpp-v12 .fbpp-save.in {
	opacity: 1;
	transform: scale(1);
}

/* ═══════════════════════════════════════════════════════
   SHORT DESCRIPTION
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .product-short-description,
body.fbpp-v12 .woocommerce-product-details__short-description {
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--fbpp-txt2);
}

/* ═══════════════════════════════════════════════════════
   CART FORM: QUANTITY + BUTTONS
   Flatsome globally overrides <button> — hence !important
   on width / height / padding / border / line-height /
   text-transform / letter-spacing / border-radius.
═══════════════════════════════════════════════════════ */
body.fbpp-v12 form.cart:not(.variations_form),
body.fbpp-v12 form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin: 16px 0 6px;
}

/* Quantity stepper */
body.fbpp-v12 form.cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 44px;
	border: 1px solid var(--fbpp-line-soft);
	border-radius: var(--fbpp-r-md);
	background: rgba(255, 255, 255, .04);
	overflow: hidden;
}

body.fbpp-v12 form.cart .quantity .minus,
body.fbpp-v12 form.cart .quantity .plus {
	width: 42px !important;
	min-width: 42px !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: none !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--fbpp-txt2) !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 44px !important;
	transition: color .15s ease, background .15s ease;
}

body.fbpp-v12 form.cart .quantity .minus:hover,
body.fbpp-v12 form.cart .quantity .plus:hover {
	color: var(--fbpp-gold2) !important;
	background: rgba(201, 164, 78, .10) !important;
}

body.fbpp-v12 form.cart .quantity .qty {
	width: 46px !important;
	height: 44px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--fbpp-txt) !important;
	font-family: var(--fbpp-font) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-align: center;
	-moz-appearance: textfield;
}

body.fbpp-v12 form.cart .quantity .qty::-webkit-inner-spin-button,
body.fbpp-v12 form.cart .quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Add to cart — V12 .btn-gold (flat tint, NOT a gradient) */
body.fbpp-v12 .single_add_to_cart_button {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 44px !important;
	min-height: 44px !important;
	max-height: none !important;
	padding: 0 18px !important;
	border: 1px solid rgba(201, 164, 78, .30) !important;
	border-radius: var(--fbpp-r-md) !important;
	background: rgba(201, 164, 78, .14) !important;
	color: var(--fbpp-gold2) !important;
	font-family: var(--fbpp-font) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none !important;
	white-space: nowrap;
	transition: transform .17s var(--fbpp-ease), background .17s ease, border-color .17s ease, box-shadow .17s ease;
}

body.fbpp-v12 .single_add_to_cart_button:hover {
	background: rgba(201, 164, 78, .22) !important;
	border-color: rgba(201, 164, 78, .50) !important;
	box-shadow: 0 6px 20px rgba(201, 164, 78, .18) !important;
	color: var(--fbpp-gold2) !important;
	transform: translateY(-2px);
}

body.fbpp-v12 .single_add_to_cart_button:active {
	transform: scale(.97);
}

/* Red CTA — V12 .btn-primary (solid red, hover #c8102e).
   Class is applied by fbpp.js to "one click" buttons. */
body.fbpp-v12 .fbpp-btn-red {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	height: 44px !important;
	min-height: 44px !important;
	max-height: none !important;
	padding: 0 18px !important;
	border: 1px solid var(--fbpp-red) !important;
	border-radius: var(--fbpp-r-md) !important;
	background: var(--fbpp-red) !important;
	color: #fff !important;
	font-family: var(--fbpp-font) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: 0 4px 18px rgba(232, 24, 58, .35) !important;
	white-space: nowrap;
	transition: transform .17s var(--fbpp-ease), background .17s ease, border-color .17s ease, box-shadow .17s ease;
}

body.fbpp-v12 .fbpp-btn-red:hover {
	background: #c8102e !important;
	border-color: #c8102e !important;
	box-shadow: 0 8px 26px rgba(232, 24, 58, .45) !important;
	color: #fff !important;
	transform: translateY(-2px);
}

body.fbpp-v12 .fbpp-btn-red:active {
	transform: scale(.97);
}

/* ═══════════════════════════════════════════════════════
   TRUST CARDS (plugin block)
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .fbpp-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 10px;
	margin: 18px 0 4px;
}

body.fbpp-v12 .fbpp-trust-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--fbpp-line-soft);
	border-radius: var(--fbpp-r-lg);
	background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
	transition: transform .25s var(--fbpp-ease), border-color .25s ease, box-shadow .25s ease;
}

body.fbpp-v12 .fbpp-trust-card:hover {
	transform: translateY(-2px);
	border-color: var(--fbpp-line);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

body.fbpp-v12 .fbpp-trust-ico {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(201, 164, 78, .25);
	border-radius: var(--fbpp-r-md);
	background: rgba(201, 164, 78, .12);
	color: var(--fbpp-gold2);
	transition: transform .3s var(--fbpp-spring), background .2s ease;
}

body.fbpp-v12 .fbpp-trust-card:hover .fbpp-trust-ico {
	transform: scale(1.08) rotate(-4deg);
	background: rgba(201, 164, 78, .18);
}

body.fbpp-v12 .fbpp-trust-body {
	display: block;
	min-width: 0;
}

body.fbpp-v12 .fbpp-trust-tt {
	display: block;
	margin: 2px 0 4px;
	font: 700 13.5px/1.25 var(--fbpp-font);
	color: var(--fbpp-txt);
}

body.fbpp-v12 .fbpp-trust-tx {
	display: block;
	font: 500 12.5px/1.45 var(--fbpp-font);
	color: var(--fbpp-txt3);
}

/* ═══════════════════════════════════════════════════════
   META (category, composition) + SHARE
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .product_meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed rgba(201, 164, 78, .22);
	font-family: var(--fbpp-font);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--fbpp-txt3);
	text-transform: none;
	letter-spacing: .01em;
}

body.fbpp-v12 .product_meta a {
	display: inline-block;
	margin-left: 2px;
	padding: 4px 10px;
	border: 1px solid var(--fbpp-border);
	border-radius: var(--fbpp-r-pill);
	background: rgba(255, 255, 255, .05);
	color: var(--fbpp-txt2);
	transition: color .17s ease, border-color .17s ease, background .17s ease;
}

body.fbpp-v12 .product_meta a:hover {
	color: var(--fbpp-gold2);
	border-color: var(--fbpp-line);
	background: rgba(201, 164, 78, .08);
}

body.fbpp-v12 .product-info .social-icons a {
	border-radius: var(--fbpp-r-md);
	transition: transform .2s var(--fbpp-spring), opacity .15s ease;
}

body.fbpp-v12 .product-info .social-icons a:hover {
	transform: translateY(-2px);
	opacity: .92;
}

/* ═══════════════════════════════════════════════════════
   DESCRIPTION SECTION + RELATED
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .product-section-title,
body.fbpp-v12 .product-footer .panel > h3:first-child {
	font-family: var(--fbpp-font);
	font-size: clamp(18px, 4.5vw, 24px);
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.15;
	background: linear-gradient(135deg, var(--fbpp-txt) 40%, var(--fbpp-txt2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--fbpp-txt);
}

body.fbpp-v12 .product-section-title::after,
body.fbpp-v12 .product-footer .panel > h3:first-child::after {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	margin-top: 10px;
	border-radius: var(--fbpp-r-pill);
	background: linear-gradient(90deg, var(--fbpp-gold), var(--fbpp-red));
}

body.fbpp-v12 .product-footer .panel,
body.fbpp-v12 .product-footer .product-section {
	font-family: var(--fbpp-font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--fbpp-txt2);
}

body.fbpp-v12 .product-footer .panel strong,
body.fbpp-v12 .product-footer .product-section strong {
	color: var(--fbpp-txt);
}

body.fbpp-v12 .product-footer .panel a,
body.fbpp-v12 .product-footer .product-section a {
	color: var(--fbpp-gold2);
}

body.fbpp-v12 .product-footer blockquote {
	position: relative;
	margin: 18px 0;
	padding: 14px 16px 14px 22px;
	border: 1px solid var(--fbpp-border2);
	border-radius: var(--fbpp-r-md);
	background: rgba(255, 255, 255, .03);
	font-style: italic;
	color: var(--fbpp-txt2);
}

body.fbpp-v12 .product-footer blockquote::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: var(--fbpp-r-pill);
	background: linear-gradient(180deg, var(--fbpp-gold), var(--fbpp-red));
}

/* Related / upsell cards: soft lift + gold ring, no layout shift */
body.fbpp-v12 .related .product-small .box,
body.fbpp-v12 .upsells .product-small .box,
body.fbpp-v12 .product-section .product-small .box {
	border-radius: var(--fbpp-r-xl);
	transition: transform .3s var(--fbpp-ease), box-shadow .3s ease;
}

body.fbpp-v12 .related .product-small .box:hover,
body.fbpp-v12 .upsells .product-small .box:hover,
body.fbpp-v12 .product-section .product-small .box:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(201, 164, 78, .35);
}

body.fbpp-v12 .related .product-small .box-image img,
body.fbpp-v12 .upsells .product-small .box-image img,
body.fbpp-v12 .product-section .product-small .box-image img {
	transition: transform .6s var(--fbpp-ease);
}

body.fbpp-v12 .related .product-small .box:hover .box-image img,
body.fbpp-v12 .upsells .product-small .box:hover .box-image img,
body.fbpp-v12 .product-section .product-small .box:hover .box-image img {
	transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════
   REVEAL SYSTEM (elements tagged by fbpp.js)
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .fbpp-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s var(--fbpp-ease), transform .6s var(--fbpp-ease);
	transition-delay: var(--fbpp-d, 0ms);
	will-change: opacity, transform;
}

body.fbpp-v12 .fbpp-reveal.in {
	opacity: 1;
	transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   KEYFRAMES + REDUCED MOTION
═══════════════════════════════════════════════════════ */
@keyframes fbppBar {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

@keyframes fbppFadeUp {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	body.fbpp-v12 .product-info .price,
	body.fbpp-v12 .product-info .product_title::after {
		animation: none !important;
	}
	body.fbpp-v12 .fbpp-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	body.fbpp-v12 .fbpp-save {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ── Mobile tune (< 600px) ── */
@media (max-width: 599px) {
	body.fbpp-v12 .fbpp-trust {
		gap: 8px;
	}
	body.fbpp-v12 .fbpp-trust-card {
		padding: 12px;
	}
	body.fbpp-v12 form.cart:not(.variations_form) {
		gap: 8px;
	}
}

/* ═══════════════════════════════════════════════════════
   COLLAPSIBLE DESCRIPTIONS (v1.1.0)
   Containers get .fbpp-clamp via JS; char limits live in fbpp.js CFG.
═══════════════════════════════════════════════════════ */
body.fbpp-v12 .fbpp-clamp {
	position: relative;
	overflow: hidden;
	transition: max-height .45s var(--fbpp-ease);
}

body.fbpp-v12 .fbpp-clamp.fbpp-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 56px;
	background: linear-gradient(180deg, rgba(10, 10, 12, 0), rgba(10, 10, 12, .96));
	pointer-events: none;
}

body.fbpp-v12 .fbpp-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 7px 12px !important;
	height: auto !important;
	min-height: 0 !important;
	border: 1px solid rgba(201, 164, 78, .30) !important;
	border-radius: var(--fbpp-r-pill) !important;
	background: rgba(201, 164, 78, .10) !important;
	box-shadow: none !important;
	color: var(--fbpp-gold2) !important;
	font-family: var(--fbpp-font) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .02em !important;
	text-transform: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform .17s var(--fbpp-ease), background .17s ease, border-color .17s ease;
}

body.fbpp-v12 .fbpp-more:hover {
	background: rgba(201, 164, 78, .18) !important;
	border-color: rgba(201, 164, 78, .50) !important;
	color: var(--fbpp-gold2) !important;
}

body.fbpp-v12 .fbpp-more:active {
	transform: scale(.96);
}

body.fbpp-v12 .fbpp-more:focus-visible {
	outline: 2px solid rgba(201, 164, 78, .50);
	outline-offset: 2px;
}

body.fbpp-v12 .fbpp-more svg {
	transition: transform .3s var(--fbpp-spring);
}

body.fbpp-v12 .fbpp-more[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	body.fbpp-v12 .fbpp-clamp {
		transition: none;
	}
}
