/*
 * Page Banner, after the static design's .dl-banner (delivery.css) and
 * .rt-banner (returns.css): a gradient box hanging from the header, 1450px at
 * most, with a white breadcrumb pill, the heading and a short intro.
 */
.kawaii-page-banner {
	margin-block: 0;
}

.kawaii-page-banner__box {
	box-sizing: border-box;
	max-width: var(--wp--custom--width--header, 1450px);
	margin: 0 auto;
	padding: 50px 6% 56px;
	border-radius: 0 0 34px 34px;
	background: linear-gradient(120deg, #f4e8ff, #ffdce9 55%, #fff1cb);
	text-align: center;
}

.kawaii-page-banner__crumb {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	font-size: 11px;
	font-weight: 800;
	line-height: normal;
	color: var(--wp--custom--color--hero-eyebrow);
}

.kawaii-page-banner__crumb a {
	position: relative;
	color: inherit;
	text-decoration: none;
}

/*
 * The link text is 11px; an invisible frame round it makes a 44px tap
 * target (the smallest the theme allows) without growing the pill.
 */
.kawaii-page-banner__crumb a::after {
	content: "";
	position: absolute;
	inset: -16px -8px;
}

.kawaii-page-banner__crumb a:hover,
.kawaii-page-banner__crumb a:focus-visible {
	color: var(--wp--preset--color--accent-1);
}

.kawaii-page-banner__sep {
	display: inline-flex;
	font-size: 9px;
	opacity: 0.6;
}

.kawaii-page-banner__sep .kawaii-icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.kawaii-page-banner__eyebrow {
	margin: 18px 0 0;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: normal;
	color: var(--wp--custom--color--hero-eyebrow);
}

.kawaii-page-banner__title {
	margin: 18px auto 12px;
	font-size: clamp(34px, 4.8vw, 52px);
	line-height: 0.92;
	letter-spacing: normal;
}

.kawaii-page-banner__text {
	max-width: 480px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.65;
	color: var(--wp--custom--color--hero-text);
}

.kawaii-page-banner__buttons {
	justify-content: center;
	margin-top: 22px;
}

/* Stat pills (Wholesale, Careers): centred unless the style lines up left. */
.kawaii-page-banner__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.kawaii-page-banner__stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 6px 14px rgba(80, 50, 80, 0.1);
	font-size: 12px;
	font-weight: 800;
	color: var(--wp--preset--color--contrast);
}

.kawaii-page-banner__stat-icon {
	display: inline-flex;
	color: var(--wp--preset--color--accent-1);
	background: none;
}

.kawaii-page-banner__stat-icon .kawaii-icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Returns: the longer heading wraps inside 640px, as .rt-banner h1 does. */
.kawaii-page-banner.is-style-returns .kawaii-page-banner__title {
	max-width: 640px;
}

/*
 * Wholesale: wholesale.html's .ws-banner. Text on the left, the character art
 * on the right with two tilted tags; one column, centred, on tablets.
 */
.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__box {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 20px;
	overflow: hidden;
	padding: 50px 6%;
	text-align: left;
}

.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__title {
	margin: 18px 0 12px;
	font-size: clamp(34px, 4.6vw, 52px);
}

.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__text {
	max-width: 420px;
	margin: 0;
}

.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__buttons,
.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__stats {
	justify-content: flex-start;
}

/*
 * Careers: careers.html's .career-banner. Centred like Delivery, with a
 * larger heading (700px at most) and roomier stat pills under the intro.
 */
.kawaii-page-banner.is-style-careers .kawaii-page-banner__box {
	padding: 50px 6% 60px;
}

.kawaii-page-banner.is-style-careers .kawaii-page-banner__title {
	max-width: 700px;
	font-size: clamp(36px, 5vw, 56px);
}

.kawaii-page-banner.is-style-careers .kawaii-page-banner__stats {
	margin-top: 26px;
}

.kawaii-page-banner.is-style-careers .kawaii-page-banner__stat {
	padding: 9px 18px;
	font-size: 12.5px;
}

