/* ==========================================================================
   Panberes Campaign — landing
   Mobile first. Breakpoint at 1024px switches to the desktop composition.
   ========================================================================== */

@font-face {
	font-family: 'Diodrum Arabic';
	src: url('../fonts/DiodrumArabic-Regular.ttf') format('woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Diodrum Arabic';
	src: url('../fonts/DiodrumArabic-Bold.ttf') format('woff2');
	font-weight: 700;
	font-display: swap;
}

:root {
	--pbr-pink: #f05c8b;
	--pbr-pink-soft: #f6b5d3;
	--pbr-pink-wash: #f8bbd5;
	--pbr-teal: #6bcaca;
	--pbr-teal-wash: #dff6f4;
	--pbr-ink: #303030;
	--pbr-muted: rgba(61, 61, 61, .6);

	--pbr-gutter: 20px;
	--pbr-max: 1320px;
	--pbr-font: 'Diodrum Arabic', 'IRANYekan', 'Vazirmatn', Tahoma, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body.pbr {
	margin: 0;
	background: #fff;
	color: #000;
	font-family: var(--pbr-font);
	line-height: 1.7;
	overflow-x: clip;
	position: relative;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.pbr-wrap {
	width: 100%;
	max-width: var(--pbr-max);
	margin-inline: auto;
	padding-inline: var(--pbr-gutter);
}

/* The pink wash behind the hero, straight from the Figma gradient. */
body.pbr::before {
	content: '';
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 519px;
	background: linear-gradient(180deg, rgba(248, 187, 213, .3) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	z-index: -2;
}

/* ── logo ─────────────────────────────────────────────────────────────── */

.pbr-logo {
	position: relative;
	z-index: 2;
	width: 122px;
	height: 94px;
	margin-inline: auto;
	background: #fff;
	border-end-start-radius: 250px;
	border-end-end-radius: 250px;
	display: grid;
	place-items: center;
}

.pbr-logo img {
	width: 94px;
	height: auto;
}

/* ── buttons & chips ──────────────────────────────────────────────────── */

.pbr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 40px;
	background: var(--pbr-pink);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, transform .2s ease;
}

.pbr-btn:hover {
	background: #e04a7b;
}

.pbr-btn:active {
	transform: translateY(1px);
}

.pbr-btn:focus-visible {
	outline: 3px solid var(--pbr-teal);
	outline-offset: 2px;
}

.pbr-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 40px;
	background: var(--pbr-pink-soft);
	color: #fff;
	font-weight: 700;
	font-size: 11px;
	white-space: nowrap;
	max-width: 100%;
}

.pbr-chip__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	flex: none;
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.pbr-hero {
	padding-block-start: 40px;
	position: relative;
}

/* Mobile leads with the banner; the desktop grid re-orders below. */
.pbr-hero__grid {
	display: flex;
	flex-direction: column;
}

.pbr-hero__media {
	order: -1;
}

.pbr-hero__media img {
	width: 100%;
	border-start-start-radius: 20px;
	border-start-end-radius: 20px;
	border-end-start-radius: 20px;
	border-end-end-radius: 150px;
}

.pbr-hero__media {
	margin: 0;
}

.pbr-hero__text {
	margin-block-start: 27px;
	position: relative;
}

.pbr-hero__title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--pbr-ink);
	padding-right: 24px;
}

form#pbr-codes-form {
	display: flex;
	flex-direction: column;
}

.pbr-codes__submit {
	align-self: end;
}

.pbr-hero__title em {
	font-style: normal;
	color: var(--pbr-pink);
}

.pbr-hero__lead {
	margin: 9px 0 0;
	font-size: 14px;
	font-weight: 400;
	color: #000;
}
.pbr-hero__lead.s{
font-size:12px;
	margin-top:4px;
		font-weight: 400;
	color: #f05c8b;
}
.pbr-hero__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-block-start: 24px;
}

.pbr-hero__actions .pbr-btn {
	flex: none;
}

/* ── prize tiers ──────────────────────────────────────────────────────── */

.pbr-tiers {
	padding-block-start: 56px;
	position: relative;
}

.pbr-section__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	color: #000;
}

.pbr-section__title em {
	font-style: normal;
	color: var(--pbr-pink);
}

.pbr-section__note {
	margin: 6px 0 0;
	font-size: 12px;
	text-align: center;
	color: #000;
}
.pbr-section__note.pa2{
font-size:10px;
}
.pbr-tiers__rail {
	margin-block-start: 30px;
	padding: 60px 6px;
	background: var(--pbr-teal-wash);
	border-radius: 132px;
	max-width: 290px;
	margin-inline: auto;
}

