/* Dar Shafaq store pages: product, shop/category, authors directory and author archive. */

.dmb-store-page { min-width: 0; }
.dmb-store-notices:empty { display: none; }
.dmb-store-notices .woocommerce-message,
.dmb-store-notices .woocommerce-info,
.dmb-store-notices .woocommerce-error { margin: 16px 0 0; }
.dmb-store-page .elementor-widget-container { min-width: 0; }
.dmb-lock { overflow: hidden; }

/* Breadcrumbs */
.dmb-crumbs { font-size: 14px; color: var(--dmb-muted); }
.dmb-crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; }
.dmb-crumbs__item { display: inline-flex; align-items: center; min-height: 28px; }
.dmb-crumbs__item + .dmb-crumbs__item::before { content: var(--dmb-crumbs-sep, "/"); margin-inline: 8px; color: #b9ada0; }
.dmb-crumbs a { color: inherit; text-decoration: none; }
.dmb-crumbs a:hover,
.dmb-crumbs a:focus-visible { color: var(--dmb-action); }
.dmb-crumbs [aria-current] { color: var(--dmb-ink); font-weight: 600; }

/* Product gallery */
.dmb-pgal { position: relative; width: 100%; }
.elementor-widget-dmb_product_gallery { width: 100%; }
.dmb-pgal__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--dmb-paper);
	border-radius: 0;
}
.dmb-body .dmb-pgal__scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--dmb-focus-x, 50%) var(--dmb-focus-y, 100%);
}
.dmb-body .dmb-pgal__cover {
	position: absolute;
	bottom: var(--dmb-cover-bottom, 23%);
	left: calc(50% + var(--dmb-cover-x, 0%));
	transform: translateX(-50%);
	width: auto;
	height: var(--dmb-cover-h, 66%);
	max-width: var(--dmb-cover-w, 64%);
	object-fit: contain;
	object-position: 50% 100%;
	filter: drop-shadow(var(--dmb-cover-shadow, 0 18px 22px rgba(38, 37, 33, .28)));
	transition: transform .5s ease;
}
.dmb-pgal:not(.has-scene) .dmb-pgal__cover { --dmb-cover-bottom: 8%; --dmb-cover-h: 84%; }
.dmb-body .dmb-pgal__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	background: var(--dmb-paper);
}
.dmb-pgal__slide[hidden] { display: none; }
.dmb-pgal__zoom {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--dmb-ink);
	box-shadow: 0 6px 16px rgba(38, 37, 33, .12);
	cursor: zoom-in;
	transition: background-color .2s ease, color .2s ease;
}
.dmb-pgal__zoom:hover,
.dmb-pgal__zoom:focus-visible { background: var(--dmb-action); color: #fff; }
.dmb-pgal__zoom .dmb-icon { width: 22px; height: 22px; }
.dmb-pgal__thumbs {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 8px;
	max-width: calc(100% - 28px);
	overflow-x: auto;
	padding: 2px;
}
.dmb-pgal__thumb {
	flex: none;
	width: 56px;
	height: 72px;
	padding: 3px;
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s ease;
}
.dmb-pgal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.dmb-pgal__thumb.is-active,
.dmb-pgal__thumb:hover { border-color: var(--dmb-action); }
.dmb-pgal__dialog {
	width: min(920px, 94vw);
	max-width: none;
	height: min(92vh, 1000px);
	max-height: none;
	padding: 48px 56px;
	border: 0;
	border-radius: var(--dmb-radius-panel);
	background: #fffdf9;
	color: var(--dmb-ink);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.dmb-pgal__dialog[open] { display: flex; align-items: center; justify-content: center; }
.dmb-pgal__dialog::backdrop { background: rgba(38, 37, 33, .72); }
.dmb-body .dmb-pgal__full { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.dmb-pgal__close,
.dmb-pgal__nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--dmb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--dmb-ink);
	cursor: pointer;
}
.dmb-pgal__close { top: 12px; left: 12px; }
.dmb-pgal__nav { top: 50%; transform: translateY(-50%); }
.dmb-pgal__nav--prev { right: 8px; }
.dmb-pgal__nav--next { left: 8px; }
.dmb-pgal__close:hover,
.dmb-pgal__nav:hover,
.dmb-pgal__close:focus-visible,
.dmb-pgal__nav:focus-visible { border-color: var(--dmb-action); color: var(--dmb-action); }

/* Purchase summary */
.dmb-psum { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; }
.dmb-psum__eyebrow { margin: 0 0 6px; color: var(--dmb-action); font-weight: 600; font-size: 17px; }
.dmb-psum__eyebrow a { color: inherit; text-decoration: none; }
.dmb-psum__eyebrow a:hover { text-decoration: underline; }
.dmb-psum__title { margin: 0; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.25; font-weight: 700; color: var(--dmb-ink); }
.dmb-psum__title .dmb-accent { color: var(--dmb-action); }
.dmb-psum__author { margin: 12px 0 0; font-size: 19px; font-weight: 600; color: var(--dmb-action); }
.dmb-psum__author a { color: inherit; text-decoration: none; }
.dmb-psum__author a:hover,
.dmb-psum__author a:focus-visible { text-decoration: underline; }
.dmb-psum__author-label { color: var(--dmb-muted); font-weight: 500; }
.dmb-psum__subtitle { margin: 6px 0 0; font-size: 17px; color: var(--dmb-muted); line-height: 1.6; }
.dmb-psum__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px; }
.dmb-psum__amount { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; color: var(--dmb-action); line-height: 1.2; }
.dmb-psum__amount del { color: var(--dmb-muted); font-size: .6em; font-weight: 500; }
.dmb-psum__amount ins { text-decoration: none; }
.dmb-psum__amount--unset { font-size: 17px; color: var(--dmb-muted); font-weight: 600; }
.dmb-psum__demo { font-size: 13px; color: var(--dmb-muted); }
.dmb-psum .stock { margin: 8px 0 0; font-size: 14px; color: var(--dmb-success); }
.dmb-psum .stock.out-of-stock { color: var(--dmb-error); }
.dmb-psum__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.dmb-psum__cart { display: flex; align-items: stretch; gap: 12px; margin: 0; }
.dmb-qty {
	display: inline-flex;
	align-items: stretch;
	flex: none;
	height: 54px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
	overflow: hidden;
}
.dmb-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dmb-ink);
	cursor: pointer;
}
.dmb-qty__btn:hover,
.dmb-qty__btn:focus-visible { color: var(--dmb-action); background: var(--dmb-canvas); }
.dmb-qty__btn .dmb-icon { width: 18px; height: 18px; }
.dmb-qty__input {
	width: 48px;
	border: 0;
	background: transparent;
	text-align: center;
	font: inherit;
	font-weight: 600;
	font-size: 17px;
	color: var(--dmb-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}
.dmb-qty__input::-webkit-outer-spin-button,
.dmb-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dmb-qty__input:focus-visible { outline: 2px solid var(--dmb-action); outline-offset: -2px; }
.dmb-psum__add,
.dmb-psum__wish {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 24px;
	border-radius: var(--dmb-radius-button);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.dmb-psum__add { flex: 1; border: 1.5px solid var(--dmb-action); background: var(--dmb-action); color: #fff; }
.dmb-psum__add:hover,
.dmb-psum__add:focus-visible { background: var(--dmb-action-hover); border-color: var(--dmb-action-hover); }
.dmb-psum__add.loading { opacity: .7; cursor: progress; }
.dmb-psum__add .dmb-icon,
.dmb-psum__wish .dmb-icon { width: 22px; height: 22px; }
.dmb-psum__cart + .added_to_cart,
.dmb-psum__cart .added_to_cart { display: none; }
.dmb-psum__wish { width: 100%; border: 1.5px solid var(--dmb-action); background: transparent; color: var(--dmb-action); }
.dmb-psum__wish:hover,
.dmb-psum__wish:focus-visible { background: var(--dmb-action); color: #fff; }
.dmb-psum__wish-on { display: none; }
.dmb-psum__wish.is-on .dmb-psum__wish-on { display: inline; }
.dmb-psum__wish.is-on .dmb-psum__wish-off { display: none; }
.dmb-psum__wish.is-on .dmb-icon { fill: currentColor; }
.dmb-psum__native form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.dmb-psum__native .single_add_to_cart_button {
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-action);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.dmb-psum__info {
	padding: 16px 18px;
	border: 1px solid var(--dmb-line);
	border-inline-start: 4px solid var(--dmb-brand);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
}
.dmb-psum__info p { margin: 0 0 4px; color: var(--dmb-ink); line-height: 1.7; }
.dmb-psum__info .dmb-textlink { min-height: 40px; }
.dmb-psum__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 40px;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--dmb-line);
	list-style: none;
	font-size: 15px;
}
.dmb-psum__meta-item { display: inline-flex; align-items: center; gap: 8px; color: var(--dmb-ink); }
.dmb-psum__meta-item .dmb-icon { width: 22px; height: 22px; color: var(--dmb-action); }
.dmb-psum__meta-label { color: var(--dmb-muted); }
.dmb-psum__meta-value a { color: inherit; }

/* Tabs + author strip panel */
.dmb-sp__panel,
.e-con.dmb-sp__panel,
.dmb-sp__info {
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-card);
	overflow: hidden;
}
.dmb-ptabs__list {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	border-bottom: 1px solid var(--dmb-line);
	background: var(--dmb-canvas);
}
.dmb-ptabs__tab {
	position: relative;
	min-height: 54px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--dmb-ink);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease;
}
.dmb-ptabs__tab + .dmb-ptabs__tab { border-inline-start: 1px solid var(--dmb-line); }
.dmb-ptabs__tab::after {
	content: "";
	position: absolute;
	inset-inline: 22px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--dmb-tab-line, var(--dmb-action));
	transform: scaleX(0);
	transition: transform .25s ease;
}
.dmb-ptabs__tab[aria-selected="true"] { color: var(--dmb-action); background: var(--dmb-surface); }
.dmb-ptabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.dmb-ptabs__tab:hover { color: var(--dmb-action); }
.dmb-ptabs__tab:focus-visible { outline: 2px solid var(--dmb-action); outline-offset: -4px; }
.dmb-ptabs__panel { padding: 24px 32px; }
.dmb-ptabs__panel:focus-visible { outline: 2px solid var(--dmb-action); outline-offset: -4px; }
.dmb-ptabs__prose { font-size: 17px; line-height: 1.95; color: #3e3a34; max-width: 72em; }
.dmb-ptabs__prose > :first-child { margin-top: 0; }
.dmb-ptabs__prose > :last-child { margin-bottom: 0; }
.dmb-ptabs__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.dmb-ptabs__row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--dmb-line); }
.dmb-ptabs__row dt { flex: 0 0 8.5em; color: var(--dmb-muted); }
.dmb-ptabs__row dd { margin: 0; font-weight: 600; color: var(--dmb-ink); }
.dmb-ptabs__row dd a { color: var(--dmb-action); text-decoration: none; }
.dmb-ptabs__author + .dmb-ptabs__author { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--dmb-line); }
.dmb-ptabs__author-name { margin: 0; font-size: 20px; }
.dmb-ptabs__author-name a { color: var(--dmb-ink); text-decoration: none; }
.dmb-ptabs__author-name a:hover { color: var(--dmb-action); }
.dmb-ptabs__author-count { margin: 2px 0 10px; color: var(--dmb-action); font-weight: 600; font-size: 15px; }

