/**
 * Product information area — common template.
 * Size badge / FB size select, recommendations, offer, purchase row.
 * Scope: .shopengine-product-page info column only.
 */

.shopengine-product-page,
body.single-product {
	--ln-pdp-info-font: "ABCRepro-Regular", "ABC_Repro", Kanit, sans-serif;
	--ln-pdp-brown: #7e4129;
	--ln-pdp-brown-dark: #4d2c22;
	--ln-pdp-border: #1a1a1a;
	--ln-pdp-muted: #6b6b6b;
}

#ln-pdp-purchase-fallback:empty {
	display: none;
}

/*
 * PDP price: current/sale first, original strikethrough second.
 * WooCommerce markup is still <del> then <ins>; ShopEngine already uses flex.
 */
body.single-product .shopengine-product-price .price ins {
	order: 1;
}

body.single-product .shopengine-product-price .price del {
	order: 2;
	margin-right: 0 !important;
	margin-left: 8px !important;
}

body.single-product .shopengine-product-price .price .shopengine-discount-badge {
	order: 3;
}

/* PDP breadcrumbs — slightly smaller on desktop, clearly smaller on mobile. */
body.single-product .shopengine-product-page .elementor-widget-woocommerce-breadcrumb,
body.single-product .shopengine-product-page .elementor-widget-shopengine-product-breadcrumbs,
body.single-product .shopengine-product-page .woocommerce-breadcrumb,
body.single-product .shopengine-product-page .woocommerce-breadcrumb a,
body.single-product .shopengine-product-page .woocommerce-breadcrumb span {
	font-size: 14px;
	line-height: 1.45;
}

/* ── Product info stack ── */
.ln-pdp-product-info {
	font-family: var(--ln-pdp-info-font);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
}

/*
 * One shared width system for recos / offer / purchase / accordion.
 * Always 100% of the existing right product-info column — no product-type hacks.
 */
body.single-product .ln-pdp-product-info,
body.single-product .ln-pdp-recos,
body.single-product .ln-pdp-recos__inner,
body.single-product .ln-pdp-recos__panel,
body.single-product .ln-pdp-recos__track,
body.single-product .ln-pdp-offers,
body.single-product .ln-pdp-purchase-row,
body.single-product .ln-pdp-info-accordion-host,
body.single-product form.cart,
body.single-product .elementor-widget-shopengine-add-to-cart,
body.single-product .elementor-widget-shopengine-add-to-cart > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/*
 * Desktop only: JS sets an exact shared width (left edge fixed, right edge closer
 * to the window). Allow parents to show the overflow so the stretch is visible.
 */
