/* ============================================================
   Valabi Wallet — signup gift cards (storefront)
   Same visual language as valabi-smart-offers' promo card: warm white
   paper, soft layered shadows, one accent scheme. Theme font is inherited
   (never swapped, so Persian keeps the shop's own face). Everything is
   scoped under .vwlm and resets its own box model so it survives inside
   arbitrary themes. RTL via logical properties.
   ============================================================ */

.vwlm {
	--vwlm-accent: #d6336c;
	--vwlm-deep: #a61e4d;
	--vwlm-soft: #fdeef4;
	--vwlm-line: #f6d3e1;
	--vwlm-track: #f6dbe6;
	--vwlm-ink: #181219;
	--vwlm-mute: #5f5764;
	--vwlm-faint: #9a9097;
	--vwlm-hair: #efe6ea;
	--vwlm-shadow: 0 28px 70px -28px rgba(20, 10, 16, .42), 0 8px 22px -14px rgba(20, 10, 16, .2), 0 1px 2px rgba(20, 10, 16, .04);

	position: fixed;
	z-index: 99997;
	font-family: inherit;
	line-height: 1.5;
	color: var(--vwlm-ink);
	direction: rtl;
	text-align: start;
	-webkit-font-smoothing: antialiased;
}
.vwlm[hidden] { display: none !important; }
.vwlm *, .vwlm *::before, .vwlm *::after { box-sizing: border-box; }

/* ---- shared parts ---- */
.vwlm__close {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: absolute !important;
	z-index: 3;
	top: 12px !important;
	inset-inline-end: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	min-width: 34px !important;
	height: 34px !important;
	min-height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--vwlm-hair) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .94) !important;
	color: var(--vwlm-mute) !important;
	box-shadow: none !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease !important;
}
.vwlm__close svg { width: 15px; height: 15px; stroke-width: 2.25; }
.vwlm__close:hover { transform: scale(1.05); background: var(--vwlm-soft) !important; color: var(--vwlm-deep) !important; }
.vwlm__close:focus-visible,
.vwlm__cta:focus-visible,
.vwlm__later:focus-visible,
.vwlm-tab__pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--vwlm-accent) 40%, transparent); outline-offset: 2px; }

.vwlm__title { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.45; color: var(--vwlm-ink); }
.vwlm__text { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--vwlm-mute); text-wrap: pretty; }
.vwlm-amount { color: var(--vwlm-deep); font-weight: 800; white-space: nowrap; }

.vwlm__cta,
.vwlm__cta:visited {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--vwlm-accent);
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	text-transform: none !important;
	box-shadow: 0 12px 24px -14px var(--vwlm-accent);
	transition: background-color .15s ease, transform .15s ease;
}
.vwlm__cta:hover { background: var(--vwlm-deep); color: #fff !important; transform: translateY(-1px); }
.vwlm__cta--inline { display: inline-flex !important; width: auto; min-height: 44px !important; border-radius: 12px !important; font-size: 14px !important; }

.vwlm__later {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	background: transparent;
	color: var(--vwlm-mute) !important;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none;
}
.vwlm__later:hover { color: var(--vwlm-deep) !important; background: transparent; }

.vwlm__note { font-size: 12px; line-height: 1.7; color: var(--vwlm-mute); }
.vwlm__badge {
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--vwlm-soft);
	color: var(--vwlm-deep);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.6;
}
.vwlm__brand { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--vwlm-faint); }
.vwlm__brand a,
.vwlm__brand a:visited { color: var(--vwlm-faint) !important; font-weight: 700; text-decoration: none !important; }
.vwlm__brand a:hover { color: var(--vwlm-deep) !important; }

/* ---- entrance ---- */
.vwlm--ticket,
.vwlm--calm,
.vwlm--toast,
.vwlm--stamp,
.vwlm--note {
	bottom: 24px;
	opacity: 0;
	transform: translateY(18px) scale(.98);
	transition: opacity .32s ease, transform .38s cubic-bezier(.2, .85, .25, 1.12);
}
.vwlm--pos-left { left: 24px; }
.vwlm--pos-right { right: 24px; }
.vwlm.is-visible { opacity: 1; transform: none; }

