/* =========================================================
   libracarti.ro — Theme FINAL
   Modern / Premium / Digital Library (body white + color blocks)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap");

/* =========================================================
   1) BRAND TOKENS
   ========================================================= */

:root{
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --font-head: "Montserrat", var(--font-sans);

  /* Base */
  --bg: #ffffff;                /* BODY: white */
  --surface: #ffffff;

  --text: #1C1F26;
  --text-muted: #6B7280;
  --text-white: #ffffff;

  --border: #E4E2DD;
  --border-soft: #EEECE7;

  /* Brand */
  --brand: #1f2d16; /* dark green aproape negru */
  --brand-verde: #2d5016;
  --brand-soft: #4a6e28;

  /* Accent (signature) */
  --accent: #6e8e35;
  --accent-hover: #9ab84a;
  --accent-promotii: #6e8e35;
  --accent-span: #6e8e35;

  /* Color moments (soft blocks) */
  --block-warm: #FFF3EA;
  --block-warm-2: #FCEDE5;
  --block-cool: #EAF2FF;
  --block-green: #EAF7EF;
  --block-paper: #F7F6F4;
  --block-grey: #e4dede;
  
  --border-main: #f4f1f1;

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 .35rem 1rem rgba(0,0,0,.08);
  --shadow-md: 0 .75rem 2rem rgba(0,0,0,.10);
  --shadow-lg: 0 18px 44px rgba(0,0,0,.12);
}

/* =========================================================
   2) BASE
   ========================================================= */

html,
body {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  width: 100%;
  max-width: 100%;
}

html, body { height: 100%; }

body{
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {max-width:1280px;}

a{
  color: var(--brand);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover{ color: var(--accent); }

.site-logo {
  display: block;
  width: 125px;
  height: auto;
  max-width: 132px;
}

@media (max-width:768px) {
  .site-logo {
    width: 125px;
  }
}

/* =========================================================
   3) HEADINGS
   ========================================================= */

h1,h2,h3,h4,h5,h6,
.navbar-brand{
  font-family: var(--font-head);
  color: var(--brand);
  letter-spacing: -0.02em;
}

h1{ font-weight: 800; }
h2,h3{ font-weight: 700; }
h4,h5,h6{ font-weight: 600; }

/* =========================================================
   4) GLOBAL UTILITIES
   ========================================================= */

.section {
  margin: 0 0 4.5rem 0;
}

.section-title{
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.text-muted{ color: var(--text-muted) !important; }
.text-accent{ color: var(--accent) !important; }

/* Soft section wrappers */
.section-block{
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 2.5rem 2rem;
}

.section-block.block-warm { background: var(--block-warm); }
.section-block.block-paper { background: var(--block-paper); }
.section-block.block-cool { background: var(--block-cool); }

/* =========================================================
   5) CARDS / SURFACES
   ========================================================= */

.card,
.dropdown-menu,
.offcanvas,
.modal-content{
  background: var(--surface);
  border-color: var(--border);
  border-radius: var(--radius);
}

.card{
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover{
  box-shadow: var(--shadow-md);
}

/* =========================================================
   6) NAVBAR / MEGA MENU (keep your structure)
   ========================================================= */

.main-header{
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link{
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.navbar .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background: var(--accent);
  transition: width .2s ease;
}


.navbar .promotii .nav-link{
  color: var(--text-white);
  font-weight: 600;
  position: relative;
}

.navbar .nav-link:hover::after{ width:100%; }

.mega-menu{
  width:100%;
  border-top:1px solid var(--border-soft);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  animation: fadeDown .15s ease-out;
  max-height: 70vh;
  overflow-y: auto;
}

@keyframes fadeDown{
  from{ opacity:0; transform:translateY(-6px); }
  to{ opacity:1; transform:none; }
}

.mega-menu .dropdown-item{
  font-weight: 500;
  padding: .35rem 0;
}
.mega-menu .dropdown-item:hover{
  color: var(--accent);
  background: transparent;
}

/* Header search */
.header-search .form-control{
  border-radius: 999px;
}

/* =========================================================
   7) BUTTONS
   ========================================================= */

.btn{
  border-radius: 999px;
  font-weight: 700;
  padding: .55rem 1.1rem;
}

.btn-primary{
  background: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover{
  background: var(--accent-hover);
  border-color: var(--accent-accent);
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
	background: var(--accent-soft);
  border-color: var(--accent-accent);
}
.btn-accent{
  background: var(--accent);
  border-color: var(--accent);
  color:#fff;
}
.btn-accent:hover{
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color:#fff;
}

/* =========================================================
   8) FORMS
   ========================================================= */

.form-control{
  border-radius: 999px;
  border-color: var(--border);
}
.form-control:focus{
  border-color: rgba(196,106,43,.6);
  box-shadow: 0 0 0 .25rem rgba(196,106,43,.12);
}

/* =========================================================
   9) HOMEPAGE – MODERN LAYOUT
   ========================================================= */

/* HERO (modern + color moment) */
.home-hero{
  border-radius: 28px;
  background: linear-gradient(135deg, var(--block-warm) 0%, #fff 70%);
  border: 1px solid var(--border-soft);
  padding: 3.25rem 2.25rem;
  overflow: hidden;
}

.home-hero h1{
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.home-hero p{
  max-width: 560px;
  font-size: 16px;
}

.home-hero-search .form-control{
  height: 56px;
  font-size: 1.02rem;
  border-radius: 16px;
}
.home-hero-search .btn{
  height: 56px;
  border-radius: 16px;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

/* Trust cards */
.trust-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.trust-card .icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--block-paper);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: .75rem;
}
.trust-card h3{
  font-size: .95rem;
  margin: 0 0 .25rem 0;
}
.trust-card p{
  margin: 0;
  font-size: .9rem;
  color: var(--text-muted);
}

/* Promo tiles (the color punch) */
.promo-tile{
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  display: block;
  color: var(--brand);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.promo-tile:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--brand);
}
.promo-tile .t-title{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: .35rem;
}
.promo-tile .t-sub{
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0;
}
.promo-warm { background: var(--block-warm-2); }
.promo-cool { background: var(--block-cool); }
.promo-green { background: var(--block-green); }
.promo-paper { background: var(--block-paper); }

/* Category grid */
.cat-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.cat-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-card .name{
  font-weight: 700;
}
.cat-card .hint{
  margin-top: .25rem;
  color: var(--text-muted);
  font-size: .85rem;
}

/* Recommended books wrapper */
.books-wrap{
  border-radius: 28px;
  background: var(--block-paper);
  border: 1px solid var(--border-soft);
  padding: 2.25rem 1.5rem;
}

/* Final CTA */
.home-cta{
  border-radius: 28px;
  background: linear-gradient(135deg, var(--block-cool) 0%, #fff 70%);
  border: 1px solid var(--border-soft);
  padding: 2.75rem 2rem;
  text-align: center;
}
.home-cta h3{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-cta p{
  color: var(--text-muted);
  max-width: 640px;
  margin: .5rem auto 1.25rem;
}

/* =========================================================
   10) FOOTER
   ========================================================= */

footer{
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Brand mark */
.brand-mark{
  width:14px;
  height:14px;
  border-radius:3px;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(196,106,43,.18);
}

/* =========================================================
   HOMEPAGE – BOOK CARD (EXCLUSIVE)
   ========================================================= */

.book-card-home {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.book-card-home:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Cover */
.book-cover-wrap {
  background: #f7f6f4;
  padding: 1rem;
  text-align: center;
}

.book-cover-wrap img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Body */
.book-card-home .card-body {
  padding: 1rem 1.1rem 1.1rem;
}

/* Category */
.book-category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: .35rem;
}

/* Title */
.book-title-home {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .25rem;
}

.book-title-home a {
  color: var(--brand);
}

.book-title-home a:hover {
  color: var(--accent);
}

/* Author */
.book-author {
  font-size: .85rem;
  color: var(--text-muted);
}

/* Price */
.book-price {
  font-weight: 800;
  font-size: .95rem;
  color: var(--brand);
}

/* =========================================================
   HOMEPAGE — MODERN SECTIONS (ADD-ON)
   ========================================================= */

/* body trebuie sa ramana alb */
body.home {
  background: #ffffff;
}

/* ================= HERO ================= */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #fbf6f1 0%, #f6efe7 100%);
  border-radius: 28px;
  padding: 4rem 3rem;
  margin-bottom: 6rem;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(196,106,43,.18), transparent 70%);
}

.home-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.home-hero .lead {
  font-size: 1.15rem;
  max-width: 560px;
}

.hero-search {
  max-width: 520px;
}

/* ================= TRUST STRIP ================= */
.trust-strip {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-top: -3.5rem;
  padding: 2rem 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.5rem;
}

.trust-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f3f6fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--academic-blue);
}

.trust-title {
  font-weight: 700;
  margin-bottom: .15rem;
}

/* ================= FEATURE CARDS ================= */
.feature-grid {
  margin: 4rem 0;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  height: 100%;
  transition: all .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card i {
  font-size: 1.8rem;
  color: var(--accent);
}

.feature-card h5 {
  margin-top: 1rem;
  font-weight: 700;
}

/* ================= COLOR BANNERS ================= */
.color-banners {
  margin: 4rem 0;
}

.color-banner {
  border-radius: 24px;
  padding: 2.4rem 2.2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 160px;
}

.color-banner h4 {
  font-weight: 800;
}

.banner-accent {
  background: linear-gradient(135deg, #c46a2b, #a85622);
}

.banner-blue {
  background: linear-gradient(135deg, #4f7cac, #3d628a);
}

.banner-dark {
  background: linear-gradient(135deg, #2c2f38, #1f222a);
}

/* ================= BOOK GRID ================= */
.home-books {
  margin: 3rem 0;
  margin-top: 1.6rem;
}

.home-books h2 {
  margin-bottom: 1.5rem;
}

.home-book-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  height: 100%;
  transition: all .2s ease;
}

.home-book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-book-cover {
  border-radius: 14px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #f3f3f3;
}

.home-book-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  margin-top: .75rem;
}
.
/* ================= FINAL SEARCH ================= */
.home-search-final {
  background: #fbf6f1;
  border-radius: 24px;
  padding: 3rem 2rem;
  margin: 5rem 0 3rem;
}

/* ================= SEO SECTION (MODERN) ================= */

.home-seo {
  margin: 5rem 0 4rem;
}

.home-seo-inner {
  background: linear-gradient(180deg, #fbf6f1 0%, #ffffff 100%);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-soft);
}

.home-seo h2 {
  font-size: 1.9rem;
  font-weight: 800;
  max-width: 720px;
}

.home-seo p {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.75;
  max-width: 820px;
}

.home-seo-columns {
  margin-top: 2.5rem;
}

.home-seo-columns h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.home-seo-columns p {
  font-size: .95rem;
}

.home-seo-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}

/* =========================================================
   HOMEPAGE – MODERN SECTIONS (ADD-ON)
   ========================================================= */

/* ---------- HERO ---------- */
.hp-hero {
  background: linear-gradient(135deg, #f3efe9 0%, #ffffff 60%);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hp-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(196,106,43,.18), transparent 70%);
}

.hp-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  max-width: 640px;
}

.hp-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hp-search {
  max-width: 520px;
}

/* ---------- TRUST / BENEFITS ---------- */
.hp-benefits {
  margin-bottom: 4rem;
}

.hp-benefit {
  display: flex;
  gap: 1rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hp-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f6f5f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
}

.hp-benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.hp-benefit p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
}

/* ---------- CTA CARDS ---------- */
.hp-cta-grid {
  margin-bottom: 4rem;
}

.hp-cta {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #fbfaf8);
  border: 1px solid var(--border);
  height: 100%;
}

.hp-cta h4 {
  font-size: 1.25rem;
  font-weight: 800;
}

.hp-cta p {
  color: var(--text-muted);
}

/* ---------- BOOK GRID ---------- */
.hp-books {
  margin-bottom: 4rem;
}

.hp-books-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* ---------- SEO TEXT (QUIET) ---------- */
.hp-seo {
  background: #fbfaf8;
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
}

.hp-seo h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ================= SEO SECTION – MODERN ================= */

.hp-seo-modern {
  background: linear-gradient(
    180deg,
    rgba(196,106,43,0.04),
    rgba(255,255,255,0)
  );
  border-radius: var(--radius);
  padding: 3rem 3rem;
}

.hp-seo-modern h2 {
  font-weight: 800;
}

.hp-seo-modern .lead {
  font-size: 1.05rem;
}

.seo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.seo-box-item + .seo-box-item {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--border);
}

.seo-title {
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--brand);
}

/* ================= SEO FAQ ================= */

.hp-seo-faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.hp-seo-faq h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hp-seo-faq .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-soft);
}

.hp-seo-faq .accordion-item:last-child {
  border-bottom: none;
}

.hp-seo-faq .accordion-button {
  padding: 1.2rem 0;
  font-weight: 700;
  background: transparent;
  box-shadow: none;
}

.hp-seo-faq .accordion-button:not(.collapsed) {
  color: var(--accent);
}

.hp-seo-faq .accordion-button::after {
  opacity: .5;
}

.hp-seo-faq .accordion-body {
  padding: 0 0 1.4rem 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   BOOK PAGE – PREMIUM DETAILS
   ========================================================= */

/* Breadcrumbs */
.book-breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.book-breadcrumbs a {
  color: var(--text);
}
.book-breadcrumbs a:hover {
  color: var(--brand);
}

/* Book title block */
.book-header h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
}

/* Rating */
.book-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.book-rating .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* Cover */
.book-cover img {
  background: #fff;
  padding: 0.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Price */
.book-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

/* CTA buttons */
.book-cta .btn {
  font-size: 0.95rem;
}

/* Trust note */
.book-trust-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Description */
.book-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

/* Quote */
.book-quote {
  font-style: italic;
  background: var(--surface-soft);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

/* Details table */
.book-details table th {
  font-weight: 600;
  color: var(--text-muted);
  width: 160px;
}
.book-details table td {
  color: var(--text);
}

/* Reviews */
.book-reviews {
  background: var(--surface-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.book-review {
  margin-bottom: 1rem;
}
.book-review:last-child {
  margin-bottom: 0;
}
.book-review .stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

/* FAQ */
.book-faq .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
}
.book-faq .accordion-body {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .book-header h1 {
    font-size: 1.6rem;
  }
  .book-price {
    font-size: 1.2rem;
  }
}

/* =========================================================
   BOOK REVIEWS
   ========================================================= */

#reviews {
  margin-top: 3rem;
}

/* Rating summary */
#reviews .rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#reviews .rating-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}

#reviews .rating-stars {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Individual review card */
#reviews .review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1rem;
}

#reviews .review-title {
  font-weight: 700;
  margin-bottom: .25rem;
}

#reviews .review-meta {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

#reviews .review-stars {
  font-size: .9rem;
  color: var(--accent);
  margin-bottom: .5rem;
}

#reviews .review-content {
  font-size: .95rem;
  line-height: 1.6;
}

/* Review form */
#reviews form {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

#reviews form .form-label {
  font-weight: 600;
  font-size: .9rem;
}

#reviews form .form-control,
#reviews form .form-select {
  border-radius: 12px;
  border-color: var(--border);
}

#reviews form .form-control:focus,
#reviews form .form-select:focus {
  border-color: rgba(196,106,43,.6);
  box-shadow: 0 0 0 .2rem rgba(196,106,43,.15);
}

#reviews form button {
  margin-top: .5rem;
}

/* Mobile spacing */
@media (max-width: 768px) {
  #reviews .review-card {
    padding: 1rem;
  }

  #reviews form {
    padding: 1.2rem;
  }
}

/* =========================================================
   BOOK RATING (UNDER TITLE)
   ========================================================= */

.book-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}

.book-rating .stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 1px;
}

.book-rating .rating-text {
  color: var(--text-muted);
}

.book-rating .rating-link {
  margin-left: .25rem;
  font-size: .85rem;
  color: var(--link);
}

.book-rating .rating-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.rating-stars { color: #ddd; font-size: 1.1rem; letter-spacing: 2px; }
.rating-stars .on { color: #f59e0b; }

/* =========================================================
   BOOK PAGE – MODERN REFINEMENT
   ========================================================= */

.book-page {
  background: #ffffff;
  padding: 1.5rem 0;
}

/* ---------- Breadcrumbs ---------- */
.book-page .breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* ---------- Cover ---------- */
.book-cover-col img {
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  background: #fff;
}

/* ---------- Title ---------- */
.book-main h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.2;
}

/* ---------- Author ---------- */
.book-main .text-muted {
  font-size: 0.95rem;
}

/* ---------- Rating inline ---------- */
.book-rating-inline {
  font-size: 0.95rem;
}

.rating-stars {
  letter-spacing: 1px;
  font-size: 1.05rem;
}

.rating-stars span {
  color: #e5e7eb;
}

.rating-stars span.on {
  color: #f59e0b;
}

/* ---------- SEO intro ---------- */
.book-main .text-muted p {
  max-width: 680px;
}

/* ---------- Price ---------- */
.book-price {
  color: var(--brand);
}

/* ---------- CTA ---------- */
.book-cta .btn {
  min-width: 160px;
}

.book-cta .btn-accent {
  box-shadow: 0 6px 18px rgba(196,106,43,.25);
}

/* ---------- Meta table ---------- */
.book-meta-table {
  background: #fff;
}

.book-meta-table th {
  background: var(--surface-soft);
  font-weight: 600;
  color: var(--text-muted);
  width: 180px;
}

.book-meta-table td {
  background: #fff;
}

/* ---------- Sections ---------- */
.book-section h2 {
  margin-bottom: 1rem;
}

/* ---------- Description ---------- */
#descriere {
  max-width: 860px;
}

/* ---------- FAQ ---------- */
#bookFaq .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
}

#bookFaq .accordion-body {
  font-size: 0.9rem;
}

/* ---------- Related books ---------- */
.book-section .book-card {
  height: 100%;
}

/* ---------- Reviews ---------- */
.book-reviews .border {
  border-color: var(--border);
}

.book-reviews .border.rounded {
  border-radius: 14px;
}

.book-reviews .fw-semibold {
  font-size: 0.95rem;
}

/* ---------- Review form ---------- */
.book-reviews form {
  background: #fafafa;
  border-radius: 14px;
}

.book-reviews textarea {
  resize: vertical;
}

/* ---------- Sticky CTA (mobile only) ---------- */
@media (max-width: 768px) {
  .book-cta {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    z-index: 20;
  }
}


/* ================= BOOK PAGE ================= */

.book-hero {
  background: #fff;
}

.book-cover {
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  background: #fff;
}

.book-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
}

.book-author {
  font-size: 1rem;
  color: #6b7280;
}

.book-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}


