/**
 * TikTok LP — marketplace-sa.com/pages/maablm parity
 */

:root {
	/* Site tokens (Studio wp_head overrides --brand / --canvas-*) */
	--brand: 43 68% 47%;
	--brand-highlight: 43 85% 62%;
	--promo: 25 90% 52%;
	--canvas: 220 18% 7%;
	--canvas-dark: 222 20% 5%;
	--ink: 0 0% 97%;
	--muted: 220 8% 58%;

	--tiktok-lp-text: hsl(var(--ink));
	--tiktok-lp-muted: hsl(var(--muted));
	--tiktok-lp-surface: hsl(var(--canvas-dark));
	--tiktok-lp-border: hsl(0 0% 100% / 0.1);
	--tiktok-lp-accent: hsl(var(--brand));
	--tiktok-emerald: #34d399;
}

html.tiktok-minimal-lp,
body.tiktok-minimal-lp {
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--tiktok-lp-text);
	font-family: "Cairo", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.tiktok-minimal-lp * {
	box-sizing: border-box;
}

.tiktok-blm100 {
	margin: 0;
	min-height: 100vh;
	background: #fff;
	color: var(--tiktok-lp-text);
	font-family: inherit;
	padding-bottom: 88px;
}

.tiktok-blm100__banner {
	display: block;
	width: 100%;
}

.tiktok-blm100__banner img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
	min-height: 80px;
	background: #f4f4f4;
}

.tiktok-blm100__checkout-wrap {
	width: 100%;
	max-width: 600px;
	margin: 8px auto 0;
	padding: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
	position: relative;
	z-index: 100;
	isolation: isolate;
}

#blm100-checkout,
#store-html-lp-checkout {
	position: relative;
	z-index: 100;
	isolation: isolate;
}

.tiktok-blm100__checkout {
	border: none;
	border-radius: 0;
	background: #fff;
	padding: 12px 12px 16px;
	color: #3d2b1f;
}

.tiktok-blm100__product-img {
	display: block;
	max-width: 300px;
	width: 100%;
	height: auto;
	margin: 0 auto 8px;
}

.tiktok-blm100__pick {
	margin: 0 0 12px;
	padding: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tiktok-lp-text);
}

/* ── Bundle panel — BundleSelector product variant (dark + brand) ─────── */
.tiktok-blm100__bundles-panel {
	margin: 0 0 12px;
	padding: 0;
	overflow: visible;
}

.store-lp-bundles {
	margin: 0;
}

.store-lp-bundles__heading {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.5);
}

.store-lp-bundles__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.store-lp-bundle {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.02);
	padding: 16px;
	text-align: right;
	cursor: pointer;
	transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
	font-family: inherit;
	color: #fff;
}

.store-lp-bundle.has-badge {
	padding-top: 32px;
}

.store-lp-bundle:hover:not(.is-active):not(.bundle-active) {
	border-color: rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.04);
}

.store-lp-bundle.is-active,
.store-lp-bundle.bundle-active {
	border-color: hsl(var(--brand) / 0.5);
	background: hsl(var(--brand) / 0.07);
	box-shadow: 0 0 30px hsl(var(--brand) / 0.1);
}

.store-lp-bundle__badge {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: inline-flex;
	padding: 4px 12px;
	border-bottom-left-radius: 12px;
	font-size: 10px;
	font-weight: 900;
	color: #fff;
	line-height: 1.3;
}

.store-lp-bundle__badge--popular {
	background: linear-gradient(to right, #3b82f6, #4f46e5);
}

.store-lp-bundle__badge--best {
	background: linear-gradient(to right, #eab308, #ca8a04);
}

.store-lp-bundle__badge--accent {
	background: linear-gradient(to right, #eab308, #ca8a04);
}

.store-lp-bundle__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.store-lp-bundle__main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.store-lp-bundle__radio {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: transparent;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.store-lp-bundle__radio svg {
	display: none;
	color: #000;
}

.store-lp-bundle.is-active .store-lp-bundle__radio,
.store-lp-bundle.bundle-active .store-lp-bundle__radio {
	border-color: hsl(var(--brand));
	background: hsl(var(--brand));
}

.store-lp-bundle.is-active .store-lp-bundle__radio svg,
.store-lp-bundle.bundle-active .store-lp-bundle__radio svg {
	display: block;
}

.store-lp-bundle__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.4);
	flex-shrink: 0;
}

.store-lp-bundle.is-active .store-lp-bundle__icon,
.store-lp-bundle.bundle-active .store-lp-bundle__icon {
	border-color: hsl(var(--brand) / 0.25);
	background: hsl(var(--brand) / 0.15);
	color: hsl(var(--brand));
}

.store-lp-bundle__title {
	display: block;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.7);
}

.store-lp-bundle.is-active .store-lp-bundle__title,
.store-lp-bundle.bundle-active .store-lp-bundle__title {
	color: #fff;
}

.store-lp-bundle__unit {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.35);
}