.pbr-tiers__list {
	display: flex;
	flex-direction: column-reverse;
	/* 9 → 5 → 2, top to bottom */
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbr-tier {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 189px;
}

.pbr-tier__prize {
	display: grid;
	place-items: center;
	width: 100%;
	height: 54px;
	border-radius: 100px;
	background: var(--pbr-teal);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.pbr-tier__req {
	font-size: 14px;
	color: var(--pbr-muted);
	text-align: center;
}

/* ── winners ──────────────────────────────────────────────────────────── */

.pbr-winners {
	padding-block: 60px;
}

.pbr-winners__media {
	margin: 0;
}

.pbr-winners__media img {
	width: 100%;
	border-radius: 10px;
	border-start-start-radius: 180px;
	object-fit: cover;
}

.pbr-winners__text {
	margin-block-start: 32px;
	display: flex;
	flex-direction: column;
}

.pbr-section__title--start {
	text-align: start;
}

.pbr-winners__lead {
	margin: 20px 0 0;
	font-size: 14px;
	color: #000;
}

.pbr-winners__text .pbr-btn {
	margin-block-start: 40px;
	align-self: flex-end;
}

.pbr-stats {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.pbr-stat {
	flex: 1 1 0;
	min-width: 0;
	max-width: 118px;
	min-height: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 8px 4px;
	border-radius: 100px;
	background: var(--pbr-pink-soft);
	color: #fff;
	text-align: center;
}

.pbr-stat__num {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.pbr-stat__label {
	font-size: 11px;
	line-height: 1.3;
	white-space: nowrap;
}

/* ── decoration ───────────────────────────────────────────────────────── */

.pbr-decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: clip;
	z-index: -1;
}

.pbr-decor img {
	position: absolute;
}

.pbr-decor__swirl--1 {
	width: 142px;
	inset-block-start: 310px;
	inset-inline-start: -60px;
	position: absolute;
	display: none;
}

.pbr-decor__swirl--2 {
	width: 604px;
	inset-block-start: -110px;
	inset-inline-end: -230px;
	display: none;
}

.pbr-decor__swirl--3 {
	width: 230px;
	inset-block-start: 780px;
	inset-inline-end: -70px;
	display: none;
}

.pbr-decor__swirl--4 {
	position: absolute;
	top: 50%;
	right: -110px;
	transform: rotate(60deg);
	z-index: -1;

}

.pbr-decor__sprig {
	width: 100px;
}

.pbr-decor__sprig--a {
	inset-block-start: 970px;
	inset-inline-start: 36px;
	transform: rotate(2.4deg) scaleX(-1);
}

.pbr-decor__sprig--b {
	inset-block-start: 1259px;
	inset-inline-start: 306px;
	transform: rotate(163.7deg) scaleY(-1);
}

.pbr-decor__leaf {
	width: 20px;
	position: absolute;
}

.pbr-decor__leaf--a {
	transform: rotate(-158.4deg) scaleY(-1);
	position: absolute;
	top: 0px;
}

.pbr-decor__leaf--d {
	width: 32px;
	transform: rotate(32deg);
}

.pbr-decor__leaf--b {
	right: -4px;
	top: -5px;
	transform: rotate(164.8deg) scaleY(-1);
}

.pbr-decor__leaf--c {
	left: -8px;
	transform: rotate(-28deg);
	bottom: 5px;
}
.rahnama-top p{
font-size:10px;}
.rahnama-top img{
	width:250px;
	border-radius:12px;
}
	.rahnama-top {
		display: flex;
		justify-content: space-between;
		margin-bottom: 1px;
		flex-direction: column;
		align-items: center;
	}
p.rahnama {
    text-align: center;
    font-size: 12px;
    margin-top: 32px;
}
p.rahnama a {
    text-decoration: none;
    color: #f05b8a;
}
/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 1024px) {
	p.rahnama {

		font-size: 14px;

	}
	.rahnama-top img{
		width:300px;
	}
	
	.rahnama-top {
		display: flex;
		justify-content: space-between;
		margin-bottom: 24px;
		flex-direction: column;
		align-items: center;
	}
	.rahnama-top p {
    margin-top: 12px;
		text-align:center;
		font-size:14px;
}
	:root {
		--pbr-gutter: 60px;
	}

	body.pbr::before {
		height: 760px;
	}

	.pbr-logo {
		width: 208px;
		height: 160px;
	}

	.pbr-logo img {
		width: 150px;
	}

	.pbr-btn {
		padding: 12px 24px;
		font-size: 16px;
		min-width: 215px;
	}

	.pbr-chip {
		padding: 12px 32px;
		font-size: 16px;
	}

	.pbr-chip__dot {
		width: 10px;
		height: 10px;
	}

	/* hero: text on the right, banner on the left */
	.pbr-hero {
		padding-block-start: 0px;
	}

	.pbr-hero__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 680px;
		align-items: center;
		gap: 60px;
	}

	.pbr-hero__media {
		order: 0;
	}

	/* copy leads on desktop */
	.pbr-hero__text {
		margin-block-start: 0;
	}

	.pbr-hero__title {
		font-size: 45px;
		line-height: 1.3;
		padding-right: 0;
	}

	.pbr-hero__lead {
		margin-block-start: 24px;
		font-size: 30px;
	}
	.pbr-hero__lead.s{
	font-size: 24px;
	}

	.pbr-hero__actions {
		gap: 15px;
		margin-block-start: 80px;
	}

	.pbr-hero__media img {
		aspect-ratio: 478 / 677;
		object-fit: cover;
	}

	/* tiers: one horizontal rail */
	.pbr-tiers {
		padding-block-start: 110px;
	}

	.pbr-section__title {
		font-size: 36px;
	}

	.pbr-section__note {
		margin-block-start: 20px;
		font-size: 20px;
	}
	.pbr-section__note.pa2{
		font-size:18px;
		 margin-top: 10px;
	}

	.pbr-tiers__rail {
		max-width: none;
		margin-block-start: 40px;
		padding: 0 40px 42px;
		border-radius: 200px;
		background: none;
	}

	/* The wash only wraps the lower half of the cards on desktop. */
	.pbr-tiers__rail {
		position: relative;
	}

	.pbr-tiers__rail::before {
		content: '';
		position: absolute;
		inset-inline: 0;
		inset-block-end: 0;
		height: 165px;
		background: var(--pbr-teal-wash);
		border-radius: 200px;
		z-index: -1;
	}

	.pbr-tiers__list {
		position: relative;
		z-index: 1;
		flex-direction: row;
		justify-content: center;
		gap: 68px;
	}

	.pbr-tier {
		width: 261px;
		gap: 36px;
	}

	.pbr-tier__prize {
		width: 216px;
		height: 141px;
		font-size: 30px;
	}

	.pbr-tier__req {
		font-size: 24px;
	}

	/* winners: image on the left, copy on the right */
	.pbr-winners {
		padding-block: 90px;
	}

	.pbr-winners__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		align-items: center;
		gap: 70px;
	}

	.pbr-winners__media {
		order: 2;
	}

	.pbr-winners__media img {
		height: 550px;
	}

	.pbr-winners__text {
		order: 1;
		margin-block-start: 0;
		display: flex;
		flex-direction: column;
	}

	.pbr-winners__lead {
		font-size: 20px;
	}

	.pbr-winners__text .pbr-btn {
		margin-block-start: 40px;
		align-self: end;
	}

	.pbr-stats {
		justify-content: space-between;
		gap: 24px;
		margin-block-start: 80px;
	}

	.pbr-stat {
		flex: none;
		max-width: none;
		width: 220px;
		height: 120px;
		gap: 16px;
	}

	.pbr-stat__num {
		font-size: 36px;
	}

	.pbr-stat__label {
		font-size: 18px;
	}

	/* decoration */
	.pbr-decor__swirl--1 {
		width: 340px;
		inset-block-start: 300px;
		left: -140px;
		position: absolute;
		right: auto;
		height: 340px;
		transform: rotate(45deg);
		display: block;
	}

	.pbr-decor__swirl--2 {
		inset-block-start: 60px;
		inset-inline-end: 300px;
		position: absolute;
		z-index: -1;
	}

	.pbr-decor__swirl--3 {
		width: 500px;
		inset-block-start: 36px;
		inset-inline-start: 0;
		position: absolute;
		transform: rotate(32deg);
		z-index: -1;
		height: 200px;
		display: block;
	}

	.pbr-decor__swirl--4 {
		width: 514px;
		position: absolute;
		bottom: -128px;
		left: 0px;
		transform: rotate(150deg);
		z-index: -1;
		top: auto;
		right: auto;
	}

	.pbr-decor__sprig {
		width: 70px;
	}

	.pbr-decor__sprig--a {
		width: 150px;
		inset-block-start: 1144px;
		inset-inline-start: 78px;
		transform: scaleX(-1) rotate(15deg);
	}

	.pbr-decor__sprig--b {
		inset-block-start: 1152px;
		inset-inline-start: auto;
		inset-inline-end: 72px;
		width: 170px;
		transform: scaleX(1);
	}

	.pbr-decor__leaf--a {
		top: 0px;
		right: -36px;
		position: absolute;
		transform: rotate(0) scaleY(1);
		width: 32px;
	}

	.pbr-decor__leaf--b {
		top: -16px;
		left: -10px;
		width: 48px;
		transform: rotate(12deg);
		right: auto;

	}

	.pbr-decor__leaf--c {
		top: -16px;
		right: -10px;
		width: 48px;
		transform: rotate(-12deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}

/* ==========================================================================
   Login dialog
   ========================================================================== */

body.pbr-modal-open {
	overflow: hidden;
}

.pbr-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 20px;
}

.pbr-modal[hidden] {
	display: none;
}

.pbr-modal__scrim {
	position: absolute;
	inset: 0;
	background: rgba(61, 61, 61, .07);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity .2s ease;
}

.pbr-modal.is-open .pbr-modal__scrim {
	opacity: 1;
}

.pbr-modal__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(100%, 325px);
	/* The rounded-pill silhouette only reads correctly at the design's
	   aspect ratio, so the panel keeps its height even on the short step. */
	min-height: 360px;
	padding: 44px 24px 36px;
	border-radius: 150px;
	background: #e2588b;
	color: #fff;
	text-align: center;
	opacity: 0;
	transform: translateY(12px) scale(.98);
	transition: opacity .2s ease, transform .2s ease;
}

