/*
 * Generic pages: page template (breadcrumb + title + content), Delivery & returns (.dolphin-policy), Contact,
 * 404, search results and WooCommerce's "Coming soon" page.
 */

/*
 * Page frame: the 1240px content column, text start-aligned in a 760px measure (DeliveryReturns.dc.html).
 */
body .wp-site-blocks > .dolphin-page {
	margin-block-start: 0;
}

body .dolphin-page {
	box-sizing: border-box;
	max-width: var(--dolphin-container);
	margin-inline: auto;
	padding: 8px var(--dolphin-gutter) 72px;
}

body .dolphin-page > *,
body .dolphin-page__head > * {
	margin-block: 0;
}

body .dolphin-page__head {
	margin-bottom: 16px;
}

/* Breadcrumb: Home / Page (WooCommerce Breadcrumbs block). */
body .dolphin-breadcrumbs,
body .dolphin-page .wc-block-breadcrumbs {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.4;
}

body .dolphin-breadcrumbs .woocommerce-breadcrumb {
	margin: 0;
	padding: 0;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}

body .dolphin-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	color: var(--wp--preset--color--muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body .dolphin-breadcrumbs a:hover {
	color: var(--wp--preset--color--orange-700);
}

body .dolphin-page__title {
	margin: 4px 0 16px;
	color: var(--wp--preset--color--forest);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

/* Page body: a readable 760px column at the start of the content column. */
body .dolphin-page__content > * {
	max-width: 760px;
	margin-inline-start: 0;
	margin-inline-end: auto;
}

body .dolphin-page__content > .alignwide,
body .dolphin-page__content > .alignfull,
body .dolphin-page__content > .dolphin-glance,
body .dolphin-page__content > .dolphin-policy {
	max-width: none;
}

body .dolphin-page__content :where(p, li) {
	font-size: 16px;
	line-height: 1.7;
}

body .dolphin-page__content :where(h2) {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
}

body .dolphin-page__content :where(h3) {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

body .dolphin-page__content li::marker {
	color: var(--wp--preset--color--orange-600);
}

body .dolphin-page__content :where(a:not(.dolphin-btn):not(.wp-element-button)) {
	color: var(--wp--preset--color--forest);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body .dolphin-page__content :where(a:not(.dolphin-btn):not(.wp-element-button)):hover {
	color: var(--wp--preset--color--orange-700);
}

@media (min-width: 782px) {
	body .dolphin-page {
		padding: 28px var(--dolphin-gutter) 80px;
	}

	body .dolphin-page__head {
		margin-bottom: 24px;
	}

	body .dolphin-breadcrumbs a {
		min-height: 32px;
	}

	body .dolphin-page__title {
		margin: 12px 0 0;
		font-size: 40px;
		line-height: 1.15;
		letter-spacing: -0.02em;
	}

	body .dolphin-page__content :where(h2) {
		font-size: 28px;
	}
}

/*
 * Delivery & returns (DeliveryReturns.dc.html, DeliveryReturnsMobile.dc.html).
 * Content: <div class="dolphin-policy"> with h2 per policy and numbered h3 sections; inc/chrome.php adds the
 * "On this page" list, heading anchors, the number circles and the help band.
 */
body .dolphin-policy > * {
	margin-block: 0;
}

body .dolphin-policy h2 {
	margin: 40px 0 0;
	color: var(--wp--preset--color--forest);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	scroll-margin-top: 16px;
}

/* A later policy (Returns & refunds) starts with its h2 as first child of its section, where WordPress's flow-layout
 * ":first-child" rule (specificity 0,2,0) would remove the gap. */
body .dolphin-policy .dolphin-policy__part + .dolphin-policy__part > h2:first-child {
	margin-top: 40px;
}

body .dolphin-policy > h2:first-of-type,
body .dolphin-policy > :first-child h2:first-child,
body .dolphin-policy-toc + h2,
body .dolphin-policy-toc + * > h2:first-child {
	margin-top: 0;
}

body .dolphin-policy h3 {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 24px 0 8px;
	color: var(--wp--preset--color--forest);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	scroll-margin-top: 16px;
}

body .dolphin-policy__num,
body .dolphin-policy .num {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--cream);
	font-family: var(--dolphin-font-en);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

body .dolphin-policy p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.7;
}

body .dolphin-policy ul,
body .dolphin-policy ol {
	margin: 0 0 12px;
	padding-inline-start: 22px;
	font-size: 15px;
	line-height: 1.7;
}

body .dolphin-policy li {
	margin: 0 0 6px;
}

body .dolphin-policy li::marker {
	color: var(--wp--preset--color--orange-600);
}

body .dolphin-policy .lead,
body .dolphin-policy .dolphin-policy__lead {
	margin-top: 8px;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
}

body .dolphin-policy .closing,
body .dolphin-policy .dolphin-policy__closing {
	margin: 24px 0 0;
	padding: 14px 16px;
	border-inline-start: 4px solid var(--wp--preset--color--sage);
	border-radius: 12px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}

/* "On this page": h2 chips on phones, a sticky sidebar list on desktop. */
body .dolphin-policy-toc {
	margin: 0 0 32px;
}

body .dolphin-policy-toc__title {
	display: none;
}

body .dolphin-policy-toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .dolphin-policy-toc > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body .dolphin-policy-toc > ul > li {
	margin: 0;
}

body .dolphin-policy-toc ul ul {
	display: none;
}

body .dolphin-policy-toc__top {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--wp--preset--color--forest);
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--forest);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

body .dolphin-policy-toc__top:hover {
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--cream);
}

/* "At a glance" cards (policy page, Contact). Icons: --pin, --clock, --return, --chat, --truck, else by position. */
body .dolphin-glance {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body .dolphin-glance > li {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dolphin-radius-card);
	background: var(--wp--preset--color--white);
}

body .dolphin-glance > li::before {
	content: "";
	display: block;
	flex: none;
	width: 36px;
	height: 36px;
	margin-bottom: 2px;
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--sage-50) var(--dolphin-glance-icon, none) center / 20px no-repeat;
}

