/* Ember product detail page.
 * Loaded only on single product pages, after ember.css. Mirrors the public
 * ember.com PDP: gallery + sticky buy box, story sections, specs, cross-sell,
 * FAQ and a sticky add-to-cart bar. */

.ember-pdp-body {
	--ember-pdp-gray: #f4f4f2;
	--ember-pdp-line: rgba(38, 38, 38, .14);
	--ember-pdp-header: 100px;
	--ember-pdp-radius: 8px;
}
.ember-pdp-body.admin-bar { --ember-pdp-admin: 32px; }

body.ember-site main.ember-pdp-main { background: #fff; color: var(--ember-ink); }
.ember-pdp-main *, .ember-pdp-main *::before, .ember-pdp-main *::after { box-sizing: border-box; }
.ember-pdp-main img { display: block; max-width: 100%; height: auto; }
.ember-pdp-main figure { margin: 0; }
.ember-pdp-main h1, .ember-pdp-main h2, .ember-pdp-main h3 { color: inherit; letter-spacing: 0; }
.ember-pdp { margin: 0; }

/* Notices */
.ember-pdp-notices:empty, .ember-pdp-notices .woocommerce-notices-wrapper:empty { display: none; }
.ember-pdp-notices { padding-top: 20px; }
.ember-pdp-main .woocommerce-message,
.ember-pdp-main .woocommerce-info,
.ember-pdp-main .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 0 12px; padding: 14px 18px; border: 0; border-left: 3px solid var(--ember-orange);
	border-radius: 6px; background: var(--ember-sand); color: var(--ember-ink); font-size: 15px; list-style: none;
}
.ember-pdp-main .woocommerce-error { border-left-color: #b3282d; }
.ember-pdp-main .woocommerce-message::before,
.ember-pdp-main .woocommerce-info::before,
.ember-pdp-main .woocommerce-error::before { display: none; }
.ember-pdp-main .woocommerce-message .button {
	order: 2; float: none; padding: 8px 14px; border-radius: 6px; background: var(--ember-ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}

/* Shared section typography */
.ember-pdp-section { padding-block: 80px; }
.ember-pdp-kicker {
	margin: 0 0 14px; color: var(--ember-orange); font-family: var(--ember-sans);
	font-size: 16.2px; font-weight: 700; letter-spacing: .075em; line-height: 1.2; text-transform: uppercase;
}
.ember-pdp-section h2 {
	margin: 0; font-family: var(--ember-serif); font-size: clamp(34px, 3.6vw, 52px); font-weight: 400; line-height: 1.04;
}
.ember-pdp-lead { max-width: 560px; margin: 18px 0 0; color: var(--ember-muted); font-size: 18px; line-height: 1.5; }
.ember-pdp-lead strong { color: var(--ember-ink); font-weight: 600; }
.ember-pdp-head { max-width: 720px; margin-bottom: 44px; }
.ember-pdp-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.ember-pdp-arrow-link {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--ember-ink);
	font-size: 17px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.ember-pdp-arrow-link:hover, .ember-pdp-arrow-link:focus-visible { color: var(--ember-orange); }
.ember-pdp-icon { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero: gallery + buy box ---------- */
.ember-pdp-hero { padding: 32px 0 80px; }
.ember-pdp-hero__inner {
	display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(360px, 1fr); gap: clamp(32px, 4.5vw, 72px);
	align-items: start; width: min(1440px, calc(100% - 56px)); margin-inline: auto;
}

/* Gallery: one image at a time, filtered to the selected variant (see ember_pdp_render_gallery). */
.ember-pdp-gallery { position: relative; min-width: 0; }
.ember-pdp-media { position: relative; }
.ember-pdp-media [hidden] { display: none !important; }
.ember-pdp-media__stage {
	position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--ember-pdp-radius);
	background: var(--ember-pdp-gray); touch-action: pan-y;
}
.ember-pdp-media__slide { position: absolute; inset: 0; display: none; margin: 0; }
.ember-pdp-media__slide.is-active { display: block; animation: ember-pdp-fade .35s ease; }
.ember-pdp-media__slide img {
	display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; mix-blend-mode: multiply;
}
@keyframes ember-pdp-fade { from { opacity: 0; } to { opacity: 1; } }
.ember-pdp-media .ember-pdp-media__nav {
	position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
	color: var(--ember-ink); line-height: 0; cursor: pointer; transition: background-color .2s ease, transform .2s ease;
}
.ember-pdp-media .ember-pdp-media__nav:hover,
.ember-pdp-media .ember-pdp-media__nav:focus { background: #fff; color: var(--ember-ink); }
.ember-pdp-media .ember-pdp-media__nav:focus-visible { outline: 2px solid var(--ember-orange); outline-offset: 2px; }
.ember-pdp-media .ember-pdp-media__nav:active { transform: scale(.94); }
.ember-pdp-media__nav--prev { left: 16px; }
.ember-pdp-media__nav--next { right: 16px; }
.ember-pdp-media__nav svg { display: block; width: 20px; height: 20px; }
.ember-pdp-media__count {
	position: absolute; z-index: 3; top: 16px; left: 16px; padding: 5px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .92); color: var(--ember-ink); font-family: var(--ember-mono); font-size: 12px; line-height: 1.2;
}
.ember-pdp-media__thumbs {
	display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.ember-pdp-media__thumbs::-webkit-scrollbar { display: none; }
.ember-pdp-media .ember-pdp-media__thumb {
	display: block; flex: 0 0 84px; width: 84px; height: 84px; margin: 0; padding: 0; overflow: hidden;
	border: 1px solid transparent; border-radius: 6px; background: var(--ember-pdp-gray); cursor: pointer; transition: border-color .2s ease;
}
.ember-pdp-media .ember-pdp-media__thumb:hover,
.ember-pdp-media .ember-pdp-media__thumb:focus { border-color: rgba(38, 38, 38, .35); background: var(--ember-pdp-gray); }
.ember-pdp-media .ember-pdp-media__thumb.is-active { border-color: var(--ember-ink); }
.ember-pdp-media .ember-pdp-media__thumb:focus-visible { outline: 2px solid var(--ember-orange); outline-offset: 2px; }
.ember-pdp-media__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

/* Summary / buy box */
.ember-pdp-summary { position: sticky; top: calc(var(--ember-pdp-header) + var(--ember-pdp-admin, 0px) + 24px); min-width: 0; width: auto !important; float: none !important; margin: 0 !important; }
.ember-pdp-summary__inner { max-width: 520px; }
.ember-pdp-title.product_title {
	margin: 0; padding: 0; font-family: var(--ember-serif); font-size: clamp(34px, 3.1vw, 46px); font-weight: 400; line-height: 1.06;
}
.ember-pdp-summary .ember-pdp-price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 12px 0 0; color: var(--ember-ink) !important;
	font-family: var(--ember-sans); font-size: 20px; font-weight: 500; line-height: 1.3;
}
.ember-pdp-price del { color: var(--ember-muted); font-weight: 400; opacity: 1; }
.ember-pdp-price ins { background: none; color: var(--ember-orange); font-weight: 600; text-decoration: none; }
.ember-pdp-price__code { font-size: inherit; }
.ember-pdp-trust {
	display: flex; flex-wrap: wrap; gap: 4px 0; margin: 10px 0 0; padding: 0; color: var(--ember-muted); font-size: 14px; line-height: 1.4; list-style: none;
}
.ember-pdp-trust li { margin: 0; }
.ember-pdp-trust li + li::before { content: "·"; padding-inline: 8px; }

/* Cart form */
.ember-pdp-summary form.cart { display: block; margin: 28px 0 0; padding: 0; }
.ember-pdp-summary form.cart::before, .ember-pdp-summary form.cart::after { display: none; }
/* WooCommerce's selects stay in the form for submission; the swatches and pills drive them. */
.ember-pdp-summary table.variations {
	position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important;
	clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap; border: 0 !important; margin: 0 !important;
}
.ember-pdp-summary .reset_variations { display: none !important; }

.ember-pdp-option { margin: 0 0 22px; }
.ember-pdp-option__label { margin: 0 0 12px; color: var(--ember-ink); font-size: 16px; line-height: 1.3; }
.ember-pdp-option__label span { font-weight: 600; }
.ember-pdp-option__label strong { color: var(--ember-muted); font-weight: 400; }
.ember-pdp-option__list { display: flex; flex-wrap: wrap; gap: 10px; }
.ember-pdp-option--pill .ember-pdp-option__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.ember-pdp-swatch {
	position: relative; display: grid; place-items: center; width: 38px; height: 38px; margin: 0; padding: 0;
	border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .15s ease;
}
.ember-pdp-swatch__dot {
	display: block; width: 30px; height: 30px; border-radius: 50%; background-position: center; background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.ember-pdp-swatch:hover,
.ember-pdp-swatch:focus { border-color: rgba(38, 38, 38, .35); background: transparent; color: inherit; }
.ember-pdp-swatch.is-selected { border-color: var(--ember-ink); box-shadow: inset 0 0 0 1px var(--ember-ink); }
.ember-pdp-swatch.is-unavailable::after {
	content: ""; position: absolute; top: 50%; left: 4px; right: 4px; height: 1.5px; background: rgba(38, 38, 38, .6); transform: rotate(-45deg);
}
.ember-pdp-pill {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; margin: 0;
	padding: 10px 16px; border: 1px solid var(--ember-pdp-line); border-radius: 6px; background: #fff; color: var(--ember-ink);
	font: inherit; font-size: 15px; line-height: 1.25; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.ember-pdp-pill strong { font-weight: 600; }
.ember-pdp-pill span { color: var(--ember-muted); font-size: 13.5px; }
.ember-pdp-pill:hover,
.ember-pdp-pill:focus { border-color: rgba(38, 38, 38, .45); background: #fff; color: var(--ember-ink); }
.ember-pdp-pill.is-selected { border-color: var(--ember-ink); box-shadow: inset 0 0 0 1px var(--ember-ink); }
/* Not buyable with the other choices: still clickable, it switches them to a combination that is. */
.ember-pdp-pill.is-unavailable { border-style: dashed; color: var(--ember-muted); }
.ember-pdp-pill.is-unavailable strong { font-weight: 500; }
.ember-pdp-pill.is-selected.is-unavailable { border-style: solid; }
.ember-pdp-swatch:focus-visible, .ember-pdp-pill:focus-visible { outline: 2px solid var(--ember-orange); outline-offset: 2px; }

/* Chips + promo, printed inside the form before the button */
.ember-pdp-chips {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 16px; padding: 0; list-style: none;
}
.ember-pdp-chips li {
	display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 12px 12px; border-radius: 6px; background: var(--ember-pdp-gray);
	text-align: center;
}
.ember-pdp-chips strong { font-size: 16px; font-weight: 600; line-height: 1.2; }
.ember-pdp-chips span { color: var(--ember-muted); font-size: 13px; line-height: 1.3; }
.ember-pdp-promo {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 6px;
	background: var(--ember-sand); color: var(--ember-ink); font-size: 15px; line-height: 1.35;
}
.ember-pdp-promo .ember-pdp-icon { color: var(--ember-orange); }
.ember-pdp-promo strong { font-weight: 600; }

/* Variation output: price is shown at the top, keep stock messages only. */
.ember-pdp-summary .single_variation_wrap { margin: 0; }
.ember-pdp-summary .woocommerce-variation-price { display: none !important; }
.ember-pdp-summary .woocommerce-variation-description { margin-bottom: 12px; color: var(--ember-muted); font-size: 14px; }
.ember-pdp-summary .woocommerce-variation-description p { margin: 0; }
.ember-pdp-summary .stock { margin: 0 0 12px; color: var(--ember-muted); font-size: 14px; }
.ember-pdp-summary .stock.out-of-stock { color: #b3282d; }
.ember-pdp-summary .woocommerce-variation-add-to-cart,
.ember-pdp-summary form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 0; }
.ember-pdp-summary .quantity {
	position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; margin: 0 !important;
}
.ember-pdp-summary .single_add_to_cart_button,
.ember-pdp-summary .single_add_to_cart_button.button.alt {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin: 0; padding: 14px 24px; float: none;
	border: 0; border-radius: 6px; background: var(--ember-orange) !important; color: #fff !important;
	font-family: var(--ember-sans); font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
	cursor: pointer; transition: background-color .2s ease;
}
.ember-pdp-summary .single_add_to_cart_button:hover,
.ember-pdp-summary .single_add_to_cart_button:focus-visible { background: var(--ember-orange-dark) !important; }
.ember-pdp-summary .single_add_to_cart_button.disabled,
.ember-pdp-summary .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }
.ember-pdp-summary .single_add_to_cart_button.loading { opacity: .7; }
.ember-pdp-summary .single_add_to_cart_button.loading::after { display: none; }
.ember-pdp-summary .added_to_cart { display: block; width: 100%; margin-top: 10px; font-size: 14px; font-weight: 600; text-align: center; }
.ember-pdp-summary form.cart .group_table { width: 100%; margin-bottom: 16px; }
.ember-pdp-summary form.cart .group_table .quantity { position: static !important; width: auto !important; height: auto !important; clip: auto !important; }
.ember-pdp-summary > .ember-pdp-summary__inner > .stock { margin-top: 20px; }

.ember-pdp-assurances {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 14px 0 0; padding: 0; color: var(--ember-muted); font-size: 14px; list-style: none;
}
.ember-pdp-assurances li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.ember-pdp-assurances .ember-pdp-icon { width: 18px; height: 18px; }

/* Short story */
.ember-pdp-intro { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ember-pdp-line); }
.ember-pdp-intro__heading { margin: 0 0 12px; font-family: var(--ember-serif); font-size: 24px; font-weight: 400; line-height: 1.2; }
.ember-pdp-intro__body { color: var(--ember-muted); font-size: 16px; line-height: 1.55; }
.ember-pdp-intro__body p { margin: 0 0 12px; }
.ember-pdp-intro__list { margin-top: 18px; }
.ember-pdp-intro__list > p { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.ember-pdp-intro__list ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ember-pdp-intro__list li { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--ember-ink); font-size: 15px; line-height: 1.4; }
.ember-pdp-intro__list .ember-pdp-icon { width: 18px; height: 18px; color: var(--ember-orange); }
.ember-pdp-intro__link {
	display: inline-block; margin-top: 20px; color: var(--ember-ink); font-size: 15px; font-weight: 600;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.ember-pdp-intro__link:hover { color: var(--ember-orange); }

/* ---------- Three reasons (dark) ---------- */
.ember-pdp-reasons { background: var(--ember-night); color: #fff; }
.ember-pdp-reasons .ember-pdp-lead { color: rgba(255, 255, 255, .78); }
.ember-pdp-reasons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ember-pdp-reason { margin: 0; }
.ember-pdp-reason figure { overflow: hidden; border-radius: var(--ember-pdp-radius); background: #3a3a3a; }
.ember-pdp-reason img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.ember-pdp-reason:hover img { transform: scale(1.03); }
.ember-pdp-reason__index { display: block; margin: 22px 0 8px; color: var(--ember-orange); font-family: var(--ember-mono); font-size: 14px; }
.ember-pdp-reason h3 { margin: 0 0 8px; font-family: var(--ember-serif); font-size: 26px; font-weight: 400; line-height: 1.15; }
.ember-pdp-reason p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.5; }

/* ---------- Community videos ---------- */
.ember-pdp-community__track {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none;
}
.ember-pdp-clip { margin: 0; }
.ember-pdp-clip__media { position: relative; overflow: hidden; border-radius: var(--ember-pdp-radius); background: var(--ember-pdp-gray); aspect-ratio: 9 / 16; }
.ember-pdp-clip__media video, .ember-pdp-clip__media img { width: 100%; height: 100%; object-fit: cover; }
.ember-pdp-clip__handle {
	position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55);
	color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px);
}
.ember-pdp-clip p { margin: 12px 0 0; font-size: 16px; line-height: 1.4; }

/* ---------- Split sections ---------- */
.ember-pdp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ember-pdp-split--reverse .ember-pdp-split__media { order: -1; }
.ember-pdp-split__media { overflow: hidden; border-radius: var(--ember-pdp-radius); background: var(--ember-pdp-gray); }
.ember-pdp-split__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ember-pdp-battery { background: var(--ember-sand); }
.ember-pdp-battery__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.ember-pdp-battery__panel { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--ember-pdp-radius); background: #fff; }
.ember-pdp-battery__panel span { color: var(--ember-muted); font-size: 15px; }
.ember-pdp-battery__panel strong { font-family: var(--ember-serif); font-size: clamp(34px, 3.4vw, 48px); font-weight: 400; line-height: 1; }
.ember-pdp-battery__panel i {
	position: relative; display: block; height: 6px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: rgba(38, 38, 38, .1);
}
.ember-pdp-battery__panel i::after {
	content: ""; position: absolute; inset: 0 auto 0 0; width: var(--ember-pdp-fill, 100%); border-radius: inherit; background: var(--ember-orange);
}
.ember-pdp-note { margin: 16px 0 0; color: var(--ember-muted); font-size: 13.5px; line-height: 1.45; }
.ember-pdp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid var(--ember-pdp-line); list-style: none; }
.ember-pdp-features li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; }
.ember-pdp-features .ember-pdp-icon { color: var(--ember-orange); }

/* ---------- Technology (dark) ---------- */
.ember-pdp-technology { background: var(--ember-night); color: #fff; }
.ember-pdp-technology .ember-pdp-lead { color: rgba(255, 255, 255, .78); }
.ember-pdp-technology .ember-pdp-arrow-link { color: #fff; }
.ember-pdp-technology .ember-pdp-arrow-link:hover { color: var(--ember-orange); }
.ember-pdp-technology__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 44px; }
.ember-pdp-technology__top .ember-pdp-lead { margin-top: 0; }
.ember-pdp-technology__media { overflow: hidden; border-radius: var(--ember-pdp-radius); }
.ember-pdp-technology__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.ember-pdp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.ember-pdp-stats li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--ember-pdp-radius); background: rgba(255, 255, 255, .04); }
.ember-pdp-stats strong { font-family: var(--ember-serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.05; }
.ember-pdp-stats span { color: rgba(255, 255, 255, .72); font-size: 15px; }

/* ---------- Specs ---------- */
.ember-pdp-specs { scroll-margin-top: calc(var(--ember-pdp-header) + var(--ember-pdp-admin, 0px)); }
.ember-pdp-specs__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ember-pdp-specs__intro figure { overflow: hidden; margin-top: 32px; border-radius: var(--ember-pdp-radius); background: var(--ember-pdp-gray); }
.ember-pdp-specs__intro img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.ember-pdp-specs__description { margin-bottom: 28px; color: var(--ember-muted); font-size: 17px; line-height: 1.6; }
.ember-pdp-specs__description > :first-child { margin-top: 0; }
.ember-pdp-specs__description img { height: auto; border-radius: var(--ember-pdp-radius); }
.ember-pdp-specs__table { margin: 0; border-top: 1px solid var(--ember-pdp-line); }
.ember-pdp-specs__table > div { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--ember-pdp-line); }
.ember-pdp-specs__table dt { margin: 0; font-size: 16px; font-weight: 600; }
.ember-pdp-specs__table dd { margin: 0; color: var(--ember-muted); font-size: 16px; line-height: 1.5; }

