/* DotsMaker BookStore — Dar Shafaq Egypt */

:root {
	--dmb-brand: #e89950;
	--dmb-action: #b65013;
	--dmb-action-hover: #93410f;
	--dmb-ink: #262521;
	--dmb-muted: #6b645b;
	--dmb-canvas: #fbf8f2;
	--dmb-paper: #f3eadc;
	--dmb-line: #e6ded3;
	--dmb-footer: #292720;
	--dmb-footer-text: #f9f4ec;
	--dmb-farah: #27665d;
	--dmb-farah-mint: #e9f4e8;
	--dmb-white: #fff;
	--dmb-surface: #fff;
	--dmb-success: #27665d;
	--dmb-error: #8d2b16;
	--dmb-font: "IBM Plex Sans Arabic", sans-serif;
	--dmb-font-size: 16px;
	--dmb-line-height: 1.7;
	--dmb-shop-cols: 5;
	--dmb-max: 1330px;
	--dmb-gutter-max: 56px;
	--dmb-gutter: clamp(16px, 4vw, var(--dmb-gutter-max));
	--dmb-section-gap: 56px;
	--dmb-radius-button: 8px;
	--dmb-radius-card: 12px;
	--dmb-radius-panel: 16px;
	--dmb-shadow: 0 10px 28px rgba(38, 37, 33, 0.06);
	--dmb-book-shadow: 0 14px 22px rgba(38, 37, 33, .22);
}

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