body .dolphin-glance > li:has(.dolphin-glance__icon)::before {
	content: none;
}

body .dolphin-glance__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--sage-50);
	color: var(--wp--preset--color--sage-700);
}

body .dolphin-glance > li:nth-child(4n + 1) {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

body .dolphin-glance > li:nth-child(4n + 2) {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

body .dolphin-glance > li:nth-child(4n + 3) {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E");
}

body .dolphin-glance > li:nth-child(4n + 4) {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.8 7L4 20l1.1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
}

/* Class modifiers win over the position fallback above. */
body .dolphin-glance > li.dolphin-glance__item--pin {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

body .dolphin-glance > li.dolphin-glance__item--clock {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

body .dolphin-glance > li.dolphin-glance__item--return {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E");
}

body .dolphin-glance > li.dolphin-glance__item--chat {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.8 7L4 20l1.1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
}

body .dolphin-glance > li.dolphin-glance__item--truck {
	--dolphin-glance-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
}

[dir="rtl"] .dolphin-glance > li.dolphin-glance__item--truck::before {
	transform: scaleX(-1);
}

body .dolphin-glance strong {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

body .dolphin-glance span {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Glance cards right above the policy (inc/chrome.php adds them on the Delivery & returns page). */
body .dolphin-glance + .dolphin-policy {
	margin-top: 32px;
}

/* Help band after the policy: "Questions about an order?" */
body .dolphin-help-band {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 24px;
	margin-top: 40px;
	padding: 24px;
	border-radius: 24px;
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--cream);
}

body .dolphin-help-band h2 {
	margin: 0;
	color: var(--wp--preset--color--cream);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

body .dolphin-help-band p {
	margin: 4px 0 0;
	color: var(--wp--preset--color--cream);
	font-size: 15px;
	line-height: 1.6;
}

body .dolphin-help-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (min-width: 782px) {
	body .dolphin-glance {
		gap: 16px;
	}

	body .dolphin-glance:not(.dolphin-glance--compact) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body .dolphin-glance > li {
		gap: 6px;
		padding: 20px;
	}

	body .dolphin-glance > li::before,
	body .dolphin-glance__icon {
		width: 44px;
		height: 44px;
	}

	body .dolphin-glance strong {
		font-size: 17px;
	}

	body .dolphin-glance span {
		font-size: 14px;
	}

	body .dolphin-help-band {
		margin-top: 56px;
		padding: 28px;
	}

	body .dolphin-help-band h2 {
		font-size: 22px;
	}
}

@media (min-width: 1024px) {
	body .dolphin-policy {
		display: grid;
		grid-template-columns: 260px minmax(0, 760px);
		column-gap: 56px;
		row-gap: 0;
		align-items: start;
		margin-top: 48px;
	}

	body .dolphin-glance + .dolphin-policy {
		margin-top: 48px;
	}

	body .dolphin-policy > * {
		grid-column: 2;
	}

	body .dolphin-policy > .dolphin-policy-toc {
		position: sticky;
		top: 24px;
		grid-column: 1;
		grid-row: 1 / span 400;
		max-height: calc(100vh - 48px);
		margin: 0;
		overflow-y: auto;
		padding: 4px;
		padding-inline-start: 0;
	}

	body .admin-bar .dolphin-policy > .dolphin-policy-toc {
		top: 56px;
	}

	body .dolphin-policy-toc__title {
		display: block;
		margin: 0 0 6px;
		color: var(--wp--preset--color--muted);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	html[lang^="ar"] .dolphin-policy-toc__title {
		font-size: 13px;
		letter-spacing: 0;
	}

	body .dolphin-policy-toc > ul {
		display: block;
	}

	body .dolphin-policy-toc ul ul {
		display: block;
		margin: 0 0 8px;
		border-inline-start: 2px solid var(--wp--preset--color--line);
	}

	body .dolphin-policy-toc a {
		display: flex;
		align-items: center;
		min-height: 36px;
		color: var(--wp--preset--color--muted);
		font-size: 14px;
		line-height: 1.35;
		text-decoration: none;
	}

	body .dolphin-policy-toc ul ul a {
		padding-inline-start: 12px;
	}

	body .dolphin-policy-toc a:hover {
		color: var(--wp--preset--color--orange-700);
		text-decoration: underline;
	}

	body .dolphin-policy-toc a:focus-visible {
		outline-offset: -3px;
	}

	body .dolphin-policy-toc .dolphin-policy-toc__top {
		min-height: 44px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		color: var(--wp--preset--color--forest);
		font-size: 15px;
		font-weight: 700;
	}

	body .dolphin-policy-toc .dolphin-policy-toc__top:hover {
		background: none;
		color: var(--wp--preset--color--orange-700);
	}

	body .dolphin-policy h2,
	body .dolphin-policy .dolphin-policy__part + .dolphin-policy__part > h2:first-child {
		margin-top: 56px;
		font-size: 28px;
	}

	body .dolphin-policy h3 {
		margin: 32px 0 8px;
		font-size: 19px;
	}

	body .dolphin-policy__num,
	body .dolphin-policy .num {
		width: 28px;
		height: 28px;
		margin-top: 1px;
	}

	body .dolphin-policy p,
	body .dolphin-policy ul,
	body .dolphin-policy ol {
		font-size: 16px;
	}

	body .dolphin-policy .lead,
	body .dolphin-policy .dolphin-policy__lead {
		font-size: 17px;
	}

	body .dolphin-policy .closing,
	body .dolphin-policy .dolphin-policy__closing {
		margin-top: 32px;
		padding: 16px 20px;
		font-size: 15px;
	}

	/* The help band lines up with the policy text, not the sidebar. */
	body .dolphin-page__content > .dolphin-policy + .dolphin-help-band {
		max-width: 760px;
		margin-inline-start: calc(260px + 56px);
	}
}

/*
 * Contact (ContactMobile.dc.html).
 */
body .dolphin-contact > * {
	margin-block: 0;
}

body .dolphin-contact__lead {
	max-width: 520px;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 1.55;
}

body .dolphin-contact__lead bdi {
	color: var(--wp--preset--color--forest);
	font-weight: 600;
	white-space: nowrap;
}

body .dolphin-contact__cta {
	margin: 16px 0 0;
}

body .dolphin-contact__section {
	margin-top: 32px;
}

body .dolphin-contact__section h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

body .dolphin-contact__list {
	margin: 12px 0 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dolphin-radius-card);
	background: var(--wp--preset--color--white);
	box-shadow: var(--dolphin-shadow-card);
	list-style: none;
}

body .dolphin-contact__list li {
	margin: 0;
}

body .dolphin-contact__list li + li {
	border-top: 1px solid var(--wp--preset--color--line);
}

body .dolphin-contact .dolphin-contact__list a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 16px;
	color: var(--wp--preset--color--forest);
	text-decoration: none;
}

body .dolphin-contact .dolphin-contact__list a:hover {
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--forest);
}

body .dolphin-contact .dolphin-contact__list a:focus-visible {
	outline-offset: -3px;
}

body .dolphin-contact__ico {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--sage-50);
	color: var(--wp--preset--color--forest);
}

body .dolphin-contact__ico--wa {
	color: var(--wp--preset--color--sage-700);
}

body .dolphin-contact__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

body .dolphin-contact__label {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 1.4;
}

body .dolphin-contact__value {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: start;
}

body .dolphin-contact__chev {
	color: var(--wp--preset--color--muted);
}

body .dolphin-contact__note {
	margin: 10px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.5;
}

body .dolphin-contact .dolphin-glance {
	margin-top: 12px;
}

body .dolphin-contact__more {
	margin: 8px 0 0;
}

body .dolphin-contact .dolphin-contact__more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--wp--preset--color--orange-700);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

body .dolphin-contact .dolphin-contact__more a:hover {
	text-decoration: underline;
}

@media (min-width: 782px) {
	body .dolphin-contact__lead {
		font-size: 16px;
	}

	body .dolphin-contact__section {
		margin-top: 40px;
	}
}

/*
 * 404 and empty results.
 */
body .dolphin-page--404 {
	padding-top: 40px;
}

body .dolphin-notfound {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 560px;
	margin-inline: auto;
	text-align: center;
}

body .dolphin-notfound > * {
	margin-block: 0;
}

body .dolphin-notfound__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--sage-50);
	color: var(--wp--preset--color--sage-700);
}

