/* Odrin Child Book Experience Suite. All component selectors are namespaced. */
:root {
	--odrin-book-accent: var(--odrin-child-accent, #5492a3);
	--odrin-book-surface: var(--odrin-child-surface, #fff);
	--odrin-book-canvas: var(--odrin-child-canvas, #fff);
	--odrin-book-text: var(--odrin-child-text, #1d2327);
	--odrin-book-heading: var(--odrin-child-heading, #1d2327);
	--odrin-book-muted: var(--odrin-child-muted, #646970);
	--odrin-book-border: var(--odrin-child-border, #dcdcde);
	--odrin-book-radius: var(--odrin-child-radius, 8px);
	--odrin-book-gutter: var(--odrin-child-content-gutter, 24px);
	--odrin-book-section-space: var(--odrin-child-fluid-space, clamp(24px, 4vw, 64px));
}

.odrin-book-homepage,
.odrin-book-showcase,
.odrin-book-categories,
.odrin-book-authors,
.odrin-book-events,
.odrin-book-newsletter,
.odrin-book-author-profile {
	box-sizing: border-box;
	color: var(--odrin-book-text);
	margin: var(--odrin-book-section-space) auto;
	max-width: min(1440px, calc(100vw - (2 * var(--odrin-book-gutter))));
}

.odrin-book-homepage {
	display: flow-root;
	margin-block: 0;
}

.odrin-book-home-composed .HeaderWrapper > .PageHeader {
	display: none;
}

.odrin-book-homepage > :first-child {
	margin-top: 0;
}

.odrin-book-section-heading {
	align-items: end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: clamp(18px, 2.5vw, 34px);
}

.odrin-book-section-heading h2,
.odrin-book-hero h1,
.odrin-book-newsletter h2,
.odrin-book-author-profile h1 {
	color: var(--odrin-book-heading);
	margin: 0;
}

.odrin-book-section-heading h2 {
	font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.odrin-book-eyebrow {
	color: var(--odrin-book-accent);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .14em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.odrin-book-hero {
	align-items: stretch;
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: calc(var(--odrin-book-radius) * 1.5);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
	margin: clamp(20px, 4vw, 60px) auto var(--odrin-book-section-space);
	max-width: min(1440px, calc(100vw - (2 * var(--odrin-book-gutter))));
	overflow: hidden;
	position: relative;
}

.odrin-book-hero__content {
	align-self: center;
	padding: clamp(34px, 7vw, 96px);
	position: relative;
	z-index: 1;
}

.odrin-book-hero h1 {
	font-size: clamp(2.25rem, 6vw, 5.75rem);
	letter-spacing: -.035em;
	line-height: .98;
	max-width: 13ch;
}

.odrin-book-hero__content > p:not(.odrin-book-eyebrow) {
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.7;
	margin: 24px 0 0;
	max-width: 58ch;
}

.odrin-book-hero__media {
	min-height: 430px;
	position: relative;
}

.odrin-book-hero__media img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.odrin-book-hero__actions,
.odrin-book-product-actions,
.odrin-book-discovery__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin-top: 28px;
}

.odrin-book-hero__actions .button,
.odrin-book-newsletter .button,
.odrin-book-card__button,
.odrin-book-product-actions .button,
.odrin-book-discovery .button,
.odrin-book-mobile-purchase .button {
	align-items: center;
	background: var(--odrin-book-accent);
	border: 1px solid var(--odrin-book-accent);
	border-radius: var(--odrin-child-button-radius, 4px);
	color: var(--odrin-child-action-text, #fff);
	display: inline-flex;
	justify-content: center;
	min-height: var(--odrin-child-touch-target, 44px);
	padding: 10px 20px;
	text-decoration: none;
}

.odrin-book-text-link {
	color: var(--odrin-book-heading);
	font-weight: 700;
}

.odrin-book-hero--centered {
	display: block;
	text-align: center;
}

.odrin-book-hero--centered .odrin-book-hero__content,
.odrin-book-hero--centered h1,
.odrin-book-hero--centered .odrin-book-hero__content > p {
	margin-inline: auto;
}

.odrin-book-hero--centered .odrin-book-hero__actions {
	justify-content: center;
}

.odrin-book-hero--centered .odrin-book-hero__media {
	min-height: min(50vw, 580px);
}

.odrin-book-hero--cover {
	background: #111;
	color: #fff;
	min-height: min(72vh, 760px);
}

.odrin-book-hero--cover .odrin-book-hero__content {
	background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .1));
	grid-column: 1 / -1;
	grid-row: 1;
}

.odrin-book-hero--cover .odrin-book-hero__media {
	grid-column: 1 / -1;
	grid-row: 1;
	min-height: 100%;
}

.odrin-book-hero--cover h1,
.odrin-book-hero--cover .odrin-book-text-link {
	color: #fff;
}

.odrin-book-align-center .odrin-book-hero__content {
	text-align: center;
}

.odrin-book-align-center .odrin-book-hero__content > *,
.odrin-book-align-center .odrin-book-hero__actions {
	justify-content: center;
	margin-inline: auto;
}

.odrin-book-align-right .odrin-book-hero__content {
	text-align: right;
}

.odrin-book-align-right .odrin-book-hero__content > * {
	margin-left: auto;
}

.odrin-book-align-right .odrin-book-hero__actions {
	justify-content: flex-end;
}

.odrin-book-showcase__grid {
	display: grid;
	gap: clamp(18px, 2.4vw, 34px);
	grid-template-columns: repeat(var(--odrin-book-columns, 4), minmax(0, 1fr));
}

.odrin-book-card {
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	position: relative;
	transition: box-shadow .25s ease, transform .25s ease;
}

.odrin-book-card__cover {
	background: color-mix(in srgb, var(--odrin-book-surface) 78%, var(--odrin-book-border));
	display: flex;
	justify-content: center;
	min-height: 280px;
	padding: clamp(16px, 2vw, 28px);
}

.odrin-book-card__cover img {
	contain-intrinsic-size: none;
	height: auto;
	max-height: 390px;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.odrin-book-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(16px, 2.1vw, 26px);
}

.odrin-book-card h3 {
	font-size: clamp(1.05rem, 1.4vw, 1.3rem);
	line-height: 1.25;
	margin: 0 0 8px;
}

.odrin-book-card h3 a,
.odrin-book-card__authors a {
	color: var(--odrin-book-heading);
}

.odrin-book-card__authors,
.odrin-book-card__body > p {
	color: var(--odrin-book-muted);
	line-height: 1.55;
	margin: 0 0 12px;
}

.odrin-book-card .star-rating {
	margin-bottom: 12px;
}

.odrin-book-card__price {
	color: var(--odrin-book-heading);
	font-weight: 800;
	margin: auto 0 14px;
}

.odrin-book-card__button {
	align-self: flex-start;
}

.odrin-book-badge {
	background: var(--odrin-book-accent);
	border-radius: 999px;
	color: var(--odrin-child-action-text, #fff);
	font-size: .7rem;
	font-weight: 800;
	left: 14px;
	letter-spacing: .08em;
	line-height: 1;
	padding: 8px 11px;
	position: absolute;
	top: 14px;
	z-index: 2;
}

.odrin-book-showcase--spotlight .odrin-book-showcase__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odrin-book-showcase--spotlight .odrin-book-card:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.odrin-book-showcase--spotlight .odrin-book-card:first-child .odrin-book-card__cover {
	min-height: 520px;
}

.odrin-book-showcase--carousel .odrin-book-showcase__grid {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-padding-inline: 1px;
	scroll-snap-type: inline mandatory;
	scrollbar-width: thin;
}

.odrin-book-showcase--carousel .odrin-book-card {
	flex: 0 0 clamp(230px, calc((100% - 72px) / var(--odrin-book-columns, 4)), 360px);
	scroll-snap-align: start;
}

.odrin-book-carousel-controls {
	display: flex;
	gap: 8px;
}

.odrin-book-carousel-controls button,
.odrin-book-share button {
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: 50%;
	color: var(--odrin-book-heading);
	height: 44px;
	width: 44px;
}

.odrin-book-categories__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odrin-book-category-card {
	align-items: center;
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	color: var(--odrin-book-heading);
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	min-height: 90px;
	overflow: hidden;
	text-decoration: none;
}

.odrin-book-category-card img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.odrin-book-category-card > span {
	display: flex;
	flex-direction: column;
	padding: 14px 18px;
}

.odrin-book-category-card > span:only-child {
	grid-column: 1 / -1;
}

.odrin-book-category-card small {
	color: var(--odrin-book-muted);
	margin-top: 4px;
}

.odrin-book-authors__grid {
	display: grid;
	gap: clamp(16px, 2vw, 28px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.odrin-book-author-card {
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	padding: clamp(18px, 2.2vw, 30px);
	text-align: center;
}

.odrin-book-author-card img,
.odrin-book-author-card__monogram {
	align-items: center;
	background: color-mix(in srgb, var(--odrin-book-accent) 16%, var(--odrin-book-surface));
	border-radius: 50%;
	color: var(--odrin-book-accent);
	display: flex;
	font-size: 2.25rem;
	font-weight: 800;
	height: 120px;
	justify-content: center;
	margin: 0 auto 18px;
	object-fit: cover;
	text-decoration: none;
	width: 120px;
}

.odrin-book-author-card h3 {
	margin: 0 0 6px;
}

.odrin-book-author-card h3 a {
	color: var(--odrin-book-heading);
}

.odrin-book-author-card p,
.odrin-book-author-card blockquote {
	color: var(--odrin-book-muted);
	font-size: .92rem;
	line-height: 1.6;
	margin: 10px 0 0;
}

.odrin-book-author-card__role,
.odrin-book-author-profile__role {
	color: var(--odrin-book-accent) !important;
	font-weight: 700;
}

.odrin-book-events__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odrin-book-event-card {
	align-items: start;
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	display: grid;
	gap: 18px;
	grid-template-columns: auto minmax(0, 1fr);
	padding: clamp(18px, 2.3vw, 30px);
}

.odrin-book-event-card time {
	align-items: center;
	background: color-mix(in srgb, var(--odrin-book-accent) 13%, var(--odrin-book-surface));
	border-radius: var(--odrin-book-radius);
	color: var(--odrin-book-accent);
	display: flex;
	flex-direction: column;
	min-width: 72px;
	padding: 10px;
}

.odrin-book-event-card time strong {
	font-size: 1.7rem;
	line-height: 1;
}

.odrin-book-event-card h3 {
	font-size: 1.08rem;
	line-height: 1.3;
	margin: 0 0 8px;
}

.odrin-book-event-card h3 a,
.odrin-book-event-card div > a {
	color: var(--odrin-book-heading);
}

.odrin-book-event-card p {
	color: var(--odrin-book-muted);
	margin: 0 0 10px;
}

.odrin-book-newsletter {
	align-items: center;
	background: color-mix(in srgb, var(--odrin-book-accent) 13%, var(--odrin-book-surface));
	border: 1px solid color-mix(in srgb, var(--odrin-book-accent) 35%, var(--odrin-book-border));
	border-radius: calc(var(--odrin-book-radius) * 1.5);
	display: flex;
	gap: 30px;
	justify-content: space-between;
	padding: clamp(28px, 5vw, 64px);
}

.odrin-book-newsletter p:not(.odrin-book-eyebrow) {
	color: var(--odrin-book-muted);
	margin: 12px 0 0;
	max-width: 65ch;
}

.odrin-book-product-intro {
	margin-bottom: 12px;
	position: relative;
}

.odrin-book-product-intro .odrin-book-badge {
	display: inline-block;
	left: auto;
	margin-bottom: 12px;
	position: relative;
	top: auto;
}

.odrin-book-product-subtitle {
	color: var(--odrin-book-muted);
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.45;
	margin: 0 0 6px;
}

.odrin-book-product-authors {
	color: var(--odrin-book-muted);
	margin: 0;
}

.odrin-book-product-authors a {
	color: var(--odrin-book-heading);
	font-weight: 700;
}

.odrin-book-details {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.odrin-book-details > div {
	border-bottom: 1px solid var(--odrin-book-border);
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(90px, .7fr) 1fr;
	padding: 14px 4px;
}

.odrin-book-details dt {
	color: var(--odrin-book-muted);
	font-weight: 500;
}

.odrin-book-details dd {
	color: var(--odrin-book-heading);
	font-weight: 700;
	margin: 0;
}

.odrin-book-share {
	align-items: center;
	display: flex;
	gap: 8px;
}

.odrin-book-share a,
.odrin-book-share button {
	align-items: center;
	border-radius: 999px;
	color: var(--odrin-book-heading);
	display: inline-flex;
	font-size: .86rem;
	height: 42px;
	justify-content: center;
	padding: 0 14px;
	width: auto;
}

.odrin-book-product-layout-editorial.single-product div.product .summary,
.odrin-book-product-layout-spotlight.single-product div.product .summary {
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	padding: clamp(24px, 4vw, 52px);
}

.odrin-book-product-layout-spotlight.single-product div.product {
	background: color-mix(in srgb, var(--odrin-book-accent) 8%, transparent);
	border-radius: calc(var(--odrin-book-radius) * 1.5);
	padding: clamp(18px, 4vw, 54px);
}

.odrin-book-cover-shadow-soft .odrin-book-card__cover img,
.odrin-book-cover-shadow-soft.single-product .woocommerce-product-gallery img {
	filter: drop-shadow(0 12px 16px rgba(15, 22, 25, .18));
}

.odrin-book-cover-shadow-dramatic .odrin-book-card__cover img,
.odrin-book-cover-shadow-dramatic.single-product .woocommerce-product-gallery img {
	filter: drop-shadow(14px 20px 20px rgba(15, 22, 25, .3));
}

.odrin-book-discovery {
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	clear: both;
	color: var(--odrin-book-text);
	margin: 0 0 28px;
	padding: clamp(16px, 2.4vw, 28px);
}

.odrin-book-discovery summary {
	color: var(--odrin-book-heading);
	cursor: pointer;
	font-size: 1.12rem;
	font-weight: 800;
	list-style-position: inside;
	margin-bottom: 18px;
}

.odrin-book-discovery__fields {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(120px, 1fr)) auto;
}

.odrin-book-discovery label:not(.odrin-book-discovery__check) {
	display: flex;
	flex-direction: column;
	font-size: .78rem;
	font-weight: 700;
	gap: 6px;
}

.odrin-book-discovery input[type="search"],
.odrin-book-discovery select {
	background: var(--odrin-book-canvas);
	border: 1px solid var(--odrin-book-border);
	border-radius: calc(var(--odrin-book-radius) * .65);
	color: var(--odrin-book-text);
	font: inherit;
	min-height: 44px;
	min-width: 0;
	padding: 8px 10px;
	width: 100%;
}

.odrin-book-discovery__check {
	align-items: center;
	display: flex;
	font-weight: 700;
	gap: 8px;
	min-height: 44px;
}

.odrin-book-discovery__check input {
	height: 20px;
	width: 20px;
}

.odrin-book-discovery__actions {
	margin-top: 16px;
}

.odrin-book-discovery__actions > span {
	color: var(--odrin-book-muted);
	margin-inline-start: auto;
}

.odrin-book-author-profile {
	align-items: center;
	background: var(--odrin-book-surface);
	border: 1px solid var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	display: grid;
	gap: clamp(24px, 4vw, 56px);
	grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
	padding: clamp(24px, 5vw, 64px);
}

.odrin-book-author-profile > img {
	border-radius: 50%;
	height: auto;
	width: 100%;
}

.odrin-book-author-profile blockquote {
	border-inline-start: 3px solid var(--odrin-book-accent);
	color: var(--odrin-book-muted);
	font-size: 1.1rem;
	margin: 20px 0;
	padding-inline-start: 18px;
}

.odrin-book-mobile-purchase {
	display: none;
}

.odrin-book-empty {
	background: var(--odrin-book-surface);
	border: 1px dashed var(--odrin-book-border);
	border-radius: var(--odrin-book-radius);
	color: var(--odrin-book-muted);
	margin: 24px auto;
	max-width: 900px;
	padding: 24px;
	text-align: center;
}

.odrin-book-divider-rule .odrin-book-homepage > section + section,
.odrin-book-divider-rule .odrin-book-homepage > section + .odrin-book-showcase {
	border-top: 1px solid var(--odrin-book-border);
	padding-top: var(--odrin-book-section-space);
}

.odrin-book-divider-dots .odrin-book-homepage > section + section::before,
.odrin-book-divider-wave .odrin-book-homepage > section + section::before {
	color: var(--odrin-book-accent);
	content: "•  •  •";
	display: block;
	font-weight: 800;
	letter-spacing: .4em;
	margin: calc(-.5 * var(--odrin-book-section-space)) auto calc(.5 * var(--odrin-book-section-space));
	text-align: center;
}

.odrin-book-divider-wave .odrin-book-homepage > section + section::before {
	content: "∿  ∿  ∿";
}

.odrin-book-decoration-paper {
	background-image: linear-gradient(rgba(112, 84, 56, .025), rgba(112, 84, 56, .025));
}

.odrin-book-decoration-grain {
	background-image: radial-gradient(rgba(40, 45, 48, .08) .55px, transparent .7px);
	background-size: 5px 5px;
}

.odrin-book-decoration-lines {
	background-image: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(90, 100, 105, .06) 80px);
}

.odrin-book-card-hover-lift .odrin-book-card:hover,
.odrin-book-card-hover-lift .odrin-book-category-card:hover,
.odrin-book-card-hover-lift .odrin-book-author-card:hover,
.odrin-book-card-hover-lift .odrin-book-event-card:hover {
	box-shadow: 0 18px 44px rgba(20, 29, 33, .12);
	transform: translateY(-5px);
}

.odrin-book-card-hover-tilt .odrin-book-card:hover {
	box-shadow: 8px 16px 30px rgba(20, 29, 33, .13);
	transform: perspective(800px) rotateY(-1.5deg) rotateX(1deg) translateY(-3px);
}

.odrin-book-card-hover-lift .odrin-book-category-card,
.odrin-book-card-hover-lift .odrin-book-author-card,
.odrin-book-card-hover-lift .odrin-book-event-card {
	transition: box-shadow .25s ease, transform .25s ease;
}

.odrin-book-js .odrin-book-reveal-fade [data-odrin-reveal]:not(.is-odrin-book-visible) {
	transform: scale(.985);
}

.odrin-book-js .odrin-book-reveal-rise [data-odrin-reveal]:not(.is-odrin-book-visible) {
	transform: translateY(22px);
}

[data-odrin-reveal] {
	transform-origin: center top;
	transition: transform .55s ease;
}

@media (max-width: 1100px) {
	.odrin-book-showcase__grid {
		grid-template-columns: repeat(min(var(--odrin-book-columns, 4), 3), minmax(0, 1fr));
	}

	.odrin-book-authors__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.odrin-book-events__grid,
	.odrin-book-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.odrin-book-discovery__fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	:root {
		--odrin-book-gutter: max(16px, env(safe-area-inset-left));
	}

	.odrin-book-hero {
		display: flex;
		flex-direction: column;
		margin-top: 18px;
	}

	.odrin-book-hero__content {
		padding: 30px 22px;
	}

	.odrin-book-hero h1 {
		font-size: clamp(2.15rem, 13vw, 3.8rem);
	}

	.odrin-book-hero__media,
	.odrin-book-hero--centered .odrin-book-hero__media {
		min-height: 300px;
		order: -1;
	}

	.odrin-book-hero--cover {
		display: grid;
		min-height: 600px;
	}

	.odrin-book-hero--cover .odrin-book-hero__content,
	.odrin-book-hero--cover .odrin-book-hero__media {
		grid-column: 1;
		grid-row: 1;
		order: initial;
	}

	.odrin-book-showcase__grid,
	.odrin-book-showcase--spotlight .odrin-book-showcase__grid,
	.odrin-book-categories__grid,
	.odrin-book-authors__grid,
	.odrin-book-events__grid {
		grid-template-columns: 1fr;
	}

	.odrin-book-showcase--spotlight .odrin-book-card:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	.odrin-book-showcase--spotlight .odrin-book-card:first-child .odrin-book-card__cover {
		min-height: 280px;
	}

	.odrin-book-showcase--carousel .odrin-book-card {
		flex-basis: min(82vw, 300px);
	}

	.odrin-book-mobile-compact .odrin-book-showcase:not(.odrin-book-showcase--carousel) .odrin-book-card {
		display: grid;
		grid-template-columns: minmax(118px, 37vw) minmax(0, 1fr);
	}

	.odrin-book-mobile-compact .odrin-book-card__cover {
		min-height: 220px;
		padding: 12px;
	}

	.odrin-book-mobile-compact .odrin-book-card__body {
		padding: 16px 14px;
	}

	.odrin-book-mobile-compact .odrin-book-card__body > p:not(.odrin-book-card__authors),
	.odrin-book-mobile-compact .odrin-book-card .star-rating {
		display: none;
	}

	.odrin-book-newsletter,
	.odrin-book-author-profile {
		align-items: stretch;
		display: flex;
		flex-direction: column;
	}

	.odrin-book-author-profile > img {
		max-width: 230px;
	}

	.odrin-book-details {
		grid-template-columns: 1fr;
	}

	.odrin-book-discovery__fields {
		grid-template-columns: 1fr;
	}

	.odrin-book-discovery.is-mobile-drawer details:not([open]) summary {
		margin-bottom: 0;
	}

	.odrin-book-discovery__actions > span {
		margin-inline-start: 0;
		width: 100%;
	}

	.odrin-book-mobile-purchase {
		align-items: center;
		background: color-mix(in srgb, var(--odrin-book-surface) 94%, transparent);
		border-top: 1px solid var(--odrin-book-border);
		bottom: 0;
		box-shadow: 0 -8px 28px rgba(20, 29, 33, .14);
		display: flex;
		gap: 12px;
		justify-content: space-between;
		left: 0;
		padding: 10px 14px;
		position: fixed;
		right: 0;
		z-index: 9998;
	}

	.odrin-book-mobile-purchase > div {
		display: flex;
		flex-direction: column;
		min-width: 0;
	}

	.odrin-book-mobile-purchase strong {
		color: var(--odrin-book-heading);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.odrin-book-mobile-purchase span {
		color: var(--odrin-book-muted);
		font-size: .86rem;
	}

	.odrin-book-mobile-purchase .button {
		flex: 0 0 auto;
	}

	.odrin-book-mobile-safe-actions .odrin-book-mobile-purchase {
		padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
	}

	.single-product:has(.odrin-book-mobile-purchase) {
		padding-bottom: 76px;
	}

	.odrin-book-mobile-safe-actions.single-product:has(.odrin-book-mobile-purchase) {
		padding-bottom: calc(76px + env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	.odrin-book-card,
	.odrin-book-category-card,
	.odrin-book-author-card,
	.odrin-book-event-card,
	[data-odrin-reveal] {
		scroll-behavior: auto !important;
		transition: none !important;
	}

	.odrin-book-js [data-odrin-reveal] {
		transform: none !important;
	}
}

@media (forced-colors: active) {
	.odrin-book-card,
	.odrin-book-category-card,
	.odrin-book-author-card,
	.odrin-book-event-card,
	.odrin-book-discovery,
	.odrin-book-hero,
	.odrin-book-newsletter {
		border: 1px solid CanvasText;
	}

	.odrin-book-badge,
	.odrin-book-hero__actions .button,
	.odrin-book-mobile-purchase .button {
		forced-color-adjust: none;
	}
}

[dir="rtl"] .odrin-book-badge {
	left: auto;
	right: 14px;
}

[dir="rtl"] .odrin-book-hero--cover .odrin-book-hero__content {
	background: linear-gradient(-90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .1));
}