.dmb-pauthor { border-top: 1px solid var(--dmb-line); }
.dmb-ptabs + .dmb-pauthor,
.elementor-widget-dmb_product_tabs + .elementor-widget-dmb_product_author .dmb-pauthor { margin-inline: 32px; }
.dmb-pauthor__row { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.dmb-pauthor__row + .dmb-pauthor__row { border-top: 1px solid var(--dmb-line); }
.dmb-pauthor .dmb-emblem { width: 62px; flex: none; }
.dmb-pauthor__text { display: flex; flex-direction: column; min-width: 0; }
.dmb-pauthor__label { font-size: 14px; color: var(--dmb-muted); }
.dmb-pauthor__name { font-size: 18px; font-weight: 700; }
.dmb-pauthor__name a { color: var(--dmb-ink); text-decoration: none; }
.dmb-pauthor__name a:hover { color: var(--dmb-action); }
.dmb-pauthor__count { font-size: 14px; color: var(--dmb-action); }
.dmb-pauthor__cta,
.dmb-acard__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 1.5px solid var(--dmb-action);
	border-radius: var(--dmb-radius-button);
	color: var(--dmb-action);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.dmb-pauthor__cta { margin-inline-start: auto; }
.dmb-pauthor__cta:hover,
.dmb-pauthor__cta:focus-visible,
.dmb-acard__cta:hover,
.dmb-acard__cta:focus-visible { background: var(--dmb-action); color: #fff; }
.dmb-pauthor__cta .dmb-icon,
.dmb-acard__cta .dmb-icon { width: 20px; height: 20px; transition: transform .2s ease; }
.dmb-pauthor__cta:hover .dmb-icon,
.dmb-acard__cta:hover .dmb-icon { transform: translateX(-3px); }

/* Related books and section headings with side lines */
.dmb-related { padding: 8px 0 0; }
.dmb-related__title { margin: 0 0 24px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; text-align: center; }
.dmb-related__title.has-lines { display: flex; align-items: center; gap: 22px; }
.dmb-related__title.has-lines::before,
.dmb-related__title.has-lines::after { content: ""; flex: 1; height: 1px; background: var(--dmb-line-color, var(--dmb-line)); }
.dmb-related__grid { --dmb-cols: 4; }
.dmb-price-note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--dmb-muted); }

