/* Ecom Onepage — landing layout for one-product stores. */
:root {
	--ecom-accent: #b4532a;
	--ecom-accent-ink: #fff;
	--ecom-ink: #1f1a17;
	--ecom-muted: #6b625c;
	--ecom-soft: #faf5f0;
	--ecom-line: #e8e0d8;
	--ecom-radius: 14px;
}

.ecom-announce {
	background: var(--ecom-ink);
	color: #fff;
	text-align: center;
	font-size: .85rem;
	letter-spacing: .02em;
	padding: .55em 1em;
}

/* Buy box */
.ecom-lp div.product .product_title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.ecom-lp div.product p.price,
.ecom-lp div.product span.price { font-size: 1.6rem; color: var(--ecom-ink); display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }
.ecom-lp div.product .price del { color: var(--ecom-muted); font-size: .7em; opacity: .8; }
.ecom-lp div.product .price ins { text-decoration: none; font-weight: 700; }
.ecom-save {
	background: var(--ecom-accent);
	color: var(--ecom-accent-ink);
	font-size: .8rem;
	font-weight: 700;
	border-radius: 999px;
	padding: .25em .7em;
}
.ecom-lp .woocommerce-product-details__short-description ul { list-style: none; margin: 0 0 1em; padding: 0; }
.ecom-lp .woocommerce-product-details__short-description li { padding: .25em 0 .25em 1.6em; position: relative; }
.ecom-lp .woocommerce-product-details__short-description li::before { content: "✓"; position: absolute; left: 0; color: var(--ecom-accent); font-weight: 700; }
.ecom-lp .single_add_to_cart_button,
.ecom-sticky__btn {
	background: var(--ecom-accent) !important;
	color: var(--ecom-accent-ink) !important;
	border-radius: 10px !important;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.ecom-lp form.cart .quantity,
.ecom-lp .reset_variations,
.ecom-lp span.onsale,
.ecom-lp .woocommerce-breadcrumb,
.ecom-lp .kadence-breadcrumbs,
.ecom-lp.home .entry-hero,
.ecom-lp.home .page-hero-section,
.ecom-lp .product_meta { display: none !important; }
.ecom-lp form.cart .single_add_to_cart_button { width: 100%; padding: 1em; font-size: 1.05rem; }
.ecom-lp .variations td, .ecom-lp .variations th { padding-bottom: .4em; }
.ecom-lp .ecom-trust { margin: 1em 0; padding: .9em 1em; border: 1px solid var(--ecom-line); border-radius: 10px; font-size: .9em; }
.ecom-lp .ecom-trust__list { list-style: none; margin: 0 0 .6em; padding: 0; display: flex; flex-wrap: wrap; gap: .4em 1.2em; }
.ecom-lp .ecom-trust__pay { display: flex; flex-wrap: wrap; gap: .4em; }
.ecom-lp .ecom-trust__badge { border: 1px solid #d0d0d0; border-radius: 4px; padding: .15em .5em; font-weight: 600; font-size: .85em; }
.ecom-delivery { display: flex; align-items: center; gap: .6em; color: var(--ecom-muted); font-size: .92rem; margin: .4em 0 1em; }
.ecom-delivery .ecom-icon { color: var(--ecom-accent); flex: none; }

/* Sections */
.ecom-landing { clear: both; }
.ecom-sec { padding: clamp(2rem, 5vw, 4rem) 0; border-top: 1px solid var(--ecom-line); }
.ecom-sec h2 { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1.2em; }
.ecom-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; padding: 0; }
.ecom-benefit { background: var(--ecom-soft); border-radius: var(--ecom-radius); padding: 1.4rem; text-align: center; }
.ecom-benefit .ecom-icon { color: var(--ecom-accent); width: 36px; height: 36px; }
.ecom-benefit h3 { font-size: 1.05rem; margin: .6em 0 .3em; }
.ecom-benefit p { color: var(--ecom-muted); margin: 0; font-size: .95rem; }

.ecom-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.ecom-feature.is-reversed .ecom-feature__media { order: 2; }
.ecom-feature__media img { width: 100%; height: auto; border-radius: var(--ecom-radius); display: block; }
.ecom-feature__body h2 { text-align: left; margin-bottom: .5em; }
.ecom-feature__body p { color: var(--ecom-muted); font-size: 1.05rem; line-height: 1.7; }

.ecom-steps ol { list-style: none; counter-reset: step; }
.ecom-steps li { counter-increment: step; text-align: center; padding: 1.2rem; }
.ecom-steps li::before {
	content: counter(step);
	display: inline-grid;
	place-items: center;
	width: 2.4em;
	height: 2.4em;
	border-radius: 50%;
	background: var(--ecom-accent);
	color: var(--ecom-accent-ink);
	font-weight: 700;
	margin-bottom: .6em;
}
.ecom-steps h3 { font-size: 1.05rem; margin: 0 0 .3em; }
.ecom-steps p { color: var(--ecom-muted); margin: 0; }

.ecom-specs table { max-width: 640px; margin: 0 auto; border-collapse: collapse; width: 100%; }
.ecom-specs th, .ecom-specs td { padding: .75em 1em; border-bottom: 1px solid var(--ecom-line); text-align: left; }
.ecom-specs th { width: 40%; color: var(--ecom-muted); font-weight: 600; }

.ecom-guarantee { display: flex; gap: 1.2rem; align-items: center; justify-content: center; background: var(--ecom-soft); border-radius: var(--ecom-radius); padding: 2rem; border: 0; margin: 2rem 0; }
.ecom-guarantee .ecom-icon { width: 56px; height: 56px; color: var(--ecom-accent); flex: none; }
.ecom-guarantee h2 { text-align: left; margin: 0 0 .3em; font-size: 1.3rem; }
.ecom-guarantee p { margin: 0; color: var(--ecom-muted); }

.ecom-faq details { max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--ecom-line); }
.ecom-faq summary { cursor: pointer; padding: 1em 2em 1em 0; font-weight: 600; list-style: none; position: relative; }
.ecom-faq summary::-webkit-details-marker { display: none; }
.ecom-faq summary::after { content: "+"; position: absolute; right: .2em; top: .8em; font-size: 1.3em; color: var(--ecom-accent); }
.ecom-faq details[open] summary::after { content: "–"; }
.ecom-faq details > div { padding: 0 0 1em; color: var(--ecom-muted); }

/* Sticky bar (mobile) */
.ecom-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
}
.ecom-sticky[hidden] { display: none; }
.ecom-sticky__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ecom-sticky__title { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecom-sticky__price { font-weight: 700; }
.ecom-sticky__btn { padding: .8em 1.4em; border: 0; }

@media (max-width: 768px) {
	.ecom-feature { grid-template-columns: 1fr; }
	.ecom-feature.is-reversed .ecom-feature__media { order: 0; }
	.ecom-guarantee { flex-direction: column; text-align: center; }
	.ecom-guarantee h2 { text-align: center; }
	body.ecom-has-sticky { padding-bottom: 72px; }
}
@media (min-width: 769px) {
	.ecom-sticky { display: none !important; }
}
