/* ================================================================
   قالب «بلسم» — متجر كتب على منصّة ناشر
   أبيض واسع، وخطٌّ متدرّج بين لونَي المتجر، وأشرطةٌ زجاجيّة شفّافة،
   ولوحاتٌ ملوّنة بعرض الصفحة، وزوايا حادّة، وعناوين ضخمة.
   ألوان الهويّة متغيّراتٌ يختارها الناشر؛ وكلّ ما عداها محايد.
   ================================================================ */

:root {
	--store-primary: #6A66AE;
	--store-primary-dark: #524E96;
	--store-accent: #1A6F9E;
	--store-bg: #FFFFFF;
	--store-text: #323232;

	--muted: #666666;
	--line: #E4E4EA;
	--soft: #F7F7F9;
	--mist: #F4F5F8;
	--dark: #323232;
	--gold: #F2B01E;
	--star-off: #D6D6DE;
	--ok: #2E7D4F;
	--per-row: 4;
	--per-row-list: 3;
	--container: 1170px;
	--font: 'Tajawal', system-ui, sans-serif;
	--panel-mid: color-mix(in srgb, var(--store-primary) 50%, var(--store-accent));
	--band-deep: color-mix(in srgb, var(--store-primary) 75%, #000);
	--num-tint: color-mix(in srgb, var(--store-accent) 30%, #fff);
	--gradient: linear-gradient(to left, var(--store-accent), var(--store-primary));
}

/* ---------------------------------------------------------------- الأساس */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--store-text);
	background: var(--store-bg);
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--store-primary); }
h1, h2, h3, p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-fill { fill: currentColor; stroke: none; }
.icon-arrow { margin-inline-start: 8px; }
.icon-flip { transform: scaleX(-1); margin-inline-end: 8px; }
code { font-family: ui-monospace, monospace; font-size: .9em; direction: ltr; unicode-bidi: isolate; }

/* حقولٌ عامّة */
.field, input[type="search"], input[type="email"], input[type="text"], input[type="number"], select, textarea {
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: #fff;
	min-width: 0;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; width: 100%; }
input::placeholder, textarea::placeholder { color: #707070; }

/* ---------------------------------------------------------------- الأزرار: مستطيلاتٌ حادّة */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 26px;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	transition: background .2s, color .2s, border-color .2s;
}
.btn .icon-arrow { margin: 0; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1c1c1c; color: #fff; }
.btn-primary { background: var(--store-primary); color: #fff; }
.btn-primary:hover { background: var(--store-primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--store-text); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn:disabled { opacity: 1; cursor: not-allowed; }

.sq-btn, .icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--store-text);
	border-radius: 0;
	font-size: 18px;
}
.icon-btn { border-color: transparent; background: transparent; }
.sq-btn:hover, .icon-btn:hover { color: var(--store-primary); }
[data-action="wishlist"][aria-pressed="true"] .icon { fill: currentColor; }

/* ---------------------------------------------------------------- التقييم والسعر والنوع */
.rating { display: inline-flex; align-items: center; gap: 4px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); font-size: 14px; line-height: 1; }
.stars .off { color: var(--star-off); }
.rate-count { font-size: 13px; color: var(--muted); }
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-weight: 800; color: var(--store-primary); font-size: 17px; }
.price del { color: var(--muted); font-weight: 400; font-size: 14px; }
.price-lg { font-size: 28px; }
.price-lg del { font-size: 18px; }