/* Book cards inside store grids */
.dmb-agrid .dmb-card__media,
.dmb-related .dmb-card__media,
.dmb-abooks .dmb-card__media { height: 250px; }
.dmb-card__details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	border: 1.5px solid var(--dmb-action);
	border-radius: var(--dmb-radius-button);
	color: var(--dmb-action);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.dmb-card__details:hover,
.dmb-card__details:focus-visible { background: var(--dmb-action); color: #fff; }

/* Archive heading */
.dmb-ahead {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 190px;
	padding: 28px 40px;
	border-radius: var(--dmb-radius-panel);
	background: linear-gradient(90deg, #fbe9d6 0%, #f8dfc4 60%, #f6d8b8 100%);
	overflow: hidden;
}
.dmb-body .dmb-ahead__book {
	flex: none;
	order: 0;
	width: min(300px, 26%);
	height: auto;
	max-width: none;
}
.dmb-ahead__copy { order: 1; flex: 1; min-width: 0; }
.dmb-body .dmb-ahead__leaves {
	position: absolute;
	left: 28px;
	bottom: 0;
	width: 96px;
	height: auto;
	max-width: none;
	opacity: .9;
}
.dmb-ahead__eyebrow { margin: 0 0 4px; color: var(--dmb-action); font-weight: 600; }
.dmb-ahead__title { margin: 0; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.25; font-weight: 700; color: var(--dmb-action); }
.dmb-ahead__desc { margin: 6px 0 0; font-size: clamp(17px, 1.5vw, 22px); color: var(--dmb-ink); }

/* Category chips */
.dmb-catnav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dmb-catnav__list > li { flex: 1 1 0; min-width: max-content; }
.dmb-catnav__chip {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
	color: var(--dmb-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.dmb-catnav__chip:hover,
.dmb-catnav__chip:focus-visible { border-color: var(--dmb-action); color: var(--dmb-action); }
.dmb-catnav__chip.is-active { border-color: var(--dmb-action); color: var(--dmb-action); background: #fff7ef; box-shadow: inset 0 0 0 1px var(--dmb-action); }

/* Filter panel */
.dmb-filter { position: relative; }
.dmb-filter__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	border: 1.5px solid var(--dmb-ink);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
	color: var(--dmb-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.dmb-filter__toggle .dmb-icon { width: 20px; height: 20px; }
.dmb-filter__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 12px;
	background: var(--dmb-action);
	color: #fff;
	font-size: 13px;
}
.dmb-filter__panel {
	background: var(--dmb-surface);
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-card);
}
.dmb-filter__form { margin: 0; padding: 0 20px 20px; }
.dmb-filter__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 -20px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--dmb-line);
}
.dmb-filter__head > .dmb-icon { width: 22px; height: 22px; color: var(--dmb-action); order: 2; margin-inline-start: auto; }
.dmb-filter__title { margin: 0; font-size: 20px; font-weight: 700; }
.dmb-filter__close {
	display: none;
	order: 3;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dmb-ink);
	cursor: pointer;
}
.dmb-filter__group { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--dmb-line); min-width: 0; }
.dmb-filter__legend { float: right; width: 100%; margin: 0 0 10px; padding: 0; font-size: 17px; font-weight: 700; }
.dmb-filter__legend + * { clear: both; }
.dmb-filter__unit { color: var(--dmb-muted); font-weight: 500; font-size: 14px; }
.dmb-filter__options { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.dmb-filter__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	cursor: pointer;
	font-size: 16px;
}
.dmb-filter__option input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.dmb-filter__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 22px;
	height: 22px;
	border: 1.5px solid #b9ada0;
	border-radius: 5px;
	background: #fff;
	color: #fff;
	transition: background-color .15s ease, border-color .15s ease;
}
.dmb-filter__check .dmb-icon { width: 16px; height: 16px; opacity: 0; }
.dmb-filter__option input:checked + .dmb-filter__check { background: var(--dmb-action); border-color: var(--dmb-action); }
.dmb-filter__option input:checked + .dmb-filter__check .dmb-icon { opacity: 1; }
.dmb-filter__option input:focus-visible + .dmb-filter__check { outline: 2px solid var(--dmb-action); outline-offset: 2px; }
.dmb-filter__option:hover .dmb-filter__check { border-color: var(--dmb-action); }
.dmb-filter__name { flex: 1; min-width: 0; }
.dmb-filter__count { color: var(--dmb-muted); font-size: 14px; }
.dmb-filter__range { display: flex; align-items: flex-end; gap: 10px; }
.dmb-filter__field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; font-size: 13px; color: var(--dmb-muted); }
.dmb-filter__field input {
	width: 100%;
	min-height: 46px;
	padding: 0 12px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	background: #fff;
	font: inherit;
	color: var(--dmb-ink);
	text-align: center;
}
.dmb-filter__field input:focus-visible { outline: 2px solid var(--dmb-action); outline-offset: 0; border-color: var(--dmb-action); }
.dmb-filter__dash { padding-bottom: 12px; color: var(--dmb-muted); }
.dmb-filter__note { margin: 10px 0 0; font-size: 13px; color: var(--dmb-muted); line-height: 1.6; }
.dmb-filter__actions { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.dmb-filter__apply {
	min-height: 52px;
	border: 0;
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-action);
	color: #fff;
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s ease;
}
.dmb-filter__apply:hover,
.dmb-filter__apply:focus-visible { background: var(--dmb-action-hover); }
.dmb-filter__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	color: var(--dmb-action);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.dmb-filter__reset .dmb-icon { width: 18px; height: 18px; }

