/* =========================================================
   دار الزبير — تعديلات أكتوبر 2026
   (بطاقات أصغر، سعر الدولار، صفحة كتاب مضغوطة، فوتر، حساب الجوال)
   يُحمَّل بعد style.css. لإلغاء كل التعديلات: احذف سطر هذا الملف من layouts/app.blade.php
   ========================================================= */

/* ---------- 1) بطاقات الكتب: أصغر وأكثر في الصف ---------- */
.book-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.book-card{border-radius:16px}
.book-thumb{padding:14px}
.book-thumb:before{inset:10px;border-radius:8px}
.book-thumb h3{font-size:21px}
.book-thumb .tag{top:9px;left:9px;padding:4px 8px;font-size:10.5px}
.book-body{padding:12px 13px 14px}
.author{font-size:12px;gap:6px;margin-bottom:6px}
.avatar{width:22px;height:22px;font-size:11px}
.book-title{font-size:15px;line-height:1.55;margin:0 0 8px;min-height:46px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-meta{font-size:11.5px;flex-wrap:wrap;gap:6px}
.book-card .price{font-size:17px}
.card-actions{margin-top:10px;gap:6px}
.book-card .card-actions .btn-sm{padding:7px 8px;font-size:12px}

/* السعر بالعملتين */
.price-pair{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.price-usd,.detail-price-usd{direction:ltr;display:inline-flex;align-items:center;font-weight:800;line-height:1;
  color:#b08a35;background:rgba(212,176,100,.14);border:1px solid rgba(184,145,58,.35);border-radius:999px}
:root:not([data-theme="light"]) .price-usd,:root:not([data-theme="light"]) .detail-price-usd{color:#e6c97f}
.price-usd{font-size:12.5px;padding:4px 8px}

@media(max-width:1100px){.book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:820px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){
  .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .book-body{padding:10px}
  .book-title{font-size:14px;min-height:43px}
  .book-card .price{font-size:15px}
  .book-card .card-actions{flex-direction:column}
}

/* ---------- 2) صفحة الكتاب: كل الأساسيات في الشاشة الأولى ---------- */
main.section:has(.details-grid){padding:28px 0 40px}
.details-grid{grid-template-columns:280px minmax(0,1fr);gap:28px}
.detail-cover{min-height:0;aspect-ratio:4/5;width:100%;border-radius:18px;padding:22px;position:sticky;top:96px}
.detail-cover:after{inset:12px;border-radius:12px}
.detail-cover h1{font-size:30px}
.detail-panel{padding:20px 22px;border-radius:20px}
.detail-panel h1{font-size:26px;line-height:1.4;margin:4px 0 6px}
.detail-panel>p.muted{font-size:13.5px;line-height:1.7;margin:6px 0}
.detail-price{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:26px;margin:10px 0 4px}
.detail-price-usd{font-size:16px;padding:6px 12px}

/* مربعات التفاصيل: مربعان في الصف، صغيرة ومريحة */
.book-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.book-facts .info-box{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:center;
  padding:8px 12px;border-radius:12px;background:var(--gold-soft);border-color:transparent}
.book-facts .info-box i{grid-row:1 / span 2;font-style:normal;font-size:16px;width:32px;height:32px;border-radius:9px;
  display:grid;place-items:center;background:var(--surface)}
.book-facts .info-box span{font-size:11px;line-height:1.4}
.book-facts .info-box b{font-size:13.5px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.detail-panel .qty-row{margin:10px 0}
.detail-panel .card-actions{margin-top:8px}

@media(max-width:1000px){
  .details-grid{grid-template-columns:1fr;gap:18px}
  .detail-cover{position:relative;top:auto;max-width:220px;margin:0 auto}
}
@media(max-width:620px){
  main.section:has(.details-grid){padding:18px 0 30px}
  .detail-cover{max-width:180px;min-height:0}
  .detail-cover h1{font-size:24px}
  .detail-panel{padding:16px}
  .detail-panel h1{font-size:21px}
  .detail-price{font-size:23px}
  .book-facts{grid-template-columns:repeat(2,minmax(0,1fr))} /* يتجاوز العمود الواحد القديم */
  .book-facts .info-box{padding:7px 9px;column-gap:8px}
  .book-facts .info-box i{width:26px;height:26px;font-size:13px}
  .book-facts .info-box b{font-size:12.5px}
}

/* ---------- 3) الفوتر: أحجام متناسقة ومساحات أقل ---------- */
.footer{padding:38px 0 16px}
.footer-grid{grid-template-columns:1.1fr repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.footer-emblem{width:112px;height:112px;margin-bottom:4px}
.footer .footer-brand .footer-emblem img{width:96px}
.footer-ornament{width:112px;margin:2px 0 8px}
.footer-brand .footer-tagline{font-size:16px;margin:0}
.footer h4{font-size:16px;margin:4px 0 12px;position:relative;padding-bottom:8px}
.footer h4:after{content:'';position:absolute;bottom:0;inset-inline-start:0;width:28px;height:2px;border-radius:2px;background:var(--gold)}
.footer-col a{font-size:14px;margin:7px 0}
.copyright{justify-content:center;text-align:center;margin-top:26px;padding-top:14px;font-size:13px;color:var(--muted)}

@media(max-width:1000px){
  .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-brand{grid-column:1 / -1;align-items:center;text-align:center}
}
@media(max-width:620px){
  .footer{padding:30px 0 14px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
  .footer-col:last-child{grid-column:1 / -1}
  .footer-col:last-child h4{text-align:center}
  .footer-col:last-child h4:after{inset-inline-start:50%;transform:translateX(50%)}
  .footer-col:last-child{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
  .footer-col:last-child h4{grid-column:1 / -1}
  .footer-col a{margin:5px 0}
  .copyright{display:flex}
}

/* ---------- 4) الهيدر: حساب ظاهر على الجوال ---------- */
.nav-account-desktop{display:flex;align-items:center;gap:9px}
.account-menu,.account-btn{display:none}
.account-menu{position:relative}
.account-menu>summary{list-style:none}
.account-menu>summary::-webkit-details-marker{display:none}
.account-btn svg{width:19px;height:19px}
.account-menu[open] .account-btn{border-color:var(--gold);color:var(--gold)}
.account-dropdown{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:210px;z-index:120;
  background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:8px}
.account-name{padding:6px 10px 8px;font-weight:800;color:var(--ink);border-bottom:1px solid var(--line);margin-bottom:6px;font-size:14px}
.account-dropdown a,.account-dropdown button{display:block;width:100%;text-align:start;padding:10px 12px;border-radius:10px;
  font:inherit;font-weight:700;font-size:14px;color:var(--ink);background:transparent;border:0;cursor:pointer}
.account-dropdown a:hover{background:var(--gold-soft)}
.account-dropdown .account-primary{background:var(--gold-soft);color:var(--gold)}
.account-dropdown button{color:var(--danger)}

.mobile-user{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 12px;
  margin-bottom:6px;border-bottom:1px solid var(--line)}
.mobile-user b{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-menu .mobile-user a.btn{display:inline-flex;padding:8px 14px}
.mobile-logout{display:block;width:100%;text-align:start;padding:12px;border-radius:10px;font:inherit;font-weight:700;
  color:var(--danger);background:transparent;border:0;cursor:pointer}

@media(max-width:620px){
  .nav-account-desktop{display:none}
  .account-menu{display:block}
  .account-btn{display:grid}
  .nav-actions{gap:7px}
}

/* =========================================================
   تحديث 27 أكتوبر: أيقونات مرسومة، «كيف تطلب كتابك» و«الأقسام» بسطر واحد،
   صفحة الأقسام، وصفحة تواصل معنا
   ========================================================= */

/* ---------- الأيقونات ---------- */
.dz-ico{width:100%;height:100%;display:block;color:var(--gold)}
.dz-ico .dz-fill{fill:var(--gold-soft)}
.dz-ico .dz-fill-strong{fill:color-mix(in srgb,var(--gold) 24%,transparent)}
.dz-ico .dz-accent{stroke:#c39a3e}
.dz-ico-wrap{display:grid;place-items:center;width:64px;height:64px;padding:8px;border-radius:18px;
  background:linear-gradient(160deg,var(--surface) 0%,var(--gold-soft) 100%);
  border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);
  box-shadow:0 10px 24px -16px color-mix(in srgb,var(--gold) 70%,transparent);transition:transform .3s ease}

/* ---------- أقسام أخف وأقصر ---------- */
.dz-section-tight{padding:52px 0}
.dz-section-tight .section-head{margin-bottom:22px;align-items:center}
.dz-section-tight .section-head h2{font-size:36px}
.dz-hero-compact{padding:38px 0 6px}
.dz-hero-compact h1{font-size:40px;margin:6px 0 6px}

/* ---------- صف البطاقات (الخطوات والأقسام) ---------- */
.dz-row{display:grid;gap:22px;margin:0;padding:0;list-style:none}
.dz-tile{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;
  padding:22px 14px 18px;background:var(--surface);border:1px solid var(--line);border-radius:18px;
  color:inherit;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.dz-tile .dz-ico-wrap{margin-bottom:6px}
.dz-tile strong{font-family:var(--font-display);font-size:21px;line-height:1.35;color:var(--ink)}
.dz-tile-sub{font-size:13px;line-height:1.6;color:var(--muted)}
a.dz-tile:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--gold) 45%,transparent);
  box-shadow:0 18px 36px -24px color-mix(in srgb,var(--gold) 80%,transparent)}
a.dz-tile:hover .dz-ico-wrap{transform:scale(1.06) rotate(-3deg)}

/* الخطوات: أربع في سطر مع خط منقّط يصل بينها */
.dz-steps{grid-template-columns:repeat(4,minmax(0,1fr));counter-reset:none}
.dz-steps:before{content:'';position:absolute;inset-inline:12%;top:54px;border-top:2px dashed color-mix(in srgb,var(--gold) 35%,transparent)}
.dz-steps{position:relative}
.dz-step-no{position:absolute;top:12px;inset-inline-start:12px;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;font-size:12px;font-weight:800;background:var(--gold);color:var(--on-accent,#fff)}

/* الأقسام: سطر واحد يتسع حسب عددها */
.dz-cats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}

@media(max-width:1000px){
  .dz-section-tight .section-head h2{font-size:30px}
}
@media(max-width:620px){
  .dz-section-tight{padding:34px 0}
  .dz-section-tight .section-head{flex-direction:row;align-items:center;margin-bottom:16px}
  .dz-section-tight .section-head h2{font-size:24px}
  .dz-section-tight .section-head p{font-size:13px;margin-top:2px}
  .dz-hero-compact{padding:26px 0 0}
  .dz-hero-compact h1{font-size:30px}

  .dz-row{gap:8px}
  .dz-tile{padding:14px 4px 12px;border-radius:14px;gap:3px}
  .dz-tile .dz-ico-wrap{width:46px;height:46px;padding:7px;border-radius:13px;margin-bottom:4px}
  .dz-tile strong{font-size:16px}
  .dz-tile-sub{font-size:11px;line-height:1.5}
  .dz-steps:before{top:36px}
  .dz-step-no{top:6px;inset-inline-start:6px;width:18px;height:18px;font-size:10px}

  /* الأقسام على الجوال: سطر واحد يُسحب أفقياً */
  .dz-cats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;margin-inline:-4%;padding-inline:4%;scrollbar-width:none}
  .dz-cats::-webkit-scrollbar{display:none}
  .dz-cats .dz-tile{flex:0 0 31%;scroll-snap-align:start}
}

/* ---------- صفحة الأقسام ---------- */
.dz-cat-page{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.dz-cat-tile{display:flex;align-items:center;gap:14px;padding:16px 18px;background:var(--surface);border:1px solid var(--line);
  border-radius:18px;color:inherit;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.dz-cat-tile:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--gold) 45%,transparent);
  box-shadow:0 18px 36px -24px color-mix(in srgb,var(--gold) 80%,transparent)}
.dz-cat-tile:hover .dz-ico-wrap{transform:scale(1.06) rotate(-3deg)}
.dz-cat-tile .dz-ico-wrap{flex-shrink:0;width:58px;height:58px}
.dz-cat-text{flex:1;min-width:0;display:flex;flex-direction:column}
.dz-cat-text strong{font-family:var(--font-display);font-size:21px;line-height:1.4;color:var(--ink)}
.dz-cat-text small{font-size:13px;color:var(--muted)}
.dz-cat-covers{display:flex;flex-shrink:0}
.dz-cat-covers img{width:34px;height:46px;object-fit:cover;border-radius:5px;border:2px solid var(--surface);
  box-shadow:0 6px 14px -8px rgba(0,0,0,.5);margin-inline-start:-12px}
.dz-cat-covers img:first-child{margin-inline-start:0}
.dz-cat-go{flex-shrink:0;width:30px;height:30px;padding:6px;border-radius:50%;background:var(--gold-soft);display:grid;place-items:center}
.dz-cat-go .dz-ico{color:var(--gold)}
.dz-cat-all{background:linear-gradient(120deg,var(--gold-soft),var(--surface) 70%)}
@media(max-width:620px){
  .dz-cat-page{grid-template-columns:1fr;gap:10px}
  .dz-cat-tile{padding:12px 14px;gap:12px}
  .dz-cat-tile .dz-ico-wrap{width:48px;height:48px;padding:8px;border-radius:14px}
  .dz-cat-text strong{font-size:18px}
  .dz-cat-covers img{width:28px;height:38px}
}

/* ---------- تواصل معنا ---------- */
.dz-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;max-width:900px;margin:0 auto}
.dz-contact-card{--c:var(--gold);position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr;gap:6px 16px;align-items:center;
  padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:20px;color:inherit;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.dz-contact-card:before{content:'';position:absolute;inset-inline-end:-50px;top:-50px;width:140px;height:140px;border-radius:50%;
  background:color-mix(in srgb,var(--c) 12%,transparent);pointer-events:none}
.dz-contact-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--c) 55%,transparent);
  box-shadow:0 20px 40px -26px color-mix(in srgb,var(--c) 90%,transparent)}
.dz-contact-card.is-wa{--c:#25d366}
.dz-contact-card.is-fb{--c:#1877f2}
.dz-contact-logo{position:relative;width:58px;height:58px;border-radius:17px;display:grid;place-items:center;padding:12px;
  background:var(--c);box-shadow:0 10px 22px -10px var(--c)}
.dz-contact-card.is-mail .dz-contact-logo{background:linear-gradient(145deg,var(--gold),var(--gold-d))}
.dz-contact-logo svg{width:100%;height:100%;display:block}
.dz-contact-body{position:relative;display:flex;flex-direction:column;min-width:0}
.dz-contact-body strong{font-family:var(--font-display);font-size:22px;line-height:1.35;color:var(--ink)}
.dz-contact-hint{font-size:12.5px;color:var(--muted)}
.dz-contact-value{font-size:15px;font-weight:700;color:var(--ink);margin-top:4px;text-align:end;unicode-bidi:plaintext;overflow-wrap:anywhere}
.dz-contact-cta{grid-column:1 / -1;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px;border-radius:12px;
  font-weight:800;font-size:14px;color:var(--c);background:color-mix(in srgb,var(--c) 12%,transparent);transition:background .2s ease}
.dz-contact-card.is-mail .dz-contact-cta{color:var(--gold-d)}
:root:not([data-theme="light"]) .dz-contact-card.is-mail .dz-contact-cta{color:var(--gold)}
.dz-contact-card:hover .dz-contact-cta{background:color-mix(in srgb,var(--c) 20%,transparent)}
@media(max-width:620px){
  .dz-contact{gap:12px}
  .dz-contact-card{padding:16px;gap:4px 12px}
  .dz-contact-logo{width:50px;height:50px;border-radius:15px;padding:10px}
  .dz-contact-body strong{font-size:19px}
}

/* ---------- نسخة مضغوطة لقسمي «كيف تطلب كتابك» و«الأقسام» في الرئيسية ---------- */
.dz-section-tight{padding:40px 0}
.dz-section-tight .section-head{margin-bottom:16px}
.dz-section-tight .section-head h2{font-size:30px}
.dz-row{gap:12px}
.dz-tile{flex-direction:row;align-items:center;text-align:start;gap:12px;padding:12px 14px;border-radius:14px}
.dz-tile .dz-ico-wrap{flex-shrink:0;width:46px;height:46px;padding:6px;border-radius:13px;margin:0}
.dz-tile strong{font-size:17px;line-height:1.3;display:block}
.dz-tile-sub{font-size:12px;line-height:1.5;display:block}
.dz-tile-text{display:flex;flex-direction:column;min-width:0}
.dz-steps:before{display:none}
.dz-step-no{top:-7px;inset-inline-start:-7px;width:20px;height:20px;font-size:11px;box-shadow:0 0 0 3px var(--surface-alt)}
.dz-cats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

@media(max-width:1000px){
  .dz-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .dz-section-tight{padding:28px 0}
  .dz-section-tight .section-head h2{font-size:22px}
  /* الجوال: الخطوات الأربع في سطر واحد، عمودية وصغيرة */
  .dz-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .dz-tile{flex-direction:column;text-align:center;gap:2px;padding:10px 3px 9px;border-radius:12px}
  .dz-tile .dz-ico-wrap{width:36px;height:36px;padding:5px;border-radius:10px;margin-bottom:3px}
  .dz-tile strong{font-size:14px}
  .dz-tile-sub{font-size:10.5px;line-height:1.45}
  .dz-step-no{top:4px;inset-inline-start:4px;width:16px;height:16px;font-size:9.5px;box-shadow:none}
  .dz-cats .dz-tile{flex:1 0 28%}
}
.dz-ico-img{width:100%;height:100%;object-fit:contain;display:block}

/* ---------- بطاقة الكتاب: ترتيب ثابت للأزرار والسعر في كل البطاقات ---------- */
.book-card{display:flex;flex-direction:column}
.book-card .book-body{flex:1;display:flex;flex-direction:column}
/* الصيغة سطر صغير ثابت، والسعر تحته دائماً */
.book-card .book-meta{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;margin-top:2px}
.book-card .book-meta>span:first-child{font-size:11.5px;line-height:1.4;color:var(--muted)}
/* الأزرار تلتصق بأسفل البطاقة، فتتساوى في كل الصف */
.book-card .card-actions{margin-top:auto;padding-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.book-card .card-actions>*:only-child{grid-column:1 / -1}
.book-card .card-actions form{display:block;margin:0}
.book-card .card-actions .btn,.book-card .card-actions form .btn{width:100%;height:38px;padding:0 8px;font-size:12.5px;flex:none;white-space:nowrap}
@media(max-width:820px){
  /* بطاقات أضيق: زران فوق بعضهما بنفس العرض، السلة أولاً */
  .book-card .card-actions{grid-template-columns:1fr}
}
@media(max-width:620px){
  .book-card .card-actions{flex-direction:initial;padding-top:10px}
  .book-card .card-actions .btn,.book-card .card-actions form .btn{height:40px;font-size:13px}
}
/* السعر والأزرار معاً في أسفل البطاقة، فتتحاذى الأسعار في كل صف */
.book-card .book-meta{margin-top:auto;padding-top:6px}
.book-card .card-actions{margin-top:0}

/* =========================================================
   واجهة الرئيسية: الكتاب المميّز
   ========================================================= */
.dz-spot{position:relative;overflow:hidden;padding:44px 0 50px;
  background:radial-gradient(ellipse 60% 70% at 78% 40%,var(--gold-soft),transparent 70%),var(--bg)}
.dz-spot-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:center}
.dz-spot-grid>.dz-spot-visual{order:2}

/* الغلاف: كتاب أمامي وغلافان خلفه بميلان خفيف */
.dz-spot-visual{position:relative;display:block;height:470px}
.dz-spot-glow{position:absolute;inset:12% 6% 4%;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--gold) 28%,transparent),transparent 68%);filter:blur(10px)}
.dz-spot-cover{position:absolute;z-index:3;left:50%;top:50%;width:290px;aspect-ratio:4/5;object-fit:cover;border-radius:10px 14px 14px 10px;
  transform:translate(-50%,-50%);box-shadow:0 34px 60px -24px rgba(0,0,0,.55),0 10px 20px -10px rgba(0,0,0,.35);transition:transform .45s ease}
.dz-spot-cover-plain{display:flex;flex-direction:column;justify-content:space-between;padding:24px;color:#fff}
.dz-spot-cover-plain strong{font-family:var(--font-display);font-size:34px;line-height:1.3}
.dz-spot-behind{position:absolute;z-index:1;top:50%;width:220px;aspect-ratio:4/5;object-fit:cover;border-radius:8px;opacity:.9;
  box-shadow:0 20px 40px -20px rgba(0,0,0,.5);transition:transform .45s ease}
.dz-spot-behind-1{left:2%;transform:translateY(-46%) rotate(-9deg)}
.dz-spot-behind-2{right:2%;transform:translateY(-46%) rotate(9deg)}
.dz-spot-visual:hover .dz-spot-cover{transform:translate(-50%,-52%) rotate(-1deg)}
.dz-spot-visual:hover .dz-spot-behind-1{transform:translateY(-46%) translateX(-8px) rotate(-12deg)}
.dz-spot-visual:hover .dz-spot-behind-2{transform:translateY(-46%) translateX(8px) rotate(12deg)}

/* النص */
.dz-spot-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.dz-spot-tag{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:12.5px;font-weight:800;
  background:var(--gold);color:var(--on-accent,#fff)}
.dz-spot-series{font-size:14px;font-weight:700;color:var(--gold)}
.dz-spot h1{font-size:clamp(38px,4.6vw,58px);line-height:1.25;margin:0;color:var(--ink)}
.dz-spot-sub{font-family:var(--font-display);font-size:24px;line-height:1.5;margin:4px 0 0;color:var(--muted)}
.dz-spot-author{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;font-weight:700;color:var(--ink)}
.dz-spot-author:hover{color:var(--gold)}
.dz-spot-desc{margin:14px 0 0;font-size:15.5px;line-height:1.85;color:var(--muted);max-width:560px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dz-spot-facts{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:16px 0 0}
.dz-spot-facts li{padding:5px 12px;border-radius:999px;font-size:12.5px;font-weight:700;color:var(--ink);background:var(--surface);border:1px solid var(--line)}
.dz-spot-buy{margin-top:20px}
.dz-spot-price{display:flex;align-items:center;gap:10px;font-size:32px;font-weight:900;color:var(--gold);margin-bottom:14px}
.dz-spot-actions{display:flex;flex-wrap:wrap;gap:10px}
.dz-spot-actions form{margin:0}
.dz-spot-actions .btn{height:50px;padding:0 26px;font-size:15px}
.dz-spot-sample{display:inline-block;margin-top:12px;font-size:14px;font-weight:700;color:var(--gold)}
.dz-spot-sample:hover{text-decoration:underline}
.dz-spot-more{margin-top:18px;padding-top:14px;border-top:1px dashed var(--line)}
.dz-spot-more a{font-size:14px;font-weight:700;color:var(--muted)}
.dz-spot-more a:hover{color:var(--gold)}

@media(max-width:1000px){
  .dz-spot-grid{grid-template-columns:minmax(0,1fr) 300px;gap:30px}
  .dz-spot-visual{height:380px}
  .dz-spot-cover{width:230px}
  .dz-spot-behind{width:170px}
}
@media(max-width:720px){
  .dz-spot{padding:18px 0 30px;background:radial-gradient(ellipse 90% 40% at 50% 18%,var(--gold-soft),transparent 70%),var(--bg)}
  .dz-spot-grid{grid-template-columns:1fr;gap:6px;text-align:center}
  .dz-spot-grid>.dz-spot-visual{order:0}
  .dz-spot-visual{height:250px;max-width:340px;margin:0 auto;width:100%}
  .dz-spot-cover{width:162px;border-radius:7px 10px 10px 7px}
  .dz-spot-behind{width:120px}
  .dz-spot-behind-1{left:4%}.dz-spot-behind-2{right:4%}
  .dz-spot-tags{justify-content:center;margin-bottom:6px}
  .dz-spot h1{font-size:32px}
  .dz-spot-sub{font-size:19px}
  .dz-spot-author{margin-top:6px;font-size:13px}
  .dz-spot-desc{display:none}
  .dz-spot-facts{justify-content:center;margin-top:10px}
  .dz-spot-facts li{font-size:11.5px;padding:4px 10px}
  .dz-spot-buy{margin-top:14px}
  .dz-spot-price{justify-content:center;font-size:28px;margin-bottom:12px}
  .dz-spot-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .dz-spot-actions>*:only-child{grid-column:1 / -1}
  .dz-spot-actions .btn{width:100%;height:48px;padding:0 10px;font-size:14px}
  .dz-spot-more{border-top:0;padding-top:0;margin-top:12px}
}
/* الواجهة المختصرة: غلاف + عنوان + مؤلف + زر واحد */
.dz-spot-actions-single{margin-top:24px}
.dz-spot-actions-single .btn{min-width:200px}
@media(max-width:720px){
  .dz-spot-actions-single{display:flex;justify-content:center;margin-top:16px}
  .dz-spot-actions-single .btn{width:auto;min-width:220px}
}

/* === book grid: 6 desktop / 4 tablet / 2 mobile + compact cards === */
.book-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.book-grid .book-card{border-radius:14px}
.book-grid .book-thumb{padding:10px}
.book-grid .book-thumb h3{font-size:16px}
.book-grid .book-thumb .tag{top:8px;left:8px;font-size:9px;padding:3px 7px}
.book-grid .book-body{padding:10px 11px}
.book-grid .author{font-size:11px;margin-bottom:5px;gap:5px}
.book-grid .avatar{width:20px;height:20px;font-size:10px}
.book-grid .book-title{font-size:13.5px;line-height:1.45;min-height:0;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-grid .book-meta{font-size:11px;gap:4px}
.book-grid .price{font-size:15px}
.book-grid .book-card .card-actions{margin-top:8px;padding-top:6px;gap:5px}
.book-grid .card-actions .btn{padding:6px 4px;font-size:12px;min-height:0;line-height:1.3}
@media(max-width:1100px){.book-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:620px){
.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.book-grid .book-card{border-radius:12px}
.book-grid .book-thumb{padding:7px}
.book-grid .book-thumb .tag{font-size:8.5px;padding:2px 6px}
.book-grid .book-body{padding:8px 9px}
.book-grid .book-title{font-size:13px;margin-bottom:5px}
.book-grid .book-meta{font-size:10.5px}
.book-grid .price{font-size:14px}
.book-grid .card-actions .btn{font-size:12px;padding:7px 4px}
}

/* === tighter book cards === */
.book-grid .book-body{justify-content:flex-start!important;flex:0 0 auto!important;padding-top:8px;padding-bottom:9px}
.book-grid .book-title{margin-bottom:3px!important}
.book-grid .book-meta{margin-top:2px!important;padding-top:0!important}
.book-grid .book-card .card-actions{margin-top:7px!important;padding-top:0!important}
.book-grid .card-actions .btn{padding-top:5px;padding-bottom:5px}

/* === mobile: buttons side by side === */
@media(max-width:620px){
.book-grid .book-card .card-actions{grid-template-columns:1fr 1fr!important;gap:5px!important}
.book-grid .book-card .card-actions .btn:only-child{grid-column:1 / -1}
.book-grid .card-actions .btn{font-size:11px!important;padding:7px 2px!important;white-space:nowrap}
}

/* وضوح نص الملاحظات داخل الصناديق الملونة */
.form-note{color:var(--ink)!important;opacity:1!important;font-weight:500}
.form-note a{color:var(--gold)!important;font-weight:700}

/* زرّا «اتصل بنا» و«السلة»: نفس لون وإطار الأزرار المجاورة، مع نص بدل الأيقونة */
.nav-actions .icon-btn.nav-contact,.nav-actions .icon-btn.nav-cart{width:auto;min-width:0;height:44px;padding:0 14px;font-size:15px;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none;text-indent:0;overflow:visible;flex-shrink:0}
.nav-actions .icon-btn.nav-contact.active,.nav-actions .icon-btn.nav-cart.is-active{border-color:var(--gold)}
@media (max-width:400px){.nav-actions .icon-btn.nav-contact,.nav-actions .icon-btn.nav-cart{padding:0 10px;font-size:14px}}

/* إبراز أزرار الهيدر: إطار بلون الموقع + ظل خفيف (يتبدّل تلقائياً مع الوضع الليلي) */
.nav-actions .icon-btn{border:1.5px solid var(--gold);border-color:color-mix(in srgb,var(--gold) 55%,var(--line));box-shadow:0 3px 10px color-mix(in srgb,var(--gold) 16%,transparent),inset 0 1px 0 rgba(255,255,255,.07);transition:border-color .2s,box-shadow .2s,transform .15s}
.nav-actions .icon-btn:hover,.nav-actions .icon-btn:focus-visible{border-color:var(--gold);box-shadow:0 4px 16px color-mix(in srgb,var(--gold) 30%,transparent),inset 0 1px 0 rgba(255,255,255,.1);transform:translateY(-1px)}
.nav-actions .icon-btn:active{transform:scale(.96)}

/* صناديق الكتب على اللاب توب: أزرار مصطفة ومتساوية (الجوال بلا تغيير) */
@media (min-width:769px){
  .book-card{display:flex;flex-direction:column;height:100%}
  .book-card .book-body{display:flex;flex-direction:column;flex:1}
  .book-card .book-meta{margin-top:auto}
  .book-card .card-actions{display:flex;gap:8px;margin-top:12px;align-items:stretch}
  .book-card .card-actions>form{flex:1;display:flex;margin:0}
  .book-card .card-actions .btn{flex:1;width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;white-space:nowrap;padding:0 10px}
  .book-card .card-actions .btn-outline{border:1.5px solid color-mix(in srgb,var(--gold) 55%,var(--line));color:var(--gold)}
  .book-card .card-actions .btn-outline:hover{background:var(--gold);border-color:var(--gold);color:var(--on-accent,#fff)}
}

/* اصطفاف أزرار صناديق الكتب على اللاب توب (أولوية أعلى من التصميم الأصلي) */
@media (min-width:769px){
  .book-card{display:flex!important;flex-direction:column!important;height:100%!important}
  .book-card>.book-thumb{flex:none!important}
  .book-card>.book-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important}
  .book-card>.book-body>.book-meta{margin-top:auto!important}
  .book-card>.book-body>.card-actions{margin-top:12px!important}
}