/* ============ فوری — centred dialog with a ring countdown ============ */
.vwlm--urgent { inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s ease; }
.vwlm--urgent.is-visible { opacity: 1; }
.vwlm__backdrop { position: absolute; inset: 0; background: rgba(24, 18, 25, .46); }
.vwlm--urgent .vwlm__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 350px;
	padding: 26px 24px 16px;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 28px 70px -28px rgba(20, 10, 16, .55), 0 8px 22px -14px rgba(20, 10, 16, .25);
	text-align: center;
	transform: translateY(14px) scale(.97);
	transition: transform .4s cubic-bezier(.2, .85, .25, 1.12);
}
.vwlm--urgent.is-visible .vwlm__panel { transform: none; }
.vwlm--urgent .vwlm__close { top: 14px !important; inset-inline-end: 14px !important; }
.vwlm--urgent .vwlm__title { font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.vwlm--urgent .vwlm__text { font-size: 14.5px; }
.vwlm--urgent .vwlm__cta { min-height: 50px; font-size: 16px; }
.vwlm--urgent .vwlm__brand { justify-content: center; width: 100%; padding-top: 10px; border-top: 1px solid #f1ebee; }

.vwlm-ring { position: relative; width: 112px; height: 112px; flex: 0 0 auto; }
.vwlm-ring[hidden] { display: none; }
.vwlm-ring svg { display: block; width: 112px; height: 112px; transform: rotate(-90deg); }
.vwlm-ring__track { fill: var(--vwlm-soft); stroke: var(--vwlm-track); stroke-width: 8; }
.vwlm-ring__bar {
	fill: none;
	stroke: var(--vwlm-accent);
	stroke-width: 8;
	stroke-linecap: round;
	stroke-dasharray: 301.6;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
}
.vwlm-ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.vwlm-ring__time { font: 800 24px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--vwlm-deep); }
.vwlm-ring__unit { font-size: 11px; font-weight: 700; color: var(--vwlm-mute); }

/* ============ کوپن — gift voucher with a stub ============ */
.vwlm--ticket { width: min(372px, calc(100% - 32px)); filter: drop-shadow(0 22px 34px rgba(20, 10, 16, .26)); }
.vwlm-ticket {
	--vwlm-stub: 112px;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--vwlm-stub);
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	/* Real cut-outs where the perforation meets the edges (the card is RTL, so
	   the stub is the left column), so they read on any page background. */
	-webkit-mask:
		radial-gradient(circle at var(--vwlm-stub) 0, transparent 12px, #000 12.5px) top / 100% 51% no-repeat,
		radial-gradient(circle at var(--vwlm-stub) 100%, transparent 12px, #000 12.5px) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle at var(--vwlm-stub) 0, transparent 12px, #000 12.5px) top / 100% 51% no-repeat,
		radial-gradient(circle at var(--vwlm-stub) 100%, transparent 12px, #000 12.5px) bottom / 100% 51% no-repeat;
}
.vwlm-ticket__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 18px 14px; }
.vwlm-ticket__body .vwlm__title { font-size: 17px; font-weight: 900; padding-inline-end: 8px; }
.vwlm-ticket__body .vwlm__text { font-size: 13px; }
.vwlm-ticket__body .vwlm__cta { min-height: 44px; font-size: 14.5px; border-radius: 12px; }
.vwlm-ticket__stub {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 12px 6px;
	border-inline-start: 2px dashed rgba(255, 255, 255, .55);
	background: var(--vwlm-accent);
	color: #fff;
	text-align: center;
}
.vwlm-ticket__stub span { font-size: 12px; font-weight: 700; opacity: .88; }
.vwlm-ticket__stub strong { font-size: 36px; font-weight: 900; line-height: 1; }
.vwlm--ticket .vwlm__close { top: 10px !important; inset-inline-end: 120px !important; width: 30px !important; min-width: 30px !important; height: 30px !important; min-height: 30px !important; }
.vwlm--ticket .vwlm__title { padding-inline-end: 34px; }

.vwlm-units { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--vwlm-line); border-radius: 12px; }
.vwlm-units[hidden] { display: none; }
.vwlm-units__head { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--vwlm-deep); }
.vwlm-units__head svg,
.vwlm-tab__until svg { width: 14px; height: 14px; stroke: var(--vwlm-accent); stroke-width: 1.9; }
.vwlm-units__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.vwlm-units__cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px 4px; border-radius: 8px; background: var(--vwlm-soft); }
.vwlm-units__cell strong { font: 800 13px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--vwlm-deep); }
.vwlm-units__cell small { font-size: 9px; color: var(--vwlm-mute); }

/* ============ آرام — quiet corner card ============ */
.vwlm--calm,
.vwlm--toast {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(350px, calc(100% - 32px));
	padding: 18px;
	border: 1px solid var(--vwlm-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--vwlm-shadow);
}
.vwlm-calm__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding-inline-end: 32px; }
.vwlm-calm__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--vwlm-line); border-radius: 14px; background: var(--vwlm-soft); color: var(--vwlm-accent); }
.vwlm-calm__icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.vwlm-calm__copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vwlm-calm__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vwlm-calm__actions .vwlm__brand { margin-inline-start: auto; }