/* Toolbar, sort, view */
.dmb-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}
.dmb-toolbar__count { margin: 0; font-size: 17px; font-weight: 600; color: var(--dmb-ink); }
.dmb-toolbar__end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dmb-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
.dmb-sort__label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--dmb-muted); white-space: nowrap; }
.dmb-sort__label .dmb-icon { width: 18px; height: 18px; }
.dmb-sort__select { position: relative; display: inline-flex; }
.dmb-sort__select select {
	min-height: 46px;
	min-width: 190px;
	padding: 0 16px 0 42px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
	font: inherit;
	font-size: 15px;
	color: var(--dmb-ink);
	appearance: none;
	cursor: pointer;
}
.dmb-sort__select select:focus-visible { outline: 2px solid var(--dmb-action); outline-offset: 1px; }
.dmb-sort__select .dmb-icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--dmb-muted); }
.dmb-sort__go { min-height: 46px; padding: 0 16px; border: 1px solid var(--dmb-action); border-radius: var(--dmb-radius-button); background: var(--dmb-action); color: #fff; font: inherit; }
.dmb-view { display: inline-flex; gap: 6px; }
.dmb-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
	color: var(--dmb-muted);
	cursor: pointer;
}
.dmb-view__btn .dmb-icon { width: 20px; height: 20px; }
.dmb-view__btn.is-active,
.dmb-view__btn:hover,
.dmb-view__btn:focus-visible { border-color: var(--dmb-action); color: var(--dmb-action); }

/* Archive grid */
.dmb-agrid__list { --dmb-cols: 4; gap: 20px; }
.dmb-agrid.is-list .dmb-agrid__list,
.dmb-abooks.is-list .dmb-abooks__grid { grid-template-columns: minmax(0, 1fr); }
.dmb-agrid.is-list .dmb-card,
.dmb-abooks.is-list .dmb-card {
	display: grid;
	grid-template-columns: minmax(96px, 160px) minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: 22px;
	text-align: start;
	padding: 16px 20px;
}
.dmb-agrid.is-list .dmb-card__media,
.dmb-abooks.is-list .dmb-card__media { grid-row: 1 / span 4; height: 200px; align-items: center; padding: 0; }
.dmb-agrid.is-list .dmb-card__title,
.dmb-abooks.is-list .dmb-card__title { margin-top: 6px; padding-inline-end: 40px; }
.dmb-agrid.is-list .dmb-card__foot,
.dmb-abooks.is-list .dmb-card__foot { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; align-self: end; }
.dmb-agrid.is-list .dmb-card__add,
.dmb-agrid.is-list .dmb-card__details,
.dmb-abooks.is-list .dmb-card__add,
.dmb-abooks.is-list .dmb-card__details { width: auto; padding: 0 24px; min-height: 46px; }

/* Pagination */
.dmb-pager { margin-top: 32px; }
.dmb-pager__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dmb-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 8px;
	border: 1px solid var(--dmb-line);
	border-radius: 50%;
	background: var(--dmb-surface);
	color: var(--dmb-ink);
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.dmb-pager a.page-numbers:hover,
.dmb-pager a.page-numbers:focus-visible { border-color: var(--dmb-action); color: var(--dmb-action); }
.dmb-pager .page-numbers.current { border-color: var(--dmb-action); background: var(--dmb-action); color: #fff; }
.dmb-pager .page-numbers.dots { border-color: transparent; background: transparent; }
.dmb-pager .dmb-icon { width: 18px; height: 18px; }

/* Empty state */
.dmb-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 48px 24px;
	border: 1px dashed #d9cbb9;
	border-radius: var(--dmb-radius-card);
	background: var(--dmb-surface);
	text-align: center;
}
.dmb-empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: #fbeee1;
	color: var(--dmb-action);
}
.dmb-empty-state__icon .dmb-icon { width: 34px; height: 34px; }
.dmb-empty-state__title { margin: 0; font-size: 22px; }
.dmb-empty-state__text { margin: 0; max-width: 34em; color: var(--dmb-muted); }
.dmb-empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.dmb-empty-state__actions .dmb-btn { gap: 8px; }
.dmb-empty-state__actions .dmb-icon { width: 18px; height: 18px; }

