/**
 * Utility pages: Wishlist, Search results and 404.
 *
 * Styling only. Every section is editable in Gutenberg; this file just
 * implements the approved 1440 / 390 design for the bobo/* utility patterns.
 *
 * Enqueue after patterns.css and home-v2.css so these scoped rules win.
 */

/* -------------------------------------------------------------------------
 * Shared
 * ---------------------------------------------------------------------- */

.bobo-utility-page {
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--body);
	font-size: 15px;
	line-height: 1.9;
}

/* The utility pattern is a top-level template child; keep the shared header
 * and footer flush with it (the design has no 24px block gap there). */
.wp-site-blocks > .bobo-utility-page {
	margin-block-start: 0;
}

.wp-site-blocks > .bobo-utility-page + .wp-block-template-part {
	margin-block-start: 0;
}

/* When the Wishlist pattern is inserted into a normal page (page.html wraps
 * post content in .bobo-page-main > .entry-content), remove the template flow
 * gaps so the hero still sits flush under the shared header. */
.wp-site-blocks > .bobo-page-main:has(.bobo-wishlist-page),
.bobo-page-main:has(.bobo-wishlist-page) > .entry-content,
.bobo-page-main:has(.bobo-wishlist-page) .bobo-wishlist-page,
.wp-site-blocks > .bobo-page-main:has(.bobo-wishlist-page) + .wp-block-template-part {
	margin-block-start: 0;
}

.bobo-utility-page .bobo-kicker {
	gap: 10px;
	margin: 0 0 14px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.bobo-utility-page .bobo-kicker::before {
	width: 34px;
}

/* Pink marker behind an inline word, matching the approved comp. */
.bobo-em-underline {
	position: relative;
	display: inline-block;
	color: var(--wp--preset--color--primary);
	font-style: normal;
	white-space: nowrap;
	z-index: 0;
}

.bobo-em-underline::after {
	content: "";
	position: absolute;
	inset-inline: -4px;
	bottom: 0.08em;
	height: 0.2em;
	border-radius: 8px;
	background: var(--wp--preset--color--pink);
	transform: rotate(-1deg);
	z-index: -1;
}

/* Reset WordPress' default 24px flow gap inside the hand-built components.
 * Section rhythm is defined explicitly below. */
.bobo-wish-hero > *,
.bobo-search-hero > *,
.bobo-notfound > *,
.bobo-wish-main > .bobo-wish-toolbar,
.bobo-wish-main > .bobo-wish-list,
.bobo-search-main > .bobo-search-result-head,
.bobo-search-main > .bobo-search-filters,
.bobo-search-main > .bobo-search-grid,
.bobo-wish-guest__inner > *,
.bobo-wish-toolbar > *,
.bobo-wish-actions > *,
.bobo-wish-item > *,
.bobo-wish-item__side > *,
.bobo-wish-card > *,
.bobo-wish-suggest .bobo-section-head > *,
.bobo-wish-note > *,
.bobo-search-card__media > *,
.bobo-search-card__body > *,
.bobo-search-result-head > *,
.bobo-search-result-head__titles > *,
.bobo-search-help > * {
	margin-block-start: 0;
}

/* Shared core/search skin. The magnifier is decorative CSS, not content. */
.bobo-search-form,
.bobo-nf-search {
	max-width: 680px;
	margin: 0;
}

/* The constrained hero centres every direct child with !important margins;
 * keep the search field anchored to the RTL start edge like the comp. */
.bobo-search-hero .bobo-search-form {
	max-width: 680px;
	margin-inline-start: 0 !important;
	margin-inline-end: auto !important;
}

.bobo-search-form .wp-block-search__inside-wrapper,
.bobo-nf-search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 8px 16px 8px 10px;
	padding-inline-start: 44px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 14px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 19px 19px;
	box-shadow: 0 8px 24px rgba(22, 52, 92, 0.05);
}

html[dir="ltr"] .bobo-search-form .wp-block-search__inside-wrapper,
html[dir="ltr"] .bobo-nf-search .wp-block-search__inside-wrapper {
	background-position: left 16px center;
}