/* Clears the compact sticky header (63px desktop, 57px mobile) for anchors and focus. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.dmb-body {
	margin: 0;
	background: var(--dmb-canvas);
	color: var(--dmb-ink);
	font-family: var(--dmb-font);
	font-size: var(--dmb-font-size);
	line-height: var(--dmb-line-height);
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

button,
input,
textarea { font: inherit; color: inherit; }

a { color: inherit; }

.dmb-skip {
	position: absolute;
	inset-inline-start: 12px;
	top: -100px;
	background: var(--dmb-ink);
	color: #fff;
	padding: 8px 12px;
	z-index: 100;
}
.dmb-skip:focus { top: 8px; }

.screen-reader-text,
.dmb-hp {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	border: 0;
}

.dmb-wrap {
	width: min(var(--dmb-max), calc(100% - (var(--dmb-gutter) * 2)));
	margin-inline: auto;
}

.dmb-icon { width: 1.35em; height: 1.35em; display: block; flex: none; }
.dmb-accent { color: var(--dmb-action); }

:focus-visible {
	outline: 2px solid var(--dmb-action);
	outline-offset: 3px;
}

/* Buttons and links */
.dmb-btn,
.dmb-card__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-action);
	color: #fff;
	text-decoration: none;
	border: 1px solid var(--dmb-action);
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.dmb-btn:hover { background: var(--dmb-action-hover); border-color: var(--dmb-action-hover); color: #fff; }
.dmb-btn .dmb-icon { width: 20px; height: 20px; }
.dmb-btn--pill {
	border-radius: 999px;
	min-height: 56px;
	padding: 0 34px;
	font-size: 18px;
}
.dmb-btn--ghost { background: transparent; color: var(--dmb-ink); border-color: var(--dmb-ink); }
.dmb-btn--ghost:hover { background: var(--dmb-ink); color: #fff; }
.dmb-btn--light { background: #fff; color: var(--dmb-action); border-color: #fff; }
.dmb-btn--light:hover { background: var(--dmb-paper); }
.dmb-btn--outline-light { background: transparent; color: #fff; border: 1.5px solid #fff; }
.dmb-btn--outline-light:hover { background: #fff; color: var(--dmb-action); border-color: #fff; }

.dmb-textlink {
	color: var(--dmb-action);
	font-weight: 600;
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.dmb-textlink .dmb-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.dmb-textlink:hover .dmb-icon { transform: translateX(-3px); }
.dmb-eyebrow {
	margin: 0 0 8px;
	color: var(--dmb-action);
	font-weight: 600;
}

/* Header: slim utility bar + one white row. The bar scrolls away; the row stays sticky. */
.dmb-chrome {
	position: relative;
	z-index: 30;
}
.dmb-chrome.is-sticky {
	position: sticky;
	top: calc(0px - var(--dmb-notice-h, 30px));
}
.admin-bar .dmb-chrome.is-sticky { top: calc(32px - var(--dmb-notice-h, 30px)); }
@media (max-width: 782px) {
	.admin-bar .dmb-chrome.is-sticky { top: calc(46px - var(--dmb-notice-h, 30px)); }
}
@media (max-width: 600px) {
	.admin-bar .dmb-chrome.is-sticky { top: calc(0px - var(--dmb-notice-h, 30px)); }
}
.dmb-chrome.is-stuck { margin-bottom: var(--dmb-row-shrink, 0px); }

.dmb-notice {
	background: var(--dmb-footer);
	color: var(--dmb-footer-text);
	font-size: 13px;
	line-height: 1.4;
}
.dmb-notice__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 30px;
}
.dmb-notice p { margin: 0; }
.dmb-notice__links { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.dmb-notice__links span { opacity: .45; }
.dmb-notice a { color: inherit; text-decoration: none; padding: 6px 0; }
.dmb-notice a:hover { color: var(--dmb-brand); }

.dmb-region { position: relative; flex: none; }
.dmb-region__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}
.dmb-region__btn:hover { color: var(--dmb-brand); }
.dmb-region__btn .dmb-icon { width: 14px; height: 14px; transition: transform .2s ease; }
.dmb-region__btn[aria-expanded="true"] .dmb-icon { transform: rotate(180deg); }
.dmb-region__sep { opacity: .5; }
.dmb-flag { width: 21px; height: 14px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); flex: none; }
.dmb-region__panel {
	position: absolute;
	top: calc(100% + 4px);
	inset-inline-end: 0;
	z-index: 60;
	width: 250px;
	background: var(--dmb-surface);
	color: var(--dmb-ink);
	border: 1px solid var(--dmb-line);
	border-radius: 12px;
	box-shadow: var(--dmb-shadow);
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.6;
}
.dmb-region__panel p { margin: 0; }

.dmb-header {
	--dmb-row-h: 78px;
	--dmb-row-h-stuck: 62px;
	--dmb-logo-h: 54px;
	--dmb-logo-h-stuck: 44px;
	--dmb-icon-gap: 8px;
	--dmb-icon-size: 24px;
	background: var(--dmb-surface);
	border-bottom: 1px solid var(--dmb-line);
	transition: box-shadow .25s ease;
}
.dmb-chrome.is-stuck .dmb-header { box-shadow: 0 6px 18px rgba(38, 37, 33, .08); }
.dmb-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: var(--dmb-row-h);
}
.dmb-chrome.is-stuck .dmb-header__inner { min-height: var(--dmb-row-h-stuck); }
.dmb-header.no-nav .dmb-header__inner { grid-template-columns: auto 1fr; }
.dmb-header__start { display: none; align-items: center; gap: 2px; }
.dmb-logo { display: flex; align-items: center; text-decoration: none; }
.dmb-body .dmb-logo__img {
	display: block;
	width: auto;
	height: var(--dmb-logo-h);
	max-width: none;
	max-height: none;
	object-fit: contain;
	transition: transform .25s ease;
}
/* The row height changes in one step (offset by the chrome margin); only the logo animates. */
.dmb-body .dmb-chrome.is-stuck .dmb-logo__img { transform: scale(var(--dmb-logo-scale, .8)); }

.dmb-header__nav { min-width: 0; display: flex; justify-content: center; }
.dmb-header__nav .dmb-nav__list { flex-wrap: nowrap; gap: 0 clamp(22px, 2.7vw, 40px); }
.dmb-header__nav .dmb-nav__list a { min-height: 44px; font-size: 17px; white-space: nowrap; }
.dmb-header__nav .dmb-nav__list > .current-menu-item > a:not([href*="#"])::after { bottom: 3px; }

.dmb-search {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: 999px;
	min-height: 58px;
	padding-inline: 22px 8px;
	box-shadow: 0 2px 10px rgba(38, 37, 33, .03);
}
.dmb-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	min-height: 48px;
	padding: 0;
	outline: none;
	font-size: 16px;
}
.dmb-search:focus-within { border-color: var(--dmb-action); box-shadow: 0 0 0 3px rgba(182, 80, 19, .14); }
.dmb-search input::placeholder { color: #9a9187; }
.dmb-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dmb-search button {
	border: 0;
	background: transparent;
	min-width: 46px;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--dmb-action);
}
.dmb-search button .dmb-icon { width: 24px; height: 24px; }
.dmb-search__panel {
	position: absolute;
	z-index: 40;
	inset-inline: 0;
	top: calc(100% + 8px);
	max-height: min(60vh, 420px);
	overflow: auto;
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: 14px;
	box-shadow: var(--dmb-shadow);
	padding: 8px;
	text-align: start;
}
.dmb-search__panel a {
	display: flex;
	gap: 10px;
	align-items: center;
	text-decoration: none;
	padding: 8px;
	border-radius: 8px;
}
.dmb-search__panel a:hover,
.dmb-search__panel a:focus-visible { background: var(--dmb-paper); }
.dmb-body .dmb-search__panel img { width: 36px; height: 48px; object-fit: contain; }
.dmb-search__panel small { display: block; color: var(--dmb-muted); }

.dmb-header__tools { display: flex; align-items: center; gap: var(--dmb-icon-gap); justify-self: end; }
.dmb-iconbtn {
	position: relative;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--dmb-ink);
	text-decoration: none;
	cursor: pointer;
	border-radius: 999px;
	transition: background-color .2s ease, color .2s ease;
}
.dmb-iconbtn .dmb-icon { width: var(--dmb-icon-size); height: var(--dmb-icon-size); }
.dmb-iconbtn:hover { background: var(--dmb-paper); color: var(--dmb-action); }
.dmb-search-open { color: var(--dmb-action); }
.dmb-search-open--compact { display: none; }
.dmb-cart-count {
	position: absolute;
	top: 1px;
	inset-inline-end: 0;
	min-width: 19px;
	height: 19px;
	border-radius: 999px;
	background: var(--dmb-action);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
	padding: 0 5px;
	box-shadow: 0 0 0 2px #fff;
}

.dmb-nav { background: var(--dmb-surface); border-bottom: 1px solid var(--dmb-line); }
.dmb-nav__list,
.dmb-drawer__list,
.dmb-footer__links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 44px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dmb-nav__list a,
.dmb-drawer__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 60px;
	text-decoration: none;
	font-weight: 500;
	font-size: 17px;
	transition: color .2s ease;
}
.dmb-nav__list .current-menu-item > a:not([href*="#"]),
.dmb-nav__list a:hover { color: var(--dmb-action); }
.dmb-nav__list > .current-menu-item > a:not([href*="#"])::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 8px;
	height: 2px;
	background: var(--dmb-action);
	border-radius: 2px;
}
.dmb-nav__list li { position: relative; display: flex; align-items: center; }
.dmb-subtoggle {
	border: 0;
	background: transparent;
	min-width: 32px;
	min-height: 44px;
	cursor: pointer;
}
.dmb-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 220px;
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: 12px;
	padding: 8px;
	box-shadow: var(--dmb-shadow);
	z-index: 20;
	flex-direction: column;
	align-items: stretch;
}
.dmb-nav__list .sub-menu a { min-height: 44px; }
.dmb-nav__list li:hover > .sub-menu,
.dmb-nav__list li:focus-within > .sub-menu,
.dmb-nav__list li.is-open > .sub-menu { display: flex; }