.rating-stars {
  font-size: 1.1rem;
  color: #d1d5db;
}
.rating-stars .on {
  color: var(--accent);
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.review-rating {
  color: var(--accent);
  margin-bottom: .25rem;
}

@media (max-width: 768px) {
  .book-title {
    font-size: 1.6rem;
  }
}
/* ================= BOOK PAGE ================= */

.book-breadcrumbs {
  font-size: .85rem;
}
.book-breadcrumbs span {
  margin: 0 .25rem;
  color: #9ca3af;
}
.book-breadcrumbs .current {
  color: var(--text-muted);
}

/* HERO */
.book-hero {
  align-items: flex-start;
}

/* LEFT SIDEBAR */
.book-sidebar {
  position: sticky;
  top: 20px;
}

.book-cover {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  margin-bottom: 1rem;
}

.book-sidebar-cta .btn {
  width: 100%;
  margin-bottom: .5rem;
}

.book-affiliate-note {
  font-size: .8rem;
  color: #6b7280;
}

/* MAIN */
.book-main {
  padding-left: 1.5rem;
}

.book-title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.book-author {
  color: #6b7280;
  margin-bottom: .5rem;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.rating-stars {
  font-size: 1.2rem;
  color: #d1d5db;
}
.rating-stars .on {
  color: #f59e0b;
}

.rating-meta {
  font-size: .9rem;
  color: #6b7280;
}

.book-intro {
  margin-bottom: 1.2rem;
}

.book-price {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
p.anno_fade {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 11px 0;
    background-image: linear-gradient(to bottom, transparent, white);
}
.book-intro.intro-single {
	    height: 80px;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    text-align: justify;
}
.book-intro-more {    margin-bottom: 3rem;
    margin-top: -20px;}
.book-intro-more a {color: var(--accent);
    font-size: 15px;}



/* SECTIONS */
.book-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* DETAILS TABLE */
.book-details-table th {
  width: 180px;
  background: #fafafa;
  font-weight: 600;
}

/* DESCRIPTION */
.book-description {
  line-height: 1.7;
  color: #374151;
}

/* REVIEWS */
.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.review-stars {
  color: #d1d5db;
  margin-bottom: .25rem;
}
.review-stars .on {
  color: #f59e0b;
}

.review-content {
  margin-top: .25rem;
  color: #4b5563;
}

/* MOBILE */
@media (max-width: 768px) {
  .book-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
}
/* ================= ALTERNATIVE OFFERS DROPDOWN ================= */

.alt-offers {
  position: relative;
}

.alt-offers-btn {
  width: 100%;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: .6rem .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.alt-offers-btn .arrow {
  font-size: 1.2rem;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.alt-offers.open .arrow {
  transform: rotate(-90deg);
}

.alt-offers-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  display: none;
  z-index: 50;
}

.alt-offers.open .alt-offers-menu {
  display: block;
}

.alt-offers-menu a {
  display: flex;
  justify-content: space-between;
  padding: .7rem .9rem;
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

.alt-offers-menu a:hover {
  background: #f9fafb;
}

.alt-offers-menu span {
  opacity: .6;
}
/* ================= ALT OFFERS – RIGHT + UP DROPDOWN ================= */

@media (min-width: 992px) {

  .alt-offers {
    position: relative;
  }

  .alt-offers-menu {
    position: absolute;
    left: calc(100% + 12px); /* dreapta butonului */
    right: auto;
    bottom: 0;               /* ancorat jos */
    top: auto;
    transform: translateY(-12px); /* ridicat in SUS */
    min-width: 240px;
    z-index: 1000;
  }

  /* sageata orientata spre buton */
  .alt-offers-menu::before {
    content: "";
    position: absolute;
    left: -6px;
    bottom: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transform: rotate(45deg);
  }
}

/* ================================
   FIX dropdown arrow for Categorii
   ================================ */

/* remove Bootstrap default caret */
.navbar .dropdown-toggle::after {
  display: none !important;
}

/* custom caret */
.navbar .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* caret icon */
.navbar .dropdown-toggle .caret {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  opacity: .7;
  transition: transform .15s ease, opacity .15s ease;
}

/* rotate when open */
.navbar .dropdown.show > .dropdown-toggle .caret {
  transform: rotate(-135deg);
  opacity: 1;
}

.promotii {
	background-color: var(--accent);
	padding: 0px 14px;
    border-radius: 8px;
}
.promotii:hover {background-color:var(--accent-hover);}
.navbar .nav-item.promotii .nav-link::after {content:none!important;}

/* ================================
   Header minimalist search (SAFE)
   ================================ */

.header-search {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.header-search-input {
  width: 100%;
  height: 42px;
  padding: 0.55rem 3rem 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #F7F6F4;
  font-size: .95rem;
  color: var(--text);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.header-search-input::placeholder {
  color: #8B8F97;
}

.header-search-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(196,106,43,.15);
}

/* submit icon */
.header-search-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #8B8F97;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.header-search-submit:hover {
  background: rgba(0,0,0,.05);
  color: var(--accent);
}

.header-search-submit:focus {
  outline: none;
}

/* ================================
   Center header search (NO absolute)
   ================================ */

@media (min-width: 992px) {

  .main-header .container {
    display: flex;
    align-items: center;
  }

  .main-header .header-search {
    flex: 1;
    max-width: 460px;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  /* pastreaza meniul la dreapta */
  .main-header .navbar-collapse {
    flex: 0 0 auto;
  }
}

.main-header {
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (min-width: 992px) {
  .main-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
/* =========================================================
   MEGA MENU — STRUCTURED / READABLE / PREMIUM
   ========================================================= */

.mega-menu {
  width: 100%;
  padding: 0;
  border-top: 1px solid var(--border-soft);
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

/* reset spacing */
.mega-menu .container,
.mega-menu .row {
  padding: 0;
  margin: 0;
}

/* ================= LEFT: CATEGORIES ================= */

.mega-menu .col-lg-9 {
  background: #f7f6f485;
  padding: 1.75rem 2.25rem;
}

/* FAKE TITLE (fără HTML nou) */
.mega-menu .col-lg-9::before {
  content: "Categorii";
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .5rem;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
}

/* Grid mai dens, mai „controlat” */
.mega-menu .col-lg-9 .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: .35rem;
}

/* Category link – pill hover */
.mega-menu .col-lg-9 .dropdown-item {
  display: inline-block;
  padding: .35rem .5rem;
  border-radius: 8px;
  color: var(--text);
  transition: background .15s ease, color .15s ease;
      font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.mega-menu .col-lg-9 .dropdown-item:hover {
  color: var(--accent);
  text-decoration:underline;
}

/* Vezi toate – CTA clar */
.mega-menu .col-lg-9 .dropdown-item.fw-semibold {
  margin-top: .75rem;
  color: var(--accent);
  font-weight: 700;
}

/* ================= RIGHT: RECOMMENDATIONS ================= */

.mega-menu .col-lg-3 {
  background: linear-gradient(180deg, #e2c07b1f, #ffc1071a);
  padding: 1.75rem 1.75rem;
  border-left: 1px solid var(--border-soft);
}

/* titlu */
.mega-menu .col-lg-3 .fw-bold {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
    margin-bottom: .5rem;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
}

/* recomandari – list style */
.mega-menu .col-lg-3 .dropdown-item {
  padding: .5rem .25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}

.mega-menu .col-lg-3 .dropdown-item:hover {
  background: rgba(196,106,43,.12);
  color: var(--accent);
}

/* icon doar aici */
.mega-menu .col-lg-3 .dropdown-item::before {
  content: "›";
  opacity: .6;
  font-size: 1.1rem;
}

/* ================= MOBILE ================= */

@media (max-width: 991px) {
  .mega-menu {
    border-radius: 0;
    box-shadow: none;
  }

  .mega-menu .col-lg-9,
  .mega-menu .col-lg-3 {
    background: #fff;
    padding: 1.25rem;
    border-left: 0;
  }

  .mega-menu .col-lg-9::before {
    display: none;
  }
}
/* =========================================================
   MEGA MENU — SPACING FIX (FINAL)
   ========================================================= */

/* 1️⃣ Elimină orice spațiu sus */
.navbar .dropdown-menu.mega-menu {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 2️⃣ Neutralizează container-ul din interior */
.mega-menu > .container {
  max-width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0;
  margin-right: 0;
}

/* 3️⃣ Elimină spațiul de sus din grid */
.mega-menu .row.g-4 {
  margin-top: 0 !important;
  --bs-gutter-y: 0.5rem;   /* mult mai compact */
}

/* 4️⃣ Corectează alinierea panoului stâng */
.mega-menu .col-lg-9 {
  padding-top: 1.25rem;   /* controlat, nu exagerat */
  margin-top:0;
}

/* 5️⃣ Corectează panoul dreapta */
.mega-menu .col-lg-3 {
  padding-top: 1.25rem;
  margin-top: 0;
}

/* 6️⃣ Asigură colțuri curate */
.mega-menu {
  overflow: hidden;
}

.mt-45 {margin-top:4.5rem;}

/* ================================
   HERO SEARCH — MODERN
   ================================ */

.hero-search {
  position: relative;
  max-width: 620px;
  width: 70%;
  margin-top: 2rem;
}

.hero-search input {
  width: 100%;
  height: 64px;
  padding: 0 64px 0 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: 
    border-color .2s ease,
    box-shadow .2s ease;
}

.hero-search input::placeholder {
  color: #9CA3AF;
}

.hero-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(196,106,43,.12);
}

/* Search icon button */
.hero-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 
    background .15s ease,
    transform .15s ease;
}

.hero-search button:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.05);
}

/* =====================================================
   BOOK CARD – HOMEPAGE (EDITORIAL / PREMIUM)
   ===================================================== */

.book-card-home {
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 18px;
  background: #fff;
  transition: 
    transform .18s ease,
    box-shadow .18s ease;
}

.book-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}
.book-cover-wrap {
  padding: 1.25rem;
  display: flex;
  justify-content: center;
}

.book-cover-wrap img {
  max-height: 260px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform .2s ease;
}

.book-card-home:hover .book-cover-wrap img {
  transform: scale(1.02);
}
.book-category {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: .35rem;
  display: inline-block;
}

.book-category:hover {
  text-decoration: underline;
}
.book-title-home {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: .25rem;
}

.book-title-home a {
  color: var(--text);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-title-home a:hover {
  color: var(--accent);
}
.book-author {
  font-size: .9rem;
  color: var(--text-muted);
}
.book-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-soft);
    margin-top: 10px;
    text-align: center;
    margin-bottom: 10px;
}
.book-card-home .btn-accent {
  font-size: .85rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}

.book-card-home .btn-accent:hover {
  transform: translateY(-1px);
}
.book-card-home a {
  text-decoration: none;
}
.book-card-home .card-body {
  padding-top: 1.25rem;
}

.book-title-home {
  min-height: 2.6em; /* ~2 rânduri */
}

.book-author {
  font-size: .85rem;
  opacity: .8;
}
.book-card-home:hover .book-title-home a {
  color: var(--accent);
}
.section-header a {
  font-weight: 500;
}

.section-header a:hover {
  text-decoration: underline;
}
/* ================================
   Homepage search discovery block
   ================================ */

.home-search-discovery {
  background: var(--block-paper);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

/* title */
.home-search-discovery h2 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* subtitle */
.home-search-discovery p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* search input */
.home-search-discovery .form-control {
  height: 56px;
  border-radius: 999px;
  font-size: 1rem;
}

/* search button */
.home-search-discovery .btn {
  height: 56px;
  border-radius: 999px;
  padding: 0 1.6rem;
}
.page-book .rating-meta a {color:var(--accent);}
.page-book .table-carte {margin-bottom:2rem;max-width:760px;}
.book-section.book-similars-section h2 {
    font-size: 26px;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-main);
    padding-bottom: 10px;
    line-height: 1.25;
    font-weight: 600;
}
/* =========================
   404 PAGE
========================= */

.page-404 .container-b {
  padding: 60px 20px;
  text-align: center;
}

.page-404 .error-container {
  max-width: 720px;
  margin: 0 auto;
}

.page-404 .error-code {
  font-size: 90px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #111;
  margin-bottom: 10px;
}

.page-404 .error-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-404 .error-text {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* SEARCH */

.page-404 .error-search {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.page-404 .error-search input {
  flex: 1;
  max-width: 400px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.page-404 .error-search button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.page-404 .error-search button:hover {
  opacity: 0.9;
}

/* BUTTONS */

.page-404 .error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-404 .error-btn {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  transition: 0.2s ease;
}

.page-404 .error-btn.primary {
  background: #111;
  color: #fff;
  border: none;
}

.page-404 .error-btn:hover {
  transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 768px) {

  .page-404 .container-b{
    padding: 60px 16px;
  }

  .page-404 .error-code {
    font-size: 64px;
  }

  .page-404 .error-title {
    font-size: 20px;
  }

  .page-404 .error-text {
    font-size: 14px;
  }

  .page-404 .error-search {
    flex-direction: column;
    gap: 8px;
  }

  .page-404 .error-search input,
  .page-404 .error-search button {
    width: 100%;
  }

}


/* mobile */
@media (max-width: 768px) {
  .home-search-discovery {
    padding: 2.5rem 1.5rem;
  }
}
/* =====================================================
   CATEGORY PAGE — EXPLORATORY LAYOUT (FINAL)
   ===================================================== */

/* --- Layout --- */
.category-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .category-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Sidebar --- */
.category-sidebar {
  position: sticky;
  top: 26px;
}

.sidebar-box {
  background: var(--block-paper, #faf7f3);
  border-radius: 14px;
  padding: 1.4rem 1.4rem;
  margin-bottom: 1.5rem;
}

.sidebar-box.is-muted {
  opacity: .75;
}

.sidebar-eyebrow {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sidebar-title {
  font-size: 1.4rem;
  margin: .3rem 0 .5rem;
}

.sidebar-desc {
  font-size: .9rem;
  color: var(--text-muted);
}

.sidebar-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}

/* Pills */
.sidebar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.sidebar-pills .pill {
  padding: .4rem .7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-soft, #e6e2dc);
  font-size: .8rem;
  text-decoration: none;
  color: var(--text);
}

.sidebar-pills .pill:hover {
  background: var(--accent-soft, #f1e6da);
  color: var(--accent);
}

/* Sidebar list */
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  font-size: .85rem;
  color: var(--text-muted);
}

/* --- Grid --- */
.category-content {
  width: 100%;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  column-gap: 26px;
}

@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Book card --- */
/*.category-book-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
}*/

.category-book-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.category-book-card:hover {transform: translateY(-4px);}
.category-book-card {transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);}

/* Cover */
.category-book-cover {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-book-cover img {
     width: 100%;
    height: 100%;
    object-fit: cover;
    webkit-box-shadow: 9px 10px 5px 0 rgb(92 92 92 / 20%);
    -moz-box-shadow: 9px 10px 5px 0 rgba(92,92,92,.2);
    box-shadow: 9px 10px 5px 0 rgb(92 92 92 / 20%);
    border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    -ms-border-radius: 0 10px 10px 0;
    -webkit-border-radius: 0 10px 10px 0;
    height: 100%;
    object-fit: cover;
    border: 1px solid #FAFAFA;
}

/* Author badge */
.book-author-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.95);
  padding: .3rem .6rem;
  font-size: .7rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

/* Meta */
.category-book-meta {
  padding: 1rem 0;
}

.category-book-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* =====================================================
   RANDOM PICK CARD — DISCOVER MODE
   ===================================================== */

.category-book-random {
  background: linear-gradient(
    135deg,
    var(--block-warm, #fff3ea),
    #ffffff
  );
  border: 2px dashed rgba(196,106,43,.35);
}

.category-book-random:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}

/* Cover tweak */
.random-cover {
  position: relative;
}

.random-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem .55rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* Meta */
.random-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .25rem;
}
/* =========================================================
   MOBILE ONLY — CATEGORY PAGE & BOOK CARDS
   ========================================================= */
@media (max-width: 767px) {

  /* =============================
     CATEGORY LAYOUT
     ============================= */

  /* Breadcrumbs mai compacte */
  nav.mb-3.small {
    font-size: .8rem;
    margin-bottom: .75rem;
  }

  /* Titlu categorie */
  h1 {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: .75rem;
  }

  /* Sidebar devine block sus */
  .category-sidebar {
    margin-bottom: 1.5rem;
  }

  .category-sidebar .section-title {
    font-size: .95rem;
    margin-bottom: .5rem;
  }

  .category-sidebar p {
    font-size: .9rem;
    line-height: 1.55;
  }

  /* =============================
     GRID BOOKS
     ============================= */

  /* 2 coloane curate */
  .row.row-cols-2,
  .row.row-cols-md-3,
  .row.row-cols-lg-4,
  .row.row-cols-xl-5 {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: 1rem;
  }

  /* =============================
     BOOK CARD
     ============================= */

  .category-book-card {
    border-radius: 6px;
  }

  /* Cover */

  .category-book-cover img {
    width: 100%;
    height: 190px;
    object-fit: cover;
	    webkit-box-shadow: 9px 10px 5px 0 rgb(92 92 92 / 20%);
    -moz-box-shadow: 9px 10px 5px 0 rgba(92,92,92,.2);
    box-shadow: 4px 7px 5px 0 rgb(92 92 92 / 17%);
  }

  /* Author badge */
  .book-author-badge {
    font-size: .65rem;
    padding: .25rem .45rem;
    top: 8px;
    left: 8px;
  }

  /* Meta */
  .category-book-meta {
    padding: .6rem 0;
  }

  .category-book-title {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.35;
  }

  /* =============================
     RANDOM PICK CARD
     ============================= */

  .category-book-card.random {
    background: linear-gradient(
      135deg,
      var(--block-warm),
      #ffffff
    );
  }

  .category-book-card.random::before {
    font-size: 1rem;
    top: 10px;
    right: 10px;
  }

  .category-book-card.random .category-book-title {
    font-size: .95rem;
    text-align: center;
  }

  /* =============================
     INTERACTIONS
     ============================= */

  /* Mai putin hover pe mobile */
  .category-book-card:hover {
    transform: none;
  }

  /* Link tap-friendly */
  .category-book-link {
    -webkit-tap-highlight-color: transparent;
  }

}
/* =========================================================
   FIX: Sidebar sticky OFF on mobile
   ========================================================= */
@media (max-width: 991px) {

  .category-sidebar {
    position: static !important;
    top: auto !important;
  }

}

/* ===============================
   Mobile behaviour
   =============================== */
@media (max-width: 991px) {

  .category-layout {
    display: flex;
    flex-direction: column;
  }

  /* continutul sus */
  .category-content {
    order: 2;
  }

  /* sidebar jos */
  .category-sidebar {
    order: 1;
    position: static; /* important */
  }
.category-layout {gap:0.5rem;}
}
@media (max-width: 576px) {

  .category-book-card {
    border-radius: 6px;
  }

  .category-book-cover {
    height: 100%; /* uniform */
  }

  .category-book-cover img {
    object-fit: cover;
  }

}
@media (max-width: 576px) {

  .random-book-card .category-book-meta {
    padding: .75rem;
    text-align: left;
  }

  .random-book-card .random-label {
    font-size: .65rem;
    letter-spacing: .04em;
  }

}
@media (max-width: 576px) {

  .book-author-badge {
    font-size: .65rem;
    padding: .25rem .5rem;
    border-radius: 999px;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}
@media (max-width: 576px) {

  .category-book-title {
	font-size: 12.4px;
    padding-top: 6px;
    margin: 0;
    overflow: hidden;
    font-weight: 600;
    text-align: left;
    line-height: 1.3;
  }

}
@media (max-width: 576px) {
  .random-book-card {
    border: 1px solid var(--border-soft);
    border-style: solid;
  }
}
/* ===============================
   SEARCH PAGE – POLISH
   =============================== */

.search-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.search-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.search-form {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.search-input {
  flex: 1;
  height: 52px;
  padding: 0 1.2rem;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft, #ddd);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent, #b87333);
  box-shadow: 0 0 0 3px rgba(184,115,51,.15);
}

.search-btn {
  height: 52px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background .15s ease, transform .12s ease;
}

.search-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* Meta info */
.search-meta {
  font-size: .95rem;
  color: #666;
}

.search-query {
  font-weight: 600;
  color: #111;
}

.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
}

.search-pagination a {
  padding: 6px 12px;
  border-radius: 6px;
  background: #f2f2f2;
  text-decoration: none;
  font-weight: 600;
}

.search-pagination span {
  font-weight: 600;
}


/* Empty states */
.search-empty {
  background: #f6f7f8;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  color: #555;
  max-width: 720px;
      margin: 0 auto;
    text-align: center;
}

/* Results grid */
.search-results .card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.search-results .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

/* Pagination */
.search-pagination .page-link {
  border-radius: 999px;
  padding: .45rem .9rem;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
  }

  .search-input,
  .search-btn {
    width: 100%;
  }

  .search-title {
    font-size: 1.5rem;
  }
}
/* ===============================
   SEARCH BOOK CARD
   =============================== */

.search-book-card {
  border-radius: 14px;
  border: 1px solid #eee;
  transition: box-shadow .15s ease, transform .15s ease;
}

.search-book-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

/* Cover */
.search-book-cover {
  width: 72px;
  height: 108px;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
}

/* Category badge */
.search-book-category {
  display: inline-block;
  margin-bottom: .4rem;
  padding: .25rem .6rem;
  font-size: .65rem;
  font-weight: 600;
  border-radius: 999px;
  background: #f7f3ee;
  color: #b36f3c;
  border: 1px solid #eadfce;
  text-decoration: none;
}

/* Title */
.search-book-title {
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 .15rem;
}

.search-book-title a {
  color: #111;
  text-decoration: none;
}

.search-book-title a:hover {
  text-decoration: underline;
}

.container-search-page {
	min-height: calc(100vh - 146px);
    align-items: center;
    justify-content: center;
    align-content: center;
}
.page-categories-index .container-search-page, .page-authors-index .container-search-page, .page-edituri-index .container-search-page {margin-top:3rem;}



/* Author */
.search-book-author {
  font-size: .8rem;
  color: #6b7280;
  margin-bottom: .4rem;
}

/* Excerpt */
.search-book-excerpt {
  font-size: .8rem;
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: .6rem;
}

/* Actions */
.search-book-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.search-book-price {
  font-weight: 600;
  color: #111;
  font-size: .9rem;
}

/* Buttons */
.search-book-buttons {
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* Primary CTA */
.btn-search-primary {
  background: #1f2328;
  color: #fff;
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-search-primary:hover {
  background: #000;
}

/* Secondary */
.btn-search-secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: .75rem;
  font-weight: 500;
}

/* Dropdown */
.search-alt-wrapper {
  position: relative;
}

.search-alt-wrapper:hover .search-alt-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.search-alt-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: .4rem;
  min-width: 140px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all .15s ease;
  z-index: 10;
}

.search-alt-dropdown a {
  display: block;
  padding: .35rem .6rem;
  font-size: .75rem;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
}

.search-alt-dropdown a:hover {
  background: #f7f7f8;
}

/* Mobile */
@media (max-width: 576px) {
  .search-book-buttons {
    flex-wrap: wrap;
  }

  .btn-search-primary,
  .btn-search-secondary {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   BOOK CARD SEARCH + ALT OFFERS (FINAL)
   Desktop + Mobile included
   ========================================================= */

/* Footer actions */
.book-card-search .book-card-footer {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.2rem;
}

.book-card-search .book-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand);
}

/* Buttons row */
.book-card-search .book-card-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

/* Primary offer */
.book-card-search .btn-primary-offer {
  height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  background: #1f2328;
  color: #fff;
  border: none;
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}

.book-card-search .btn-primary-offer:hover {
  background: #000;
  transform: translateY(-1px);
  color: #fff;
}

/* =========================================================
   ALT OFFERS (click-only)
   ========================================================= */

.alt-offers {
  position: relative;
}

.alt-offers-btn {
  height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #d6d9df;
  font-size: .9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  color: #1f2328;
  user-select: none;
  transition: background .15s ease, color .15s ease;
}

.alt-offers-btn:hover {
  background: #f6f7f9;
}

.alt-offers-btn .arrow {
  display: inline-block;
  transform: rotate(90deg);
  transition: transform .2s ease, opacity .2s ease;
  opacity: .7;
}

/* menu base */
.alt-offers-menu {
  position: absolute;
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: .4rem 0;
  z-index: 50;

  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
}

/* desktop: open UP */
@media (min-width: 769px) {
  .alt-offers-menu {
    bottom: 100%;
    margin-bottom: .6rem;
  }
}

/* menu links */
.alt-offers-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  font-size: .9rem;
  color: #1f2328;
  text-decoration: none;
  border-radius: 8px;
}

.alt-offers-menu a:hover {
  background: #f6f7f9;
}

/* open state */
.alt-offers.open .alt-offers-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.alt-offers.open .alt-offers-btn .arrow {
  transform: rotate(-90deg);
  opacity: 1;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .book-card-search .book-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .book-card-search .btn-primary-offer,
  .alt-offers-btn {
    width: 100%;
    justify-content: center;
  }

  /* mobile: open DOWN */
  .alt-offers-menu {
    top: 100%;
    margin-top: .6rem;
    bottom: auto;
  }
}
.alt-offers {
  position: relative;
  display: inline-block;
}

.alt-offers-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #1f2328;
  background: transparent;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.alt-offers-btn:hover {
  background: #f6f6f6;
}

.alt-offers-btn .arrow {
  display: inline-block;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.alt-offers.open .arrow {
  transform: rotate(-90deg);
}
.alt-offers-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
  z-index: 20;
}

.alt-offers.open .alt-offers-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.alt-offers-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  transition: background .15s ease;
}

.alt-offers-menu a:hover {
  background: #f3f3f3;
}

.alt-offers-menu span {
  opacity: .6;
  font-size: 13px;
}
.book-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {

  .book-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-offer {
    width: 100%;
    text-align: center;
  }

  .alt-offers {
    width: 100%;
  }

  .alt-offers-btn {
    width: 100%;
    justify-content: center;
  }

  .alt-offers-menu {
    position: static;
    margin-top: 8px;
    min-width: 100%;
    transform: none;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
  }
}
.align-center {text-align:center;}
@media (max-width: 768px) {

  /* container form */
  .search-form,
  form[action*="/search"] {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* input */
  form[action*="/search"] input[type="search"],
  form[action*="/search"] input[type="text"] {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    padding: 0 18px;
  }

  /* button */
  form[action*="/search"] button {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
  }

}
@media (max-width: 768px) {

  .search-header .search-input {
    height: 52px !important;
    min-height: 52px;
    line-height: 52px !important;
    font-size: 16px;
  }

}
/* =========================
   SIMILAR BOOKS – GRID
   ========================= */

.similars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.col-similar {
  width: 100%;
}
/* =========================
   SIMILAR BOOK CARD
   ========================= */

/* .similar-book-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}*/

.similar-book-card:hover {
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.similar-book-card:hover {
  transform: translateY(-4px);
}
.category-book-random {    padding: 0 6px;}

.similar-book-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.similar-book-cover {
  position: relative;
  aspect-ratio: 3 / 4.5;

  display: flex;
  align-items: center;
  justify-content: center;
}

.similar-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    webkit-box-shadow: 9px 10px 5px 0 rgb(92 92 92 / 20%);
    -moz-box-shadow: 9px 10px 5px 0 rgba(92,92,92,.2);
    box-shadow: 9px 10px 5px 0 rgb(92 92 92 / 20%);
    border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    -ms-border-radius: 0 10px 10px 0;
    -webkit-border-radius: 0 10px 10px 0;
}

.similar-book-author {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.92);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.similar-book-meta {
 padding: 12px 0px;
    margin-top: 14px;
}

.similar-book-title {
  font-size: 14px;
  font-weight:600;
  line-height: 1.35;
  margin: 0;
      display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 1200px) {
  .similars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .similars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .similars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .similar-book-title {
    font-size: 14px;
  }
}
/* ===============================
   SUBCATEGORIES – SIDEBAR
   =============================== */

.subcategory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.subcategory-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  padding: 10px 12px;
  border-radius: 10px;

  text-decoration: none;
  color: var(--text-main);

  background: #fff;
  transition: background .15s ease, border-color .15s ease;
}

.subcategory-item a:hover {
  background: #efefef;
  border-color: var(--border);
}

.subcategory-name {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
}

.subcategory-count {
  font-size: .85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* hidden items (initial state) */
.subcategory-item.is-hidden {
  display: none;
}

/* toggle button */
.subcategory-toggle {
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;

  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: 10px;

  font-size: .9rem;
  font-weight: 500;
  color: var(--accent);

  cursor: pointer;
  transition: background .15s ease;
}

.subcategory-toggle:hover {
  background: #ffffff;
  border-color: var(--text-muted);
}

/* ===============================
   EXPANDED STATE
   =============================== */

.subcategory-list.is-expanded .subcategory-item.is-hidden {
  display: list-item;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 767px) {
  .subcategory-item a {
    padding: 12px 14px;
  }

  .subcategory-name {
    font-size: .95rem;
  }

  .subcategory-count {
    font-size: .8rem;
  }
}
/* ===============================
   CATEGORY PAGINATION BAR
================================ */

.category-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0.5rem;
  margin-top: 3rem;
  border-radius: 16px;
  background: #fff;
/*  box-shadow: 0 10px 30px rgba(0,0,0,.04);*/
border-top: 1px solid #ddd;
    border-radius: 0;
    border-bottom: 1px solid #ddd;
}

/* LEFT */
.pagination-info {
  font-size: .95rem;
  color: #4b5563;
}

/* RIGHT */
.pagination-nav .pagination {
  display: flex;
  gap: .35rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-number,
.page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: #1f2937;
  transition: all .15s ease;
}

.page-number:hover,
.page-arrow:hover {
  background: #f1f5f9;
}

.page-number.is-active {
  background: #dbeafe;
  color: #1e3a8a;
  cursor: default;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  .category-pagination-bar {
    flex-direction: column;
    gap: .75rem;
    text-align: center;
  }

  .pagination-info {
    font-size: .9rem;
  }

  .pagination-nav .pagination {
    justify-content: center;
  }
}
/* =====================================================
   ALT OFFERS – PAGE BOOK ONLY
   ===================================================== */

.page-book .alt-offers {
  position: relative;
  width: 100%;
  margin-bottom: .5rem;
}

/* Buton */
.page-book .alt-offers-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: .65rem .9rem;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

/* Sageata */
.page-book .alt-offers-btn .arrow {
  font-size: 1.15rem;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.page-book .alt-offers.open .arrow {
  transform: rotate(-90deg);
}

/* Dropdown – DESCHIS IN SUS */
.page-book .alt-offers-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  overflow: hidden;
  display: none;
  z-index: 1000;
}

.page-book .alt-offers.open .alt-offers-menu {
  display: block;
}

/* Sageata dropdown spre buton */
.page-book .alt-offers-menu::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: rotate(-45deg);
}

/* Link-uri */
.page-book .alt-offers-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem .95rem;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  color: #111827;
      border-bottom: 1px solid var(--border-main);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.page-book .alt-offers-menu a:hover {
  background: #f9fafb;
}

.page-book .alt-offers-menu span {
  opacity: .6;
}
.page-book .book-sidebar .img-fluid {
	width: 100%;
    height: 384px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 20px;
}

/* ================= MOBILE – PAGE BOOK ================= */

@media (max-width: 991px) {

  .page-book .alt-offers-menu {
    top: calc(100% + 8px);
    bottom: auto;
    left: 0;
    right: 0;
    min-width: auto;
    border-radius: 12px;
  }

  .page-book .alt-offers-menu::before {
    display: none;
  }
}
.page-book .alt-offers-btn {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 0 22px;
}
.page-book .alt-offers-btn .arrow {
  opacity: 0.8;
  font-size: 1.1rem;
  margin-left: 8px;
}
@media (max-width: 768px) {
  .page-book .alt-offers-btn {
    height: 50px;
    font-size: 16px;
  }
}
.page-book .alt-offers-btn:hover {
  background: #f9fafb;            /* very light gray */
  border-color: #bfc5ce;
}

.page-book .alt-offers-btn .arrow {
  transition: transform .2s ease;
}
/* =========================================================
   POPULARE PAGE (page-populare) – premium layout
   ========================================================= */

.page-populare .popular-header {
  margin-bottom: 1.5rem;
}

.page-populare .popular-hero {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--block-paper), #fff 70%);
}

.page-populare .popular-title {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 8px 0;
}

.page-populare .popular-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.page-populare .popular-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-populare .popular-count {
  font-weight: 700;
  color: var(--brand);
}

.page-populare .popular-switch {
  display: flex;
  gap: 8px;
}

.page-populare .popular-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand);
  text-decoration: none;
}

.page-populare .popular-pill.is-active {
  background: var(--block-warm);
  border-color: rgba(196,106,43,.25);
  color: var(--accent);
}

.page-populare .popular-hero-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.page-populare .popular-hero-card-title {
  font-weight: 800;
  margin-bottom: 8px;
}

.page-populare .popular-hero-card-text {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: .95rem;
}

.page-populare .popular-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
  align-items: start;
}

