/* FlexPresets — Static single-product template */
.fp-prod-page { background: #fafaf8; color: #0a0a0a; }

/* Neutralize Flatsome's global button styles inside our template so our own
   padding/line-height/min-height aren't inflated by theme defaults. */
.fp-prod-page button {
	min-height: 0;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	font-weight: inherit;
	box-shadow: none;
}
.fp-prod { max-width: 1130px; margin: 0 auto; padding: 32px 16px 64px; }

.fp-prod__hero {
	display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .fp-prod__hero { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* ---- Gallery ---- */
.fp-prod__gallery { display: flex; flex-direction: column; }
.fp-prod__main {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 16px;
	background: rgba(0,0,0,.05);
	margin-bottom: 8px;
}
@media (min-width: 640px) { .fp-prod__main { border-radius: 24px; margin-bottom: 12px; } }
.fp-prod__main-img {
	width: 100% !important; height: 100% !important;
	max-width: 100% !important; aspect-ratio: auto !important;
	object-fit: cover; display: block;
	transition: opacity .25s ease;
}

.fp-prod__nav,
.fp-prod-page button.fp-prod__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 36px !important; height: 36px !important;
	min-height: 0 !important; line-height: 1 !important;
	border-radius: 9999px !important;
	background: rgba(255,255,255,.85) !important;
	backdrop-filter: blur(4px);
	box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
	border: 0 !important; cursor: pointer;
	color: rgba(0,0,0,.6) !important;
	padding: 0 !important; margin: 0 !important;
	display: flex !important; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .2s, background .2s;
	z-index: 2;
}
.fp-prod__nav svg {
	width: 16px !important; height: 16px !important;
	stroke: currentColor !important; fill: none !important;
	display: block !important;
}
.fp-prod__main:hover .fp-prod__nav { opacity: 1; }
.fp-prod__nav:hover { background: #fff !important; }
.fp-prod__nav--prev { left: 12px; }
.fp-prod__nav--next { right: 12px; }

.fp-prod__thumbs {
	display: flex;
	gap: 8px;
	padding: 4px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.fp-prod__thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .fp-prod__thumbs { gap: 12px; } }
.fp-prod__thumb,
.fp-prod-page button.fp-prod__thumb {
	flex: 0 0 calc((100% - 24px) / 4);
	aspect-ratio: 1 / 1;
	background: transparent !important; border: 0 !important;
	padding: 0 !important; margin: 0 !important;
	min-height: 0 !important; line-height: 1 !important;
	box-shadow: none !important;
	border-radius: 12px; overflow: hidden;
	cursor: pointer; opacity: .5;
	transition: opacity .2s, box-shadow .2s;
}
@media (min-width: 640px) { .fp-prod__thumb { flex-basis: calc((100% - 36px) / 4); } }
.fp-prod__thumb img { width: 100% !important; height: 100% !important; max-width: 100% !important; aspect-ratio: auto !important; object-fit: cover; display: block; }
.fp-prod__thumb:hover { opacity: .85; }
.fp-prod__thumb.is-active,
.fp-prod-page button.fp-prod__thumb.is-active {
	opacity: 1 !important;
	box-shadow: 0 0 0 2px #fafaf8, 0 0 0 4px #b8976d !important;
}

/* ---- Info column ---- */
.fp-prod__info { display: flex; flex-direction: column; }
.fp-prod__tag {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 12px; border-radius: 9999px;
	background: rgba(184,151,109,.1);
	color: #b8976d;
	font-size: 12px; font-weight: 500;
	margin-bottom: 12px;
}
.fp-prod__title {
	font-size: 32px; font-weight: 700;
	letter-spacing: -.02em; line-height: 1.05;
	margin: 0 0 12px;
}
@media (min-width: 768px) { .fp-prod__title { font-size: 44px; } }
.fp-prod__desc { color: rgba(0,0,0,.5); font-size: 15px; line-height: 1.7; margin: 0 0 24px; }

.fp-prod__chars {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 8px; margin-bottom: 24px;
}
.fp-prod__char {
	padding: 12px; border-radius: 12px;
	background: #fff; border: 1px solid rgba(0,0,0,.05);
	text-align: center;
}
.fp-prod__char-label { margin: 0 0 2px; font-size: 10px; color: rgba(0,0,0,.3); }
.fp-prod__char-value { margin: 0; font-size: 12px; font-weight: 500; }

.fp-prod__sublabel {
	font-size: 11px; font-weight: 500;
	color: rgba(0,0,0,.4);
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0 0 8px;
}

.fp-prod__variants {
	display: flex; flex-direction: column; gap: 8px;
	margin-bottom: 24px;
}
.fp-prod__variant,
.fp-prod-page button.fp-prod__variant {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 16px !important; border-radius: 12px;
	border: 0 !important; cursor: pointer;
	background: rgba(0,0,0,.03);
	color: rgba(0,0,0,.6) !important;
	font-size: 14px !important; font-weight: 500 !important;
	min-height: 0 !important; line-height: 1.5 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	transition: background .2s, color .2s;
}
.fp-prod__variant:hover { background: rgba(0,0,0,.06); }
.fp-prod__variant.is-active,
.fp-prod-page button.fp-prod__variant.is-active {
	background: #000 !important; color: #fff !important;
}
.fp-prod__variant-label { display: inline-flex; align-items: center; gap: 8px; }
.fp-prod__variant-badge {
	font-size: 10px; padding: 2px 8px; border-radius: 9999px;
	background: rgba(184,151,109,.1); color: #b8976d;
	font-weight: 500;
}
.fp-prod__variant.is-active .fp-prod__variant-badge { background: #b8976d; color: #fff; }
.fp-prod__variant-count { font-size: 13px; }

.fp-prod__price-wrap { margin-bottom: 24px; }
.fp-prod__price-row { display: flex; align-items: baseline; gap: 12px; }
.fp-prod__price { font-size: 28px; font-weight: 700; color: #0a0a0a; }
.fp-prod__price-regular { font-size: 18px; color: rgba(0,0,0,.3); text-decoration: line-through; }
.fp-prod__price-note { margin: 4px 0 0; font-size: 12px; color: rgba(0,0,0,.4); }

/* ATC — match the cart/checkout look (override Flatsome button min-height) */
.fp-prod__atc,
.fp-prod-page button.fp-prod__atc {
	width: 100%;
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px; padding: 16px 24px !important;
	background: #000 !important; color: #fff !important;
	border: 0 !important; cursor: pointer;
	border-radius: 9999px !important;
	font-size: 14px !important; font-weight: 500 !important;
	min-height: 0 !important; line-height: 1.5 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	transition: background .2s, transform .15s;
}
.fp-prod__atc:hover { background: rgba(0,0,0,.85) !important; transform: scale(1.02); }
.fp-prod__atc:active { transform: scale(.98); }

.fp-prod__trust {
	display: flex; align-items: center; justify-content: center;
	gap: 16px; margin-top: 16px; padding-top: 16px;
	border-top: 1px solid rgba(0,0,0,.05);
}
.fp-prod__trust span {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px; color: rgba(0,0,0,.3);
}

.fp-prod__faqs { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(0,0,0,.05); }
.fp-prod__faqs .fp-prod__sublabel { margin-bottom: 12px; }
.fp-faq + .fp-faq { border-top: 1px solid rgba(0,0,0,.05); }
.fp-faq__q,
.fp-prod-page button.fp-faq__q {
	width: 100%; padding: 18px 0 !important;
	background: transparent !important; border: 0 !important; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between;
	font-size: 14px !important; font-weight: 500 !important; color: #0a0a0a !important;
	text-align: left;
	min-height: 0 !important; line-height: 1.3 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}
@media (min-width: 640px) { .fp-faq__q { font-size: 15px; } }
.fp-faq__icon {
	width: 24px; height: 24px; flex-shrink: 0;
	border-radius: 9999px;
	background: rgba(0,0,0,.05);
	color: rgba(0,0,0,.4);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background .2s, color .2s, transform .2s;
}
.fp-faq.is-open .fp-faq__icon { background: rgba(184,151,109,.1); color: #b8976d; transform: rotate(45deg); }
.fp-faq__a {
	max-height: 0; overflow: hidden;
	transition: max-height .25s ease;
}
.fp-faq.is-open .fp-faq__a { max-height: 600px; }
.fp-faq__a p {
	padding: 0 0 18px; margin: 0;
	font-size: 13.5px; color: rgba(0,0,0,.5); line-height: 1.7;
	white-space: pre-line;
}

/* ---- Bundle upsell ---- */
.fp-prod__upsell { padding: 48px 0 0; border-top: 1px solid rgba(0,0,0,.05); margin-top: 32px; }
.fp-prod__upsell-card {
	position: relative; overflow: hidden;
	background: #000; color: #fff;
	border-radius: 24px;
	padding: 24px;
}
@media (min-width: 768px) { .fp-prod__upsell-card { padding: 48px; border-radius: 28px; } }
.fp-prod__upsell-blob {
	position: absolute; border-radius: 9999px;
	filter: blur(60px); pointer-events: none;
}
.fp-prod__upsell-blob--a { top: 0; right: 0; width: 256px; height: 256px; background: rgba(184,151,109,.2); }
.fp-prod__upsell-blob--b { bottom: 0; left: 0; width: 192px; height: 192px; background: rgba(184,151,109,.1); }
.fp-prod__upsell-inner {
	position: relative; z-index: 1;
	display: flex; flex-direction: column;
	gap: 24px; align-items: center;
}
@media (min-width: 768px) {
	.fp-prod__upsell-inner {
		display: grid; grid-template-columns: 1fr 1fr;
		gap: 32px; align-items: center;
	}
}
.fp-prod__upsell-img { display: none; }
@media (min-width: 768px) {
	.fp-prod__upsell-img { display: flex; justify-content: center; }
	.fp-prod__upsell-img img { width: 220px !important; height: auto !important; max-width: 220px !important; aspect-ratio: auto !important; filter: drop-shadow(0 24px 40px rgba(0,0,0,.4)); }
}
.fp-prod__upsell-img--m { display: flex; justify-content: center; margin-bottom: 16px; }
.fp-prod__upsell-img--m img { width: 128px !important; height: auto !important; max-width: 128px !important; aspect-ratio: auto !important; filter: drop-shadow(0 16px 30px rgba(0,0,0,.4)); transform: translateX(-8px); }
@media (min-width: 768px) { .fp-prod__upsell-img--m { display: none; } }
.fp-prod__upsell-body { text-align: center; }
@media (min-width: 768px) { .fp-prod__upsell-body { text-align: left; } }
.fp-prod__upsell-eyebrow { margin: 0 0 8px; color: #b8976d !important; font-size: 14px; font-weight: 500; }
.fp-prod__upsell-card .fp-prod__upsell-title,
h2.fp-prod__upsell-title { margin: 0 0 8px; color: #fff !important; font-size: 24px; font-weight: 700; }
@media (min-width: 640px) { .fp-prod__upsell-title { font-size: 30px; margin-bottom: 12px; } }
.fp-prod__upsell-desc { margin: 0 0 16px; color: rgba(255,255,255,.55) !important; font-size: 14px; line-height: 1.6; }
@media (min-width: 640px) { .fp-prod__upsell-desc { font-size: 16px; margin-bottom: 24px; } }
.fp-prod__upsell-prices {
	display: flex; align-items: baseline; gap: 12px;
	justify-content: center; margin-bottom: 16px;
}
@media (min-width: 768px) {
	.fp-prod__upsell-prices { justify-content: flex-start; margin-bottom: 24px; }
}
.fp-prod__upsell-regular { color: rgba(255,255,255,.35) !important; text-decoration: line-through; font-size: 14px; }
@media (min-width: 640px) { .fp-prod__upsell-regular { font-size: 16px; } }
.fp-prod__upsell-price { font-size: 24px; font-weight: 700; color: #fff !important; }
@media (min-width: 640px) { .fp-prod__upsell-price { font-size: 30px; } }
.fp-prod__upsell-cta {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 24px;
	background: #b8976d !important; color: #fff !important;
	border-radius: 9999px;
	font-size: 14px; font-weight: 500;
	text-decoration: none !important;
	transition: background .2s;
}
.fp-prod__upsell-cta:hover { background: #a0845f !important; }

/* ---- Before/after compare grid ---- */
.fp-prod__compare { padding: 48px 0 0; border-top: 1px solid rgba(0,0,0,.05); margin-top: 32px; }
.fp-prod__compare-grid {
	display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .fp-prod__compare-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.fp-prod__ba {
	position: relative; aspect-ratio: 1 / 1;
	border-radius: 16px; overflow: hidden;
	box-shadow: 0 10px 28px -16px rgba(0,0,0,.18);
	user-select: none; touch-action: none;
	cursor: ew-resize;
	background: #f1f1f1;
}
.fp-prod__ba img {
	position: absolute; inset: 0;
	width: 100% !important; height: 100% !important;
	max-width: 100% !important; aspect-ratio: auto !important;
	object-fit: cover;
	display: block; pointer-events: none;
	-webkit-user-drag: none;
}
.fp-prod__ba-after { clip-path: inset(0 var(--fp-clip, 67%) 0 0); }
.fp-prod__ba-handle {
	position: absolute; top: 0; bottom: 0;
	left: var(--fp-pos, 33%);
	width: 2px; background: #fff;
	transform: translateX(-50%);
	box-shadow: 0 0 0 1px rgba(0,0,0,.15);
	pointer-events: none;
}
.fp-prod__ba-knob {
	position: absolute; top: 50%; left: 50%;
	width: 36px; height: 36px; border-radius: 9999px;
	background: #fff;
	transform: translate(-50%, -50%);
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
	display: flex; align-items: center; justify-content: center;
}
.fp-prod__ba-knob::before, .fp-prod__ba-knob::after {
	content: ""; width: 0; height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
}
.fp-prod__ba-knob::before { border-right: 5px solid #0a0a0a; margin-right: 4px; }
.fp-prod__ba-knob::after  { border-left: 5px solid #0a0a0a;  margin-left: 4px; }