/* FAQ: faq.html's .faq-banner, a little shorter than Delivery's. */
.kawaii-page-banner.is-style-faq .kawaii-page-banner__box {
	padding: 46px 6% 40px;
}

.kawaii-page-banner.is-style-faq .kawaii-page-banner__title {
	margin: 18px auto 10px;
	font-size: clamp(34px, 4.5vw, 50px);
}

.kawaii-page-banner.is-style-faq .kawaii-page-banner__text,
.kawaii-page-banner.is-style-tracking .kawaii-page-banner__text {
	max-width: 460px;
	line-height: 1.6;
}

/*
 * Tracking: tracking.html's .ot-banner. Taller at the foot, where the Order
 * Tracking form card overlaps it.
 */
.kawaii-page-banner.is-style-tracking .kawaii-page-banner__box {
	padding: 50px 6% 70px;
}

.kawaii-page-banner.is-style-tracking .kawaii-page-banner__title {
	max-width: 640px;
}

/*
 * Legal: privacy.html's .legal-banner. A smaller heading, and the text is a
 * white "Last updated" pill rather than an intro.
 */
.kawaii-page-banner.is-style-legal .kawaii-page-banner__box {
	padding: 44px 6% 46px;
	/* The crumb and the pill are inline boxes: keep the page's 22px text
	   from adding a taller line round them, as the reference's 16px does. */
	font-size: 16px;
	line-height: normal;
}

.kawaii-page-banner.is-style-legal .kawaii-page-banner__title {
	/* More room above the "Last updated" pill than the reference's 8px. */
	margin: 18px auto 18px;
	font-size: clamp(32px, 4.4vw, 48px);
}

.kawaii-page-banner.is-style-legal .kawaii-page-banner__text {
	display: inline-block;
	max-width: none;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	font-size: 11.5px;
	font-weight: 800;
	line-height: normal;
	color: var(--wp--preset--color--accent-4);
}

.kawaii-page-banner__art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kawaii-page-banner__blob {
	position: absolute;
	width: 300px;
	max-width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, #fff, transparent 70%);
	opacity: 0.6;
}

.kawaii-page-banner__art img {
	position: relative;
	z-index: 2;
	width: 78%;
	height: auto;
	max-height: 320px;
	object-fit: contain;
	filter: drop-shadow(0 18px 18px #8c6d8c22);
}

.kawaii-page-banner__tag {
	position: absolute;
	z-index: 3;
	padding: 10px 14px;
	border-radius: 16px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 10px 22px rgba(80, 50, 80, 0.14);
	font-size: 12px;
	font-weight: 800;
}

.kawaii-page-banner__tag.is-first {
	top: 6%;
	left: 4%;
	transform: rotate(-6deg);
	color: #b53a68;
}

.kawaii-page-banner__tag.is-second {
	right: 2%;
	bottom: 10%;
	transform: rotate(5deg);
	color: #1f7a5c;
}

@media (max-width: 1050px) {
	.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__box {
		grid-template-columns: minmax(0, 1fr);
		padding: 50px 6% 40px;
		text-align: center;
	}

	.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__text {
		margin-inline: auto;
	}

	.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__buttons,
	.kawaii-page-banner.is-style-wholesale .kawaii-page-banner__stats {
		justify-content: center;
	}

	.kawaii-page-banner__art {
		margin-top: 10px;
	}
}

@media (max-width: 650px) {
	.kawaii-page-banner__art img {
		width: 60%;
	}

	.kawaii-page-banner.is-style-careers .kawaii-page-banner__box {
		padding: 40px 6% 50px;
	}

	.kawaii-page-banner__box {
		padding: 40px 6% 46px;
		border-radius: 0 0 24px 24px;
	}

	.kawaii-page-banner.is-style-faq .kawaii-page-banner__box {
		padding: 36px 6% 34px;
	}

	.kawaii-page-banner.is-style-tracking .kawaii-page-banner__box {
		padding: 40px 6% 60px;
	}

	.kawaii-page-banner.is-style-legal .kawaii-page-banner__box {
		padding: 36px 6% 34px;
	}
}