.store-lp-bundle__prices {
	text-align: left;
	flex-shrink: 0;
	min-width: 4.5rem;
}

.store-lp-bundle__total {
	display: block;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
	color: rgba(255, 255, 255, 0.6);
	font-variant-numeric: tabular-nums;
}

.store-lp-bundle.is-active .store-lp-bundle__total,
.store-lp-bundle.bundle-active .store-lp-bundle__total {
	color: #fff;
}

.store-lp-bundle__total small {
	font-size: 12px;
	font-weight: 700;
	opacity: 0.5;
}

.store-lp-bundle__was {
	display: block;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.2);
	text-decoration: line-through;
	font-variant-numeric: tabular-nums;
}

.store-lp-bundle__save {
	display: inline-flex;
	align-items: center;
	align-self: flex-end;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.04);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.4;
	text-align: start;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.25);
}

.store-lp-bundle.is-active .store-lp-bundle__save,
.store-lp-bundle.bundle-active .store-lp-bundle__save {
	border-color: rgba(16, 185, 129, 0.2);
	background: rgba(16, 185, 129, 0.15);
	color: var(--tiktok-emerald);
}

.store-lp-bundles__summary {
	margin: 12px 0 0;
	padding: 10px 14px;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--tiktok-emerald);
	border-radius: 12px;
	border: 1px solid rgba(16, 185, 129, 0.2);
	background: rgba(16, 185, 129, 0.1);
}

.store-lp-bundles__summary-val {
	font-weight: 900;
}

.tiktok-blm100__bundles {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0 auto 12px;
	max-width: max-content;
	width: 100%;
}

.tiktok-blm100__bundle {
	width: 100%;
	max-width: 100%;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
	padding: 12px 14px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--tiktok-lp-text);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.tiktok-blm100__bundle.is-active {
	border-color: #d0021b;
	background: #fff;
	box-shadow: inset 0 0 0 1px #d0021b;
}

.tiktok-blm100__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 12px;
	margin: 0 0 16px;
	text-align: center;
}

.tiktok-blm100__price-current {
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	color: var(--tiktok-lp-text);
}

.tiktok-blm100__price-old {
	font-size: 18px;
	font-weight: 700;
	color: var(--tiktok-lp-muted);
	text-decoration: line-through;
}

.tiktok-blm100__currency {
	font-size: 0.72em;
	font-weight: 800;
}

.tiktok-blm100__field {
	margin-bottom: 14px;
}

.tiktok-blm100__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: hsl(0 0% 100% / 0.85);
}

.tiktok-blm100__field input,
.tiktok-blm100__field textarea {
	width: 100%;
	border: 1px solid hsl(0 0% 100% / 0.1);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 16px;
	font-family: inherit;
	color: #fff;
	background: hsl(0 0% 100% / 0.05);
	transition: border-color 0.2s ease, background 0.2s ease;
	resize: vertical;
	min-height: 48px;
}

.tiktok-blm100__field input::placeholder,
.tiktok-blm100__field textarea::placeholder {
	color: hsl(0 0% 100% / 0.35);
}

.tiktok-blm100__field input:focus,
.tiktok-blm100__field textarea:focus {
	outline: none;
	border-color: hsl(var(--brand) / 0.5);
	background: hsl(0 0% 100% / 0.08);
}

.tiktok-blm100__error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(239, 68, 68, 0.25);
	background: rgba(239, 68, 68, 0.12);
	color: #fca5a5;
	font-size: 14px;
	font-weight: 700;
}