.bobo-search-form .wp-block-search__input,
.bobo-nf-search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--body);
	font-size: 11px;
	line-height: 1.7;
}

.bobo-search-form .wp-block-search__input::placeholder,
.bobo-nf-search .wp-block-search__input::placeholder {
	color: #a7b0be;
}

.bobo-search-form .wp-block-search__button,
.bobo-nf-search .wp-block-search__button {
	flex: 0 0 auto;
	min-height: 32px;
	margin: 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 9px;
	background: var(--wp--preset--color--navy);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	box-shadow: none;
}

.bobo-search-form .wp-block-search__button:hover,
.bobo-nf-search .wp-block-search__button:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Wishlist
 * ---------------------------------------------------------------------- */

.bobo-wish-hero {
	padding-block: 56px 34px;
	background:
		radial-gradient(circle at 6% 12%, rgba(243, 181, 196, 0.22), transparent 30%),
		var(--wp--preset--color--cream);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-wish-hero__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
}

.bobo-wish-hero .bobo-page-hero__title {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 58px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.05em;
	color: var(--wp--preset--color--navy);
}

.bobo-wish-hero .bobo-page-hero__lead {
	max-width: 52ch;
	margin: 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 11px;
	line-height: 2;
}

.bobo-wish-count {
	flex: 0 0 auto;
	text-align: center;
}

.bobo-wish-count__number {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 74px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--pink);
	font-variant-numeric: tabular-nums;
}

.bobo-wish-count__label {
	margin: 2px 0 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 8px;
	line-height: 1.6;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--text-muted);
}

/* Guest sync bar */
.bobo-wish-guest {
	padding-block: 10px;
	background: var(--wp--preset--color--cream-2);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-wish-guest__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.bobo-wish-guest p {
	margin: 0;
	font-size: 8.5px;
	line-height: 1.9;
	color: var(--wp--preset--color--text-muted);
}

.bobo-wish-guest strong {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

.bobo-wish-guest a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

/* Demo / integration notice */
.bobo-wish-demo {
	padding-block: 8px;
	background: var(--wp--preset--color--butter-soft);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 10%, transparent);
}

.bobo-wish-demo p {
	margin: 0;
	text-align: center;
	font-size: 8.5px;
	line-height: 1.8;
	color: #6b5a2e;
}

.bobo-wish-demo strong {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

/* Main */
.bobo-wish-main {
	padding-block: 26px 50px;
}

.bobo-wish-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 6px;
	padding-block: 12px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-wish-toolbar__count {
	margin: 0;
	font-size: 9px;
	line-height: 1.8;
	color: var(--wp--preset--color--text-muted);
}

.bobo-wish-toolbar__count strong {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

.bobo-wish-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.bobo-wish-actions p {
	margin: 0;
}

.bobo-wish-actions a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.bobo-wish-actions a:hover {
	color: var(--wp--preset--color--navy);
}

.bobo-wish-action--primary a {
	min-height: 32px;
	padding: 8px 13px;
	border-radius: 8px;
	background: var(--wp--preset--color--navy);
	color: #fff;
	text-align: center;
	white-space: nowrap;
}

.bobo-wish-action--primary a:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

/* Static demo rows */
.bobo-wish-list {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-wish-item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding-block: 16px;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	transition: background 180ms ease;
}

.bobo-wish-item:hover {
	background: linear-gradient(90deg, rgba(253, 239, 243, 0.35), transparent);
}

.bobo-wish-item__media {
	flex: 0 0 auto;
}

.bobo-wish-item__media figure,
.bobo-wish-item__media .wp-block-image {
	margin: 0;
}

.bobo-wish-item__media img {
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--wp--preset--color--pink-soft);
}

.bobo-wish-item__info {
	min-width: 0;
}

.bobo-wish-age {
	display: inline-block;
	margin: 0 0 4px;
	padding: 2px 6px;
	border-radius: 999px;
	background: var(--wp--preset--color--pink-soft);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 7px;
	font-weight: 600;
	line-height: 1.5;
}

.bobo-wish-item__info h3 {
	margin: 0 0 2px;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
}

.bobo-wish-item__info h3 a {
	color: inherit;
	text-decoration: none;
}

.bobo-wish-item__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 8px;
	line-height: 1.7;
}

.bobo-wish-stock {
	color: #1e7a46;
	font-weight: 600;
}

.bobo-wish-stock.is-pre {
	color: #9a6700;
}

.bobo-wish-item__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	text-align: end;
}

