@font-face { font-family: "PaideiaFar"; src: url("../fonts/PaideiaFar.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
#paideia-books {
  --bg: #faf6ee; --panel: #f1e8d8; --ink: #2b2622; --wine: #7a2e3a; --wine-d: #4d2029;
  --olive: #59634b; --muted: #6e6458; --line: #e0d4bf;
  --font: "PaideiaFar", Georgia, Tahoma, serif;
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: normal; font-synthesis: none; font-size: 17px; line-height: 2; box-sizing: border-box;
}
#paideia-books, #paideia-books * { box-sizing: border-box; }
#paideia-books { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: normal; font-synthesis: none; font-size: 17px; line-height: 2; }
#paideia-books a { color: inherit; text-decoration: none; }
#paideia-books h1, #paideia-books h2, #paideia-books h3, #paideia-books p { font-weight: normal; margin: 0; }
#paideia-books :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
#paideia-books .pb-container { width: min(1140px, 92%); margin: auto; }
#paideia-books section { scroll-margin-top: 84px; }
#paideia-books .pb-btn { display: inline-block; padding: 8px 26px; border-radius: 40px; background: var(--wine); color: #fff; border: 1.5px solid var(--wine); font: inherit; font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
#paideia-books .pb-btn:hover { background: var(--wine-d); border-color: var(--wine-d); }
#paideia-books .pb-btn.pb-ghost { background: transparent; color: var(--wine); }
#paideia-books .pb-btn.pb-ghost:hover { background: var(--wine); color: #fff; }
#paideia-books .pb-hero { padding: 0 0 70px; }
#paideia-books .pb-hero-box { background: var(--panel); border-radius: 28px; padding: 60px 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; overflow: hidden; }
#paideia-books .pb-hero h1 { font-size: clamp(38px, 5.5vw, 66px); line-height: 1.5; margin: 6px 0 14px; }
#paideia-books .pb-hero p { color: var(--muted); max-width: 470px; font-size: 18px; }
#paideia-books .pb-hero .pb-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
#paideia-books .pb-fan { position: relative; height: 340px; }
#paideia-books .pb-fan .pb-cv { position: absolute; width: 170px; height: 245px; border-radius: 4px 10px 10px 4px; padding: 16px; display: flex; flex-direction: column; justify-content: center; text-align: center; font-size: 23px; line-height: 1.8; box-shadow: inset -9px 0 0 rgba(0,0,0,.16), 0 14px 26px rgba(60,40,30,.22); }
#paideia-books .pb-fan .pb-c1 { right: 6%; top: 10px; transform: rotate(-9deg); }
#paideia-books .pb-fan .pb-c2 { right: 30%; top: 40px; transform: rotate(2deg); z-index: 1; }
#paideia-books .pb-fan .pb-c3 { right: 54%; top: 22px; transform: rotate(10deg); }
#paideia-books .pb-wine { background: #7a2e3a; color: #f5e9d6; }
#paideia-books .pb-olive { background: #59634b; color: #f5e9d6; }
#paideia-books .pb-sand { background: #d8c5a5; color: #332920; }
#paideia-books .pb-slate { background: #5e7076; color: #f5e9d6; }
#paideia-books .pb-title { text-align: center; margin-bottom: 38px; }
#paideia-books .pb-title h2 { font-size: 36px; line-height: 1.6; }
#paideia-books .pb-title p { color: var(--muted); max-width: 560px; margin: 0 auto; }
#paideia-books .pb-title::after { content: ""; display: block; width: 64px; height: 3px; background: var(--wine); border-radius: 3px; margin: 14px auto 0; }
#paideia-books .pb-section { padding: 70px 0; }
#paideia-books .pb-featured { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
#paideia-books .pb-featured .pb-cv { height: 380px; border-radius: 6px 14px 14px 6px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; padding: 28px; font-size: 38px; line-height: 1.7; box-shadow: inset -12px 0 0 rgba(0,0,0,.16), 0 20px 34px rgba(60,40,30,.22); max-width: 270px; margin: auto; width: 100%; }
#paideia-books .pb-featured .pb-cv small { font-size: 14px; }
#paideia-books .pb-tag { display: inline-block; background: #f1dfdc; color: var(--wine); border-radius: 30px; padding: 0 16px; font-size: 14px; }
#paideia-books .pb-featured h3 { font-size: 36px; margin: 8px 0 0; line-height: 1.6; }
#paideia-books .pb-author { color: var(--muted); font-size: 14px; }
#paideia-books .pb-featured p.pb-t { color: var(--muted); margin: 14px 0 22px; }
#paideia-books .pb-library { background: var(--panel); }
#paideia-books .pb-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
#paideia-books .pb-tab { font: inherit; font-size: 16px; padding: 4px 22px; border-radius: 40px; border: 1.5px solid var(--wine); background: transparent; color: var(--wine); cursor: pointer; transition: background .2s, color .2s; }
#paideia-books .pb-tab:hover, #paideia-books .pb-tab.pb-active { background: var(--wine); color: #fff; }
#paideia-books .pb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 34px 28px; }
#paideia-books .pb-card .pb-cover { height: 270px; border-radius: 16px; display: grid; place-items: center; background: #ece0cc; transition: transform .2s; }
#paideia-books .pb-card:hover .pb-cover { transform: translateY(-5px); }
#paideia-books .pb-card .pb-cv { width: 150px; height: 215px; padding: 14px; border-radius: 4px 9px 9px 4px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; font-size: 22px; line-height: 1.7; box-shadow: inset -8px 0 0 rgba(0,0,0,.16), 0 10px 20px rgba(60,40,30,.2); }
#paideia-books .pb-card .pb-cv small { font-size: 12px; line-height: 1.6; }
#paideia-books .pb-card .pb-info { padding: 14px 6px 0; text-align: center; }
#paideia-books .pb-cat { color: var(--wine); font-size: 14px; }
#paideia-books .pb-card h3 { font-size: 22px; line-height: 1.7; }
#paideia-books .pb-card p { color: var(--muted); font-size: 15px; margin: 6px 0 12px; line-height: 1.9; }
#paideia-books .pb-stock { color: var(--olive); font-size: 14px; display: block; margin-bottom: 8px; }
/* عکس جلد: هر نسبتی داشته باشد داخل قاب جا می‌شود (برای نمایش کامل عکس، cover را contain کنید) */
#paideia-books .pb-photo { display: block; object-fit: cover; background: #ece0cc; border-radius: 4px 9px 9px 4px; box-shadow: 0 10px 20px rgba(60,40,30,.2); }
#paideia-books .pb-card .pb-photo { width: 150px; height: 215px; transition: transform .2s; }
#paideia-books .pb-card:hover .pb-photo { transform: translateY(-5px); }
#paideia-books .pb-featured .pb-photo { width: 100%; max-width: 270px; height: 380px; margin: auto; border-radius: 6px 14px 14px 6px; box-shadow: 0 20px 34px rgba(60,40,30,.22); }
#paideia-books .pb-quote { background: var(--wine-d); color: #f5e9d6; text-align: center; padding: 70px 20px; font-size: clamp(22px, 3.4vw, 34px); line-height: 2; }
#paideia-books .pb-quote small { display: block; font-size: 15px; color: #d8bfc0; margin-top: 8px; }
#paideia-books .pb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 40px; }
#paideia-books .pb-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
#paideia-books .pb-step b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wine); color: #fff; font-weight: normal; font-size: 20px; margin-bottom: 10px; }
#paideia-books .pb-step h3 { font-size: 22px; }
#paideia-books .pb-step p { color: var(--muted); font-size: 15px; }
#paideia-books .pb-visit { background: var(--panel); border-radius: 24px; padding: 40px 44px; display: block; }
#paideia-books .pb-visit h3 { font-size: 28px; line-height: 1.7; }
#paideia-books .pb-visit p { color: var(--muted); max-width: 520px; }
@container (max-width: 900px) {
#paideia-books .pb-hero-box { grid-template-columns: 1fr; padding: 36px 26px; }
#paideia-books .pb-fan { height: 290px; }
#paideia-books .pb-fan .pb-cv { width: 140px; height: 205px; font-size: 19px; }
#paideia-books .pb-featured, #paideia-books .pb-steps { grid-template-columns: 1fr; }
#paideia-books .pb-featured .pb-cv { height: 320px; }
#paideia-books .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
#paideia-books .pb-card .pb-cover { height: 210px; }
#paideia-books .pb-card .pb-cv { width: 112px; height: 160px; font-size: 17px; }
#paideia-books .pb-card .pb-photo { width: 112px; height: 160px; }
#paideia-books .pb-featured .pb-photo { height: 320px; }
#paideia-books .pb-card h3 { font-size: 18px; }
#paideia-books .pb-visit { padding: 30px 24px; }
}
@container (max-width: 440px) {
#paideia-books .pb-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
#paideia-books, #paideia-books * { transition: none !important; }
}
#paideia-books { container-type: inline-size; max-width: 1240px; margin: 0 auto; border-radius: 28px; overflow: hidden; direction: rtl; text-align: right; }
#paideia-books :is(h1,h2,h3,h4,p,a,button,span,small,strong,div,article,section,img) { font-family: inherit; letter-spacing: normal; text-transform: none; }
#paideia-books :is(h1,h2,h3,p) { color: inherit; }
#paideia-books .pb-title h2 { color: var(--ink); }
#paideia-books .pb-quote, #paideia-books .pb-quote h2 { color: #f5e9d6; }
#paideia-books section { border: 0; margin: 0; }
#paideia-books button { box-shadow: none; text-shadow: none; }
#paideia-books img { max-width: 100%; }

#paideia-books .pb-fan .pb-photo { position: absolute; width: 170px; height: 245px; }
#paideia-books .pb-empty { text-align: center; color: var(--muted); padding: 30px 0; grid-column: 1 / -1; }
#paideia-books .pb-card[hidden] { display: none; }
@container (max-width: 900px) {
#paideia-books .pb-fan .pb-photo { width: 140px; height: 205px; }
}

/* کلیک روی کتاب */
#paideia-books .pb-card .pb-info .pb-btn { margin: 0 3px 6px; }
#paideia-books .pb-featured .pb-btn { margin-left: 8px; }

/* نوار جستجو */

/* پایین صفحه: تماس و ساعت کاری */
#paideia-books .pb-visit-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
#paideia-books .pb-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 30px; }
#paideia-books .pb-contact-item { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
#paideia-books .pb-contact-item h4 { margin: 0 0 8px; font-size: 17px; font-weight: normal; color: var(--wine); line-height: 1.8; }
#paideia-books .pb-contact-item p { max-width: none; color: var(--ink); font-size: 16px; margin: 0; line-height: 2; }
#paideia-books .pb-contact-item a.pb-phone { display: block; direction: ltr; unicode-bidi: isolate; text-align: right; font-size: 19px; line-height: 2.1; color: var(--ink); }
#paideia-books .pb-contact-item a.pb-phone:hover { color: var(--wine); }
#paideia-books .pb-hours { list-style: none; margin: 0; padding: 0; }
#paideia-books .pb-hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 1.9; }
#paideia-books .pb-hours li:last-child { border-bottom: 0; }
#paideia-books .pb-hours b { font-weight: normal; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
#paideia-books .pb-hours .pb-hours-note { color: var(--muted); font-size: 15px; }
#paideia-books .pb-section:last-child { padding-bottom: 56px; }

/* نوار جستجو */
#paideia-books .pb-searchbar { padding: 16px 0 22px; }
#paideia-books .pb-search { position: relative; max-width: 640px; width: 100%; height: auto; margin: 0 auto; }
#paideia-books .pb-search svg.pb-search-ico { position: absolute !important; right: 22px !important; left: auto !important; top: 50% !important; transform: translateY(-50%) !important; width: 20px !important; height: 20px !important; min-width: 0 !important; max-width: 20px !important; max-height: 20px !important; margin: 0 !important; padding: 0 !important; display: block !important; color: var(--wine); pointer-events: none; transition: color .2s; }
#paideia-books .pb-search svg.pb-search-ico * { fill: none; stroke: currentColor; }
#paideia-books .pb-search input[type="search"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 56px; margin: 0; padding: 0 56px 0 52px; border: 1.5px solid var(--line); border-radius: 40px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.6; text-align: right; box-shadow: 0 8px 26px rgba(43, 38, 34, .07); transition: border-color .2s, box-shadow .2s; }
#paideia-books .pb-search input[type="search"]::placeholder { color: var(--muted); opacity: .85; }
#paideia-books .pb-search input[type="search"]::-webkit-search-cancel-button, #paideia-books .pb-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
#paideia-books .pb-search input[type="search"]:hover { border-color: var(--wine); }
#paideia-books .pb-search input[type="search"]:focus { outline: none; border-color: var(--wine); box-shadow: 0 8px 26px rgba(43, 38, 34, .07), 0 0 0 4px rgba(122, 46, 58, .14); }
@supports (color: color-mix(in srgb, red, blue)) {
  #paideia-books .pb-search input[type="search"]:focus { box-shadow: 0 8px 26px rgba(43, 38, 34, .07), 0 0 0 4px color-mix(in srgb, var(--wine) 16%, transparent); }
}
#paideia-books .pb-search-clear { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--panel); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
#paideia-books .pb-search-clear[hidden] { display: none; }
#paideia-books .pb-search-clear:hover { background: var(--wine); color: #fff; }
@container (max-width: 640px) {
  #paideia-books .pb-search input[type="search"] { height: 50px; font-size: 16px; }
}

/* لینک‌های کارت و پیشنهاد ماه */
#paideia-books .pb-card .pb-cover { text-decoration: none; }
#paideia-books .pb-card h3 a, #paideia-books .pb-featured h3 a { color: inherit; text-decoration: none; }
#paideia-books .pb-card h3 a:hover, #paideia-books .pb-featured h3 a:hover { color: var(--wine); }
#paideia-books .pb-featured .pb-feat-link { display: block; }
#paideia-books .pb-card .pb-info .pb-btn { margin: 0 3px 6px; }
#paideia-books .pb-featured .pb-btn { margin-left: 8px; }

/* صفحه‌ی هر کتاب */
#paideia-books.pb-single { margin-bottom: 0; }
#paideia-books .pb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 4px 16px; color: var(--muted); font-size: 15px; line-height: 1.8; }
#paideia-books .pb-crumbs a { color: var(--wine); }
#paideia-books .pb-crumbs a:hover { text-decoration: underline; }
#paideia-books .pb-crumbs span:last-child { color: var(--ink); }
#paideia-books .pb-bookhero { padding: 0 0 60px; }
#paideia-books .pb-book-box { background: var(--panel); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; overflow: hidden; }
#paideia-books .pb-book-info h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.55; margin: 6px 0 12px; }
#paideia-books .pb-lead { color: var(--muted); font-size: 18px; max-width: 540px; margin: 0 0 18px; }
#paideia-books .pb-facts { list-style: none; margin: 0 0 24px; padding: 0; max-width: 460px; }
#paideia-books .pb-facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 1.9; }
#paideia-books .pb-facts li:last-child { border-bottom: 0; }
#paideia-books .pb-facts span { color: var(--muted); }
#paideia-books .pb-facts b { font-weight: normal; text-align: left; }
#paideia-books .pb-facts b.pb-stock { color: var(--olive); }
#paideia-books .pb-book-info .pb-btns { display: flex; flex-wrap: wrap; gap: 12px; }
#paideia-books .pb-book-cover { display: grid; place-items: center; }
#paideia-books .pb-book-cover .pb-photo { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 6px 14px 14px 6px; box-shadow: 0 24px 40px rgba(60, 40, 30, .25); }
#paideia-books .pb-book-cover .pb-cv { width: 260px; height: 372px; padding: 24px; border-radius: 6px 14px 14px 6px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; font-size: 32px; line-height: 1.7; box-shadow: inset -12px 0 0 rgba(0, 0, 0, .12), 0 24px 40px rgba(60, 40, 30, .25); }
#paideia-books .pb-book-cover .pb-cv small { font-size: 14px; }
#paideia-books .pb-prose { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 2.2; }
#paideia-books .pb-prose p { margin: 0 0 14px; }
@container (max-width: 900px) {
  #paideia-books .pb-book-box { grid-template-columns: 1fr; padding: 34px 24px; gap: 28px; }
  #paideia-books .pb-book-cover { order: -1; }
  #paideia-books .pb-book-cover .pb-photo { max-width: 220px; }
  #paideia-books .pb-book-cover .pb-cv { width: 190px; height: 272px; font-size: 24px; }
  #paideia-books .pb-bookhero { padding-bottom: 40px; }
}

/* فوتر سایت: [paideia_footer] */
#paideia-footer { --bg: #faf6ee; --panel: #f1e8d8; --ink: #2b2622; --wine: #7a2e3a; --wine-d: #4d2029; --olive: #59634b; --muted: #6e6458; --line: #e0d4bf;
  width: 100%; box-sizing: border-box; background: var(--panel); border-top: 1px solid var(--line); color: var(--ink); direction: rtl; text-align: right;
  font-family: "PaideiaFar", Georgia, Tahoma, serif; font-weight: normal; font-size: 16px; line-height: 2; padding: 48px 24px 0; }