/* Author emblem */
.dmb-emblem { position: relative; display: inline-block; width: 64px; line-height: 0; vertical-align: middle; }
.dmb-emblem.has-frame { width: 190px; }
.dmb-emblem__svg { display: block; width: 100%; height: auto; overflow: visible; }
.dmb-emblem__circle { fill: var(--dmb-emblem-circle, #c25a17); }
.dmb-emblem__letter { fill: #fff; font-family: var(--dmb-font); font-size: 76px; font-weight: 600; }
.dmb-emblem__line { fill: none; stroke: var(--dmb-brand); stroke-width: 2; stroke-linecap: round; }
.dmb-emblem__portrait { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dmb-emblem.has-frame .dmb-emblem__portrait { inset: auto; left: 27.5%; top: 11.5%; width: 45%; height: 72%; }
.dmb-emblem__frame-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }

/* Authors directory intro */
.dmb-dintro { position: relative; padding: 36px 0 12px; text-align: center; }
.dmb-dintro.has-scene { padding-inline: 24px; border-radius: var(--dmb-radius-panel); overflow: hidden; }
.dmb-body .dmb-dintro__scene { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.dmb-dintro.has-scene::before { content: ""; position: absolute; inset: 0; background: var(--dmb-intro-overlay, rgba(251, 248, 242, .78)); }
.dmb-dintro__copy { position: relative; max-width: 640px; margin-inline: auto; }
.dmb-dintro .dmb-flourish {
	position: absolute;
	top: 50%;
	left: calc(100% + 4vw);
	width: min(300px, 22vw);
	height: auto;
	transform: translateY(-50%) scaleX(-1);
	color: var(--dmb-brand);
	opacity: .85;
	pointer-events: none;
}
.dmb-dintro__eyebrow { margin: 0 0 4px; color: var(--dmb-action); font-weight: 600; font-size: 17px; }
.dmb-dintro__title { margin: 0; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.25; font-weight: 700; color: var(--dmb-ink); }
.dmb-dintro__title .dmb-accent { color: var(--dmb-action); }
.dmb-dintro__text { margin: 8px 0 0; font-size: clamp(17px, 1.5vw, 21px); color: var(--dmb-muted); }
.dmb-dsearch {
	display: flex;
	align-items: stretch;
	max-width: 560px;
	margin: 24px auto 0;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-button);
	background: var(--dmb-surface);
	box-shadow: 0 8px 22px rgba(38, 37, 33, .06);
	overflow: hidden;
}
.dmb-dsearch:focus-within { border-color: var(--dmb-action); box-shadow: 0 0 0 3px rgba(182, 80, 19, .16); }
.dmb-dsearch input {
	flex: 1;
	min-width: 0;
	min-height: 54px;
	padding: 0 18px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;
	color: var(--dmb-ink);
	outline: none;
}
.dmb-dsearch input::-webkit-search-cancel-button { cursor: pointer; }
.dmb-dsearch__btn {
	order: -1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dmb-action);
	cursor: pointer;
}
.dmb-dsearch__btn .dmb-icon { width: 22px; height: 22px; }

/* Letter filter */
.dmb-letters { display: flex; justify-content: center; }
.dmb-letters__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dmb-letters__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 20px;
	color: var(--dmb-ink);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
a.dmb-letters__item:hover,
a.dmb-letters__item:focus-visible { background: #fbeee1; color: var(--dmb-action); }
.dmb-letters__item.is-active { background: var(--dmb-action); color: #fff; }
a.dmb-letters__item.is-active:hover { background: var(--dmb-action-hover); color: #fff; }
.dmb-letters__item.is-empty { color: #c8bcae; font-weight: 500; cursor: default; }

/* Author cards */
.dmb-dir__list {
	--dmb-cols: 3;
	--dmb-gap: 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--dmb-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.dmb-acard {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 calc((100% - (var(--dmb-cols) - 1) * var(--dmb-gap)) / var(--dmb-cols));
	min-width: 0;
	padding: 22px 22px 24px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-card);
	background: var(--dmb-surface);
	text-align: center;
	transition: box-shadow .25s ease, transform .25s ease;
}
.dmb-acard[hidden] { display: none; }
.dmb-acard:hover { box-shadow: var(--dmb-shadow); }
.dmb-acard .dmb-emblem { width: 190px; max-width: 100%; }
.dmb-acard__name { margin: 4px 0 0; font-size: 22px; font-weight: 700; line-height: 1.4; }
.dmb-acard__name a { color: var(--dmb-ink); text-decoration: none; }
.dmb-acard__name a:hover,
.dmb-acard__name a:focus-visible { color: var(--dmb-action); }
.dmb-acard__count { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; color: var(--dmb-action); font-weight: 600; font-size: 15px; }
.dmb-acard__count::before,
.dmb-acard__count::after { content: ""; width: 26px; height: 1px; background: var(--dmb-line-color, var(--dmb-brand)); }
.dmb-acard__covers { display: flex; justify-content: center; align-items: flex-end; gap: 10px; width: 100%; margin: 18px 0 20px; min-height: 0; }
.dmb-body .dmb-acard__cover {
	flex: 0 1 auto;
	width: auto;
	max-width: calc((100% - 20px) / 3);
	height: 128px;
	object-fit: contain;
	object-position: 50% 100%;
	filter: drop-shadow(0 8px 10px rgba(38, 37, 33, .18));
}
.dmb-acard__cta { width: 100%; margin-top: auto; }
.dmb-dir__empty { margin: 24px 0 0; padding: 28px; border: 1px dashed #d9cbb9; border-radius: var(--dmb-radius-card); text-align: center; color: var(--dmb-muted); }
.dmb-dir__empty[hidden] { display: none; }

/* Publish band on the directory */
.dmb-publish--band { min-height: 220px; height: auto; justify-content: flex-start; }
.dmb-body .dmb-publish--band .dmb-publish__bg { object-position: left center; }
.dmb-publish--band .dmb-publish__copy {
	width: min(560px, 52%);
	margin-inline-start: 5%;
	padding: 28px 0 28px 0;
	padding-inline-start: 36px;
	border-inline-start: 1px solid rgba(255, 255, 255, .45);
}
.dmb-publish--band h2 { font-size: clamp(24px, 2.4vw, 34px); }
.dmb-publish--band .dmb-btn { min-height: 50px; min-width: 180px; border-radius: var(--dmb-radius-button); }

/* Author hero */
.dmb-ahero { position: relative; min-height: 340px; display: flex; align-items: center; overflow: hidden; background: var(--dmb-paper); }
.dmb-ahero__scene { position: absolute; inset: 0; }
.dmb-body .dmb-ahero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--dmb-focus-x, 50%) var(--dmb-focus-y, 72%); }
.dmb-ahero.has-scene::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, var(--dmb-hero-fade, rgba(251, 243, 232, .92)) 0%, var(--dmb-hero-fade, rgba(251, 243, 232, .92)) 32%, rgba(251, 243, 232, 0) 62%);
	pointer-events: none;
}
.dmb-ahero__covers {
	position: absolute;
	left: var(--dmb-hero-cover-x, 12%);
	bottom: var(--dmb-hero-cover-y, 22%);
	z-index: 1;
	display: flex;
	align-items: flex-end;
	gap: 16px;
	height: var(--dmb-hero-cover-h, 64%);
}
.dmb-body .dmb-ahero__cover {
	width: auto;
	height: 88%;
	max-width: none;
	object-fit: contain;
	object-position: 50% 100%;
	filter: drop-shadow(0 14px 16px rgba(38, 37, 33, .28));
}
.dmb-body .dmb-ahero__cover:nth-child(2) { height: 100%; }
.dmb-ahero__inner {
	position: relative;
	z-index: 2;
	width: min(var(--dmb-max), calc(100% - (var(--dmb-gutter) * 2)));
	margin-inline: auto;
	padding: 28px 0;
}
.dmb-ahero__copy { width: min(620px, 50%); }
.dmb-ahero__copy .dmb-crumbs { margin-bottom: 18px; }
.dmb-ahero__id { display: flex; align-items: center; gap: 22px; }
.dmb-ahero .dmb-emblem { width: 132px; flex: none; }
.dmb-ahero__text { min-width: 0; }
.dmb-ahero__name { margin: 0; font-size: clamp(32px, 3.5vw, 52px); line-height: 1.25; font-weight: 700; color: var(--dmb-ink); }
.dmb-ahero__count { margin: 6px 0 0; font-size: 20px; font-weight: 700; color: var(--dmb-action); }
.dmb-ahero__sub { margin: 2px 0 0; font-size: 17px; color: var(--dmb-muted); }

/* Author intro */
.dmb-aintro {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 26px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-card);
	background: var(--dmb-surface);
}
.dmb-aintro__icon { flex: none; display: inline-flex; color: var(--dmb-action); padding-top: 4px; }
.dmb-aintro__icon .dmb-icon { width: 34px; height: 34px; }
.dmb-aintro__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; min-width: 0; }
.dmb-aintro__title { margin: 0; font-size: 20px; font-weight: 700; flex: none; }
.dmb-aintro__text { flex: 1 1 320px; color: #4a463f; font-size: 16px; line-height: 1.85; }
.dmb-aintro__text p { margin: 0; }
.dmb-aintro__text p + p { margin-top: .6em; }

/* Author books */
.dmb-abooks__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 0 0 20px;
}
.dmb-abooks__titles { display: flex; align-items: baseline; gap: 16px; }
.dmb-abooks__title,
.dmb-others__title {
	position: relative;
	margin: 0;
	padding-bottom: 8px;
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 700;
}
.dmb-abooks__title::after,
.dmb-others__title::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background: var(--dmb-action);
}
.dmb-abooks__count { color: var(--dmb-action); font-weight: 600; font-size: 17px; }
.dmb-abooks__grid { --dmb-cols: 3; gap: 22px; }