.bobo-wish-price {
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.bobo-wish-price del {
	margin-inline-start: 5px;
	color: #98a2b3;
	font-size: 8px;
	font-weight: 400;
}

.bobo-wish-item__buttons {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.bobo-wish-item__buttons .wp-block-button {
	margin: 0;
}

.bobo-wish-item__buttons .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 31px;
	padding: 0 10px;
	border-radius: 8px;
	background: var(--wp--preset--color--navy);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 8.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.bobo-wish-item__buttons .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

.bobo-wish-item__buttons .wp-block-button.bobo-wish-heart .wp-block-button__link {
	width: 31px;
	min-width: 31px;
	height: 31px;
	min-height: 31px;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 50%;
	background: #fff;
	color: var(--wp--preset--color--pink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	line-height: 1;
}

.bobo-wish-item__buttons .wp-block-button.bobo-wish-heart .wp-block-button__link:hover {
	background: var(--wp--preset--color--pink-soft);
	color: var(--wp--preset--color--primary);
}

.bobo-wish-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.bobo-wish-note p {
	margin: 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 8px;
	line-height: 1.8;
}

.bobo-wish-note strong {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

/* Suggestions */
.bobo-wish-suggest {
	margin-top: 30px;
	padding-top: 38px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-wish-suggest .bobo-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 18px;
}

.bobo-wish-suggest .bobo-section-head h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--navy);
}

.bobo-wish-suggest .bobo-text-link {
	margin: 0;
	font-size: 9px;
}

.bobo-wish-suggest__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.bobo-wish-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-wish-card figure,
.bobo-wish-card .wp-block-image {
	flex: 0 0 62px;
	margin: 0;
}

.bobo-wish-card img {
	display: block;
	width: 62px;
	height: 62px;
	border-radius: 10px;
	object-fit: cover;
}

.bobo-wish-card__body {
	min-width: 0;
}

.bobo-wish-card h3 {
	margin: 0 0 2px;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9.5px;
	font-weight: 600;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bobo-wish-card h3 a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.bobo-wish-card p {
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9px;
	font-weight: 600;
	line-height: 1.6;
}

.bobo-wish-continue {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.bobo-wish-continue p {
	margin: 0;
}

.bobo-wish-continue a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 16%, transparent);
	border-radius: 9px;
	background: #fff;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9px;
	font-weight: 600;
	text-decoration: none;
}

.bobo-wish-continue a:hover {
	border-color: var(--wp--preset--color--pink);
	background: var(--wp--preset--color--pink-soft);
}

/* Wishlist empty state (separate pattern, ready to swap when a plugin is active) */
.bobo-wish-empty {
	padding-block: clamp(2.5rem, 6vw, 5rem);
	padding-inline: 18px;
	background: var(--wp--preset--color--cream);
}

.bobo-wish-empty__card {
	max-width: 720px;
	margin-inline: auto;
	padding: clamp(1.75rem, 4vw, 3rem);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 12%, transparent);
	border-radius: 24px;
	background: #fff;
	text-align: center;
	box-shadow: 0 12px 32px rgba(22, 52, 92, 0.06);
}

.bobo-wish-empty__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--wp--preset--color--pink-soft);
	color: var(--wp--preset--color--pink);
	font-size: 30px;
	line-height: 1;
}

.bobo-wish-empty__card h2 {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--navy);
}

.bobo-wish-empty__text {
	max-width: 44ch;
	margin: 0 auto 20px;
	color: var(--wp--preset--color--text-muted);
	font-size: 11px;
	line-height: 2;
}

.bobo-wish-empty__actions {
	display: flex;
	justify-content: center;
	gap: 9px;
	flex-wrap: wrap;
	margin-top: 0;
}

.bobo-wish-empty__actions .wp-block-button {
	margin: 0;
}