#paideia-footer *, #paideia-footer *::before, #paideia-footer *::after { box-sizing: border-box; font-family: inherit; font-weight: normal; }
#paideia-footer .pf-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 40px; align-items: start; }
#paideia-footer h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.6; color: var(--ink); }
#paideia-footer h4 { margin: 0 0 8px; font-size: 18px; line-height: 1.8; color: var(--wine); }
#paideia-footer p { margin: 0; color: var(--muted); font-size: 16px; }
#paideia-footer .pf-col p { color: var(--ink); }
#paideia-footer a { color: var(--ink); text-decoration: none; }
#paideia-footer a:hover { color: var(--wine); }
#paideia-footer a.pb-phone { display: block; direction: ltr; unicode-bidi: isolate; text-align: right; font-size: 18px; line-height: 2.1; }
#paideia-footer .pb-hours { list-style: none; margin: 0; padding: 0; }
#paideia-footer .pb-hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 0; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.9; }
#paideia-footer .pb-hours li:last-child { border-bottom: 0; }
#paideia-footer .pb-hours b { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
#paideia-footer .pb-hours .pb-hours-note { color: var(--muted); }
#paideia-footer .pf-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#paideia-footer .pf-social li { margin: 0; padding: 0; }
#paideia-footer .pf-social a { display: inline-block; padding: 4px 16px; border: 1.5px solid var(--line); border-radius: 40px; background: #fff; font-size: 15px; line-height: 1.9; transition: background .2s, color .2s, border-color .2s; }
#paideia-footer .pf-social a:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
#paideia-footer .pf-copy { max-width: 1240px; margin: 36px auto 0; padding: 16px 0 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) {
  #paideia-footer { padding-top: 36px; }
  #paideia-footer .pf-inner { grid-template-columns: 1fr; }
}