/* ============ زبانه — edge tab that opens a sheet ============ */
.vwlm--tab { top: 38vh; }
.vwlm--tab.vwlm--pos-left { left: 0; }
.vwlm--tab.vwlm--pos-right { right: 0; }
.vwlm-tab__pill {
	-webkit-appearance: none;
	appearance: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 0 14px 14px 0;
	background: var(--vwlm-accent);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	box-shadow: 0 12px 26px -12px rgba(20, 10, 16, .45);
	cursor: pointer;
	transform: translateX(-110%);
	transition: transform .4s cubic-bezier(.2, .85, .25, 1.12), background-color .15s ease;
}
.vwlm--pos-right .vwlm-tab__pill { border-radius: 14px 0 0 14px; transform: translateX(110%); }
.vwlm--tab.is-visible .vwlm-tab__pill { transform: none; }
.vwlm-tab__pill:hover { background: var(--vwlm-deep); color: #fff; }
.vwlm-tab__pill svg { width: 18px; height: 18px; stroke-width: 1.9; }
.vwlm-tab__pill .vwlm-amount { color: inherit; }
.vwlm-tab__sheet {
	position: absolute;
	top: calc(100% + 10px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(300px, calc(100vw - 32px));
	padding: 22px 16px 14px;
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--vwlm-shadow);
	overflow: hidden;
}
.vwlm-tab__sheet::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--vwlm-accent); }
.vwlm-tab__sheet[hidden] { display: none; }
.vwlm--pos-left .vwlm-tab__sheet { left: 16px; }
.vwlm--pos-right .vwlm-tab__sheet { right: 16px; }
.vwlm-tab__head { position: relative; min-height: 30px; padding-inline-end: 38px; }
.vwlm-tab__head .vwlm__title { font-size: 15.5px; font-weight: 900; }
.vwlm-tab__head .vwlm__close { top: -2px !important; inset-inline-end: 0 !important; width: 30px !important; min-width: 30px !important; height: 30px !important; min-height: 30px !important; }
.vwlm-tab__sheet .vwlm__text { font-size: 13px; }
.vwlm-tab__sheet .vwlm__cta { min-height: 44px; font-size: 14.5px; border-radius: 12px; }
.vwlm-tab__sheet .vwlm__brand { justify-content: center; }
.vwlm-tab__until { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--vwlm-soft); color: var(--vwlm-deep); font-size: 12px; font-weight: 700; }
.vwlm-tab__until[hidden] { display: none; }
.vwlm-tab__until [data-vwlm-clock] { font: 800 12.5px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }

/* ---- admin preview: static, in-flow ---- */
.vwlm--preview { position: relative !important; inset: auto !important; opacity: 1 !important; transform: none !important; }
.vwlm--preview.vwlm--urgent { padding: 22px 16px; }
.vwlm--preview .vwlm__backdrop { border-radius: 12px; }
.vwlm--preview.vwlm--tab { top: auto; min-height: 330px; }
.vwlm--preview .vwlm-tab__pill { transform: none; }
.vwlm--preview .vwlm-tab__sheet { position: relative; top: auto; left: auto !important; right: auto !important; margin: 12px 16px 0; }
.vwlm--preview.vwlm--pos-right .vwlm-tab__pill { margin-inline-start: auto; }
.vwlm--preview.vwlm--ticket,
.vwlm--preview.vwlm--calm { margin: 18px auto; }

/* ---- phones ---- */
@media (max-width: 600px) {
	.vwlm--ticket,
	.vwlm--calm,
	.vwlm--toast { left: 16px; right: 16px; bottom: 16px; width: auto; margin: 0 auto; max-width: 420px; }
	.vwlm--preview.vwlm--ticket,
	.vwlm--preview.vwlm--calm { left: auto; right: auto; }
	.vwlm-ticket { --vwlm-stub: 96px; }
	.vwlm--ticket .vwlm__close { inset-inline-end: 104px !important; }
	.vwlm-ticket__stub strong { font-size: 30px; }
	.vwlm--urgent .vwlm__title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.vwlm, .vwlm *, .vwlm *::before, .vwlm *::after { transition-duration: .01ms !important; }
}