.bobo-wish-empty__actions .wp-block-button__link {
	min-height: 43px;
	padding: 0 18px;
	border-radius: 10px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 10px;
	font-weight: 600;
	text-decoration: none;
}

.bobo-wish-empty__actions .is-style-outline .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 16%, transparent);
	background: #fff;
	color: var(--wp--preset--color--navy);
}

.bobo-wish-empty__actions .is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--pink-soft);
}

.bobo-wish-empty__note {
	margin: 18px auto 0;
	padding-top: 14px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 12%, transparent);
	color: var(--wp--preset--color--text-muted);
	font-size: 9px;
	line-height: 1.9;
}

/* -------------------------------------------------------------------------
 * Search
 * ---------------------------------------------------------------------- */

.bobo-search-hero {
	padding-block: 58px 44px;
	background:
		radial-gradient(circle at 6% 12%, rgba(243, 181, 196, 0.22), transparent 30%),
		var(--wp--preset--color--cream);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-search-hero .bobo-page-hero__title {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 58px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.05em;
	color: var(--wp--preset--color--navy);
}

.bobo-search-hero .bobo-page-hero__lead {
	max-width: 48ch;
	margin: 0 0 22px;
	color: var(--wp--preset--color--text-muted);
	font-size: 11px;
	line-height: 2;
}

.bobo-search-terms {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin-top: 12px;
	color: var(--wp--preset--color--text-muted);
	font-size: 8.5px;
	line-height: 1.7;
}

.bobo-search-terms p {
	margin: 0;
}

.bobo-search-terms__label {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

.bobo-search-terms a {
	padding: 4px 9px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 999px;
	background: #fff;
	color: #475467;
	text-decoration: none;
}

.bobo-search-terms a:hover {
	border-color: rgba(29, 70, 124, 0.3);
	color: var(--wp--preset--color--primary);
}

.bobo-search-main {
	padding-block: 24px 50px;
}

.bobo-search-result-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.bobo-search-result-head__titles {
	min-width: 0;
}

.bobo-search-title {
	margin: 0 0 2px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--navy);
}

.bobo-search-count {
	margin: 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 9px;
	line-height: 1.8;
}

.bobo-search-tools {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.bobo-search-sort {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--wp--preset--color--text-muted);
	font-size: 8.5px;
	line-height: 1.6;
}

.bobo-search-sort-label {
	margin: 0;
	color: var(--wp--preset--color--text-muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: 8.5px;
	font-weight: 400;
	line-height: 1.6;
}

.bobo-search-sort label {
	font-family: var(--wp--preset--font-family--body);
	font-size: 8.5px;
	font-weight: 400;
}

.bobo-search-sort select {
	max-width: 150px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--body);
	font-size: 8.5px;
	font-weight: 600;
	cursor: pointer;
}

.bobo-search-filters {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 18px;
	padding-block: 10px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
}

.bobo-search-filters p {
	margin: 0;
}

.bobo-search-filter-label {
	margin-inline-end: 4px !important;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 8px;
	font-weight: 600;
}

.bobo-search-chip {
	padding: 4px 9px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 999px;
	background: #fff;
	color: #475467;
	font-size: 8px;
	line-height: 1.7;
}

.bobo-search-chip a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bobo-search-chip.is-active {
	border-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--navy);
	color: #fff;
}

.bobo-search-chip.is-active a {
	color: #fff;
}

.bobo-search-chip.is-clear {
	padding-inline: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

/* WooCommerce Product Collection */
.bobo-search-grid {
	margin: 0;
}

.bobo-search-grid .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bobo-search-grid .wc-block-product {
	min-width: 0;
	margin: 0;
}

.bobo-search-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 17px;
	background: #fff;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bobo-search-card:hover {
	transform: translateY(-3px);
	border-color: rgba(29, 70, 124, 0.2);
	box-shadow: 0 12px 30px rgba(22, 52, 92, 0.08);
}

.bobo-search-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--wp--preset--color--pink-soft);
}

.bobo-search-card__media .wc-block-components-product-image,
.bobo-search-card__media .wp-block-woocommerce-product-image {
	width: 100%;
	height: 100%;
	margin: 0;
}

