/**
 * EWL Pet Club — Top up Treats.
 *
 * Built to the client's "Top Up Treats" mockup (23 Sep 2026): the full-width
 * beach hero with the club badge, three reasons and the dog, cat and sign,
 * six pastel pack cards with their piles of Treats and bone-shaped buttons,
 * the trust strip, the rewards band and the closing line. Unlike Earn and
 * Rewards the page runs wide, as the mockup does: the hero is full-bleed and
 * everything else sits in a 1400px column rather than the club's 1180px one.
 *
 * Loaded on the Top-Up screen only, after ewl-member-m2.css.
 */

/* ----------------------------------------------------------- the frame */

.ewl-view-top-up .ewl-club {
	--ewl-tu-wrap: 1400px;
	--ewl-tu-gutter: 20px;

	/* The club keeps 90px clear under its content; here the closing line
	   ends the page, so the theme's footer follows straight on. */
	padding-bottom: 0;
}

.ewl-view-top-up .ewl-club__body {
	max-width: none;
	padding: 0;
}

.ewl-view-top-up .ewl-club .ewl-club__body > * {
	width: min(100% - 2 * var(--ewl-tu-gutter), var(--ewl-tu-wrap));
	margin-right: auto;
	margin-left: auto;
}

.ewl-view-top-up .ewl-club .ewl-club__body > .ewl-tuhero {
	width: auto;
	margin: 0;
}

/* A notice carried across a redirect sits above the hero. */
.ewl-view-top-up .ewl-club .ewl-club__body > .ewl-note:first-child {
	margin-top: 18px;
}

/* The bar lines up with the column below it. */
.ewl-view-top-up .ewl-nav__inner {
	max-width: calc(var(--ewl-tu-wrap) + 2 * var(--ewl-tu-gutter));
	padding-right: var(--ewl-tu-gutter);
	padding-left: var(--ewl-tu-gutter);
}

/* ------------------------------------------------------------------ hero */

/*
 * The blurred beach runs edge to edge. Inside the column: the badge with the
 * script line and its heart under it, the title and intro beside the badge,
 * the three reasons along the bottom, and the dog, cat and sign standing on
 * the bottom edge at the right. The pets are positioned rather than placed in
 * the grid, so the picture never stretches the rows it sits beside; the
 * hero's min-height keeps room for it at full size.
 *
 * The client's beach has a band of dark green hills right where the intro
 * falls; in ewl-topup-beach-haze.webp those hills are lifted into a pale
 * haze (as on the mockup) so the dark copy reads over them at any width.
 */
.ewl-club .ewl-tuhero {
	position: relative;
	overflow: hidden;
	background: #d7eef2 var(--ewl-tuhero-bg) 50% 58% / cover no-repeat;
}

/*
 * Sized for the 1400px column and scaled down with the window below that,
 * so the proportions hold: the pets' width, the script line's column (a) and
 * the rest of the badge's (b); the badge spans both.
 */
.ewl-tuhero__inner {
	--ewl-tuhero-pets: min(42.4vw, 610px);
	--ewl-tuhero-a: min(9.44vw, 136px);
	--ewl-tuhero-b: min(10.4vw, 150px);
	position: relative;
	display: grid;
	grid-template-columns: var(--ewl-tuhero-a) var(--ewl-tuhero-b) minmax(0, 1fr);
	grid-template-areas:
		"logo   logo  copy"
		"script perks perks";
	align-content: center;
	align-items: center;
	gap: 16px 20px;
	width: min(100% - 2 * var(--ewl-tu-gutter), var(--ewl-tu-wrap));
	min-height: calc(var(--ewl-tuhero-pets) * 0.616 + 30px);
	margin: 0 auto;
	padding: 22px calc(var(--ewl-tuhero-pets) + 16px) 16px 0;
}

.ewl-club .ewl-tuhero__logo {
	grid-area: logo;
	justify-self: start;
	width: 100%;
	max-width: 320px;
	height: auto;
	filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.22));
}

.ewl-tuhero__copy {
	grid-area: copy;
	align-self: center;
}