/* قیمت */
#paideia-books .pb-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; }
#paideia-books .pb-price span { color: var(--muted); font-size: 16px; }
#paideia-books .pb-price strong { font-weight: normal; color: var(--wine); font-size: 30px; line-height: 1.5; letter-spacing: .5px; }
#paideia-books .pb-price strong small { font-size: 16px; color: var(--muted); letter-spacing: 0; margin-right: 4px; }
#paideia-books .pb-price-sm { margin: 4px 0 8px; justify-content: center; text-align: center; }
#paideia-books .pb-price-sm strong { font-size: 20px; }
#paideia-books .pb-price-sm strong small { font-size: 14px; }

#paideia-books .pb-facts .pb-fact-price b { color: var(--wine); }
#paideia-books .pb-facts .pb-fact-price b small { color: var(--muted); font-size: 14px; }

/* قیمت با تخفیف */
#paideia-books .pb-pricebox { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.7; }
#paideia-books .pb-pricebox .pb-final { color: var(--wine); font-size: 20px; }
#paideia-books .pb-pricebox .pb-final small, #paideia-books .pb-pricebox .pb-old small { font-size: 13px; color: var(--muted); margin-right: 3px; }
#paideia-books .pb-pricebox .pb-old { color: var(--muted); font-size: 15px; text-decoration: line-through; text-decoration-thickness: 1.5px; }
#paideia-books .pb-pricebox .pb-off { display: inline-block; background: var(--wine); color: #fff; border-radius: 40px; padding: 0 12px; font-size: 14px; line-height: 1.9; }
#paideia-books .pb-price-sm { margin: 4px 0 8px; justify-content: center; text-align: center; }
#paideia-books .pb-visit .pb-contact:first-child { margin-top: 0; }