.bobo-search-card__media .wc-block-components-product-image a,
.bobo-search-card__media .wp-block-woocommerce-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.bobo-search-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.bobo-search-card:hover .bobo-search-card__media img {
	transform: scale(1.04);
}

.bobo-search-card__media .wc-block-components-product-stock-indicator {
	position: absolute;
	inset-block-start: 9px;
	inset-inline-start: 9px;
	z-index: 1;
	margin: 0;
	padding: 4px 7px;
	border-radius: 999px;
	background: #fff7e0;
	color: #9a6700;
	font-family: var(--wp--preset--font-family--body);
	font-size: 7.5px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	box-shadow: 0 2px 8px rgba(22, 52, 92, 0.06);
}

.bobo-search-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	padding: 12px 13px 13px;
}

.bobo-search-age {
	align-self: flex-start;
	max-width: 100%;
	margin: 0;
	padding: 2px 6px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--wp--preset--color--pink-soft);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 7.5px;
	font-weight: 600;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bobo-search-age a {
	color: inherit;
	text-decoration: none;
}

.bobo-search-card__body h3,
.bobo-search-card__body .wp-block-post-title {
	min-height: 33px;
	margin: 0;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.55;
}

.bobo-search-card__body h3 a,
.bobo-search-card__body .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.bobo-search-card .wp-block-woocommerce-product-price {
	margin-top: auto;
	margin-block-end: 0;
}

.bobo-search-card .wc-block-components-product-price {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}

.bobo-search-card .wc-block-components-product-price del {
	margin-inline-start: 5px;
	color: #98a2b3;
	font-size: 8px;
	font-weight: 400;
}

.bobo-search-card .wc-block-components-product-price ins {
	text-decoration: none;
}

.bobo-search-card .wp-block-woocommerce-product-button {
	margin-top: 5px;
	margin-block-end: 0;
}

.bobo-search-card .wp-block-woocommerce-product-button .wp-block-button__link,
.bobo-search-card .wp-block-woocommerce-product-button .wp-element-button,
.bobo-search-card .wp-block-woocommerce-product-button button,
.bobo-search-card .wp-block-woocommerce-product-button .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 30px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid rgba(29, 70, 124, 0.16);
	border-radius: 8px;
	background: #f8fafd;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 8.5px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.bobo-search-card .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.bobo-search-card .wp-block-woocommerce-product-button .wp-element-button:hover,
.bobo-search-card .wp-block-woocommerce-product-button button:hover,
.bobo-search-card .wp-block-woocommerce-product-button .button:hover {
	border-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--navy);
	color: #fff;
}

/* Pagination / load more */
.bobo-search-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 22px;
}

.bobo-search-pagination .wp-block-query-pagination-next {
	margin: 0;
}

.bobo-search-pagination .wp-block-query-pagination-next__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 9px;
	background: #fff;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.bobo-search-pagination .wp-block-query-pagination-next__link:hover {
	border-color: var(--wp--preset--color--pink);
	background: var(--wp--preset--color--pink-soft);
}

/* Empty search */
.bobo-search-no-results {
	margin-top: 10px;
	padding: 40px 20px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	border-radius: 17px;
	background: #fff;
	text-align: center;
}

.bobo-search-no-results h2 {
	margin: 0 0 6px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--navy);
}

.bobo-search-no-results p {
	max-width: 52ch;
	margin: 0 auto 16px;
	color: var(--wp--preset--color--text-muted);
	font-size: 10px;
	line-height: 2;
}

.bobo-search-no-results .bobo-search-form {
	max-width: 520px;
	margin: 0 auto 16px;
}

.bobo-search-no-results .wp-block-buttons {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 0;
}

.bobo-search-no-results .wp-block-button {
	margin: 0;
}

.bobo-search-no-results .wp-block-button__link {
	min-height: 40px;
	padding: 0 18px;
	border-radius: 9px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 9px;
	font-weight: 600;
	text-decoration: none;
}

.bobo-search-no-results .is-style-outline .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 16%, transparent);
	background: #fff;
	color: var(--wp--preset--color--navy);
}