.ewl-club .ewl-tuhero__title {
	margin: 0 0 14px;
	color: var(--ewl-ink-deep);
	font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
	font-size: min(3.61vw, 52px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -1.4px;
	text-transform: none;
	text-wrap: balance;
}

.ewl-club .ewl-tuhero__intro {
	max-width: 440px;
	margin: 0;
	color: #0a2238;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
}

/* One word to a line, as on the mockup, whatever the language: the box is
   only as wide as its longest word. The heart hangs under the last one. */
.ewl-club .ewl-tuhero__script {
	grid-area: script;
	justify-self: center;
	width: min-content;
	margin: 0;
	color: var(--ewl-ink-deep);
	font-family: "Caveat", "Chewy", cursive;
	font-size: min(2.5vw, 36px);
	font-weight: 700;
	line-height: 0.92;
	text-align: center;
	transform: rotate(-9deg);
}

.ewl-tuhero__heart {
	display: block;
	width: fit-content;
	margin: 2px 0 0 auto;
	color: var(--ewl-coral);
	line-height: 0;
	transform: rotate(10deg);
}

.ewl-club .ewl-tuhero__perks {
	display: flex;
	grid-area: perks;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ewl-tuhero__perks li {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0;
}

/* The middle line is the one the mockup sets on two lines, not three. */
.ewl-tuhero__perks li:nth-child(2) {
	flex-grow: 1.25;
}

.ewl-tuhero__perks b {
	color: var(--ewl-ink-deep);
	font-size: clamp(14px, 1.11vw, 16px);
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

.ewl-tuhero__perkicon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: min(5vw, 72px);
	height: min(5vw, 72px);
	border: 3px solid #fff;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.ewl-tuhero__perkicon .ewl-i {
	width: min(2.78vw, 40px);
	height: min(2.78vw, 40px);
}

.ewl-tuhero__perkicon--teal {
	background: radial-gradient(circle at 35% 30%, #2aa3b8, var(--ewl-sea-deep));
}

.ewl-tuhero__perkicon--coral {
	background: radial-gradient(circle at 35% 30%, #ff7a68, #e0423a);
}

.ewl-tuhero__perkicon--gold {
	background: radial-gradient(circle at 35% 30%, #f5c052, #d69417);
}

.ewl-club .ewl-tuhero__pets {
	position: absolute;
	right: 0;
	bottom: 0;
	width: auto;
	max-width: none;
	height: calc(var(--ewl-tuhero-pets) * 0.616);
	pointer-events: none;
}

/* ------------------------------------------------------------- notices */

.ewl-club .ewl-tutest {
	margin-top: 22px;
	background: #fff6dc;
	color: #7a5a06;
}

.ewl-club .ewl-tunote {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 22px;
	margin-bottom: 0;
	padding: 18px 20px;
	border: 1.5px solid var(--ewl-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--ewl-shadow);
}

.ewl-club .ewl-tunote h2 {
	margin: 0 0 4px;
	color: var(--ewl-ink-deep);
	font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	text-transform: none;
}

.ewl-club .ewl-tunote p {
	margin: 0 0 6px;
	color: var(--ewl-slate);
}

.ewl-tunote__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--ewl-sea);
}

.ewl-tunote--ok {
	border-color: #bfe0b3;
	background: linear-gradient(100deg, #f1faee, #fff 70%);
}

.ewl-tunote--ok .ewl-tunote__icon {
	color: var(--ewl-treat);
}

.ewl-tunote--wait .ewl-tunote__icon {
	color: var(--ewl-gold);
}

.ewl-tunote--bad {
	border-color: #f4c5b4;
}

.ewl-tunote--bad .ewl-tunote__icon {
	color: var(--ewl-coral);
}

.ewl-club .ewl-tunote__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
}

/* -------------------------------------------------------- section head */

.ewl-club .ewl-tuhead {
	margin-top: 38px;
	margin-bottom: 24px;
	text-align: center;
}

.ewl-club .ewl-tuhead__title {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	color: var(--ewl-ink-deep);
	font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
	font-size: 46px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.9px;
	text-transform: none;
}

.ewl-tuhead__paw {
	display: inline-flex;
	color: var(--ewl-gold);
	transform: rotate(-16deg);
}

.ewl-tuhead__paw--r {
	transform: rotate(16deg);
}

.ewl-club .ewl-tuhead__sub {
	margin: 10px auto 0;
	color: var(--ewl-slate);
	font-size: 18px;
}

.ewl-club .ewl-tuhead__balance {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--ewl-ink-deep);
	color: #fff;
	font-size: 15px;
}

.ewl-tuhead__balance .ewl-i {
	color: var(--ewl-treat);
}

.ewl-tuhead__balance b {
	color: var(--ewl-treat);
	font-size: 17px;
}

.ewl-club .ewl-tuhead__need {
	margin: 10px 0 0;
	color: var(--ewl-ink);
	font-size: 15px;
	font-weight: 600;
}

/* ---------------------------------------------------------------- packs */

.ewl-club .ewl-packs {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: stretch;
	gap: 18px;
	margin-top: 0;
	margin-bottom: 14px;
	padding-top: 26px;
}

.ewl-pack {
	--ewl-tint: #fbf1e3;
	--ewl-tint-edge: #efdcc3;
	--ewl-bone: #17798d;
	--ewl-bone-deep: #0f6273;
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 22px 0 0;
	border: 1.5px solid var(--ewl-tint-edge);
	border-radius: 18px;
	background: linear-gradient(180deg, var(--ewl-tint) 0%, var(--ewl-tint) 55%, #fff 100%);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
	text-align: center;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ewl-pack:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.ewl-pack--cream {
	--ewl-tint: #fbf1e3;
	--ewl-tint-edge: #efdcc3;
}

.ewl-pack--sky {
	--ewl-tint: #e5f2fb;
	--ewl-tint-edge: #c9e1f2;
}

.ewl-pack--rose {
	--ewl-tint: #fde8ee;
	--ewl-tint-edge: #f6c9d6;
}

.ewl-pack--mint {
	--ewl-tint: #e6f5ea;
	--ewl-tint-edge: #c7e6cf;
}

.ewl-pack--lemon {
	--ewl-tint: #fdf4d9;
	--ewl-tint-edge: #f1e0a9;
}

.ewl-pack--lavender {
	--ewl-tint: #efeafb;
	--ewl-tint-edge: #d9cff4;
}

/* Most popular: the red frame, the red button and the crowned tab. */
.ewl-pack.is-popular {
	--ewl-bone: #e8335a;
	--ewl-bone-deep: #c81e45;
	border: 2px solid #e8335a;
	box-shadow: 0 10px 26px rgba(232, 51, 90, 0.18);
}

.ewl-club .ewl-pack__ribbon {
	position: absolute;
	top: -26px;
	right: -2px;
	left: -2px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 34px;
	border-radius: 14px 14px 0 0;
	background: #e8335a;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.ewl-pack__ribbon .ewl-i {
	width: 21px;
	height: 21px;
	color: #ffd34d;
}

/* Best value: the red disc that hangs off the top right corner. */
.ewl-club .ewl-pack__badge {
	position: absolute;
	top: 34px;
	right: -12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ff4f6d, #d61f43);
	color: #fff;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	box-shadow: 0 6px 14px rgba(214, 31, 67, 0.3);
	transform: rotate(8deg);
}

/* Arrived from a reward the member is short for: the pack that covers it. */
.ewl-pack.is-suggested {
	box-shadow: 0 0 0 4px #ffd34d, 0 12px 26px rgba(15, 23, 42, 0.12);
}

.ewl-club .ewl-pack__treats {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: var(--ewl-ink-deep);
	font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
	line-height: 1.05;
	text-transform: none;
}

.ewl-pack__treats b {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.6px;
}

.ewl-pack__treats span {
	font-size: 25px;
	font-weight: 700;
}

.ewl-club .ewl-pack__pile {
	display: block;
	width: auto;
	max-width: 86%;
	height: 104px;
	margin: 14px auto;
	object-fit: contain;
	filter: drop-shadow(0 7px 7px rgba(120, 70, 20, 0.16));
}

/* Bigger packs, bigger piles, as on the mockup. */
.ewl-club .ewl-pack__pile--1,
.ewl-club .ewl-pack__pile--2 {
	height: 90px;
}

.ewl-club .ewl-pack__pile--6 {
	height: 116px;
}

.ewl-pack__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	margin: 0 10px 12px;
	padding: 14px 10px 8px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.ewl-club .ewl-pack__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 5px;
	margin: 0 0 10px;
	color: var(--ewl-ink-deep);
}

.ewl-pack__price b {
	font-size: 31px;
	font-weight: 800;
	letter-spacing: -0.5px;
}

.ewl-pack__price span {
	font-size: 16px;
	font-weight: 700;
}

.ewl-club .ewl-pack__name {
	margin: 0 0 4px;
	color: var(--ewl-ink-deep);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.ewl-club .ewl-pack__blurb {
	flex: 1 1 auto;
	margin: 0;
	color: var(--ewl-slate);
	font-size: 15px;
	line-height: 1.4;
}

/* The bone: a rounded bar with a pair of knuckles at each end, drawn as two
   radial gradients per end so the button needs no image. */
#ewl-club .ewl-pack__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 34px);
	height: 46px;
	margin: 18px auto 10px;
	padding: 0 6px;
	border: 0;
	border-radius: 7px;
	background: var(--ewl-bone);
	color: #fff;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
}

#ewl-club .ewl-pack__btn::before,
#ewl-club .ewl-pack__btn::after {
	content: "";
	position: absolute;
	top: -8px;
	bottom: -8px;
	width: 32px;
	background:
		radial-gradient(circle at 50% 15px, var(--ewl-bone) 14.5px, transparent 15.5px),
		radial-gradient(circle at 50% calc(100% - 15px), var(--ewl-bone) 14.5px, transparent 15.5px);
	pointer-events: none;
}

#ewl-club .ewl-pack__btn::before {
	left: -16px;
}

#ewl-club .ewl-pack__btn::after {
	right: -16px;
}