@media (min-width: 1025px) {
	body.single-product .shopengine-product-page .elementor-element-84278c7,
	body.single-product .shopengine-product-page .elementor-element-97a9c2c,
	body.single-product .shopengine-product-page .elementor-element-cf65515,
	body.single-product .shopengine-product-page .elementor-element-a7de2b9 {
		overflow: visible !important;
	}

	body.single-product .ln-pdp-product-info.ln-pdp-info--desktop-wide,
	body.single-product .elementor-widget-shopengine-add-to-cart.ln-pdp-info--desktop-wide,
	body.single-product .elementor-widget-shopengine-add-to-cart.ln-pdp-info--desktop-wide > .elementor-widget-container,
	body.single-product form.cart.ln-pdp-info--desktop-wide,
	body.single-product .ln-pdp-offers.ln-pdp-info--desktop-wide,
	body.single-product .ln-pdp-purchase-row.ln-pdp-info--desktop-wide,
	body.single-product .ln-pdp-info-accordion-host.ln-pdp-info--desktop-wide {
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	body.single-product .ln-pdp-product-info.ln-pdp-info--desktop-wide,
	body.single-product .elementor-widget-shopengine-add-to-cart.ln-pdp-info--desktop-wide,
	body.single-product form.cart.ln-pdp-info--desktop-wide,
	body.single-product .ln-pdp-purchase-row.ln-pdp-info--desktop-wide,
	body.single-product .ln-pdp-info-accordion-host.ln-pdp-info--desktop-wide {
		overflow: visible !important;
	}

	body.single-product .ln-pdp-product-info.ln-pdp-info--desktop-wide .ln-pdp-recos,
	body.single-product .ln-pdp-product-info.ln-pdp-info--desktop-wide .ln-pdp-recos__inner,
	body.single-product .ln-pdp-product-info.ln-pdp-info--desktop-wide .ln-pdp-recos__panel,
	body.single-product .ln-pdp-product-info.ln-pdp-info--desktop-wide .ln-pdp-recos__track,
	body.single-product form.cart.ln-pdp-info--desktop-wide .ln-pdp-offers,
	body.single-product form.cart.ln-pdp-info--desktop-wide .ln-pdp-purchase-row,
	body.single-product form.cart.ln-pdp-info--desktop-wide .woocommerce-variation-add-to-cart,
	body.single-product form.cart.ln-pdp-info--desktop-wide .single_variation_wrap,
	body.single-product .ln-pdp-info-accordion-host.ln-pdp-info--desktop-wide .ln-pdp-info-accordion,
	body.single-product .ln-pdp-info-accordion-host.ln-pdp-info--desktop-wide .ln-product-info-accordion,
	body.single-product .ln-pdp-info-accordion-host.ln-pdp-info--desktop-wide .ln-pdp-layer-it-with {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	body.single-product .ln-pdp-offers.ln-pdp-info--desktop-wide,
	body.single-product form.cart.ln-pdp-info--desktop-wide .ln-pdp-offers {
		overflow: hidden !important;
		min-width: 0 !important;
	}

	body.single-product .ln-pdp-offers.ln-pdp-info--desktop-wide .ln-pdp-offer-row,
	body.single-product form.cart.ln-pdp-info--desktop-wide .ln-pdp-offer-row {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	/* Variable FB: purchase row / ATC must fill the stretched form. */
	body.single-product form.cart.ln-pdp-info--desktop-wide .ln-pdp-atc,
	body.single-product .ln-pdp-purchase-row.ln-pdp-info--desktop-wide .ln-pdp-atc {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		width: auto !important;
	}

	body.single-product form.cart.ln-pdp-info--desktop-wide .ln-pdp-atc .single_add_to_cart_button,
	body.single-product .ln-pdp-purchase-row.ln-pdp-info--desktop-wide .ln-pdp-atc .single_add_to_cart_button {
		width: 100% !important;
	}
}

/* ── Non-clickable size badge (Parfum / Gifting) ── */
.ln-pdp-size-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 16px;
	padding: 6px 12px;
	border: 1px solid var(--ln-pdp-brown);
	border-radius: 6px;
	background: transparent;
	color: #111;
	pointer-events: none;
	user-select: none;
	cursor: default;
}

.ln-pdp-size-badge__text {
	font-family: var(--ln-pdp-info-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: none;
	white-space: nowrap;
}

/* ── Fragrance Bomb clickable size options ── */
.ln-pdp-size-select {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 14px;
}

.ln-pdp-size-select__label {
	font-family: var(--ln-pdp-info-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: #111;
}

.ln-pdp-size-select__options {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

body.single-product .ln-pdp-size-select__option,
.ln-pdp-size-select__option {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 28px;
	height: auto;
	padding: 4px 8px;
	margin: 0;
	border: 1px solid var(--ln-pdp-brown) !important;
	border-radius: 0 !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--ln-pdp-brown) !important;
	font-family: var(--ln-pdp-info-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: none;
	box-shadow: none !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

body.single-product .ln-pdp-size-select__option:hover,
body.single-product .ln-pdp-size-select__option:focus-visible,
.ln-pdp-size-select__option:hover,
.ln-pdp-size-select__option:focus-visible {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--ln-pdp-brown-dark) !important;
	border-color: var(--ln-pdp-brown-dark) !important;
	box-shadow: inset 0 0 0 1px var(--ln-pdp-brown-dark) !important;
	outline: none;
}

body.single-product .ln-pdp-size-select__option.is-active,
.ln-pdp-size-select__option.is-active {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--ln-pdp-brown) !important;
	border-color: var(--ln-pdp-brown) !important;
	border-width: 2px !important;
	box-shadow: none !important;
	opacity: 1;
}

body.single-product .ln-pdp-size-select__option:not(.is-active),
.ln-pdp-size-select__option:not(.is-active) {
	opacity: 0.72;
	border-width: 1px !important;
}

/* Beat theme/ShopEngine pill buttons (round + brown fill). */
body.single-product .shopengine-product-page button.ln-pdp-size-select__option,
body.single-product button.ln-pdp-size-select__option {
	border-radius: 0 !important;
	background: #fff !important;
	background-color: #fff !important;
	background-image: none !important;
	color: var(--ln-pdp-brown) !important;
	min-width: 44px !important;
	min-height: 28px !important;
	padding: 4px 8px !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

/* ── Recommendation cards ── */
.ln-pdp-recos {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding-bottom: 1.55em;
	box-sizing: border-box;
}

.ln-pdp-recos__inner,
.ln-pdp-recos__panel {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
}

.ln-pdp-recos__panel[hidden] {
	display: none !important;
}

.ln-pdp-recos__track {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 100%;
	align-items: start;
}

.ln-pdp-recos__card {
	position: relative;
	display: block;
	min-width: 0;
	width: auto;
	padding: 0;
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	background: #fff;
	color: #111;
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.ln-pdp-recos__card:hover,
.ln-pdp-recos__card:focus-visible {
	border-color: #111;
	outline: none;
}

.ln-pdp-recos__thumb {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fafafa;
}

.ln-pdp-recos__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Title below card — hidden until hover/focus on that card only. */
.ln-pdp-recos__title {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 2;
	margin: 0;
	padding: 0;
	font-family: var(--ln-pdp-info-font);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: #111;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: opacity 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ln-pdp-recos__card:hover .ln-pdp-recos__title,
	.ln-pdp-recos__card:focus-visible .ln-pdp-recos__title {
		opacity: 1;
		visibility: visible;
	}
}

/* ── Offer cards (horizontal scroll) ── */
.ln-pdp-offers,
.ln-pdp-offers * {
	font-family: "ABCRepro-Regular", "ABC_Repro", Kanit, sans-serif !important;
}

.ln-pdp-offers {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 10px 0 14px;
	padding: 0;
	overflow: hidden;
	color: #111;
	position: static;
}

body.single-product h3.ln-pdp-offers__heading,
body.single-product .shopengine-product-page h3.ln-pdp-offers__heading,
body.single-product form.cart h3.ln-pdp-offers__heading,
.ln-pdp-offers__heading {
	margin: 0 0 6px !important;
	padding: 0 !important;
	color: #111 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.3 !important;
	text-transform: none !important;
}

.ln-pdp-offer-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 1px 0 2px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	touch-action: pan-x;
	box-sizing: border-box;
}

.ln-pdp-offer-row::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.ln-pdp-offer-card {
	box-sizing: border-box;
	/* Slightly wider than prior /1.65 so header title + hint share one row comfortably. */
	flex: 0 0 calc((100% - 12px) / 1.58);
	width: calc((100% - 12px) / 1.58);
	min-width: 0;
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 10px;
	margin: 0;
	padding: 14px 14px 12px;
	border: 1px solid rgba(126, 65, 41, 0.18);
	border-radius: 12px;
	background: #f4eee6;
	color: #111;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.35;
	text-align: left;
	text-transform: none;
	scroll-snap-align: start;
	user-select: none;
	pointer-events: auto;
	cursor: default;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ln-pdp-offer-card:hover {
		border-color: rgba(126, 65, 41, 0.35);
		box-shadow: 0 2px 8px rgba(77, 44, 34, 0.06);
	}
}

.ln-pdp-offer-card__header {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 8px;
	width: 100%;
	min-width: 0;
}

.ln-pdp-offer-card__header-main {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}

.ln-pdp-offer-card__icon {
	flex: 0 0 auto;
	display: block;
	color: var(--ln-pdp-brown, #7e4129);
	fill: currentColor;
}

.ln-pdp-offer-card__header-title {
	color: var(--ln-pdp-brown, #7e4129);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.ln-pdp-offer-card__header-hint {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	color: var(--ln-pdp-brown, #7e4129);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.2;
	opacity: 0.9;
	white-space: nowrap;
}

.ln-pdp-offer-card__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	color: var(--ln-pdp-brown, #7e4129);
	font-size: 10px;
	font-weight: 800;
	font-style: normal;
	line-height: 1;
	opacity: 1;
	text-transform: lowercase;
	flex-shrink: 0;
}

.ln-pdp-offer-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 auto;
	min-height: 58px;
}

.ln-pdp-offer-card__value-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ln-pdp-offer-card__icon--ticket {
	width: 20px;
	height: 20px;
}

.ln-pdp-offer-card__value {
	color: #111111;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-transform: none;
}

.ln-pdp-offer-card__desc {
	margin: 0;
	padding: 0;
	color: #1a1a1a;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.4;
}

.ln-pdp-offer-card__code-wrap {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	margin-top: auto;
}

body.single-product form.cart button.ln-pdp-offer-card__code,
body.single-product form.cart .ln-pdp-offer-card__code,
.ln-pdp-offer-card__code {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	max-width: 100%;
	position: relative;
	min-height: 40px;
	height: auto;
	margin: 0;
	/* Content width + ~22–28px total horizontal breathing room. */
	padding: 10px 12px;
	border: none !important;
	/* Sharp rectangular coupon box — very minimal rounding. */
	border-radius: 2px !important;
	background: rgba(255, 255, 255, 0.4) !important;
	color: var(--ln-pdp-brown-dark, #4d2c22) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-transform: none !important;
	white-space: nowrap;
	cursor: default;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none !important;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.ln-pdp-offer-card__code::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background:
		repeating-linear-gradient(90deg, rgba(126, 65, 41, 0.72) 0 8px, transparent 8px 15px) top left / 100% 2px no-repeat,
		repeating-linear-gradient(90deg, rgba(126, 65, 41, 0.72) 0 8px, transparent 8px 15px) bottom left / 100% 2px no-repeat,
		repeating-linear-gradient(180deg, rgba(126, 65, 41, 0.72) 0 8px, transparent 8px 15px) top left / 2px 100% no-repeat,
		repeating-linear-gradient(180deg, rgba(126, 65, 41, 0.72) 0 8px, transparent 8px 15px) top right / 2px 100% no-repeat;
}

.ln-pdp-offer-card__code--empty {
	cursor: default;
	pointer-events: none;
	opacity: 0.4;
	min-height: 36px;
}

.ln-pdp-offer-card__copy-icon {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	color: currentColor;
	opacity: 0.7;
}

.ln-pdp-offer-card__code-text,
.ln-pdp-offer-card__code-feedback {
	min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
	body.single-product form.cart button.ln-pdp-offer-card__code:hover,
	body.single-product form.cart .ln-pdp-offer-card__code:hover,
	.ln-pdp-offer-card__code:hover {
		background: rgba(255, 255, 255, 0.75) !important;
		color: var(--ln-pdp-brown, #7e4129) !important;
	}
}

.ln-pdp-offer-card__code:focus-visible {
	outline: 2px solid var(--ln-pdp-brown, #7e4129);
	outline-offset: 2px;
}

body.single-product form.cart button.ln-pdp-offer-card__code.is-copied,
body.single-product form.cart .ln-pdp-offer-card__code.is-copied,
.ln-pdp-offer-card__code.is-copied {
	background: rgba(126, 65, 41, 0.08) !important;
	color: var(--ln-pdp-brown, #7e4129) !important;
}

.ln-pdp-offer-card__code.is-copied::after {
	background:
		linear-gradient(rgba(126, 65, 41, 0.85), rgba(126, 65, 41, 0.85)) top left / 100% 2px no-repeat,
		linear-gradient(rgba(126, 65, 41, 0.85), rgba(126, 65, 41, 0.85)) bottom left / 100% 2px no-repeat,
		linear-gradient(rgba(126, 65, 41, 0.85), rgba(126, 65, 41, 0.85)) top left / 2px 100% no-repeat,
		linear-gradient(rgba(126, 65, 41, 0.85), rgba(126, 65, 41, 0.85)) top right / 2px 100% no-repeat;
}

.ln-pdp-offer-card__code.is-copied .ln-pdp-offer-card__code-text,
.ln-pdp-offer-card__code.is-copied .ln-pdp-offer-card__copy-icon {
	display: none;
}

.ln-pdp-offer-card__code-feedback[hidden] {
	display: none !important;
}

.ln-pdp-offer-card__code.is-copied .ln-pdp-offer-card__code-feedback {
	display: inline;
}

/* ── Purchase row: quantity + Add to Cart ── */
.shopengine-product-page.ln-pdp-purchase-ready form.cart,
body.single-product .shopengine-product-page form.cart,
body.single-product form.cart {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0 !important;
	row-gap: 0 !important;
	font-family: var(--ln-pdp-info-font);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body.single-product form.cart::before,
body.single-product form.cart::after {
	content: none !important;
	display: none !important;
}

.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row,
body.single-product .shopengine-product-page .ln-pdp-purchase-row,
body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
	box-sizing: border-box;
}

.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty,
body.single-product .shopengine-product-page .ln-pdp-purchase-row .ln-pdp-qty,
body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty {
	flex: 0 0 148px;
	width: 148px;
	max-width: 148px;
}

.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-atc,
body.single-product .shopengine-product-page .ln-pdp-purchase-row .ln-pdp-atc,
body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-atc {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: stretch;
}

/* Slightly longer modern quantity stepper */
.shopengine-product-page .ln-pdp-qty .quantity-wrap,
.shopengine-product-page .ln-pdp-qty .quantity {
	display: flex;
	align-items: center;
	height: 48px;
	margin: 0 !important;
}

.shopengine-product-page .ln-pdp-qty .quantity-wrap {
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	width: 148px;
	min-width: 148px;
	max-width: 148px;
}

.shopengine-product-page .ln-pdp-qty .quantity-wrap .quantity,
.shopengine-product-page .ln-pdp-qty .quantity {
	border: 0;
	flex: 1 1 auto;
}

.shopengine-product-page .ln-pdp-qty .quantity .qty,
.shopengine-product-page .ln-pdp-qty input.qty {
	width: 52px !important;
	min-width: 52px !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-left: 1px solid #eee !important;
	border-right: 1px solid #eee !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-family: var(--ln-pdp-info-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-align: center !important;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
}

.shopengine-product-page .ln-pdp-qty input.qty::-webkit-outer-spin-button,
.shopengine-product-page .ln-pdp-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn,
.shopengine-product-page .ln-pdp-qty .quantity-wrap > button.minus,
.shopengine-product-page .ln-pdp-qty .quantity-wrap > button.plus {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 46px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #111 !important;
	font-family: var(--ln-pdp-info-font) !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: none !important;
}

.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn {
	flex-direction: row;
	gap: 0;
	width: auto;
}

.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .minus,
.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .plus {
	position: static !important;
	width: 44px;
	height: 46px;
}

.shopengine-product-page .ln-pdp-qty button.minus::before,
.shopengine-product-page .ln-pdp-qty button.plus::before,
.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .minus::before,
.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .plus::before {
	content: none !important;
}

.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn svg,
.shopengine-product-page .ln-pdp-qty button.minus svg,
.shopengine-product-page .ln-pdp-qty button.plus svg {
	display: none !important;
}

.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .minus::after {
	content: "−";
}

.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .plus::after,
.shopengine-product-page .ln-pdp-qty button.plus::after {
	content: "+";
}

.shopengine-product-page .ln-pdp-qty button.minus::after {
	content: "−";
}

/* Long Add to Cart button */
.shopengine-product-page .ln-pdp-atc .single_add_to_cart_button,
.shopengine-product-page .ln-pdp-atc button[type="submit"].single_add_to_cart_button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--ln-pdp-brown) !important;
	color: #fff !important;
	font-family: var(--ln-pdp-info-font) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	white-space: nowrap;
	box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
	.shopengine-product-page .ln-pdp-atc .single_add_to_cart_button:hover,
	.shopengine-product-page .ln-pdp-atc button[type="submit"].single_add_to_cart_button:hover {
		background: var(--ln-pdp-brown-dark) !important;
		color: #fff !important;
	}
}

/* Hide native Woo size UI — size is display-only on this template */
body.single-product.ln-pdp-has-custom-size table.variations,
body.single-product .ln-pdp-has-custom-size table.variations,
.shopengine-product-page.ln-pdp-has-custom-size table.variations,
.shopengine-product-page.ln-pdp-has-custom-size table.variations tr.pa_size,
.shopengine-product-page.ln-pdp-has-custom-size .variations .label label[for="pa_size"],
.shopengine-product-page.ln-pdp-has-custom-size .shopengine-swatches .swatch-label:has(+ .swatch-control[data-attribute="pa_size"]),
.shopengine-product-page.ln-pdp-has-custom-size .variations tr:has(select[name="attribute_pa_size"]),
.shopengine-product-page.ln-pdp-has-custom-size .variations tr:has(.swatch-control[data-attribute="pa_size"]),
body.single-product.ln-pdp-has-custom-size .variations,
body.single-product.ln-pdp-has-custom-size .shopengine-variation-swatches,
body.single-product.ln-pdp-has-custom-size .reset_variations {
	display: none !important;
}

/* Hide duplicate variation price that appears under reco cards inside the cart form */
body.single-product.ln-pdp-has-custom-size .woocommerce-variation-price,
body.single-product.ln-pdp-has-custom-size .woocommerce-variation .price,
body.single-product.ln-pdp-has-custom-size .single_variation .price,
body.single-product.ln-pdp-has-custom-size .woocommerce-variation-add-to-cart .price,
.shopengine-product-page.ln-pdp-has-custom-size .woocommerce-variation-price,
.shopengine-product-page.ln-pdp-has-custom-size .single_variation_wrap .woocommerce-variation-price,
.shopengine-product-page.ln-pdp-has-custom-size .single_variation .price {
	display: none !important;
}

body.single-product .ln-pdp-hide-buy-now,
body.single-product a.ln-pdp-hide-buy-now,
body.single-product button.ln-pdp-hide-buy-now {
	display: none !important;
}

body.single-product .ln-pdp-duplicate-accordion,
body.single-product .ln-pdp-duplicate-excerpt,
body.single-product .ln-pdp-stray-profile {
	display: none !important;
}

/*
 * Hard kill: orphan excerpt / accordion siblings after size+recos (before ATC).
 * Do NOT target .ln-pdp-info-accordion-host — that is the real after-ATC accordion.
 */
body.single-product .ln-pdp-product-info ~ .elementor-widget-shopengine-product-excerpt,
body.single-product .ln-pdp-product-info ~ .ln-product-info-accordion,
body.single-product .ln-pdp-product-info ~ .ln-pdp-info-accordion {
	display: none !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.shopengine-product-page.ln-pdp-purchase-ready form.variations_form .woocommerce-variation-add-to-cart,
body.single-product.ln-pdp-purchase-ready form.variations_form .woocommerce-variation-add-to-cart {
	display: contents;
}

.shopengine-product-page.ln-pdp-purchase-ready form.variations_form .single_variation_wrap,
body.single-product.ln-pdp-purchase-ready form.variations_form .single_variation_wrap {
	width: 100%;
}

/* Native WC summary purchase row support (non-ShopEngine PDPs like Flora). */
body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
	box-sizing: border-box;
}

body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty {
	flex: 0 0 148px;
	width: 148px;
	max-width: 148px;
}

body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-atc {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: stretch;
}

body.single-product.ln-pdp-purchase-ready .ln-pdp-atc .single_add_to_cart_button,
body.single-product.ln-pdp-purchase-ready .ln-pdp-atc button[type="submit"].single_add_to_cart_button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--ln-pdp-brown, #7e4129) !important;
	color: #fff !important;
	font-family: var(--ln-pdp-info-font, "ABCRepro-Regular", "ABC_Repro", Kanit, sans-serif) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
}

/* ── Mobile ── */
@media (max-width: 767px) {
	body.single-product .shopengine-product-page .elementor-widget-woocommerce-breadcrumb,
	body.single-product .shopengine-product-page .elementor-widget-shopengine-product-breadcrumbs,
	body.single-product .shopengine-product-page .woocommerce-breadcrumb,
	body.single-product .shopengine-product-page .woocommerce-breadcrumb a,
	body.single-product .shopengine-product-page .woocommerce-breadcrumb span {
		font-size: 12px;
		line-height: 1.4;
	}

	.ln-pdp-recos {
		padding-bottom: 0;
	}

	.ln-pdp-recos__inner,
	.ln-pdp-recos__panel {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ln-pdp-recos__inner::-webkit-scrollbar,
	.ln-pdp-recos__panel::-webkit-scrollbar {
		display: none;
	}

	body.single-product .ln-pdp-recos__track,
	.ln-pdp-recos__track {
		display: flex;
		flex-wrap: nowrap;
		gap: 10px;
		min-width: min-content;
		width: max-content;
		max-width: none;
	}

	.ln-pdp-recos__card {
		flex: 0 0 38%;
		width: 38vw;
		max-width: 140px;
	}

	.ln-pdp-recos__title {
		display: none;
	}

	.ln-pdp-offers {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 10px 0 14px;
		overflow: hidden;
		position: static;
	}

	body.single-product h3.ln-pdp-offers__heading,
	.ln-pdp-offers__heading {
		margin: 0 0 6px !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 1.3 !important;
	}

	.ln-pdp-offer-row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 10px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 1px 0 2px;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.ln-pdp-offer-card {
		flex: 0 0 80%;
		width: 80%;
		min-width: 0;
		max-width: none;
		margin: 0;
		padding: 12px;
		gap: 8px;
	}

	/* Stack hint under full title — never truncate "Coupons and deals". */
	.ln-pdp-offer-card__header {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 4px;
	}

	.ln-pdp-offer-card__header-main {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
	}

	.ln-pdp-offer-card__header-title {
		font-size: 13px;
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
	}

	.ln-pdp-offer-card__header-hint {
		margin-left: 0;
		padding-left: 22px; /* align under title text (16px icon + 6px gap) */
		font-size: 10px;
		white-space: nowrap;
		opacity: 0.95;
	}

	.ln-pdp-offer-card__info {
		width: 13px;
		height: 13px;
		font-size: 9px;
		font-weight: 800;
		border-width: 1.5px;
		opacity: 1;
	}

	.ln-pdp-offer-card__body {
		min-height: 52px;
	}

	.ln-pdp-offer-card__value {
		font-size: 18px;
		color: #111111;
	}

	.ln-pdp-offer-card__desc {
		font-size: 12px;
	}

	.ln-pdp-offer-card__code-wrap {
		justify-content: flex-start;
	}

	body.single-product form.cart .ln-pdp-offer-card__code,
	.ln-pdp-offer-card__code {
		width: fit-content;
		max-width: 100%;
		min-height: 34px;
		margin: 0;
		padding: 7px 10px;
		font-size: 11px;
		border-radius: 2px !important;
	}

	/* Quantity + Add to Cart stay on one in-flow row. Sticky bar is separate. */
	body.single-product .shopengine-product-page .ln-pdp-purchase-row .ln-pdp-atc,
	body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-atc {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		z-index: auto;
		flex: 1 1 auto;
		align-self: stretch;
		width: auto;
		min-width: 0;
		height: auto;
		min-height: 0;
		max-width: none;
		margin: 0;
		overflow: visible;
	}

	.shopengine-product-page .ln-pdp-atc .single_add_to_cart_button {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		font-size: 12px !important;
		padding: 0 16px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		border-radius: 4px !important;
	}

	.shopengine-product-page .ln-pdp-purchase-row,
	body.single-product .ln-pdp-purchase-row {
		align-items: stretch;
		gap: 8px;
	}

	body.single-product .ln-pdp-purchase-row .ln-pdp-qty,
	.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty {
		flex: 0 0 132px;
		width: 132px;
		max-width: 132px;
	}

	.shopengine-product-page .ln-pdp-qty .quantity-wrap {
		width: 132px;
		min-width: 132px;
		max-width: 132px;
	}
}

@media (max-width: 420px) {
	.ln-pdp-recos__card {
		flex: 0 0 42%;
		width: 42vw;
		max-width: 130px;
	}

	.shopengine-product-page .ln-pdp-qty .quantity-wrap {
		width: 120px;
		min-width: 120px;
		max-width: 120px;
	}

	body.single-product .ln-pdp-purchase-row .ln-pdp-qty,
	.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty {
		flex: 0 0 120px;
		width: 120px;
		max-width: 120px;
	}

	.shopengine-product-page .ln-pdp-qty .quantity-wrap .quantity .qty,
	.shopengine-product-page .ln-pdp-qty input.qty {
		width: 40px !important;
		min-width: 40px !important;
	}

	.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .minus,
	.shopengine-product-page .ln-pdp-qty .shopengine-qty-btn .plus,
	.shopengine-product-page .ln-pdp-qty button.minus,
	.shopengine-product-page .ln-pdp-qty button.plus {
		width: 36px;
	}
}

/* Touch tablets: same stacked offer header so title is never truncated. */
@media (min-width: 768px) and (max-width: 1024px) and (hover: none) and (pointer: coarse) {
	.shopengine-product-page .ln-pdp-purchase-row,
	body.single-product .ln-pdp-purchase-row {
		gap: 8px;
	}

	.ln-pdp-offer-card__header {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 4px;
	}

	.ln-pdp-offer-card__header-main {
		flex: 0 0 auto;
		width: 100%;
	}

	.ln-pdp-offer-card__header-title {
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
	}

	.ln-pdp-offer-card__header-hint {
		margin-left: 0;
		padding-left: 22px;
		white-space: nowrap;
		opacity: 0.95;
	}

	.ln-pdp-offer-card__info {
		width: 14px;
		height: 14px;
		font-size: 10px;
		font-weight: 800;
		opacity: 1;
	}

	.ln-pdp-offer-card__code-wrap {
		justify-content: flex-start;
	}

	body.single-product form.cart .ln-pdp-offer-card__code,
	.ln-pdp-offer-card__code {
		margin: 0;
		border-radius: 2px !important;
	}
}

/*
 * Mobile / touch sticky Add to Cart bar.
 * Desktop (1025px+) never shows this — the in-form button is unchanged.
 */
.ln-pdp-sticky-atc {
	display: none;
}

@media (max-width: 1024px) {
	/*
	 * The 148px qty column is wider than the stepper, so the visible gap
	 * stays large even when flex-gap is small. Hug the stepper and beat the
	 * unscoped 12px / 148px rules.
	 */
	body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row,
	body.single-product .shopengine-product-page .ln-pdp-purchase-row,
	.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row {
		column-gap: 8px !important;
		gap: 8px !important;
	}

	body.single-product.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty,
	body.single-product .shopengine-product-page .ln-pdp-purchase-row .ln-pdp-qty,
	.shopengine-product-page.ln-pdp-purchase-ready .ln-pdp-purchase-row .ln-pdp-qty {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}

	body.single-product {
		--ln-pdp-sticky-atc-pad: 10px;
		--ln-pdp-sticky-atc-btn: 48px;
		--ln-pdp-sticky-atc-h: calc(var(--ln-pdp-sticky-atc-pad) * 2 + var(--ln-pdp-sticky-atc-btn));
		padding-bottom: calc(var(--ln-pdp-sticky-atc-h) + env(safe-area-inset-bottom, 0px) + 8px);
	}

	body.single-product .ln-pdp-sticky-atc {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: var(--ln-pdp-sticky-atc-pad) 16px calc(var(--ln-pdp-sticky-atc-pad) + env(safe-area-inset-bottom, 0px));
		background: #ffffff;
		box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.08);
		box-sizing: border-box;
	}

	body.single-product .ln-pdp-sticky-atc__inner {
		width: 100%;
		max-width: 100%;
	}

	body.single-product .ln-pdp-sticky-atc__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: var(--ln-pdp-sticky-atc-btn);
		height: var(--ln-pdp-sticky-atc-btn);
		margin: 0;
		padding: 0 16px;
		border: 0;
		border-radius: 4px;
		background: var(--ln-pdp-brown, #7e4129);
		color: #ffffff;
		font-family: var(--ln-pdp-info-font, "ABCRepro-Regular", "ABC_Repro", Kanit, sans-serif);
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.08em;
		line-height: 1.2;
		text-transform: uppercase;
		white-space: nowrap;
		box-shadow: none;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	body.single-product .ln-pdp-sticky-atc__btn.is-loading,
	body.single-product .ln-pdp-sticky-atc__btn.is-disabled {
		opacity: 0.7;
		pointer-events: none;
		cursor: default;
	}

	/* Keep WhatsApp above the bar so it does not cover ADD TO CART. */
	body.single-product #wa-float {
		bottom: calc(var(--ln-pdp-sticky-atc-h) + env(safe-area-inset-bottom, 0px) + 12px) !important;
	}

	body.single-product.ln-cd-open .ln-pdp-sticky-atc {
		display: none !important;
	}
}

@media (min-width: 1025px) {
	.ln-pdp-sticky-atc {
		display: none !important;
	}
}