.bobo-search-no-results .is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--pink-soft);
}

.bobo-search-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 28px;
	padding-top: 14px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	color: var(--wp--preset--color--text-muted);
	font-size: 8.5px;
	line-height: 1.8;
}

.bobo-search-help p {
	margin: 0;
}

.bobo-search-help strong {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

.bobo-search-help__links {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.bobo-search-help a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * 404
 * ---------------------------------------------------------------------- */

.bobo-notfound {
	position: relative;
	overflow: hidden;
	padding-block: 54px 80px;
	background:
		radial-gradient(circle at 50% 0%, rgba(243, 181, 196, 0.22), transparent 45%),
		radial-gradient(circle at 10% 80%, rgba(110, 113, 206, 0.1), transparent 30%),
		var(--wp--preset--color--cream);
}

.bobo-notfound::before {
	content: "";
	position: absolute;
	inset-block-start: 40px;
	inset-inline-start: -180px;
	width: 420px;
	height: 420px;
	border: 1px dashed rgba(29, 70, 124, 0.14);
	border-radius: 50%;
	pointer-events: none;
}

.bobo-notfound::after {
	content: "";
	position: absolute;
	inset-block-end: -80px;
	inset-inline-end: -100px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(243, 181, 196, 0.12);
	pointer-events: none;
}

.bobo-notfound__inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.bobo-notfound__code {
	position: relative;
	display: inline-block;
	margin: 0;
	color: var(--wp--preset--color--pink);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 150px;
	font-weight: 500;
	line-height: 0.8;
	letter-spacing: -0.02em;
	z-index: 0;
}

.bobo-notfound__code::after {
	content: "";
	position: absolute;
	inset-inline: 12%;
	bottom: 10px;
	height: 10px;
	border-radius: 8px;
	background: var(--wp--preset--color--butter);
	transform: rotate(-1deg);
	z-index: -1;
}

.bobo-notfound__footsteps {
	display: inline-block;
	margin: 2px 0 14px;
	opacity: 0.85;
	transform: rotate(-4deg);
	font-size: 26px;
	line-height: 1.4;
	letter-spacing: 0.28em;
}

.bobo-notfound__footsteps span {
	display: inline-block;
}

.bobo-notfound__footsteps span:nth-child(2) {
	transform: translateY(8px);
}

.bobo-notfound__footsteps span:nth-child(3) {
	transform: translateY(-4px);
}

.bobo-notfound h1 {
	margin: 0 0 10px;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 46px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.bobo-notfound__lead {
	max-width: 46ch;
	margin: 0 auto 22px;
	color: var(--wp--preset--color--text-muted);
	font-size: 11.5px;
	line-height: 2;
}

.bobo-nf-actions {
	display: flex;
	justify-content: center;
	gap: 9px;
	flex-wrap: wrap;
	margin-top: 0;
	margin-bottom: 24px;
}

.bobo-nf-actions .wp-block-button {
	margin: 0;
}

.bobo-nf-actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	padding: 0 18px;
	border-radius: 10px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.bobo-nf-actions .bobo-nf-primary .wp-block-button__link {
	background: var(--wp--preset--color--navy);
	color: #fff;
}

.bobo-nf-actions .bobo-nf-primary .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

.bobo-nf-actions .is-style-outline .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	background: #fff;
	color: var(--wp--preset--color--navy);
}

.bobo-nf-actions .is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--pink-soft);
}

.bobo-nf-search {
	max-width: 520px;
	margin: 0 auto;
}

.bobo-nf-search .wp-block-search__inside-wrapper {
	min-height: 44px;
	padding-block: 7px;
	border-radius: 999px;
	background-position: right 14px center;
	background-size: 17px 17px;
	padding-inline-start: 40px;
}

.bobo-nf-search .wp-block-search__input {
	font-size: 9.5px;
}

.bobo-nf-search .wp-block-search__button {
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 8.5px;
}

.bobo-notfound__links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 20px;
	color: var(--wp--preset--color--text-muted);
	font-size: 8.5px;
	line-height: 1.8;
}

