/**
 * Harmony popup discount XYZ
 * Frontend Design System
 *
 * Primary Color: #E14354
 * Typography: Inter
 * Backgrounds: White (#FFFFFF) and Sand Porcelain (#F1EDE9)
 * Buttons: Transparent background, border-radius 30px, 1px solid #E14354 outline
 */

:root {
	/* Font Family */
	--wc-harmony-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	/* Brand Palette */
	--wc-harmony-primary: #E14354;
	--wc-harmony-primary-hover: #c93545;
	--wc-harmony-primary-light: rgba(225, 67, 84, 0.08);
	--wc-harmony-primary-glow: rgba(225, 67, 84, 0.18);

	/* Backgrounds */
	--wc-harmony-bg-sand: #F1EDE9;
	--wc-harmony-bg-white: #FFFFFF;
	--wc-harmony-surface: #FFFFFF;

	/* Neutral Typography & Borders */
	--wc-harmony-ink: #1C1917;
	--wc-harmony-ink-muted: #6B635B;
	--wc-harmony-ink-light: #9C958E;

	--wc-harmony-border: rgba(28, 25, 23, 0.1);
	--wc-harmony-border-primary: #E14354;

	--wc-harmony-shadow-ambient: 0 25px 60px -15px rgba(28, 25, 23, 0.22), 0 0 1px rgba(28, 25, 23, 0.12);
	--wc-harmony-shadow-card: 0 4px 16px -4px rgba(28, 25, 23, 0.06);
	--wc-harmony-shadow-card-hover: 0 12px 28px -6px rgba(225, 67, 84, 0.15);

	--wc-harmony-ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
	--wc-harmony-ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ==========================================================================
   Base & Typography Enforcement
   ========================================================================== */

.wc-harmony-overlay,
.wc-harmony-modal-container,
.wc-harmony-modal-shell,
.wc-harmony-modal-core,
.wc-harmony-shortcode-container,
.wc-harmony-sc-title,
.wc-harmony-sc-card,
.wc-harmony-sc-card-title,
.wc-harmony-sc-card-desc,
.wc-harmony-sc-pill,
.wc-harmony-sc-old-price,
.wc-harmony-sc-new-price,
.wc-harmony-sc-upgrade-text,
.wc-harmony-title,
.wc-harmony-subtitle,
.wc-harmony-card-title,
.wc-harmony-card-desc,
.wc-harmony-tier-badge,
.wc-harmony-divider-text,
.wc-harmony-btn,
.wc-harmony-btn-label,
.wc-harmony-dismiss-link,
.wc-harmony-toast,
.wc-harmony-toast-title,
.wc-harmony-toast-msg,
.wc-harmony-product-badge,
.wc-harmony-locked-qty,
.wc-harmony-locked-qty-label {
	font-family: var(--wc-harmony-font) !important;
}

/* ==========================================================================
   Modal Overlay & Backdrop
   ========================================================================== */

.wc-harmony-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.45s var(--wc-harmony-ease-smooth), visibility 0.45s;
}

.wc-harmony-overlay.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wc-harmony-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 25, 23, 0.65);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: opacity 0.45s var(--wc-harmony-ease-smooth);
}

.wc-harmony-modal-container {
	position: relative;
	width: 100%;
	max-width: 780px;
	max-height: 92vh;
	max-height: 92dvh;
	display: flex;
	flex-direction: column;
	transform: scale(0.94) translateY(24px);
	opacity: 0;
	transition: transform 0.5s var(--wc-harmony-ease-spring), opacity 0.45s var(--wc-harmony-ease-smooth);
}

.wc-harmony-overlay.is-visible .wc-harmony-modal-container {
	transform: scale(1) translateY(0);
	opacity: 1;
}

/* ==========================================================================
   Double-Bezel Modal Architecture
   ========================================================================== */

.wc-harmony-modal-shell {
	background: var(--wc-harmony-bg-sand);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 28px;
	padding: 0px;
	box-shadow: var(--wc-harmony-shadow-ambient);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: 90vh;
	max-height: 90dvh;
}

.wc-harmony-modal-core {
	background: var(--wc-harmony-surface);
	border-radius: 22px;
	padding: 36px 36px 28px 36px;
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 2px 10px rgba(28, 25, 23, 0.03);
	border: 1px solid var(--wc-harmony-border);
	overflow-y: auto;
	overscroll-behavior: contain;
	position: relative;
	color: var(--wc-harmony-ink);
	-webkit-font-smoothing: antialiased;
}

