/* Relief Packages — frontend. Brand colours/radius/font are overridden from Settings via an inline :root block that loads after this file. */
:root { --rpk-primary: #032075; --rpk-accent: #ca1326; --rpk-cta: #007a3d; --rpk-radius: 6px; --rpk-font: inherit; }

.rpk-root,
.rpk-wrap {
	--rpk-ink: #16182b;
	--rpk-muted: #5c5f73;
	--rpk-line: #e4e6ef;
	--rpk-soft: #f5f6fa;
	--rpk-ok: #0f8a4b;
	--rpk-err: #c0152b;
	--rpk-ease: cubic-bezier(.22, 1, .36, 1);
	font-family: var(--rpk-font, inherit);
	color: var(--rpk-ink);
	line-height: 1.55;
}
.rpk-root *, .rpk-root *::before, .rpk-root *::after,
.rpk-wrap *, .rpk-wrap *::before, .rpk-wrap *::after { box-sizing: border-box; }
.rpk-root [hidden], .rpk-wrap [hidden] { display: none !important; }
.rpk-root button, .rpk-wrap button, .rpk-root input, .rpk-wrap input, .rpk-root textarea { font-family: inherit; }

/* ------------------------------------------------------------ Buttons */
.rpk-btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	border: 0; cursor: pointer; text-decoration: none;
	font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
	padding: .9em 1.35em; border-radius: var(--rpk-radius);
	transition: transform .25s var(--rpk-ease), box-shadow .25s, background-color .2s, color .2s, filter .2s;
	-webkit-tap-highlight-color: transparent;
}
.rpk-btn--cta {
	background: var(--rpk-cta); color: #fff;
	box-shadow: 0 8px 20px -10px var(--rpk-cta);
}
.rpk-btn--cta::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .7s var(--rpk-ease);
}
.rpk-btn--cta:hover { filter: brightness(.93); transform: translateY(-1px); color: #fff; }
.rpk-btn--cta:hover::after { transform: translateX(120%); }
.rpk-btn--cta:active { transform: scale(.98); }
.rpk-btn--ghost { background: transparent; color: var(--rpk-primary); border: 1.5px solid currentColor; }
.rpk-btn--ghost:hover { background: var(--rpk-primary); color: #fff; border-color: var(--rpk-primary); }
.rpk-btn[disabled] { background: #dcdeea; color: #6d7088; box-shadow: none; cursor: not-allowed; transform: none; filter: none; }
.rpk-btn[disabled]::after { display: none; }
.rpk-btn:focus-visible, .rpk-qty__btn:focus-visible, .rpk-chips button:focus-visible, .rpk-filters button:focus-visible, .rpk-fab:focus-visible, .rpk-x:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--rpk-primary) 45%, transparent); outline-offset: 2px;
}
.rpk-btn.is-added { background: var(--rpk-ok); }
.rpk-btn.is-added .rpk-btn__sum { display: none; }

/* ------------------------------------------------------------ Section heads */
.rpk-eyebrow { margin: 0 0 .7em; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--rpk-accent); }
.rpk-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 clamp(24px, 3.5vw, 40px); }
.rpk-sec__title { margin: 0 0 .35em; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; font-weight: 800; color: var(--rpk-primary); letter-spacing: -.01em; }
.rpk-sec__text { margin: 0; max-width: 62ch; font-size: 1.05rem; color: var(--rpk-muted); }
.rpk-sec--center .rpk-sec__head { justify-content: center; text-align: center; }
.rpk-sec--center .rpk-sec__text { margin-inline: auto; }
.rpk-sec--center .rpk-sec__cta, .rpk-sec--center .rpk-note { text-align: center; }
.rpk-sec__cta { margin: 32px 0 0; }
.rpk-note { margin: 22px 0 0; text-align: center; font-size: .9rem; color: var(--rpk-muted); }
.rpk-note a { color: var(--rpk-primary); font-weight: 600; }
.rpk-empty { padding: 18px; border: 1.5px dashed var(--rpk-line); border-radius: var(--rpk-radius); color: var(--rpk-muted); text-align: center; }
.rpk-updated { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: .86rem; font-weight: 500; color: var(--rpk-ok); background: #e6f4ec; border-radius: var(--rpk-radius); }
.rpk-updated::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: rpk-pulse 1.6s infinite; }