/* Scenes: a 3:1 stage that covers its frame and keeps covers pinned to the artwork */
.dmb-hero__frame {
	position: absolute;
	inset: 0;
	overflow: hidden;
	container-type: size;
}
.dmb-hero__stage {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: max(100cqw, 300cqh);
	height: max(100cqh, 33.3333cqw);
}
.dmb-body .dmb-hero__scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}
.dmb-body .dmb-hero__cover {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	max-width: none;
	height: auto;
	filter: drop-shadow(0 18px 18px rgba(38, 37, 33, .28));
	z-index: 1;
}

/* Hero */
.dmb-hero { position: relative; background: var(--dmb-paper); }
.dmb-hero .dmb-hero__stage {
	top: 0;
	transform: none;
	width: max(100cqw, 315cqh);
	height: max(105cqh, 33.3333cqw);
}
.dmb-hero__slide {
	position: relative;
	aspect-ratio: 1440 / 610;
	min-height: 480px;
	max-height: 760px;
	width: 100%;
}
.dmb-hero__slide[hidden] { display: none; }
.dmb-hero__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	padding-bottom: 20px;
}
.dmb-hero__copy { width: min(540px, 40%); }
.dmb-hero__eyebrow {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 500;
	color: var(--dmb-ink);
}
.dmb-hero__title {
	margin: 0 0 18px;
	font-size: clamp(44px, 5.4vw, 80px);
	line-height: 1.22;
	font-weight: 700;
	letter-spacing: -.01em;
}
.dmb-hero__title span { display: block; }
.dmb-hero__title .dmb-hero__accent { color: var(--dmb-action); }
.dmb-hero__desc { margin: 0 0 26px; color: #3b3832; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.6; max-width: 20ch; }
.dmb-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dmb-hero__actions .dmb-btn { min-width: 262px; }
.dmb-hero__actions .dmb-textlink { font-size: 17px; }
.dmb-body .dmb-hero__mobile { display: none; width: 100%; height: auto; }
.dmb-picture { display: contents; }
.dmb-hero__controls {
	position: absolute;
	inset-inline: 0;
	bottom: 18px;
	z-index: 3;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}
.dmb-hero__pager {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, .92);
	border-radius: 999px;
	padding: 4px 8px;
	box-shadow: 0 6px 18px rgba(38, 37, 33, .08);
}
.dmb-hero__arrow {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 999px;
}
.dmb-hero__arrow:hover { background: var(--dmb-paper); }
.dmb-hero__arrow .dmb-icon { width: 20px; height: 20px; }
.dmb-hero__count { font-size: 15px; font-weight: 500; letter-spacing: .04em; padding-inline: 4px; }
.dmb-hero__count b { font-weight: 600; }
.dmb-hero__dots { display: inline-flex; align-items: center; gap: 2px; }
.dmb-hero__dots button {
	width: 22px;
	height: 28px;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}
.dmb-hero__dots button::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 11px;
	height: 11px;
	border-radius: 99px;
	border: 1.5px solid var(--dmb-ink);
}
.dmb-hero__dots button[aria-selected="true"]::before { background: var(--dmb-ink); }

/* Section heads */
.dmb-section { padding: 48px 0; }
.dmb-section__head {
	display: flex;
	align-items: flex-start;
	gap: 16px 40px;
	margin-bottom: 26px;
}
.dmb-section__titles { flex: none; }
.dmb-section__head > .dmb-textlink { margin-inline-start: auto; font-size: 17px; }
.dmb-section__head h2,
.dmb-authorfeat h2,
.dmb-farah h2,
.dmb-about h2,
.dmb-publish h2,
.dmb-news h2 {
	margin: 0;
	font-size: clamp(26px, 2.7vw, 40px);
	line-height: 1.35;
	font-weight: 700;
}
.dmb-section__head p { margin: 4px 0 0; color: var(--dmb-muted); font-size: 19px; }

.dmb-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; padding-top: 8px; }
.dmb-tab {
	border: 0;
	background: transparent;
	min-height: 44px;
	padding: 0 4px;
	font-size: 17px;
	font-weight: 500;
	color: #4a463f;
	cursor: pointer;
	border-radius: var(--dmb-radius-button);
}
.dmb-tab:hover { color: var(--dmb-action); }
.dmb-tab[aria-selected="true"] { background: var(--dmb-action); color: #fff; padding: 0 30px; }
.dmb-tabpanel[hidden] { display: none; }

/* Categories */
.dmb-cats { padding: 40px 0 0; }
.dmb-cats__grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
	margin-block: 0;
	padding: 0;
}
.dmb-cats__grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 172px;
	padding: 18px 10px;
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-card);
	text-align: center;
	text-decoration: none;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.45;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dmb-cats__grid a:hover { border-color: var(--dmb-brand); }
.dmb-cats__icon { color: var(--dmb-action); }
.dmb-cats__icon .dmb-icon { width: 52px; height: 52px; }