/* Custom Sleek Scrollbar */
.wc-harmony-modal-core::-webkit-scrollbar {
	width: 6px;
}
.wc-harmony-modal-core::-webkit-scrollbar-track {
	background: transparent;
}
.wc-harmony-modal-core::-webkit-scrollbar-thumb {
	background: rgba(28, 25, 23, 0.15);
	border-radius: 30px;
}
.wc-harmony-modal-core::-webkit-scrollbar-thumb:hover {
	background: rgba(225, 67, 84, 0.4);
}

/* Close Button */
.wc-harmony-close-btn {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 38px;
	height: 38px;
	border-radius: 30px;
	background: transparent;
	border: 1px solid var(--wc-harmony-primary);
	color: var(--wc-harmony-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s var(--wc-harmony-ease-spring);
	z-index: 10;
	padding: 0;
}

.wc-harmony-close-btn:hover {
	background: var(--wc-harmony-primary);
	color: #ffffff;
	transform: rotate(90deg) scale(1.05);
}

/* ==========================================================================
   Header Architecture
   ========================================================================== */

.wc-harmony-header {
	text-align: center;
	margin-bottom: 26px;
	padding-right: 24px;
	padding-left: 24px;
}

.wc-harmony-title {
	font-size: 26px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--wc-harmony-ink);
	margin: 0 0 8px 0;
	letter-spacing: -0.02em;
}

.wc-harmony-subtitle {
	font-size: 14px;
	line-height: 1.5;
	color: var(--wc-harmony-ink-muted);
	margin: 0 auto;
	max-width: 540px;
}

/* ==========================================================================
   Tier Sections & Double-Bezel Cards
   ========================================================================== */

.wc-harmony-tier-shell {
	background: var(--wc-harmony-bg-sand);
	border: 1px solid var(--wc-harmony-border);
	border-radius: 16px;
	padding: 14px;
	margin-bottom: 18px;
	position: relative;
	transition: border-color 0.3s;
}

.wc-harmony-tier-2 {
	background: var(--wc-harmony-bg-sand);
	border: 1px solid rgba(225, 67, 84, 0.25);
	box-shadow: 0 8px 24px -10px var(--wc-harmony-primary-glow);
}

/* Tier 2 only mode (when Product X qty >= 2) */
.wc-harmony-overlay.is-tier-2-only .wc-harmony-tier-1,
.wc-harmony-overlay.is-tier-2-only .wc-harmony-divider-section {
	display: none !important;
}

.wc-harmony-overlay.is-tier-2-only .wc-harmony-tier-2 {
	margin-bottom: 0 !important;
}

.wc-harmony-tier-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 0 4px;
}

.wc-harmony-tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wc-harmony-ink);
}

.wc-harmony-tier-badge.badge-premium {
	color: var(--wc-harmony-primary);
}

.wc-harmony-tier-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

/* ==========================================================================
   Option Cards Architecture
   ========================================================================== */

.wc-harmony-card-shell {
	background: var(--wc-harmony-surface);
	border: 1px solid var(--wc-harmony-border);
	border-radius: 16px;
	padding: 4px;
	cursor: pointer;
	box-shadow: var(--wc-harmony-shadow-card);
	transition: all 0.35s var(--wc-harmony-ease-spring);
	display: flex;
	flex-direction: column;
	text-align: left;
	outline: none;
	position: relative;
}

.wc-harmony-card-shell:hover,
.wc-harmony-card-shell:focus-visible {
	border-color: var(--wc-harmony-primary);
	box-shadow: var(--wc-harmony-shadow-card-hover);
	transform: translateY(-2px);
}

.wc-harmony-card-shell.is-active {
	border-color: var(--wc-harmony-primary);
	box-shadow: 0 0 0 2px var(--wc-harmony-primary), var(--wc-harmony-shadow-card-hover);
}

.wc-harmony-card-featured:hover {
	border-color: var(--wc-harmony-primary);
}

.wc-harmony-card-core {
	padding: 16px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	justify-content: space-between;
}

.wc-harmony-card-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.wc-harmony-icon-circle {
	width: 44px;
	height: 44px;
	border-radius: 30px;
	background: var(--wc-harmony-bg-sand);
	border: 1px solid var(--wc-harmony-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wc-harmony-primary);
}

