/* Buy 2 Get 1 Free — reward picker. Scoped entirely under .sixapromo-reward /
   .sixapromo-sheet; nothing here touches theme or WooCommerce selectors. */

.sixapromo-reward {
	border: 1px solid rgba(200, 162, 78, 0.45);
	border-radius: 10px;
	padding: 18px 20px;
	margin: 0 0 22px;
	background: rgba(200, 162, 78, 0.05);
}
.sixapromo-reward__eyebrow {
	display: inline-block;
	font-weight: 800;
	letter-spacing: 0.12em;
	font-size: 0.82em;
	color: #c8a24e;
}
.sixapromo-reward__notice {
	margin: 8px 0 0;
	font-size: 0.9em;
	opacity: 0.85;
}
.sixapromo-reward__slots { margin-top: 12px; display: grid; gap: 10px; }
.sixapromo-slot {
	border: 1px solid rgba(128, 128, 128, 0.35);
	border-radius: 8px;
	padding: 12px 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.sixapromo-slot__label {
	font-weight: 700;
	font-size: 0.78em;
	letter-spacing: 0.1em;
	opacity: 0.7;
	flex: 0 0 100%;
}
.sixapromo-slot__hint { font-size: 0.88em; opacity: 0.75; flex: 1 1 auto; }
.sixapromo-slot__chosen { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.sixapromo-slot__check {
	flex: 0 0 auto;
	width: 22px; height: 22px; border-radius: 50%;
	background: #c8a24e; color: #111;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 13px;
}
.sixapromo-slot__name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.sixapromo-slot__free {
	flex: 0 0 auto;
	font-weight: 800; letter-spacing: 0.06em; color: #c8a24e; font-size: 0.85em;
}
.sixapromo-slot__price { opacity: 0.6; text-decoration: line-through; font-size: 0.9em; }
.sixapromo-btn {
	appearance: none; cursor: pointer;
	border: 1px solid #c8a24e; border-radius: 6px;
	background: transparent; color: inherit;
	font-weight: 700; font-size: 0.85em; letter-spacing: 0.05em;
	padding: 10px 18px; min-height: 42px;
}
.sixapromo-btn:hover { background: rgba(200, 162, 78, 0.15); }
.sixapromo-btn--ghost { border-color: rgba(128,128,128,.5); font-weight: 500; text-decoration: underline; padding: 6px 4px; min-height: 0; border: 0; }
.sixapromo-slot__change { flex: 0 0 100%; }
.sixapromo-reward__saving { opacity: 0.5; pointer-events: none; }

/* Overlay + panel: popover-style dialog on desktop, bottom sheet on mobile. */
.sixapromo-overlay {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(0, 0, 0, 0.55);
	display: flex; align-items: center; justify-content: center;
}
.sixapromo-sheet {
	background: #16161a; color: #f2f2f2;
	width: min(440px, 92vw);
	max-height: min(70vh, 640px);
	border: 1px solid rgba(200, 162, 78, 0.4);
	border-radius: 12px;
	display: flex; flex-direction: column;
	overflow: hidden;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
}
.sixapromo-sheet__head {
	padding: 16px 18px 10px;
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.sixapromo-sheet__title { font-weight: 800; letter-spacing: 0.08em; font-size: 0.85em; color: #c8a24e; }
.sixapromo-sheet__sub { font-size: 0.85em; opacity: 0.75; padding: 0 18px 10px; }
.sixapromo-sheet__close {
	appearance: none; border: 0; background: transparent; color: inherit;
	font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.sixapromo-sheet__search { padding: 0 18px 10px; }
.sixapromo-sheet__search input {
	width: 100%; box-sizing: border-box;
	background: rgba(255, 255, 255, 0.06); color: inherit;
	border: 1px solid rgba(128, 128, 128, 0.4); border-radius: 8px;
	padding: 10px 12px; font-size: 16px;
}
.sixapromo-sheet__list { overflow-y: auto; padding: 0 10px 12px; }
.sixapromo-option {
	appearance: none; cursor: pointer; width: 100%; text-align: left;
	background: transparent; color: inherit; border: 1px solid transparent;
	border-radius: 8px; padding: 13px 10px; min-height: 52px;
	display: flex; align-items: center; gap: 12px;
}
.sixapromo-option:hover { background: rgba(200, 162, 78, 0.1); border-color: rgba(200, 162, 78, 0.35); }
.sixapromo-option__name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.sixapromo-option__price { opacity: 0.6; text-decoration: line-through; font-size: 0.9em; flex: 0 0 auto; }
.sixapromo-option__free { color: #c8a24e; font-weight: 800; letter-spacing: 0.06em; font-size: 0.85em; flex: 0 0 auto; }
.sixapromo-option--selected { border-color: #c8a24e; background: rgba(200, 162, 78, 0.12); }
.sixapromo-sheet__empty { padding: 18px; opacity: 0.7; font-size: 0.9em; }

@media (max-width: 767px) {
	.sixapromo-overlay { align-items: flex-end; }
	.sixapromo-sheet {
		width: 100vw; max-width: 100vw;
		border-radius: 16px 16px 0 0;
		border-left: 0; border-right: 0; border-bottom: 0;
		max-height: 78vh;
		animation: sixapromo-up 0.22s ease-out;
	}
	.sixapromo-option { min-height: 56px; }
}
@keyframes sixapromo-up { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }

/* Drawer context: tighter spacing inside the side cart. */
.sixalabs-side-cart .sixapromo-reward { margin: 0 0 14px; padding: 14px; }
.sixalabs-side-cart .sixapromo-slot { padding: 10px 12px; }

/* Paid + free = total summary */
.sixapromo-reward__equation { margin: 8px 0 0; font-size: 0.95em; }
.sixapromo-reward__equation .sixapromo-reward__math { display: block; opacity: 0.85; margin-top: 2px; }
.sixapromo-reward__summary { margin: 10px 0 2px; font-size: 0.92em; }
.sixapromo-reward__summary .sixapromo-reward__math { font-weight: 700; }
.sixapromo-reward__free-title { font-weight: 800; letter-spacing: 0.1em; font-size: 0.78em; opacity: 0.7; margin: 8px 0 2px; }
.sixapromo-reward__free-row strong { color: #c8a24e; letter-spacing: 0.05em; }
.sixapromo-reward__note { margin-top: 8px; opacity: 0.65; font-size: 0.9em; }

/* Qualification clarity */
.sixapromo-reward__qualify { font-weight: 700; }
.sixapromo-reward__earned { color: #c8a24e; font-weight: 700; margin-bottom: 4px; }
.sixapromo-reward__excl { margin-top: 8px; }
.sixapromo-reward__excl-toggle {
	appearance: none; background: transparent; border: 0; padding: 4px 0; cursor: pointer;
	color: inherit; opacity: 0.8; font-size: 0.9em; text-decoration: underline; text-underline-offset: 2px;
}
.sixapromo-reward__excl-list { margin-top: 4px; }
.sixapromo-reward__excl-row { font-size: 0.9em; opacity: 0.75; margin: 2px 0; }
.sixapromo-sheet__counts { padding: 0 18px 10px; font-size: 0.85em; opacity: 0.8; }

/* PDP / product-card eligibility labels */
.sixapromo-elig-badge {
	display: inline-block; margin: 8px 0; font-size: 0.78em; font-weight: 700;
	letter-spacing: 0.08em; padding: 4px 9px; border-radius: 4px;
}
.sixapromo-elig-badge--yes { border: 1px solid rgba(200,162,78,.5); color: #c8a24e; }
.sixapromo-elig-badge--no { border: 1px solid rgba(150,150,150,.4); color: #9a9a9a; }
.sixapromo-elig-note { display:block; margin-top:2px; font-size: 0.82em; opacity: 0.6; font-weight: 400; letter-spacing: 0; }