.rpk-sec, .rpk-packages { padding-block: clamp(48px, 7vw, 88px); }
.rpk-sec--cream { background: #f9f7f0; box-shadow: 0 0 0 100vmax #f9f7f0; clip-path: inset(0 -100vmax); }
.rpk-sec--dark { background: #000; color: #fff; box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax); }
.rpk-sec--navy { background: var(--rpk-primary); color: #fff; box-shadow: 0 0 0 100vmax var(--rpk-primary); clip-path: inset(0 -100vmax); }
.rpk-sec--dark .rpk-sec__title, .rpk-sec--navy .rpk-sec__title { color: #fff; }
.rpk-sec--dark .rpk-sec__text, .rpk-sec--navy .rpk-sec__text, .rpk-sec--dark .rpk-prose, .rpk-sec--navy .rpk-prose { color: rgba(255,255,255,.82); }
.rpk-sec--dark .rpk-btn--ghost, .rpk-sec--navy .rpk-btn--ghost { color: #fff; }
.rpk-sec--dark .rpk-btn--ghost:hover, .rpk-sec--navy .rpk-btn--ghost:hover { background: #fff; color: var(--rpk-primary); }

/* ------------------------------------------------------------ Filters */
.rpk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.rpk-filters button { cursor: pointer; padding: .55em 1.05em; font-size: .9rem; font-weight: 500; color: var(--rpk-primary); background: #fff; border: 1px solid var(--rpk-line); border-radius: var(--rpk-radius); transition: all .2s; }
.rpk-filters button:hover { border-color: var(--rpk-primary); }
.rpk-filters button.is-on { background: var(--rpk-primary); border-color: var(--rpk-primary); color: #fff; }

/* ------------------------------------------------------------ Grid & cards */
.rpk-grid { display: grid; gap: 22px; grid-template-columns: repeat(var(--rpk-cols, 4), minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1100px) { .rpk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rpk-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.rpk-single .rpk-grid { grid-template-columns: minmax(0, 440px); }

.rpk-card {
	container-type: inline-size;
	position: relative; display: flex; flex-direction: column;
	padding: 26px; background: #fff; color: var(--rpk-ink);
	border: 1px solid var(--rpk-line); border-top: 4px solid var(--rpk-cta);
	border-radius: calc(var(--rpk-radius) + 3px);
	box-shadow: 0 1px 2px rgba(20, 24, 50, .04);
	transition: transform .4s var(--rpk-ease), box-shadow .4s var(--rpk-ease), border-color .3s;
}
.rpk-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(20, 24, 60, .28); }
.rpk-card.is-in-cart { border-color: color-mix(in srgb, var(--rpk-cta) 45%, var(--rpk-line)); }
.rpk-card.is-hidden { display: none; }
.rpk-js .rpk-card:not(.is-visible) { opacity: 0; transform: translateY(20px); }
.rpk-card.is-visible { animation: rpk-rise .7s var(--rpk-ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

.rpk-card.is-featured { background: var(--rpk-primary); color: #fff; border-color: var(--rpk-primary); border-top-color: var(--rpk-accent); }
.rpk-card.is-featured .rpk-card__title, .rpk-card.is-featured .rpk-price__now { color: #fff; }
.rpk-card.is-featured .rpk-card__desc, .rpk-card.is-featured .rpk-card__list, .rpk-card.is-featured .rpk-price small, .rpk-card.is-featured .rpk-card__more, .rpk-card.is-featured .rpk-card__learn { color: rgba(255,255,255,.78); }
.rpk-card.is-featured .rpk-card__icon { background: rgba(255,255,255,.12); }
.rpk-card.is-featured .rpk-qty { border-color: rgba(255,255,255,.3); background: transparent; }
.rpk-card.is-featured .rpk-qty__btn, .rpk-card.is-featured .rpk-qty__input { color: #fff; }
.rpk-card.is-featured .rpk-qty__btn:hover { background: rgba(255,255,255,.12); }
.rpk-card.is-featured .rpk-chips button { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.rpk-card.is-featured .rpk-chips button:hover { background: rgba(255,255,255,.14); }
.rpk-card.is-featured .rpk-card__list svg { color: #7fe0a8; }
.rpk-card.is-closed { opacity: .72; }

.rpk-card__top { position: relative; }
.rpk-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 18px; font-size: 1.45rem; background: var(--rpk-soft); border-radius: var(--rpk-radius); transition: transform .5s var(--rpk-ease); }
.rpk-card:hover .rpk-card__icon { transform: scale(1.08) rotate(-4deg); }
.rpk-card.has-image { padding-top: 0; }
.rpk-card__media { aspect-ratio: 16 / 10; margin: 0 -26px 20px; overflow: hidden; background: var(--rpk-soft); }
.rpk-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--rpk-ease); }
.rpk-card:hover .rpk-card__media img { transform: scale(1.06); }
.rpk-badge { position: absolute; top: 0; right: 0; z-index: 2; padding: .32em .8em; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--rpk-accent); border-radius: var(--rpk-radius); }
.rpk-card.has-image .rpk-badge { top: 14px; right: 14px; }

.rpk-card__body { flex: 1; }
.rpk-card__title { margin: 0 0 .4em; font-size: 1.28rem; font-weight: 700; line-height: 1.2; color: var(--rpk-primary); }
.rpk-card__desc { margin: 0; font-size: .96rem; color: var(--rpk-muted); }
.rpk-card__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; font-size: .9rem; color: var(--rpk-muted); }
.rpk-card__list li { display: flex; gap: 9px; align-items: flex-start; }
.rpk-card__list svg { flex: none; margin-top: 3px; color: var(--rpk-cta); }
.rpk-progress { height: 8px; margin: 18px 0 6px; background: var(--rpk-soft); border-radius: 99px; overflow: hidden; }
.rpk-progress span { display: block; width: var(--p, 0%); height: 100%; background: linear-gradient(90deg, var(--rpk-cta), color-mix(in srgb, var(--rpk-cta) 60%, #7fe0a8)); border-radius: 99px; transform-origin: left; animation: rpk-grow 1.2s var(--rpk-ease) .3s backwards; }
.rpk-progress__label { margin: 0; font-size: .82rem; color: var(--rpk-muted); }

.rpk-card__foot { margin-top: 20px; display: grid; gap: 14px; }
.rpk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rpk-price__now { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--rpk-primary); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rpk-price__now--sm { font-size: 1.15rem; letter-spacing: 0; }
.rpk-price__old { font-size: 1rem; color: var(--rpk-muted); opacity: .75; }
.rpk-price small { font-size: .82rem; color: var(--rpk-muted); font-weight: 500; }
.rpk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rpk-chips button { cursor: pointer; padding: .32em .8em; font-size: .82rem; font-weight: 600; color: var(--rpk-primary); background: transparent; border: 1px solid var(--rpk-line); border-radius: 99px; transition: all .2s; }
.rpk-chips button:hover, .rpk-chips button.is-on { color: #fff; background: var(--rpk-primary); border-color: var(--rpk-primary); }
.rpk-card__buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.rpk-card__buy .rpk-qty { flex: 1 1 100%; justify-content: space-between; }
.rpk-card__buy .rpk-qty__input { flex: 1; width: auto; min-width: 0; }
.rpk-card__buy .rpk-btn { flex: 1 1 100%; min-width: 0; min-height: 50px; padding-inline: .8em; white-space: nowrap; }
@container (min-width: 270px) {
	.rpk-card__buy { flex-wrap: nowrap; }
	.rpk-card__buy .rpk-qty { flex: none; }
	.rpk-card__buy .rpk-qty__input { flex: none; width: 42px; }
	.rpk-card__buy .rpk-btn { flex: 1; }
}
.rpk-btn__sum { font-weight: 500; opacity: .85; font-variant-numeric: tabular-nums; }
.rpk-btn__sum:not(:empty)::before { content: "· "; }

.rpk-qty { display: inline-flex; align-items: center; flex: none; overflow: hidden; background: #fff; border: 1.5px solid var(--rpk-line); border-radius: var(--rpk-radius); }
.rpk-qty__btn { width: 38px; height: 46px; padding: 0; font-size: 1.25rem; line-height: 1; color: var(--rpk-primary); background: transparent; border: 0; cursor: pointer; transition: background .15s; }
.rpk-qty__btn:hover { background: var(--rpk-soft); }
.rpk-qty__input { width: 42px; height: 46px; padding: 0; text-align: center; font-size: 1rem; font-weight: 700; color: var(--rpk-ink); background: transparent; border: 0; -moz-appearance: textfield; appearance: textfield; }
.rpk-qty__input::-webkit-outer-spin-button, .rpk-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rpk-qty__input:focus { outline: none; }
.rpk-qty--sm .rpk-qty__btn { width: 32px; height: 36px; }
.rpk-qty--sm .rpk-qty__input { width: 36px; height: 36px; }

.rpk-amount { display: flex; align-items: center; flex: none; width: 128px; background: #fff; border: 1.5px solid var(--rpk-line); border-radius: var(--rpk-radius); transition: border-color .2s, box-shadow .2s; }
.rpk-amount:focus-within { border-color: var(--rpk-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rpk-primary) 18%, transparent); }
.rpk-amount span { padding-left: 14px; font-weight: 700; color: var(--rpk-muted); }
.rpk-amount input { width: 100%; height: 46px; padding: 0 12px 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--rpk-ink); background: transparent; border: 0; -moz-appearance: textfield; appearance: textfield; }
.rpk-amount input:focus { outline: none; }
.rpk-amount input::-webkit-outer-spin-button, .rpk-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rpk-amount.is-error { border-color: var(--rpk-err); animation: rpk-shake .4s; }

.rpk-card__learn { justify-self: center; font-size: .88rem; color: var(--rpk-muted); text-decoration: underline; text-underline-offset: 3px; }
.rpk-card__learn:hover { color: var(--rpk-primary); }
.rpk-card__incart { margin: -4px 0 0; font-size: .82rem; font-weight: 600; text-align: center; color: var(--rpk-ok); }
.rpk-card.is-featured .rpk-card__incart { color: #7fe0a8; }
.rpk-card__more { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rpk-line); font-size: .9rem; color: var(--rpk-muted); }
.rpk-card__more summary { cursor: pointer; font-weight: 600; color: var(--rpk-primary); list-style: none; }
.rpk-card.is-featured .rpk-card__more summary { color: #fff; }
.rpk-card__more summary::after { content: "+"; float: right; font-weight: 700; }
.rpk-card__more[open] summary::after { content: "–"; }

/* "Any amount" wide card */
.rpk-card--wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px 36px; padding: 24px 28px; border-top-width: 1px; border-left: 4px solid var(--rpk-accent); background: linear-gradient(100deg, color-mix(in srgb, var(--rpk-primary) 5%, #fff), #fff 60%); }
.rpk-card--wide .rpk-card__top { flex: none; }
.rpk-card--wide .rpk-card__icon { margin: 0; }
.rpk-card--wide .rpk-card__body { flex: 1 1 260px; }
.rpk-card--wide .rpk-card__foot { flex: 0 1 430px; margin: 0; }
.rpk-card--wide .rpk-badge { top: 10px; right: 10px; }
.rpk-card--wide:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .rpk-card--wide { padding: 22px; } .rpk-card--wide .rpk-card__foot { flex-basis: 100%; } }

/* ------------------------------------------------------------ Video section */
.rpk-videosec__grid { display: grid; grid-template-columns: minmax(260px, 540px) 1fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.rpk-videosec__grid.is-portrait { grid-template-columns: minmax(240px, 340px) 1fr; }
.rpk-videosec.is-reversed .rpk-videosec__media { order: 2; }
@media (max-width: 820px) { .rpk-videosec__grid, .rpk-videosec__grid.is-portrait { grid-template-columns: minmax(0, 1fr); } .rpk-videosec.is-reversed .rpk-videosec__media { order: 0; } .rpk-videosec__grid.is-portrait .rpk-videosec__media { max-width: 340px; } }
.rpk-video { position: relative; aspect-ratio: var(--rpk-ratio, 16 / 9); overflow: hidden; background: #0b141a; border-radius: calc(var(--rpk-radius) * 3); box-shadow: 0 28px 60px -26px rgba(3, 20, 80, .5); }
.rpk-video iframe, .rpk-video video, .rpk-video__embed, .rpk-video__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rpk-video video { object-fit: cover; background: #000; }
.rpk-video__play { position: absolute; inset: 0; width: 100%; padding: 0; cursor: pointer; border: 0; background: #0b141a center / cover no-repeat; }
.rpk-video__play::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); transition: opacity .3s; }
.rpk-video__btn { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; color: var(--rpk-primary); background: #fff; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .35s var(--rpk-ease); }
.rpk-video__btn svg { margin-left: 4px; }
.rpk-video__btn::after { content: ""; position: absolute; inset: -9px; border: 2px solid rgba(255,255,255,.65); border-radius: 50%; animation: rpk-ring 2s infinite; }
.rpk-video__play:hover .rpk-video__btn { transform: scale(1.1); }
.rpk-quote { margin: 0 0 .8em; padding: 0 0 0 20px; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 700; line-height: 1.25; color: var(--rpk-primary); border-left: 5px solid var(--rpk-accent); }
.rpk-prose { max-width: 54ch; color: var(--rpk-muted); font-size: 1.05rem; }
.rpk-prose p { margin: 0 0 1em; }

/* ------------------------------------------------------------ Floating cart button */
.rpk-fab {
	position: fixed; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 99980;
	display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 18px;
	color: #fff; background: var(--rpk-primary); border: 0; border-radius: 99px; cursor: pointer;
	box-shadow: 0 16px 36px -12px rgba(3, 20, 80, .55), 0 2px 6px rgba(0, 0, 0, .15);
	transition: transform .4s var(--rpk-ease), padding .35s var(--rpk-ease), background .2s;
	animation: rpk-pop .6s var(--rpk-ease) .4s backwards;
}
.rpk-pos-right .rpk-fab { right: 22px; }
.rpk-pos-left .rpk-fab { left: 22px; }
.rpk-fab:hover { transform: translateY(-3px); }
.rpk-fab__icon { display: grid; place-items: center; }
.rpk-fab__text { display: grid; text-align: left; line-height: 1.15; }
.rpk-fab__label { font-size: .72rem; font-weight: 500; opacity: .8; }
.rpk-fab__total { font-size: 1.02rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rpk-fab.is-empty { width: 58px; padding: 0; justify-content: center; }
.rpk-fab.is-empty .rpk-fab__text, .rpk-fab.is-empty .rpk-count { display: none; }
.rpk-fab.is-bump { animation: rpk-bump .6s var(--rpk-ease); }
.rpk-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; font-size: .78rem; font-weight: 800; color: #fff; background: var(--rpk-accent); border-radius: 99px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Mobile floating bar */
.rpk-bar { display: none; }
@media (max-width: 700px) {
	.rpk-has-bar .rpk-fab { display: none; }
	.rpk-bar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99985;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
		border-top: 1px solid rgba(20, 24, 50, .08); box-shadow: 0 -12px 34px -16px rgba(20, 24, 60, .35);
		transform: translateY(115%); transition: transform .5s var(--rpk-ease);
	}
	.rpk-bar.is-in { transform: none; }
	.rpk-bar.is-away { transform: translateY(115%); }
	.rpk-bar__cta, .rpk-bar__cart {
		display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 20px;
		font-size: 1.02rem; font-weight: 700; text-decoration: none; color: #fff; border: 0; border-radius: var(--rpk-radius); cursor: pointer;
		-webkit-tap-highlight-color: transparent; transition: transform .2s var(--rpk-ease);
	}
	.rpk-bar__cta { background: var(--rpk-cta); box-shadow: 0 10px 24px -12px var(--rpk-cta); }
	.rpk-bar__cta svg { transition: transform .3s var(--rpk-ease); animation: rpk-nudge 1.8s ease-in-out infinite; }
	.rpk-bar__cart { justify-content: space-between; background: var(--rpk-primary); }
	.rpk-bar__cta:active, .rpk-bar__cart:active { transform: scale(.98); }
	.rpk-bar__left { display: inline-flex; align-items: center; gap: 10px; }
	.rpk-bar__cart strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
	.rpk-bar.is-bump .rpk-bar__cart { animation: rpk-bump .6s var(--rpk-ease); }
	body.rpk-bar-pad { padding-bottom: 86px; }
	.rpk-toast { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
}

/* ------------------------------------------------------------ Drawer */
.rpk-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(8, 12, 32, .58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.rpk-overlay.is-open { opacity: 1; }
.rpk-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 99991; display: flex; flex-direction: column;
	width: min(480px, 100vw); background: #fff; outline: none;
	transform: translateX(105%); transition: transform .5s var(--rpk-ease);
	box-shadow: -30px 0 70px -24px rgba(8, 12, 32, .45);
}
.rpk-drawer.is-open { transform: none; }
@media (max-width: 640px) {
	.rpk-drawer { top: auto; left: 0; width: 100%; height: 93vh; height: 93dvh; border-radius: 22px 22px 0 0; transform: translateY(105%); }
	.rpk-drawer::before { content: ""; position: absolute; left: 50%; top: 8px; width: 42px; height: 4px; margin-left: -21px; background: #d5d8e4; border-radius: 4px; }
}
.rpk-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 8px; }
.rpk-drawer__title { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--rpk-primary); }
.rpk-x { width: 38px; height: 38px; padding: 0; font-size: 1.6rem; line-height: 1; color: var(--rpk-muted); background: var(--rpk-soft); border: 0; border-radius: 50%; cursor: pointer; transition: transform .3s var(--rpk-ease), background .2s; }
.rpk-x:hover { background: #e8eaf3; transform: rotate(90deg); }

.rpk-steps { display: flex; list-style: none; margin: 0; padding: 14px 24px 18px; counter-reset: s; }
.rpk-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: #9a9db2; counter-increment: s; }
.rpk-steps li::before { content: counter(s); position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; font-size: .82rem; font-weight: 700; color: #9a9db2; background: #fff; border: 2px solid #dfe1ec; border-radius: 50%; transition: all .35s var(--rpk-ease); }
.rpk-steps li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: #dfe1ec; transition: background .4s; }
.rpk-steps li:last-child::after { display: none; }
.rpk-steps li.is-active { color: var(--rpk-primary); }
.rpk-steps li.is-active::before { color: #fff; background: var(--rpk-primary); border-color: var(--rpk-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--rpk-primary) 16%, transparent); }
.rpk-steps li.is-done { color: var(--rpk-ok); cursor: pointer; }
.rpk-steps li.is-done::before { content: "✓"; color: #fff; background: var(--rpk-ok); border-color: var(--rpk-ok); }
.rpk-steps li.is-done::after { background: var(--rpk-ok); }

.rpk-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 20px; }
.rpk-view { animation: rpk-view .45s var(--rpk-ease); }
.rpk-drawer__foot { padding: 16px 24px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rpk-line); box-shadow: 0 -14px 30px -22px rgba(20, 24, 60, .35); }
.rpk-total { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; }
.rpk-total span { font-size: .95rem; color: var(--rpk-muted); font-weight: 500; }
.rpk-total strong { font-size: 1.6rem; font-weight: 800; color: var(--rpk-primary); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rpk-total small { font-size: .75rem; font-weight: 600; color: var(--rpk-muted); margin-left: 4px; }
.rpk-actions { display: flex; gap: 10px; }
.rpk-actions .rpk-btn--cta { flex: 1; min-height: 54px; }
.rpk-actions .rpk-btn--back { flex: none; min-height: 54px; padding-inline: 1.1em; color: var(--rpk-muted); background: var(--rpk-soft); }
.rpk-actions .rpk-btn--back:hover { background: #e8eaf3; }

/* Empty */
.rpk-emptycart { display: grid; justify-items: center; gap: 8px; padding: 52px 12px; text-align: center; }
.rpk-emptycart__ico { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 8px; color: var(--rpk-primary); background: color-mix(in srgb, var(--rpk-primary) 8%, #fff); border-radius: 50%; }
.rpk-emptycart h3 { margin: 0; font-size: 1.2rem; color: var(--rpk-primary); }
.rpk-emptycart p { margin: 0 0 14px; color: var(--rpk-muted); }

/* Cart lines */
.rpk-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--rpk-line); animation: rpk-view .4s var(--rpk-ease) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.rpk-line:last-child { border-bottom: 0; }
.rpk-line__thumb { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; font-size: 1.7rem; background: var(--rpk-soft); border-radius: var(--rpk-radius); }
.rpk-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rpk-line__name { margin: 0 0 2px; font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--rpk-ink); }
.rpk-line__unit { margin: 0 0 10px; font-size: .82rem; color: var(--rpk-muted); }
.rpk-line__ctl { display: flex; align-items: center; gap: 12px; }
.rpk-link { padding: 0; font-size: .82rem; color: var(--rpk-muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.rpk-link:hover { color: var(--rpk-err); }
.rpk-link--edit:hover { color: var(--rpk-primary); }
.rpk-line__amt { font-size: 1.02rem; font-weight: 800; color: var(--rpk-primary); font-variant-numeric: tabular-nums; }

/* Forms */
.rpk-form { display: grid; gap: 16px; padding-top: 4px; }
.rpk-field label { display: block; margin: 0 0 6px; font-size: .86rem; font-weight: 600; color: var(--rpk-ink); }
.rpk-field label em { font-style: normal; font-weight: 400; color: var(--rpk-muted); }
.rpk-field input[type="text"], .rpk-field input[type="email"], .rpk-field input[type="tel"], .rpk-field textarea {
	width: 100%; padding: 13px 14px; font-size: 1rem; color: var(--rpk-ink); background: #fff;
	border: 1.5px solid var(--rpk-line); border-radius: var(--rpk-radius); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.rpk-field textarea { min-height: 84px; resize: vertical; }
.rpk-field input:focus, .rpk-field textarea:focus { outline: none; border-color: var(--rpk-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rpk-primary) 14%, transparent); }
.rpk-field.has-error input, .rpk-field.has-error textarea { border-color: var(--rpk-err); }
.rpk-field__err { margin: 6px 0 0; font-size: .82rem; color: var(--rpk-err); animation: rpk-view .3s; }
.rpk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rpk-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; color: var(--rpk-muted); line-height: 1.4; }
.rpk-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rpk-cta); cursor: pointer; }
.rpk-check a { color: var(--rpk-primary); text-decoration: underline; }
.rpk-check.has-error { color: var(--rpk-err); }

/* Payment step */
.rpk-h { margin: 6px 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rpk-muted); }
.rpk-pay { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin-bottom: 10px; cursor: pointer; background: #fff; border: 1.5px solid var(--rpk-line); border-radius: calc(var(--rpk-radius) + 2px); transition: border-color .2s, box-shadow .25s, transform .25s var(--rpk-ease); }
.rpk-pay:hover { border-color: #c8cbdc; }
.rpk-pay input { position: absolute; opacity: 0; pointer-events: none; }
.rpk-pay__dot { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #c8cbdc; border-radius: 50%; transition: all .25s; }
.rpk-pay__dot::after { content: ""; width: 10px; height: 10px; background: var(--rpk-cta); border-radius: 50%; transform: scale(0); transition: transform .3s var(--rpk-ease); }
.rpk-pay.is-on { border-color: var(--rpk-cta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rpk-cta) 14%, transparent); }
.rpk-pay.is-on .rpk-pay__dot { border-color: var(--rpk-cta); }
.rpk-pay.is-on .rpk-pay__dot::after { transform: scale(1); }
.rpk-pay input:focus-visible ~ .rpk-pay__dot { outline: 3px solid color-mix(in srgb, var(--rpk-primary) 45%, transparent); outline-offset: 2px; }
.rpk-pay__t { display: grid; gap: 2px; }
.rpk-pay__t strong { font-size: 1rem; color: var(--rpk-ink); }
.rpk-pay__t span { font-size: .84rem; color: var(--rpk-muted); }
.rpk-review { margin: 18px 0 0; padding: 4px 16px; background: var(--rpk-soft); border-radius: calc(var(--rpk-radius) + 2px); }
.rpk-review__row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: .92rem; border-bottom: 1px dashed #d8dae8; }
.rpk-review__row:last-child { border-bottom: 0; }
.rpk-review__row span { color: var(--rpk-muted); }
.rpk-review__row b { font-weight: 600; text-align: right; word-break: break-word; }
.rpk-secure { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; font-size: .82rem; color: var(--rpk-muted); }
.rpk-secure svg { flex: none; color: var(--rpk-ok); }
.rpk-alert { margin: 14px 0 0; padding: 12px 14px; font-size: .92rem; color: #8c1020; background: #fdecee; border: 1px solid #f6c7cd; border-radius: var(--rpk-radius); animation: rpk-view .3s; }
.rpk-alert--warn { color: #7a5200; background: #fff6e0; border-color: #f5dc9c; }

.rpk-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rpk-spin .7s linear infinite; }
.rpk-spinner { width: 54px; height: 54px; margin: 0 auto 18px; border: 4px solid color-mix(in srgb, var(--rpk-primary) 18%, transparent); border-top-color: var(--rpk-primary); border-radius: 50%; animation: rpk-spin .9s linear infinite; }

/* Toast & fly dot */
.rpk-toast { position: fixed; left: 50%; bottom: 28px; z-index: 99999; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; font-size: .92rem; font-weight: 600; color: #fff; background: #151832; border-radius: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .45s var(--rpk-ease), opacity .3s; }
.rpk-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.rpk-toast svg { color: #7fe0a8; flex: none; }
.rpk-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(72vw, 420px); }
.rpk-fly { position: fixed; z-index: 99999; width: 16px; height: 16px; background: var(--rpk-cta); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--rpk-cta) 25%, transparent); transition: transform .75s cubic-bezier(.5, -0.1, .3, 1), opacity .75s; }

/* ------------------------------------------------------------ Thank-you page */
.rpk-ty { max-width: 960px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) 0; }
.rpk-ty__hero { max-width: 640px; margin: 0 auto 34px; text-align: center; animation: rpk-view .6s var(--rpk-ease); }
.rpk-ty__hero h2 { margin: 0 0 .4em; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.12; color: var(--rpk-primary); letter-spacing: -.01em; }
.rpk-ty__hero p { margin: 0; font-size: 1.08rem; color: var(--rpk-muted); }
.rpk-ty__hero--warn h2 { color: var(--rpk-err); }
.rpk-ty__check { display: block; width: 84px; height: 84px; margin: 0 auto 20px; }
.rpk-ty__circle { stroke: var(--rpk-ok); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: rpk-draw .8s var(--rpk-ease) forwards; }
.rpk-ty__tick { stroke: var(--rpk-ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rpk-draw .5s .55s var(--rpk-ease) forwards; }
.rpk-ty__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 760px) { .rpk-ty__grid { grid-template-columns: minmax(0, 1fr); } }
.rpk-ty__card { padding: 26px; background: #fff; border: 1px solid var(--rpk-line); border-radius: calc(var(--rpk-radius) + 4px); box-shadow: 0 18px 40px -28px rgba(20, 24, 60, .3); animation: rpk-view .6s var(--rpk-ease) backwards; }
.rpk-ty__card:nth-child(2) { animation-delay: .1s; }
.rpk-ty__card h3 { margin: 0 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rpk-muted); }
.rpk-ty__empty { max-width: 560px; margin: 0 auto; text-align: center; }
.rpk-ty__empty h2 { margin-top: 0; color: var(--rpk-primary); }
.rpk-ty__ref { margin: 0; text-align: center; }
.rpk-dl { display: grid; margin: 0; }
.rpk-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: .95rem; border-bottom: 1px solid #eef0f6; }
.rpk-dl > div:last-child { border-bottom: 0; }
.rpk-dl dt { color: var(--rpk-muted); }
.rpk-dl dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.rpk-pill { display: inline-block; padding: .2em .75em; font-size: .8rem; font-weight: 700; border-radius: 99px; }
.rpk-pill--ok { color: var(--rpk-ok); background: #e3f4ea; }
.rpk-lines { display: grid; margin: 0; padding: 0; list-style: none; }
.rpk-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef0f6; }
.rpk-lines__name { display: grid; gap: 2px; }
.rpk-lines__name small { color: var(--rpk-muted); }
.rpk-lines__amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.rpk-lines__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding: 16px 18px; background: color-mix(in srgb, var(--rpk-primary) 7%, #fff); border-radius: var(--rpk-radius); }
.rpk-lines__total span { font-weight: 600; }
.rpk-lines__total strong { font-size: 1.6rem; font-weight: 800; color: var(--rpk-primary); }
.rpk-lines__total small { font-size: .75rem; color: var(--rpk-muted); }
.rpk-ty__next { max-width: 720px; margin: 28px auto 0; padding: 22px 26px; text-align: center; background: var(--rpk-soft); border-radius: calc(var(--rpk-radius) + 4px); }
.rpk-ty__next h3 { margin: 0 0 8px; color: var(--rpk-primary); }
.rpk-ty__next p { margin: 0; color: var(--rpk-muted); }
.rpk-ty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; }
@media print { .rpk-root, .rpk-ty__actions, .rpk-ty__next { display: none !important; } .rpk-ty__card { box-shadow: none; } }

/* ------------------------------------------------------------ Keyframes */
@keyframes rpk-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes rpk-view { from { opacity: 0; transform: translateY(10px); } }
@keyframes rpk-pop { from { opacity: 0; transform: scale(.6) translateY(20px); } }
@keyframes rpk-bump { 0% { transform: scale(1); } 30% { transform: scale(1.14) translateY(-4px); } 60% { transform: scale(.97); } 100% { transform: scale(1); } }
@keyframes rpk-grow { from { transform: scaleX(0); } }
@keyframes rpk-pulse { 50% { opacity: .3; } }
@keyframes rpk-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes rpk-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes rpk-spin { to { transform: rotate(360deg); } }
@keyframes rpk-draw { to { stroke-dashoffset: 0; } }
@keyframes rpk-nudge { 50% { transform: translateX(5px); } }

@media (prefers-reduced-motion: reduce) {
	.rpk-root *, .rpk-wrap *, .rpk-root *::before, .rpk-wrap *::before, .rpk-root *::after, .rpk-wrap *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.rpk-js .rpk-card:not(.is-visible) { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ v1.0.2: theme-proof form controls
   Themes often style every <input>/<button> (white boxes, borders, their own text colour). These rules win on specificity
   and !important so quantity numbers never turn invisible (e.g. white on white inside the dark card). */
.rpk-root .rpk-qty, .rpk-wrap .rpk-qty { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--rpk-line); border-radius: var(--rpk-radius); box-shadow: none; }
.rpk-root .rpk-qty .rpk-qty__input, .rpk-wrap .rpk-qty .rpk-qty__input {
	width: 42px; height: 46px; min-height: 0; margin: 0; padding: 0 !important; text-align: center; font: 700 1rem/1 inherit; font-family: inherit;
	color: var(--rpk-ink) !important; -webkit-text-fill-color: var(--rpk-ink); caret-color: var(--rpk-ink);
	background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: 0; opacity: 1;
	-moz-appearance: textfield; appearance: textfield;
}
.rpk-root .rpk-qty--sm .rpk-qty__input, .rpk-wrap .rpk-qty--sm .rpk-qty__input { width: 36px; height: 36px; }
.rpk-root .rpk-qty .rpk-qty__btn, .rpk-wrap .rpk-qty .rpk-qty__btn {
	display: inline-grid; place-items: center; width: 38px; height: 46px; min-height: 0; margin: 0; padding: 0 !important; font-size: 1.25rem; line-height: 1;
	color: var(--rpk-primary) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-transform: none; letter-spacing: 0;
}
.rpk-root .rpk-qty--sm .rpk-qty__btn, .rpk-wrap .rpk-qty--sm .rpk-qty__btn { width: 32px; height: 36px; }
.rpk-root .rpk-qty .rpk-qty__btn:hover, .rpk-wrap .rpk-qty .rpk-qty__btn:hover { background: var(--rpk-soft) !important; }
.rpk-card.is-featured .rpk-qty { background: transparent; border-color: rgba(255,255,255,.35); }
.rpk-card.is-featured .rpk-qty .rpk-qty__input { color: #fff !important; -webkit-text-fill-color: #fff; caret-color: #fff; background: transparent !important; }
.rpk-card.is-featured .rpk-qty .rpk-qty__btn { color: #fff !important; }
.rpk-card.is-featured .rpk-qty .rpk-qty__btn:hover { background: rgba(255,255,255,.14) !important; }
.rpk-root .rpk-amount input, .rpk-wrap .rpk-amount input { color: var(--rpk-ink) !important; -webkit-text-fill-color: var(--rpk-ink); background: transparent !important; border: 0 !important; box-shadow: none !important; height: 46px; }
.rpk-root .rpk-field input, .rpk-root .rpk-field textarea { color: var(--rpk-ink) !important; -webkit-text-fill-color: var(--rpk-ink); background: #fff !important; }

/* ------------------------------------------------------------ v1.0.2: cart upsell */
.rpk-ups { margin: 22px 0 4px; padding: 18px 16px 6px; background: color-mix(in srgb, var(--rpk-primary) 5%, #fff); border: 1px dashed color-mix(in srgb, var(--rpk-primary) 28%, transparent); border-radius: calc(var(--rpk-radius) + 4px); animation: rpk-view .5s var(--rpk-ease); }
.rpk-ups .rpk-h { margin: 0 0 2px; }
.rpk-ups__sub { margin: 0 0 12px; font-size: .86rem; color: var(--rpk-muted); }
.rpk-up { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--rpk-primary) 10%, transparent); }
.rpk-up:first-of-type { border-top: 0; }
.rpk-up__ico { display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.3rem; background: #fff; border-radius: var(--rpk-radius); overflow: hidden; box-shadow: 0 0 0 1px var(--rpk-line); }
.rpk-up__ico img { width: 100%; height: 100%; object-fit: cover; }
.rpk-up__txt { min-width: 0; }
.rpk-up__txt b { display: block; font-size: .95rem; line-height: 1.25; color: var(--rpk-ink); }
.rpk-up__txt small { display: block; margin-top: 1px; font-size: .8rem; line-height: 1.3; color: var(--rpk-muted); }
.rpk-root .rpk-up__add { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; min-width: 78px; padding: 7px 12px !important; font: 700 .85rem/1.2 inherit; color: #fff !important; background: var(--rpk-cta) !important; border: 0 !important; border-radius: var(--rpk-radius) !important; cursor: pointer; transition: transform .2s var(--rpk-ease), filter .2s; }
.rpk-root .rpk-up__add em { font-style: normal; font-weight: 500; font-size: .76rem; opacity: .9; }
.rpk-root .rpk-up__add:hover { filter: brightness(.92); transform: translateY(-1px); }
.rpk-root .rpk-up__add:active { transform: scale(.97); }

/* ------------------------------------------------------------ v1.0.2: thank-you redesign */
.rpk-ty { max-width: 1040px; }
.rpk-ty__hero { position: relative; padding-top: 6px; }
.rpk-ty__hero::before { content: ""; position: absolute; left: 50%; top: -30px; width: min(560px, 92%); height: 220px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--rpk-ok) 16%, transparent), transparent); pointer-events: none; z-index: -1; }
.rpk-ty__kicker { display: inline-block; margin: 0 0 12px; padding: 5px 14px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rpk-ok); background: #e3f4ea; border-radius: 99px; }
.rpk-ty__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 24px; background: #fff; border: 1px solid var(--rpk-line); border-radius: calc(var(--rpk-radius) + 6px); box-shadow: 0 18px 40px -30px rgba(20, 24, 60, .35); overflow: hidden; animation: rpk-view .6s .05s var(--rpk-ease) backwards; }
.rpk-ty__facts > div { display: grid; gap: 4px; padding: 18px 22px; border-left: 1px solid var(--rpk-line); }
.rpk-ty__facts > div:first-child { border-left: 0; }
.rpk-ty__facts span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rpk-muted); }
.rpk-ty__facts strong { font-size: 1.02rem; font-weight: 700; color: var(--rpk-ink); word-break: break-word; }
.rpk-ty__facts strong.is-big { font-size: 1.5rem; font-weight: 800; color: var(--rpk-primary); }
.rpk-ty__facts small { font-size: .72rem; font-weight: 600; color: var(--rpk-muted); }
@media (max-width: 700px) { .rpk-ty__facts { grid-template-columns: minmax(0, 1fr); } .rpk-ty__facts > div { border-left: 0; border-top: 1px solid var(--rpk-line); padding: 14px 18px; } .rpk-ty__facts > div:first-child { border-top: 0; } }
.rpk-ty__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
@media (max-width: 820px) { .rpk-ty__grid { grid-template-columns: minmax(0, 1fr); } }
.rpk-ty__card { display: flex; flex-direction: column; }
.rpk-ty__card .rpk-lines__total { margin-top: auto; }
.rpk-ty__card .rpk-lines { margin-bottom: 14px; }
.rpk-lines li { align-items: center; justify-content: flex-start; gap: 14px; }
.rpk-lines__thumb { display: grid; place-items: center; flex: none; width: 52px; height: 52px; font-size: 1.5rem; background: var(--rpk-soft); border-radius: var(--rpk-radius); overflow: hidden; }
.rpk-lines__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rpk-lines__name { flex: 1; min-width: 0; }
.rpk-lines__amt { margin-left: auto; white-space: nowrap; }
.rpk-ty__msg { margin: 16px 0 0; padding: 14px 16px; font-size: .95rem; font-style: italic; color: var(--rpk-ink); background: var(--rpk-soft); border-left: 4px solid var(--rpk-accent); border-radius: 0 var(--rpk-radius) var(--rpk-radius) 0; }
.rpk-ty__msg span { display: block; margin-bottom: 4px; font-size: .7rem; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rpk-muted); }
.rpk-ty__next { max-width: none; margin: 24px 0 0; padding: 26px; text-align: left; background: #fff; border: 1px solid var(--rpk-line); border-radius: calc(var(--rpk-radius) + 6px); }
.rpk-ty__next h3 { margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rpk-muted); }
.rpk-ty__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.rpk-ty__steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.rpk-ty__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; font-weight: 800; color: #fff; background: var(--rpk-primary); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, var(--rpk-primary) 12%, transparent); }
.rpk-ty__steps strong { display: block; margin-bottom: 2px; color: var(--rpk-primary); }
.rpk-ty__steps p { margin: 0; font-size: .92rem; color: var(--rpk-muted); }
.rpk-ty__note { margin: 20px 0 0; padding-top: 16px; font-size: .92rem; color: var(--rpk-muted); border-top: 1px solid var(--rpk-line); }
.rpk-ty__actions { margin-top: 28px; }
.rpk-btn--quiet { background: transparent; color: var(--rpk-muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.rpk-btn--quiet:hover { color: var(--rpk-primary); }
@media print { .rpk-ty__hero::before { display: none; } }
.rpk-ty__next .rpk-ty__note { margin: 22px 0 0; padding-top: 16px; }