.wc-harmony-icon-circle.gold {
	background: var(--wc-harmony-primary-light);
	border-color: rgba(225, 67, 84, 0.25);
	color: var(--wc-harmony-primary);
}

.wc-harmony-thumb {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px solid var(--wc-harmony-border);
	background: #ffffff;
}

.wc-harmony-duo-thumbs {
	display: flex;
	align-items: center;
}

.wc-harmony-thumb-duo {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	object-fit: cover;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wc-harmony-thumb-duo.thumb-2 {
	margin-left: -14px;
}

.wc-harmony-thumb-placeholder {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wc-harmony-bg-sand);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wc-harmony-primary);
	font-weight: 600;
	border: 1px solid var(--wc-harmony-border);
}

.wc-harmony-value-tag {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: -0.01em;
	padding: 4px 12px;
	border-radius: 30px;
	background: var(--wc-harmony-primary);
	color: #ffffff !important;
}

.wc-harmony-value-tag .woocommerce-Price-amount,
.wc-harmony-duo-thumbs .woocommerce-Price-amount {
	color: #ffffff !important;
}

.wc-harmony-value-tag.promo-price-tag,
.wc-harmony-value-tag.gold-tag {
	background: var(--wc-harmony-primary);
	color: #ffffff !important;
}

.wc-harmony-card-info {
	margin-bottom: 16px;
}

.wc-harmony-card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wc-harmony-ink);
	margin: 0 0 6px 0;
	letter-spacing: -0.01em;
}

.wc-harmony-price-box {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 6px;
}

.wc-harmony-old-price {
	font-size: 13px;
	color: var(--wc-harmony-ink-light);
	text-decoration: line-through;
}

.wc-harmony-new-price {
	font-size: 15px;
	font-weight: 700;
	color: var(--wc-harmony-primary);
	text-decoration: none;
}

.wc-harmony-card-desc {
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--wc-harmony-ink-muted);
	margin: 0;
}

/* ==========================================================================
   Buttons (Transparent Background, 30px Radius, 1px Primary Outline)
   ========================================================================== */

.wc-harmony-card-action {
	margin-top: auto;
}

.wc-harmony-btn,
.wc-harmony-btn-outline,
.wc-harmony-btn-gold,
.wc-harmony-btn-primary {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px 9px 18px;
	border-radius: 30px !important;
	border: 1px solid var(--wc-harmony-primary) !important;
	background: transparent !important;
	color: var(--wc-harmony-primary) !important;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
	transition: all 0.3s var(--wc-harmony-ease-spring);
	text-transform: none !important;
	outline: none;
}

.wc-harmony-btn .wc-harmony-btn-label {
	color: var(--wc-harmony-primary) !important;
	transition: color 0.3s;
}

.wc-harmony-btn:active {
	transform: scale(0.98);
}

.wc-harmony-btn-icon {
	width: 26px;
	height: 26px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(225, 67, 84, 0.1);
	color: var(--wc-harmony-primary);
	transition: all 0.3s var(--wc-harmony-ease-spring);
}

/* Hover State on Button or Parent Option Card */
.wc-harmony-card-shell:hover .wc-harmony-btn,
.wc-harmony-btn:hover {
	background: var(--wc-harmony-primary) !important;
	border-color: var(--wc-harmony-primary) !important;
	color: #ffffff !important;
}

.wc-harmony-card-shell:hover .wc-harmony-btn .wc-harmony-btn-label,
.wc-harmony-btn:hover .wc-harmony-btn-label {
	color: #ffffff !important;
}

.wc-harmony-card-shell:hover .wc-harmony-btn .wc-harmony-btn-icon,
.wc-harmony-btn:hover .wc-harmony-btn-icon {
	background: #ffffff !important;
	color: var(--wc-harmony-primary) !important;
	transform: translateX(3px);
}

/* ==========================================================================
   Divider Section
   ========================================================================== */

.wc-harmony-divider-section {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 18px 0;
	position: relative;
}

.wc-harmony-divider-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(28, 25, 23, 0.15) 50%, transparent 100%);
}

.wc-harmony-divider-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 18px;
	border-radius: 30px;
	background: var(--wc-harmony-bg-sand);
	border: 1px solid rgba(225, 67, 84, 0.3);
	box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
	margin: 0 10px;
}