body .dolphin-notfound__eyebrow {
	margin-top: 16px;
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--script);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

html[lang^="ar"] .dolphin-notfound__eyebrow {
	font-family: var(--dolphin-font-ar);
	font-size: 24px;
}

body .dolphin-notfound__title {
	margin-top: 4px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

body .dolphin-notfound__text {
	margin-top: 10px;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 1.6;
}

body .dolphin-notfound .dolphin-search-form {
	width: 100%;
	margin-top: 20px;
}

body .dolphin-notfound__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

body .dolphin-notfound .dolphin-notfound__links {
	justify-content: center;
}

body .dolphin-notfound__links li {
	margin: 0;
}

body .dolphin-notfound__links .dolphin-btn {
	min-height: 44px;
	padding: 0 18px;
}

body .dolphin-notfound__help {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 20px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	line-height: 1.5;
}

body .dolphin-notfound__help .dolphin-icon {
	color: var(--wp--preset--color--sage-700);
}

body .dolphin-notfound__help a {
	display: inline-block;
	padding-block: 12px;
	margin-block: -12px;
	color: var(--wp--preset--color--forest);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (min-width: 782px) {
	body .dolphin-page--404 {
		padding-top: 64px;
	}

	body .dolphin-notfound__title {
		font-size: 36px;
	}

	body .dolphin-notfound__text {
		font-size: 16px;
	}
}

/* Search form with a visible button (404, search results). */
body .dolphin-search-form {
	max-width: 560px;
	margin: 0;
}

body .dolphin-search-form.wp-block-search .wp-block-search__inside-wrapper,
body .dolphin-search-form.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--white);
}