.page-populare .popular-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.page-populare .popular-book-card {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}

.page-populare .popular-book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.page-populare .popular-book-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page-populare .popular-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: .85rem;
}

.page-populare .popular-cover {
  aspect-ratio: 3 / 4;
  background: #f4f1ec;
}

.page-populare .popular-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-populare .popular-meta {
  padding: 12px;
}

.page-populare .popular-cat {
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.page-populare .popular-name {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px 0;
}

.page-populare .popular-author {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 8px;
}

.page-populare .popular-stats {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.page-populare .popular-cta-text {
  font-weight: 700;
  color: var(--brand);
}

.page-populare .popular-pagination-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
}

.page-populare .pagination-info {
  color: var(--text-muted);
  font-weight: 600;
}

.page-populare .pagination-nav {
  display: flex;
  gap: 10px;
}

.page-populare .page-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--brand);
  background: #fff;
}

.page-populare .page-arrow:hover {
  background: var(--block-paper);
}

.page-populare .page-arrow.is-disabled {
  opacity: .4;
  pointer-events: none;
}

.page-populare .popular-sidebar .sidebar-box {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  margin-bottom: 12px;
}

.page-populare .popular-sidebar .sidebar-section-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.page-populare .popular-sidebar .sidebar-text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* responsive */
@media (max-width: 1200px) {
  .page-populare .popular-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .page-populare .popular-hero { grid-template-columns: 1fr; }
  .page-populare .popular-layout { grid-template-columns: 1fr; }
  .page-populare .popular-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .page-populare .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .page-populare .popular-pagination-bar { flex-direction: column; gap: 10px; }
}
/* ================= POPULARE – EDITORIAL GRID ================= */

.page-populare .popular-header {
  margin-bottom: 2rem;
}

.page-populare .popular-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: .3rem;
}

.page-populare .popular-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.page-populare .popular-switch {
  display: flex;
  gap: 10px;
}

.page-populare .popular-pill {
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.page-populare .popular-pill.is-active {
  background: var(--block-warm);
  border-color: rgba(196,106,43,.3);
  color: var(--accent);
}

/* GRID */
.page-populare .popular-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}

/* CARD */
.page-populare .popular-card {
  position: relative;
}

.page-populare .popular-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-populare .popular-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: .8rem;
  z-index: 2;
}

.page-populare .popular-cover {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
  margin-bottom: .6rem;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.page-populare .popular-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-populare .popular-category {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .25rem;
}

.page-populare .popular-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .2rem;
}

.page-populare .popular-author {
  font-size: .9rem;
  color: var(--text-muted);
}

/* PAGINATION */
.page-populare .popular-pagination {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.page-populare .popular-pagination a {
  text-decoration: none;
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .page-populare .popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-populare .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .page-populare .popular-grid {
    grid-template-columns: 1fr;
  }
}
.page-noutati .noutati-hero {
  background:
    linear-gradient(180deg, rgba(196,106,43,.08), transparent 65%),
    #fff;
  border-bottom: 1px solid var(--border-soft);
  padding: 3.5rem 0 3rem;
}

.page-noutati .noutati-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
}

.page-noutati .noutati-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.page-noutati .noutati-title {
     font-size: 36px;
    font-weight: 700;
    margin-bottom: .8rem;
    line-height: 1.2;
}

.page-noutati .noutati-lead {
  font-size: 16px;
  margin-bottom:1.5rem;
}

.page-promotii .promotii-section-head .promotii-h2, .page-noutati .noutati-featured .noutati-h2, .page-noutati .noutati-stream .noutati-h2, .page-author .author-section-head .section-title {
	font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 10px;
}

.page-noutati .noutati-featured p, .page-noutati .noutati-stream p,.page-promotii .promotii-section-head .promotii-muted {
	font-size: 16px;
}

.btn-outline-primary {
	color: var(--accent);
    border-color: var(--accent);
}
.btn-outline-primary:hover {
	background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.page-noutati .noutati-actions {
  display: flex;
  gap: .75rem;
  margin: 1.4rem 0 1.6rem;
}

.page-noutati .noutati-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.page-noutati .noutati-chip {
  font-size: .8rem;
  padding: .4rem .95rem;
  border-radius: 999px;
  background: rgba(196,106,43,.12);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.page-noutati .noutati-chip:hover {
  background: rgba(196,106,43,.18);
}
.page-noutati .noutati-info {
  background: var(--block-paper);
  border-radius: 18px;
  padding: 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.page-noutati .noutati-info-row {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .75rem 0;
}

.page-noutati .noutati-info-row i {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: .15rem;
}

.page-noutati .noutati-info-title {
  font-weight: 700;
  font-size: .9rem;
}

.page-noutati .noutati-info-text {
  font-size: .85rem;
  color: var(--text-muted);
}
.page-noutati .noutati-featured {
  margin: 3rem 0 3.5rem;
}

.page-noutati .noutati-featured-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.page-noutati .featured-cover {
  position: relative;
  background: #f3f4f6;
}

.page-noutati .featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-noutati .featured-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: rgba(196,106,43,.95);
  color: #fff;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.page-noutati .featured-meta {
  padding: 1.6rem 1.8rem;
}

.page-noutati .featured-cat {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  font-weight: 700;
}

.page-noutati .featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: .35rem 0 .4rem;
}

.page-noutati .featured-author {
  color: var(--text-muted);
  margin-bottom: .8rem;
}

.page-noutati .featured-hint {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 520px;
}

.page-noutati .featured-cta {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--accent);
}
.page-noutati .noutati-discovery {
  margin: 2.5rem 0 3rem;
}

.page-noutati .discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.page-noutati .discovery-box {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.page-noutati .discovery-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.page-noutati .discovery-ic {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: .4rem;
}

.page-noutati .discovery-t {
  font-weight: 700;
}

.page-noutati .discovery-d {
  font-size: .85rem;
  color: var(--text-muted);
}
.page-noutati .noutati-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.page-noutati .noutati-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.page-noutati .noutati-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-noutati .noutati-card-cover {
  background: #f3f4f6;
  aspect-ratio: 2 / 3;
}

.page-noutati .noutati-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-noutati .noutati-card-meta {
  padding: .9rem .9rem 1.1rem;
}

.page-noutati .noutati-card-cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  font-weight: 700;
}

.page-noutati .noutati-card-title {
  font-size: .95rem;
  font-weight: 700;
  margin: .25rem 0 .25rem;
}

.page-noutati .noutati-card-author {
  font-size: .8rem;
  color: var(--text-muted);
}
.page-noutati .noutati-banner {
  grid-column: span 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(196,106,43,.15), rgba(196,106,43,.05));
  border-radius: 22px;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-sm);
}

.page-noutati .banner-kicker {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  font-weight: 700;
}

.page-noutati .banner-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.page-noutati .banner-text {
  color: var(--text-muted);
}
.page-noutati .noutati-footer {
  margin: 3rem 0 2rem;
}

.page-noutati .noutati-footer-box {
  background: var(--block-paper);
  border-radius: 18px;
  padding: 1.5rem;
}

.page-noutati .footer-title {
  font-weight: 800;
  margin-bottom: .4rem;
}