.bobo-notfound__links p {
	margin: 0;
}

.bobo-notfound__links a {
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(29, 70, 124, 0.22);
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.bobo-notfound__note {
	margin: 36px 0 0;
	padding-top: 18px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 14%, transparent);
	color: var(--wp--preset--color--text-muted);
	font-size: 8.5px;
	line-height: 1.9;
}

.bobo-notfound__note strong {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Responsive — approved breakpoints: 1000 / 640 (reference 1440 / 390)
 * ---------------------------------------------------------------------- */

@media (max-width: 1000px) {
	.bobo-wish-hero .bobo-page-hero__title,
	.bobo-search-hero .bobo-page-hero__title {
		font-size: 44px;
	}

	.bobo-wish-count__number {
		font-size: 56px;
	}

	.bobo-search-grid .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bobo-notfound__code {
		font-size: 120px;
	}

	.bobo-notfound h1 {
		font-size: 38px;
	}
}

@media (max-width: 640px) {
	.bobo-wish-hero,
	.bobo-search-hero {
		padding-inline: 18px;
	}

	.bobo-wish-hero {
		padding-block: 56px 46px;
	}

	.bobo-search-hero {
		padding-block: 58px 34px;
	}

	.bobo-wish-hero .bobo-page-hero__title,
	.bobo-search-hero .bobo-page-hero__title {
		font-size: 36px;
	}

	.bobo-wish-hero .bobo-page-hero__lead,
	.bobo-search-hero .bobo-page-hero__lead {
		font-size: 10px;
	}

	.bobo-wish-hero__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.bobo-wish-count {
		text-align: start;
	}

	.bobo-wish-count__number {
		font-size: 56px;
	}

	.bobo-wish-guest,
	.bobo-wish-demo,
	.bobo-wish-main,
	.bobo-search-main,
	.bobo-notfound {
		padding-inline: 18px;
	}

	.bobo-wish-guest__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.bobo-wish-guest {
		padding-block: 15px;
	}

	.bobo-wish-main {
		padding-block: 20px 42px;
	}

	.bobo-wish-item {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 10px;
	}

	.bobo-wish-item__media img {
		width: 74px;
		height: 74px;
	}

	.bobo-wish-item__side {
		grid-column: 2;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		text-align: start;
	}

	.bobo-wish-suggest__grid {
		grid-template-columns: 1fr;
	}

	.bobo-wish-suggest .bobo-section-head {
		flex-direction: row;
		align-items: flex-end;
	}

	.bobo-wish-suggest .bobo-section-head h2 {
		font-size: 30px;
	}

	.bobo-search-form .wp-block-search__inside-wrapper,
	.bobo-nf-search .wp-block-search__inside-wrapper {
		min-height: 44px;
		padding-block: 7px;
	}

	.bobo-search-main {
		padding-block: 18px 42px;
	}

	.bobo-search-result-head {
		align-items: flex-start;
		gap: 8px;
	}

	.bobo-search-title {
		font-size: 20px;
	}

	.bobo-search-tools {
		width: 100%;
		justify-content: flex-end;
	}

	.bobo-search-filters {
		gap: 6px;
	}

	.bobo-search-grid .wc-block-product-template {
		grid-template-columns: 1fr;
	}

	.bobo-search-help {
		flex-direction: column;
		align-items: flex-start;
	}

	.bobo-search-no-results {
		padding: 28px 16px;
	}

	.bobo-notfound {
		padding-block: 54px 91px;
	}

	.bobo-notfound__code {
		font-size: 100px;
	}

	.bobo-notfound__footsteps {
		font-size: 22px;
		margin-bottom: 10px;
	}

	.bobo-notfound h1 {
		font-size: 30px;
	}

	.bobo-notfound__lead {
		font-size: 10px;
	}

	.bobo-nf-actions {
		gap: 8px;
	}

	.bobo-notfound__links {
		gap: 10px 14px;
	}

	.bobo-notfound__note {
		margin-top: 36px;
	}

	.bobo-wish-empty__card {
		padding: 24px 18px;
	}

	.bobo-wish-empty__card h2 {
		font-size: 26px;
	}
}