.pbr-modal.is-open .pbr-modal__panel {
	opacity: 1;
	transform: none;
}

.pbr-modal__swirl {
	position: absolute;
	inset-block-start: 26px;
	inset-inline-start: 8%;
	width: 84%;
	opacity: .55;
	pointer-events: none;
}

.pbr-modal__close {
	position: absolute;
	inset-block-start: 50px;
	/* Top-right of the panel, per the design — inline-start is the right edge
	   in this RTL document. */
	inset-inline-start: 46px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease;
}

.pbr-modal__close:hover {
	background: rgba(255, 255, 255, .18);
}

.pbr-modal__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.pbr-modal__title {
	position: relative;
	margin: 30px 0 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}

.pbr-modal__step {
	position: relative;
	margin-block-start: 20px;
	text-align: start;
}

.pbr-modal__step[hidden] {
	display: none;
}

.pbr-modal__lead {
	margin: 0 0 24px;
	font-size: 13px;
	text-align: center;
	opacity: .95;
}

/* ── fields ──────────────────────────────────────────────────────────── */

.pbr-field__label {
	display: block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom:4px;
}

.pbr-field {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pbr-field__prefix {
	display: grid;
	place-items: center;
	flex: none;
	width: 62px;
	height: 43px;
	border-radius: 40px;
	background: rgba(255, 255, 255, .65);
	font-size: 12px;
	color: #000;
	font-weight: 700;
}

.pbr-field__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 43px;
	padding-inline: 18px;
	border: 2px solid transparent;
	border-radius: 40px;
	background: rgba(255, 255, 255, .65);
	color: #000;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	direction: ltr;
	text-align: center;
	transition: background-color .2s ease, border-color .2s ease;
}