body .dolphin-search-form.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--forest);
	outline: 3px solid var(--wp--preset--color--orange-600);
	outline-offset: 2px;
}

body .dolphin-search-form.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: var(--dolphin-radius-pill);
	background: transparent;
	color: var(--wp--preset--color--forest);
	font-family: inherit;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

body .dolphin-search-form.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input:focus,
body .dolphin-search-form.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input:focus-visible {
	outline: none;
}

body .dolphin-search-form.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
	flex: none;
	min-height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--orange-600);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

body .dolphin-search-form.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:hover {
	background: var(--wp--preset--color--orange-700);
}

body .dolphin-search-form.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:focus-visible {
	outline-color: var(--wp--preset--color--forest);
}

/*
 * Search results and simple archives.
 */
body .dolphin-search .dolphin-page__head .dolphin-search-form {
	margin-top: 16px;
}

body .dolphin-results > * {
	margin-block: 0;
}

body .dolphin-results__list {
	display: grid;
	gap: 12px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

body .dolphin-results__list > li {
	margin: 0;
}

body .dolphin-result {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dolphin-radius-card);
	background: var(--wp--preset--color--white);
}

body .dolphin-result > *,
body .dolphin-result__body > * {
	margin-block: 0;
}

body .dolphin-result__img {
	flex: none;
	width: 88px;
}