/* ---------- Cross-sell ---------- */
.ember-pdp-cross { background: var(--ember-sand); }
.ember-pdp-cross .ember-pdp-arrow-link { margin-top: 0; white-space: nowrap; }
.ember-pdp-cross__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ember-pdp-card { margin: 0; }
.ember-pdp-card a { display: block; color: inherit; text-decoration: none; }
.ember-pdp-card figure { position: relative; overflow: hidden; border-radius: var(--ember-pdp-radius); background: #fff; }
.ember-pdp-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.ember-pdp-card a:hover img { transform: scale(1.03); }
.ember-pdp-card__tag {
	position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; background: var(--ember-ink); color: #fff;
	font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.ember-pdp-card h3 { margin: 16px 0 4px; font-family: var(--ember-serif); font-size: 24px; font-weight: 400; line-height: 1.15; }
.ember-pdp-card a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ember-pdp-card__price { margin: 0; color: var(--ember-ink); font-size: 16px; }
.ember-pdp-card__price del { color: var(--ember-muted); }
.ember-pdp-card__price ins { color: var(--ember-orange); background: none; text-decoration: none; font-weight: 600; }

/* ---------- FAQ ---------- */
.ember-pdp-faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ember-pdp-faq .ember-pdp-head { margin-bottom: 0; }
.ember-pdp-faq__list { border-top: 1px solid var(--ember-pdp-line); }
.ember-pdp-faq__item { border-bottom: 1px solid var(--ember-pdp-line); }
.ember-pdp-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none;
	font-size: 18px; font-weight: 600; line-height: 1.35;
}
.ember-pdp-faq__item summary::-webkit-details-marker { display: none; }
.ember-pdp-faq__item summary:hover { color: var(--ember-orange); }
.ember-pdp-faq__item summary .ember-pdp-icon { transition: transform .2s ease; }
.ember-pdp-faq__item[open] summary .ember-pdp-icon { transform: rotate(45deg); }
.ember-pdp-faq__answer { padding: 0 48px 22px 0; color: var(--ember-muted); font-size: 16px; line-height: 1.6; }
.ember-pdp-faq__answer p { margin: 0; }
.ember-pdp-faq__answer a { color: var(--ember-ink); text-decoration: underline; text-underline-offset: 3px; }

/* WooCommerce hooks after the summary (plugins); reviews are removed. */
.ember-pdp > .woocommerce-tabs, .ember-pdp #reviews, .ember-pdp .woocommerce-Reviews { display: none !important; }

/* ---------- Sticky add-to-cart bar ---------- */
.ember-pdp-sticky {
	position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--ember-pdp-line); background: rgba(255, 255, 255, .98);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .06); transform: translateY(105%); transition: transform .3s ease; visibility: hidden;
}
.ember-pdp-sticky.is-visible { transform: translateY(0); visibility: visible; }
.ember-pdp-sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1440px, calc(100% - 56px)); margin-inline: auto; padding-block: 12px; }
.ember-pdp-sticky__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ember-pdp-sticky__thumb { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 6px; background: var(--ember-pdp-gray); object-fit: contain; }
.ember-pdp-sticky__info > div { display: flex; flex-direction: column; min-width: 0; }
.ember-pdp-sticky__info strong { overflow: hidden; font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ember-pdp-sticky__info span { overflow: hidden; color: var(--ember-muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ember-pdp-sticky__button {
	display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 48px; padding: 12px 28px; border: 0; border-radius: 6px;
	background: var(--ember-orange); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .2s ease;
}
.ember-pdp-sticky__button:hover, .ember-pdp-sticky__button:focus-visible { background: var(--ember-orange-dark); }
.ember-pdp-sticky__button [data-ember-pdp-sticky-price]:empty,
.ember-pdp-sticky__button [data-ember-pdp-sticky-price]:empty ~ .ember-pdp-sticky__dot { display: none; }
body.ember-pdp-body .ember-footer { padding-bottom: 80px !important; }

/* ---------- woocommerce.css overrides ----------
 * WooCommerce's general stylesheet uses `.woocommerce div.product …` selectors
 * that outrank the component rules above, so restate the conflicting bits. */
.woocommerce div.product.ember-pdp .ember-pdp-summary p.price { margin: 12px 0 0; color: var(--ember-ink); font-size: 20px; }
.woocommerce div.product.ember-pdp .ember-pdp-summary p.price del { opacity: 1; color: var(--ember-muted); }
.woocommerce div.product.ember-pdp .ember-pdp-summary p.price ins { font-weight: 600; }
.woocommerce div.product.ember-pdp .ember-pdp-summary .stock { color: var(--ember-muted); }
.woocommerce div.product.ember-pdp .ember-pdp-summary .stock.out-of-stock { color: #b3282d; }
.woocommerce div.product.ember-pdp .ember-pdp-summary form.cart { margin: 28px 0 0; }
.woocommerce div.product.ember-pdp .ember-pdp-summary form.cart .button { float: none; }
.woocommerce div.product.ember-pdp .ember-pdp-summary .woocommerce-variation-description p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.ember-pdp-community__track { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.ember-pdp-clip { scroll-snap-align: start; }
}

@media (max-width: 989px) {
	.ember-pdp-body { --ember-pdp-header: 72px; }
	.ember-pdp-hero { padding: 16px 0 56px; }
	.ember-pdp-hero__inner { grid-template-columns: 1fr; gap: 28px; width: min(720px, calc(100% - 40px)); }
	.ember-pdp-summary { position: static; }
	.ember-pdp-summary__inner { max-width: none; }
	.ember-pdp-section { padding-block: 64px; }
	.ember-pdp-split, .ember-pdp-technology__top, .ember-pdp-specs__inner, .ember-pdp-faq__inner { grid-template-columns: 1fr; }
	.ember-pdp-split--reverse .ember-pdp-split__media { order: 0; }
	.ember-pdp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ember-pdp-faq .ember-pdp-head { margin-bottom: 8px; }
}

@media (max-width: 782px) {
	.ember-pdp-body.admin-bar { --ember-pdp-admin: 46px; }
}

@media (max-width: 749px) {
	.ember-pdp-hero { padding-top: 0; }
	.ember-pdp-hero__inner { width: 100%; }
	.ember-pdp-media__stage { border-radius: 0; }
	.ember-pdp-media .ember-pdp-media__nav { width: 36px; height: 36px; margin-top: -18px; }
	.ember-pdp-media__nav--prev { left: 12px; }
	.ember-pdp-media__nav--next { right: 12px; }
	.ember-pdp-media__count { top: auto; bottom: 14px; left: 50%; transform: translateX(-50%); }
	.ember-pdp-media__thumbs { gap: 8px; padding-inline: 20px; }
	.ember-pdp-media .ember-pdp-media__thumb { flex-basis: 64px; width: 64px; height: 64px; }
	.ember-pdp-summary { padding-inline: 20px; }
	.ember-pdp-title.product_title { font-size: 32px; }
	.ember-pdp-summary .ember-pdp-price,
	.woocommerce div.product.ember-pdp .ember-pdp-summary p.price { font-size: 18px; }
	.ember-pdp-trust { font-size: 13px; }
	.ember-pdp-chips { gap: 6px; }
	.ember-pdp-chips li { padding: 10px 6px; }
	.ember-pdp-chips strong { font-size: 14.5px; }
	.ember-pdp-chips span { font-size: 12px; }
	.ember-pdp-option--pill .ember-pdp-option__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ember-pdp-section { padding-block: 56px; }
	.ember-pdp-section .ember-shell { width: calc(100% - 40px); }
	.ember-pdp-section h2 { font-size: 34px; }
	.ember-pdp-kicker { font-size: 14px; }
	.ember-pdp-lead { font-size: 16px; }
	.ember-pdp-head { margin-bottom: 30px; }
	.ember-pdp-head--row { display: block; }
	.ember-pdp-head--row .ember-pdp-arrow-link { margin-top: 18px; }
	.ember-pdp-reasons__grid, .ember-pdp-cross__grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
		margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	}
	.ember-pdp-reasons__grid::-webkit-scrollbar, .ember-pdp-cross__grid::-webkit-scrollbar, .ember-pdp-community__track::-webkit-scrollbar { display: none; }
	.ember-pdp-reason, .ember-pdp-card { scroll-snap-align: start; }
	.ember-pdp-reason h3, .ember-pdp-card h3 { font-size: 22px; }
	.ember-pdp-community__track { grid-template-columns: repeat(4, 62%); gap: 12px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
	.ember-pdp-battery__panel { padding: 18px; }
	.ember-pdp-features { grid-template-columns: 1fr; }
	.ember-pdp-technology__media img { aspect-ratio: 4 / 3; }
	.ember-pdp-stats li { padding: 18px; }
	.ember-pdp-specs__table > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
	.ember-pdp-faq__item summary { padding: 18px 0; font-size: 16px; }
	.ember-pdp-faq__answer { padding-right: 0; font-size: 15px; }
	.ember-pdp-sticky__inner { width: 100%; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
	.ember-pdp-sticky__thumb { display: none; }
	.ember-pdp-sticky__info strong { font-size: 14px; }
	.ember-pdp-sticky__info span { font-size: 12.5px; }
	.ember-pdp-sticky__button { padding: 12px 16px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.ember-pdp-main *, .ember-pdp-sticky { transition: none !important; }
}
