/* ExAequo Suite 2.35.3 — exact sticky header offset */
body.single-exq_book .book-v23{overflow-x:clip;}

/* Persistent section navigation, independent from the summary block. */
body.single-exq_book .book-section-nav{
  position:sticky;
  z-index:44;
  top:var(--exq-book-nav-top,0px);
  border-bottom:1px solid rgba(20,54,63,.10);
  background:rgba(255,253,249,.94);
  backdrop-filter:blur(16px);
  box-shadow:0 9px 25px rgba(20,54,63,.05);
}
body.single-exq_book .book-section-nav__inner{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:clamp(17px,2.3vw,34px);
  overflow-x:auto;
  scrollbar-width:none;
}
body.single-exq_book .book-section-nav__inner::-webkit-scrollbar{display:none;}
body.single-exq_book .book-section-nav a{
  position:relative;
  flex:0 0 auto;
  padding:22px 0 19px;
  color:rgba(20,54,63,.55);
  font:800 9px/1 system-ui,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-decoration:none;
  transition:color .2s ease;
}
body.single-exq_book .book-section-nav a::after{
  content:"";
  position:absolute;
  left:50%;right:50%;bottom:0;
  height:2px;
  background:var(--exq-builder-accent,#8b1010);
  transition:left .2s ease,right .2s ease;
}
body.single-exq_book .book-section-nav a:hover,
body.single-exq_book .book-section-nav a.active{color:var(--exq-builder-accent,#8b1010);}
body.single-exq_book .book-section-nav a:hover::after,
body.single-exq_book .book-section-nav a.active::after{left:0;right:0;}
body.single-exq_book .book-section-nav .book-section-nav__buy{
  margin-left:auto;
  padding-inline:18px;
  border-radius:999px;
  color:#fff;
  background:var(--exq-builder-accent,#8b1010);
}
body.single-exq_book .book-section-nav .book-section-nav__buy::after{display:none;}
body.single-exq_book .book-section-nav .book-section-nav__buy:hover{color:#fff;filter:brightness(1.08);}

/* Summary: full HTML stays present; only the viewport is shortened when needed. */
body.single-exq_book .book-v23 .book-body.exq-block-surface-default{
  grid-template-columns:minmax(0,820px)!important;
  justify-content:center;
}
body.single-exq_book .book-summary-expandable{position:relative;}
body.single-exq_book .book-summary-expandable.is-collapsible:not(.is-expanded){max-height:590px;overflow:hidden;}
body.single-exq_book .book-summary-fade{display:none;}
body.single-exq_book .book-summary-expandable.is-collapsible:not(.is-expanded) .book-summary-fade{
  display:block;
  position:absolute;
  left:0;right:0;bottom:0;
  height:170px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,253,249,0),var(--exq-block-background,#fffdf9) 88%);
}
body.single-exq_book .book-summary-toggle{
  margin:24px 0 0;
  padding:0 0 7px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:0;
  border-bottom:1px solid rgba(139,16,16,.35);
  color:var(--exq-builder-accent,#8b1010);
  background:transparent;
  cursor:pointer;
  font:800 9px/1 system-ui,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.single-exq_book .book-summary-toggle b{font-size:13px;transition:transform .2s ease;}
body.single-exq_book .book-summary-toggle[aria-expanded="true"] b{transform:rotate(180deg);}

/* Quiet reassurance without adding another marketing block. */
body.single-exq_book .book-purchase{flex-wrap:wrap;}
body.single-exq_book .book-purchase-trust{
  flex:0 0 100%;
  margin-top:10px;
  color:color-mix(in srgb,var(--exq-hero-text) 58%,transparent);
  font:700 8px/1.4 system-ui,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
}

/* Clear anchoring when links jump below the sticky header/nav. */
body.single-exq_book .book-v23 :is(#resume,#auteur,#extrait,#editions,#collection,#recommandations){scroll-margin-top:calc(var(--exq-book-nav-top,0px) + 72px);}

/* Sticky commerce bar: compact, safe around footer and touch friendly. */
body.single-exq_book .exq-book-sticky-buy{
  max-width:1120px;
  min-height:68px;
  padding:8px 10px 8px 14px;
  border-radius:20px;
}
body.single-exq_book .exq-book-sticky-buy__book img{width:38px;height:52px;}
body.single-exq_book .exq-book-sticky-buy__actions button{height:44px;}
body.single-exq_book .exq-book-sticky-buy:not(.is-visible){pointer-events:none;}

/* Mobile and tablet finishing pass. */
@media(max-width:980px){
  body.single-exq_book .book-section-nav__inner{width:calc(100% - 30px);min-height:54px;gap:20px;}
  body.single-exq_book .book-section-nav a{padding:20px 0 17px;}
  body.single-exq_book .book-section-nav .book-section-nav__buy{margin-left:0;}
  body.single-exq_book .book-summary-expandable.is-collapsible:not(.is-expanded){max-height:520px;}
}
@media(max-width:700px){
  body.single-exq_book .book-section-nav__inner{width:calc(100% - 22px);gap:17px;}
  body.single-exq_book .book-section-nav a{font-size:8px;letter-spacing:.11em;}
  body.single-exq_book .book-section-nav .book-section-nav__buy{padding-inline:14px;}
  body.single-exq_book .book-v23 .book-body.exq-block-surface-default{padding-inline:18px!important;}
  body.single-exq_book .book-v23 .book-lead{font-size:17px!important;line-height:1.72!important;}
  body.single-exq_book .book-summary-expandable.is-collapsible:not(.is-expanded){max-height:480px;}
  body.single-exq_book .book-summary-expandable.is-collapsible:not(.is-expanded) .book-summary-fade{height:135px;}
  body.single-exq_book .book-purchase{display:grid!important;grid-template-columns:1fr!important;gap:15px!important;align-items:start!important;}
  body.single-exq_book .book-purchase .button{width:100%;justify-content:center;}
  body.single-exq_book .book-purchase-trust{font-size:7px;line-height:1.55;}
  body.single-exq_book .book-v23 :is(.book-related-section,.book-recommend-section) .book-grid{
    display:flex!important;
    gap:14px!important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:2px 1px 18px;
    scrollbar-width:none;
  }
  body.single-exq_book .book-v23 :is(.book-related-section,.book-recommend-section) .book-grid::-webkit-scrollbar{display:none;}
  body.single-exq_book .book-v23 :is(.book-related-section,.book-recommend-section) .book-card{
    flex:0 0 min(74vw,280px);
    scroll-snap-align:start;
  }
  body.single-exq_book .exq-book-sticky-buy{
    bottom:7px;
    width:calc(100% - 14px);
    min-height:58px;
    padding:7px 7px 7px 10px;
    border-radius:17px;
    gap:8px;
  }
  body.single-exq_book .exq-book-sticky-buy__book img{width:31px;height:43px;}
  body.single-exq_book .exq-book-sticky-buy__book small,
  body.single-exq_book .exq-book-sticky-buy__book em{display:none;}
  body.single-exq_book .exq-book-sticky-buy__book strong{max-width:32vw;font-size:13px;line-height:1.1;}
  body.single-exq_book .exq-book-sticky-buy__actions{gap:6px;}
  body.single-exq_book .exq-book-sticky-buy__actions .is-share,
  body.single-exq_book .exq-book-sticky-buy__actions .is-gift,
  body.single-exq_book .exq-book-sticky-buy__actions>strong{display:none;}
  body.single-exq_book .exq-book-sticky-buy__actions .is-buy{height:42px;padding:0 13px;font-size:8px;white-space:nowrap;}
}
@media(max-width:420px){
  body.single-exq_book .book-section-nav .book-section-nav__buy{display:none;}
  body.single-exq_book .exq-book-sticky-buy__book strong{max-width:29vw;font-size:12px;}
  body.single-exq_book .exq-book-sticky-buy__actions .is-buy{padding:0 11px;font-size:7px;letter-spacing:.07em;}
}


/* 2.35.1 — the section navigation may scroll horizontally, never vertically. */
body.single-exq_book .book-section-nav__inner{
  overscroll-behavior-x:contain;
  overscroll-behavior-y:none;
  scroll-behavior:smooth;
  overflow-anchor:none;
}
body.single-exq_book .book-section-nav a{scroll-margin:0!important;}


/* 2.35.2 — the internal book nav touches the visible site header, not its oversized wrapper. */
body.single-exq_book .book-section-nav{
  margin-top:0!important;
  transform:translateY(-1px);
  border-top:1px solid rgba(20,54,63,.06);
}
body.single-exq_book .book-section-nav__inner{
  margin-top:0!important;
}


/* 2.35.3 — no visual seam between the sticky site header and the book navigation. */
body.single-exq_book .book-section-nav{
  transform:none!important;
  margin-block:0!important;
  top:var(--exq-book-nav-top,0px)!important;
}