#ewl-club .ewl-pack__btn span {
	position: relative;
	z-index: 1;
	white-space: nowrap;
}

#ewl-club .ewl-pack__btn:hover {
	filter: brightness(1.08);
}

#ewl-club .ewl-pack__btn:active {
	transform: translateY(1px);
}

#ewl-club .ewl-pack__btn:focus-visible {
	outline: 3px solid #ffd34d;
	outline-offset: 10px;
}

#ewl-club .ewl-pack__btn.is-busy {
	cursor: progress;
	filter: saturate(0.6) brightness(1.05);
}

.ewl-club .ewl-tusmall {
	max-width: 820px;
	margin-top: 12px;
	margin-bottom: 30px;
	color: var(--ewl-muted);
	font-size: 13.5px;
	line-height: 1.5;
	text-align: center;
}

.ewl-club .ewl-tusoon {
	margin-bottom: 30px;
}

/* ---------------------------------------------------------------- trust */

.ewl-club .ewl-tutrust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 0;
	margin-bottom: 30px;
	padding: 24px 32px;
	border-radius: 18px;
	background: #edf3f8;
	list-style: none;
}

.ewl-tutrust li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0;
}

.ewl-tutrust__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--ewl-sea-deep);
}

.ewl-tutrust li > span:last-child {
	display: flex;
	flex-direction: column;
	color: var(--ewl-slate);
	font-size: 15px;
	line-height: 1.4;
}