/* ============ نوار پایین — a slim strip, the least intrusive shape ============ */
.vwlm--bar {
	inset-inline: 0;
	bottom: 0;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity .28s ease, transform .34s cubic-bezier(.2, .85, .25, 1.05);
}
.vwlm-bar {
	position: relative;
	padding-block: 12px;
	padding-inline: 18px 58px;
	border-top: 3px solid var(--vwlm-accent);
	background: #fff;
	box-shadow: 0 -20px 44px -32px rgba(20, 10, 16, .7);
}
.vwlm-bar__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	max-width: 1080px;
	margin-inline: auto;
}
.vwlm-bar__stub {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: baseline;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--vwlm-soft);
	color: var(--vwlm-deep);
	line-height: 1.2;
	white-space: nowrap;
}
.vwlm-bar__stub strong { font-size: 20px; font-weight: 800; }
.vwlm-bar__stub small { font-size: 11px; font-weight: 700; opacity: .85; }
.vwlm-bar__copy { flex: 1 1 auto; min-width: 0; }
.vwlm-bar .vwlm__title { font-size: 15px; line-height: 1.5; }
.vwlm-bar__meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vwlm-bar .vwlm__text {
	flex: 0 1 auto;
	overflow: hidden;
	font-size: 12.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vwlm-bar .vwlm__brand { flex: 0 0 auto; }
.vwlm-bar__clock {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 7px;
	padding: 9px 13px;
	border: 1px solid var(--vwlm-line);
	border-radius: 11px;
	color: var(--vwlm-deep);
	font: 800 13px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
}
.vwlm-bar__clock svg { width: 15px; height: 15px; }
.vwlm-bar__clock[hidden] { display: none; }
.vwlm-bar .vwlm__cta { flex: 0 0 auto; width: auto; min-width: 168px; min-height: 46px; }
.vwlm-bar .vwlm__close { top: 50% !important; transform: translateY(-50%) !important; }
.vwlm-bar .vwlm__close:hover { transform: translateY(-50%) scale(1.05) !important; }

@media (max-width: 860px) {
	.vwlm-bar { padding-block: 12px 14px; padding-inline: 14px 52px; }
	.vwlm-bar__inner { flex-wrap: wrap; gap: 10px 12px; }
	.vwlm-bar__copy { flex: 1 1 100%; order: 1; }
	.vwlm-bar__stub { order: 2; }
	.vwlm-bar__clock { order: 3; }
	.vwlm-bar .vwlm__cta { order: 4; flex: 1 1 140px; min-width: 0; }
	.vwlm-bar .vwlm__text { white-space: normal; }
	.vwlm-bar .vwlm__brand { display: none; }
}

/* ============ برگهٔ پایین — a sheet that rises from the bottom ============ */
.vwlm--sheet { inset: 0; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s ease; }
.vwlm--sheet.is-visible { opacity: 1; }
.vwlm--sheet .vwlm__backdrop { position: absolute; inset: 0; background: rgba(18, 12, 16, .5); }
.vwlm--sheet .vwlm__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: min(520px, 100%);
	padding: 14px 26px 26px;
	border-radius: 28px 28px 0 0;
	background: #fff;
	box-shadow: var(--vwlm-shadow);
	transform: translateY(16px);
	transition: transform .34s cubic-bezier(.2, .85, .25, 1.08);
}
.vwlm--sheet.is-visible .vwlm__panel { transform: none; }
.vwlm-sheet__grab { width: 44px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: #e7dee3; }
.vwlm-sheet__amount {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-top: 4px;
	color: var(--vwlm-deep);
}
.vwlm-sheet__amount strong { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.vwlm-sheet__amount small { font-size: 13px; font-weight: 700; }
.vwlm--sheet .vwlm__title { font-size: 19px; }
.vwlm--sheet .vwlm-units { width: 100%; }
.vwlm--sheet .vwlm__cta { margin-top: 4px; }

/* ============ مُهر — a wax-seal badge that opens a small card ============ */
.vwlm--stamp { bottom: 24px; }
.vwlm-stamp__seal {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px !important;
	height: 92px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: radial-gradient(circle at 32% 26%, color-mix(in srgb, var(--vwlm-accent) 72%, #fff) 0%, var(--vwlm-accent) 48%, var(--vwlm-deep) 100%) !important;
	color: #fff !important;
	box-shadow: 0 20px 36px -16px color-mix(in srgb, var(--vwlm-deep) 75%, transparent) !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: transform .22s ease;
}
.vwlm-stamp__seal:hover { transform: rotate(-5deg) scale(1.05); }
.vwlm-stamp__seal-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 78px;
	height: 78px;
	border: 1px dashed rgba(255, 255, 255, .6);
	border-radius: 50%;
}
.vwlm-stamp__seal-inner svg { width: 24px; height: 24px; }
.vwlm-stamp__label { max-width: 66px; font-size: 11.5px; font-weight: 800; text-align: center; }
.vwlm-stamp__sheet {
	position: absolute;
	bottom: 108px;
	width: min(320px, calc(100vw - 32px));
	padding: 22px 22px 20px;
	border: 1px solid var(--vwlm-hair);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--vwlm-shadow);
}
.vwlm-stamp__sheet[hidden] { display: none; }
.vwlm--pos-left .vwlm-stamp__sheet { left: 0; }
.vwlm--pos-right .vwlm-stamp__sheet { right: 0; }
.vwlm-stamp__figure {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-bottom: 6px;
	color: var(--vwlm-deep);
}
.vwlm-stamp__figure strong { font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.vwlm-stamp__figure small { font-size: 12.5px; font-weight: 700; }
.vwlm-stamp__sheet .vwlm__title { font-size: 15.5px; }
.vwlm-stamp__sheet .vwlm__text { margin-top: 5px; font-size: 12.5px; }
.vwlm-stamp__sheet .vwlm__cta { margin-top: 14px; width: 100%; min-height: 46px; }
.vwlm-stamp__sheet .vwlm__brand { justify-content: center; margin-top: 10px; }

/* ============ یادداشت — a quiet note in the top corner ============ */
.vwlm--note {
	top: 22px;
	bottom: auto;
	width: min(330px, calc(100vw - 32px));
	padding: 18px 20px 16px;
	border: 1px solid var(--vwlm-hair);
	border-inline-start: 3px solid var(--vwlm-accent);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--vwlm-shadow);
	transform: translateY(-14px) scale(.99);
}
.vwlm-note__row { display: flex; align-items: flex-start; gap: 11px; padding-inline-end: 26px; }
.vwlm-note__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--vwlm-soft);
	color: var(--vwlm-deep);
}
.vwlm-note__icon svg { width: 19px; height: 19px; }
.vwlm-note__copy .vwlm__title { font-size: 14.5px; }
.vwlm-note__copy .vwlm__text { margin-top: 3px; font-size: 12.5px; }
.vwlm-note__actions { display: flex; align-items: center; gap: 10px; margin-top: 13px; }
.vwlm-note__actions .vwlm__cta { min-height: 40px; font-size: 13px; }
.vwlm--note .vwlm__brand { margin-top: 10px; }
.vwlm--note .vwlm__close { width: 28px !important; min-width: 28px !important; height: 28px !important; min-height: 28px !important; }

