:root {
	--scr-brand: #4338ca;
	--scr-brand-dark: #372ea6;
	--scr-brand-ink: #362da2;
	--scr-brand-line: #a19ce5;
	--scr-brand-soft: #f6f6fd;
	--scr-brand-soft2: #ededfa;
	--scr-on-brand: #ffffff;
	--scr-ok: #15803d;
	--scr-ok-ink: #166534;
	--scr-ok-line: #a1ccb1;
	--scr-ok-soft: #f0fdf4;
	--scr-ok-soft2: #dcfce7;
	--scr-on-ok: #ffffff;
}
.scr-coupons { margin: 0 0 14px; color: #0f172a; font-size: 14px; line-height: 1.35; }
.scr-coupons.is-empty, .scr-coupons.is-pending { display: none; }
.scr-coupons.is-busy { opacity: .6; pointer-events: none; transition: opacity .15s; }
.scr-blocks-offers { margin: 10px 0 0; }
.scr-blocks-offers:empty { display: none; }
.scr-coupon-hint { color: var(--scr-ok-ink); font-weight: 600; white-space: nowrap; }
.scr-coupon-hint:not(:empty)::before { content: "\00b7"; margin: 0 6px 0 2px; color: #94a3b8; }

.scr-coupons__toggle {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	margin: 0;
	padding: 7px 10px;
	border: 1px dashed var(--scr-brand-line);
	border-radius: 8px;
	background: var(--scr-brand-soft);
	color: inherit;
	font: inherit;
	font-size: 1em;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.scr-coupons__toggle:hover, .scr-coupons__toggle:focus { background: var(--scr-brand-soft2); border-color: var(--scr-brand); color: inherit; }
.scr-coupons__toggle:focus-visible { outline: 2px solid var(--scr-brand); outline-offset: 2px; }
.scr-coupons.has-applied .scr-coupons__toggle { border-style: solid; border-color: var(--scr-ok-line); background: var(--scr-ok-soft); }
.scr-coupons__icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: var(--scr-brand); color: var(--scr-on-brand); }
.scr-coupons.has-applied .scr-coupons__icon { background: var(--scr-ok); color: var(--scr-on-ok); }
.scr-coupons__label { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.scr-coupons__label > strong { font-size: .93em; font-weight: 700; }
.scr-coupons__label > em { color: #475569; font-size: .82em; font-style: normal; }
.scr-coupons.has-applied .scr-coupons__label > em { color: var(--scr-ok-ink); font-weight: 600; }
.scr-coupons__more { flex: 0 0 auto; color: var(--scr-brand-ink); font-size: .82em; font-weight: 700; }
.scr-coupons__more::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.scr-coupons.is-open .scr-coupons__more::after { transform: translateY(1px) rotate(-135deg); }

.scr-coupons__panel { display: none; margin-top: 6px; }
.scr-coupons.is-open .scr-coupons__panel { display: block; }

.scr-coupons__title { margin: 0 0 6px; color: #475569; font-size: .8em; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.scr-coupons__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }

.scr-coupon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 8px 10px;
	border: 1px dashed rgba(100, 116, 139, .45);
	border-radius: 8px;
	background: #fff;
}
.scr-coupon.is-applied { border-style: solid; border-color: var(--scr-ok); background: var(--scr-ok-soft); }
.scr-coupon.is-locked { background: #f8fafc; }
.scr-coupon.is-locked .scr-coupon__code { background: #e2e8f0; color: #475569; }
.scr-coupon__main { flex: 1 1 auto; min-width: 0; }
.scr-coupon__head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.scr-coupon__code {
	padding: 1px 6px;
	border-radius: 5px;
	background: var(--scr-brand-soft2);
	color: var(--scr-brand-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .04em;
}
.scr-coupon__summary { font-size: .88em; font-weight: 600; }
.scr-coupon__save { color: var(--scr-ok-ink); font-size: .82em; font-weight: 700; }
.scr-coupon__desc { margin-top: 2px; color: #64748b; font-size: .78em; line-height: 1.35; }
.scr-coupon__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.scr-coupon__hint { margin-top: 3px; color: #92400e; font-size: .78em; font-weight: 600; }

.scr-badge {
	padding: 0 6px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	font-size: .68em;
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
}
.scr-badge--cod { background: #fef3c7; color: #92400e; }
.scr-badge--prepaid { background: #dbeafe; color: #1e40af; }
.scr-badge--mixed { background: #e0f2fe; color: #075985; }
.scr-badge--first { background: #fce7f3; color: #9d174d; }
.scr-badge--auto { background: #ede9fe; color: #5b21b6; }
.scr-badge--cap { background: #f1f5f9; color: #334155; }

.scr-coupon__apply, .scr-coupon__remove {
	flex: 0 0 auto;
	margin: 0;
	padding: 5px 11px;
	border: 1px solid var(--scr-brand);
	border-radius: 6px;
	background: var(--scr-brand);
	color: var(--scr-on-brand);
	font-size: .78em;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: background .15s, opacity .15s;
}
.scr-coupon__apply:hover { background: var(--scr-brand-dark); border-color: var(--scr-brand-dark); color: var(--scr-on-brand); }
.scr-coupon__apply:disabled { border-color: #cbd5e1; background: #e2e8f0; color: #64748b; cursor: not-allowed; }
.scr-coupon__remove { border-color: var(--scr-ok-line); background: #fff; color: var(--scr-ok-ink); }
.scr-coupon__remove:hover { border-color: #b91c1c; background: #fff; color: #b91c1c; }
.scr-coupon__apply.is-busy, .scr-coupon__remove.is-busy { opacity: .6; cursor: progress; }

.scr-coupons__msg { display: none; margin-top: 6px; color: var(--scr-ok-ink); font-size: .82em; }
.scr-coupons__msg.is-visible { display: block; }
.scr-coupons__msg.is-error { color: #b91c1c; }

.scr-credit { margin: 0 0 20px; padding: 14px 16px; border: 1px solid rgba(100, 116, 139, .35); border-radius: 10px; background: #fff; color: #0f172a; }
.scr-credit.is-empty { display: none; }
.scr-credit__toggle { display: flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.scr-credit__toggle input { margin-top: 4px; }
.scr-credit__text > strong, .scr-credit__text > em { display: block; }
.scr-credit__text > em { color: #475569; font-size: .85em; font-style: normal; }
.scr-credit__applied { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(100, 116, 139, .4); color: var(--scr-ok-ink); font-size: .9em; font-weight: 600; }

.scr-account__balance { margin: 0 0 20px; padding: 20px 22px; border-radius: 12px; background: linear-gradient(135deg, var(--scr-brand-dark) 0%, var(--scr-brand) 100%); color: var(--scr-on-brand); }
.scr-account__balance > span { display: block; font-size: .8em; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
.scr-account__balance > strong { display: block; margin: 4px 0; font-size: 2em; line-height: 1.2; }
.scr-account__balance > em { font-size: .85em; font-style: normal; opacity: .85; }
.scr-account__redeem { margin: 0 0 24px; }
.scr-account__redeem label { display: block; margin-bottom: 8px; font-weight: 600; }
.scr-account__redeem div { display: flex; gap: 10px; flex-wrap: wrap; }
.scr-account__redeem input { flex: 1 1 220px; }
.scr-account__code { padding: 3px 8px; border-radius: 6px; background: var(--scr-brand-soft2); color: var(--scr-brand-ink); font-weight: 700; }
.scr-account__table .scr-plus { color: var(--scr-ok-ink); font-weight: 600; }
.scr-account__table .scr-minus { color: #b91c1c; font-weight: 600; }
.scr-account__pages { display: flex; gap: 10px; }

.scr-gift-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--scr-ok-soft2); color: var(--scr-ok-ink); font-size: .75em; font-weight: 600; white-space: nowrap; }
.scr-badge--deal { background: #ffedd5; color: #9a3412; }

.scr-refer__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; }
.scr-refer__steps > div { padding: 18px; border: 1px solid rgba(100, 116, 139, .3); border-radius: 12px; background: #fff; }
.scr-refer__steps > div > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: var(--scr-brand-soft2); color: var(--scr-brand-ink); font-size: .85em; font-weight: 700; }
.scr-refer__steps > div > strong { display: block; font-size: 1.05em; }
.scr-refer__steps > div > em { display: block; margin-top: 4px; color: #475569; font-size: .88em; font-style: normal; }
.scr-refer__share { margin: 0 0 24px; }
.scr-refer__share > label { display: block; margin: 0 0 6px; font-weight: 600; }
.scr-refer__share > div { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.scr-refer__share input { flex: 1 1 240px; }
.scr-refer__share input.scr-refer__code { flex: 0 1 240px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .08em; }
.scr-refer__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.scr-refer__stats > div { padding: 16px 18px; border-radius: 12px; background: #f8fafc; }
.scr-refer__stats > div > span { display: block; color: #475569; font-size: .8em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.scr-refer__stats > div > strong { display: block; margin-top: 4px; font-size: 1.5em; }
@media (max-width: 640px) {
	.scr-refer__steps, .scr-refer__stats { grid-template-columns: 1fr; }
}

/* Classic checkout: compact dropdown inside the "Have a coupon?" drawer. */
.scr-coupons--inline { clear: both; margin: 12px 0 0; font-size: 13px; }
.scr-coupons__link {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	color: #0f172a;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: border-color .15s;
}
.scr-coupons__link:hover, .scr-coupons__link:focus { border-color: var(--scr-brand-line); background: #fff; color: #0f172a; }
.scr-coupons__link:focus-visible { outline: 2px solid var(--scr-brand); outline-offset: 1px; }
.scr-coupons__ico { display: inline-flex; flex: 0 0 auto; color: var(--scr-brand); }
.scr-coupons__link.is-applied .scr-coupons__ico, .scr-coupons__link.is-applied .scr-coupons__ltext { color: var(--scr-ok-ink); }
.scr-coupons__ltext { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-coupons__count { flex: 0 0 auto; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--scr-brand-soft2); color: var(--scr-brand-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.scr-coupons__link::after { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin: 0 2px 0 2px; border-right: 1.5px solid #64748b; border-bottom: 1.5px solid #64748b; transform: rotate(-45deg); transition: transform .15s; }
.scr-coupons.is-open .scr-coupons__link { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.scr-coupons.is-open .scr-coupons__link::after { transform: rotate(45deg) translate(-2px, -2px); }

.scr-coupons--inline .scr-coupons__panel { max-height: 280px; margin: 0; overflow-y: auto; border: 1px solid #e2e8f0; border-top: 0; border-radius: 0 0 6px 6px; background: #fff; overscroll-behavior: contain; }
.scr-coupons--inline .scr-coupons__title { display: none; }
.scr-coupons--inline .scr-coupons__group { margin: 0; padding: 7px 10px 3px; color: #94a3b8; font-size: 10.5px; }
.scr-coupons--inline .scr-coupons__list { gap: 0; border: 0; }
.scr-coupons--inline .scr-coupon { align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-top: 1px solid #f1f5f9; border-radius: 0; background: none; }
.scr-coupons--inline .scr-coupons__list:first-child .scr-coupon:first-child, .scr-coupons--inline .scr-coupons__group + .scr-coupons__list .scr-coupon:first-child { border-top: 0; }
.scr-coupons--inline .scr-coupon.is-applied { background: var(--scr-ok-soft); }
.scr-coupons--inline .scr-coupon.is-locked { background: none; }
.scr-coupons--inline .scr-coupon.is-locked .scr-coupon__head { opacity: .6; }
.scr-coupons--inline .scr-coupon__head { flex-wrap: nowrap; gap: 6px; min-width: 0; }
.scr-coupons--inline .scr-coupon__code { flex: 0 0 auto; padding: 1px 5px; border: 1px dashed var(--scr-brand-line); background: none; font-size: 11px; }
.scr-coupons--inline .scr-coupon--credit .scr-coupon__code, .scr-coupons--inline .scr-coupon.is-applied .scr-coupon__code { border-color: var(--scr-ok-line); color: var(--scr-ok-ink); }
.scr-coupons--inline .scr-coupon__summary { overflow: hidden; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.scr-coupons--inline .scr-coupon__save { flex: 0 0 auto; font-size: 11.5px; }
.scr-coupons--inline .scr-coupon__desc, .scr-coupons--inline .scr-coupon__hint { overflow: hidden; margin-top: 2px; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.scr-coupons--inline .scr-coupon__badges { display: inline-flex; margin: 3px 0 0; }
.scr-coupons--inline .scr-badge { font-size: 10px; }
.scr-coupons--inline .scr-coupon__apply, .scr-coupons--inline .scr-coupon__remove {
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--scr-brand-ink);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.scr-coupons--inline .scr-coupon__apply:hover { background: none; color: var(--scr-brand); text-decoration: underline; }
.scr-coupons--inline .scr-coupon__apply:disabled { background: none; color: #cbd5e1; }
.scr-coupons--inline .scr-coupon__remove { color: #64748b; }
.scr-coupons--inline .scr-coupon__remove:hover { background: none; color: #b91c1c; }
.scr-coupons--inline .scr-coupon__state { font-size: 11px; }
.scr-coupons--inline .scr-coupons__msg { margin: 0; padding: 6px 10px; border-top: 1px solid #f1f5f9; }
.scr-coupons--inline .scr-coupons__msg:not(.is-visible) { display: none; }
.scr-coupon__state { flex: 0 0 auto; color: var(--scr-ok-ink); font-size: .78em; font-weight: 700; white-space: nowrap; }
.scr-coupon__state::before { content: "\2713"; margin-right: 4px; }
.scr-coupons__list:empty { display: none; }
.scr-coupons__group { margin: 10px 0 4px; color: #475569; font-size: .75em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.scr-coupons__panel > .scr-coupons__group:first-child { margin-top: 0; }
.scr-coupon--credit .scr-coupon__code { background: var(--scr-ok-soft2); color: var(--scr-ok-ink); }

/* Theme shield: global theme rules for buttons and lists (min-height, margins, bullets, hover overlays) must not reach this UI. */
.scr-coupons button.scr-coupons__link, .scr-coupons button.scr-coupons__toggle, .scr-coupons button.scr-coupon__apply, .scr-coupons button.scr-coupon__remove {
	min-height: 0;
	height: auto;
	max-width: none;
	margin: 0;
	float: none;
	text-shadow: none;
	vertical-align: middle;
}
.scr-coupons button.scr-coupon__apply, .scr-coupons button.scr-coupon__remove { width: auto; }
.scr-coupons button:hover, .scr-coupons button:focus, .scr-coupons button:active { box-shadow: none; }
.scr-coupons ul.scr-coupons__list { margin: 0; padding: 0; list-style: none; }
.scr-coupons ul.scr-coupons__list > li.scr-coupon { margin: 0; list-style: none; line-height: 1.35; }
.scr-coupons ul.scr-coupons__list > li.scr-coupon::before, .scr-coupons ul.scr-coupons__list > li.scr-coupon::after { content: none; display: none; }
.scr-coupons .scr-coupons__ltext, .scr-coupons .scr-coupons__label > em { font-style: normal; }