/* Book cards */
.dmb-grid {
	--dmb-cols: 5;
	display: grid;
	grid-template-columns: repeat(var(--dmb-cols), minmax(0, 1fr));
	gap: 26px;
	list-style: none;
	margin-block: 0;
	padding: 0;
}
.dmb-grid > li { display: flex; min-width: 0; }
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--dmb-shop-cols), minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.dmb-card {
	position: relative;
	width: 100%;
	background: var(--dmb-surface);
	border: 1px solid #eee6da;
	border-radius: var(--dmb-radius-card);
	padding: 22px 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: center;
	min-width: 0;
	transition: transform .25s ease, box-shadow .25s ease;
}
.dmb-card__media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 330px;
	padding: 6px 0 4px;
}
/* A fixed box sized by the card, not by the file, so covers never resize as they load.
   drop-shadow follows the painted cover inside the contain box. */
.dmb-body .dmb-card__cover {
	width: 88%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	object-position: 50% 100%;
	filter: drop-shadow(0 12px 10px rgba(38, 37, 33, .2));
}
.dmb-card__title { margin: 18px 0 0; font-size: 19px; line-height: 1.45; font-weight: 600; }
.dmb-card__title a { text-decoration: none; }
.dmb-card__author { margin: 6px 0 0; color: var(--dmb-muted); font-size: 16px; }
.dmb-card__author a { text-decoration: none; }
.dmb-card__foot {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
}
.dmb-price { font-weight: 700; color: var(--dmb-action); font-size: 23px; line-height: 1.3; }
.dmb-price--unset { color: var(--dmb-muted); font-size: 14px; font-weight: 500; }
.woocommerce-Price-currencySymbol { font-weight: 600; margin-inline-start: 5px; font-size: .85em; }
.dmb-card__add {
	width: 100%;
	min-height: 52px;
	background: transparent;
	color: var(--dmb-action);
	border: 1.5px solid var(--dmb-action);
	font-size: 17px;
	font-weight: 500;
}
.dmb-card__add .dmb-icon { width: 22px; height: 22px; }
.dmb-card__add:hover { background: var(--dmb-action); color: #fff; }
.dmb-card__add.loading { opacity: .6; }
.dmb-card .added_to_cart { display: none; }
.dmb-card__soon { color: var(--dmb-muted); font-size: 14px; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.dmb-wish {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--dmb-ink);
	z-index: 1;
}
.dmb-wish .dmb-icon { width: 24px; height: 24px; }
.dmb-wish.is-on { color: var(--dmb-action); }
.dmb-wish.is-on svg * { fill: currentColor; }
.dmb-card--compact { padding: 16px 14px 14px; }
.dmb-card--compact .dmb-card__media { height: 250px; }
.dmb-card--compact .dmb-card__title { margin-top: 12px; font-size: 17px; }
.dmb-card--compact .dmb-card__foot { flex-direction: row; align-items: center; justify-content: space-between; }
.dmb-card--compact .dmb-price { font-size: 19px; }
.dmb-card--compact .dmb-card__add { width: 44px; min-height: 44px; padding: 0; flex: none; }
.dmb-card--compact .dmb-card__add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dmb-card--compact .dmb-card__soon { min-height: 44px; }
.dmb-card--horizontal {
	display: grid;
	grid-template-columns: minmax(96px, 180px) minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: 18px;
	text-align: start;
	padding: 18px;
}
.dmb-card--horizontal .dmb-card__media { grid-row: 1 / span 3; height: 190px; align-items: center; padding: 0; }
.dmb-body .dmb-card--horizontal .dmb-card__cover { object-position: 50% 50%; }
.dmb-card--horizontal .dmb-card__title { margin-top: 4px; padding-inline-end: 40px; }
.dmb-card--horizontal .dmb-card__foot { align-items: flex-start; }
.dmb-card--horizontal .dmb-card__add { width: auto; min-height: 44px; }
.dmb-card--horizontal .dmb-card__soon { justify-content: flex-start; min-height: 44px; }
.dmb-empty { grid-column: 1 / -1; color: var(--dmb-muted); padding: 24px 0; }
.dmb-products { padding: 60px 0 44px; }

/* Featured author */
.dmb-authorfeat {
	position: relative;
	aspect-ratio: 1440 / 435;
	min-height: 380px;
	width: 100%;
	background: var(--dmb-paper);
	overflow: hidden;
}
.dmb-authorfeat__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
}
.dmb-authorfeat__copy { width: min(470px, 36%); }
.dmb-authorfeat__copy .dmb-eyebrow { font-size: 18px; margin-bottom: 10px; }
.dmb-authorfeat__copy .dmb-eyebrow::after { content: "_"; }
.dmb-authorfeat h2 { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: 14px; }
.dmb-authorfeat__copy p:not(.dmb-eyebrow) { margin: 0 0 26px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.6; color: #3b3832; max-width: 22ch; }
.dmb-authorfeat__copy .dmb-btn { min-width: 250px; }

/* Farah */
.dmb-farah {
	position: relative;
	padding: 40px 0 0;
	min-height: 515px;
	overflow: hidden;
	background: var(--dmb-farah-mint);
}
.dmb-body .dmb-farah__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}
.dmb-farah__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(250px, 1fr) minmax(150px, .7fr) minmax(0, 2.6fr);
	gap: 0 24px;
	align-items: stretch;
	min-height: 475px;
}
.dmb-farah__copy { color: var(--dmb-farah); align-self: center; padding-bottom: 40px; }
.dmb-farah__copy .dmb-eyebrow { color: var(--dmb-farah); font-size: 18px; margin-bottom: 10px; }
.dmb-farah__copy .dmb-eyebrow::after { content: "_"; }
.dmb-farah h2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.3; margin-bottom: 14px; }
.dmb-farah h2 span { display: block; }
.dmb-farah__copy p:not(.dmb-eyebrow) { color: #35514b; font-size: 19px; line-height: 1.6; margin: 0 0 26px; max-width: 26ch; }
.dmb-farah__copy .dmb-btn { background: var(--dmb-farah); border-color: var(--dmb-farah); min-height: 56px; }
.dmb-farah__copy .dmb-btn:hover { background: #1c4d46; border-color: #1c4d46; }
.dmb-farah__character { align-self: end; display: flex; justify-content: center; }
.dmb-body .dmb-farah__character img { width: min(210px, 100%); display: block; }
.dmb-farah__books { --dmb-cols: 3; align-self: start; }
.dmb-farah .dmb-card { padding: 18px 18px 18px; }
.dmb-farah .dmb-card__media { height: 222px; align-items: center; }
.dmb-farah .dmb-body .dmb-card__cover,
.dmb-body .dmb-farah .dmb-card__cover { width: 100%; object-position: 50% 50%; }
.dmb-farah .dmb-card__title { margin-top: 14px; font-size: 18px; }
.dmb-farah .dmb-card__foot { gap: 10px; }

/* Authors */
.dmb-authors { padding: 40px 0 50px; }
.dmb-authors .dmb-section__head { margin-bottom: 22px; }
.dmb-authors__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	margin-block: 0;
	padding: 0;
}
.dmb-authors__row a {
	display: flex;
	align-items: stretch;
	gap: 22px;
	min-height: 198px;
	padding: 16px 20px;
	text-decoration: none;
	background: #fffdfa;
	border: 1px solid #ece3d6;
	border-radius: var(--dmb-radius-card);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.dmb-authors__row a:hover { border-color: var(--dmb-brand); box-shadow: var(--dmb-shadow); }
.dmb-authors__avatar {
	flex: 0 0 124px;
	height: 166px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dmb-body .dmb-authors__avatar img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--dmb-book-shadow); }
.dmb-authors__text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-top: 30px; }
.dmb-authors__name { font-weight: 700; font-size: 19px; line-height: 1.4; }
.dmb-authors__text .dmb-textlink { margin-top: auto; font-size: 16px; }