.page-noutati .footer-text {
  color: var(--text-muted);
}
.navbar-toggler:focus {box-shadow:none;}
@media (max-width: 1200px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-noutati .noutati-banner {
    grid-column: span 4;
  }
}

@media (max-width: 991px) {
  .page-noutati .noutati-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-noutati .discovery-grid {
    grid-template-columns: 1fr;
  }

  .page-noutati .noutati-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-noutati .noutati-banner {
    grid-column: span 2;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .page-noutati .noutati-grid {
    grid-template-columns: 1fr;
  }

  .page-noutati .noutati-banner {
    grid-column: span 2;
  }

  .page-noutati .noutati-title {
    font-size: 26px;
  }
}
.page-noutati .noutati-hero {
  background:
    linear-gradient(
      180deg,
      rgba(210, 110, 40, 0.08),
      rgba(210, 110, 40, 0.02)
    );
  border-bottom: 1px solid #f5f5f4;
      padding-left: 20px;
    padding-right: 20px;
}

.page-noutati .noutati-hero-inner {
  align-items: center;
}

.page-noutati .noutati-eyebrow {
  color: var(--accent-span);
  font-weight: 600;
  letter-spacing: .04em;
}
.page-noutati .noutati-actions .btn-outline-primary {
  border-color: var(--accent);
    color: var(--accent);
}

.page-noutati .noutati-actions .btn-outline-primary:hover {
  background: var(--block-paper);
}
.page-noutati .noutati-info {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  border: 1px solid #f1e6db;
}

.page-noutati .noutati-info-row i {
  color: var(--brand-soft);
}
.page-noutati .noutati-featured {
  margin-bottom: 64px;
}

.page-noutati .noutati-featured .featured-link {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .page-noutati .noutati-featured .featured-link {
    grid-template-columns: 1fr;
  }
}
.page-noutati .noutati-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

@media (max-width: 1200px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-noutati .noutati-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

@media (max-width: 1200px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .page-noutati .noutati-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-noutati .noutati-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1e6db;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-noutati .noutati-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.page-noutati .noutati-card-cover img {
  transition: transform .25s ease;
}

.page-noutati .noutati-card:hover img {
  transform: scale(1.04);
}
.page-noutati .noutati-card-cat {
  color: #d26e28;
  font-weight: 600;
  font-size: .75rem;
  margin-bottom: 6px;
}

.page-noutati .noutati-card-title {
  line-height: 1.3;
      min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
	    font-weight: 600;
}

.page-noutati .noutati-card-title:hover {
  text-decoration: underline;
}
.page-noutati .noutati-banner {
  background:
    linear-gradient(
      135deg,
      rgba(210,110,40,.12),
      rgba(210,110,40,.04)
    );
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #f1e6db;
}

.page-noutati .banner-kicker {
  color: #d26e28;
  font-weight: 600;
}
.page-noutati .noutati-chip {
  background: #fff;
  border: 1px solid #f1e6db;
  transition: background .15s ease, color .15s ease;
}

.page-noutati .noutati-chip:hover {
  background: var(--accent-hover);
  color: #fff;
}
/* =====================================================
   PAGE: POPULARE (Cele mai citite)
   Scope: .page-populare
   ===================================================== */



/* ================= HERO ================= */

.page-populare .populare-hero {
 background: linear-gradient(180deg, #f4f7fb 0%, #fafafa 70%);
    border-bottom: 1px solid #f6f3f3;
    padding: 2.5rem 1.5rem;
    margin-bottom: 3rem;
}

.page-populare .populare-eyebrow {
  display: inline-block;
  margin-bottom: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-span); /* accent */
}

.page-populare .populare-hero h1 {
  font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-populare .populare-hero p {
     font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* ================= TOP 5 ================= */


/* Badge rank */
.page-populare .top-rank {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  font-size: .9rem;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* ================= TOP CATEGORIES ================= */

.page-populare .populare-categories {
  margin-bottom: 4rem;
}

.page-populare .populare-categories h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-populare .category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.page-populare .category-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}

.page-populare .category-pill span {
  color: #6b7280;
  font-size: .85rem;
}

.page-populare .category-pill:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* ================= REST GRID ================= */

.page-populare .populare-rest {
  margin-top: 2rem;
}

.page-populare .populare-rest h2 {
  font-size: 26px;
    font-weight: 600;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-main);
    padding-bottom: 10px;
}

/* cardurile existente se vor afisa in grid-ul deja definit */
.page-populare .category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

/* ================= INTERACTIUNI ================= */

.page-populare a {
  transition: color .15s ease, background .15s ease, transform .15s ease;
}

.page-populare .top5-item:hover {
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
  .page-populare .top5-grid,
  .page-populare .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .page-populare .top5-grid,
  .page-populare .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-populare .populare-hero {
    padding: 3rem 0 2rem;
	margin-top:-1.5rem;
  }
}

@media (max-width: 576px) {
      .page-populare .top5-grid, .page-populare .category-grid {
        grid-template-columns: repeat(2, 1fr); gap:1.5rem 1rem;
    }

  .page-populare .populare-hero h1 {
    font-size: 26px;
  }
  

  .page-populare .populare-hero p {
    font-size: 14px;
  }

  .page-populare .top-rank {
    top: -8px;
    left: -8px;
    width: 34px;
    height: 34px;
    font-size: .85rem;
  }
}
.read-more-toggle {
  display: none;
}


/* ============================= */
/* TOP 5 – SECTION */
/* ============================= */

.populare-top5 {
  margin-bottom: 48px;
}

.populare-top5 h2 {
  font-size: 26px;
    font-weight: 600;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-main);
    padding-bottom: 10px;
}


/* ============================= */
/* GRID */
/* ============================= */

.top5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.top5-item {
  position: relative;
}


/* ============================= */
/* CARD */
/* ============================= */

.top5-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.top5-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.top5-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}


/* ============================= */
/* COVER */
/* ============================= */

.top5-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f8f8f8;
}

.top5-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.top5-card:hover .top5-cover img {
  transform: scale(1.05);
}


/* ============================= */
/* RANK BADGE */
/* ============================= */

.top5-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #c46a2b, #e58a44);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(196,106,43,0.3);
}


/* ============================= */
/* META */
/* ============================= */

.top5-meta {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.top5-cat {
  font-size: 12px;
  font-weight: 600;
  color: #c46a2b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top5-meta h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top5-author {
  font-size: 13px;
  color: #777;
  margin-top: auto;
}


/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 992px) {
  .top5-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .top5-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .populare-top5 h2 {
    font-size: 20px;
        border-bottom: 1px solid var(--border-soft);
        padding-bottom: 10px;
  }

  .top5-meta h3 {
    font-size: 14px;
  }

  .top5-author {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .top5-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .top5-cover {
    aspect-ratio: 2.8 / 4;
  }
}


/* ================= POPULAR CATEGORIES ================= */

.popular-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}

.popular-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.popular-category:hover {
  border-color: #f97316;
  box-shadow: 0 8px 24px rgba(249,115,22,.15);
  transform: translateY(-1px);
}

.popular-category-name {
  white-space: nowrap;
}

.popular-category-count {
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
}
.popular-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
/* ================= PROMOTII PAGE ================= */

.page-promotii {
  background: #fff;
}

.promotii-hero {
  background: linear-gradient(180deg,#fff7ed,#ffffff);
  padding: 3rem 0;
}

.promotii-eyebrow {
  font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--accent-span);
}

.promotii-title {
  font-size: 2.4rem;
  margin: .4rem 0;
}

.promotii-lead {
  max-width: 520px;
  color: #475569;
}

.promotii-actions {
  display: flex;
  gap: .6rem;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* FEATURED */

.promo-featured-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

.page-promotii .promo-featured-meta h3 {margin-top:10px;font-size: 15px;display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;}
.page-promotii  .promotii-body {margin-top: 30px;}
.page-promotii .promotii-section-head {margin-bottom:20px;}

.promo-featured-card img {
  width: 100%;
  border-radius: 12px;
}

.promo-prices {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .6rem;
}

.promo-old {
  text-decoration: line-through;
  color: #94a3b8;
}

.promo-new {
  font-weight: 700;
  color: #ea580c;
}

.promo-badge {
  background: #ea580c;
  color: #fff;
  font-size: .75rem;
  padding: .2rem .5rem;
  border-radius: 6px;
}

.promo-badge.subtle {
  background: #fde68a;
  color: #92400e;
}

/* GRID */

.promotii-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 1.5rem;
}

.promo-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: transform .2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
}

.promo-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: .6rem;
}

.promotii-note {
  margin: 3rem 0;
  font-size: .85rem;
  color: #64748b;
}
/* ================= PROMOTII – HERO CU OFERTA ================= */

.promotii-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 3rem;
  align-items: center;
}

/* container oferta */
.promotii-hero-offer {
  display: flex;
  justify-content: flex-end;
}

/* featured card in hero */
.promotii-hero-offer .promo-featured-card {
  max-width: 360px;
  padding: 1.6rem;
  background: linear-gradient(180deg,#fff,#fff7ed);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

/* badge “Oferta zilei” */
.promotii-hero-offer .promo-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ea580c;
  color: #fff;
  font-size: .75rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 700;
}

/* CTA mai clar */
.promotii-hero-offer .promo-cta {
  margin-top: .9rem;
  font-weight: 700;
  color: #ea580c;
}

/* MOBILE */
@media (max-width: 900px) {
  .promotii-hero-inner {
    grid-template-columns: 1fr;
  }

  .promotii-hero-offer {
    justify-content: center;
    margin-top: 1.5rem;
  }
}
/* =========================
   PROMOTII – HERO FIX
   ========================= */

.page-promotii .promotii-hero {
  background: #fff7ed;
  padding:2.5rem 1.5rem;
}

.page-promotii .promotii-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* LEFT TEXT */
.page-promotii .promotii-title {
     font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.page-promotii .promotii-lead {
  max-width: 580px;
  color: inherit;
      font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* ACTION BUTTONS – BRAND SAFE */
.page-promotii .promotii-actions .btn {
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-weight: 600;
}

.page-promotii .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.page-promotii .promotii-trust {margin-top:20px;font-size:14px;}
.page-promotii .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.page-promotii .btn-outline-primary {
  border-color:  var(--accent);
  color:  var(--accent);
}

.page-promotii .btn-outline-primary:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* =========================
   OFERTA ZILEI – CARD FIX
   ========================= */

.page-promotii .promotii-hero-offer {
  display: flex;
  justify-content: center;
}

/* container */
.page-promotii .promo-featured-card {
  max-width: 320px;
  border-radius: 18px;
  padding: 1.1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

/* cover */
.page-promotii .promo-featured-cover img {
  height: 220px;
  object-fit: contain;
}

/* title */
.page-promotii .promo-featured-title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: .6rem 0 .2rem;
  font-weight: 600;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* author */
.page-promotii .promo-featured-author {
  font-size: .9rem;
  color: #6b7280;
}

/* price area */
.page-promotii .promo-price {
  margin-top: .6rem;
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.page-promotii .promo-price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ea580c;
}

.page-promotii .promo-price-old {
  font-size: .9rem;
  color: #9ca3af;
  text-decoration: line-through;
}

/* CTA */
.page-promotii .promo-cta {
  margin-top: .7rem;
}

.page-promotii .promo-cta a {
  display: inline-block;
  font-weight: 600;
  color: #ea580c;
}

.page-promotii .promo-cta a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
  .page-promotii .promotii-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-promotii .promotii-hero-offer {
    justify-content: flex-start;
  }
}
/* ===== PROMOTII – CARD ===== */

.promo-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.promo-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}
.promo-card img {
  width: 100%;
  height: 220px;                 /* FIX */
  object-fit: cover;             /* TAIE elegant */
  border-radius: 10px;
  background: #f2f2f2;           /* fallback pt imagini mici */
  filter: saturate(.95) contrast(1.02);
}
.promo-card h3 {
  font-size: .95rem;       /* mult mai mic */
  line-height: 1.35;
  font-weight: 600;
  margin: 10px 0 4px;
  color: #1f2937;

  display: -webkit-box;
  -webkit-line-clamp: 2;   /* MAX 2 RANDURI */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-author {
  font-size: .82rem;
  color: #6b7280;
  margin-bottom: 8px;
}
.promo-prices {
  margin-top: auto; /* impinge jos */
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.promo-old {
  font-size: .8rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.promo-new {
  font-size: .95rem;
  font-weight: 700;
  color: #f97316; /* brand */
}
.promo-card:has(.promo-old)::before {
  content: "Reducere";
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f97316;
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .promo-card img {
    height: 200px;
  }

  .promo-card h3 {
    font-size: .9rem;
  }
}
/* =========================
   PAGE AUTOR (sidebar stanga)
   Scope: .page-autor
   ========================= */

.page-autor {
  padding: 1.25rem 0 3rem;
  padding-top:0px;
}

.page-autor .author-breadcrumbs span {
  margin: 0 .35rem;
  color: #9ca3af;
}

/* Hero */
.page-autor .author-hero {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
}

.page-autor .author-hero-inner {
 display: grid;
  grid-template-columns: 120px 1fr 260px;
  gap: 32px;
  align-items: start;
}

.page-autor .author-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5rem;
}

.page-autor .author-bio {
  color: var(--text-muted);
  margin: 0 0 .8rem;
  max-width: 780px;
}

.page-autor .author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .9rem;
}

.page-autor .author-hero-card {
  background: var(--block-paper);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1rem;
}

.page-autor .author-hero-card-title {
  font-weight: 800;
  margin-bottom: .5rem;
}

.page-autor .author-hero-card-links a {
  display: block;
  padding: .35rem 0;
  color: var(--brand);
  text-decoration: none;
}

.page-autor .author-hero-card-links a:hover {
  color: var(--accent);
}

/* Layout */
.page-autor .author-layout {
  display: grid;
  grid-template-columns: 320px 1fr; /* sidebar stanga */
  gap: 1.6rem;
  align-items: start;
}

/* Sidebar */
.page-autor .author-sidebar {
  position: sticky;
  top: 16px;
}

.page-autor .sidebar-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.page-autor .sidebar-title {
  font-weight: 800;
  margin-bottom: .6rem;
}

.page-autor .sidebar-empty {
  color: var(--text-muted);
  font-size: .9rem;
}

.page-autor .author-similar-list,
.page-autor .author-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-autor .author-similar-item a,
.page-autor .author-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .55rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--brand);
  background: transparent;
  transition: background .15s ease;
}

.page-autor .author-similar-item a:hover,
.page-autor .author-cat-list li a:hover {
  background: rgba(196,106,43,.08);
  color: var(--accent);
}

.page-autor .author-cat-list .count {
  color: var(--text-muted);
  font-size: .85rem;
}

/* Content */
.page-autor .author-section-head {
  margin-bottom: 1.5rem;
}

.page-autor .author-books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  column-gap: 26px;
}

.page-autor .author-pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
}

.page-autor .page-btn {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--brand);
  background: #fff;
}

.page-autor .page-btn:hover {
  background: var(--block-paper);
}
.page-author .author-section-head .section-title {margin-bottom:5px;}
.page-author .author-section-head .section-muted {font-size:14px;}

/* Responsive */
@media (max-width: 1200px) {
  .page-autor .author-books-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .page-autor .author-layout { grid-template-columns: 1fr; }
  .page-autor .author-sidebar { position: static; }
  .page-autor .author-hero-inner { grid-template-columns: 1fr; }
  .page-autor .author-books-grid { grid-template-columns: repeat(2, 1fr); }
}

.book-authors {
  margin-top: .25rem;
  margin-bottom: .6rem;
  font-size: .95rem;
  color: #6b7280;
}

.book-author-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.book-author-link:hover, .page-book .rating-meta a:hover{text-decoration:underline;}
.author-bio-wrap {
  margin-top: 12px;
}
.book-intro-more a:hover {padding-left:6px;transition: padding 0.2s ease;}

.author-bio {
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
/* collapsed state */
.author-bio-wrap.is-collapsed .author-bio {
  max-height: 8.2em; /* ~5 randuri */
  overflow: hidden;
  position: relative;
}

/* fade effect */
.author-bio-wrap.is-collapsed .author-bio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* toggle button */
.author-bio-toggle {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.author-bio-toggle:hover {
  text-decoration: underline;
}
.author-photo {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #f1f5f9;
}
.author-photo img {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.author-hero-media {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* poza */
.author-photo {
  flex: 0 0 120px;
}

.author-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  background: #f1f5f9;
}

/* zona text */
.author-hero-media > *:not(.author-photo) {
  flex: 1;
}
@media (max-width: 640px) {
  .author-hero-media {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-photo {
    margin-bottom: 8px;
  }
}
.author-hero-inner {
  display: grid;
  grid-template-columns: 120px 1fr 260px;
  gap: 32px;
  align-items: start;
}
.author-hero-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  background: #f1f5f9;
}
.author-hero-content {
  max-width: 760px;
}

.author-title {
  margin: 0 0 12px;
}

.author-meta {
  margin-top: 16px;
  font-size: 14px;
  color: #64748b;
}
.author-hero-aside {
  position: relative;
}

.author-hero-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
}

.author-hero-card-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.author-hero-card-links a {
  display: block;
  font-size: 14px;
}
@media (max-width: 900px) {
  .author-hero-inner {
    grid-template-columns: 1fr;
  }

  .author-hero-photo {
    margin-bottom: 0px;
  }

  .author-hero-aside {
    margin-top: 24px;
  }
}
.author-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    #f1f5f9,
    #e5e7eb
  );
}



/* custom mobile, do not delete*/
@media (max-width: 900px) {
.page-home .home-hero {
	padding:1.4rem 1.4rem;
}
.page-home .home-hero h1 {
	font-size:26px;
	font-weight:700;
	line-height:1.25;
}
.page-home .hero-search {
	width:100%;
}
.page-home .hero-search form[action*="/search"] button {
	width: 16%;
}
.page-home .hero-search button {
	right:0px;
}
}
@media (max-width: 768px) {
.page-home .hero-search form[action*="/search"] button,.page-home .hero-search button {
	width: 18%!important;
	height: 88%;
}
.home-hero::after {
	content: none;
}
.page-home .home-hero .sml-txt-h {
	font-size:12px;
}
.page-home .trust-strip .trust-item {
	padding: .75rem 0.5rem;
}
.page-home .trust-strip .border-end, .page-home .trust-strip .border-start{
	border: none!important;
}
}
/* ================= RATING STARS ================= */

.rating-stars {
  margin-top: 4px;
}

.rating-stars .stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  font-size: 28px;
  line-height: 1;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  color: #ddd;
  cursor: pointer;
  transition: color .2s ease;
}

/* Hover */
.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: var(--accent);
}

/* Selected */
.rating-stars input:checked ~ label {
  color: var(--accent);
}
/* Category sidebar authors */

.author-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.author-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.author-item:last-child {
  border-bottom: none;
}

.author-item a {
  text-decoration: none;
  color: #1f2937;
  font-size: 15px;
}

.author-item a:hover {
  color: var(--accent-hover);
}

.author-count {
  font-size: 12px;
  color: #6b7280;
}
/* =====================================
   EDITURA PAGE
   Scope: .page-editura
===================================== */

.page-editura {
  margin-bottom: 4rem;
}


/* ================= HERO ================= */

.page-editura .editura-hero {
  background: #fafafa;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}

.page-editura .author-hero-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: start;
}

.page-editura .author-hero-main {
  max-width: 720px;
}

.page-editura .author-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #111;
}

.page-editura .author-bio {
  font-size: 1rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 1.2rem;
}

.page-editura .author-meta {
  font-size: .95rem;
  color: #777;
}

.page-editura .author-meta strong {
  color: #111;
}


/* ================= HERO CARD ================= */

.page-editura .author-hero-aside {
  width: 100%;
}