.ewl-tutrust b {
	color: var(--ewl-ink-deep);
	font-size: 17px;
}

/* ------------------------------------------------------------ the band */

.ewl-club .ewl-tuband {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	overflow: hidden;
	margin-top: 0;
	margin-bottom: 34px;
	border-radius: 20px;
	background: var(--ewl-cream);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* The client's picture carries its own "Turn Treats into amazing getaways",
   so it is shown whole, and its right edge melts into the cream. */
.ewl-tuband__photo {
	position: relative;
	aspect-ratio: 1424 / 748;
}

.ewl-club .ewl-tuband__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 0 50%;
}

.ewl-tuband__photo::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 8%;
	background: linear-gradient(90deg, rgba(253, 246, 234, 0), var(--ewl-cream));
}

.ewl-tuband__copy {
	position: relative;
	align-self: center;
	padding: 40px 40px 84px 44px;
}

.ewl-club .ewl-tuband__title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 50px 16px 0;
	color: var(--ewl-ink-deep);
	font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
	font-size: min(2.25vw, 32px);
	font-weight: 800;
	line-height: 1.15;
	text-transform: none;
	text-wrap: balance;
}

.ewl-tuband__gift {
	display: inline-flex;
	flex: 0 0 auto;
	color: #e0423a;
}

/* The gold paw the mockup sets off the top right of the panel. */
.ewl-tuband__paw {
	position: absolute;
	top: 26px;
	right: 30px;
	display: inline-flex;
	color: var(--ewl-gold);
	transform: rotate(18deg);
}

/* A size up from the club's small gloss button, to sit with the rest. */
.ewl-club .ewl-tuband .ewl-btn--gloss {
	gap: 10px;
	min-height: 50px;
	padding: 12px 26px;
	font-size: 14.5px;
}