.tiktok-blm100__submit {
	width: 100%;
	border: 0;
	border-radius: 16px;
	padding: 16px;
	font-size: 18px;
	font-weight: 900;
	font-family: inherit;
	cursor: pointer;
}

/* Shared CTA — product page accent-gradient parity */
.tiktok-blm100__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 16px;
	padding: 14px 20px;
	background: linear-gradient(to bottom right, #f59e0b, #d97706, #92400e);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	font-family: inherit;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 20px hsl(var(--brand) / 0.35);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.tiktok-blm100__cta:hover,
.tiktok-blm100__cta:focus {
	filter: brightness(1.05);
}

.tiktok-blm100__cta:active {
	transform: scale(0.97);
}

.tiktok-blm100__submit.tiktok-blm100__cta {
	width: 100%;
	padding: 16px;
	font-size: 18px;
	color: #fff;
}

.tiktok-blm100__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* Sticky bar — frosted glass floating bar */
.tiktok-blm100__sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	justify-content: center;
	padding: 0 14px calc(10px + env(safe-area-inset-bottom, 0px));
	pointer-events: none;
	transform: translateY(0);
	opacity: 1;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, visibility 0.35s ease;
	background: transparent;
	border: none;
}

.tiktok-blm100__sticky.is-hidden {
	transform: translateY(calc(100% + 20px));
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

body.tiktok-blm100--in-checkout .tiktok-blm100__sticky,
body.tiktok-blm100--in-checkout .tiktok-blm100__sticky-inner {
	pointer-events: none !important;
	visibility: hidden;
}

.tiktok-blm100__sticky-inner {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	pointer-events: auto;
	border-radius: 18px;
	padding: 9px 9px 9px 14px;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.78) 0%,
		rgba(255, 255, 255, 0.58) 100%
	);
	-webkit-backdrop-filter: blur(22px) saturate(165%);
	backdrop-filter: blur(22px) saturate(165%);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow:
		0 10px 40px rgba(28, 20, 16, 0.12),
		0 2px 8px rgba(28, 20, 16, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.tiktok-blm100__sticky-row {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: none;
	margin: 0;
}

.tiktok-blm100__sticky-info {
	flex: 1;
	min-width: 0;
	padding: 4px 6px 4px 0;
	border: 0;
	background: transparent;
	text-align: right;
	cursor: pointer;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tiktok-blm100__sticky-name {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--charcoal, #1c1410);
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tiktok-blm100__sticky-price {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	color: rgba(28, 20, 16, 0.72);
}

.tiktok-blm100__sticky-price #tiktok-sticky-price-val {
	font-weight: 900;
	color: var(--charcoal, #1c1410);
}

.tiktok-blm100__sticky-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.tiktok-blm100__sticky-price-line {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
}

.tiktok-blm100__sticky-price-val {
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	color: var(--gold-dark, #a07840);
	font-variant-numeric: tabular-nums;
}

.tiktok-blm100__sticky-price-currency {
	font-size: 11px;
	font-weight: 700;
	color: rgba(61, 43, 31, 0.65);
}

.tiktok-blm100__sticky-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.35;
	color: #15803d;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.22);
	white-space: nowrap;
}

.tiktok-blm100__sticky-cta {
	flex-shrink: 0;
	white-space: nowrap;
	padding: 11px 16px;
	font-size: 13px;
	font-weight: 800;
	border-radius: 14px;
	min-height: 44px;
	box-shadow: 0 4px 16px rgba(200, 169, 110, 0.32);
}

@media (max-width: 440px) {
	.tiktok-blm100__checkout-wrap {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.tiktok-blm100__checkout {
		border-left: 0;
		border-right: 0;
		border-radius: 0;
		border-top: 1px solid var(--cream-dark, #f2ebe0);
		border-bottom: 1px solid var(--cream-dark, #f2ebe0);
	}
}

.tiktok-blm100__checkout {
	border: none;
	border-radius: 0;
	background: #fff;
	padding: 12px 12px 16px;
	color: #3d2b1f;
}

.tiktok-blm100__bundles-panel {
	margin: 0 0 12px;
	padding: 0;
}

/* ── Quantity selector (product-page parity) ─────────────────────────── */
.tiktok-blm100 {
	--gold: #c8a96e;
	--gold-dark: #a8894f;
	--gold-light: #dfc18e;
	--charcoal: #1a1410;
	--mbrown: #3d2b1f;
	--cream-dark: #f2ebe0;
	--white: #fff;
	--shadow-card: 0 4px 24px rgba(26, 20, 16, 0.08);
	--shadow-gold: 0 4px 20px rgba(200, 169, 110, 0.35);
	--trans: 0.2s ease;
	--font-tajawal: "Tajawal", "Cairo", Tahoma, sans-serif;
}

.tiktok-blm100 .quantity-selector-card {
	border-radius: 1rem;
	border: 1px solid var(--cream-dark);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(4px);
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.tiktok-blm100 .quantity-selector-header {
	padding: 1rem 1rem 0.75rem;
	border-bottom: 1px solid rgba(242, 235, 224, 0.8);
}

.tiktok-blm100 .quantity-selector-title {
	font-family: "Cairo", Tahoma, sans-serif;
	font-weight: 700;
	color: var(--charcoal);
	font-size: 1rem;
	margin: 0;
}

.tiktok-blm100 .quantity-selector-save-badge {
	font-family: "Cairo", Tahoma, sans-serif;
	font-weight: 600;
	font-size: 0.6875rem;
	color: var(--gold-dark);
	background: rgba(200, 169, 110, 0.1);
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	white-space: nowrap;
}

.tiktok-blm100 .quantity-selector-progress {
	display: flex;
	gap: 0.25rem;
	height: 0.375rem;
	border-radius: 999px;
	overflow: hidden;
	background: var(--cream-dark);
}

.tiktok-blm100 .quantity-selector-progress-seg {
	height: 100%;
	border-radius: 999px;
	background: transparent;
	transition: background 0.3s ease;
}

.tiktok-blm100 .quantity-selector-progress-seg.is-filled {
	background: var(--gold);
}

.tiktok-blm100 .quantity-selector-tiers {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 0.75rem;
}

.tiktok-blm100 .tier-selector {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tiktok-blm100 .tier-option {
	position: relative;
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.875rem;
	border-radius: 0.75rem;
	border: 2px solid var(--cream-dark);
	cursor: pointer;
	transition: all var(--trans);
	background: rgba(251, 248, 242, 0.6);
	text-align: start;
	font-family: inherit;
	color: inherit;
}

.tiktok-blm100 .tier-option:hover {
	border-color: rgba(200, 169, 110, 0.4);
	background: var(--white);
}

.tiktok-blm100 .tier-option.selected {
	border-color: var(--gold);
	background: linear-gradient(to left, rgba(200, 169, 110, 0.1), rgba(200, 169, 110, 0.05), #fff);
	box-shadow: var(--shadow-gold);
}

.tiktok-blm100 .tier-option.highlighted:not(.selected) {
	box-shadow: 0 0 0 1px rgba(200, 169, 110, 0.2);
}

.tiktok-blm100 .tier-option-body {
	flex: 1;
	min-width: 0;
}

.tiktok-blm100 .tier-option-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
}

.tiktok-blm100 .tier-option-meta {
	flex: 1;
	min-width: 0;
}

.tiktok-blm100 .tier-option-pricing {
	text-align: end;
	flex-shrink: 0;
}

.tiktok-blm100 .tier-option-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.625rem;
	padding-top: 0.625rem;
	border-top: 1px solid rgba(242, 235, 224, 0.6);
}

.tiktok-blm100 .tier-perk {
	font-family: var(--font-tajawal);
	font-size: 0.6875rem;
	color: rgba(61, 43, 31, 0.7);
}

.tiktok-blm100 .tier-radio {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	border: 2px solid #d1d5db;
	transition: all var(--trans);
	position: relative;
	flex-shrink: 0;
	margin-top: 0.125rem;
	background: #fff;
}

.tiktok-blm100 .tier-option.selected .tier-radio {
	border-color: var(--gold);
	background: var(--gold);
}

.tiktok-blm100 .tier-option.selected .tier-radio::after {
	content: "";
	position: absolute;
	inset: 0.3125rem;
	border-radius: 999px;
	background: #fff;
}

.tiktok-blm100 .tier-label-main {
	font-family: "Cairo", Tahoma, sans-serif;
	font-weight: 700;
	color: var(--charcoal);
	font-size: 0.9375rem;
	line-height: 1.35;
}

.tiktok-blm100 .tier-label-sub {
	font-family: var(--font-tajawal);
	color: rgba(61, 43, 31, 0.8);
	font-size: 0.75rem;
	display: block;
	margin-top: 0.125rem;
	line-height: 1.5;
}

.tiktok-blm100 .tier-badge {
	position: absolute;
	top: -0.625rem;
	inset-inline-end: 0.75rem;
	display: inline-flex;
	align-items: center;
	padding: 0.125rem 0.625rem;
	border-radius: 999px;
	font-size: 0.625rem;
	font-family: "Cairo", Tahoma, sans-serif;
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	z-index: 2;
	white-space: nowrap;
}

.tiktok-blm100 .tier-badge-gold {
	background: var(--gold);
	color: #fff;
}

.tiktok-blm100 .tier-badge-green {
	background: #16a34a;
	color: #fff;
}

.tiktok-blm100 .tier-price {
	font-family: "Cairo", Tahoma, sans-serif;
	font-weight: 800;
	color: var(--charcoal);
	font-size: 1.125rem;
	direction: ltr;
	white-space: nowrap;
	line-height: 1;
}

.tiktok-blm100 .tier-option.selected .tier-price {
	color: var(--gold-dark);
}

.tiktok-blm100 .tier-unit-price {
	font-family: "Cairo", Tahoma, sans-serif;
	font-size: 0.625rem;
	color: rgba(61, 43, 31, 0.6);
	margin-top: 0.25rem;
	direction: ltr;
}

.tiktok-blm100 .tier-savings {
	font-family: "Cairo", Tahoma, sans-serif;
	font-weight: 700;
	font-size: 0.6875rem;
	color: #15803d;
	background: #f0fdf4;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	white-space: nowrap;
}

.tiktok-blm100 .quantity-selector-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.tiktok-blm100__field label {
	color: var(--mbrown);
}

.tiktok-blm100__field input,
.tiktok-blm100__field textarea {
	border: 1px solid var(--cream-dark);
	background: #fff;
	color: var(--charcoal);
}

.tiktok-blm100__cta-gold,
.tiktok-blm100__submit.tiktok-blm100__cta-gold {
	background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
	color: #fff;
	box-shadow: var(--shadow-gold);
	border: none;
}

.tiktok-blm100__cta-gold:hover,
.tiktok-blm100__submit.tiktok-blm100__cta-gold:hover {
	opacity: 0.92;
}

/* Checkout form (modal parity) */
.tiktok-blm100__checkout-form {
	margin-top: 0.5rem;
}

.tiktok-blm100 .checkout-section-title {
	font-weight: 700;
	color: var(--charcoal);
	font-size: 0.875rem;
	margin: 0 0 0.5rem;
}

.tiktok-blm100 .checkout-form {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.tiktok-blm100 .checkout-form .tiktok-blm100__field {
	margin-bottom: 0;
}

.tiktok-blm100 .checkout-form .tiktok-blm100__field label {
	margin-bottom: 0;
}

.tiktok-blm100 .form-group {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.tiktok-blm100 .form-label {
	font-weight: 600;
	color: var(--charcoal);
	font-size: 0.875rem;
}

.tiktok-blm100 .form-label-required {
	color: #dc2626;
}

.tiktok-blm100 .form-input {
	width: 100%;
	border: 2px solid var(--cream-dark);
	border-radius: 0.875rem;
	padding: 0.625rem 0.875rem;
	font-size: 0.9375rem;
	color: var(--charcoal);
	background: #fbf8f2;
	transition: border-color 0.2s ease;
	outline: none;
}

.tiktok-blm100 .form-input::placeholder {
	color: rgba(61, 43, 31, 0.4);
}

.tiktok-blm100 .form-input:focus {
	border-color: var(--gold);
	background: #fff;
}

.tiktok-blm100 .form-input.error {
	border-color: #f87171;
}

.tiktok-blm100 .form-input.valid {
	border-color: #4ade80;
}

.tiktok-blm100 .form-error {
	color: #dc2626;
	font-size: 0.75rem;
}

.tiktok-blm100 .form-hint {
	color: rgba(61, 43, 31, 0.6);
	font-size: 0.75rem;
}

.tiktok-blm100 .form-input-wrap {
	position: relative;
}

.tiktok-blm100 .form-valid-icon {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	color: #22c55e;
}

.tiktok-blm100 .alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 0.875rem;
	padding: 0.75rem;
	text-align: center;
}

.tiktok-blm100 .alert-error-text {
	color: #dc2626;
	font-size: 0.875rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.tiktok-blm100 .alert-dismiss {
	font-size: 0.75rem;
	color: #ef4444;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: underline;
	margin-top: 0.25rem;
	display: block;
	margin-inline: auto;
}

.tiktok-blm100 .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	cursor: pointer;
	border: none;
	font-family: inherit;
}

.tiktok-blm100 .btn-xl {
	padding: 0.9375rem 2rem;
	font-size: 1.0625rem;
	border-radius: 0.875rem;
	width: 100%;
}

.tiktok-blm100 #checkout-submit-btn,
.tiktok-blm100 .tiktok-blm100__submit {
	position: relative;
	z-index: 2;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	scroll-margin-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
	transition: transform 0.08s ease, opacity 0.08s ease;
}

.tiktok-blm100 #checkout-submit-btn:active:not(:disabled),
.tiktok-blm100 .tiktok-blm100__submit:active:not(:disabled) {
	transform: scale(0.98);
}

.tiktok-blm100 #checkout-submit-btn.is-submitting,
.tiktok-blm100 .tiktok-blm100__submit.is-submitting {
	opacity: 0.92;
	cursor: wait;
}

.tiktok-blm100__submit-status {
	margin-top: 0.75rem;
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
	border: 1px solid rgba(34, 197, 94, 0.35);
	text-align: center;
	font-family: var(--font-cairo, Cairo, sans-serif);
	animation: tiktokSubmitPop 0.2s ease;
}

.tiktok-blm100__submit-status-title {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 800;
	color: #166534;
}

.tiktok-blm100__submit-status-hint {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(22, 101, 52, 0.85);
}

@keyframes tiktokSubmitPop {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.tiktok-blm100 .btn-primary,
.tiktok-blm100 .btn.btn-primary {
	background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
	color: #fff;
	box-shadow: var(--shadow-gold);
}

.tiktok-blm100 .checkout-trust-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: rgba(61, 43, 31, 0.7);
}

.tiktok-blm100 .checkout-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

@media (min-width: 768px) {
	.tiktok-blm100 {
		padding-bottom: 96px;
	}

	.tiktok-blm100__sticky-inner {
		max-width: 520px;
	}
}

/* Legal footer + checkout consent (TikTok compliance) */
.tiktok-blm100__legal-consent {
	margin: 0.75rem 0 0;
	font-family: var(--font-tajawal);
	font-size: 0.6875rem;
	line-height: 1.5;
	color: rgba(61, 43, 31, 0.75);
	text-align: center;
}

.tiktok-blm100__legal-consent a {
	color: var(--gold-deep, #9a7b4f);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tiktok-blm100__footer {
	margin: 1.5rem 0 6rem;
	padding: 1.25rem 1rem 1.5rem;
	border-top: 1px solid rgba(242, 235, 224, 0.9);
	text-align: center;
	font-family: var(--font-tajawal);
}

.tiktok-blm100__footer-brand {
	margin: 0 0 0.5rem;
	font-family: var(--font-cairo);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--text-primary, #3d2b1f);
}

.tiktok-blm100__footer-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.375rem 0.5rem;
	margin-bottom: 0.625rem;
	font-size: 0.75rem;
}

.tiktok-blm100__footer-links a {
	color: var(--gold-deep, #9a7b4f);
	text-decoration: none;
}

.tiktok-blm100__footer-links a:hover {
	text-decoration: underline;
}

.tiktok-blm100__footer-sep {
	color: rgba(61, 43, 31, 0.35);
}

.tiktok-blm100__footer-cod {
	margin: 0 0 0.375rem;
	font-size: 0.6875rem;
	color: rgba(61, 43, 31, 0.7);
	line-height: 1.45;
}

.tiktok-blm100__footer-copy {
	margin: 0;
	font-size: 0.625rem;
	color: rgba(61, 43, 31, 0.5);
}