.wc-harmony-divider-text {
	font-size: 12.5px;
	font-style: normal;
	font-weight: 500;
	color: var(--wc-harmony-ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.wc-harmony-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 20px;
	margin-top: 14px;
}

.wc-harmony-dismiss-link {
	background: transparent !important;
	border: none;
	padding: 0;
	font-size: 13px;
	color: var(--wc-harmony-ink-muted);
	cursor: pointer;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-transform: none !important;
	transition: color 0.25s;
}

.wc-harmony-dismiss-link:hover {
	color: var(--wc-harmony-primary) !important;
}

/* ==========================================================================
   Toast Notification (Haptic UI Feedback)
   ========================================================================== */

.wc-harmony-toast {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #FFFFFF;
	color: var(--wc-harmony-ink);
	border-radius: 30px;
	padding: 14px 22px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 20px 40px -10px rgba(28, 25, 23, 0.25);
	border: 1px solid var(--wc-harmony-primary);
	z-index: 1000000;
	transform: translateY(100px) scale(0.9);
	opacity: 0;
	visibility: hidden;
	transition: all 0.45s var(--wc-harmony-ease-spring);
}

.wc-harmony-toast.is-active {
	transform: translateY(0) scale(1);
	opacity: 1;
	visibility: visible;
}

.wc-harmony-toast-icon {
	width: 32px;
	height: 32px;
	border-radius: 30px;
	background: var(--wc-harmony-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
}

.wc-harmony-toast-content {
	display: flex;
	flex-direction: column;
}

.wc-harmony-toast-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--wc-harmony-primary);
}

.wc-harmony-toast-msg {
	font-size: 12px;
	color: var(--wc-harmony-ink-muted);
}

/* ==========================================================================
   WooCommerce Cart & Checkout Enhancements
   ========================================================================== */

.wc-harmony-product-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--wc-harmony-bg-sand);
	border: 1px solid var(--wc-harmony-primary);
	color: var(--wc-harmony-primary);
	font-size: 11px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 30px;
	margin-left: 6px;
	vertical-align: middle;
}

.wc-harmony-product-badge svg {
	color: var(--wc-harmony-primary);
}

.wc-harmony-cart-price {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wc-harmony-del-price {
	color: var(--wc-harmony-ink-light);
	font-size: 0.9em;
}

.wc-harmony-ins-price {
	color: var(--wc-harmony-primary);
	font-weight: 700;
	text-decoration: none;
}

.wc-harmony-locked-qty {
	font-weight: 600;
	color: var(--wc-harmony-ink);
}

.wc-harmony-locked-qty-label {
	font-size: 11px;
	color: var(--wc-harmony-primary);
	font-weight: 500;
	margin-left: 4px;
}

/* ==========================================================================
   Responsive Adaptations (< 768px Mobile First)
   ========================================================================== */

@media (max-width: 768px) {
	.wc-harmony-overlay {
		padding: 12px;
		align-items: flex-end;
	}

	.wc-harmony-modal-container {
		max-height: 94vh;
		max-height: 94dvh;
	}

	.wc-harmony-modal-shell {
		border-radius: 20px;
		padding: 0px;
	}

	.wc-harmony-modal-core {
		padding: 24px 16px 20px 16px;
		border-radius: 16px;
	}

	.wc-harmony-title {
		font-size: 20px;
	}

	.wc-harmony-subtitle {
		font-size: 13px;
	}

	.wc-harmony-tier-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.wc-harmony-footer {
		flex-direction: column;
		gap: 14px;
		text-align: center;
	}

	.wc-harmony-toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
		border-radius: 30px;
	}
}

/* ==========================================================================
   Embedded Shortcode Architecture [harmony_upsell] (Pixel-Match to Design)
   ========================================================================== */

.wc-harmony-shortcode-container {
	width: 100%;
	max-width: 720px;
	margin: 24px auto;
	box-sizing: border-box;
	position: relative;
	display: block !important;
}

.wc-harmony-sc-title {
	font-size: 22px;
	font-weight: 700;
	color: #1C1917;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin: 0 0 16px 0;
	text-align: left;
	line-height: 1.25;
}

.wc-harmony-sc-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	box-sizing: border-box;
}

/* Base Card */
.wc-harmony-sc-card {
	background: #FFFFFF !important;
	border-radius: 16px;
	padding: 24px 22px 28px 22px;
	box-sizing: border-box;
	border: 2px solid transparent;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	text-align: left;
	transition: all 0.25s var(--wc-harmony-ease-spring);
	outline: none;
	position: relative;
	min-height: 200px;
}