.pbr-field__input:focus {
	outline: none;
	background: rgba(255, 255, 255, .68);
}

.pbr-field__input--otp {
	width: 100%;
	margin-block-start: 14px;
	letter-spacing: .5em;
	text-indent: .5em;
	/* balances the trailing letter-spacing */
	font-size: 18px;
}

/* ── meta rows ───────────────────────────────────────────────────────── */

.pbr-modal__meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-block-start: 12px;
	font-size: 10px;
	line-height: 1.9;
	flex-direction: column;
}

.pbr-modal__meta.noc {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.pbr-modal__sent {
	font-weight: 700;
}

.pbr-modal__hint {
	opacity: .9;
}

.pbr-modal__timer {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pbr-modal__link {
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.pbr-modal__link[disabled] {
	opacity: .55;
	cursor: default;
	text-decoration: none;
}

/* ── feedback ────────────────────────────────────────────────────────── */

.pbr-modal__error {
	margin: 0;
	max-height: 0;
	overflow: hidden;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.8;
	color: #fff3f7;
	transition: max-height .2s ease, margin .2s ease;
}

.pbr-modal__error.is-visible {
	max-height: 4em;
	margin-block-start: 10px;
}

.pbr-modal__submit {
	position: relative;
	display: block;
	min-width: 128px;
	margin: 22px auto 0;
	padding: 10px 28px;
	border: 0;
	border-radius: 40px;
	background: rgba(255, 255, 255, 0.23);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s ease;
}

.pbr-modal__submit:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}
span.pbr-row__status-text{
    white-space: nowrap;
    height: 32px;
}
.pbr-modal__submit[disabled] {
	cursor: default;
}

.pbr-modal__submit.is-busy .pbr-modal__submit-label {
	visibility: hidden;
}

.pbr-spinner {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(226, 88, 139, .3);
	border-block-start-color: #e2588b;
	border-radius: 50%;
	opacity: 0;
	animation: pbr-spin .7s linear infinite;
}

.pbr-modal__submit.is-busy .pbr-spinner {
	opacity: 1;
}

@keyframes pbr-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (min-width: 1024px) {
	.pbr-modal__panel {
		width: 490px;
		min-height: 560px;
		padding: 56px 42px 44px;
		border-radius: 180px;
	}

	.pbr-modal__title {
		margin-block-start: 34px;
	}

	.pbr-modal__lead {
		font-size: 14px;
	}

	.pbr-modal__step {
		margin-block-start: 28px;
	}

	.pbr-field__prefix {
		width: 73px;
	}

	.pbr-modal__submit {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pbr-spinner {
		animation-duration: 2s;
	}

	.pbr-modal__panel,
	.pbr-modal__scrim {
		transition: none;
	}
}

/* ==========================================================================
   Code-entry screen
   ========================================================================== */

.pbr-codes {
	padding-block: 34px 80px;
}

.pbr-codes__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	color: var(--pbr-ink);
	position: relative;
	display: flex;
	justify-content: center;
	gap: 4px;
}

.pbr-codes__title em {
	font-style: normal;
	color: var(--pbr-pink);
}

.pbr-codes__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* One row = badge + the two fields, on a soft pink track. */
.pbr-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px 8px 16px;
	border-radius: 40px;
	background: #F6B5D340;
	transition: background-color .2s ease;
}

.pbr-row__badge {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--pbr-pink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.pbr-row__fields {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	width:100%;
}

.pbr-row__input {
	flex: 1 1 0;
	min-width: 0;
	height: 30px;
	padding-inline: 6px;
	border: 2px solid transparent;
	border-radius: 40px;
	background: #FFFFFFA3;
	color: var(--pbr-ink);
	font: inherit;
	font-size: 11px;
	width: 32px;
	transition: border-color .2s ease, background-color .2s ease;
}

.pbr-row__input::placeholder {
	color: rgba(0, 0, 0, 0.403);
}

.pbr-row__input:focus {
	outline: none;
	background: #fff;
}

.pbr-row__input:read-only {
	background: #FFFFFFA3;
	color: #017A23;
	cursor: default;
	font-weight: bold;
}

.pbr-row.is-invalid .pbr-row__badge {
	background: var(--pbr-pink);
}

li.pbr-row.is-invalid.is-locked input.pbr-row__input {
	color: #E50303;
}

/* The status reads as a chip on the row, matching the design. */
.pbr-row__status-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 40px;
	background: #FFFFFF99;
}

.pbr-row__status-text::before {
	content: '';
	width: 14px;
	height: 14px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--pbr-icon) center / contain no-repeat;
	mask: var(--pbr-icon) center / contain no-repeat;
}