.page-editura .author-hero-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,.03);
}

.page-editura .author-hero-card-title {
  font-weight: 600;
  margin-bottom: .7rem;
  font-size: .95rem;
}

.page-editura .author-hero-card-links a {
  display: block;
  font-size: .9rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: .3rem;
}

.page-editura .author-hero-card-links a:hover {
  text-decoration: underline;
}


/* ================= MAIN LAYOUT ================= */

.page-editura .author-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}


/* ================= SIDEBAR ================= */

.page-editura .author-sidebar {
  width: 100%;
}

.page-editura .sidebar-box {
  background: #fafafa;
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.page-editura .sidebar-section-title {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .8rem;
  color: #444;
}

.page-editura .sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-editura .sidebar-list li {
  font-size: .9rem;
  color: #777;
}


/* ================= CONTENT ================= */

.page-editura .author-content {
  width: 100%;
}

.page-editura .author-section-head {
  margin-bottom: 1.8rem;
}

.page-editura .section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.page-editura .section-muted {
  font-size: .9rem;
  color: #777;
}


/* ================= BOOK GRID ================= */

.page-editura .author-books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  column-gap: 26px;
}

.page-editura .author-book-item {
  height: 100%;
}


/* ================= EMPTY ================= */

.page-editura .alert {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}


/* ================= PAGINATION ================= */

.page-editura .author-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.page-editura .author-pagination-info {
  font-size: .9rem;
  color: #666;
}

.page-editura .author-pagination-nav {
  display: flex;
  gap: .4rem;
}

.page-editura .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: #f3f4f6;
  border-radius: 6px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: .2s;
}

.page-editura .page-btn:hover {
  background: #e5e7eb;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .page-editura .author-hero-inner {
    grid-template-columns: 1fr;
  }

 
  .page-editura .author-layout {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .page-editura .editura-hero {
    padding: 1.6rem 1.2rem;
  }

  .page-editura .author-title {
    font-size: 1.6rem;
  }

  .page-editura .author-books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .page-editura .author-pagination {
    flex-direction: column;
    gap: .8rem;
    text-align: center;
  }

}
/* ================================
   EDITURA – SIDEBAR LISTS
================================ */

.page-editura .sidebar-box {
  background: #fafafa;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
}

/* Titlu sectiune */

.page-editura .sidebar-section-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 14px;
}

/* Lista generala */

.page-editura .sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Item */

.page-editura .sidebar-list li {
  margin: 0;
}

/* Link */

.page-editura .sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #fff;
  border-radius: 12px;

  padding: 10px 14px;

  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;

  box-shadow: 0 1px 3px rgba(0,0,0,.04);

  transition: all .2s ease;
}

/* Hover */

.page-editura .sidebar-list a:hover {
  background: #f3f6ff;
  color: #0d6efd;
  transform: translateX(2px);
}

/* Nume categorie / autor */

.page-editura .sidebar-list .item-name {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Counter */

.page-editura .sidebar-list .item-count {
  font-size: 13px;
  color: #6c757d;
  font-weight: 600;
  margin-left: 10px;
}

/* Placeholder */

.page-editura .sidebar-list span {
  display: block;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  font-size: 14px;
  color: #999;
  text-align: center;
}

/* Mobile spacing */

@media (max-width: 768px) {

  .page-editura .sidebar-box {
    padding: 14px;
  }

  .page-editura .sidebar-list a {
    font-size: 13px;
    padding: 8px 12px;
  }

}
/* ===============================
   EDITURA LOGO (HERO)
================================ */

.page-editura .editura-hero-logo {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  border: 1px solid #e5e7eb;

  overflow: hidden;
}

/* imagine logo */

.page-editura .editura-hero-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

/* fallback initials */

.page-editura .editura-hero-logo.is-placeholder {
  font-weight: 800;
  font-size: 28px;
  color: var(--brand-soft);
  background: linear-gradient(135deg,#f8fafc,#eef2ff);
  text-transform: uppercase;
}

/* responsive */

@media (max-width: 768px) {

  .page-editura .editura-hero-logo {
    width: 100%;
    height: 80px;
    font-size: 22px;
  }

}
/* ===============================
   EDITURA HERO LAYOUT FIX
================================ */

.page-editura .editura-hero {
  padding: 40px 0 30px;
}

.page-editura .editura-hero .author-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  align-items: flex-start;
  gap: 32px;

  width: 100%;
  box-sizing: border-box;
}

/* logo */

.page-editura .editura-hero-logo {
  flex-shrink: 0;
}

/* main content */

.page-editura .author-hero-main {
  flex: 1;
  min-width: 0;
}

/* aside */

.page-editura .author-hero-aside {
  flex: 0 0 220px;
}

/* prevent overflow */

.page-editura .author-title,
.page-editura .author-bio {
  max-width: 100%;
}
@media (max-width: 900px) {

  .page-editura .editura-hero .author-hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .page-editura .author-hero-aside {
    width: 100%;
  }

  .page-editura .editura-hero-logo {
    margin-bottom: 12px;
  }

}
.page-editura .editura-hero {
  background: linear-gradient(180deg,#fafafa,#ffffff);
  border-bottom: 1px solid #eee;
}
.page-edituri-index .index-hero,.page-authors-index .index-hero,.page-categories-index .index-hero  {text-align:center;}
.page-edituri-index .index-search, .page-authors-index .index-search, .page-categories-index .index-search {margin:0 auto;max-width:46%;}
.page-edituri-index .index-hero, .page-authors-index .index-hero, .page-categories-index .index-hero {margin-bottom:42px;}

.index-hero {
  margin-bottom: 30px;
}

.index-search {
	display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.index-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.index-search button {
  padding: 10px 18px;
  border: none;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 20px;
}

.index-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.index-card:hover {
  transform: translateY(-2px);
}

.index-card-name {
  font-weight: 600;
  margin-bottom: 6px;
}

.index-card-meta {
  font-size: 13px;
  color: #666;
}

.index-subtitle {
  margin: 50px 0 20px;
}

.index-top-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.index-top-grid a {
  background: #f5f6f8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.index-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}


/* ===============================
   CATEGORY SIDEBAR MOBILE
   =============================== */

@media (max-width: 768px) {

  /* Container */
  .category-sidebar {
    margin-bottom: 0rem;
  }

  /* Ascundem toate box-urile */
  .category-sidebar .sidebar-box {
    display: none;
  }

  /* DAR păstrăm intro */
  .category-sidebar .sidebar-intro {
    display: block;
  }

  /* Când e expandat */
  .category-sidebar.is-open .sidebar-box {
    display: block;
  }

  /* Stil pentru buton */
  .category-sidebar-toggle {
    display: block;
    width: 100%;
    margin: 1rem 0;
    padding: 10px 14px;

    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
  }

}


/* Desktop: normal */

@media (min-width: 769px) {

  .category-sidebar-toggle {
    display: none;
  }
  .category-seo-text {
  margin-top:2rem;}
  .category-seo-text {font-size:13px;}

}

.category-seo-text {
margin-top:0;
  font-size: 14px;
  color: #555;
}

.category-seo-text p {
  margin-bottom: 0.8rem;
}

.detalii-carte-in {
	display: flex;
    font-size: 14px;
	margin-bottom:10px;
	border-top: 1px solid var(--border-main);
    border-bottom: 1px solid var(--border-main);
    padding-top: 12px;
    padding-bottom: 12px;
}
.detalii-carte-in-cmpl {margin-bottom:3rem;font-size: 13px;
    color: var(--text);}
.detalii {
	    min-width: 148px;
    white-space: nowrap;
}
.detalii-top, .detalii-midle, .detalii-bottom {
	text-align: center;
    font-size: 12px;
    text-wrap: pretty;
}
.detalii-midle span {    font-size: 32px;}
.detalii-bottom {    font-weight: 700;}
.category-seo-text {    background: rgb(171 196 105 / 20%);
    border-radius: 14px;
    padding: 1.4rem 1.4rem;
    margin-bottom: 1.5rem;}

@media (max-width: 768px) {
/* ===============================
   BOOK CARD – MOBILE IMAGE FIX
   =============================== */

.book-card-home .book-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3; /* raport carte (latime / inaltime) */
  overflow: hidden;
  border-radius: 6px;
  background: #f4f4f4;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

/* fallback pt browsere vechi */
@supports not (aspect-ratio: 2 / 3) {
  .book-card-home .book-cover-wrap {
    height: 0;
    padding-top: 150%; /* 3/2 = 150% */
  }
}

.book-card-home .book-cover-wrap a,
.book-card-home .book-cover-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.book-card-home .book-cover-wrap img {
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-home .book-author {
    font-size: .85rem;
    opacity: .8;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.page-home .book-title-home a {font-size:14px;}
.page-home .book-author {font-size: 12.5px;}
.page-home .hero-search input {height:48px;font-size: 14px;}
.page-home .hero-search form[action*="/search"] button, .page-home .hero-search button {width:13%!important;}
.container {--bs-gutter-x: 1.25rem;}
.page-home .book-card-home {border-radius:6px;border: none;}
.page-home .hp-seo-modern {padding:2.5rem 1.5rem;}
form[action*="/search"] input[type="search"], form[action*="/search"] input[type="text"] {font-size:14px;}

.page-category	.author-item a , .page-category .subcategory-name {font-size:14px;}
.page-category .sidebar-list li {font-size: 14px;}
.category-breadcrumbs, .breadcrumbs,.book-breadcrumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 3px;
    padding-bottom: 6px;
  }

  /* Ascunde scrollbar (optional, mai clean) */
  .category-breadcrumbs::-webkit-scrollbar,.breadcrumbs::-webkit-scrollbar .book-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .category-breadcrumbs, .breadcrumbs, .book-breadcrumbs {
    scrollbar-width: none; /* Firefox */
	    padding-bottom: 0px;
    margin-bottom: 12px !important
  }
  
  .similars-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0px;

    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .similars-grid::-webkit-scrollbar {
    display: none; /* ascunde scrollbar pe mobile */
  }

  .col-similar {
           flex: 0 0 44%;
        max-width: 50%;
        scroll-snap-align: start;
        padding-right: 0;
  }

  /* card full height */
  .similar-book-card {
    height: 100%;
  }

  .category-breadcrumbs a,
  .category-breadcrumbs span {
    flex-shrink: 0;
  }
  .category-breadcrumbs a, .breadcrumbs a, .book-breadcrumbs a {font-size: 13px;}
  .category-sidebar p,.page-book .book-intro {font-size: 14px;}
  /* ================================
   Mobile Menu - Quick Links
================================ */

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 16px;
  margin-bottom: 10px;

  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;

  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;

  box-shadow: 0 2px 6px rgba(0,0,0,0.04);

  transition: all 0.2s ease;
}


/* Arrow icon (auto) */
.mobile-link::after {
  content: "›";
  font-size: 22px;
  color: #cbd5e1;
  line-height: 1;
}


/* Hover / Tap */
.mobile-link:active,
.mobile-link:hover {
  background: #fff7ed;
  border-color: #f59e0b;
  color: #c2410c;
}


/* Focus (accessibility) */
.mobile-link:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

  .page-autor .author-hero-card-links a {padding-bottom:0px;color:var(--accent);margin-bottom: 4px;}
  .page-author .author-sidebar,.page-editura .author-sidebar {order:2;}
  .page-author .author-content, .page-editura .author-content {order:1;}
  .page-autor .author-title,.page-editura .author-title {font-size: 26px;font-weight:700;}
  .page-autor .author-bio , .page-author .author-meta, .page-editura .author-bio {font-size: 14px;}
  .page-author .author-section-head .section-muted,.page-book .book-details-table th,.page-book .book-details-table td {font-size: 14px;}
  .page-editura .section-title {font-size:1.2rem;}
  .book-main {margin-top: 0;}
  .page-book .book-rating .rating-meta a {color: var(--accent);}
  .page-book .book-main .book-price {text-align: center;margin: 24px 0;}
  .page-book .book-details-table {    margin-bottom: 58px;}
  .page-book .similar-book-title {    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;}
	.page-noutati .noutati-grid {gap:1.5rem 1rem;}
	    .page-promotii .promotii-hero-offer {
        justify-content: center;
    }
	.page-promotii .promotii-grid {grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;}
	.page-promotii .promo-card {padding:0px;}
	#mobileMenu {border-radius:inherit!important;}
.page-edituri-index .index-hero, .page-authors-index .index-hero, .page-categories-index .index-hero {text-align:center;}

	.offcanvas-header.menup-h {    border-bottom: 1px solid #f7f7f7;
    margin-bottom: 10px;}

}
.table-carte a {color:var(--accent);}
.table-carte a:hover {text-decoration:underline;}

/* =========================================
   ABOUT PAGE 10/10 — FULLY SCOPED
   (Only affects .about-premium subtree)
========================================= */

.about-premium {
  --ap-bg: #ffffff;
  --ap-ink: #0f172a;
  --ap-muted: #475569;
  --ap-border: rgba(15, 23, 42, 0.08);
  --ap-soft: rgba(15, 23, 42, 0.06);
  --ap-shadow: 0 18px 60px rgba(2, 6, 23, 0.08);
  --ap-radius: 18px;

  --ap-indigo: rgba(99, 102, 241, 0.18);
  --ap-emerald: rgba(16, 185, 129, 0.18);
  --ap-violet: rgba(139, 92, 246, 0.14);

  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ap-ink);
  background: var(--ap-bg);
}

.about-premium a { color: inherit; }
.about-premium a:hover { text-decoration: none; }
.about-premium b, .about-premium strong { font-weight: 800; }

.about-premium__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.about-premium__hero {
  position: relative;
  padding: 96px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(900px 360px at 18% 22%, var(--ap-indigo), transparent 60%),
    radial-gradient(820px 340px at 82% 18%, var(--ap-emerald), transparent 58%),
    radial-gradient(880px 360px at 50% 92%, var(--ap-violet), transparent 60%),
    linear-gradient(180deg, rgba(248,250,252,0.9), rgba(255,255,255,1));
}

.about-premium__hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, rgba(2,6,23,0.06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(2,6,23,0.06) 1px, transparent 1px) 0 0 / 44px 44px;
  opacity: 0.12;
  pointer-events: none;
}

.about-premium__heroGrid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.about-premium__badgeRow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.about-premium__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--ap-border);
  backdrop-filter: blur(10px);
}

.about-premium__badge--soft {
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ap-muted);
}

.about-premium__title {
  font-size: 52px;
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.about-premium__gradient {
  background: linear-gradient(90deg, #6366f1, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-premium__subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ap-muted);
  margin: 0 0 22px;
  max-width: 72ch;
}

.about-premium__ctaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.about-premium__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--ap-border);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  will-change: transform;
}

.about-premium__btn--primary {
  background: transparent;
  color: #fff;
  border-color: rgba(2,6,23,0.20);
}

.about-premium__btn--secondary {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
}

.about-premium__btn--ghost {
  background: transparent;
  color: var(--ap-muted);
}

.about-premium__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(2,6,23,0.10);
}

.about-premium__miniTrust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.about-premium__miniTrustItem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--ap-border);
  backdrop-filter: blur(10px);
  color: var(--ap-muted);
  font-size: 13px;
}

.about-premium__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.22);
  color: #0f766e;
  font-weight: 900;
}

/* =========================================
   BOOK PREVIEW — ULTRA PREMIUM (SCOPED)
========================================= */
/* ==============================
   BOOK PREVIEW (libracarti.ro) – FINAL BRAND-ALIGNED
   NOTE: păstrăm exact aceleași class names & IDs.
   Update: culori/gradiente/blocks/CTA/skeleton aliniate cu theme.css vars.
============================== */

.book-preview {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  font-family: var(--font-sans, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
}

.book-preview.is-open { display: block; }

.book-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 47, 56, 0.76); /* brand */
  backdrop-filter: blur(10px);
}

.book-preview__panel {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  height: min(820px, calc(100% - 28px));
  margin: 14px auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-lg, 0 18px 44px rgba(0,0,0,.12));
  border: 1px solid rgba(28, 31, 38, 0.10);
  animation: bpIn .22s ease both;
}

@keyframes bpIn {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.book-preview__topbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: linear-gradient(90deg, #2d5016, #4a6e28);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.book-preview__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: var(--font-head, var(--font-sans));
}

.book-preview__brandDot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--accent, #C46A2B);
  box-shadow: 0 0 0 6px rgba(196, 106, 43, 0.16);
}

.book-preview__topTitle {
  flex: 1;
  font-weight: 650;
  opacity: 0.95;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.book-preview__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.book-preview__close:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.26);
}

.book-preview__content {
  height: calc(100% - 58px);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
}

.book-preview__left {
  padding: 18px;
  background:
radial-gradient(900px 380px at 18% 10%, rgb(110 142 53 / 33%), #00000000 60%), radial-gradient(900px 380px at 82% 14%, rgb(110 142 53 / 13%), transparent 60%), var(--surface, #fff);
  overflow: auto;
}

.book-preview__right {
  padding: 18px;
  background: var(--block-paper, #F7F6F4);
  border-left: 1px solid rgba(28, 31, 38, 0.08);
  overflow: auto;
}

.book-preview__coverWrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(28, 31, 38, 0.08);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm, 0 .35rem 1rem rgba(0,0,0,.08));
}

.book-preview__cover {
  width: 150px;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(28,31,38,0.22);
  border: 1px solid rgba(28, 31, 38, 0.10);
}

