/**
 * Homepage (patterns/home-*.php) and /stickers/ (patterns/stickers-landing.php).
 * Product shots are 3D renders with transparent backgrounds, set on a
 * soft "studio" backdrop (.yp-bs-studio light, .yp-bs-dstudio dark).
 */

.yp-bs {
	--yp-bs-ink: var(--wp--preset--color--near-black, #141414);
	--yp-bs-ink2: var(--wp--preset--color--charcoal, #3a3a3c);
	--yp-bs-muted: #77757d;
	--yp-bs-line: var(--wp--preset--color--light-gray, #e7e5e1);
	--yp-bs-paper: var(--wp--preset--color--warm-white, #faf9f6);
	--yp-bs-mag: var(--wp--preset--color--magenta, #ec008c);
	--yp-bs-mag2: var(--wp--preset--color--magenta-deep, #c2007a);
	--yp-bs-cyan: var(--wp--preset--color--cyan, #00aeef);
	--yp-bs-cyan2: var(--wp--preset--color--cyan-deep, #0078a4);
	--yp-bs-dark: #17151c;
	--yp-bs-dcard: #211f28;
	--yp-bs-dline: #2e2b36;
	/* Bleed full width past main's own side padding (global.css "Root template spacing"). */
	margin-inline: calc(-1 * var(--wp--preset--spacing--sm));
	color: var(--yp-bs-ink);
}

@media (min-width: 782px) {
	.yp-bs {
		margin-inline: calc(-1 * var(--wp--preset--spacing--md));
	}
}

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

/* :where() keeps these resets at zero class weight so component rules win. */
:where(.yp-bs) img {
	display: block;
	max-width: 100%;
	height: auto;
}

:where(.yp-bs) a {
	text-decoration: none;
	color: inherit;
}

.yp-bs h1,
.yp-bs h2,
.yp-bs h3 {
	font-family: var(--wp--preset--font-family--heading, system-ui, sans-serif);
	letter-spacing: -0.02em;
	margin: 0;
}

.yp-bs-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.yp-bs-section {
	padding: 72px 0;
}

.yp-bs-section--tight {
	padding-top: 24px;
}

.yp-bs-section--white {
	background: #fff;
	border-top: 1px solid var(--yp-bs-line);
	border-bottom: 1px solid var(--yp-bs-line);
}

.yp-bs-eyebrow {
	font: 700 13px/1.3 var(--wp--preset--font-family--heading, system-ui, sans-serif);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--yp-bs-mag2);
	margin: 0;
}

.yp-bs-eyebrow--cyan {
	color: var(--yp-bs-cyan);
}

.yp-bs-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 36px;
}

.yp-bs-head h2 {
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.12;
	margin: 10px 0;
}

.yp-bs-head p:not(.yp-bs-eyebrow) {
	color: var(--yp-bs-ink2);
	font-size: 18px;
	margin: 0;
}

.yp-bs-studio {
	background: radial-gradient(70% 70% at 50% 38%, #fbf9f5, #e9e3d8 75%);
}

.yp-bs-dstudio {
	background: radial-gradient(70% 70% at 50% 40%, #34313d, #1b1920 80%);
}

/* Buttons */
.yp-bs-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.yp-bs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 12px;
	padding: 14px 24px;
	font: 600 17px/1.2 var(--wp--preset--font-family--heading, system-ui, sans-serif);
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yp-bs-btn--mag {
	background: linear-gradient(135deg, var(--yp-bs-mag2), #8e2a8f 70%, #4a4fa8);
	color: #fff !important;
	box-shadow: 0 8px 24px -8px rgba(236, 0, 140, 0.55);
}

.yp-bs-btn--mag:hover {
	transform: translateY(-1px);
}

.yp-bs-btn--ghost-light {
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	color: #fff !important;
}

.yp-bs-btn--ghost-light:hover {
	border-color: #fff;
}

.yp-bs-btn--sm {
	padding: 9px 16px;
	font-size: 15px;
	border-radius: 10px;
}

.yp-bs-link {
	color: var(--yp-bs-mag2);
	font-weight: 600;
	font-size: 15px;
}

.yp-bs-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 18px 0 26px;
	padding: 0;
	font-size: 14.5px;
	color: var(--yp-bs-ink2);
}

.yp-bs-ticks li::before {
	content: "✓";
	color: var(--yp-bs-mag);
	font-weight: 800;
	margin-right: 6px;
}

.yp-bs-ticks--dark {
	color: #c9c7cf;
	margin: 26px 0 0;
}

.yp-bs-ticks--dark li::before {
	color: var(--yp-bs-cyan);
}

.yp-bs-card {
	display: block;
	background: #fff;
	border: 1px solid var(--yp-bs-line);
	border-radius: 20px;
	overflow: hidden;
}

a.yp-bs-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.yp-bs-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.35);
}

/* ---------- Dark hero ---------- */
.yp-bs-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--yp-bs-dark);
	color: #fff;
}

.yp-bs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(40% 60% at 75% 50%, rgba(236, 0, 140, 0.22), transparent 70%),
		radial-gradient(30% 50% at 60% 10%, rgba(0, 174, 239, 0.2), transparent 70%);
}

.yp-bs-hero--home::before {
	background:
		radial-gradient(40% 60% at 10% 0%, rgba(0, 174, 239, 0.22), transparent 70%),
		radial-gradient(40% 60% at 90% 10%, rgba(236, 0, 140, 0.22), transparent 70%);
}

.yp-bs-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 24px;
	align-items: center;
	min-height: 600px;
}

.yp-bs-hero__title {
	font-size: clamp(40px, 5.2vw, 62px);
	line-height: 1.02;
	margin: 16px 0 18px !important;
	color: #fff;
}

.yp-bs-hero__title em {
	font-style: normal;
	background: linear-gradient(90deg, #00aeef, #ec008c 60%, #ffe600);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.yp-bs-hero__title--center {
	font-size: clamp(36px, 4.6vw, 60px);
}

.yp-bs-hero__lede {
	color: #c9c7cf;
	font-size: 19px;
	max-width: 520px;
	margin: 0 0 28px;
}

.yp-bs-head--hero {
	max-width: 900px;
	margin-bottom: 38px;
}

.yp-bs-head--hero p.yp-bs-hero__lede {
	color: #c9c7cf;
	margin: 0 auto;
	max-width: 640px;
}

.yp-bs-hero--home {
	padding: 64px 0;
}

.yp-bs-hero__visual img {
	width: 115%;
	max-width: none;
	margin-left: -4%;
}

/* ---------- Sticker uses ---------- */
.yp-bs-uses {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.yp-bs-use__vis {
	height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 14px;
}

.yp-bs-use__img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

.yp-bs-use__img--laptop,
.yp-bs-use__img--box {
	width: 100%;
	height: auto;
}

.yp-bs-stack {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.yp-bs-stack__back {
	width: 96%;
}

.yp-bs-stack__front {
	position: absolute;
	height: 70%;
	width: auto;
	left: 4%;
	bottom: 0;
}

.yp-bs-use__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px 20px;
}

.yp-bs-use__title {
	font: 700 21px/1.2 var(--wp--preset--font-family--heading, system-ui, sans-serif);
	letter-spacing: -0.02em;
}

.yp-bs-use__line {
	color: var(--yp-bs-ink2);
	font-size: 15px;
}

.yp-bs-use__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 8px 0 6px;
}

.yp-bs-use__spec {
	font-size: 13px;
	color: var(--yp-bs-muted);
}

.yp-bs-use__price {
	font: 700 15px var(--wp--preset--font-family--heading, system-ui, sans-serif);
	white-space: nowrap;
}

/* ---------- Materials ---------- */
.yp-bs-mats {
	display: grid;
	grid-template-columns: repeat(var(--yp-bs-cols, 5), 1fr);
	gap: 16px;
}

.yp-bs-mat {
	text-align: center;
	padding: 22px 12px 18px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--yp-bs-line);
}

.yp-bs-mat__shot {
	height: 190px;
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.yp-bs-mat__shot img {
	height: 100%;
	width: auto;
}

.yp-bs-mat strong {
	font: 700 16px var(--wp--preset--font-family--heading, system-ui, sans-serif);
	display: block;
}

.yp-bs-mat small {
	color: var(--yp-bs-muted);
	font-size: 13px;
	display: block;
	margin-top: 2px;
}

.yp-bs-mat--dark {
	background: linear-gradient(160deg, #2b2f3a, #14161c);
	border-color: #14161c;
	color: #fff;
}

.yp-bs-mat--dark small {
	color: #aab;
}

.yp-bs-mat--amber {
	background: linear-gradient(160deg, #c98b42, #6a3e15);
	border-color: #6a3e15;
	color: #fff;
}

.yp-bs-mat--amber small {
	color: #f3dcc0;
}

/* ---------- Pricing ---------- */
.yp-bs-prices {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.yp-bs-price {
	padding: 26px;
}

.yp-bs-price h3 {
	font-size: 20px;
	margin-bottom: 14px;
}

.yp-bs-price ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yp-bs-price li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--yp-bs-line);
	font-size: 15px;
}

.yp-bs-price li:last-child {
	border: 0;
}

.yp-bs-price b {
	font-family: var(--wp--preset--font-family--heading, system-ui, sans-serif);
	white-space: nowrap;
}

/* ---------- Closing band ---------- */
.yp-bs-band {
	background:
		radial-gradient(60% 120% at 0% 0%, rgba(0, 174, 239, 0.25), transparent 60%),
		radial-gradient(60% 120% at 100% 100%, rgba(236, 0, 140, 0.25), transparent 60%),
		#141414;
	color: #fff;
	border-radius: 28px;
	padding: 56px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 32px;
	align-items: center;
	overflow: hidden;
}

.yp-bs-band h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	color: #fff;
}

.yp-bs-band p {
	color: #c9c7cf;
	font-size: 18px;
	margin: 12px 0 24px;
}

.yp-bs-band__art {
	border-radius: 20px;
	height: 300px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.yp-bs-band__art > img {
	width: 100%;
}

/* ---------- Homepage: service cards ---------- */
.yp-bs-doors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.yp-bs-door {
	display: flex;
	flex-direction: column;
	background: var(--yp-bs-dcard);
	border: 1px solid var(--yp-bs-dline);
	border-radius: 20px;
	overflow: hidden;
	color: #fff;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.yp-bs-door:hover {
	transform: translateY(-2px);
	border-color: #4a4655;
}

.yp-bs-door__vis {
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 16px;
}

.yp-bs-door__img {
	width: 100%;
}

.yp-bs-door__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.yp-bs-door__kicker {
	font: 700 12px var(--wp--preset--font-family--heading, system-ui, sans-serif);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.yp-bs-door__kicker--cyan { color: var(--yp-bs-cyan); }
.yp-bs-door__kicker--mag { color: #ff4fb3; }
.yp-bs-door__kicker--yel { color: #e8c400; }

.yp-bs-door__title {
	font: 700 26px/1.15 var(--wp--preset--font-family--heading, system-ui, sans-serif);
	letter-spacing: -0.02em;
	margin: 4px 0 6px;
}

.yp-bs-door__line {
	color: #b9b6c2;
	font-size: 15px;
	flex: 1;
	margin-bottom: 14px;
}

.yp-bs-door__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.yp-bs-door__from {
	color: #9a97a3;
	font-size: 14px;
}

.yp-bs-door__from b {
	color: #fff;
	font: 700 18px var(--wp--preset--font-family--heading, system-ui, sans-serif);
}

.yp-bs-vials {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100%;
}

.yp-bs-vials img {
	height: 86%;
	width: auto;
	max-width: none;
	margin: 0 -4%;
	position: relative;
	z-index: 1;
}

.yp-bs-vials img.is-front {
	height: 100%;
	z-index: 2;
}

/* ---------- Homepage: one brand ---------- */
.yp-bs-split {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 40px;
	align-items: center;
}

.yp-bs-split h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.12;
	margin: 10px 0 12px;
}

.yp-bs-split__lede {
	font-size: 17px;
	color: var(--yp-bs-ink2);
}

.yp-bs-combo {
	position: relative;
	height: 440px;
	border-radius: 26px;
	overflow: hidden;
}

.yp-bs-combo__in {
	position: absolute;
	inset: 0;
}

.yp-bs-combo__in img {
	position: absolute;
	max-width: none;
}

.yp-bs-combo__web { width: 78%; right: -3%; top: 3%; }
.yp-bs-combo__box { width: 58%; left: -4%; bottom: 4%; }
.yp-bs-combo__vial { height: 62%; width: auto !important; left: 42%; bottom: 3%; }

/* ---------- Homepage: popular ---------- */
.yp-bs-row3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.yp-bs-mini__vis {
	aspect-ratio: 1.45;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 14px;
}

.yp-bs-mini__vis .yp-bs-vials {
	height: 92%;
}

.yp-bs-mini__tall {
	height: 100%;
	width: auto;
}

.yp-bs-mini__wide {
	width: 100%;
}

.yp-bs-mini__body {
	display: block;
	padding: 14px 16px 16px;
}

.yp-bs-mini__body b {
	display: block;
	font: 700 17px var(--wp--preset--font-family--heading, system-ui, sans-serif);
}

.yp-bs-mini__body small {
	display: block;
	color: var(--yp-bs-muted);
	font-size: 13px;
	margin-top: 2px;
}

/* ---------- Homepage: reviews on dark ---------- */
.yp-bs-reviews-dark {
	background: var(--yp-bs-dark, #17151c);
	color: #fff;
	margin-inline: calc(-1 * var(--wp--preset--spacing--sm));
	padding-inline: var(--wp--preset--spacing--sm);
}

@media (min-width: 782px) {
	.yp-bs-reviews-dark {
		margin-inline: calc(-1 * var(--wp--preset--spacing--md));
		padding-inline: var(--wp--preset--spacing--md);
	}
}

.yp-bs-reviews-dark .yp-section {
	margin-inline: 0;
	padding-inline: 0;
}

.yp-bs-reviews-dark h2,
.yp-bs-reviews-dark .yp-review-card,
.yp-bs-reviews-dark .yp-review-card__text {
	color: #fff;
}

.yp-bs-reviews-dark .yp-eyebrow {
	color: #ff4fb3;
}

.yp-bs-reviews-dark .yp-reviews-summary,
.yp-bs-reviews-dark .yp-review-card__author,
.yp-bs-reviews-dark .yp-review-card__verified {
	color: #b9b6c2;
}

.yp-bs-reviews-dark .yp-review-card {
	background: #211f28;
	border-color: #2e2b36;
	box-shadow: none;
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
	.yp-bs-uses,
	.yp-bs-prices,
	.yp-bs-row3,
	.yp-bs-doors {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.yp-bs-wrap {
		padding: 0 16px;
	}

	.yp-bs-section {
		padding: 44px 0;
	}

	.yp-bs-head {
		margin-bottom: 24px;
	}

	.yp-bs-head p:not(.yp-bs-eyebrow) {
		font-size: 16px;
	}

	.yp-bs-btn {
		padding: 13px 18px;
		font-size: 16px;
	}

	.yp-bs-hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 0;
		padding-top: 24px;
		padding-bottom: 36px;
	}

	.yp-bs-hero__visual {
		order: -1;
		margin-bottom: 8px;
	}

	.yp-bs-hero__visual img {
		width: 112%;
		margin-left: -6%;
	}

	.yp-bs-hero__lede {
		font-size: 17px;
	}

	.yp-bs-hero--home {
		padding: 32px 0 40px;
	}

	.yp-bs-uses,
	.yp-bs-prices,
	.yp-bs-row3,
	.yp-bs-doors {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.yp-bs-use__vis {
		height: 220px;
	}

	.yp-bs-door__vis {
		height: 220px;
	}

	.yp-bs-door__title {
		font-size: 22px;
	}

	.yp-bs-mats {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.yp-bs-mat:last-child:nth-child(odd) {
		grid-column: span 2;
	}

	.yp-bs-mat__shot {
		height: 150px;
	}

	.yp-bs-price {
		padding: 20px;
	}

	.yp-bs-band {
		grid-template-columns: 1fr;
		padding: 32px 22px;
		border-radius: 22px;
	}

	.yp-bs-band__art {
		order: -1;
		height: 220px;
	}

	.yp-bs-split {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.yp-bs-combo {
		height: 260px;
		border-radius: 20px;
	}
}

/* ---------- Photos (assets/images/showcase/photo-*.webp) ----------
 * Full scene photos fill their box edge to edge instead of floating a
 * cut-out render on the studio backdrop. */
.yp-bs-photo {
	padding: 0 !important;
	overflow: hidden;
	background: #1d1c22;
}

.yp-bs-photo > img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.yp-bs-hero__visual.yp-bs-photo {
	background: none;
	border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.yp-bs-hero__visual.yp-bs-photo > img {
	margin: 0;
	height: auto;
	aspect-ratio: 3 / 2;
}

.yp-bs-mat__shot.yp-bs-photo {
	height: auto;
	aspect-ratio: 1;
	border-radius: 12px;
}