/* نقد و بررسی */
#paideia-books .pb-review-box { max-width: 820px; margin: 0 auto; background: var(--panel); border-radius: 24px; padding: 38px 44px; }
#paideia-books .pb-review-head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); }
#paideia-books .pb-review-head h3 { margin: 6px 0 4px; font-size: 26px; font-weight: normal; line-height: 1.7; }
#paideia-books .pb-review-rate { display: flex; align-items: center; gap: 10px; color: var(--wine); }
#paideia-books .pb-review-rate > span:last-child { color: var(--muted); font-size: 15px; }
#paideia-books .pb-stars { display: inline-flex; gap: 2px; direction: ltr; }
#paideia-books .pb-stars svg.pb-star { width: 20px !important; height: 20px !important; min-width: 0 !important; max-width: 20px !important; max-height: 20px !important; margin: 0 !important; display: inline-block !important; }
#paideia-books .pb-review-by { color: var(--muted); font-size: 15px; }
#paideia-books .pb-review-by b { color: var(--ink); font-weight: normal; }
#paideia-books .pb-review-box .pb-prose { max-width: none; margin: 0; font-size: 17px; }
@container (max-width: 700px) {
  #paideia-books .pb-review-box { padding: 26px 22px; }
}

#paideia-books .pb-review-box .pb-prose ul, #paideia-books .pb-review-box .pb-prose ol { margin: 0 0 14px; padding: 0 22px 0 0; }
#paideia-books .pb-review-box .pb-prose blockquote { margin: 0 0 14px; padding: 4px 18px 4px 0; border-right: 3px solid var(--wine); color: var(--muted); }
#paideia-books .pb-review-box .pb-prose h2, #paideia-books .pb-review-box .pb-prose h3, #paideia-books .pb-review-box .pb-prose h4 { margin: 18px 0 8px; font-weight: normal; line-height: 1.7; }