.book-preview__coverPlaceholder {
  width: 150px;
  height: 210px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(247,246,244,1), rgba(252,237,229,0.55));
  border: 1px solid rgba(28, 31, 38, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-preview__phLine {
  height: 12px;
  border-radius: 8px;
  background: rgba(28,31,38,0.10);
}
.book-preview__phLine--short { width: 68%; }

.book-preview__miniMeta { min-width: 0; }
.book-preview__miniTitle {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-family: var(--font-head, var(--font-sans));
  color: var(--text, #1C1F26);
}
.book-preview__miniAuthor { color: var(--text-muted, #6B7280); }

.book-preview__reading { margin-top: 24px; }
.book-preview__readingHead h3 { margin: 0 0 6px; font-size: 16px; font-family: var(--font-head, var(--font-sans)); }
.book-preview__readingHead p {font-size:14px; margin: 0; color: var(--text-muted, #6B7280); line-height: 1.6; }

.book-preview__text {
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(28,31,38,0.08);
  background: rgba(255,255,255,0.92);
  color: var(--text, #1C1F26);
  line-height: 1.85;
  box-shadow: 0 14px 40px rgba(28,31,38,0.05);
}

.book-preview__legal {
 margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--accent-span, #8c5a35);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgb(45 80 22 / 4%);
    background: rgb(195 223 210 / 13%);
}

.book-preview__card {
  border-radius: 18px;
  border: 1px solid rgba(28,31,38,0.08);
  background: rgba(255,255,255,0.90);
  padding: 14px;
  box-shadow: var(--shadow-sm, 0 .35rem 1rem rgba(0,0,0,.08));
}

.book-preview__card + .book-preview__card { margin-top: 12px; }
.book-preview__card--soft { background: rgba(255,255,255,0.78); }

.book-preview__cardHead h3 { margin: 0 0 6px; font-size: 16px; font-family: var(--font-head, var(--font-sans)); }
.book-preview__cardHead p { margin: 0 0 12px; color: var(--text-muted, #6B7280); }

.book-preview__ctaStack { display: grid; gap: 10px; }

.book-preview__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid rgba(28,31,38,0.10);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.book-preview__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(28,31,38,0.10);
}

.book-preview__cta--primary {
  background: var(--accent, #C46A2B);
  color: #fff;
  border-color: rgba(196,106,43,0.35);
}

.book-preview__cta--primary:hover {
  background: var(--accent-hover, #A85622);
  color:#fff;
}

.book-preview__cta--secondary {
      background: #ffffff;
    color: var(--accent, #6e8e35);
    border-color: rgba(45, 80, 22, 0.2);
}

.book-preview__cta--secondary:hover {
      background: #6e8e35;
    border-color: rgb(110 142 53 / 56%);
    color: #fff;
}

.book-preview__cta--ghost {
  background: transparent;
  color: var(--text, #1C1F26);
  border-color: rgba(28,31,38,0.12);
}

.book-preview__cta--ghost:hover {
  background: rgba(247,246,244,0.85);
}

.book-preview__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.book-preview__chip {
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(28,31,38,0.10);
  background: rgba(247,246,244,0.90);
  color: var(--accent-span, #8c5a35);
}

/* Sticky mobile CTA */
.book-preview__sticky {
  display: none;
}

@media (max-width: 980px) {
  .book-preview__panel {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .book-preview__content {
    grid-template-columns: 1fr;
  }

  .book-preview__right {
    border-left: 0;
    border-top: 1px solid rgba(28,31,38,0.08);
  }

  .book-preview__sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    background: linear-gradient(to top, rgba(44,47,56,0.72), rgba(44,47,56,0));
    z-index: 100000;
  }

  .book-preview__stickyBtn {
            display: block;
        text-align: center;
        padding: 12px 16px;
        border-radius: 16px;
        background: var(--accent, #C46A2B);
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
        font-size: 13px;
  }

  .book-preview__stickyBtn:hover {
    background: var(--accent-hover, #A85622);
  }

  .book-preview__stickyGhost {
            padding: 12px 18px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: #fff;
        color: var(--brand);
        font-weight: 700;
        cursor: pointer;
        backdrop-filter: blur(10px);
        font-size: 13px;
  }

  /* ca să nu fie acoperit conținutul de sticky */
  .book-preview__left,
  .book-preview__right {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-preview__panel,
  .book-preview__cta,
  .book-preview__close {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================
   PREVIEW TRIGGER BUTTON
========================= */

.book-preview-trigger {
      display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px 12px 18px;
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    background: rgb(234 247 239 / 96%);
    border: 1px solid rgb(45 80 22 / 11%);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

/* Icon subtil */

.book-preview-trigger::before {
  height: 20px;
  font-size: 15px;
  transform: translateY(-1px);
}

/* Hover */

.book-preview-trigger:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(196,106,43,0.15);
  transform: translateY(-2px);
}

/* Active */

.book-preview-trigger:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(196,106,43,0.12);
}

/* Focus accessibility */

.book-preview-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196,106,43,0.25);
}

/* Disabled */

.book-preview-trigger:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.book-preview-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.book-preview-trigger__icon {
  width: 22px;
  height: 22px;
  filter: invert(28%) sepia(35%) saturate(874%) hue-rotate(56deg) brightness(92%) contrast(92%);;
}
@media (max-width: 980px) {

  .book-preview__panel {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .book-preview__content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
.book-preview__left {
    overflow: visible;
    height: auto;
    padding-bottom: 64px; /* spațiu pentru sticky */
  }
  .book-preview__right {
    overflow: visible;
    height: auto;
    padding-bottom: 110px; /* spațiu pentru sticky */
  }

}

/* =========================
   LOADING SKELETON (BRAND)
========================= */

/* IMPORTANT: păstrăm aceleași clase .bp-skeleton-* */

.bp-skeleton-cover,
.bp-skeleton-text,
.bp-skeleton-card {
  background: linear-gradient(
    90deg,
    var(--block-paper, #F7F6F4) 25%,
    var(--block-warm-2, #FCEDE5) 37%,
    var(--block-paper, #F7F6F4) 63%
  );
  background-size: 400% 100%;
  animation: bpShimmer 1.35s ease infinite;
}

.bp-skeleton-cover {
  width: 180px;
  height: 260px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(28,31,38,0.08);
}

.bp-skeleton-text {
  height: 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.bp-skeleton-text.short {
  width: 60%;
}

.bp-skeleton-card {
  height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(28,31,38,0.08);
}

@keyframes bpShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ===== ULTRA POLISHED ANIMATIONS ===== */

.bp-fade-in {
  animation: bpFadeIn 0.25s ease forwards;
}

.bp-fade-out {
  animation: bpFadeOut 0.2s ease forwards;
}

@keyframes bpFadeIn {
  from { opacity: 0; transform: translateY(6px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bpFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
/* ==============================
   BOOK-LIKE READING EXPERIENCE
============================== */

/* Zona de lectură – hârtie subtilă */

.book-preview__text {
  background:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.015) 0px,
      rgba(0,0,0,0.015) 1px,
      transparent 1px,
      transparent 4px
    );
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  padding: 22px 22px;
  border-radius: 18px;
}

/* Spațiere naturală paragraf */

.book-preview__text p {
  margin: 0 0 18px;
}

/* Indent stil carte (NU primul paragraf) */

.book-preview__text p + p {
  text-indent: 1.6em;
}

/* Drop-cap elegant */

.book-preview__text p:first-child::first-letter {
  float: left;
  font-family: var(--font-head);
  font-size: 52px;
  line-height: 0.9;
  margin-right: 10px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--accent);
}

/* Citat automat (dacă textul conține „” sau "") */

.book-preview__text p:has(q),
.book-preview__text p:has(blockquote) {
  background: var(--block-warm);
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 4px solid var(--accent);
  font-style: italic;
}

/* Fallback pentru citate în text (ghilimele românești) */

.book-preview__text p:contains("„") {
  background: var(--block-warm);
}

/* Subtle fade la final */

.book-preview__text::after {
  content: "";
  display: block;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(247,246,244,0.8));
  margin-top: -20px;
  pointer-events: none;
}
/* =========================
   PAGE TURN SUBTLE EFFECT
========================= */

.book-preview__panel {
  transform-origin: right center;
  animation: bpPageTurn .35s cubic-bezier(.4,.0,.2,1);
}

@keyframes bpPageTurn {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateY(-6deg) scale(.985);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) scale(1);
  }
}/* =========================
   CINEMATIC SCROLL SHADOW
========================= */

.book-preview__left {
  position: relative;
}

.book-preview__left::before,
.book-preview__left::after {
  content: "";
  position: sticky;
  left: 0;
  right: 0;
  height: 40px;
  pointer-events: none;
  z-index: 3;
}

.book-preview__left::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), transparent);
}

.book-preview__left::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
}
/* =========================
   PASSAGE HOVER MARK
========================= */

.book-preview__text p {
  position: relative;
  transition: background .25s ease;
}

.book-preview__text p:hover {
  background: linear-gradient(to right, rgb(110 142 53 / 5%), rgb(110 142 53 / 5%));
  border-radius: 10px;
}
/* =========================
   CALLIGRAPHIC UNDERLINE
========================= */

.book-preview__miniAuthor {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--text-muted);
}

.book-preview__miniAuthor::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(196,106,43,0.35),
    rgba(196,106,43,0.15)
  );
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(.85);
  transition: transform .3s ease;
}

.book-preview__miniAuthor:hover::after {
  transform: scaleX(1);
}
.book-preview__text {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 10px 30px rgba(0,0,0,0.05);
}
/* =========================
   META SECTION – EDITORIAL
========================= */

.book-preview__metaBlock {
  margin-top: 28px;
}

.book-preview__metaLabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* container */

.book-preview__metaLinks {
 display: flex;
    flex-wrap: wrap;
    gap: 10%;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
	margin-bottom: 14px;
}
.book-preview__card.book-preview__card--soft h4 {font-size:16px;}
.book-preview__card.book-preview__card--soft p {font-size:14px;}

/* link stil editorial */

.book-preview__metaBtn {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  padding-bottom: 3px;
  transition: color .25s ease;
}

/* underline caligrafic discret */

.book-preview__metaBtn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent),
    rgba(196,106,43,0.35)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.book-preview__metaBtn:hover {
  color: var(--accent);
}

.book-preview__metaBtn:hover::after {
  transform: scaleX(1);
}

/* HERO PANEL */
.about-premium__heroPanel {
  position: sticky;
  top: 18px;
}

.about-premium__panelCard {
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--ap-shadow);
  padding: 18px;
}

.about-premium__panelTitle {
  font-size: 16px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.about-premium__facts {
  margin: 0;
}

.about-premium__fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(2,6,23,0.06);
}

.about-premium__fact:first-child { border-top: 0; padding-top: 0; }
.about-premium__fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.10em; color: #64748b; }
.about-premium__fact dd { margin: 0; color: #0f172a; font-weight: 650; }

.about-premium__fine {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

.about-premium__fine a { text-decoration: underline; text-underline-offset: 3px; }

.about-premium__panelNote {
  margin-top: 12px;
  border-radius: var(--ap-radius);
  border: 1px solid rgba(59,130,246,0.16);
  background: rgba(59,130,246,0.08);
  padding: 14px 16px;
  color: #0f172a;
}

/* BODY */
.about-premium__body {
  padding: 28px 0 90px;
}

.about-premium__section {
  margin-top: 18px;
}

.about-premium__sectionHead {
  margin-bottom: 14px;
}

.about-premium__h2 {
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.about-premium__lead {
  margin: 0;
  color: var(--ap-muted);
  line-height: 1.75;
  max-width: 85ch;
}

/* CARDS */
.about-premium__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.about-premium__card {
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  padding: 16px 16px 18px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-premium__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.about-premium__card p {
  margin: 0;
  color: var(--ap-muted);
  line-height: 1.75;
}

.about-premium__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 52px rgba(2,6,23,0.08);
}

/* SPLIT SECTION */
.about-premium__section--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 16px;
  align-items: start;
}

.about-premium__splitLeft,
.about-premium__splitRight {
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border);
  background: rgba(255,255,255,0.82);
  padding: 18px;
}

.about-premium__steps {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ap-muted);
  line-height: 1.8;
}

.about-premium__steps li { margin: 8px 0; }
.about-premium__steps b { color: var(--ap-ink); }

.about-premium__glass {
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border);
  background: rgba(248,250,252,0.72);
  backdrop-filter: blur(12px);
  padding: 16px;
  margin-top: 12px;
}

.about-premium__glass:first-child { margin-top: 0; }

.about-premium__glass h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.about-premium__glass p {
  margin: 0 0 8px;
  color: var(--ap-muted);
  line-height: 1.75;
}

.about-premium__pillRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.about-premium__pill {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2,6,23,0.08);
  background: rgba(255,255,255,0.85);
  color: #0f172a;
}

/* QUOTE */
.about-premium__extract {
  border-radius: var(--ap-radius);
  border: 1px solid rgba(16,185,129,0.14);
  background: rgba(16,185,129,0.06);
  padding: 18px;
  margin-top: 14px;
}

.about-premium__quote {
  margin: 0;
  border-left: 4px solid rgba(16,185,129,0.30);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
}

.about-premium__quote p {
  margin: 0;
  color: #0f172a;
  line-height: 1.8;
}

.about-premium__quote footer {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}

/* FAQ */
.about-premium__faq {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.about-premium__faqItem {
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border);
  background: rgba(255,255,255,0.86);
  padding: 14px 16px;
  transition: box-shadow .22s ease, transform .22s ease;
}

.about-premium__faqItem[open] {
  box-shadow: 0 18px 52px rgba(2,6,23,0.06);
}

.about-premium__faqItem summary {
  cursor: pointer;
  font-weight: 850;
  color: #0f172a;
  list-style: none;
  outline: none;
}

.about-premium__faqItem summary::-webkit-details-marker { display: none; }

.about-premium__faqItem summary::after {
  content: "+";
  float: right;
  font-weight: 900;
  color: #64748b;
}

.about-premium__faqItem[open] summary::after { content: "–"; }

.about-premium__faqBody {
  margin-top: 10px;
  color: var(--ap-muted);
  line-height: 1.75;
}

/* Subtle entrance */
.about-premium__heroCopy,
.about-premium__heroPanel,
.about-premium__section {
  animation: aboutPremiumFadeUp .6s ease both;
}

.about-premium__heroPanel { animation-delay: .08s; }
.about-premium__section { animation-delay: .12s; }

@keyframes aboutPremiumFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-premium__heroCopy,
  .about-premium__heroPanel,
  .about-premium__section,
  .about-premium__btn,
  .about-premium__card,
  .about-premium__faqItem {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .about-premium__heroGrid {
    grid-template-columns: 1fr;
  }
  .about-premium__heroPanel {
    position: static;
  }
  .about-premium__title {
    font-size: 40px;
  }
  .about-premium__cards {
    grid-template-columns: 1fr;
  }
  .about-premium__section--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .about-premium__hero { padding: 72px 0 44px; }
  .about-premium__title { font-size: 32px; }
  .about-premium__subtitle { font-size: 16px; }
  .about-premium__ctaRow { flex-direction: column; }
  .about-premium__btn { width: 100%; }
  .about-premium__fact { grid-template-columns: 1fr; }
  .about-premium__fact dt { margin-bottom: 4px; }
}



/* MOBILE: reduce spatiu vertical intre carduri */
@media (max-width: 576px) {
	.detalii-carte-in {overflow-x: scroll;}
	.detalii-carte-in .detalii {min-width:126px;}

  .category-grid {
    gap: 16px;
        column-gap: 1.2rem;       /* lasa lateral ok */
  }

  .category-book-card {
    margin-bottom: 0 !important;
  }
  .book-author-badge {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(4px);
    font-weight: 500;
  }
      .author-hero-aside {
        margin-top: 0px;
    }
	.page-home .container {
        --bs-gutter-x: .7rem;
    }
	.sidebar-box ul {border-top: 1px solid #f7f7f7;}
	.page-editura .author-hero-aside {flex:auto;}
	
}

.disclaimer {font-size:13px; color:var(--text-muted);margin-top:10px;}

@media (max-width: 768px) {
.page-noutati .noutati-hero {
	padding: 1.5rem 0 0rem;
}
  .read-more-text {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all .3s ease;
  }

  .read-more-text.is-expanded {
    -webkit-line-clamp: unset;
    display: block;
  }

  .read-more-toggle {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
  }
  .page-populare .populare-hero {
        padding: 1.5rem 0 2rem;
        margin-top: -1.5rem;
		margin-bottom: 1.5rem;
    }
	.page-populare .populare-rest h2 {font-size: 20px;}
	.page-noutati.single {margin-top: -1.5rem;
    margin-bottom: 1.5rem;}
	.page-promotii .promotii-hero {margin-top: -1.5rem;
    margin-bottom: 1.5rem;padding:2rem 0.5rem;}
	.page-noutati .noutati-hero {
		padding-left: 0.25rem;
    padding-right: 0.25rem;
    border: none;
	}
	.page-noutati .noutati-lead , .page-promotii .promotii-lead, .book-description {font-size:15px;}
	.page-noutati .noutati-featured .noutati-h2,.page-promotii .promotii-section-head .promotii-h2, .page-noutati .noutati-stream .noutati-h2, .page-author .author-section-head .section-title {
		font-size:20px;
		font-weight:600;
	}
	.noutati-featured .noutati-section-head .noutati-muted,.page-promotii .promotii-section-head .promotii-muted {
		font-size:14px;
	}
	.page-noutati .noutati-footer-box {text-align:left;}
.page-promotii .promotii-hero {margin-top: -1.5rem;}
.page-promotii .promotii-title, .book-main h1 {font-size: 26px;
    line-height: 1.25;
    font-weight: 700;}
.book-intro.intro-single {height:76px;}
.book-intro-more,.detalii-carte-in-cmpl,.book-section,.page-book .table-carte,.book-hero.mb-5 {margin-bottom: 1.5rem;}
#reviews {margin-top:2rem;}
.book-breadcrumbs {padding-bottom:0px;}
.book-authors {margin-top:-10px;}
.page-book .table-carte {margin-bottom:-2rem!important;}
.page-promotii .promotii-trust {font-size:13px;}
.home-hero p {font-size: 15px;line-height:1.6;}
.page-home .section {margin: 0 0 2.5rem 0;}
.home-search-discovery {margin-bottom:0.5rem;}
.page-categories-index .container-search-page, .page-authors-index .container-search-page, .page-edituri-index .container-search-page {margin-top:1.5rem;}
.book-section .section-title, .book-section.book-similars-section h2 {font-size: 20px; font-weight: 600; border: none; margin-bottom: 20px;}
 .page-author .author-section-head .section-title {margin-bottom:0px;}
     .page-editura .author-books-grid, .page-autor .author-books-grid, .page-editura .author-books-grid{
        grid-template-columns: repeat(2, 1fr);
		gap: 16px;
        column-gap: 1.2rem;
    }

}
/* =========================================================
   HERO V5 - mai fidel mockului
========================================================= */

.home-hero-v5 {
  position: relative;
  width: 100%;
  margin: 0 0 110px;
  background: #f2f2ef;
}

.home-hero-v5__grid {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 760px;
}

.home-hero-v5__left {
  background: #f2f2ef;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 72px 26px 165px 26px;
}

.home-hero-v5__content {
  width: 100%;
  max-width: 820px;
}

.home-hero-v5__title {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(4rem, 5.8vw, 5.6rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.home-hero-v5__title span {
  display: block;
  margin-top: 14px;
  color: #ddb089;
  font-weight: 500;
}

.home-hero-v5__search {
  margin-top: 46px;
  margin-bottom: 38px;
}

.home-hero-v5__searchWrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px 72px;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 16px 16px 16px 20px;
  max-width: 920px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.03);
}

.home-hero-v5__searchField input,
.home-hero-v5__searchSelect select {
  width: 100%;
  height: 58px;
  border-radius: 999px;
  border: 1px solid #e9ccb1;
  background: #fff;
  outline: none;
  padding: 0 22px;
  font-size: 1.05rem;
  color: #181818;
}

.home-hero-v5__searchField input::placeholder {
  color: #919191;
}

.home-hero-v5__searchSelect select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #8c8c8c 50%),
    linear-gradient(135deg, #8c8c8c 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.home-hero-v5__searchBtn {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #e5bb96;
  color: #111;
  font-size: 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.home-hero-v5__searchBtn:hover {
  background: #ddb089;
  transform: translateY(-1px);
}

.home-hero-v5__featured {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 34px;
}

.home-hero-v5__featuredLabel {
  color: #111;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}

.home-hero-v5__featuredBooks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 28px;
}

.home-hero-v5__book {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.home-hero-v5__bookCover {
  width: 68px;
  min-width: 68px;
  height: 104px;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd;
  box-shadow: 0 8px 14px rgba(0,0,0,0.08);
}

.home-hero-v5__bookCover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-v5__bookMeta h3 {
  margin: 0 0 4px;
  color: #111;
  font-size: 1rem;
  line-height: 1.22;
  font-weight: 700;
}

.home-hero-v5__bookMeta p {
  margin: 0 0 9px;
  color: #4f4f4f;
  font-size: 0.9rem;
}

.home-hero-v5__bookMeta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3efeb;
  color: #ddb089;
  font-size: 0.88rem;
  font-weight: 700;
}

.home-hero-v5__actions {
  display: flex;
  gap: 16px;
}

.home-hero-v5__right {
  min-height: 760px;
  overflow: hidden;
}

.home-hero-v5__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NEWSLETTER BAR */
.home-hero-v5__newsletter {
  position: absolute;
  left: 46px;
  right: 0;
  bottom: -58px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  min-height: 156px;
  padding: 28px 26px 28px 42px;
  background: #ddb089;
  border-radius: 52px 0 0 52px;
}

.home-hero-v5__newsletterTitle strong {
  display: block;
  color: #111;
  font-size: 1.14rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 8px;
}

.home-hero-v5__newsletterTitle span {
  display: block;
  color: rgba(255,255,255,0.95);
  font-size: 0.97rem;
  line-height: 1.5;
  font-weight: 700;
}

.home-hero-v5__newsletterText {
  color: rgba(255,255,255,0.95);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 420px;
}

.home-hero-v5__newsletterForm {
  justify-self: end;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  min-height: 58px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 8px 7px 22px;
}

.home-hero-v5__newsletterForm input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  color: #111;
  font-size: 1rem;
}

.home-hero-v5__newsletterForm input::placeholder {
  color: #7f7f7f;
}

.home-hero-v5__newsletterForm button {
  min-width: 150px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* TABLET */
@media (max-width: 1199.98px) {
  .home-hero-v5 {
    margin-bottom: 104px;
  }

  .home-hero-v5__grid {
    grid-template-columns: 1fr;
  }

  .home-hero-v5__left {
    padding: 52px 20px 220px;
  }

  .home-hero-v5__title {
    font-size: clamp(3rem, 8vw, 4.8rem);
  }

  .home-hero-v5__searchWrap {
    grid-template-columns: 1fr 210px 62px;
    padding: 14px;
  }

  .home-hero-v5__searchField input,
  .home-hero-v5__searchSelect select {
    height: 54px;
  }

  .home-hero-v5__searchBtn {
    width: 54px;
    height: 54px;
  }

  .home-hero-v5__featured {
    grid-template-columns: 1fr;
  }

  .home-hero-v5__featuredLabel br {
    display: none;
  }

  .home-hero-v5__featuredBooks {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .home-hero-v5__actions {
    flex-wrap: wrap;
  }

  .home-hero-v5__right {
    min-height: 420px;
  }

  .home-hero-v5__newsletter {
    left: 18px;
    right: 18px;
    bottom: -72px;
    grid-template-columns: 1fr;
    border-radius: 28px;
    min-height: auto;
    padding: 24px 22px;
  }

  .home-hero-v5__newsletterForm {
    justify-self: stretch;
    max-width: 100%;
  }
}

/* MOBILE */
@media (max-width: 767.98px) {
  .home-hero-v5 {
    margin-bottom: 90px;
  }

  .home-hero-v5__left {
    padding: 28px 14px 250px;
  }

  .home-hero-v5__title {
    font-size: 2.7rem;
    line-height: 0.96;
  }

  .home-hero-v5__search {
    margin-top: 28px;
    margin-bottom: 24px;
  }

  .home-hero-v5__searchWrap {
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 34px;
    padding: 12px;
  }

  .home-hero-v5__searchField input,
  .home-hero-v5__searchSelect select {
    height: 52px;
    font-size: 0.95rem;
  }

  .home-hero-v5__searchBtn {
    width: 52px;
    height: 52px;
    justify-self: flex-end;
  }

  .home-hero-v5__featuredBooks {
    grid-template-columns: 1fr;
  }

  .home-hero-v5__actions {
    flex-direction: column;
  }

  .home-hero-v5__btn {
    width: 100%;
    min-width: 0;
  }

  .home-hero-v5__right {
    min-height: 280px;
  }

  .home-hero-v5__newsletter {
    left: 10px;
    right: 10px;
    bottom: -62px;
    padding: 18px 16px;
    border-radius: 24px;
  }

  .home-hero-v5__newsletterTitle strong {
    font-size: 1rem;
  }

  .home-hero-v5__newsletterTitle span,
  .home-hero-v5__newsletterText {
    font-size: 0.92rem;
  }

  .home-hero-v5__newsletterForm {
    min-height: 54px;
    padding: 6px 8px 6px 14px;
  }

  .home-hero-v5__newsletterForm input {
    font-size: 0.94rem;
  }

  .home-hero-v5__newsletterForm button {
    min-width: 118px;
    font-size: 0.82rem;
  }
}/* =========================================================
   HERO V5 - mai fidel mockului
========================================================= */

.home-hero-v5 {
  position: relative;
  width: 100%;
  margin: 0 0 110px;
  background: #f2f2ef;
}

.home-hero-v5__grid {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 646px;
}

.home-hero-v5__left {
  background: #f2f2ef;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 72px 26px 165px 26px;
}

.home-hero-v5__content {
  width: 100%;
  max-width: 820px;
}

.home-hero-v5__title {
     margin: 0;
    color: #0f0f0f;
    font-size: 36px;
    line-height: 0.92;
    font-weight: 700;
    letter-spacing: -0.055em;
}

.home-hero-v5__title span {
  display: block;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 500;
}

.home-hero-v5__search {
  margin-top: 46px;
  margin-bottom: 38px;
}

.home-hero-v5__searchWrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px 72px;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 16px 16px 16px 20px;
  max-width: 920px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.03);
}

.home-hero-v5__searchField input,
.home-hero-v5__searchSelect select {
  width: 100%;
  height: 58px;
  border-radius: 999px;
  border: 1px solid #e9ccb1;
  background: #fff;
  outline: none;
  padding: 0 22px;
  font-size: 1.05rem;
  color: #181818;
}

.home-hero-v5__searchField input::placeholder {
  color: #919191;
}

.home-hero-v5__searchSelect select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #8c8c8c 50%),
    linear-gradient(135deg, #8c8c8c 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.home-hero-v5__searchBtn {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #e5bb96;
  color: #111;
  font-size: 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.home-hero-v5__searchBtn:hover {
  background: #ddb089;
  transform: translateY(-1px);
}

.home-hero-v5__featured {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 34px;
}

.home-hero-v5__featuredLabel {
  color: #111;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}

.home-hero-v5__featuredBooks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 28px;
}

.home-hero-v5__book {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.home-hero-v5__bookCover {
  width: 68px;
  min-width: 68px;
  height: 104px;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd;
  box-shadow: 0 8px 14px rgba(0,0,0,0.08);
}

.home-hero-v5__bookCover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-v5__bookMeta h3 {
  margin: 0 0 4px;
  color: #111;
  font-size: 1rem;
  line-height: 1.22;
  font-weight: 700;
}

.home-hero-v5__bookMeta p {
  margin: 0 0 9px;
  color: #4f4f4f;
  font-size: 0.9rem;
}

.home-hero-v5__bookMeta span {
 display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 22px;
    border-radius: 999px;
    background: var(--block-green);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.home-hero-v5__actions {
  display: flex;
  gap: 16px;
}

.home-hero-v5__btn {
padding: 12px 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.18s ease;
}

.home-hero-v5__btn--primary {
  background: var(--accent);
  color: #fff;
}

.home-hero-v5__btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.home-hero-v5__btn--ghost {
  background: var(--block-grey);
  color: #111;
}

.home-hero-v5__btn--ghost:hover {
  background: var(--block-paper);
  color: #111;
}

.home-hero-v5__right {
  min-height: 646px;
  overflow: hidden;
}

.home-hero-v5__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NEWSLETTER BAR */
.home-hero-v5__newsletter {
  position: absolute;
  left: 46px;
  right: 0;
  bottom: -58px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  min-height: 156px;
  padding: 28px 26px 28px 42px;
  background: var(--accent-hover);
  border-radius: 52px 0 0 52px;
}

.home-hero-v5__newsletterTitle strong {
  display: block;
  color: #111;
  font-size: 1.14rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 8px;
}

.home-hero-v5__newsletterTitle span {
  display: block;
  color: rgba(255,255,255,0.95);
  font-size: 0.97rem;
  line-height: 1.5;
  font-weight: 700;
}

.home-hero-v5__newsletterText {
  color: rgba(255,255,255,0.95);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 420px;
}

.home-hero-v5__newsletterForm {
  justify-self: end;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  min-height: 58px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 8px 7px 22px;
}

.home-hero-v5__newsletterForm input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  color: #111;
  font-size: 1rem;
}

.home-hero-v5__newsletterForm input::placeholder {
  color: #7f7f7f;
}

.home-hero-v5__newsletterForm button {
  min-width: 150px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* TABLET */
@media (max-width: 1199.98px) {
  .home-hero-v5 {
    margin-bottom: 104px;
  }

  .home-hero-v5__grid {
    grid-template-columns: 1fr;
  }

  .home-hero-v5__left {
    padding: 52px 20px 220px;
  }

  .home-hero-v5__title {
    font-size: clamp(3rem, 8vw, 4.8rem);
  }

  .home-hero-v5__searchWrap {
    grid-template-columns: 1fr 210px 62px;
    padding: 14px;
  }

  .home-hero-v5__searchField input,
  .home-hero-v5__searchSelect select {
    height: 54px;
  }

  .home-hero-v5__searchBtn {
    width: 54px;
    height: 54px;
  }

  .home-hero-v5__featured {
    grid-template-columns: 1fr;
  }

  .home-hero-v5__featuredLabel br {
    display: none;
  }

  .home-hero-v5__featuredBooks {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .home-hero-v5__actions {
    flex-wrap: wrap;
  }

  .home-hero-v5__right {
    min-height: 420px;
  }

  .home-hero-v5__newsletter {
    left: 18px;
    right: 18px;
    bottom: -72px;
    grid-template-columns: 1fr;
    border-radius: 28px;
    min-height: auto;
    padding: 24px 22px;
  }

  .home-hero-v5__newsletterForm {
    justify-self: stretch;
    max-width: 100%;
  }
}

/* MOBILE */
@media (max-width: 767.98px) {
  .home-hero-v5 {
    margin-bottom: 90px;
  }

  .home-hero-v5__left {
    padding: 28px 14px 250px;
  }

  .home-hero-v5__title {
    font-size: 2.2rem;
    line-height: 0.96;
  }

  .home-hero-v5__search {
    margin-top: 28px;
    margin-bottom: 24px;
  }

  .home-hero-v5__searchWrap {
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 34px;
    padding: 12px;
  }

  .home-hero-v5__searchField input,
  .home-hero-v5__searchSelect select {
    height: 52px;
    font-size: 0.95rem;
  }

  .home-hero-v5__searchBtn {
    width: 52px;
    height: 52px;
    justify-self: flex-end;
  }

  .home-hero-v5__featuredBooks {
    grid-template-columns: 1fr;
  }

  .home-hero-v5__actions {
    flex-direction: column;
  }

  .home-hero-v5__btn {
    width: 100%;
    min-width: 0;
  }

  .home-hero-v5__right {
    min-height: 280px;
  }

  .home-hero-v5__newsletter {
    left: 10px;
    right: 10px;
    bottom: -62px;
    padding: 18px 16px;
    border-radius: 24px;
  }

  .home-hero-v5__newsletterTitle strong {
    font-size: 1rem;
  }

  .home-hero-v5__newsletterTitle span,
  .home-hero-v5__newsletterText {
    font-size: 0.92rem;
  }

  .home-hero-v5__newsletterForm {
    min-height: 54px;
    padding: 6px 8px 6px 14px;
  }

  .home-hero-v5__newsletterForm input {
    font-size: 0.94rem;
  }

  .home-hero-v5__newsletterForm button {
    min-width: 118px;
    font-size: 0.82rem;
  }
}
.home-hero-v5__grid {    margin-left: calc((100% - 1336px) / 2);
    padding-left: 15px;}
	
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.newsletter-modal.is-open {
  display: block;
}

.newsletter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 14, 0.54);
  backdrop-filter: blur(6px);
}

.newsletter-modal__dialog {
  position: relative;
  width: min(760px, calc(100% - 24px));
  margin: 5vh auto 0;
  background: linear-gradient(180deg, #fcfcf7 0%, #f5f6ef 100%);
  border: 1px solid rgba(45, 80, 22, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(24, 35, 18, 0.22);
  padding: 34px 34px 28px;
  overflow: hidden;
}

.newsletter-modal__dialog::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(154,184,74,0.18) 0%, rgba(154,184,74,0) 70%);
  pointer-events: none;
}

.newsletter-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #edf3df;
  color: #2d5016;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .18s ease, transform .18s ease;
}

.newsletter-modal__close:hover {
  background: #dfe9c0;
  transform: scale(1.04);
}

.newsletter-modal__header {
  margin-bottom: 24px;
  padding-right: 44px;
}

.newsletter-modal__badge {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  align-items: center;
  background: rgba(154,184,74,0.14);
  color: #6e8e35;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.newsletter-modal__header h3 {
  margin: 0 0 10px;
  color: #1f3710;
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.newsletter-modal__header p {
  margin: 0;
  color: #647055;
  font-size: 1.02rem;
  line-height: 1.65;
}

.newsletter-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.newsletter-modal__field--full {
  grid-column: 1 / -1;
}

.newsletter-modal__field label {
  display: block;
  margin-bottom: 9px;
  color: #2d5016;
  font-size: .95rem;
  font-weight: 700;
}

.newsletter-modal__field label span {
  color: #7f8b73;
  font-weight: 500;
}

.newsletter-modal__field input[type="email"],
.newsletter-modal__field input[type="text"] {
  width: 100%;
  height: 56px;
  border: 1px solid #d8e2c3;
  border-radius: 18px;
  background: #fff;
  padding: 0 16px;
  outline: none;
  font-size: 1rem;
  color: #1a1f16;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.newsletter-modal__field input[type="email"]:focus,
.newsletter-modal__field input[type="text"]:focus {
  border-color: #9ab84a;
  box-shadow: 0 0 0 4px rgba(154,184,74,0.14);
}

.newsletter-modal__typeSwitch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-modal__typeSwitch label {
  margin: 0;
  position: relative;
}

.newsletter-modal__typeSwitch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.newsletter-modal__typeSwitch span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eef3e1;
  color: #426126;
  font-size: .95rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all .18s ease;
}

.newsletter-modal__typeSwitch input:checked + span {
  background: #2d5016;
  color: #fff;
}

.newsletter-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-chip {
  position: relative;
  margin: 0;
}

.newsletter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.newsletter-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #536246;
  border: 1px solid #dde6cb;
  font-size: .93rem;
  font-weight: 600;
  transition: all .18s ease;
}

.newsletter-chip input:checked + span {
  background: rgba(154,184,74,0.16);
  color: #2d5016;
  border-color: #9ab84a;
}

.newsletter-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(45, 80, 22, 0.08);
}

.newsletter-modal__note {
  color: #6a7560;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 480px;
}

.newsletter-modal__submit {
  min-width: 180px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6e8e35 0%, #2d5016 100%);
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 24px rgba(45, 80, 22, 0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.newsletter-modal__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(45, 80, 22, 0.22);
}

#newsletterTitlesBlock {
  display: none;
}

.newsletter-modal.show-titles #newsletterTitlesBlock,
.newsletter-modal.show-mixed #newsletterTitlesBlock {
  display: block;
}

.newsletter-modal.show-categories #newsletterCategoriesBlock,
.newsletter-modal.show-mixed #newsletterCategoriesBlock {
  display: block;
}

@media (max-width: 767.98px) {
  .newsletter-modal__dialog {
    width: calc(100% - 14px);
    margin-top: 2vh;
    padding: 24px 18px 20px;
    border-radius: 22px;
  }

  .newsletter-modal__header h3 {
    font-size: 1.5rem;
  }

  .newsletter-modal__grid {
    grid-template-columns: 1fr;
  }

  .newsletter-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-modal__submit {
    width: 100%;
  }
}
.page-home .col-lg-20 {
  width: 20%;
  flex: 0 0 20%;
}

@media (max-width: 991.98px) {
  .page-home .col-lg-20 {
    width: 33.333%;
    flex: 0 0 33.333%;
  }
}

@media (max-width: 575.98px) {
  .page-home .col-lg-20 {
    width: 50%;
    flex: 0 0 50%;
  }
  .is-sticky .book-price {display:none;}
}
/* ===============================
   NEW BOOK GRID (EDITORIAL STYLE)
================================= */

.page-home .book-card-home {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: transform .25s ease;
}

/* hover lift */
.page-home .book-card-home:hover {
  transform: translateY(-6px);
}

/* ================= COVER ================= */

.page-home .book-cover-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f6f1;
}

/* imagine */
.page-home .book-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

/* zoom subtil */
.page-home .book-card-home:hover img {
  transform: scale(1.05);
}

/* shadow realist (nu box) */
.page-home .book-cover-wrap {
  box-shadow:
    0 10px 20px rgba(0,0,0,0.08),
    0 3px 6px rgba(0,0,0,0.04);
}

/* ================= TEXT ================= */

.page-home .book-card-home .card-body {
  padding: 10px 4px 0;
}

/* TITLU */
.page-home .book-title-home {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2d16;
  margin-bottom: 4px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .book-title-home a {
  color: inherit;
  text-decoration: none;
}

.page-home .book-title-home a:hover {
  color: #2d5016;
}

/* AUTOR */
.page-home .book-author {
  font-size: 12px;
  color: #8b9480;
}

/* CATEGORY → pill mic */
.page-home .book-category {
  display: inline-block;
  font-size: 10px;
  color: #6e8e35;
  margin-top: 6px;
}

/* ================= SPACING ================= */

.page-home .home-books .row {
  row-gap: 28px;
}

/* ================= MOBILE ================= */

@media (max-width: 575.98px) {
.home-hero-v5__grid {margin-left:0;padding-left:0;}
.home-hero-v5__left {padding: 28px 14px 28px;}
.page-home .home-books .row {row-gap: 8px;}
  .page-home .book-title-home {
    font-size: 13px;
  }

  .page-home .book-author {
    font-size: 11.5px;
  }

}
.newsletter-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsletter-modal__chips .chip {
  cursor: pointer;
}

.newsletter-modal__chips input {
  display: none;
}

.newsletter-modal__chips span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f6ec;
  font-size: 12px;
  transition: all .2s;
}

.newsletter-modal__chips input:checked + span {
  background: #9ab84a;
  color: #fff;
}
@media (max-width: 767.98px) {
  .page-home .home-hero-v5__newsletter {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    left: 10px;
    right: 10px;
    bottom: -62px;
    min-height: auto;
    width: auto;
    padding: 18px 16px;
    border-radius: 24px;
    overflow: hidden;
  }

  .page-home .home-hero-v5__newsletter > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .page-home .home-hero-v5__newsletterTitle,
  .page-home .home-hero-v5__newsletterText {
    min-width: 0;
    max-width: 100%;
  }

  .page-home .home-hero-v5__newsletterTitle strong,
  .page-home .home-hero-v5__newsletterTitle span,
  .page-home .home-hero-v5__newsletterText {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page-home .home-hero-v5__newsletterText {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .page-home .home-hero-v5__newsletterForm {
    justify-self: stretch;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 6px 8px 6px 14px;
    gap: 8px;
  }

  .page-home .home-hero-v5__newsletterForm input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    font-size: 0.94rem;
  }

  .page-home .home-hero-v5__newsletterForm button {
    flex: 0 0 auto;
    min-width: auto;
    width: auto;
    max-width: none;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0 10px;
  }
.page-book .rating-stars { flex: 1 1 auto;
  width: 100%;}
}
@media (max-width: 768px) {

  /* stare normală în pagină */
  .page-book .book-sidebar {
    position: static !important;
    top: auto !important;
  }

  .page-book .book-sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 20;
  }

  .page-book .book-sidebar-cta .btn.btn-accent,
  .page-book .book-sidebar-cta .alt-offers,
  .page-book .book-sidebar-cta .alt-offers-btn {
    width: 100%;
  }

  /* păstrează look-ul normal */
  .page-book .book-sidebar-cta .btn.btn-accent,
  .page-book .book-sidebar-cta .alt-offers-btn {
    height: 50px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  /* sticky mode only */
  .page-book .book-sidebar-cta.is-sticky {
    position: fixed;
        bottom: -1;
        left: 0px;
        right: 0;
        z-index: 999;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
        margin: 0;
        padding: 6px;
        transition: transform .22s ease, opacity .22s ease;
        background: linear-gradient(90deg, #2d5016, #4a6e28);
        border-bottom: 1px solid var(--border-main);
		padding-top:12px;
  }

  .page-book .book-sidebar-cta.is-sticky .btn.btn-accent,
  .page-book .book-sidebar-cta.is-sticky .alt-offers {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .page-book .book-sidebar-cta.is-sticky .btn.btn-accent,
  .page-book .book-sidebar-cta.is-sticky .alt-offers-btn {
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1;
  }

  .page-book .book-sidebar-cta.is-sticky.is-hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }

  .page-book .book-sidebar-cta-placeholder {
    display: none;
  }

  .page-book .book-sidebar-cta-placeholder.is-active {
    display: block;
  }

  .page-book .book-sidebar-cta .alt-offers {
    position: relative;
  }
.page-book .book-sidebar-cta.is-sticky .alt-offers-menu {top: calc(100% + -212px);}
  .page-book .book-sidebar-cta .alt-offers-menu {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 100%;
    border-radius: 12px;
  }

  .page-book .book-sidebar-cta .alt-offers-menu::before {
    display: none;
  }

  .page-book .book-sidebar-cta.is-sticky .alt-offers-btn .arrow {
    margin-left: 6px;
    font-size: .85rem;
  }
  .page-book .book-sidebar-cta.is-sticky .btn.btn-accent::after {
    content: "Vezi Cartea";
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
  }

  .page-book .book-sidebar-cta.is-sticky .alt-offers-btn {
    font-size: 0;
    position: relative;
  }
  .page-book .book-sidebar-cta.is-sticky .btn.btn-accent, .page-book .book-sidebar-cta.is-sticky .alt-offers-btn {font-size:0; margin: 0;
        margin-bottom: 0;}

  .page-book .book-sidebar-cta.is-sticky .alt-offers-btn::after {
    content: "Alternative";
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
  }

  .page-book .book-sidebar-cta.is-sticky .alt-offers-btn .arrow {
    font-size: .85rem;
    margin-left: 6px;
  }
  .page-book .book-hero.mb-5, .page-book .book-section {margin-bottom:0.5rem!important;}
  .page-book #descriere.book-section {margin-bottom:1.5rem!important;}
}
/* ===============================
   BOOK DETAILS TABLE (MODERN UI)
   =============================== */

.page-book .table-carte {
  margin-top: 16px;
}

/* wrapper */
.page-book .book-details-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;

  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* rows */
.page-book .book-details-table tbody tr {
  transition: background 0.2s ease;
}

.page-book .book-details-table tbody tr:not(:last-child) {
  border-bottom: 1px solid #f1f3f5;
}

/* hover */
.page-book .book-details-table tbody tr:hover {
  background: #f9faf7;
}

/* cells */
.page-book .book-details-table th,
.page-book .book-details-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

/* label (left) */
.page-book .book-details-table th {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  width: 40%;
}

/* value (right) */
.page-book .book-details-table td {
  font-size: 15px;
  font-weight: 500;
  color: #1f2d16;
}

/* ===============================
   MOBILE VERSION (APP STYLE)
   =============================== */

@media (max-width: 768px) {

  .page-book .book-details-table {
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  }

  .page-book .book-details-table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 12px 14px;
  }

  .page-book .book-details-table th,
  .page-book .book-details-table td {
    padding: 0;
  }

  .page-book .book-details-table th {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
	width:100%;
  }

  .page-book .book-details-table td {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
	border:none;
  }

  .page-book .book-details-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
  }
}
.page-book .book-details-table td {
  color: #2d5016;
}
/* =========================================
   PAGE BOOK — REVIEWS / REVIEW FORM
   ========================================= */

.page-book #reviews.book-section {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf5 100%);
  border: 1px solid rgba(45, 80, 22, 0.08);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.05);
}

.page-book #reviews .section-title {
  margin-bottom: 18px;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2d16;
}

/* empty state */
.page-book #reviews > .alert.alert-light.border {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(110, 142, 53, 0.18) !important;
  background: linear-gradient(180deg, rgba(154,184,74,0.08), rgba(154,184,74,0.04));
  color: #435334;
  font-size: 0.96rem;
  line-height: 1.6;
  box-shadow: none;
}