.pbr-row__status-text.is-valid {
	color: #017A23;
	--pbr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M12 2a10 10 0 100 20 10 10 0 000-20z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7.5 12.3l3 3 6-6.6'/%3E%3C/svg%3E");
}

.pbr-row__status-text.is-invalid {
	color: #E50303;
	--pbr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M12 2a10 10 0 100 20 10 10 0 000-20z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' d='M9 9l6 6M15 9l-6 6'/%3E%3C/svg%3E");
}

.pbr-row__status {
	margin: 0;
	font-size: 11px;
	line-height: 1.4;
	flex: 1;
	text-align: end;
}

.pbr-row__status:empty {
	display: none;
}

.pbr-row__status-text.is-valid {
	color: #017A23;
}

.pbr-row__status-text.is-invalid {
	color: #E50303;
}

.pbr-codes__error {
	margin: 0;
	max-height: 0;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
	color: #E50303;
	transition: max-height .2s ease, margin .2s ease;
}

.pbr-codes__error.is-visible {
	max-height: 6em;
	margin-block-start: 16px;
}

.pbr-codes__error.is-success {
	color: #2e9b93;
}

.pbr-codes__submit {
	position: relative;
	margin-block-start: 28px;
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.pbr-codes__submit[disabled] {
	opacity: .5;
	cursor: default;
}

.pbr-codes__submit .pbr-spinner {
	border-color: rgba(255, 255, 255, .35);
	border-block-start-color: #fff;
}

.pbr-codes__submit.is-busy .pbr-modal__submit-label {
	visibility: hidden;
}

.pbr-codes__submit.is-busy .pbr-spinner {
	opacity: 1;
}

/* ── invoice dialog ──────────────────────────────────────────────────── */

.pbr-invoice__state[hidden] {
	display: none;
}

.pbr-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 96px;
	margin-block-start: 20px;
	padding: 18px 16px;
	border: 2px dashed transparent;
	border-radius: 16px;
	background: #fbc8dd;
	color: #d1417a;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.pbr-drop:hover {
	background: #fcd3e4;
}

.pbr-drop.is-dragging {
	border-color: #fff;
	background: #fcd3e4;
}

.pbr-drop.has-file {
	background: #fdeef4;
}

.pbr-drop__text {
	font-size: 11.5px;
	line-height: 1.7;
	word-break: break-word;
}

.pbr-invoice__number {
	margin-block-start: 14px;
	width: 100%;
	text-align: start;
	direction: rtl;
	letter-spacing: normal;
	font-size: 12px;
	font-weight: 400;
}

.pbr-invoice__number::placeholder {
	color: #F05C8B;
}

/* uploading */

.pbr-file {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-block-start: 20px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #fbc8dd;
	color: #b93a70;
	text-align: start;
}

.pbr-file__icon {
	flex: none;
}

.pbr-file__meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.5;
}

.pbr-file__name {
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pbr-file__size {
	font-size: 10.5px;
	opacity: .8;
}

.pbr-file__remove {
	flex: none;
	padding: 4px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	border-radius: 8px;
}

.pbr-file__remove:hover {
	background: rgba(255, 255, 255, .4);
}

.pbr-progress {
	height: 4px;
	margin-block-start: 18px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .45);
	overflow: hidden;
}

.pbr-progress__bar {
	width: 0;
	height: 100%;
	border-radius: 4px;
	background: #fff;
	transition: width .15s linear;
}

/* done */

.pbr-invoice__done {
	text-align: center;
}