/* Other authors */
.dmb-others__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.dmb-others__all { font-size: 16px; }
.dmb-others__list {
	--dmb-cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--dmb-cols), minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dmb-mini {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid var(--dmb-line);
	border-radius: var(--dmb-radius-card);
	background: var(--dmb-surface);
	color: var(--dmb-ink);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.dmb-mini:hover,
.dmb-mini:focus-visible { border-color: var(--dmb-action); box-shadow: var(--dmb-shadow); }
.dmb-mini .dmb-emblem { width: 58px; flex: none; }
.dmb-mini__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dmb-mini__name { font-weight: 700; font-size: 17px; }
.dmb-mini__count { font-size: 14px; color: var(--dmb-action); }
.dmb-mini > .dmb-icon { width: 20px; height: 20px; color: var(--dmb-action); flex: none; transition: transform .2s ease; }
.dmb-mini:hover > .dmb-icon { transform: translateX(-3px); }

/* Newsletter strip */
.dmb-news--strip { padding: 24px 0 36px; }
.dmb-news--strip .dmb-news__panel {
	grid-template-columns: auto minmax(0, 1fr) minmax(280px, 1.1fr);
	gap: 22px 28px;
	min-height: 0;
	padding: 26px 36px;
	border-radius: var(--dmb-radius-panel);
	background: #f6ebdc;
	overflow: hidden;
}
.dmb-news--strip h2 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 4px; }
.dmb-news--strip .dmb-news__copy { position: relative; }
.dmb-news--strip .dmb-news__copy p { font-size: 16px; }
.dmb-news--strip .dmb-news__action { position: relative; }
.dmb-news--strip .dmb-news__form { max-width: 520px; margin-inline-start: auto; }
.dmb-news__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: #f3dcc3;
	color: var(--dmb-action);
}
.dmb-news__icon .dmb-icon { width: 46%; height: 46%; }
.dmb-body .dmb-news__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left center; }
.dmb-news--strip.has-bg .dmb-news__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--dmb-news-overlay, linear-gradient(270deg, rgba(150, 62, 12, .82) 0%, rgba(150, 62, 12, .55) 45%, rgba(150, 62, 12, .1) 100%));
}
.dmb-news--strip.has-bg h2,
.dmb-news--strip.has-bg .dmb-news__copy p { color: #fff; }
.dmb-news--strip.has-bg .dmb-news__icon { background: rgba(255, 255, 255, .92); }

/* Built-in fallback layout */
.dmb-sp { padding: 20px 0 0; }
.dmb-sp__product {
	display: grid;
	grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
	align-items: center;
	gap: 56px;
	padding: 8px 0 32px;
}
.dmb-sp__gallery { order: 2; min-width: 0; }
.dmb-sp__summary { min-width: 0; }
.dmb-sp__info { margin-bottom: 40px; }
.dmb-sp__info .dmb-pauthor { margin-inline: 32px; }
.dmb-sp__archive { display: grid; grid-template-columns: minmax(240px, 24%) minmax(0, 1fr); align-items: start; gap: 32px; padding: 20px 0 48px; }
.dmb-sp__filters,
.dmb-sp__results { min-width: 0; }
.dmb-sp .dmb-ahead { margin: 8px 0 12px; }
.dmb-sp .dmb-catnav { margin: 4px 0 0; }
.dmb-sp--author .dmb-aintro { margin-top: 32px; }
.dmb-sp--author .dmb-abooks { margin-top: 32px; }
.dmb-sp--author .dmb-others { margin: 40px 0 16px; }
.dmb-sp--product .dmb-related { margin-bottom: 16px; }

@media (max-width: 1280px) {
	.dmb-agrid__list { gap: 16px; }
	.dmb-agrid .dmb-card__media,
	.dmb-related .dmb-card__media,
	.dmb-abooks .dmb-card__media { height: 220px; }
	.dmb-ahero__copy { width: min(560px, 54%); }
}

/* Tablet: the filter panel becomes a drawer */
@media (max-width: 1024px) {
	html.dmb-js .dmb-filter__toggle { display: inline-flex; }
	html.dmb-js .dmb-filter:not(.is-ready) .dmb-filter__panel { display: none; }
	html.dmb-js .dmb-filter.is-drawer .dmb-filter__panel {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		z-index: 80;
		width: min(380px, 88vw);
		border: 0;
		border-radius: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
	}
	html.dmb-js .dmb-filter.is-drawer .dmb-filter__panel[hidden] { display: none; }
	html.dmb-js .dmb-filter.is-drawer .dmb-filter__head { position: sticky; top: 0; z-index: 1; background: var(--dmb-surface); }
	html.dmb-js .dmb-filter.is-drawer .dmb-filter__close { display: inline-flex; }
	html.dmb-js .dmb-filter.is-drawer .dmb-filter__head > .dmb-icon { display: none; }
	html.dmb-js .dmb-filter.is-drawer .dmb-filter__actions { position: sticky; bottom: 0; margin: 0 -20px; padding: 14px 20px; background: var(--dmb-surface); border-top: 1px solid var(--dmb-line); }
	.dmb-agrid__list { --dmb-cols: 3; }
	.dmb-related__grid { --dmb-cols: 2; }
	.dmb-dir__list { --dmb-cols: 2; }
	.dmb-others__list { --dmb-cols: 2; }
	.dmb-sp__archive { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.dmb-sp__product { gap: 28px; }
	.dmb-catnav__list > li { flex: 0 0 auto; }
	.dmb-ahead { padding: 24px 28px; min-height: 160px; }
	.dmb-dintro .dmb-flourish { display: none; }
	.dmb-ahero__copy { width: 58%; }
	.dmb-ahero__covers { left: var(--dmb-hero-cover-x, 4%); height: var(--dmb-hero-cover-h, 52%); gap: 10px; }
	.dmb-news--strip .dmb-news__panel { grid-template-columns: auto minmax(0, 1fr); }
	.dmb-news--strip .dmb-news__action { grid-column: 1 / -1; }
	.dmb-news--strip .dmb-news__form { max-width: none; margin: 0; }
	.dmb-publish--band .dmb-publish__copy { width: 60%; }
}

@media (max-width: 767px) {
	.dmb-crumbs { font-size: 13px; }
	.dmb-pgal__zoom { width: 42px; height: 42px; top: 12px; left: 12px; }
	.dmb-pgal__dialog { padding: 56px 12px 16px; width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
	.dmb-pgal__nav { top: auto; bottom: 16px; transform: none; }
	.dmb-psum__title { font-size: 32px; }
	.dmb-psum__cart { gap: 10px; }
	.dmb-psum__add { padding: 0 16px; }
	.dmb-psum__meta { gap: 10px 24px; }
	.dmb-ptabs__list { overflow-x: auto; grid-auto-columns: minmax(max-content, 1fr); }
	.dmb-ptabs__tab { font-size: 15px; padding: 0 14px; white-space: nowrap; }
	.dmb-ptabs__panel { padding: 20px 18px; }
	.dmb-ptabs__prose { font-size: 16px; line-height: 1.9; }
	.dmb-ptabs__details { grid-template-columns: minmax(0, 1fr); }
	.dmb-ptabs + .dmb-pauthor,
	.elementor-widget-dmb_product_tabs + .elementor-widget-dmb_product_author .dmb-pauthor,
	.dmb-sp__info .dmb-pauthor { margin-inline: 18px; }
	.dmb-pauthor__row { flex-wrap: wrap; }
	.dmb-pauthor__cta { width: 100%; margin-inline-start: 0; }
	.dmb-related__grid,
	.dmb-agrid__list,
	.dmb-abooks__grid { --dmb-cols: 2; gap: 12px; }
	.dmb-agrid .dmb-card__media,
	.dmb-related .dmb-card__media,
	.dmb-abooks .dmb-card__media { height: 190px; }
	.dmb-card__details { min-height: 44px; font-size: 15px; }
	.dmb-ahead { flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 20px 26px; min-height: 0; text-align: start; }
	.dmb-body .dmb-ahead__book { position: absolute; left: -24px; bottom: -18px; width: 170px; opacity: .45; }
	.dmb-body .dmb-ahead__leaves { display: none; }
	.dmb-ahead__copy { position: relative; }
	.dmb-catnav { margin-inline: -16px; }
	.dmb-catnav__list { flex-wrap: nowrap; overflow-x: auto; padding: 2px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
	.dmb-catnav__list::-webkit-scrollbar { display: none; }
	.dmb-catnav__list > li { scroll-snap-align: start; }
	.dmb-catnav__chip { min-height: 44px; padding: 0 16px; font-size: 15px; }
	.dmb-toolbar { gap: 10px; }
	.dmb-toolbar__end { width: 100%; justify-content: space-between; }
	.dmb-sort { flex: 1; }
	.dmb-sort__label { display: none; }
	.dmb-sort__select { flex: 1; }
	.dmb-sort__select select { min-width: 0; width: 100%; }
	.dmb-agrid.is-list .dmb-card,
	.dmb-abooks.is-list .dmb-card { grid-template-columns: 96px minmax(0, 1fr); padding: 12px; column-gap: 12px; }
	.dmb-agrid.is-list .dmb-card__media,
	.dmb-abooks.is-list .dmb-card__media { height: 140px; }
	.dmb-dintro { padding-top: 24px; }
	.dmb-dsearch input { min-height: 50px; font-size: 16px; }
	.dmb-letters__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.dmb-letters__list::-webkit-scrollbar { display: none; }
	.dmb-letters { justify-content: flex-start; }
	.dmb-letters__item { flex: none; min-width: 38px; height: 38px; }
	.dmb-dir__list { --dmb-cols: 1; --dmb-gap: 16px; }
	.dmb-body .dmb-acard__cover { height: 112px; }
	.dmb-publish--band { min-height: 260px; align-items: flex-end; }
	.dmb-body .dmb-publish--band .dmb-publish__bg { object-position: 18% center; }
	.dmb-publish--band .dmb-publish__copy { width: 100%; margin: 0; padding: 24px 22px; border: 0; background: linear-gradient(0deg, rgba(150, 62, 12, .92), rgba(150, 62, 12, .55) 70%, rgba(150, 62, 12, 0)); }
	.dmb-ahero { flex-direction: column; align-items: stretch; min-height: 0; }
	.dmb-ahero__scene { position: relative; inset: auto; height: 210px; }
	.dmb-ahero.has-scene::after { display: none; }
	.dmb-ahero__covers { left: 50%; transform: translateX(-50%); bottom: 18%; height: 66%; gap: 8px; }
	.dmb-ahero__inner { padding: 18px 0 8px; }
	.dmb-ahero__copy { width: 100%; }
	.dmb-ahero__copy .dmb-crumbs { margin-bottom: 12px; }
	.dmb-ahero__id { gap: 14px; }
	.dmb-ahero .dmb-emblem { width: 84px; }
	.dmb-ahero__name { font-size: 30px; }
	.dmb-ahero__count { font-size: 17px; }
	.dmb-ahero__sub { font-size: 15px; }
	.dmb-aintro { padding: 16px 18px; gap: 12px; }
	.dmb-aintro__icon .dmb-icon { width: 28px; height: 28px; }
	.dmb-aintro__body { flex-direction: column; gap: 4px; }
	.dmb-aintro__text { flex-basis: auto; }
	.dmb-abooks__head { align-items: flex-start; flex-direction: column; }
	.dmb-abooks__head .dmb-sort { width: 100%; }
	.dmb-others__list { --dmb-cols: 1; gap: 10px; }
	.dmb-news--strip { padding: 16px 0 28px; }
	.dmb-news--strip .dmb-news__panel { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 14px; text-align: start; }
	.dmb-news__icon { width: 56px; height: 56px; }
	.dmb-news--strip.has-bg .dmb-news__panel::before { background: var(--dmb-news-overlay, rgba(150, 62, 12, .78)); }
	.dmb-sp__product { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.dmb-sp__gallery { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.dmb-body .dmb-pgal__cover,
	.dmb-ptabs__tab::after,
	.dmb-acard,
	.dmb-mini > .dmb-icon,
	.dmb-pauthor__cta .dmb-icon,
	.dmb-acard__cta .dmb-icon { transition: none; }
}