/* divider */
.page-book #reviews hr {
  margin: 22px 0 24px;
  border: 0;
  border-top: 1px solid rgba(45, 80, 22, 0.08);
  opacity: 1;
}

/* form intro title */
.page-book #reviews h3.h6 {
  margin-bottom: 14px !important;
  font-size: 1rem;
  font-weight: 700 !important;
  color: #1f2d16;
  letter-spacing: -0.01em;
}

/* form card */
.page-book #reviews form.border.rounded.p-3.bg-light {
  padding: 20px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(45, 80, 22, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,240,0.95)) !important;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.04);
}

/* labels */
.page-book #reviews .form-label {
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #5c6b4f;
  letter-spacing: 0.01em;
}

/* inputs + textarea */
.page-book #reviews .form-control {
  border: 1px solid rgba(45, 80, 22, 0.12);
  background: #ffffff;
  color: #1f2937;
  border-radius: 16px;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 0.96rem;
  box-shadow: none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    transform .15s ease;
}

.page-book #reviews textarea.form-control {
  min-height: 124px;
  resize: vertical;
  line-height: 1.65;
}

.page-book #reviews .form-control:focus {
  border-color: rgba(110, 142, 53, 0.55);
  box-shadow: 0 0 0 4px rgba(154, 184, 74, 0.14);
  background: #fff;
}