/* admin preview + phones for the new shapes */
.vwlm--preview.vwlm--bar .vwlm-bar { border-radius: 16px; padding-inline: 14px 52px; }
.vwlm--preview.vwlm--bar .vwlm__text { white-space: normal; }
.vwlm--preview.vwlm--bar .vwlm__brand { display: none; }
.vwlm--preview.vwlm--bar .vwlm-bar__inner { flex-wrap: wrap; gap: 10px 12px; }
.vwlm--preview.vwlm--bar .vwlm-bar__copy { flex: 1 1 100%; }
.vwlm--preview.vwlm--bar .vwlm__cta { flex: 1 1 140px; min-width: 0; }
.vwlm--preview.vwlm--sheet { display: block; }
.vwlm--preview.vwlm--sheet .vwlm__backdrop { display: none; }
.vwlm--preview.vwlm--sheet .vwlm__panel { width: 100%; border-radius: 20px; transform: none; }
.vwlm--preview.vwlm--stamp { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.vwlm--preview.vwlm--stamp .vwlm-stamp__seal { order: 2; }
.vwlm--preview.vwlm--stamp .vwlm-stamp__sheet { position: relative; bottom: auto; left: auto !important; right: auto !important; }
.vwlm--preview.vwlm--note { margin: 18px auto; transform: none; }

@media (max-width: 600px) {
	.vwlm--note { left: 16px; right: 16px; width: auto; }
	.vwlm--stamp .vwlm-stamp__seal { width: 78px !important; height: 78px !important; }
	.vwlm-stamp__seal-inner { width: 66px; height: 66px; gap: 3px; }
	.vwlm-stamp__seal-inner svg { width: 20px; height: 20px; }
	.vwlm-stamp__label { font-size: 10.5px; }
	.vwlm-stamp__sheet { bottom: 94px; }
	.vwlm-sheet__amount strong { font-size: 36px; }
}