/* اسلایدر بخش اول (کل بخش می‌چرخد) */
#paideia-books .pb-hero-box.pb-slidebox { position: relative; display: grid; grid-template-columns: 1fr; align-items: stretch; padding: 0; min-height: 560px; }
#paideia-books .pb-slide { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 60px 56px 78px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
#paideia-books .pb-slide.pb-on { opacity: 1; visibility: visible; }
#paideia-books .pb-slide.pb-noimg { grid-template-columns: 1fr; }
#paideia-books .pb-hero .pb-slide-title { font-size: clamp(34px, 5vw, 60px); font-weight: normal; line-height: 1.55; margin: 6px 0 14px; }

/* اسلاید عکس: عکس کامل و بزرگ در کل کادر */
#paideia-books .pb-slide.pb-imgslide { display: block; align-self: stretch; height: 100%; min-height: 100%; padding: 0; overflow: hidden; background: var(--panel); }
#paideia-books .pb-slide-blur { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) saturate(1.1); transform: scale(1.05); }
#paideia-books .pb-slide-full { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; }
#paideia-books .pb-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 44px 54px; color: #fff; background: linear-gradient(to top, rgba(30, 20, 20, .82), rgba(30, 20, 20, 0)); }
#paideia-books .pb-hero .pb-slide-cap .pb-cat { color: #f5e9d6; }
#paideia-books .pb-hero .pb-slide-cap .pb-slide-title { font-size: 30px; line-height: 1.6; margin: 2px 0 4px; color: #fff; }
#paideia-books .pb-hero .pb-slide-cap p { color: #f5e9d6; font-size: 17px; line-height: 1.9; max-width: 640px; margin: 0 0 6px; }
#paideia-books .pb-hero .pb-slide-cap .pb-btns { margin-top: 10px; gap: 10px; }
#paideia-books .pb-slide-cap .pb-btn { padding: 5px 22px; font-size: 15px; }
#paideia-books .pb-slide-cap .pb-btn.pb-ghost { color: #fff; border-color: #fff; }
#paideia-books .pb-slide-cap .pb-btn.pb-ghost:hover { background: #fff; color: var(--wine); }

#paideia-books .pb-dots { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 10px; }
#paideia-books .pb-dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(60, 40, 30, .3); cursor: pointer; transition: background .3s, width .3s; }
#paideia-books .pb-dot.pb-dot-on { width: 30px; background: var(--wine); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
@media (prefers-reduced-motion: reduce) {
  #paideia-books .pb-slide, #paideia-books .pb-dot { transition: none; }
}
@container (max-width: 900px) {
  #paideia-books .pb-hero-box.pb-slidebox { min-height: 0; }
  #paideia-books .pb-slide { grid-template-columns: 1fr; gap: 28px; padding: 36px 26px 66px; }
  #paideia-books .pb-slide.pb-imgslide { padding: 0; }
  #paideia-books .pb-slide-cap { padding: 60px 22px 44px; }
  #paideia-books .pb-hero .pb-slide-cap .pb-slide-title { font-size: 22px; }
  #paideia-books .pb-hero .pb-slide-cap p { font-size: 15px; }
}

/* دکمه‌ی نمایش بیشتر */
#paideia-books .pb-more-wrap { text-align: center; margin-top: 36px; }
#paideia-books .pb-more-wrap[hidden] { display: none; }