/* spacing inside form */
.page-book #reviews .mb-2,
.page-book #reviews .mb-3 {
  margin-bottom: 16px !important;
}

/* rating block */
.page-book #reviews .rating-stars {
  margin-top: 2px;
}

.page-book #reviews .rating-stars .stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(154, 184, 74, 0.08);
  border: 1px solid rgba(45, 80, 22, 0.08);
}

.page-book #reviews .rating-stars input {
  display: none;
}

.page-book #reviews .rating-stars label {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  color: #d7dfcf;
  cursor: pointer;
  transition:
    color .18s ease,
    transform .18s ease,
    text-shadow .18s ease;
}

.page-book #reviews .rating-stars label:hover,
.page-book #reviews .rating-stars label:hover ~ label {
  color: #9ab84a;
  transform: translateY(-1px) scale(1.04);
}

.page-book #reviews .rating-stars input:checked ~ label {
  color: #6e8e35;
  text-shadow: 0 6px 16px rgba(110, 142, 53, 0.18);
}

/* submit button */
.page-book #reviews .btn.btn-primary.btn-sm {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6e8e35 0%, #2d5016 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(45, 80, 22, 0.18);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.page-book #reviews .btn.btn-primary.btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(45, 80, 22, 0.22);
}

.page-book #reviews .btn.btn-primary.btn-sm:active {
  transform: translateY(0);
}

/* note under button */
.page-book #reviews .small.text-muted.mt-2 {
  margin-top: 20px !important;
  font-size: 0.82rem;
  color: #7a8371 !important;
  line-height: 1.55;
}

/* disclaimer */
.page-book #reviews .disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(247, 246, 244, 0.92);
  border: 1px solid rgba(45, 80, 22, 0.06);
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.6;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .page-book #reviews.book-section {
    margin-top: 18px;
    padding: 18px 14px;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.04);
  }

  .page-book #reviews .section-title {
    font-size: 1.22rem;
    margin-bottom: 14px;
  }

  .page-book #reviews > .alert.alert-light.border {
    padding: 14px 14px;
    border-radius: 16px;
    font-size: 0.92rem;
  }

  .page-book #reviews form.border.rounded.p-3.bg-light {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .page-book #reviews .form-control {
    font-size: 16px; /* prevent zoom on iOS */
    border-radius: 14px;
    min-height: 44px;
  }

  .page-book #reviews textarea.form-control {
    min-height: 118px;
  }

  .page-book #reviews .rating-stars .stars {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .page-book #reviews .rating-stars label {
    font-size: 26px;
  }

  .page-book #reviews .btn.btn-primary.btn-sm {
    width: 100%;
    min-height: 44px;
    font-size: 0.94rem;
  }

  .page-book #reviews .disclaimer {
    margin-top: 16px;
    font-size: 0.8rem;
    border-radius: 14px;
  }
}
/* =========================================
   ABOUT US PAGE — LIBRACARTI MODERN BRAND
   Scope: .about-premium
   ========================================= */

.about-premium {
  --ap-bg: #ffffff;
  --ap-surface: #ffffff;
  --ap-surface-soft: #f7faf4;
  --ap-surface-alt: #f3f7ee;

  --ap-text: #1f2d16;
  --ap-text-soft: #5f6f55;
  --ap-text-muted: #76806f;

  --ap-border: rgba(45, 80, 22, 0.10);
  --ap-border-strong: rgba(45, 80, 22, 0.16);

  --ap-brand: #2d5016;
  --ap-brand-dark: #1f2d16;
  --ap-accent: #6e8e35;
  --ap-accent-soft: #9ab84a;

  --ap-shadow-sm: 0 10px 24px rgba(22, 33, 16, 0.05);
  --ap-shadow-md: 0 18px 44px rgba(22, 33, 16, 0.08);
  --ap-shadow-lg: 0 28px 64px rgba(22, 33, 16, 0.10);

  --ap-radius: 24px;
  --ap-radius-md: 18px;
  --ap-radius-sm: 14px;

  color: var(--ap-text);
  background: var(--ap-bg);
}

/* wrapper */
.about-premium__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HERO
   ========================= */

.about-premium__hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 10px;
  background:
    radial-gradient(680px 300px at 10% 0%, rgba(154,184,74,0.12), transparent 60%),
    radial-gradient(760px 340px at 95% 5%, rgba(110,142,53,0.09), transparent 62%),
    linear-gradient(180deg, #f9fcf6 0%, #ffffff 72%);
}

.about-premium__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45,80,22,0.03) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(45,80,22,0.03) 1px, transparent 1px) 0 0 / 42px 42px;
  opacity: .22;
  pointer-events: none;
}

.about-premium__heroGrid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 380px);
  gap: 28px;
  align-items: start;
}

.about-premium__heroCopy {
  position: relative;
  z-index: 2;
}

.about-premium__badgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.about-premium__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--ap-border);
  color: var(--ap-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--ap-shadow-sm);
  backdrop-filter: blur(12px);
}

.about-premium__badge--soft {
  color: var(--ap-text-soft);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

.about-premium__title {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ap-brand-dark);
}

.about-premium__gradient {
  background: linear-gradient(90deg, var(--ap-accent), var(--ap-brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-premium__subtitle {
  margin: 0 0 16px;
  max-width: 840px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ap-text-soft);
}

.about-premium__ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.about-premium__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ap-border);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease;
}

.about-premium__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow-sm);
}

.about-premium__btn--primary {
  background: linear-gradient(135deg, var(--ap-accent), var(--ap-brand));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px rgba(45, 80, 22, 0.20);
}

.about-premium__btn--primary:hover {
  color: #fff;
  box-shadow: 0 18px 34px rgba(45, 80, 22, 0.25);
}

.about-premium__btn--ghost {
  background: rgba(255,255,255,0.78);
  color: var(--ap-brand);
}

.about-premium__miniTrust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-premium__miniTrustItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--ap-border);
  box-shadow: var(--ap-shadow-sm);
  color: var(--ap-text-soft);
  line-height: 1.55;
}

.about-premium__icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(154,184,74,0.18);
  border: 1px solid rgba(110,142,53,0.18);
  color: var(--ap-brand);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

/* right panel */
.about-premium__heroPanel {
  position: sticky;
  top: 20px;
  z-index: 2;
}

.about-premium__panelCard {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--ap-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,250,244,0.96));
  box-shadow: var(--ap-shadow-md);
  backdrop-filter: blur(14px);
}

.about-premium__panelTitle {
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ap-brand-dark);
}

.about-premium__facts {
  margin: 0;
}

.about-premium__fact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(45,80,22,0.08);
}

.about-premium__fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.about-premium__fact dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--ap-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.about-premium__fact dd {
  margin: 0;
  color: var(--ap-text);
  font-weight: 650;
  line-height: 1.6;
}

.about-premium__fine {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ap-text-muted);
}

.about-premium__fine a {
  color: var(--ap-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-premium__panelNote {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(154,184,74,0.10), rgba(154,184,74,0.06));
  border: 1px solid rgba(110,142,53,0.14);
  color: var(--ap-text-soft);
  line-height: 1.65;
  box-shadow: var(--ap-shadow-sm);
}

/* =========================
   BODY
   ========================= */

.about-premium__body {
  padding: 26px 0 70px;
}

.about-premium__section {
  margin-top: 18px;
}

.about-premium__sectionHead {
  margin-bottom: 16px;
}

.about-premium__h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ap-brand-dark);
  letter-spacing: -0.02em;
}

.about-premium__lead {
  margin: 0;
  max-width: 860px;
  color: var(--ap-text-soft);
  line-height: 1.85;
  font-size: 1rem;
}

/* cards row */
.about-premium__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.about-premium__card {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid var(--ap-border);
  background:
    linear-gradient(180deg, #ffffff, #f9fcf7);
  box-shadow: var(--ap-shadow-sm);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.about-premium__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ap-shadow-md);
  border-color: var(--ap-border-strong);
}

.about-premium__card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ap-brand-dark);
}

.about-premium__card p {
  margin: 0;
  color: var(--ap-text-soft);
  line-height: 1.8;
}

/* split section */
.about-premium__section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}

.about-premium__splitLeft,
.about-premium__splitRight {
  min-width: 0;
}

.about-premium__splitLeft {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--ap-border);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcf7 100%);
  box-shadow: var(--ap-shadow-sm);
}

.about-premium__steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--ap-text-soft);
  line-height: 1.85;
}

.about-premium__steps li {
  margin: 10px 0;
}

.about-premium__steps b {
  color: var(--ap-brand-dark);
}

.about-premium__splitRight {
  display: grid;
  gap: 14px;
}

.about-premium__glass {
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--ap-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(243,247,238,0.88));
  box-shadow: var(--ap-shadow-sm);
}

.about-premium__glass h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ap-brand-dark);
}

.about-premium__glass p {
  margin: 0 0 10px;
  color: var(--ap-text-soft);
  line-height: 1.8;
}

.about-premium__pillRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.about-premium__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(154,184,74,0.10);
  border: 1px solid rgba(110,142,53,0.14);
  color: var(--ap-brand);
  font-size: 12px;
  font-weight: 700;
}

/* extract / quote */
.about-premium__extract {
  margin-top: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(110,142,53,0.14);
  background:
    linear-gradient(180deg, rgba(154,184,74,0.08), rgba(255,255,255,0.88));
  box-shadow: var(--ap-shadow-sm);
}

.about-premium__quote {
  margin: 0;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid rgba(110,142,53,0.45);
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.about-premium__quote p {
  margin: 0;
  color: var(--ap-text);
  font-size: 1rem;
  line-height: 1.9;
}

.about-premium__quote footer {
  margin-top: 12px;
  color: var(--ap-text-muted);
  font-size: 12px;
}

/* faq */
.about-premium__faq {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.about-premium__faqItem {
  padding: 0;
  border-radius: 20px;
  border: 1px solid var(--ap-border);
  background: linear-gradient(180deg, #ffffff, #f9fcf7);
  box-shadow: var(--ap-shadow-sm);
  overflow: hidden;
  transition:
    box-shadow .22s ease,
    transform .22s ease,
    border-color .22s ease;
}

.about-premium__faqItem:hover {
  transform: translateY(-1px);
  box-shadow: var(--ap-shadow-md);
}

.about-premium__faqItem[open] {
  border-color: var(--ap-border-strong);
}

.about-premium__faqItem summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--ap-brand-dark);
  outline: none;
}

.about-premium__faqItem summary::-webkit-details-marker {
  display: none;
}

.about-premium__faqItem summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(154,184,74,0.12);
  color: var(--ap-brand);
  font-weight: 900;
  font-size: 18px;
}

.about-premium__faqItem[open] summary::after {
  content: "–";
}

.about-premium__faqBody {
  padding: 0 20px 18px;
  color: var(--ap-text-soft);
  line-height: 1.8;
}

.about-premium__faqBody p {
  margin: 0;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .about-premium__wrap {
    padding: 0 16px;
  }

  .about-premium__hero {
    padding: 22px 0 0;
    background:
      radial-gradient(420px 180px at 10% 0%, rgba(154,184,74,0.12), transparent 62%),
      linear-gradient(180deg, #f9fcf6 0%, #ffffff 75%);
  }

  .about-premium__heroGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-premium__badgeRow {
    gap: 8px;
    margin-bottom: 14px;
  }

  .about-premium__badge {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .about-premium__title {
    font-size: 2rem;
    line-height: 1.06;
    margin-bottom: 14px;
  }

  .about-premium__subtitle {
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 12px;
  }

  .about-premium__ctaRow {
    gap: 10px;
    margin: 18px 0 18px;
  }

  .about-premium__btn {
    width: 100%;
    min-height: 46px;
    font-size: 14px;
  }

  .about-premium__miniTrust {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-premium__miniTrustItem {
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 0.93rem;
  }

  .about-premium__heroPanel {
    position: static;
  }

  .about-premium__panelCard,
  .about-premium__panelNote,
  .about-premium__splitLeft,
  .about-premium__glass,
  .about-premium__extract,
  .about-premium__card,
  .about-premium__faqItem {
    border-radius: 18px;
  }

  .about-premium__panelCard {
    padding: 18px 16px;
  }

  .about-premium__fact {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0;
  }

  .about-premium__fact dt {
    font-size: 10px;
  }

  .about-premium__body {
    padding: 18px 0 50px;
  }

  .about-premium__section {
    margin-top: 14px;
  }

  .about-premium__h2 {
    font-size: 1.34rem;
    line-height: 1.2;
  }

  .about-premium__lead {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .about-premium__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .about-premium__card {
    padding: 18px 16px;
  }

  .about-premium__section--split {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .about-premium__splitLeft {
    padding: 18px 16px;
  }

  .about-premium__steps {
    margin-top: 14px;
    padding-left: 18px;
  }

  .about-premium__glass {
    padding: 18px 16px;
  }

  .about-premium__pill {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11px;
  }

  .about-premium__extract {
    padding: 18px 16px;
  }

  .about-premium__quote {
    padding: 16px 14px 16px 16px;
    border-radius: 14px;
  }

  .about-premium__quote p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .about-premium__faqItem summary {
    padding: 16px 16px;
    padding-right: 52px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .about-premium__faqItem summary::after {
    right: 14px;
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .about-premium__faqBody {
    padding: 0 16px 16px;
    font-size: 0.93rem;
  }
}
.page-book .book-summary-box,
.page-book .book-fit-card,
.page-book .faq-item {
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 16px;
}

.page-book .book-summary-box {
  padding: 18px 20px;
  margin-bottom: 20px;
}

.page-book .book-summary-box p:last-child {
  margin-bottom: 0;
}

.page-book .book-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-book .book-fit-card {
  padding: 18px 20px;
}

.page-book .book-fit-card h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.page-book .book-fit-card ul {
  margin: 0;
  padding-left: 18px;
}

.page-book .book-fit-card li + li {
  margin-top: 8px;
}

.page-book .faq-list {
  display: grid;
  gap: 12px;
}

.page-book .faq-item {
  overflow: hidden;
}

.page-book .faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.page-book .faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.page-book .faq-answer {
  border-top: 1px solid #f0f0f4;
}

.page-book .faq-answer-inner {
  padding: 16px 20px 18px;
  color: #555;
}

.page-book .faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .page-book .book-fit-grid {
    grid-template-columns: 1fr;
  }
  .book-section.book-faq {margin-top:30px;}
}