.type-dot {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .85);
}
.type-dot[data-type="print"] { background: #DB7056; }
.type-dot[data-type="ebook"] { background: #5675A3; }
.type-dot[data-type="audio"] { background: #986AB0; }
.type-dot[data-type="educational"] { background: #3f8f6b; }
.type-dot-sm { position: static; width: 24px; height: 24px; font-size: 13px; box-shadow: none; }

.badge { display: inline-block; padding: 3px 9px; font-size: 13px; font-weight: 700; color: #fff; line-height: 1.5; }
.badge-sale { background: var(--store-primary); }
.badge-new { background: var(--store-accent); }

/* دائرة الأيقونة: مصمتةٌ بأيقونةٍ بيضاء */
.feat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--store-primary);
	color: #fff;
	font-size: 22px;
}

/* ---------------------------------------------------------------- الأشرطة الزجاجيّة الشفّافة */
.glass-bars {
	position: absolute;
	top: 8%;
	bottom: 8%;
	inset-inline-end: 3%;
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 9px;
	pointer-events: none;
	z-index: 1;
}
.glass-bars span {
	display: block;
	height: 38px;
	background: rgba(255, 255, 255, .34);
	border: 1px solid rgba(255, 255, 255, .8);
	animation: bar-in 1.1s ease-out both;
}
.glass-bars span:nth-child(1) { margin-inline: 6% 2%; animation-delay: .05s; }
.glass-bars span:nth-child(2) { margin-inline: 0 5%; animation-delay: .15s; }
.glass-bars span:nth-child(3) { margin-inline: 3% 3%; animation-delay: .25s; }
.glass-bars span:nth-child(4) { margin-inline: 1% 6%; animation-delay: .35s; }
.glass-bars span:nth-child(5) { margin-inline: 4% 1%; animation-delay: .45s; }
.glass-bars span:nth-child(6) { margin-inline: 2% 4%; animation-delay: .55s; }
@keyframes bar-in {
	from { transform: translateX(-40px); opacity: 0; }
	60% { opacity: 1; }
	to { transform: none; opacity: .75; }
}

/* ---------------------------------------------------------------- الرأس */
/* الرأس ثابتٌ أعلى الشاشة: يمرّ الخطّ المتدرّج والشريط العلويّ، ويبقى صفّ الشعار (--hdr-pin يحسبه theme.js) */
.site-header { position: sticky; top: var(--hdr-pin, 0px); z-index: 30; background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(20, 20, 40, .08); }
.site-header::before { content: ""; display: block; height: 6px; background: var(--gradient); }
.topbar { background: #FAFAFA; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tb-info { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.tb-info li { display: inline-flex; align-items: center; gap: 7px; }
.tb-info .icon { color: var(--store-accent); font-size: 15px; }
.tb-info a:hover { color: var(--store-primary); }
.tb-social { display: flex; gap: 4px; }
.tb-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.tb-social a:hover { color: var(--store-primary); }

.header-main > .container { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-name { font-size: 30px; font-weight: 800; letter-spacing: -.5px; color: var(--store-text); white-space: nowrap; }
.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 12px;
	border: 0;
	background: none;
	font-size: 15px;
	font-weight: 500;
}
.main-nav .icon { font-size: 13px; }
.main-nav a[aria-current="page"], .main-nav > ul > li > button:hover { color: var(--store-primary); }
.drop {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 210px;
	padding: 10px 0;
	background: #fff;
	border-top: 3px solid var(--store-primary);
	box-shadow: 0 14px 30px rgba(20, 20, 40, .1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .2s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 8px 20px; font-size: 14px; }
.drop a:hover { background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.header-actions .icon-btn { font-size: 20px; }
.count {
	position: absolute;
	top: 3px;
	inset-inline-end: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--store-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.menu-toggle { display: none; font-size: 22px; }
.header-search { display: none; border-top: 1px solid var(--line); background: var(--soft); padding: 14px 0; }
.header-main.search-open .header-search { display: block; }
.header-search .container { display: flex; gap: 0; }
.header-search input { flex: 1; height: 48px; }

/* الدرج الجانبيّ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20, 20, 40, .45); z-index: 60; opacity: 0; visibility: hidden; transition: .25s; }
.drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	z-index: 61;
	width: min(340px, 88vw);
	overflow-y: auto;
	background: #fff;
	border-top: 6px solid var(--store-primary);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .3s, visibility .3s;
}
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head .brand img { width: 40px; height: 40px; }
.drawer-head .brand-name { font-size: 21px; }
.drawer-search { display: flex; margin: 16px 18px; border: 1px solid var(--line); }
.drawer-search input { flex: 1; border: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li > a, .drawer-label { display: block; padding: 12px 20px; font-weight: 700; }
.drawer-cats { display: flex; flex-direction: column; padding: 0 34px 10px 20px; }
.drawer-cats a { padding: 6px 0; color: var(--muted); }
.drawer-contact { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.drawer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.drawer-contact .icon { color: var(--store-accent); }

/* ---------------------------------------------------------------- العناوين */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.sec-head.center { justify-content: center; text-align: center; }
.kicker { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--store-accent); }
.sec-title { font-size: 36px; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------- السلايدر */
.slider { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slides > * { flex: 0 0 100%; scroll-snap-align: start; }
.hero .slide { position: relative; min-height: 560px; background: var(--mist); overflow: hidden; }
.slide-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(to left, transparent 0, transparent 44%, #000 72%);
	mask-image: linear-gradient(to left, transparent 0, transparent 44%, #000 72%);
}
.slide-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 560px; }
.slide-copy { max-width: 540px; padding: 60px 0 90px; }
.slide-text { font-size: 22px; font-weight: 300; color: var(--store-accent); line-height: 1.6; }
.slide-title { margin-top: 6px; font-size: 64px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; color: var(--store-primary); }
.slide-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slider-nav { position: absolute; bottom: 26px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 14px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: #B9BAC8; }
.slider-dots button[aria-current="true"] { background: var(--store-primary); }

/* ---------------------------------------------------------------- اللوحات الثلاث */
.info-panels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.panel { position: relative; overflow: hidden; padding: 54px 40px 50px; color: #fff; min-height: 380px; }
.panel::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); top: -120px; inset-inline-end: -140px; pointer-events: none; }
.panel > * { position: relative; }
.panel-find { background: var(--store-primary); }
.panel-reviews { background: var(--panel-mid); }
.panel-hours { background: var(--store-accent); }
.panel-title { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; line-height: 1.15; text-align: center; }
.panel-title small { font-size: 20px; font-weight: 500; }
.panel-title span { font-size: 44px; font-weight: 800; letter-spacing: -.5px; }
.panel-fields { display: grid; gap: 12px; }
.panel-fields input, .panel-fields select { width: 100%; height: 46px; background: transparent; border: 1px solid rgba(255, 255, 255, .8); color: #fff; }
.panel-fields input::placeholder { color: #fff; }
.panel-fields option { color: var(--store-text); background: #fff; }
.panel-fields .btn { justify-self: start; }
.mini-slider .slides { gap: 0; }
.panel-review { text-align: center; padding: 0 6px; }
.rv-quote { font-size: 30px; opacity: .9; }
.panel-review .rv-text { margin: 6px 0 18px; font-size: 16px; line-height: 1.9; }
.panel-review .rv-who { justify-content: center; text-align: start; }
.panel-review .rv-avatar { background: #fff; color: var(--store-primary); }
.panel-review small { color: #fff; }
.mini-slider .slider-dots { margin-top: 18px; }
.mini-slider .slider-dots button { background: rgba(255, 255, 255, .45); }
.mini-slider .slider-dots button[aria-current="true"] { background: #fff; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.hours dd { font-weight: 700; }
.panel-phone { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 20px; font-weight: 700; }

/* ---------------------------------------------------------------- الترحيب */
.welcome { padding: 76px 0 20px; text-align: center; }
.welcome-title { font-size: 42px; font-weight: 800; letter-spacing: -.5px; line-height: 1.25; }
.welcome-text { max-width: 760px; margin: 16px auto 28px; font-size: 20px; color: var(--muted); line-height: 1.8; }
[data-option]:empty { display: none; }

/* ---------------------------------------------------------------- شبكة الكتب وبطاقة الكتاب */
body[data-books-per-row="3"] { --per-row: 3; --per-row-list: 3; }
body[data-books-per-row="4"] { --per-row: 4; --per-row-list: 3; }
body[data-books-per-row="5"] { --per-row: 5; --per-row-list: 4; }
body[data-books-per-row="6"] { --per-row: 6; --per-row-list: 5; }
.book-grid { display: grid; grid-template-columns: repeat(var(--per-row), minmax(0, 1fr)); gap: 26px; }
.listing-grid { grid-template-columns: repeat(var(--per-row-list), minmax(0, 1fr)); }

.book-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.book-card:hover { border-color: #D3D3DC; box-shadow: 0 12px 28px rgba(30, 30, 60, .08); }
.bc-media { position: relative; overflow: hidden; background: var(--mist); }
.bc-cover { display: block; }
.bc-cover img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .4s; }
.book-card:hover .bc-cover img { transform: scale(1.03); }
.bc-badges { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
/* المفضّلة والنظرة السريعة تطفوان فوق الغلاف: عند التحويم في الحاسوب، ودائمًا في اللمس، ولا تحجزان مكانًا */
.bc-tools { position: absolute; bottom: 10px; inset-inline-end: 10px; z-index: 3; display: flex; gap: 4px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.book-card:hover .bc-tools, .book-card:focus-within .bc-tools { opacity: 1; transform: none; }
.bc-tool { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: rgba(255, 255, 255, .95); color: var(--store-text); font-size: 18px; box-shadow: 0 4px 12px rgba(30, 30, 60, .14); transition: background .2s, color .2s; }
.bc-tool:hover { background: var(--dark); color: #fff; }
.bc-body { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 16px 12px 14px; text-align: center; flex: 1; }
/* شريط السلّة: ظاهرٌ دائمًا بعرض البطاقة تحت السعر، بخطٍّ رفيع فوقه، ويمتلئ بلون المتجر عند التحويم */
.bc-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--store-primary); font-size: 14px; font-weight: 700; line-height: 1.3; transition: background .2s, color .2s; }
.bc-add .icon { font-size: 17px; }
.bc-add:hover { background: var(--store-primary); color: #fff; }
.bc-add:disabled { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.book-title { font-size: 16px; font-weight: 700; line-height: 1.45; }
.book-author { font-size: 14px; color: var(--store-accent); }
.bc-rate { display: inline-flex; align-items: center; gap: 4px; }
.bc-body .price { justify-content: center; margin-top: auto; padding-top: 2px; }
.stock-band { position: absolute; top: 46%; inset-inline: 0; z-index: 2; padding: 7px; background: rgba(40, 40, 50, .9); color: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.is-out .bc-cover img { opacity: .5; filter: grayscale(.6); }
body[data-card-style="lifted"] .book-card { border-color: transparent; box-shadow: 0 10px 30px rgba(30, 30, 60, .09); }
body[data-card-style="minimal"] .book-card { border-color: transparent; background: transparent; box-shadow: none; }
body[data-card-style="minimal"] .bc-body { padding-inline: 0; }
body[data-card-style="minimal"] .bc-add { border: 1px solid var(--line); }
@media (hover: none) {
	.bc-tools { opacity: 1; transform: none; }
}

/* بطاقة «شاهدتَه مؤخّرًا» */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.mini-card { display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); }
.mc-cover { position: relative; flex: 0 0 76px; }
.mc-cover img { display: block; width: 76px; aspect-ratio: 2 / 3; object-fit: cover; }
.mc-cover .type-dot { top: -6px; inset-inline-start: -6px; width: 26px; height: 26px; font-size: 13px; }
.mc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-body .book-title { font-size: 15px; }
.mc-body .price { font-size: 15px; }

/* ---------------------------------------------------------------- المؤلّفون */
.author-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.author-card { display: block; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s; }
.author-card:hover { box-shadow: 0 12px 28px rgba(30, 30, 60, .08); color: inherit; }
.author-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ac-body { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px 22px; text-align: center; }
.ac-body b { font-size: 18px; }
.ac-body small { font-size: 14px; color: var(--store-accent); }

/* ---------------------------------------------------------------- شريط الثقة وصورته المفرّغة */
.trust { margin-top: 120px; background: var(--store-accent); color: #fff; }
.trust-grid { display: flex; align-items: flex-end; gap: 56px; }
.trust-figure { flex: 0 0 340px; margin-top: -120px; display: block; }
.trust-figure img { display: block; width: 100%; height: auto; }
.trust-copy { flex: 1; padding: 64px 0; }
.trust-copy h2 { font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; }
.trust-lead { margin: 12px 0 34px; font-size: 19px; line-height: 1.8; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 34px; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; }
.trust-list h3 { font-size: 18px; font-weight: 700; }
.trust-list p { font-size: 15px; line-height: 1.7; }

/* ---------------------------------------------------------------- الأعمدة الثلاثة */
.trio-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 40px; align-items: start; }
.trio-title { margin-bottom: 22px; font-size: 32px; font-weight: 800; letter-spacing: -.5px; line-height: 1.25; }
.trio-lead { margin-bottom: 8px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.acc { margin-bottom: 3px; background: #fff; }
.acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding-inline-start: 20px;
	background: var(--store-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}
.acc summary::-webkit-details-marker { display: none; }
.acc[open] summary { background: var(--store-accent); }
.acc-plus { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; width: 46px; border-inline-start: 1px solid rgba(255, 255, 255, .4); font-size: 18px; }
.acc-plus .icon { transition: transform .2s; }
.acc[open] .acc-plus .icon { transform: rotate(45deg); }
.acc-body { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-top: 0; }
.acc-body img { width: 70px; height: 70px; object-fit: cover; flex: none; }
.acc-body p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.acc-body a { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--store-accent); }
.title-list li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.title-list li > a { flex: 1; font-size: 15px; font-weight: 500; }
.title-list .price { font-size: 15px; }
.title-list .price del { display: none; }
.side-banner { display: block; border: 1px solid var(--line); background: #fff; }
.side-banner img { display: block; width: 100%; aspect-ratio: 46 / 30; object-fit: cover; }
.sb-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; font-size: 15px; color: var(--muted); line-height: 1.8; }
.sb-link { display: inline-flex; align-items: center; font-weight: 700; color: var(--store-accent); }

/* ---------------------------------------------------------------- الشريط النصّيّ */
.cta-strip { position: relative; overflow: hidden; background: var(--soft); padding: 34px 0; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-strip .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-text { font-size: 24px; line-height: 1.5; }
.cta-text b { color: var(--store-accent); font-weight: 800; }

/* ---------------------------------------------------------------- صفّ الأغلفة بعرض الصفحة */
.rail-wrap { position: relative; }
.rail-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-card { position: relative; flex: 0 0 calc(100% / 7); scroll-snap-align: start; overflow: hidden; }
.rail-card > a img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.rail-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 10px 14px 12px; background: rgba(35, 35, 50, .88); color: #fff; transform: translateY(100%); transition: transform .25s; }
.rail-card:hover .rail-cap, .rail-card:focus-within .rail-cap { transform: none; }
.rail-cap h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.rail-cap a:hover { color: #fff; text-decoration: underline; }
.rail-cap .price, .rail-cap .price del { color: #fff; font-size: 14px; }
.rail-btn { position: absolute; top: 0; bottom: 0; z-index: 3; width: 50px; border: 0; color: #fff; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; opacity: .94; }
.rail-prev { inset-inline-start: 0; background: var(--store-accent); }
.rail-next { inset-inline-end: 0; background: var(--store-primary); }
@media (hover: none) {
	.rail-cap { transform: none; }
}

/* ---------------------------------------------------------------- بانر العنوان ذي الأسطر الثلاثة */
.feature-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature-title { font-size: 48px; font-weight: 800; line-height: 1.12; letter-spacing: -1px; }
.feature-title span { display: block; }
.feature-title .hl { color: var(--store-accent); }
.feature-copy p { margin: 18px 0 28px; font-size: 19px; color: var(--muted); line-height: 1.8; }
.feature-media { margin: 0; }
.feature-media img { display: block; width: 100%; }

/* ---------------------------------------------------------------- النشرة */
.newsletter { padding: 80px 0; text-align: center; }
.nl-kicker { font-size: 20px; font-weight: 700; }
.nl-title { font-size: 52px; font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--store-accent); }
.nl-text { margin-top: 10px; color: var(--muted); font-size: 17px; }
.nl-field { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 420px; margin: 26px auto 0; }
.nl-field input { width: 100%; height: 50px; text-align: center; }

/* ---------------------------------------------------------------- التصنيفات بالأرقام */
.counts { padding: 64px 0; background: var(--band-deep); color: #fff; }
.counts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.count-item { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.count-item:hover { color: #fff; }
.count-item img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .6); }
.count-item b { margin-top: 10px; font-size: 62px; font-weight: 800; line-height: 1.05; color: var(--num-tint); letter-spacing: -1px; }
.count-item span { font-size: 20px; }

/* ---------------------------------------------------------------- التذييل */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.footer-title { margin-bottom: 20px; font-size: 22px; font-weight: 800; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.footer-contact .icon { color: var(--store-accent); margin-top: 4px; }
.footer-contact a { color: var(--store-accent); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: var(--store-primary); }
.footer-about { color: var(--muted); font-size: 15px; line-height: 1.9; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); color: var(--muted); font-size: 17px; }
.footer-social a:hover { background: var(--store-primary); border-color: var(--store-primary); color: #fff; }
.footer-bottom { margin-top: 54px; padding: 30px 0 26px; border-top: 1px solid var(--line); text-align: center; }
.footer-bottom::after { content: ""; display: block; height: 0; }
.footer-bottom .brand { justify-content: center; }
.footer-bottom .brand-name { font-size: 26px; }
.footer-bottom p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.site-footer::after { content: ""; display: block; height: 6px; background: var(--gradient); }

/* ---------------------------------------------------------------- رأس الصفحات الداخليّة */
.page-head { position: relative; overflow: hidden; padding: 44px 0 40px; background: var(--mist); }
.page-head::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 55%; background: linear-gradient(to left, transparent, color-mix(in srgb, var(--store-primary) 16%, var(--mist))); }
.page-head .glass-bars { width: 42%; }
.page-head .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: #9a9a9a; }
.breadcrumb a:hover { color: var(--store-primary); }
.breadcrumb [aria-current] { color: var(--store-text); font-weight: 700; }
.ph-title { margin-top: 10px; font-size: 46px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
p.ph-title { font-size: 28px; color: var(--store-primary); }
.ph-lead { margin-top: 8px; max-width: 640px; font-size: 18px; color: var(--muted); }
.sub-strip { margin-top: 26px; }
.sub-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.sub-chip { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--line); }
.sub-chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.sub-chip span { display: flex; flex-direction: column; line-height: 1.35; }
.sub-chip b { font-size: 14px; }
.sub-chip small { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- قائمة التصنيف */
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; align-items: start; }
.filters-head { display: none; }
.acc-filter .acc-body { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--store-primary); }
.price-range { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.price-range input { width: 76px; }
.filters > .btn { margin-top: 14px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; padding: 10px 16px; border: 1px solid var(--line); font-size: 15px; }
.filters-toggle { display: none; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 42px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px; border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.pagination a:hover { border-color: var(--store-primary); color: var(--store-primary); }
.pagination [aria-current="page"] { background: var(--store-primary); border-color: var(--store-primary); color: #fff; }
.pagination .gap { border-color: transparent; }

/* ---------------------------------------------------------------- صفحة الكتاب */
.pdp { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 54px; align-items: start; }
.gallery-main { position: relative; padding: 28px; background: var(--soft); border: 1px solid var(--line); }
.gallery-main img { display: block; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 16px 34px rgba(30, 30, 60, .16); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 74px; padding: 4px; border: 1px solid var(--line); background: #fff; }
.thumbs button[aria-pressed="true"] { border: 2px solid var(--store-primary); }
.thumbs img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pdp-type { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.pdp-type .type-dot { position: static; width: 28px; height: 28px; font-size: 14px; box-shadow: none; }
.pdp-title { font-size: 48px; font-weight: 800; line-height: 1.15; letter-spacing: -1px; }
.pdp-author { font-size: 17px; }
.pdp-author a { color: var(--store-accent); font-weight: 700; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pdp-lead { font-size: 17px; color: var(--muted); line-height: 1.9; }
.pdp-metas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; width: 100%; padding: 16px 0; border-block: 1px solid var(--line); }
.pdp-metas li { display: flex; align-items: center; gap: 12px; }
.pdp-metas .feat-icon { width: 38px; height: 38px; font-size: 17px; }
.pdp-metas small { display: block; font-size: 13px; color: var(--muted); }
.pdp-metas b { font-size: 15px; }
.pdp-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.pdp-wish { width: 52px; height: 52px; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { width: 44px; border: 0; background: var(--mist); font-size: 18px; font-weight: 700; }
.qty button:hover { color: var(--store-primary); }
.qty input { width: 54px; height: 44px; border: 0; text-align: center; -moz-appearance: textfield; padding: 0; }
.pdp-buttons .qty button { min-height: 50px; }
.pdp-buttons .qty input { height: 50px; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ok); }
/* صندوق التوصيل والدفع: ثلاثة أسطرٍ مختصرة في إطارٍ رماديّ */
.pdp-delivery { width: 100%; border: 1px solid var(--line); background: var(--soft); }
.pdp-delivery li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.pdp-delivery li + li { border-top: 1px solid var(--line); }
.pdp-delivery .icon { color: var(--store-accent); font-size: 19px; }
.pdp-delivery b { color: var(--store-text); }
/* اختيار الصيغة (book.formats): مستطيلاتٌ حادّة، والمختارة بإطارٍ بلون المتجر */
.formats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.formats-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.formats-list { display: flex; flex-wrap: wrap; gap: 8px; }
.format-opt { display: inline-flex; flex-direction: column; min-width: 118px; padding: 7px 16px; border: 1px solid var(--line); background: #fff; line-height: 1.45; }
.format-opt span { font-size: 14px; font-weight: 700; }
.format-opt b { font-size: 14px; color: var(--store-primary); }
.format-opt:hover { border-color: var(--store-primary); color: inherit; }
.format-opt[aria-current="true"] { border-color: var(--store-primary); box-shadow: inset 0 0 0 1px var(--store-primary); }
.sample-box { display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--soft); }
.sample-play { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--store-primary); color: #fff; font-size: 20px; }
.sample-info { display: flex; flex-direction: column; line-height: 1.5; }
.sample-info span { font-size: 13px; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 3px; margin-inline-start: auto; height: 36px; }
.wave span { display: block; width: 3px; background: color-mix(in srgb, var(--store-accent) 55%, #fff); }

.tabs { margin-top: 60px; }
.tab-list { display: flex; flex-wrap: wrap; }
.tab-list [role="tab"] { padding: 12px 26px; border: 1px solid var(--line); border-bottom: 0; margin-inline-end: -1px; background: #fff; font-weight: 700; font-size: 15px; }
.tab-list [role="tab"][aria-selected="true"] { background: var(--store-accent); border-color: var(--store-accent); color: #fff; }
.tab-panel { padding: 30px; border: 1px solid var(--line); }
.prose p { margin-bottom: 14px; font-size: 16px; line-height: 1.95; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; font-size: 15px; }
.spec-table th { width: 32%; color: var(--muted); font-weight: 500; background: var(--soft); }
.reviews-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
.reviews-summary { display: flex; align-items: center; gap: 14px; }
.reviews-summary strong { font-size: 54px; font-weight: 800; line-height: 1; }
.reviews-summary small { display: block; font-size: 14px; color: var(--muted); }
.rating-bars { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.rating-bars li { display: grid; grid-template-columns: 62px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bar { height: 8px; background: #EBEBF0; }
.bar span { display: block; height: 100%; background: var(--gold); }
.review-form { margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--soft); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.review-form h3 { font-size: 17px; }
.review-form p { font-size: 14px; color: var(--muted); }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; margin: 0; padding: 0; border: 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { color: var(--star-off); font-size: 24px; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--store-accent); }
.review-list { display: grid; gap: 16px; }
.review-card { padding: 22px; border: 1px solid var(--line); background: #fff; }
.review-card .rv-quote { color: var(--store-accent); }
.review-card .rv-text { margin: 6px 0 16px; font-size: 15px; line-height: 1.9; }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--store-primary); color: #fff; font-weight: 800; font-size: 18px; }
.rv-who b { display: block; font-size: 15px; }
.rv-who small { display: block; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- صفحة المؤلّف */
.author-hero { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 54px; align-items: center; }
.ah-photo { padding: 12px; background: #fff; border: 1px solid var(--line); }
.ah-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ah-name { font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.ah-bio { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.ah-bio p + p { margin-top: 10px; }
.ah-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 24px; }
.ah-stats li { display: flex; align-items: center; gap: 12px; }
.ah-stats b { display: block; font-size: 24px; font-weight: 800; line-height: 1.2; }
.ah-stats small { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- السلّة */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.cart-head, .cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 150px 120px 50px; align-items: center; gap: 14px; }
.cart-head { padding: 12px 16px; background: var(--mist); font-size: 14px; font-weight: 700; }
.cart-row { padding: 18px 16px; border-bottom: 1px solid var(--line); }
.ci-book { display: flex; align-items: center; gap: 16px; }
.ci-cover { position: relative; flex: 0 0 72px; }
.ci-cover img { display: block; width: 72px; aspect-ratio: 2 / 3; object-fit: cover; }
.ci-cover .type-dot { top: -6px; inset-inline-start: -6px; width: 26px; height: 26px; font-size: 13px; }
.ci-book h3 { font-size: 16px; }
.ci-book p { font-size: 14px; color: var(--muted); }
.ci-type { font-size: 12px; font-weight: 700; color: var(--store-accent); }
.ci-price small, .ci-total small { display: none; font-size: 12px; color: var(--muted); }
.ci-price .price { font-size: 15px; flex-direction: column; gap: 0; }
.ci-total b { font-size: 16px; }
.ci-remove { width: 40px; height: 40px; }
.cart-under { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; }
.empty-cart { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 50px 20px; text-align: center; border: 1px solid var(--line); }
.empty-cart p { color: var(--muted); }
.summary { padding: 26px; background: var(--soft); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.summary h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.coupon { display: flex; margin-bottom: 10px; }
.coupon input { flex: 1; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border: 1px dashed #BDBDC8; background: #fff; font-size: 14px; }
.coupon-applied button { border: 0; background: none; color: var(--store-accent); font-weight: 700; padding: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-total { font-size: 20px; font-weight: 800; border-bottom: 0; }
.summary .btn { margin-top: 10px; }
.note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.note .icon { color: var(--store-accent); }

/* ---------------------------------------------------------------- 404 */
.nf { position: relative; overflow: hidden; padding: 70px 0 80px; background: var(--mist); text-align: center; }
.nf .glass-bars { inset-inline-end: 0; width: 100%; opacity: .7; }
.nf-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nf-code { font-size: 190px; font-weight: 800; line-height: 1; letter-spacing: -6px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 38px; font-weight: 800; line-height: 1.3; }
.nf-text { max-width: 560px; font-size: 18px; color: var(--muted); }
.nf-search { display: flex; width: 100%; max-width: 520px; }
.nf-search input { flex: 1; height: 48px; }
.nf-search .btn { min-height: 48px; }

/* ---------------------------------------------------------------- صفحة المكوّنات */
.kit-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.kit-block { min-width: 0; padding: 26px; border: 1px solid var(--line); }
.kit-title { margin-bottom: 14px; font-size: 20px; font-weight: 800; }
.kit-note { margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.kit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; }
.kit-row .type-dot { position: static; box-shadow: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 18px; }
.swatch { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.swatch span { display: block; width: 72px; height: 72px; border: 1px solid var(--line); }
.kit-gradient { height: 6px; margin-top: 18px; background: var(--gradient); }
.kit-panel-title { color: #fff; background: var(--store-primary); padding: 22px; margin: 18px 0; align-items: flex-start; }
.kit-feats { color: #fff; background: var(--store-accent); padding: 24px; margin-bottom: 14px; }
.kit-cards { --per-row: 4; }
.kit-authors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kit-acc { max-width: 420px; }
.kit-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kit-block .deal { margin: 0 -26px 16px; }
.kit-block > .countdown { color: var(--store-text); }
.kit-narrow { max-width: 520px; }

/* ---------------------------------------------------------------- خيارات الإظهار */
body[data-show-trust-bar="false"] .trust { display: none; }
body[data-show-info-panels="false"] .info-panels { display: none; }
body[data-show-reviews="false"] .reviews-section { display: none; }
body[data-show-newsletter="false"] .newsletter { display: none; }

/* ---------------------------------------------------------------- الحاسوب الصغير والجهاز اللوحيّ */
@media (max-width: 1100px) {
	.main-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.header-actions { margin-inline-start: auto; }
	.header-main > .container { gap: 12px; min-height: 80px; }
	body[data-books-per-row="5"], body[data-books-per-row="6"] { --per-row: 4; }
	.listing { grid-template-columns: minmax(0, 1fr); }
	.listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.filters {
		position: fixed;
		top: 0;
		bottom: 0;
		inset-inline-start: 0;
		z-index: 61;
		width: min(340px, 88vw);
		overflow-y: auto;
		padding: 0 18px 24px;
		background: #fff;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s, visibility .3s;
	}
	.filters-open .filters { transform: none; visibility: visible; }
	.filters-open .drawer-backdrop { opacity: 1; visibility: visible; }
	.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
	.filters-head h2 { font-size: 18px; }
	.filters-toggle { display: inline-flex; }
	.pdp { grid-template-columns: 340px minmax(0, 1fr); gap: 36px; }
	.pdp-metas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-figure { flex-basis: 270px; }
	.rail-card { flex-basis: calc(100% / 5); }
	.reviews-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
	.info-panels { grid-auto-flow: row; }
	.panel { min-height: 0; }
	.trio-grid { grid-auto-flow: row; }
	.feature-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid .footer-col:last-child { grid-column: 1 / -1; }
	.cart-layout { grid-template-columns: minmax(0, 1fr); }
	.pdp { grid-template-columns: minmax(0, 1fr); }
	.gallery { max-width: 420px; width: 100%; margin: 0 auto; }
	.author-hero { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
	.counts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.tb-info .tb-address { display: none; }
}

/* ---------------------------------------------------------------- الهاتف */
@media (max-width: 767px) {
	.section { padding: 50px 0; }
	.topbar .container { justify-content: center; }
	.tb-info .tb-mail, .tb-social { display: none; }
	.tb-info { gap: 4px 18px; justify-content: center; }
	.header-main > .container { min-height: 68px; }
	.brand img { width: 40px; height: 40px; }
	.brand-name { font-size: 22px; }
	.header-actions .hide-sm { display: none; }
	.sec-title { font-size: 27px; }
	.hero .slide { min-height: 0; display: flex; flex-direction: column; }
	.slide-img {
		position: relative;
		height: 210px;
		-webkit-mask-image: linear-gradient(to top, transparent 0, #000 45%);
		mask-image: linear-gradient(to top, transparent 0, #000 45%);
		object-position: left center;
	}
	.hero .glass-bars { display: none; }
	.slide-inner { min-height: 0; }
	.slide-copy { padding: 4px 0 74px; }
	.slide-text { font-size: 17px; }
	.slide-title { font-size: 36px; }
	.slider-nav { bottom: 18px; }
	.panel { padding: 40px 22px; }
	.panel-title span { font-size: 36px; }
	.welcome { padding-top: 54px; }
	.welcome-title { font-size: 30px; }
	.welcome-text { font-size: 17px; }
	.book-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.book-grid > * { scroll-snap-align: start; }
	.listing-grid, .kit-cards { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
	.bc-add { font-size: 13px; gap: 6px; }
	.bc-body { padding: 12px 8px 10px; }
	.book-author { font-size: 13px; }
	.bc-body .price { gap: 6px; font-size: 15px; }
	.bc-body .price del { font-size: 12px; }
	.author-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; }
	.author-grid > * { scroll-snap-align: start; }
	.mini-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; }
	.mini-grid > * { scroll-snap-align: start; }
	.trust { margin-top: 90px; }
	.trust-grid { flex-direction: column; align-items: center; gap: 0; }
	.trust-figure { flex: none; width: 210px; margin-top: -90px; }
	.trust-copy { padding: 30px 0 50px; }
	.trust-copy h2 { font-size: 29px; }
	.trust-list { grid-template-columns: minmax(0, 1fr); }
	.trio-title { font-size: 27px; }
	.cta-text { font-size: 20px; }
	.rail-card { flex-basis: 44%; }
	.rail-btn { width: 38px; }
	.feature-title { font-size: 36px; }
	.nl-title { font-size: 38px; }
	.count-item b { font-size: 46px; }
	.count-item span { font-size: 17px; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.page-head { padding: 30px 0; }
	.page-head .glass-bars { display: none; }
	.ph-title { font-size: 32px; }
	p.ph-title { font-size: 22px; }
	.pdp-title { font-size: 34px; }
	.pdp-metas { grid-template-columns: minmax(0, 1fr); }
	.wave { display: none; }
	.tab-list [role="tab"] { padding: 10px 14px; font-size: 14px; }
	.tab-panel { padding: 20px 16px; }
	.author-hero { grid-template-columns: minmax(0, 1fr); }
	.ah-photo { max-width: 260px; }
	.ah-name { font-size: 38px; }
	.cart-head { display: none; }
	.cart-row { grid-template-columns: 1fr 1fr auto; gap: 12px; padding: 16px 0; }
	.cart-row > :first-child { grid-column: 1 / -1; }
	.ci-price small, .ci-total small { display: block; }
	.ci-price { order: 1; }
	.cart-row > :nth-child(3) { order: 3; grid-column: 1 / 3; }
	.ci-total { order: 2; }
	.cart-row > :last-child { order: 4; }
	.nf-code { font-size: 120px; letter-spacing: -3px; }
	.nf h1 { font-size: 28px; }
	.kit-authors, .kit-reviews { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; overflow: visible; }
	.kit-block { padding: 18px; }
	.kit-block .deal { margin-inline: -18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- ميزات المنصّة */
/* التصنيفات الفرعيّة تحت التصنيف المفتوح في الأكورديون */
.acc-children { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }
.acc-children a { display: inline-block; margin: 0; font-weight: 500; padding: 3px 10px; border: 1px solid var(--line); font-size: 13px; color: var(--store-text); transition: border-color .2s, color .2s; }
.acc-children a:hover { border-color: var(--store-accent); color: var(--store-accent); }

/* اسم الكتاب تحت صاحب الرأي في لوحة الآراء: أبيض على اللوحة الملوّنة */
.panel-review .rv-who small { color: #fff; }

/* ---------------------------------------------------------------- تبويبات صفّ الكتب (section.tabs) */
.row-tabs { display: flex; flex-wrap: wrap; margin: -12px 0 26px; border-bottom: 1px solid var(--line); }
.row-tabs [role="tab"] { margin: 0 0 -1px; margin-inline-end: -1px; padding: 10px 24px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 700; color: var(--store-text); }
.row-tabs [role="tab"]:hover { color: var(--store-primary); }
.row-tabs [role="tab"][aria-selected="true"] { background: var(--store-accent); border-color: var(--store-accent); color: #fff; }
/* إن لم يختر الناشر غير مصدرٍ واحد يختفي الشريط ويبقى الصفّ (القاعدة 16) */
[data-slot="section.tabs"]:not(:has([data-repeat="tab"] ~ [role="tab"])) { display: none; }

/* صفوفٌ ممتلئة: صفّ «رفوف المكتبة» يعرض صفّين كاملين لكلّ قيمةٍ من books_per_row، وقائمة التصنيف صفوفًا كاملة */
.book-grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 768px) {
	body[data-books-per-row="3"] .book-grid.is-row > :nth-child(n+7),
	body[data-books-per-row="4"] .book-grid.is-row > :nth-child(n+9),
	body[data-books-per-row="5"] .book-grid.is-row > :nth-child(n+11),
	body[data-books-per-row="6"] .listing-grid:not(.is-list) > :nth-child(n+11) { display: none; }
}
@media (min-width: 768px) and (max-width: 1100px) {
	body[data-books-per-row="5"] .book-grid.is-row > :nth-child(n+9),
	body[data-books-per-row="6"] .book-grid.is-row > :nth-child(n+9) { display: none; }
	body[data-books-per-row="6"] .listing-grid:not(.is-list) > :nth-child(n+11) { display: flex; }
}

/* ---------------------------------------------------------------- عرض الأسبوع: لوحةٌ ملوّنة بعرض الصفحة، وكتابٌ واحد كبير */
.deal { position: relative; overflow: hidden; padding: 64px 0; background: var(--store-primary); color: #fff; }
.deal::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); top: -170px; inset-inline-start: -120px; pointer-events: none; }
.deal-grid { position: relative; display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: center; }
.deal-title { align-items: flex-start; margin-bottom: 12px; text-align: start; }
.deal-sub { margin-bottom: 26px; font-size: 18px; line-height: 1.8; }
.countdown { display: flex; gap: 10px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; height: 78px; border: 1px solid rgba(255, 255, 255, .8); }
.cd-unit b { font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit small { margin-top: 6px; font-size: 13px; }
.deal-book { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: center; padding: 28px; background: #fff; color: var(--store-text); }
.deal-cover { position: relative; overflow: hidden; padding: 22px 26px; background: color-mix(in srgb, var(--store-primary) 16%, #fff); }
.deal-cover .glass-bars { top: 6%; bottom: 6%; inset-inline-end: 0; width: 100%; }
.deal-cover a { position: relative; z-index: 2; display: block; }
.deal-cover img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 16px 30px rgba(30, 30, 60, .25); }
.deal-cover .type-dot { top: 10px; inset-inline-start: 10px; z-index: 3; }
.deal-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.deal-book-title { font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; }
.deal-text { margin-top: 4px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.deal-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.deal-buttons .sq-btn { width: 46px; height: 46px; }

/* ---------------------------------------------------------------- المقالات */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s; }
.post-card:hover { box-shadow: 0 12px 28px rgba(30, 30, 60, .08); }
.post-media { display: block; overflow: hidden; }
.post-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-media img { transform: scale(1.03); }
.post-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px 22px; }
.post-date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--store-accent); }
.post-title { font-size: 20px; font-weight: 800; line-height: 1.45; }
.post-excerpt { font-size: 15px; line-height: 1.8; color: var(--muted); }
.post-more { display: inline-flex; align-items: center; margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--store-primary); }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card.is-lead { grid-column: 1 / -1; flex-direction: row; }
.is-lead .post-media { flex: 0 0 56%; }
.is-lead .post-media img { height: 100%; }
.is-lead .post-body { justify-content: center; padding: 34px 40px; }
.is-lead .post-title { font-size: 30px; line-height: 1.3; }
.is-lead .post-excerpt { font-size: 17px; }
.is-lead .post-more { margin-top: 6px; }
.post-head .post-date { margin-top: 12px; }
.container.article { max-width: 860px; }
.article-img { display: block; width: 100%; height: auto; margin-bottom: 30px; }
.article-body h2 { margin: 26px 0 10px; font-size: 26px; font-weight: 800; line-height: 1.3; }
.article-body p { font-size: 17px; }
.article-body blockquote { margin: 26px 0; padding: 20px 26px; border-inline-start: 5px solid var(--store-accent); background: var(--soft); font-size: 20px; font-weight: 700; line-height: 1.7; }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- التصنيف: التصفية المختارة، والشبكة أو القائمة */
.view-switch { display: flex; }
.view-switch .sq-btn { width: 40px; height: 40px; font-size: 17px; }
.view-switch .sq-btn + .sq-btn { margin-inline-start: -1px; }
.view-switch [aria-pressed="true"] { background: var(--store-accent); border-color: var(--store-accent); color: #fff; }
.view-switch [aria-pressed="true"]:hover { color: #fff; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -10px 0 22px; }
.af-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 12px; border: 1px solid var(--store-primary); font-size: 14px; font-weight: 700; color: var(--store-primary); }
.chip .icon { font-size: 14px; }
.chip:hover { background: var(--store-primary); color: #fff; }
.chip-clear { font-size: 14px; text-decoration: underline; }
.listing-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.is-list .book-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: 1fr auto; }
.is-list .bc-media { grid-row: 1 / 3; }
.is-list .bc-body { align-items: flex-start; padding: 18px 22px 12px; text-align: start; }
.is-list .bc-body .price { justify-content: flex-start; margin-top: 6px; }
.is-list .bc-add { justify-content: flex-start; padding-inline: 22px; }

/* ---------------------------------------------------------------- الجهاز اللوحيّ والهاتف للأقسام الجديدة */
@media (max-width: 1100px) {
	/* السلايدر: موضوع الصورة يبقى يسارًا بعيدًا عن العنوان */
	.slide-img { object-position: left center; }
	.slide-copy { max-width: 430px; }
	.slide-title { font-size: 52px; }
	/* «شاهدتَه مؤخّرًا» شريطٌ يُمرَّر بدل صفٍّ أخيرٍ ناقص */
	.mini-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3.3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
	.mini-grid > * { scroll-snap-align: start; }
	.deal-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.deal-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 30px; }
	.deal-title, .deal-sub { grid-column: 1; }
	.deal-sub { margin-bottom: 0; }
	.deal-head .countdown { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 900px) {
	/* اللوحات الثلاث شريطٌ يُمرَّر أفقيًّا بدل ثلاث شاشاتٍ متتالية */
	.info-panels { grid-auto-flow: column; grid-auto-columns: 48%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.info-panels::-webkit-scrollbar { display: none; }
	.panel { scroll-snap-align: start; padding: 34px 26px; }
	.panel-title { margin-bottom: 20px; }
	.panel-title span { font-size: 34px; }
	.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-figure { flex-basis: 200px; }
	/* الأعمدة الثلاثة: التصنيفات والعناوين عمودان، والبانر تحتهما بعرضهما */
	.trio-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
	.trio-grid > [data-region="home_side_banner"] { grid-column: 1 / -1; }
	.side-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
	.side-banner img { height: 100%; }
}
@media (max-width: 767px) {
	.topbar .container { min-height: 34px; }
	.tb-info { flex-wrap: nowrap; }
	.slide-copy { max-width: none; }
	.slide-title { font-size: 36px; }
	.mini-grid { grid-auto-columns: 82%; }
	.trio-grid { grid-template-columns: minmax(0, 1fr); }
	.side-banner { display: block; }
	.sec-title { font-size: 24px; }
	/* أوّل صفّ كتبٍ قريبٌ من أعلى الصفحة: الترحيب ينزل بعده في الهاتف */
	main:has(> .welcome) { display: flex; flex-direction: column; }
	main > .hero, main > .info-panels, main > [data-region="home_new"] { order: -1; }
	.welcome { padding-bottom: 14px; }
	.sec-head.split { flex-wrap: nowrap; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
	.sec-head.split .btn-sm { flex: none; min-height: 36px; padding: 6px 12px; font-size: 13px; }
	.info-panels { grid-auto-columns: 86%; }
	.panel { padding: 28px 20px; }
	.panel-title span { font-size: 30px; }
	.panel-title small { font-size: 17px; }
	.welcome { padding: 36px 0 0; }
	.welcome-title { font-size: 26px; }
	.welcome-text { margin: 10px auto 18px; font-size: 16px; }
	.welcome .btn { min-height: 42px; padding: 8px 20px; }
	.row-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: -14px; margin-bottom: 18px; }
	.row-tabs::-webkit-scrollbar { display: none; }
	.row-tabs [role="tab"] { flex: none; padding: 9px 16px; font-size: 14px; }
	.book-grid.grid-4 { grid-template-columns: none; }
	.book-grid.works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; }
	/* شريط الثقة: الصورة صغيرةٌ بجانب العنوان، والميزات شريطٌ واحد يُمرَّر */
	.trust { margin-top: 56px; }
	.trust-grid { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: end; gap: 0 14px; }
	.trust-figure { width: auto; margin-top: -56px; }
	.trust-copy { display: contents; }
	.trust-copy h2 { align-self: center; padding-top: 14px; font-size: 22px; }
	.trust-lead { display: none; }
	.trust-list { grid-column: 1 / -1; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 0 22px; }
	.trust-list::-webkit-scrollbar { display: none; }
	.trust-list li { flex: 0 0 74%; align-items: center; gap: 10px; scroll-snap-align: start; }
	.trust-list .feat-icon { width: 40px; height: 40px; font-size: 18px; }
	.trust-list h3 { font-size: 15px; }
	.trust-list p { font-size: 13px; line-height: 1.55; }
	.deal { padding: 44px 0; }
	.deal-head { display: block; }
	.deal-sub { margin-bottom: 18px; font-size: 16px; }
	.cd-unit { width: 64px; height: 64px; }
	.cd-unit b { font-size: 24px; }
	.deal-book { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; }
	.deal-cover { padding: 10px; }
	.deal-cover .type-dot { top: 4px; inset-inline-start: 4px; width: 26px; height: 26px; font-size: 13px; }
	.deal-book-title { font-size: 22px; }
	.deal-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 14px; }
	.deal-body .price-lg { font-size: 22px; }
	.deal-buttons { margin-top: 2px; }
	.deal-buttons .btn { min-height: 42px; padding: 8px 14px; font-size: 14px; }
	.deal-buttons .sq-btn { width: 42px; height: 42px; }
	.post-grid, .post-grid-2 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; }
	.post-grid > * { scroll-snap-align: start; }
	.blog-grid { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; overflow: visible; }
	.post-card.is-lead { flex-direction: column; }
	.is-lead .post-body { padding: 20px 22px 22px; }
	.is-lead .post-title { font-size: 22px; }
	.is-lead .post-excerpt { font-size: 15px; }
	.article-body h2 { font-size: 22px; }
	.article-body p { font-size: 16px; }
	.article-body blockquote { font-size: 17px; padding: 16px 18px; }
	.pdp-metas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
	.pdp-metas li { gap: 8px; }
	.pdp-metas b { font-size: 13px; }
	.toolbar { padding: 8px 10px; }
	.toolbar-actions { gap: 6px; }
	.is-list .book-card { grid-template-columns: 110px minmax(0, 1fr); }
	.is-list .bc-body { padding: 12px 14px 8px; }
	.is-list .bc-add { padding-inline: 14px; }
}

/* نصّ الرأي: أربعة أسطر على الأكثر، والنصّ الكامل في title (الملحق، البند 5) */
[data-slot="review.text"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