/* About + publishing */
.dmb-split,
.elementor-widget-dmb_about,
.elementor-widget-dmb_publishing { min-width: 0; }

.dmb-home-split,
.e-con.dmb-home-split {
	display: grid;
	grid-template-columns: 1.21fr 1fr;
	gap: 24px;
	width: min(var(--dmb-max), calc(100% - (var(--dmb-gutter) * 2)));
	margin: 0 auto 32px;
}
.dmb-home-split > .e-con { width: auto; max-width: none; }
.dmb-home-split .elementor-widget,
.dmb-home-split .elementor-widget-container { height: 100%; }
.dmb-about,
.dmb-publish {
	position: relative;
	height: 100%;
	min-height: 340px;
	border-radius: var(--dmb-radius-panel);
	overflow: hidden;
}
.dmb-about { background: #f6ebdc; display: flex; align-items: center; }
.dmb-about__copy { position: relative; z-index: 1; width: 64%; padding: 34px 40px; }
.dmb-about h2 { font-size: clamp(22px, 2.1vw, 31px); margin-bottom: 14px; }
.dmb-about p { margin: 0 0 14px; font-size: 17px; line-height: 1.8; color: #4a463f; max-width: 20em; }
.dmb-about .dmb-textlink { font-size: 17px; }
.dmb-body .dmb-about__art {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60%;
	height: auto;
	max-width: none;
	pointer-events: none;
}
.dmb-publish { background: #b95a1c; color: #fff; display: flex; align-items: center; }
.dmb-body .dmb-publish__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: left center;
	pointer-events: none;
}
.dmb-publish__copy { position: relative; margin-inline-start: 0; width: 64%; padding: 34px 32px; }
.dmb-publish h2 { font-size: clamp(21px, 2vw, 29px); margin-bottom: 10px; color: #fff; }
.dmb-publish p { color: #fff; margin: 0 0 22px; font-size: 18px; }
.dmb-publish .dmb-btn { min-height: 58px; min-width: 210px; }

/* Newsletter */
.dmb-news { padding: 0 0 24px; }
.dmb-news__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr) minmax(200px, .75fr);
	gap: 24px;
	align-items: center;
	min-height: 162px;
	background: #f6ebdc;
	border-radius: var(--dmb-radius-panel);
	padding: 24px 40px;
	overflow: hidden;
}
.dmb-news h2 { font-size: clamp(24px, 2.3vw, 36px); margin-bottom: 6px; }
.dmb-news__copy p { margin: 0; font-size: 18px; color: #4a463f; }
.dmb-news__form {
	display: flex;
	align-items: stretch;
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	overflow: hidden;
	max-width: 440px;
	min-height: 56px;
}
.dmb-news__form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0 18px;
	outline: none;
	font-size: 16px;
}
.dmb-news__form:focus-within { border-color: var(--dmb-action); box-shadow: 0 0 0 3px rgba(182, 80, 19, .16); }
.dmb-news__form .dmb-btn { border-radius: 0; min-width: 136px; font-size: 18px; }
.dmb-news__form .dmb-btn:focus-visible { outline-offset: -4px; outline-color: #fff; }
.dmb-body .dmb-news__art { width: 100%; max-width: 280px; height: auto; justify-self: end; margin: -24px 0; }
.dmb-form__status { min-height: 1.4em; margin: 8px 0 0; color: var(--dmb-success); font-weight: 600; }
.dmb-form__status:empty { display: none; }
.dmb-form__status.is-error { color: var(--dmb-error); }

/* Footer */
.dmb-footer {
	background: var(--dmb-footer);
	color: var(--dmb-footer-text);
	padding: 52px 0 20px;
}
.dmb-footer a { color: inherit; text-decoration: none; }
.dmb-footer a:hover { color: var(--dmb-brand); }
.dmb-footer__main,
.dmb-footer .e-con.dmb-footer__main {
	width: min(var(--dmb-max), calc(100% - (var(--dmb-gutter) * 2)));
	margin-inline: auto;
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	justify-content: flex-start;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(249, 244, 236, .16);
}
.dmb-footer__main > .elementor-widget-dmb_footer_brand,
.dmb-footer__main > .elementor-element:first-child { width: auto; flex: 0 0 auto; }
.dmb-footer__main > .elementor-widget-dmb_footer_links { flex: 1 1 auto; width: auto; }
.dmb-footer__brand {
	width: 320px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-inline-end: 40px;
	border-inline-end: 1px solid rgba(249, 244, 236, .2);
}
.dmb-footer__logo {
	display: inline-flex;
	margin-bottom: 14px;
}
.dmb-body .dmb-footer__logo img {
	width: auto;
	height: 96px;
	max-width: 110px;
	max-height: 96px;
	object-fit: contain;
	display: block;
	border-radius: 6px;
}
.dmb-footer__brand p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 9.5em; }
.dmb-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 230px));
	gap: 24px;
	padding-inline-start: 110px;
}
.dmb-footer__col h2 { margin: 0 0 14px; font-size: 19px; font-weight: 700; }
.dmb-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; }
.dmb-footer__links a { min-height: 38px; display: inline-flex; align-items: center; font-size: 17px; color: #e6dfd4; }
.dmb-footer__bottom {
	width: min(var(--dmb-max), calc(100% - (var(--dmb-gutter) * 2)));
	margin: 0 auto;
	font-size: 15px;
}
.dmb-footer__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 76px;
	border-bottom: 1px solid rgba(249, 244, 236, .16);
}
.dmb-footer__region { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; }
.dmb-footer__region .dmb-flag { width: 32px; height: 21px; }
.dmb-footer__contact { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.dmb-footer__contact a { direction: ltr; unicode-bidi: isolate; }
.dmb-footer__legal {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-top: 18px;
	color: #cfc6b9;
}
.dmb-footer__legal p { margin: 0; }
.dmb-footer__legal p:first-child { grid-column: 2; }
.dmb-footer__legal p:nth-child(2) { grid-column: 3; justify-self: end; }
.dmb-social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.dmb-social a {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.dmb-social svg { width: 26px; height: 26px; }

/* Overlays */
.dmb-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(38, 37, 33, .46);
	z-index: 70;
}
.dmb-drawer,
.dmb-dialog {
	position: fixed;
	z-index: 80;
	background: #fffdf9;
	color: var(--dmb-ink);
	box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.dmb-drawer {
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	width: min(420px, 88vw);
	padding: 16px;
	overflow: auto;
}
.dmb-dialog {
	top: 12vh;
	inset-inline: 16px;
	margin-inline: auto;
	max-width: 640px;
	border-radius: 16px;
	padding: 16px;
}
.dmb-drawer__head,
.dmb-dialog__head { display: flex; justify-content: space-between; align-items: center; }
.dmb-drawer__close {
	width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.dmb-drawer__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 0; }
.dmb-drawer__list a { min-height: 48px; }
.dmb-drawer__list .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding-inline-start: 12px; }
.dmb-drawer__list li.is-open > .sub-menu { display: flex; }
.dmb-drawer__list .current-menu-item > a:not([href*="#"]) { color: var(--dmb-action); }
.dmb-drawer__utility {
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--dmb-line);
}
.dmb-drawer__utility a { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 500; }
.dmb-drawer__utility .dmb-icon { width: 22px; height: 22px; color: var(--dmb-action); }
.dmb-drawer__region { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; color: var(--dmb-muted); font-size: 14px; }
.dmb-minicart__list { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dmb-minicart__item { display: flex; gap: 10px; align-items: center; }
.dmb-body .dmb-minicart__thumb img { width: 52px; height: auto; }
.dmb-minicart__meta { display: block; color: var(--dmb-muted); font-size: 14px; }
.dmb-minicart__total { display: flex; justify-content: space-between; }
.dmb-minicart__actions { display: flex; gap: 8px; }
.dmb-minicart__actions .dmb-btn { flex: 1; }

/* Inner pages */
.dmb-page { padding: 36px 0 64px; }
.dmb-page h1 { margin-top: 0; font-size: clamp(32px, 4vw, 48px); }
.dmb-entry__content > * + * { margin-top: 1em; }
.dmb-store { padding: 28px 0 64px; }
.dmb-crumb { font-size: 14px; color: var(--dmb-muted); margin-bottom: 16px; }
.dmb-crumb a { color: inherit; }
.dmb-single-author { margin: 0 0 8px; }
.dmb-single-author a { color: var(--dmb-action); font-weight: 600; text-decoration: none; }
.dmb-author-archive__head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.dmb-form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.dmb-form input,
.dmb-form textarea {
	border: 1px solid var(--dmb-line);
	border-radius: 10px;
	padding: 12px 14px;
	background: #fff;
	min-height: 44px;
}
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button {
	background: var(--dmb-action) !important;
	color: #fff !important;
	border-radius: var(--dmb-radius-button) !important;
	min-height: 44px;
	font-family: inherit !important;
}
.dmb-body .wc-block-components-button.contained {
	background: var(--dmb-action);
	color: #fff;
	border-radius: var(--dmb-radius-button);
	font-family: inherit;
	font-weight: 700;
	min-height: 48px;
}
.dmb-body .wc-block-components-button.contained:hover,
.dmb-body .wc-block-components-button.contained:focus-visible { background: var(--dmb-action-hover); color: #fff; }
.woocommerce div.product div.images img { border-radius: 12px; background: #f7f3ec; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--dmb-action); }

/* Laptop */
@media (max-width: 1280px) {
	.dmb-grid { gap: 18px; }
	.dmb-card { padding: 18px 14px 16px; }
	.dmb-card__media { height: 280px; }
	.dmb-cats__grid { gap: 12px; }
	.dmb-cats__grid a { font-size: 16px; min-height: 150px; }
	.dmb-authors__row { gap: 16px; }
	.dmb-authors__avatar { flex-basis: 96px; height: 140px; }
	.dmb-footer__cols { padding-inline-start: 60px; }
	.dmb-header__inner { gap: 20px; }
	.dmb-header__nav .dmb-nav__list { gap: 0 22px; }
	.dmb-header__nav .dmb-nav__list a { font-size: 15px; }
	.dmb-header { --dmb-icon-gap: 4px; }
}

/* Tablet: the menu moves into the drawer before the links get cramped */
@media (max-width: 1100px) {
	.dmb-header { --dmb-row-h: 72px; --dmb-row-h-stuck: 60px; --dmb-logo-h: 50px; --dmb-logo-h-stuck: 42px; }
	.dmb-header__inner,
	.dmb-header.no-nav .dmb-header__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
	.dmb-header__start { display: flex; }
	.dmb-header__nav { display: none; }
	.dmb-search-open--compact { display: inline-flex; }
	.dmb-search-open--wide { display: none; }
	.dmb-hero__copy { width: min(400px, 42%); }
	.dmb-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.dmb-grid,
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dmb-products .dmb-grid > li:nth-child(n+4) { display: none; }
	.dmb-section__head { flex-wrap: wrap; }
	.dmb-section__head > .dmb-textlink { order: 2; }
	.dmb-tabs { order: 3; flex-basis: 100%; padding-top: 0; }
	.dmb-authorfeat__copy { width: min(420px, 44%); }
	.dmb-farah__grid { grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); }
	.dmb-farah__character { display: none; }
	.dmb-farah__copy { padding-bottom: 40px; }
	.dmb-farah__books { padding-bottom: 40px; }
	.dmb-authors__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dmb-home-split,
	.e-con.dmb-home-split { grid-template-columns: 1fr; }
	.dmb-news__panel { grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); }
	.dmb-body .dmb-news__art { display: none; }
	.dmb-footer__main,
	.dmb-footer .e-con.dmb-footer__main { flex-wrap: wrap; }
	.dmb-footer__brand { width: 260px; padding-inline-end: 28px; }
	.dmb-footer__cols { padding-inline-start: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Small tablet */
@media (max-width: 900px) {
	.dmb-hero__slide { aspect-ratio: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
	.dmb-hero__slide .dmb-hero__frame { position: relative; inset: auto; aspect-ratio: 1.45; order: 2; }
	.dmb-body .dmb-hero__slide .dmb-hero__cover { left: var(--x); }
	.dmb-hero__slide.has-mobile .dmb-hero__frame { display: none; }
	.dmb-body .dmb-hero__slide.has-mobile .dmb-hero__mobile { display: block; order: 2; aspect-ratio: 1.45; object-fit: cover; object-position: 50% 100%; }
	.dmb-hero__inner { order: 1; height: auto; padding: 36px 0 24px; }
	.dmb-hero__copy { width: 100%; }
	.dmb-hero__desc { max-width: 32ch; }
	.dmb-hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
	.dmb-hero__controls { position: relative; bottom: auto; justify-content: center; padding: 14px 0 18px; }
	.dmb-authorfeat { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; }
	.dmb-authorfeat .dmb-hero__frame { position: relative; inset: auto; aspect-ratio: 1.9; order: 2; }
	.dmb-authorfeat__inner { order: 1; padding: 36px 0 12px; }
	.dmb-authorfeat__copy { width: 100%; }
	.dmb-authorfeat__copy p:not(.dmb-eyebrow) { max-width: 36ch; }
	.dmb-about__copy { width: 66%; }
	.dmb-farah__grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
	.dmb-farah__copy { padding-bottom: 12px; }
	.dmb-farah__copy p:not(.dmb-eyebrow) { max-width: 40ch; }
	.dmb-farah__books { padding-bottom: 36px; }
	.dmb-footer__main,
	.dmb-footer .e-con.dmb-footer__main { flex-direction: column; flex-wrap: nowrap; gap: 28px; }
	.dmb-footer__main > .elementor-element { width: 100%; }
	.dmb-footer__brand { width: 100%; flex-direction: row; justify-content: flex-start; gap: 18px; text-align: start; padding: 0 0 24px; border-inline-end: 0; border-bottom: 1px solid rgba(249, 244, 236, .16); }
	.dmb-footer__logo { margin-bottom: 0; }
	.dmb-footer__cols { padding-inline-start: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dmb-footer__legal { grid-template-columns: 1fr; text-align: center; gap: 4px; }
	.dmb-footer__legal p:first-child,
	.dmb-footer__legal p:nth-child(2) { grid-column: auto; justify-self: center; }
}

/* Phone */
@media (max-width: 767px) {
	.dmb-notice { font-size: 12px; }
	.dmb-notice__inner { gap: 10px; }
	.dmb-notice__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.dmb-notice__links { display: none; }
	.dmb-region__btn { font-size: 12px; gap: 5px; }
	.dmb-header { --dmb-row-h: 64px; --dmb-row-h-stuck: 56px; --dmb-logo-h: 46px; --dmb-logo-h-stuck: 40px; --dmb-icon-gap: 2px; }
	.dmb-header__inner,
	.dmb-header.no-nav .dmb-header__inner { gap: 6px; }
	.dmb-iconbtn--account,
	.dmb-iconbtn--wishlist { display: none; }
	.dmb-nav { display: none; }
	.dmb-hero__eyebrow { font-size: 16px; margin-bottom: 8px; }
	.dmb-hero__title { font-size: 40px; margin-bottom: 12px; }
	.dmb-hero__desc { font-size: 18px; margin-bottom: 18px; }
	.dmb-btn--pill { min-height: 52px; padding: 0 26px; font-size: 17px; }
	.dmb-hero__actions .dmb-btn { min-width: 0; }
	.dmb-section { padding: 36px 0; }
	.dmb-section__head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; }
	.dmb-section__head > .dmb-textlink { margin-inline-start: 0; order: 3; }
	.dmb-section__head p { font-size: 16px; }
	.dmb-tabs { order: 2; flex-wrap: nowrap; overflow-x: auto; gap: 6px 18px; max-width: 100%; padding-bottom: 2px; }
	.dmb-tab { flex: none; font-size: 16px; }
	.dmb-tab[aria-selected="true"] { padding: 0 22px; }
	.dmb-cats { padding-top: 32px; }
	.dmb-cats__grid {
		display: flex;
		overflow-x: auto;
		gap: 10px;
		padding-bottom: 8px;
		scroll-snap-type: x mandatory;
	}
	.dmb-cats__grid li { flex: 0 0 112px; scroll-snap-align: start; }
	.dmb-cats__grid a { min-height: 124px; gap: 10px; font-size: 15px; }
	.dmb-cats__icon .dmb-icon { width: 38px; height: 38px; }
	.dmb-grid,
	.woocommerce ul.products,
	.dmb-farah__books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dmb-products .dmb-grid > li:nth-child(n+4) { display: flex; }
	.dmb-products .dmb-grid > li:nth-child(n+5) { display: none; }
	.dmb-card { padding: 14px 10px 12px; }
	.dmb-card__media,
	.dmb-farah .dmb-card__media { height: 200px; }
	.dmb-card__title { font-size: 16px; margin-top: 12px; }
	.dmb-card__author { font-size: 14px; }
	.dmb-price { font-size: 19px; }
	.dmb-card__add { min-height: 44px; font-size: 15px; gap: 6px; }
	.dmb-wish { top: 6px; inset-inline-end: 6px; }
	.dmb-farah { padding-top: 32px; }
	.dmb-farah__grid { grid-template-columns: 1fr; min-height: 0; }
	.dmb-farah__copy { padding-bottom: 20px; }
	.dmb-farah__books > li:nth-child(3) { display: none; }
	.dmb-authors__row { grid-template-columns: 1fr; gap: 12px; }
	.dmb-authors__row a { min-height: 0; }
	.dmb-authors__avatar { flex-basis: 84px; height: 120px; }
	.dmb-authors__text { padding-top: 10px; }
	.dmb-about { flex-direction: column; align-items: stretch; min-height: 0; }
	.dmb-about__copy { width: 100%; padding: 28px 22px 0; }
	.dmb-body .dmb-about__art { position: relative; width: 78%; align-self: flex-end; margin-top: -10px; }
	.dmb-publish { min-height: 300px; align-items: flex-start; }
	.dmb-publish__copy { width: 100%; padding: 28px 22px; }
	.dmb-body .dmb-publish__bg { object-position: 20% center; }
	.dmb-news__panel { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 16px; }
	.dmb-news__form { max-width: none; width: 100%; }
	.dmb-news__form .dmb-btn { min-width: 96px; }
	.dmb-footer { padding-top: 36px; }
	.dmb-footer__main,
	.dmb-footer .e-con.dmb-footer__main { flex-direction: column; gap: 28px; }
	.dmb-footer__brand { width: 100%; padding: 0 0 24px; border-inline-end: 0; border-bottom: 1px solid rgba(249, 244, 236, .16); }
	.dmb-footer__cols { grid-template-columns: 1fr 1fr; padding-inline-start: 0; }
	.dmb-footer__legal { grid-template-columns: 1fr; text-align: center; }
	.dmb-footer__meta { flex-wrap: wrap; padding: 12px 0; }
	.dmb-footer__legal p:first-child,
	.dmb-footer__legal p:nth-child(2) { grid-column: auto; justify-self: center; }
}

@media (prefers-reduced-motion: no-preference) {
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-reveal {
		opacity: 0;
		transform: translateY(14px);
	}
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-reveal.is-in {
		opacity: 1;
		transform: none;
		transition: opacity .65s ease, transform .65s ease;
	}
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-hero__slide.is-active .dmb-hero__cover.is-float {
		animation: dmb-float 7.5s ease-in-out infinite;
	}
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-hero__slide.is-active .dmb-hero__cover.is-float:nth-of-type(3),
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-hero__slide.is-active .dmb-picture:nth-of-type(3) .dmb-hero__cover.is-float { animation-delay: -2.5s; }
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-hero__slide.is-active .dmb-hero__cover.is-float:nth-of-type(4),
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-hero__slide.is-active .dmb-picture:nth-of-type(4) .dmb-hero__cover.is-float { animation-delay: -5s; }
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-cats__grid a:hover,
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 14px 30px rgba(38, 37, 33, .08);
	}
	html.dmb-js body:not(.dmb-reduce-motion) .dmb-farah__character img {
		animation: dmb-float 6s ease-in-out infinite;
	}
}
@keyframes dmb-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dmb-reveal { opacity: 1 !important; transform: none !important; }
}
body.dmb-reduce-motion .dmb-reveal { opacity: 1 !important; transform: none !important; }