.ewl-club .ewl-tuband__copy p {
	max-width: 500px;
	margin: 0 0 20px;
	color: var(--ewl-slate);
	font-size: 17px;
	line-height: 1.55;
}

.ewl-club .ewl-tuband__script2 {
	position: absolute;
	right: 34px;
	bottom: 26px;
	margin: 0 !important;
	color: var(--ewl-ink-deep) !important;
	font-family: "Caveat", "Chewy", cursive;
	font-size: 34px !important;
	font-weight: 700;
	line-height: 0.95 !important;
	text-align: right;
	transform: rotate(-6deg);
}

.ewl-tuband__script2 .ewl-i {
	color: var(--ewl-coral);
	vertical-align: -3px;
}

/* ---------------------------------------------------------- closing line */

.ewl-club .ewl-tuclose {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 0;
	margin-bottom: 34px;
	color: var(--ewl-ink-deep);
	font-family: "Caveat", "Chewy", cursive;
	font-size: 40px;
	font-weight: 700;
}

.ewl-tuclose::before,
.ewl-tuclose::after {
	content: "";
	flex: 0 1 120px;
	height: 2px;
	background: var(--ewl-ink);
	opacity: 0.6;
}

.ewl-tuclose__paw {
	display: inline-flex;
	color: var(--ewl-sea);
}

/* ------------------------------------------------------ narrower desktop */

/* Too narrow for each reason's words beside its icon: they go underneath,
   and the icons stay in line when one label runs to more lines. */