.pbr-invoice__check {
	margin: 26px auto 0;
	color: #fff;
	display: block;
}

.pbr-invoice__done-title {
	margin: 14px 0 0;
	font-size: 13px;
	font-weight: 700;
}

.pbr-invoice__done-note {
	margin: 6px 0 0;
	font-size: 11.5px;
	opacity: .9;
}

@media (min-width: 1024px) {
	.pbr-codes {
		padding-block: 60px 120px;
	}

	.pbr-codes__title {
		margin-block-end: 40px;
		font-size: 40px;
		margin-top: 80px;
	}

	.pbr-codes__list {
		gap: 18px;
	}

	.pbr-row {
		gap: 16px;
		padding: 10px 10px 10px 20px;
		border-radius: 60px;
	}

	.pbr-row__badge {
		width: 52px;
		height: 52px;
		font-size: 20px;
	}

	.pbr-row__fields {
		flex: none;
		width: 660px;
		gap: 20px;
	}

	.pbr-row__input {
		height: 52px;
		padding-inline: 24px;
		font-size: 15px;
	}

	.pbr-row__status {
		font-size: 13px;
	}

	.pbr-codes__submit {
		margin-block-start: 44px;
	}

	.pbr-drop {
		min-height: 108px;
	}

	.pbr-drop__text {
		font-size: 12px;
	}
}

/* ==========================================================================
   Prize ladder
   ========================================================================== */

.pbr-progress-card {
	position: relative;
	margin-block-start: 24px;
	padding: 22px 20px 40px;
	border-radius: 40px;
	background: #F6B5D333;
}

.pbr-progress-card__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--pbr-pink);
	text-align: start;
}

.pbr-progress-card__hint {
	margin: 6px 0 0;
	font-size: 11.5px;
	line-height: 1.7;
	color: var(--pbr-pink);
	text-align: start;
}

.pbr-progress-card__badge {
	display: inline-block;
	margin-block-start: 14px;
	padding: 6px 16px;
	border-radius: 40px;
	background: #e2588b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-self: center;
	justify-self: end;
}

.pbr-progress-card__badge[hidden] {
	display: none;
}

.pbr-ladder {
	position: relative;
	margin-block-start: 22px;
	padding-inline: 8px;
}

.pbr-ladder__track {
	position: relative;
	height: 6px;
	border-radius: 6px;
	background: #fff;
}

/* Fills from the right, the direction the ladder is read. */
.pbr-ladder__fill {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 0;
	border-radius: 6px;
	background: #F690A8;
	transition: width .4s ease;
}

.pbr-ladder__stop {
	position: absolute;
	inset-block-start: 50%;
	width: 13px;
	height: 13px;
	margin-block-start: -6.5px;
	margin-inline-start: -6.5px;
	border-radius: 50%;
	background: #fff;
	transition: background-color .3s ease;
}

.pbr-ladder__stop.is-reached {
	background: #F690A8;
}

.pbr-ladder__labels {
	position: relative;
	height: 22px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.pbr-ladder__label {
	position: absolute;
	inset-block-start: 0;
	transform: translateX(50%);
	font-size: 11px;
	font-weight: 700;
	color: rgba(240, 92, 139, .45);
	white-space: nowrap;
	transition: color .3s ease;
}

.pbr-ladder__label.is-reached {
	color: var(--pbr-pink);
}

/* ==========================================================================
   Result rows & claim
   ========================================================================== */

.pbr-row__closed {
	flex: 1 1 auto;
	margin: 0;
	padding: 18px 14px;
	height: 34px;
	display: flex;
	align-items: center;
	border-radius: 40px;
	background: #FFFFFFA3;
	color: #000000;
	font-size: 11.5px;
	font-weight: bold;
}


.pbr-codes__warning {
	margin: 20px 0 0;
	padding: 16px 18px;
	border-radius: 100px;
	background: var(--pbr-teal-wash);
	color: var(--pbr-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.9;
	border-right: 5px solid var(--main-color-2, #6BCACA);
	margin-top: 70px;
}

.pbr-codes__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.pbr-codes__claim {
	position: relative;
	margin-block-start: 28px;
	border: 0;
	font-family: inherit;
	font-size: 12px;
	cursor: pointer;
}

.pbr-codes__claim .pbr-spinner {
	border-color: rgba(255, 255, 255, .35);
	border-block-start-color: #fff;
}

.pbr-codes__claim.is-busy .pbr-modal__submit-label {
	visibility: hidden;
}

.pbr-codes__claim.is-busy .pbr-spinner {
	opacity: 1;
}

/* ==========================================================================
   Voucher
   ========================================================================== */

.pbr-code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin-block-start: 16px;
	padding: 10px 16px;
	border-radius: 40px;
	background: #bfe7e3;
}

.pbr-code__value {
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #303030;
	direction: ltr;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pbr-voucher-card__main {
	order: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 80%;
	margin: auto;

}

.pbr-code__copy {
	flex: none;
	padding: 0;
	border: 0;
	background: none;
	color: #303030;
	font: inherit;
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.pbr-code__copy.is-copied {
	color: #303030;
}

/* inside the pink dialog the teal chip would clash */
.pbr-code--modal {
	background: rgba(255, 255, 255, .55);
}

.pbr-code--modal .pbr-code__value,
.pbr-code--modal .pbr-code__copy {
	color: #000;
}

.pbr-code--modal .pbr-code__copy.is-copied {
	color: #000;
	text-decoration: underline;
}

section#pbr-entry h1.pbr-codes__title {
	margin-top: 0;
}

.pbr-modal__submit--link {
	display: block;
	text-decoration: none;
	text-align: center;
}

.pbr-modal__guide {
	display: block;
	margin-block-start: 16px;
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	text-align: center;
	text-decoration: underline;
}

.pbr-modal__guide[hidden],
.pbr-modal__submit--link[hidden] {
	display: none;
}

/* final-state card */

.pbr-voucher-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-block-end: 30px;
	padding: 24px 20px;
	border-radius: 32px;
	background: var(--pbr-teal-wash);
	overflow: hidden;
}

.pbr-voucher-card__guide {
	order: 1;
}

.pbr-voucher-card__guide-title,
.pbr-voucher-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #303030;
}

.pbr-voucher-card__steps {
	margin: 10px 0 0;
	padding-inline-start: 18px;
	font-size: 12px;
	line-height: 2.1;
	color: #303030;
}

.pbr-voucher-card__note {
	margin: 6px 0 0;
	font-size: 11.5px;
	color: #303030;
}

.pbr-voucher-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-block-start: 14px;
	padding: 10px 26px;
	border-radius: 40px;
	background: #4bb3a8;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.pbr-voucher-card__cta:hover {
	background: #3ca196;
}