body .dolphin-result__img img {
	width: 88px;
	height: 88px;
	border-radius: 12px;
	object-fit: contain;
}

body .dolphin-result__body {
	flex: 1;
	min-width: 0;
}

body .dolphin-result__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

body .dolphin-result__title a {
	color: var(--wp--preset--color--forest);
	text-decoration: none;
}

body .dolphin-result__title a:hover {
	color: var(--wp--preset--color--orange-700);
	text-decoration: underline;
}

/* The whole result card is the title link's touch area (the picture links to the same page). */
body .dolphin-result__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

body .dolphin-result__title a:focus-visible {
	outline: none;
}

body .dolphin-result:has(.dolphin-result__title a:focus-visible) {
	outline: 3px solid var(--wp--preset--color--orange-600);
	outline-offset: 2px;
}

body .dolphin-result__price {
	margin-top: 4px;
	font-weight: 700;
}

body .dolphin-result__excerpt {
	margin-top: 6px;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	line-height: 1.55;
}

body .dolphin-result__excerpt p {
	margin: 0;
}

/* Arabic pages: a product text the owner wrote in English keeps its own order ("Unscented clumping litter.", not
   ".Unscented clumping litter"), still aligned on the right like the rest of the page. */
html[dir="rtl"] .dolphin-result__title,
html[dir="rtl"] .dolphin-result__excerpt,
html[dir="rtl"] .dolphin-result__excerpt p {
	unicode-bidi: plaintext;
	text-align: right;
}

body .dolphin-pagination {
	gap: 8px;
	margin-top: 32px;
}

body .dolphin-pagination a,
body .dolphin-pagination .page-numbers {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dolphin-radius-pill);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--forest);
	font-weight: 600;
	text-decoration: none;
}

body .dolphin-pagination .page-numbers.current {
	border-color: var(--wp--preset--color--forest);
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--cream);
}

body .dolphin-pagination .page-numbers.dots {
	border: 0;
	background: none;
}

body .dolphin-empty {
	margin-top: 8px;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dolphin-radius-card);
	background: var(--wp--preset--color--white);
}

body .dolphin-empty > * {
	margin-block: 0;
}

body .dolphin-empty__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

body .dolphin-empty .dolphin-notfound__links {
	margin-top: 16px;
}

body .dolphin-empty .dolphin-notfound__help {
	margin-top: 20px;
}

body .dolphin-empty__text {
	margin-top: 6px;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 1.6;
}

/*
 * WooCommerce "Coming soon" page (templates/coming-soon.html).
 */
body .wp-site-blocks > .dolphin-soon {
	margin-block-start: 0;
}

body .dolphin-soon {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 32px var(--dolphin-gutter);
	background: var(--wp--preset--color--cream);
}

body .dolphin-soon > *,
body .dolphin-soon__card > * {
	margin-block: 0;
}

body .dolphin-soon__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 560px;
	padding: 32px 20px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 24px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 12px 32px rgba(15, 61, 50, 0.08);
	text-align: center;
}

body .dolphin-soon__logo img {
	display: block;
	width: auto;
	height: 96px;
}

body .dolphin-soon__tagline {
	display: block;
	margin-top: 12px;
	text-wrap: balance;
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--script);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
}

/* The heart stays on the tagline's last line when the Arabic tagline wraps on phones. */
body .dolphin-soon__tagline svg {
	display: inline-block;
	vertical-align: -0.12em;
	margin-inline-start: 6px;
}

html[lang^="ar"] .dolphin-soon__tagline {
	font-family: var(--dolphin-font-ar);
	font-size: 22px;
	line-height: 1.4;
}

body .dolphin-soon__title {
	margin-top: 8px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

body .dolphin-soon__text {
	margin-top: 12px;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 1.6;
}

body .dolphin-soon__text + .dolphin-soon__text {
	margin-top: 6px;
}

body .dolphin-soon__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

body .dolphin-langplain {
	margin-top: 12px;
}

body .dolphin-soon__legal {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}

@media (min-width: 600px) {
	body .dolphin-soon__card {
		padding: 48px 40px 36px;
	}

	body .dolphin-soon__logo img {
		height: 112px;
	}

	body .dolphin-soon__title {
		font-size: 40px;
	}

	body .dolphin-soon__text {
		font-size: 16px;
	}
}