.wc-harmony-sc-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Selected / Active State (Matches Left Card in Screenshot) */
.wc-harmony-sc-card.is-active {
	border: 2px solid #1C1917 !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Badge Box & -10% Pill (Matches Left Card in Screenshot) */
.wc-harmony-sc-badge-box {
	margin: 0 0 16px 0;
	display: flex;
	align-items: center;
}

.wc-harmony-sc-pill {
	display: inline-block;
	background: #E14354;
	color: #FFFFFF !important;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 18px;
	border-radius: 30px;
	letter-spacing: -0.02em;
}

/* Thumbnail Box (Matches Right Card in Screenshot) */
.wc-harmony-sc-thumb-box {
	margin: 0 0 16px 0;
	width: 58px;
	height: 58px;
	border-radius: 12px;
	background: #F1EDE9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.wc-harmony-sc-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.wc-harmony-sc-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F1EDE9;
	color: var(--wc-harmony-primary);
}

.wc-harmony-sc-thumb-box.duo {
	width: auto;
	background: transparent;
	display: flex;
	align-items: center;
}

.wc-harmony-sc-thumb-box.duo .wc-harmony-sc-thumb {
	width: 48px;
	height: 48px;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wc-harmony-sc-thumb-box.duo .thumb-2 {
	margin-left: -14px;
}

/* Card Heading */
.wc-harmony-sc-card-title {
	font-size: 16.5px;
	font-weight: 700;
	color: #1C1917;
	margin: 0 0 6px 0;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

/* Price Box (Both Prices in Red as in Screenshot) */
.wc-harmony-sc-price-box {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 8px 0;
	line-height: 1.2;
}

.wc-harmony-sc-old-price,
.wc-harmony-sc-old-price .woocommerce-Price-amount {
	color: #E14354 !important;
	text-decoration: line-through;
	font-size: 15px;
	font-weight: 700;
}

.wc-harmony-sc-new-price,
.wc-harmony-sc-new-price .woocommerce-Price-amount {
	color: #E14354 !important;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
}

/* Card Description */
.wc-harmony-sc-card-desc {
	font-size: 13px;
	color: #6B635B;
	line-height: 1.45;
	margin: 0;
}

/* ==========================================================================
   Shortcode Conditional Visibility Rules
   ========================================================================== */

/* ==========================================================================
   Quantity Tiers Selector [product_quantity_tiers] & [harmony_upsell]
   ========================================================================== */

.custom-tier-selector-container {
	width: 100%;
	margin: 15px 0;
	box-sizing: border-box;
}

.custom-tier-selector {
	display: flex;
	flex-direction: column;
	gap: 12px;
	/*margin-bottom: 16px;*/
	width: 100%;
	box-sizing: border-box;
}

.custom-tier-selector .tier-card {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: #ffffff;
	border: 2px solid #e5e5e5;
	border-radius: 12px;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.custom-tier-selector .tier-card.active {
	border-color: #111111;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.custom-tier-selector .tier-card input[type="radio"] {
	display: none !important;
}

.custom-tier-selector .tier-title {
	display: block;
	font-weight: 700;
	font-size: 16px;
	color: #111111;
	line-height: 1.3;
}

.custom-tier-selector .tier-subtitle {
	display: block;
	font-size: 13px;
	color: #888888;
	margin-top: 4px;
	line-height: 1.2;
}

.custom-tier-selector .tier-price-box {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.custom-tier-selector .tier-old-price,
.custom-tier-selector .tier-old-price * {
	font-size: 15px;
	color: #000000 !important;
	text-decoration: line-through !important;
	line-height: 1;
	white-space: nowrap;
	opacity: 1 !important;
}

.custom-tier-selector .tier-price {
	font-weight: 700;
	font-size: 16px;
	color: #111111;
	white-space: nowrap;
}

.custom-tier-selector .tier-price .woocommerce-Price-amount {
	color: inherit !important;
	font-weight: 700 !important;
}

.custom-tier-selector .tier-price.is-discounted,
.custom-tier-selector .tier-price.is-discounted .woocommerce-Price-amount {
	color: #dc4858 !important;
}

.custom-tier-selector .tier-badge {
	position: absolute;
	top: -10px;
	right: 20px;
	background: #e24a5a;
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	line-height: 1.2;
	z-index: 2;
}

.custom-tier-selector .tier-badge.discount-badge {
	background: #2e7d32;
}

/* Shipping Notice */
.tier-shipping-note {
	color: #dc4858;
	font-size: 14px;
	font-weight: 500;
	margin: 18px 0 14px 4px;
}

/* Add to Cart Button */
.tier-add-to-cart-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background-color: #dc4858 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 30px !important;
	padding: 16px 24px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
	text-transform: none !important;
	outline: none;
	box-shadow: 0 4px 14px rgba(220, 72, 88, 0.25);
}

.tier-add-to-cart-button:hover {
	background-color: #c93b4a !important;
	transform: translateY(-1px);
}

.tier-add-to-cart-button:active {
	transform: scale(0.99);
}

.tier-add-to-cart-button.is-loading {
	opacity: 0.8;
	cursor: wait;
}

@keyframes wcHarmonySpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.wc-harmony-spin {
	animation: wcHarmonySpin 0.9s linear infinite;
	vertical-align: middle;
}

/* ==========================================================================
   Offers Section & Visibility Toggles
   ========================================================================== */

.wc-harmony-sc-offers-section {
	margin-top: 18px;
	margin-bottom: 8px;
}

/* Mode: 1 Box Active (Shows Tier 1 & Upgrade Line, Hides Tier 2) */
.custom-tier-selector-container.is-tier-1-active .wc-harmony-sc-tier-1,
.wc-harmony-shortcode-container.is-tier-1-only .wc-harmony-sc-tier-1 {
	display: grid !important;
}

.custom-tier-selector-container.is-tier-1-active .wc-harmony-sc-upgrade-line,
.wc-harmony-shortcode-container.is-tier-1-only .wc-harmony-sc-upgrade-line {
	display: flex !important;
}

.custom-tier-selector-container.is-tier-1-active .wc-harmony-sc-tier-2,
.wc-harmony-shortcode-container.is-tier-1-only .wc-harmony-sc-tier-2 {
	display: none !important;
}

/* Mode: 2 Boxes Active (Shows Tier 2, Hides Tier 1 & Upgrade Line) */
.custom-tier-selector-container.is-tier-2-active .wc-harmony-sc-tier-1,
.wc-harmony-shortcode-container.is-tier-2-only .wc-harmony-sc-tier-1 {
	display: none !important;
}

.custom-tier-selector-container.is-tier-2-active .wc-harmony-sc-upgrade-line,
.wc-harmony-shortcode-container.is-tier-2-only .wc-harmony-sc-upgrade-line {
	display: none !important;
}

.custom-tier-selector-container.is-tier-2-active .wc-harmony-sc-tier-2,
.wc-harmony-shortcode-container.is-tier-2-only .wc-harmony-sc-tier-2 {
	display: grid !important;
}

/* Polish Upgrade Line when Qty = 1 (Clickable to switch to 2 units) */
.wc-harmony-sc-upgrade-line {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 16px;
	cursor: pointer;
}

.wc-harmony-sc-upgrade-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border-radius: 30px;
	background: var(--wc-harmony-primary-light);
	border: 1px solid rgba(225, 67, 84, 0.22);
	box-shadow: 0 2px 8px -2px var(--wc-harmony-primary-glow);
	transition: all 0.25s var(--wc-harmony-ease-spring);
}

.wc-harmony-sc-upgrade-line:hover .wc-harmony-sc-upgrade-pill {
	border-color: var(--wc-harmony-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px -2px var(--wc-harmony-primary-glow);
}

.wc-harmony-sc-upgrade-icon {
	color: var(--wc-harmony-primary);
	display: flex;
	align-items: center;
}

.wc-harmony-sc-upgrade-text {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wc-harmony-ink);
	margin: 0;
	letter-spacing: -0.01em;
}

/* Responsive (< 680px) */
@media (max-width: 680px) {
	.wc-harmony-sc-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.wc-harmony-sc-title {
		font-size: 19px;
	}

	.wc-harmony-sc-card {
		padding: 20px 18px 22px 18px;
	}

	.wc-harmony-sc-pill {
		font-size: 22px;
		padding: 6px 16px;
	}

	.wc-harmony-sc-upgrade-pill {
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}

	.tier-add-to-cart-button {
		padding: 14px 20px !important;
		font-size: 15px !important;
	}
}


