.book-detail { padding-top: 36px; padding-bottom: 56px; }
.book-detail__breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; font-size: 13px; color: #667085; }
.book-detail__breadcrumb a, .book-detail__author a, .book-detail__rating, .book-detail__seller a { color: #14675c; text-decoration: none; }
.book-detail__breadcrumb a:hover, .book-detail__author a:hover, .book-detail__rating:hover, .book-detail__seller a:hover { text-decoration: underline; }
.book-detail__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr) minmax(260px, .95fr); gap: 32px; align-items: start; }
.book-detail__cover { padding: 22px; background: #f3f5f2; border-radius: 16px; display: flex; justify-content: center; }
.book-detail__cover img { display: block; width: 100%; max-height: 510px; object-fit: contain; filter: drop-shadow(5px 10px 10px #182b2026); }
.book-detail__sample-button { display: block; width: 100%; margin-top: 18px; border-radius: 28px; min-height: 44px; }
.book-detail__eyebrow { display: flex; gap: 8px; font-size: 12px; font-weight: 600; color: #667085; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.book-detail__title { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.22; letter-spacing: -.035em; margin: 0 0 14px; overflow-wrap: anywhere; }
.book-detail__author { font-size: 15px; margin-bottom: 15px; }
.book-detail__rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; min-height: 32px; margin-bottom: 20px; }
.book-detail__description { border-top: 1px solid #e5e7eb; padding-top: 24px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.book-detail__description-full p:last-child { margin-bottom: 0; }
.book-detail__description-full img, .book-detail__description-full video { max-width: 100%; height: auto; }
.book-detail__description-toggle summary { list-style: none; cursor: pointer; }
.book-detail__description-toggle summary::-webkit-details-marker { display: none; }
.book-detail__description-excerpt { display: block; white-space: pre-line; }
.book-detail__read-more, .book-detail__read-less { color: #14675c; display: block; font-size: 14px; font-weight: 600; margin-top: 12px; padding: 8px 0; }
.book-detail__read-less { display: none; }
.book-detail__description-toggle[open] .book-detail__description-excerpt, .book-detail__description-toggle[open] .book-detail__read-more { display: none; }
.book-detail__description-toggle[open] .book-detail__read-less { display: block; margin-top: 0; }
.book-detail__facts { display: flex; flex-wrap: wrap; gap: 20px; margin: 26px 0 0; padding: 24px 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.book-detail__facts > div { flex: 1 1 100px; text-align: center; }
.book-detail__facts dt { color: #667085; font-size: 12px; font-weight: 400; margin-bottom: 14px; }
.book-detail__facts dd { margin: 0; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.book-detail__facts dd i { font-size: 23px; font-weight: 400; color: #344054; }
.book-detail__video { margin-top: 28px; border-radius: 12px; overflow: hidden; }
.book-detail__purchase { position: sticky; top: 24px; }
.book-detail__purchase-card { padding: 22px; border: 1px solid #d9dfdc; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px #182b2008; }
.book-detail__purchase-card h2 { font-size: 18px; margin-bottom: 18px; }
.book-detail__formats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.book-detail__format { border: 1px solid #d8dfda; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: #f8faf8; }
.book-detail__format-name { font-size: 12px; font-weight: 600; }
.book-detail__format-price { font-size: 15px; line-height: 1.4; white-space: nowrap; }
.book-detail__format del { font-size: 11px; color: #667085; }
.book-detail__format--unavailable { background: #fafafa; color: #667085; }
.book-detail__stock { font-size: 11px; color: #a33b22; }
.book-detail__availability { margin-top: 20px; font-size: 13px; line-height: 1.6; color: #46584c; }
.book-detail__availability .btn { margin-bottom: 12px; }
.book-detail__checkout { border-top: 1px solid #e5e7eb; padding-top: 18px; }
.book-detail__checkout .buy-button { width: 100%; border-radius: 28px; min-height: 48px; font-size: 15px; white-space: normal; }
.book-detail__checkout-help { font-size: 12px; line-height: 1.6; color: #667085; margin-bottom: 0; }
.book-detail__seller { font-size: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.book-detail #book-reviews { padding-left: 0; padding-right: 0; margin-top: 64px !important; scroll-margin-top: 30px; }
.book-detail #book-reviews > .row > .col-lg-10 { width: 100%; }
.book-sample { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 20px 90px #0004; color: #25322a; }
.book-sample::backdrop { background: #16271dcc; }
.book-sample__header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 28px; border-bottom: 1px solid #e5e7eb; }
.book-sample__eyebrow { color: #667085; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.book-sample__header h2 { font-size: 18px; margin: 7px 0 0; }
.book-sample__close { border: 0; border-radius: 50%; background: #f3f5f2; min-width: 44px; min-height: 44px; }
.book-sample__pages { display: flex; gap: 8px; padding: 14px 28px; background: #fafbf9; }
.book-sample__pages button { padding: 10px 18px; min-height: 44px; border-radius: 8px; border: 1px solid #d9dfdc; background: white; font-size: 13px; }
.book-sample__pages button[aria-pressed=true] { background: #14675c; color: white; border-color: #14675c; }
.book-sample__body { overflow-y: auto; max-height: calc(100dvh - 300px); padding: 30px 38px; }
.book-sample__page { font: 17px/1.9 Georgia, serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.book-sample__footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 28px; border-top: 1px solid #e5e7eb; font-size: 12px; color: #667085; }
body.book-sample-open { overflow: hidden; }
.book-detail a:focus-visible, .book-detail button:focus-visible, .book-detail summary:focus-visible, .book-sample button:focus-visible { outline: 3px solid #14675c; outline-offset: 4px; }
@media (max-width: 1199px) { .book-detail__layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(250px, 1fr); gap: 22px; } .book-detail__formats { grid-template-columns: 1fr; } .book-detail__purchase-card { padding: 18px; } }
@media (max-width: 991px) { .book-detail__layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .book-detail__purchase { position: static; grid-column: 2; } .book-detail__formats { grid-template-columns: minmax(0, 1fr); } .book-detail__cover-column { grid-row: 1 / 3; } }
@media (max-width: 575px) { .book-detail { padding-top: 22px; padding-bottom: 32px; } .book-detail__breadcrumb { margin-bottom: 22px; } .book-detail__layout { display: flex; flex-direction: column; gap: 26px; } .book-detail__cover-column { width: min(100%, 260px); align-self: center; } .book-detail__cover { padding: 20px; } .book-detail__cover img { max-height: 330px; } .book-detail__information, .book-detail__purchase { width: 100%; } .book-detail__purchase-card { padding: 20px; } .book-detail__facts { gap: 14px; } .book-detail__facts > div { flex-basis: 80px; } .book-detail #book-reviews { margin-top: 36px !important; } .book-sample { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; } .book-sample__header, .book-sample__pages, .book-sample__footer { padding: 16px 20px; } .book-sample__body { padding: 24px; } .book-sample__page { font-size: 16px; } }
.book-detail__eyebrow { flex-wrap: wrap; align-items: center; }
.book-detail__badge { padding: 5px 10px; border-radius: 20px; background: #e8eeeb; color: #40574a; letter-spacing: 0; text-transform: none; }
.book-detail__badge--preorder { background: #fff2d2; color: #835700; }
.book-detail__author-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.book-detail__author-row .avatar img { width: 100%; height: 100%; object-fit: cover; }
.book-detail__format--selected { border-color: #14675c; background: #edf6f2; box-shadow: inset 0 0 0 1px #14675c; }
.book-detail__format--compact { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 10px; }
.book-detail__format-choice { display: flex; align-items: center; gap: 6px; cursor: pointer; margin: 0; min-width: 0; }
.book-detail__format-choice input { flex-shrink: 0; width: 16px; height: 16px; accent-color: #14675c; margin: 0; }
.book-detail__format-pricing { display: flex; flex-direction: column; text-align: right; }
.book-detail__format--compact .book-detail__format-price { font-size: 12px; }
.book-detail__format--compact .book-detail__stock { grid-column: 1 / -1; }
.book-detail__quantity { display: flex; align-items: center; border: 1px solid #bccbc2; border-radius: 7px; overflow: hidden; background: #fff; }
.book-detail__quantity button { border: 0; background: transparent; color: #14675c; width: 26px; height: 34px; padding: 0; font-size: 18px; cursor: pointer; }
.book-detail__quantity button:hover:not(:disabled) { background: #e5f0ea; }
.book-detail__quantity button:disabled { color: #a3aaa6; cursor: default; }
.book-detail__quantity output { min-width: 20px; text-align: center; font-size: 12px; font-weight: 600; }
.book-detail__selection-help { font-size: 12px; color: #667085; margin: 12px 0 18px; }
.book-detail__cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 18px; }
.book-detail__author-row .card-profile-info .drop-card-text span { font-size: 15px !important; font-weight: 600; }
.book-detail__author-row .card-profile-info > a > span { font-size: 12px !important; }
.book-detail__author-avatar { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #14675c; color: white; font-size: 22px; text-decoration: none; }
.book-detail__author-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-detail__author-avatar img[hidden] { display: none; }
.book-detail__author-name { color: #14675c; font-size: 15px; font-weight: 600; }

@media (max-width: 767.98px) { body:has(.purchase-actions-mobile) { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }
