#libri .magazine-article-grid { padding: 20px 18px 24px; scroll-padding-inline: 18px; }
.magazine-article-card.book-card { min-height: 0; padding: 0; aspect-ratio: 1; border-radius: 8px; text-decoration: none; overflow: hidden; }
.book-card > img { display: block; width: 100%; height: 72%; flex: 0 0 72%; object-fit: cover; background: #eeeded; }
.book-card--portrait > img { object-fit: contain; background: #e7dfd2; }
.book-card-copy { display: flex; min-height: 0; flex: 1; align-items: center; justify-content: space-between; padding: .85rem 1rem; gap: .75rem; }
.book-card .book-card-copy h3 { margin: 0; font-size: 1.05rem; line-height: 1.14; }
.book-explore { flex: 0 0 auto; padding: .55rem .9rem; background: #8e3e39; color: #fff; border-radius: 4px; font-size: .75rem; font-weight: 750; }
.book-card-placeholder { background: #eee6da; cursor: default; }
.book-card-placeholder .book-card-copy { height: 100%; justify-content: center; }
#libri .book-card:hover,
#libri .book-card:focus-visible { transform: translateY(-5px) scale(1.008); }
#libri .book-card-placeholder:hover { border-color: transparent; transform: none; box-shadow: none; }
.book-product { --book-red: #8e3e39; color: #243c32; background: #f5f1e9; }
.book-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1200px; margin: auto; padding: 1.25rem 24px; border-bottom: 2px solid #243c32; }
.book-nav a { color: inherit; font-weight: 750; text-decoration: none; }
.book-nav img { width: 55px; height: auto; }
.book-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 48px; max-width: 1200px; margin: 40px auto; padding: 0 24px; }
.book-gallery { min-width: 0; }
.book-main-image { display: block; width: 100%; padding: 0; border: 1px solid #c9c6be; background: #eeeded; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.book-main-image img { display: block; width: 100%; height: auto; }
.book-thumbnails { display: flex; justify-content: center; gap: 10px; margin-top: 16px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.book-thumbnails::-webkit-scrollbar { display: none; }
.book-thumbnails button { width: 72px; height: 72px; padding: 3px; border: 2px solid transparent; background: #fff; border-radius: 4px; cursor: pointer; }
.book-thumbnails button[aria-pressed="true"] { border-color: var(--book-red); }
.book-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.book-info h1 { margin: .7rem 0 1rem; font-size: 2.5rem; line-height: 1.05; font-weight: 780; }
.book-price { margin: 0 0 1.25rem; color: var(--book-red); font-size: 2rem; font-weight: 800; line-height: 1; }
.book-price span { color: #565b56; font-size: .9rem; font-weight: 600; }
.book-label { color: var(--book-red); text-transform: uppercase; font-size: .75rem; font-weight: 800; }
.book-subtitle { font-family: 'Newsreader', Georgia, serif; font-size: 1.4rem; line-height: 1.35; color: #956943; }
.book-description { margin: 1.6rem 0; padding: 1.3rem 0; border-block: 1px solid #c9c6be; line-height: 1.65; }
.book-description h2 { font-size: 1rem; margin: 0 0 .7rem; }
.book-description p { margin: 0; }
.book-specs { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; font-size: .9rem; }
.book-specs dt { font-weight: 750; }
.book-specs dd { margin: 0; }
.book-contact { display: flex; justify-content: center; padding: 1rem; margin-top: 1.5rem; border-radius: 4px; background: var(--book-red); color: #fff; font-weight: 750; text-decoration: none; transition: background .25s; }
.book-contact:hover { background: #71312d; color: #fff; }
.book-contact:disabled { width: 100%; border: 0; opacity: .62; cursor: not-allowed; }
.book-note { font-size: .85rem; line-height: 1.5; color: #565b56; }
.book-zoom { margin: auto; max-width: 94vw; max-height: 94svh; padding: 12px; border: 0; border-radius: 6px; background: #f5f1e9; }
.book-zoom::backdrop { background: #000b; }
.book-zoom img { display: block; max-width: 86vw; max-height: 80svh; object-fit: contain; }
.book-zoom form { text-align: right; margin-bottom: 8px; }
.book-zoom button { padding: .5rem 1rem; cursor: pointer; }
.book-product :focus-visible { outline: 3px solid #956943; outline-offset: 4px; }
@media(max-width: 700px) { .book-layout { grid-template-columns: minmax(0,1fr); gap: 28px; margin-top: 24px; padding: 0 20px; } .book-info h1 { font-size: 2rem; } .book-nav { padding-inline: 20px; } .book-thumbnails { justify-content: flex-start; } }
