/* Book Page */
.book-head{display:grid;grid-template-columns:minmax(200px,320px) 1fr;gap:32px;align-items:start;margin-bottom:28px}
.book-cover img{display:block;width:100%;height:auto;border-radius:4px;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.book-info h1{margin-top:0}
.book-author{color:var(--muted);margin-top:-6px}
.book-offers{list-style:none;margin:18px 0 8px;padding:0;display:grid;gap:10px}
.book-offer{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius)}
.book-format{font-weight:600}
.book-price{font-size:1.2rem;white-space:nowrap}
.book-buy{white-space:nowrap;text-align:center}
.book-cart{margin:0}
.book-note{font-size:.82rem;color:var(--muted);margin:0 0 14px}
.book-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.92rem;color:var(--muted)}
.book-terms,.book-filter-row{display:flex;flex-wrap:wrap;gap:8px}
.book-terms{margin:24px 0}
.book-filters{display:grid;gap:10px;margin-bottom:24px}
.chip{display:inline-block;padding:4px 12px;border:1px solid var(--line);border-radius:999px;font-size:.88rem;text-decoration:none;color:var(--text)}
.chip small{color:var(--muted)}
.chip:hover{border-color:currentColor}
.chip-strong{font-weight:600}
.chip.is-current{background:var(--text);border-color:var(--text);color:var(--bg)}
.chip.is-current small{color:inherit}
.card-book .card-media{background:var(--soft)}
.card-book .card-image,.list-grid2 .card-book .card-image,.list-grid3 .card-book .card-image,.list-grid4 .card-book .card-image{width:100%;height:auto;aspect-ratio:210/297;object-fit:contain}
.card-book h2{font-size:1rem;line-height:1.3}
.card-price{font-weight:600;margin:4px 0 0}
.sec-products .product-media img{aspect-ratio:210/297;object-fit:contain;width:100%;height:auto}
.book-related{margin-top:40px}
.book-sample{margin-top:36px}
.flipbook{background:var(--soft);padding:16px;border-radius:var(--radius)}
.flipbook:fullscreen{display:flex;flex-direction:column;justify-content:center;background:#222}
.flipbook:fullscreen .flipbook-stage{width:auto;height:calc(100vh - 90px);margin:0 auto}
.flipbook-stage{position:relative;display:flex;width:100%;min-height:160px;margin:0 auto;perspective:2200px;cursor:pointer;outline-offset:4px}
.flipbook-wait{margin:auto;padding:40px 12px;color:var(--muted);cursor:default}
.flipbook-page{flex:1 1 50%;min-width:0;background:#fff;overflow:hidden}
.flipbook-page canvas{display:block;width:100%;height:auto}
.flipbook-single{flex-basis:100%}
.flipbook-left{box-shadow:inset -14px 0 18px -14px rgba(0,0,0,.35)}
.flipbook-right{box-shadow:inset 14px 0 18px -14px rgba(0,0,0,.35)}
.flipbook-empty{background:transparent;box-shadow:none}
.flipbook-leaf{position:absolute;top:0;bottom:0;width:50%;transform-style:preserve-3d;transition:transform .55s ease-in-out;z-index:2}
.flipbook-leaf-next{left:50%;transform-origin:left center}
.flipbook-leaf-next.is-turning{transform:rotateY(-180deg)}
.flipbook-leaf-prev{left:0;transform-origin:right center}
.flipbook-leaf-prev.is-turning{transform:rotateY(180deg)}
.flipbook-front,.flipbook-back{position:absolute;inset:0;backface-visibility:hidden}
.flipbook-back{transform:rotateY(180deg)}
.flipbook-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin-top:12px}
.flipbook-bar[hidden]{display:none}
.flipbook-count{min-width:11em;text-align:center;font-size:.92rem}
.flipbook:fullscreen .flipbook-count{color:#fff}
.flipbook-prev,.flipbook-next{min-width:44px;font-size:1.2rem;line-height:1}
.flipbook-bar button:disabled{opacity:.4;cursor:default}
.flipbook-link{font-size:.9rem}
@media (max-width:720px){
    .book-head{grid-template-columns:1fr}
    .book-cover{max-width:240px;margin:0 auto}
    .book-offer{grid-template-columns:1fr auto}
    .book-buy{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){.flipbook-leaf{transition:none}}

/* UbiGuitar. Only values and small rules: the structure comes from the default theme of DenzoPress. */
:root{--accent:#a4501f;--accent-on:#fff;--text:#2a221c;--muted:#6f6358;--line:#e5dcd1;--soft:#f6f0e8;--bg:#fffdfa;--radius:8px;--wrap:1180px;--cta:#a4501f;--cta-on:#fff;--hero-fill:#2a1d15;--hero-text:#fbf4ea;--font-head:var(--font-body)}
h1,h2,h3{font-family:var(--font-head)}
a{color:#8a3f15}
.site-header{background:#2a1d15;color:#fbf4ea}
.site-header a,.site-title,.site-title a{color:#fbf4ea}
.site-header a:hover{color:#f0b37e}
.site-title{font-family:var(--font-head);font-size:1.5rem;letter-spacing:.01em}
.tone-hero h1,.tone-hero h2{color:#fbf4ea}
.product{text-align:left}
.product h3{font-size:1rem;line-height:1.3;font-family:inherit;font-weight:600}
.product-media{background:var(--soft);aspect-ratio:210/297;box-shadow:0 8px 20px rgba(42,29,21,.18);border-radius:3px;overflow:hidden}
.product-price strong{color:#8a3f15}
.card-book .card-media{box-shadow:0 8px 20px rgba(42,29,21,.18);border-radius:3px}
.card-book h2{font-family:inherit;font-weight:600}
.card-price{color:#8a3f15}
.book-buy{font-weight:600}
.chip.is-current{background:#2a1d15;border-color:#2a1d15;color:#fbf4ea}
.footer-columns a{color:inherit}
.sec-cards .tile{border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.nav-burger,.site-header label{color:#fbf4ea}
.sec-hero .shape-rounded{text-align:center}
.sec-hero .shape-rounded img{aspect-ratio:auto;object-fit:contain;width:auto;max-width:100%;max-height:460px;margin:0 auto;border-radius:4px;box-shadow:0 18px 44px rgba(0,0,0,.55)}
/* The default theme gives the same class to the footer and to its columns: only the columns are a grid. */
.site-footer.footer-columns{display:block;padding-bottom:0}
/* Room for the shadow of the covers, which the scrolling row would cut. */
.sec-products .strip-track{padding:4px 4px 28px}
/* The tags in the right column. */
.tag-list a{display:flex;justify-content:space-between;gap:12px}
.tag-list small{color:var(--muted)}
.tag-list a[aria-current]{font-weight:700;color:var(--accent)}
/* The cover next to the title leads to its book. */
.sec-hero .sec-media a{display:inline-block;max-width:100%}

.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; padding-bottom: 1.5rem; font-size: .9rem; }
