:root {
  color-scheme: light;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #13213a;
  background: #f4f1ea;
  --ink: #13213a;
  --navy: #0a1730;
  --navy-2: #122343;
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --blue: #2458d3;
  --blue-dark: #1744ad;
  --orange: #c94720;
  --line: #d7d1c5;
  --muted: #5d6878;
  --focus: #ffb84d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0; margin: 0; background: var(--paper); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; transform: translateY(-160%); padding: 11px 15px; background: #fff; color: #111827; border: 2px solid var(--blue); border-radius: 6px; font-weight: 800; }
.skip-link:focus { transform: none; }

.ui-icon { display: inline-block; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; background: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.ui-icon-cart { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M5.5 8.5h13l-1 11h-11l-1-11ZM9 9V6.5a3 3 0 0 1 6 0V9'/%3E%3C/svg%3E"); }
.ui-icon-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm7 8a7 7 0 0 0-14 0'/%3E%3C/svg%3E"); }
.ui-icon-menu { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.ui-icon-refresh { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 7v5h-5M4 17v-5h5m9.5-4A8 8 0 0 0 5.3 5.7L4 8m16 8-1.3 2.3A8 8 0 0 1 5.5 17'/%3E%3C/svg%3E"); }
.ui-icon-search { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m15.5 15.5 4.5 4.5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ui-icon-book { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' d='M4 5.5A2.5 2.5 0 0 1 6.5 3H11v16H6.5A2.5 2.5 0 0 0 4 21.5v-16Zm16 0A2.5 2.5 0 0 0 17.5 3H13v16h4.5a2.5 2.5 0 0 1 2.5 2.5v-16Z'/%3E%3C/svg%3E"); }
.ui-icon-close { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 5 14 14M19 5 5 19' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ui-icon-lock { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.ui-icon-check { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ui-icon-trash { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M9 7V4h6v3m3 0-1 14H7L6 7m4 4v6m4-6v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.site-header { position: sticky; z-index: 20; top: 0; background: var(--navy); color: #f7f9ff; border-bottom: 1px solid #263653; }
.nav { position: relative; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; overflow: hidden; width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--navy); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav-actions, .nav-primary { display: flex; align-items: center; }
.nav-actions { gap: 10px; }
.nav-primary { gap: 25px; margin-right: 8px; }
.nav-primary a, .account-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #bac8df; text-decoration: none; font-size: 12px; font-weight: 700; }
.nav-primary a:hover, .nav-primary a[aria-current="page"], .account-link:hover { color: #fff; }
.nav-primary a[aria-current="page"] { box-shadow: inset 0 -2px #79a2ff; }
.menu-button { display: none; }
.cart-button, .menu-button { align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #687b99; border-radius: 8px; background: transparent; color: #f6f8fc; cursor: pointer; font-size: 12px; font-weight: 800; }
.menu-button { padding: 8px 11px; }
.cart-button { position: relative; width: 44px; padding: 0; border-color: transparent; }
.cart-button .ui-icon { width: 21px; height: 21px; }
.cart-button:hover, .menu-button:hover { background: #182844; border-color: #7185a6; }
.cart-count { position: absolute; top: 2px; right: 0; display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 4px; border: 2px solid var(--navy); border-radius: 999px; background: #9cbbff; color: #07142b; font-size: 9px; line-height: 1; }
.mobile-menu { position: absolute; z-index: 25; inset: 100% 0 auto; padding: 10px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(10, 23, 48, .2); }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; padding-inline: 13px; border-bottom: 1px solid #ece7dd; text-decoration: none; font-size: 13px; font-weight: 700; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a[aria-current="page"] { color: var(--blue-dark); background: #edf2ff; }

.catalog-hero { background: var(--navy); color: #f8f9fc; border-bottom: 8px solid var(--blue); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: stretch; gap: clamp(42px, 8vw, 110px); padding-block: clamp(48px, 6vw, 76px); }
.section-kicker { margin: 0 0 15px; color: #9cbbff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-kicker-dark { color: var(--blue-dark); }
.hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.058em; }
.hero-copy > p:last-child { max-width: 690px; margin: 26px 0 0; color: #c0ccdf; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.75; }
.purchase-guide { align-self: center; padding: 28px; border: 1px solid #40506e; background: var(--navy-2); box-shadow: 12px 12px 0 #061027; }
.guide-title { margin: 0; color: #fff; font-size: 13px; font-weight: 800; }
.purchase-guide ol { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.purchase-guide li { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 13px; padding: 16px 0; border-top: 1px solid #354664; }
.purchase-guide li span { color: #93b5ff; font-size: 11px; font-weight: 800; }
.purchase-guide li strong { color: #e7edf7; font-size: 13px; line-height: 1.5; }

.catalog { padding-block: clamp(58px, 8vw, 96px); }
#catalog-heading { scroll-margin-top: 100px; }
.catalog-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.catalog-heading-row h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.result-count { margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.refresh-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 15px; border: 1px solid #807a70; border-radius: 8px; background: var(--surface); color: #2c3a50; cursor: pointer; font-size: 12px; font-weight: 800; }
.refresh-button:hover { border-color: #665f54; }
.refresh-button:disabled { cursor: wait; opacity: .62; }
.catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 14px; margin-bottom: 28px; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.search-field { position: relative; display: block; }
.search-field .ui-icon { position: absolute; z-index: 1; left: 16px; top: 50%; transform: translateY(-50%); color: #576274; }
.search-field input, .sort-field select { width: 100%; min-height: 48px; border: 1px solid #8a857c; border-radius: 6px; background: #fff; color: var(--ink); }
.search-field input { padding: 11px 14px 11px 46px; }
.search-field input::placeholder { color: #6a7280; opacity: 1; }
.sort-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; color: #414d5f; font-size: 12px; font-weight: 800; }
.sort-field select { padding: 10px 36px 10px 12px; }

.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 28px 22px; }
.book { position: relative; display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: var(--surface); border: 1px solid #c7c0b4; border-radius: 12px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.book:hover, .book:focus-within { transform: translateY(-5px); border-color: #77869e; box-shadow: 0 22px 46px rgba(19, 33, 58, .17); }
.book-selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 88, 211, .2); }
.book-cover-link { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; padding: 14px; background: #e8e1d5; color: #fff; text-decoration: none; }
.book-cover-link::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(19, 33, 58, .13); pointer-events: none; }
.book-cover-link img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 13px rgba(10, 23, 48, .18)); transition: transform .24s ease, filter .24s ease; }
.book:hover .book-cover-link img, .book:focus-within .book-cover-link img { transform: scale(1.02); filter: drop-shadow(0 17px 17px rgba(10, 23, 48, .24)); }
.cover-fallback { position: absolute; inset: 10px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: linear-gradient(155deg, #17366f 0 48%, #0e1d37 48%); }
.cover-fallback::before { content: ""; position: absolute; top: 0; bottom: 0; left: 19px; width: 1px; background: rgba(255, 255, 255, .28); }
.cover-imprint { position: relative; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.cover-monogram { position: relative; align-self: end; font-size: clamp(54px, 8vw, 88px); font-weight: 800; letter-spacing: -.09em; line-height: .8; color: #9bb9ff; }
.cover-format, .discount-badge { position: absolute; z-index: 2; top: 14px; display: inline-flex; align-items: center; min-height: 30px; padding: 6px 10px; border-radius: 5px; font-size: 10px; font-weight: 800; }
.cover-format { left: 14px; background: var(--navy); color: #fff; letter-spacing: .04em; }
.discount-badge { right: 14px; background: #fff3ec; color: #9e2f12; border: 1px solid #c86e51; }
.book-body { display: flex; flex: 1; flex-direction: column; min-height: 278px; padding: 20px 19px 18px; }
.book-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; margin: 0 0 8px; }
.book-format, .book-sales { margin: 0; color: #657083; font-size: 10px; font-weight: 800; }
.book-format { letter-spacing: .08em; text-transform: uppercase; }
.book-sales { color: #3f4d62; }
.book h3 { min-height: 54px; margin: 0; font-size: 18px; line-height: 1.48; letter-spacing: -.025em; }
.book h3 a { display: -webkit-box; overflow: hidden; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.book h3 a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.book-description { display: -webkit-box; min-height: 43px; margin: 10px 0 15px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.book-price { margin-top: auto; padding-top: 15px; border-top: 1px solid #d8d1c5; }
.price-label { display: block; margin-bottom: 5px; color: #5e6979; font-size: 10px; font-weight: 700; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 9px; }
.promo-price { font-size: 23px; font-weight: 800; letter-spacing: -.04em; color: #a93618; }
.original-price { color: #68717e; font-size: 11px; }
.book-actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px; margin-top: 12px; }
.book-detail-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.book-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.add-cart { display: inline-grid; place-items: center; width: 48px; min-height: 48px; padding: 0; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; cursor: pointer; }
.add-cart .ui-icon { width: 19px; height: 19px; }
.add-cart:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.add-cart[aria-pressed="true"] { background: #e9eefb; border-color: #7c91c2; color: #183970; }
.catalog-state { grid-column: 1 / -1; display: grid; justify-items: start; gap: 8px; min-height: 190px; align-content: center; padding: 34px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.catalog-state .ui-icon { width: 30px; height: 30px; color: var(--blue-dark); }
.catalog-state strong { color: var(--ink); font-size: 17px; }
.catalog-state span:last-of-type { max-width: 540px; font-size: 13px; line-height: 1.65; }
.state-action { min-height: 44px; margin-top: 7px; padding: 9px 14px; border: 1px solid var(--blue); border-radius: 7px; background: var(--blue); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.catalog-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 38px; }
.page-button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #807a70; border-radius: 7px; background: var(--surface); color: #26344a; cursor: pointer; font-size: 12px; font-weight: 800; }
.page-button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue-dark); }
.page-button[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-button:disabled { cursor: not-allowed; opacity: .45; }
.page-status { margin-inline: 8px; color: var(--muted); font-size: 11px; }
.fine-print { max-width: 760px; margin: 34px auto 0; color: #626c7d; font-size: 11px; line-height: 1.7; text-align: center; }

.site-footer { background: #e9e5dc; border-top: 1px solid #cec8bc; color: #4e596a; }
.footer-layout { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 11px; }
.footer-layout nav { display: flex; align-items: center; gap: 22px; }
.footer-layout a { min-height: 44px; display: inline-flex; align-items: center; color: #26344b; font-weight: 700; }

.cart-drawer { width: min(500px, 100%); max-width: 100%; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: #fbfaf6; color: var(--ink); box-shadow: -25px 0 70px rgba(3, 12, 28, .38); }
.cart-drawer::backdrop { background: rgba(2, 8, 20, .67); }
.cart-shell { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 23px 24px; border-bottom: 1px solid #d7d1c6; }
.cart-head > div { display: flex; align-items: center; gap: 13px; }
.cart-heading-icon { display: grid; place-items: center; width: 43px; height: 43px; background: var(--navy); color: #fff; border-radius: 7px; }
.cart-head small { display: block; margin-bottom: 3px; color: #647084; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cart-head h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #7f796f; border-radius: 7px; background: transparent; color: #344159; cursor: pointer; }
.cart-close:hover { background: #eeeae2; }
.cart-items { display: grid; overflow-y: auto; padding: 8px 24px 22px; }
.cart-item { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid #ddd7cd; }
.cart-item-cover { display: grid; place-items: center; width: 50px; aspect-ratio: 1 / 1; overflow: hidden; padding: 3px; background: #ece7dd; color: #17366f; font-size: 18px; font-weight: 800; }
.cart-item-cover img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-copy { min-width: 0; }
.cart-item-copy strong { display: block; overflow: hidden; font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: baseline; margin-top: 5px; }
.cart-item-price span { color: #27364d; font-size: 12px; font-weight: 800; }
.cart-item-price del { color: #707985; font-size: 10px; }
.cart-remove { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b66f5a; border-radius: 7px; background: transparent; color: #982f15; cursor: pointer; }
.cart-remove:hover { background: #fff0eb; }
.cart-empty { display: grid; justify-items: center; gap: 10px; padding: 52px 20px; color: #626e80; text-align: center; font-size: 13px; line-height: 1.7; }
.cart-empty .ui-icon { width: 32px; height: 32px; color: #294f9e; }
.cart-summary { margin-top: auto; padding: 20px 24px 24px; border-top: 1px solid #d7d1c6; background: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; color: #566174; font-size: 11px; }
.summary-discount strong { color: #a13718; }
.summary-row.total { margin-top: 13px; padding-top: 14px; border-top: 1px solid #d7d1c6; color: var(--ink); font-size: 16px; font-weight: 800; }
.checkout-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; margin-top: 13px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; cursor: pointer; font-weight: 800; }
.checkout-button:hover:not(:disabled) { background: var(--blue-dark); }
.checkout-button:disabled { cursor: not-allowed; opacity: .55; }
.checkout-message { min-height: 32px; margin: 10px 0 0; color: #5b677a; font-size: 10px; line-height: 1.55; text-align: center; }

:focus-visible { outline: 3px solid #0a1730; outline-offset: 3px; box-shadow: 0 0 0 5px #fffdf8; }
.site-header :focus-visible, .catalog-hero :focus-visible { outline-color: #ffd27d; box-shadow: 0 0 0 5px #061027; }
h2:focus-visible { outline-offset: 6px; }

@media (max-width: 1020px) {
  .nav-primary { display: none; }
  .menu-button { display: inline-flex; }
  .hero-layout { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 42px; }
  .books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav { min-height: 66px; }
  .account-link { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 34px; padding-block: 56px 62px; }
  .hero-copy h1 { max-width: 650px; font-size: clamp(38px, 10vw, 58px); }
  .purchase-guide { width: min(100%, 520px); box-shadow: 8px 8px 0 #061027; }
  .catalog-tools { grid-template-columns: 1fr; }
  .sort-field { grid-template-columns: 74px minmax(0, 1fr); }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-body { min-height: 270px; }
  .footer-layout { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .footer-layout nav { flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 24px, 1180px); }
  .brand { font-size: 15px; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-actions { gap: 7px; }
  .menu-button { padding-inline: 9px; }
  .catalog-heading-row { align-items: flex-start; }
  .refresh-button span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .refresh-button { width: 46px; padding: 0; }
  .catalog-tools { margin-inline: -2px; padding: 10px; }
  .books { grid-template-columns: 1fr; gap: 18px; }
  .book-cover-link { padding: 12px; }
  .book-cover-link::after { inset: 12px; }
  .cover-fallback { inset: 7px; padding: 13px; }
  .cover-fallback::before { left: 10px; }
  .cover-monogram { font-size: 44px; }
  .cover-format, .discount-badge { top: 12px; min-height: 28px; padding: 5px 8px; font-size: 9px; }
  .cover-format { left: 12px; }
  .discount-badge { right: 12px; }
  .book-body { min-height: 266px; padding: 17px 16px 15px; }
  .book h3 { min-height: 48px; font-size: 16px; line-height: 1.5; }
  .book-description { display: -webkit-box; }
  .book-price { padding-top: 10px; }
  .promo-price { font-size: 21px; }
  .book-actions { margin-top: 9px; }
  .page-status { order: -1; width: 100%; margin-bottom: 3px; text-align: center; }
  .cart-head, .cart-items, .cart-summary { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