.pbr-voucher-card__link {
	display: block;
	margin-block-start: 12px;
	color: #303030;
	font-size: 11.5px;
	font-weight: 700;
	text-decoration: underline;
}

.pbr-voucher-card__gift {
	order: 3;
	margin-inline: auto;
	opacity: .9;
	position: absolute;
	left: 8px;
	width: 100px;
	top: 32px;
}

@media (min-width: 1024px) {
	.pbr-progress-card {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: start;
		gap: 10px 40px;
		padding: 32px 110px;
		border-radius: 200px;
	}

	.pbr-row__closed {
		height: 52px;
	}

	.pbr-progress-card__head {
		grid-column: 1;
		grid-row: 1;
	}

	.pbr-progress-card__title {
		font-size: 16px;
	}

	.pbr-progress-card__hint {
		font-size: 13px;

	}

	.pbr-progress-card__badge {
		grid-column: 2;
		grid-row: 1;
		margin-block-start: 4px;
		font-size: 12px;
	}

	.pbr-ladder {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-block-start: 26px;
	}

	.pbr-modal__meta {
		flex-direction: row;
	}

	.pbr-ladder__label {
		font-size: 13px;
	}

	.pbr-codes__warning {
		font-size: 13px;
		padding: 20px 26px;
	}

	.pbr-codes__claim {
		font-size: 13px;
		margin-top: 40px;
		justify-self: flex-end;
		display: flex !important;
	}

	.pbr-voucher-card {
		display: grid;
		grid-template-columns: minmax(220px, 260px) 1fr 230px;
		align-items: center;
		gap: 40px;
		padding: 30px 40px;
	}

	/* Column 1 is the right-hand side in RTL: guide, code, then the gift. */
	.pbr-voucher-card__guide {
		order: 0;
		grid-column: 1;
		text-align: start;
	}

	.pbr-voucher-card__main {
		order: 0;
		grid-column: 2;
		text-align: center;
	}

	.pbr-voucher-card__gift {
		order: 0;
		grid-column: 3;
		width: 100%;
		max-height: 210px;
		object-fit: contain;
		position: relative;
		top: auto;
		left: auto;
	}

	.pbr-voucher-card__title {
		font-size: 20px;
	}

	.pbr-code {
		max-width: 340px;
		margin-inline: auto;
	}
}

/* ==========================================================================
   Entry screen vs final-status screen
   --------------------------------------------------------------------------
   Two screens in one document: swapping them is instant, and the verdicts on
   rejected codes survive, which they could not if the result were re-fetched
   (only accepted codes are stored).
   ========================================================================== */

.pbr-view {
	display: none;
}

body[data-pbr-view="entry"] .pbr-view--entry,
body[data-pbr-view="closed"] .pbr-view--entry,
body[data-pbr-view="result"] .pbr-view--result {
	display: block;
}

/* Read-only cells on the final-status screen — values, not inputs. */
.pbr-row__input--static {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #9c5f7c;
	direction: ltr;
	cursor: default;
}

.pbr-row.is-invalid .pbr-row__input--static {
	color: #b4636b;
}

.pbr-codes__back {
	display: block;
	margin-block-start: 22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pbr-ink);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	display: flex;
	width: 100%;
	justify-content: flex-end;
}

.pbr-codes__claim {
	display: inline-flex;
}