@media (max-width: 1240px) {
	.ewl-club .ewl-tuhero__perks {
		align-items: flex-start;
	}

	.ewl-tuhero__perks li {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.ewl-club .ewl-tuhero__intro {
		font-size: 16px;
	}
}

/* -------------------------------------------------------------- tablet */

@media (max-width: 1180px) {
	.ewl-club .ewl-tuhero__intro {
		font-size: 15px;
	}

	.ewl-club .ewl-packs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 40px;
	}

	.ewl-club .ewl-tuband {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ewl-tuband__copy {
		padding: 30px 30px 80px;
	}

	.ewl-club .ewl-tuband__title {
		font-size: min(2.4vw, 28px);
	}
}

/*
 * Below this the hero stacks: badge and script line side by side, then the
 * title, the reasons, and the pets standing along the bottom.
 */
@media (max-width: 900px) {
	.ewl-tuhero__inner {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"logo  script"
			"copy  copy"
			"perks perks"
			"pets  pets";
		gap: 16px 18px;
		min-height: 0;
		padding: 22px 0 0;
	}

	.ewl-club .ewl-tuhero__logo {
		width: 230px;
	}

	.ewl-club .ewl-tuhero__script {
		justify-self: start;
		font-size: 34px;
	}

	.ewl-club .ewl-tuhero__title {
		font-size: 40px;
	}

	.ewl-club .ewl-tuhero__intro {
		max-width: 560px;
		font-size: 16px;
	}

	.ewl-tuhero__perkicon {
		width: 66px;
		height: 66px;
	}

	.ewl-tuhero__perkicon .ewl-i {
		width: 34px;
		height: 34px;
	}

	.ewl-club .ewl-tuhero__pets {
		position: static;
		grid-area: pets;
		justify-self: center;
		width: min(100%, 620px);
		height: auto;
		margin-top: 4px;
	}

	.ewl-club .ewl-tuhead__title {
		gap: 12px;
		font-size: 36px;
	}

	.ewl-tuhead__paw .ewl-i {
		width: 38px;
		height: 38px;
	}

	.ewl-club .ewl-tutrust {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 20px 22px;
	}

	.ewl-tutrust li {
		justify-content: flex-start;
	}

	.ewl-tutrust__icon .ewl-i {
		width: 42px;
		height: 42px;
	}

	.ewl-club .ewl-tuband {
		grid-template-columns: minmax(0, 1fr);
	}

	.ewl-tuband__photo::after {
		display: none;
	}

	.ewl-tuband__copy {
		padding: 26px 24px 84px;
	}

	.ewl-club .ewl-tuband__title {
		font-size: 28px;
	}
}

/* Members get the tab bar along the bottom below 1025px; keep clear of it. */
@media (max-width: 1024px) {
	.ewl-view-top-up .ewl-club:has(.ewl-tabbar) {
		padding-bottom: 78px;
	}
}

/* --------------------------------------------------------------- phone */

@media (max-width: 640px) {
	.ewl-view-top-up .ewl-club {
		--ewl-tu-gutter: 14px;
	}

	.ewl-tuhero__inner {
		gap: 12px 12px;
		padding-top: 16px;
	}

	.ewl-club .ewl-tuhero__logo {
		width: 170px;
	}

	.ewl-club .ewl-tuhero__script {
		font-size: 29px;
	}

	.ewl-tuhero__heart .ewl-i {
		width: 26px;
		height: 26px;
	}

	.ewl-club .ewl-tuhero__title {
		margin-bottom: 10px;
		font-size: 33px;
		letter-spacing: -0.9px;
	}

	.ewl-club .ewl-tuhero__intro {
		font-size: 15.5px;
	}

	.ewl-club .ewl-tuhero__perks {
		gap: 8px;
	}

	.ewl-tuhero__perks b {
		font-size: 13px;
	}

	.ewl-tuhero__perkicon {
		width: 56px;
		height: 56px;
	}

	.ewl-tuhero__perkicon .ewl-i {
		width: 28px;
		height: 28px;
	}

	.ewl-club .ewl-tuhead {
		margin-top: 28px;
	}

	.ewl-club .ewl-tuhead__title {
		gap: 8px;
		font-size: 27px;
	}

	.ewl-tuhead__paw .ewl-i {
		width: 28px;
		height: 28px;
	}

	.ewl-club .ewl-tuhead__sub {
		font-size: 15.5px;
	}

	.ewl-club .ewl-packs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 10px;
	}

	.ewl-pack__treats b {
		font-size: 27px;
	}

	.ewl-pack__treats span {
		font-size: 19px;
	}

	.ewl-club .ewl-pack__pile,
	.ewl-club .ewl-pack__pile--1,
	.ewl-club .ewl-pack__pile--2,
	.ewl-club .ewl-pack__pile--6 {
		height: 72px;
	}

	.ewl-pack__body {
		margin: 0 8px 10px;
		padding: 12px 6px 6px;
	}

	.ewl-pack__price b {
		font-size: 23px;
	}

	.ewl-pack__price span {
		font-size: 13px;
	}

	.ewl-club .ewl-pack__name {
		font-size: 15px;
	}

	.ewl-club .ewl-pack__blurb {
		font-size: 13px;
	}

	#ewl-club .ewl-pack__btn {
		height: 40px;
		font-size: 14px;
	}

	#ewl-club .ewl-pack__btn::before,
	#ewl-club .ewl-pack__btn::after {
		top: -7px;
		bottom: -7px;
		width: 28px;
		background:
			radial-gradient(circle at 50% 13px, var(--ewl-bone) 12.5px, transparent 13.5px),
			radial-gradient(circle at 50% calc(100% - 13px), var(--ewl-bone) 12.5px, transparent 13.5px);
	}

	#ewl-club .ewl-pack__btn::before {
		left: -14px;
	}

	#ewl-club .ewl-pack__btn::after {
		right: -14px;
	}

	.ewl-club .ewl-pack__ribbon {
		top: -22px;
		height: 30px;
		font-size: 12.5px;
	}

	.ewl-club .ewl-pack__badge {
		top: 28px;
		right: -6px;
		width: 56px;
		height: 56px;
		font-size: 10.5px;
	}

	.ewl-club .ewl-tuband__title {
		gap: 10px;
		margin-right: 50px;
		font-size: 24px;
	}

	.ewl-tuband__gift .ewl-i {
		width: 34px;
		height: 34px;
	}

	.ewl-tuband__paw {
		top: 22px;
		right: 20px;
	}

	.ewl-tuband__paw .ewl-i {
		width: 40px;
		height: 40px;
	}

	.ewl-club .ewl-tuband__copy p {
		font-size: 15.5px;
	}

	/* No room for the rules either side; if the line still has to break, it
	   breaks between its two halves rather than inside them. */
	.ewl-club .ewl-tuclose {
		flex-wrap: wrap;
		gap: 0 8px;
		font-size: 25px;
	}

	.ewl-tuclose > span {
		white-space: nowrap;
	}

	.ewl-tuclose__paw .ewl-i {
		width: 30px;
		height: 30px;
	}

	.ewl-tuclose::before,
	.ewl-tuclose::after {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ewl-pack,
	#ewl-club .ewl-pack__btn {
		transition: none;
	}

	.ewl-pack:hover {
		transform: none;
	}
}
