/* CVR boost — size guide, UGC near ATC, checkout banners, quieter PDP lead */

/* —— Size guide —— */
.podxmas-size-guide {
	margin: 0.5rem 0 0.85rem;
	border: 1px solid var(--podxmas-border, #e5e5e5);
	border-radius: 8px;
	background: #fafafa;
	padding: 0 0.75rem;
}

.podxmas-size-guide__summary {
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1a1a1a;
	padding: 0.65rem 0;
	list-style: none;
}

.podxmas-size-guide__summary::-webkit-details-marker {
	display: none;
}

.podxmas-size-guide__summary::after {
	content: "+";
	float: right;
	font-weight: 400;
	color: #888;
}

.podxmas-size-guide[open] .podxmas-size-guide__summary::after {
	content: "–";
}

.podxmas-size-guide__body {
	padding: 0 0 0.85rem;
}

.podxmas-size-guide__fit,
.podxmas-size-guide__note {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #555;
}

.podxmas-size-guide__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8rem;
	margin: 0.35rem 0 0.65rem;
}

.podxmas-size-guide__table th,
.podxmas-size-guide__table td {
	border-bottom: 1px solid #ebebeb;
	padding: 0.35rem 0.25rem;
	text-align: left;
}

.podxmas-size-guide__table th {
	font-weight: 600;
	color: #333;
}

/* —— UGC near ATC (compact strip — not sticky dock) —— */
.podxmas-ugc-atc {
	margin: 0.55rem 0 0.35rem;
	padding: 0.5rem 0 0;
	border-top: 1px solid var(--podxmas-border, #e5e5e5);
}

.podxmas-ugc-atc__label {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #666;
}

.podxmas-ugc-atc__row {
	display: flex;
	gap: 0.45rem;
	align-items: flex-start;
}

.podxmas-ugc-atc__item {
	margin: 0;
	flex: 0 0 auto;
	width: 56px;
}

.podxmas-ugc-atc__item img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	background: #f0f0f0;
}

.podxmas-ugc-atc__item figcaption {
	margin-top: 0.2rem;
	font-size: 0.62rem;
	line-height: 1.25;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 56px;
}

.podxmas-ugc-atc__stars {
	display: block;
	color: #c9a227;
	letter-spacing: 0.02em;
	font-size: 0.55rem;
}

.podxmas-ugc-atc__who {
	display: none;
}

.podxmas-ugc-atc__more {
	margin: 0.3rem 0 0;
	font-size: 0.75rem;
}

.podxmas-ugc-atc__more a {
	color: var(--podxmas-link, #1a1a1a);
	text-decoration: underline;
}

/* Never show UGC inside sticky dock (legacy clones / bad markup). */
body > .podxmas-atc-row.podxmas-atc-dock .podxmas-ugc-atc {
	display: none !important;
}

/* —— Checkout CVR —— */
.podxmas-checkout-cvr {
	margin: 0 0 1rem;
}

.podxmas-checkout-guest-note {
	margin: 0 0 0.65rem;
	padding: 0.65rem 0.85rem;
	background: #f4f8f4;
	border: 1px solid #d4e5d4;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f4d2a;
}

.podxmas-checkout-coupon-banner {
	margin: 0;
	padding: 0.7rem 0.9rem;
	background: #fff8ee;
	border: 1px solid #f0d4a8;
	border-radius: 8px;
	font-size: 0.9rem;
	color: #5a3d0e;
}

.podxmas-checkout-coupon-banner.is-applied {
	background: #eef8f0;
	border-color: #b8dcc0;
	color: #1f4d2a;
}

.podxmas-checkout-coupon-banner strong {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.04em;
}

body.podxmas-checkout-page .woocommerce-account-fields {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px dashed #e0e0e0;
}

/* —— Mini-cart merch emphasis —— */
.podxmas-mini-cart-merch .podxmas-free-ship-bar {
	margin-bottom: 0.75rem;
}

.podxmas-mini-cart-cross-sells-title {
	font-weight: 700;
}

/* —— PDP lead: don't cover sticky ATC —— */
body.single-product .podxmas-lead__backdrop {
	bottom: calc(var(--podxmas-atc-height, 52px) + 28px);
}

body.single-product .podxmas-lead__dialog {
	top: auto;
	bottom: calc(var(--podxmas-atc-height, 52px) + 36px);
	transform: translate(-50%, 0);
	max-height: min(70vh, 480px);
}

html.podxmas-lead-open body.single-product {
	overflow: auto;
}