/* ── province / city selects (login dialog) ──────────────────────────── */

.pbr-field__select {
	width: 100%;
	text-align: start;
	text-align-last: start;
	direction: rtl;
	letter-spacing: normal;
	font-size: 13px;
	cursor: pointer;
	/* Native arrow removed; a soft one is drawn on the right (start in RTL). */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
	background-size: 14px;
	padding-inline-end: 40px;
}

.pbr-field__select:disabled {
	opacity: .6;
	cursor: default;
	display:none;
}

/* The placeholder option reads muted; real choices are solid. */
.pbr-field__select option { color: #3d3d3d; }
.pbr-field__select option[value=""] { color: #9a9a9a; }

/* ── searchable combobox (province / city) ───────────────────────────── */

.pbr-combo {
    position: relative;
    width: 100%;
}

/* The native select stays for form value + cascade, just hidden. */
.pbr-combo__native {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.pbr-combo__input { width: 100%; cursor: text; }

.pbr-combo__panel {
	position: absolute;
	z-index: 20;
	inset-inline: 0;
	inset-block-start: calc(100% + 4px);
	max-height: 200px;
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(61, 61, 61, .18);
	padding: 6px;
}

.pbr-combo__option {
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 13px;
	color: #3d3d3d;
	text-align: start;
	cursor: pointer;
}

.pbr-combo__option:hover,
.pbr-combo__option.is-active { background: #fbe4ee; }
.pbr-combo__option.is-selected { color: #e2588b; font-weight: 700; }

.pbr-combo__empty {
	padding: 10px 14px;
	font-size: 12px;
	color: #9a9a9a;
	text-align: center;
}

/* ==========================================================================
   Selected stores
   ========================================================================== */

.pbr-stores { padding-block: 40px 70px; }

.pbr-stores .pbr-section__title,
.pbr-stores .pbr-section__note { text-align: center; }

.pbr-stores__card {
	position: relative;
	margin-block-start: 46px;
	padding: 60px 20px 24px;
	background: var(--pbr-teal-wash, #dff6f4);
	border-radius: 24px;
}

/* the province picker sits half-overlapping the top of the card */
.pbr-stores__pick {
	position: absolute;
	inset-block-start: -26px;
	inset-inline: 20px;
	display: flex;
	justify-content: center;
}

.pbr-stores__combo {
	position: relative;
	display: flex;
	align-items: center;
	width: min(100%, 620px);
	height: 56px;
	padding-inline: 22px 12px;
	border-radius: 40px;
	background: var(--pbr-teal, #6bcaca);
	color: #fff;
	cursor: text;
}

.pbr-stores__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	text-align: start;
	outline: none;
}

.pbr-stores__input::placeholder { color: rgba(255, 255, 255, .85); }

/* search icon in a white circle, at the inline-end (left in RTL) */
.pbr-stores__search {
	order: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	color: var(--pbr-teal, #6bcaca);
}

.pbr-combo__panel--teal {
	border: 1px solid #cdeceb;
}

.pbr-combo__panel--teal .pbr-combo__option:hover,
.pbr-combo__panel--teal .pbr-combo__option.is-active { background: #e2f6f4; }
.pbr-combo__panel--teal .pbr-combo__option.is-selected { color: #2e9b93; font-weight: 700; }

/* ── table ───────────────────────────────────────────────────────────── */

.pbr-stores__body { min-height: 90px; }

.pbr-stores__hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 90px;
	margin: 0;
	font-size: 14px;
	color: #5a8f8b;
}

.pbr-stores__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.pbr-stores__table th {
	padding: 16px 10px;
	font-weight: 700;
	color: var(--pbr-ink, #303030);
	border-block-end: 1px solid #bfe6e3;
	text-align:right;
}

.pbr-stores__table td {
	padding: 18px 10px;
	color: #3d3d3d;
	border-block-end: 1px solid #cdeceb;
	vertical-align: middle;
}

.pbr-stores__table tr:last-child td { border-block-end: 0; }

/* vertical divider between the two columns, like the design */
.pbr-stores__table th:first-child,
.pbr-stores__table td:first-child { border-inline-end: 1px solid #cdeceb;     text-align: right; max-width:150px;}

.pbr-stores__name { white-space: nowrap; }
.pbr-stores__addr { line-height: 1.9; }

.pbr-spinner--teal {
	position: static;
	width: 18px;
	height: 18px;
	margin: 0;
	opacity: 1;
	border-color: rgba(107, 202, 202, .3);
	border-block-start-color: var(--pbr-teal, #6bcaca);
}

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.pbr-stores__card { padding-inline: 12px; }
	.pbr-stores__table { font-size: 12.5px; }
	.pbr-stores__table th,
	.pbr-stores__table td { padding: 12px 6px; }
	.pbr-stores__name { white-space: normal; }
}

@media (min-width: 1024px) {
	.pbr-stores__card { padding: 70px 30px 30px; }
	.pbr-stores__table th,
	.pbr-stores__table td { padding-inline: 24px; }
}