:root {
    color-scheme: light;
    --navy: #1e3a8a;
    --navy-deep: #00236f;
    --ink: #121c2a;
    --muted: #667085;
    --paper: #f8f9ff;
    --wash: #eff4ff;
    --wash-strong: #e6eeff;
    --line: #dfe5f1;
    --amber: #d97706;
    --amber-pale: #ffdcc3;
    --white: #fff;
    --shadow: 0 1px 3px rgb(15 23 42 / 5%), 0 4px 10px rgb(30 58 138 / 4%);
    --shadow-float: 0 16px 36px rgb(30 58 138 / 12%);
    font-family: Inter, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--paper); }
body { min-width: 320px; margin: 0; padding-bottom: 0; color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.55; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, blockquote { font-family: Merriweather, Georgia, serif; }
h1, h2, h3, p, blockquote { margin-top: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgb(30 58 138 / 38%); outline-offset: 2px; }
.material-symbols-outlined { display: inline-flex; align-items: center; justify-content: center; font-family: "Material Symbols Outlined"; font-size: 20px; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.content-width { width: min(calc(100% - 48px), 1280px); margin-inline: auto; }
.site-main { min-height: 65vh; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.site-header { position: sticky; z-index: 30; top: 0; background: rgb(255 255 255 / 96%); box-shadow: 0 1px 7px rgb(15 23 42 / 6%); backdrop-filter: blur(14px); }
.header-main { display: grid; min-height: 68px; grid-template-columns: 230px minmax(260px, 1fr) auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--navy-deep); }
.brand-logo { display: block; width: 210px; height: 54px; object-fit: contain; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--navy-deep); border-radius: 9px; color: white; background: var(--navy); }
.brand-mark .material-symbols-outlined { font-size: 22px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.15; }
.brand-words strong { font-family: Merriweather, Georgia, serif; font-size: 17px; letter-spacing: -.03em; }
.brand-words small { margin-top: 2px; color: #374151; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.search-form { display: flex; min-width: 0; height: 40px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: var(--wash); transition: border-color .2s, background .2s; }
.search-form:focus-within { border-color: var(--navy); background: white; }
.search-form > .material-symbols-outlined { flex: none; color: #596273; }
.search-form input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-form input::placeholder { color: #7a8493; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-icon { position: relative; display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy-deep); }
.header-icon:hover { border-radius: 50%; background: var(--wash); }
.customer-auth-link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--navy-deep); background: white; cursor: pointer; font-size: 12px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; }
.customer-auth-link:hover { border-color: var(--navy); background: var(--wash); transform: translateY(-1px); }
.customer-auth-register { border-color: var(--navy); color: white; background: var(--navy); }
.customer-auth-register:hover { color: white; background: var(--navy-deep); }
.google-mark { margin-right: 6px; color: #4285f4; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; }
.customer-auth-register .google-mark { color: white; }
.customer-auth-dialog { position: fixed; width: min(92vw, 430px); max-width: none; padding: 30px; border: 1px solid #dfe5f1; border-radius: 14px; color: var(--ink); background: white; box-shadow: var(--shadow-float); text-align: center; }
.customer-auth-dialog::backdrop { background: rgb(12 21 40 / 70%); backdrop-filter: blur(3px); }
.customer-auth-close { position: absolute; top: 10px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; color: var(--navy-deep); background: #eef2fb; cursor: pointer; }
.customer-auth-dialog-icon { display: block; margin-bottom: 8px; color: var(--navy); font-size: 32px; }
.customer-auth-dialog h2 { margin: 0; color: var(--navy-deep); font-size: 22px; }
.customer-auth-dialog > p { margin: 9px 0 20px; color: #566171; font-size: 13px; line-height: 1.6; }
.customer-auth-dialog-actions { display: grid; gap: 10px; }
.customer-auth-dialog-actions .customer-auth-link { min-height: 44px; }
.customer-auth-dialog-actions .customer-auth-register .google-mark { color: white; }
.header-actions form { margin: 0; }
.cart-count, .nav-cart-icon i { position: absolute; top: 1px; right: 1px; display: grid; min-width: 18px; height: 18px; place-items: center; padding-inline: 4px; border: 1px solid white; border-radius: 99px; color: white; background: var(--amber); font-size: 10px; font-style: normal; font-weight: 700; }
.header-search-mobile { display: none; }
.desktop-nav { display: flex; height: 42px; align-items: center; gap: 36px; }
.desktop-nav a { display: inline-flex; height: 100%; align-items: center; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; }
.desktop-nav a:hover, .desktop-nav a.is-current { border-color: var(--navy); color: var(--navy); }

.flash { position: relative; z-index: 20; width: min(100% - 40px, 800px); margin: 14px auto; padding: 12px 16px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); }
.flash-success { border: 1px solid #bbebd2; color: #14532d; background: #effcf5; }
.flash-error { border: 1px solid #ffd3cc; color: #8e2619; background: #fff4f1; }
.flash ul { margin: 5px 0 0; padding-left: 20px; }
.site-main > .flash:first-child { margin-top: 16px; }

.home-page { padding-top: 22px; padding-bottom: 54px; }
.hero-banner { position: relative; display: grid; min-height: 368px; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; padding: 38px 54px; border: 1px solid #dce3f5; border-radius: 14px; background: linear-gradient(110deg, #fff 0%, #f4f6ff 51%, #e3eafa 100%); box-shadow: var(--shadow); }
.hero-banner::before, .hero-banner::after { position: absolute; content: ""; pointer-events: none; }
.hero-banner::before { inset: 0 0 0 45%; background: radial-gradient(ellipse at 78% 45%, rgb(255 255 255 / 7%) 0 12%, transparent 62%), linear-gradient(90deg, #f4f6ff 0%, rgb(239 244 255 / 42%) 30%, rgb(15 31 59 / 8%) 100%); }
.hero-banner::after { right: 10%; bottom: -100px; width: 420px; height: 240px; border-radius: 50%; background: rgb(30 58 138 / 10%); filter: blur(54px); }
.hero-backdrop { position: absolute; inset: 0 0 0 46%; background: radial-gradient(ellipse at 80% 35%, rgb(255 255 255 / 76%), transparent 55%), linear-gradient(125deg, #e5ebfa, #dbe4f4 68%, #ced8ec); }
.hero-slide { z-index: 1; display: grid; min-width: 0; grid-area: 1 / 1; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; gap: clamp(24px, 3vw, 40px); padding: 0 0 25px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; }
.hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; }
.hero-slide[aria-hidden="true"] { pointer-events: none; }
.hero-slide.is-entering .hero-copy { animation: hero-copy-enter .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero-slide.is-entering .hero-books { animation: hero-books-enter 1.1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hero-copy-enter {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes hero-books-enter {
    from { opacity: .35; transform: translateX(24px) scale(.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 5px; color: #74400c; background: #ffefcc; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero-kicker .material-symbols-outlined { font-size: 16px; }
.eyebrow { margin-bottom: 8px; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.hero-copy > .eyebrow { display: block; width: fit-content; margin-top: 18px; }
.hero-copy h1 { max-width: 620px; margin: 0 0 14px; color: var(--navy-deep); font-size: clamp(34px, 4vw, 51px); font-weight: 700; letter-spacing: -.055em; line-height: 1.16; text-wrap: balance; }
.hero-copy h2 { max-width: 620px; margin: 0 0 14px; color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: clamp(34px, 4vw, 51px); font-weight: 700; letter-spacing: -.055em; line-height: 1.16; text-wrap: balance; }
.hero-copy h1 em { color: #9a5a08; font-weight: 400; }
.hero-copy h2 em { color: #9a5a08; font-weight: 400; }
.hero-copy > p { max-width: 480px; margin-bottom: 19px; color: #566171; font-size: 14px; line-height: 1.75; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; text-align: center; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 7px 14px rgb(30 58 138 / 14%); }
.button:active { transform: translateY(1px) scale(.985); }
.button .material-symbols-outlined { font-size: 18px; }
.button-primary { border-color: var(--navy-deep); color: white; background: var(--navy); }
.button-primary:hover { background: var(--navy-deep); }
.button-secondary { border-color: #cfdbf5; color: var(--navy-deep); background: var(--wash); }
.button-secondary:hover { border-color: var(--navy); background: #e3eaff; }
.button-accent { color: white; background: #7a3900; }
.button-accent:hover { background: #603000; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 18px; color: #536077; font-size: 11px; }
.hero-trust span::first-letter { color: var(--navy); }
.hero-books { position: relative; z-index: 1; display: flex; height: 260px; align-items: center; justify-content: center; }
.hero-books img { width: 31%; height: 73%; object-fit: cover; border: 3px solid white; border-radius: 6px; box-shadow: 0 15px 25px rgb(15 23 42 / 20%); }
.hero-books img:first-child { z-index: 1; transform: translate(32px, 17px) rotate(-12deg); }
.hero-books img:nth-child(2) { z-index: 2; width: 38%; height: 90%; }
.hero-books img:last-child { z-index: 1; transform: translate(-30px, 18px) rotate(10deg); }
.hero-dots { position: absolute; bottom: 10px; left: 54px; z-index: 3; display: flex; gap: 5px; }
.hero-dot { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dot::before { width: 7px; height: 7px; border-radius: 99px; background: #8797b5; content: ""; transition: width .2s, background .2s; }
.hero-dot:hover::before, .hero-dot:focus-visible::before { background: var(--navy); }
.hero-dot.is-active::before { width: 20px; border-radius: 99px; background: var(--navy); }
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-dot::before { transition: none; }
    .hero-slide.is-entering .hero-copy, .hero-slide.is-entering .hero-books { animation: none; }
}
.section-space { margin-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.section-heading h2, .catalog-heading h1 { margin: 0; color: var(--navy-deep); font-size: 25px; letter-spacing: -.04em; line-height: 1.35; }
.section-heading > div > p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-size: 12px; font-weight: 600; }
.text-link:hover { color: #0b1d51; text-decoration: underline; }
.text-link .material-symbols-outlined { font-size: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category-tile { display: flex; min-height: 108px; flex-direction: column; align-items: center; justify-content: center; padding: 12px 10px; border: 1px solid #edf0f6; border-radius: 10px; background: white; transition: transform .2s, box-shadow .2s; text-align: center; }
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.category-icon { display: grid; width: 37px; height: 37px; margin-bottom: 8px; place-items: center; border-radius: 10px; color: var(--navy); background: #e8eeff; font-size: 19px; }
.category-tile strong { font-size: 11px; font-weight: 600; line-height: 1.35; }
.category-tile small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.category-promo .category-icon { color: #a24b03; background: #fff0dd; }
.reader-quote { position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; margin: 34px calc((min(100vw - 48px, 1280px) - 100vw) / 2); padding: 18px max(24px, calc((100vw - 1280px) / 2)); color: var(--navy-deep); background: #edf2ff; }
.reader-quote > .material-symbols-outlined { color: var(--navy); font-size: 25px; }
.reader-quote blockquote { margin: 0; font-size: 16px; font-style: italic; line-height: 1.6; }
.reader-quote cite { grid-column: 2; margin-top: -7px; color: #566171; font-size: 10px; font-style: normal; }
.reader-stack { display: flex; padding-left: 8px; }
.reader-stack i { display: grid; width: 27px; height: 27px; margin-left: -8px; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--navy); font-size: 8px; font-style: normal; font-weight: 700; }
.reader-stack i:nth-child(2) { background: #7a3900; }
.reader-stack i:nth-child(3) { background: #62708a; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.book-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 11px; border: 1px solid #edf0f6; border-radius: 11px; background: white; transition: box-shadow .2s, transform .2s; }
.book-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.book-cover-link { position: relative; display: block; overflow: hidden; aspect-ratio: .77; border-radius: 6px; background: var(--wash); }
.book-cover { width: 100%; height: 100%; object-fit: cover; box-shadow: 2px 4px 12px rgb(30 58 138 / 8%); }
.book-badge { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 3px 7px; border-radius: 3px; color: var(--navy); background: #dce6ff; font-size: 9px; font-weight: 700; }
.book-badge.badge-warm { color: #7a3900; background: #ffdfc4; }
.book-card-copy { display: flex; min-height: 132px; flex: 1; flex-direction: column; padding: 10px 1px 0; }
.book-category { display: block; overflow: hidden; color: #7a8391; font-size: 9px; font-weight: 600; letter-spacing: .055em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.book-card h3 { display: -webkit-box; overflow: hidden; margin: 5px 0 2px; color: #17233d; font-size: 14px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.book-card h3 a:hover { color: var(--navy); }
.book-card-copy > p { margin: 0; overflow: hidden; color: #697386; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.book-rating { margin-top: 7px; color: #3e4655; font-size: 10px; }
.book-rating > span { color: var(--amber); }
.book-rating small { color: #8991a0; }
.book-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: auto; padding-top: 8px; }
.book-card-bottom > strong { color: var(--navy-deep); font-size: 12px; font-variant-numeric: tabular-nums; }
.add-to-cart { display: grid; width: 31px; height: 29px; place-items: center; border: 0; border-radius: 7px; color: var(--navy); background: var(--wash); cursor: pointer; transition: background .2s, color .2s; }
.add-to-cart:hover { color: white; background: var(--navy); }
.add-to-cart .material-symbols-outlined { font-size: 17px; }
.new-arrivals { padding: 24px; border-radius: 14px; background: #f1f4fc; }
.new-grid .book-card { flex-direction: row; align-items: center; gap: 11px; }
.new-grid .book-cover-link { width: 35%; flex: none; aspect-ratio: .72; }
.new-grid .book-card-copy { min-width: 0; min-height: 0; padding: 0; }
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; padding: 17px; border: 1px solid #ecf0f6; border-radius: 11px; background: white; }
.service-strip > div { display: grid; grid-template-columns: 35px 1fr; align-items: center; column-gap: 9px; }
.service-strip .material-symbols-outlined { grid-row: span 2; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; color: var(--navy); background: #eaf0ff; font-size: 18px; }
.service-strip strong { font-size: 10px; }
.service-strip small { color: var(--muted); font-size: 9px; }
.author-publishing-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 34px; padding: 29px 32px; border: 1px solid #061d64; border-radius: 12px; color: white; background: radial-gradient(circle at 100% 20%, rgb(255 255 255 / 8%) 0 20%, transparent 21%), linear-gradient(108deg, #183b98, #00236f); box-shadow: var(--shadow); }
.author-banner-copy { max-width: 680px; }
.author-banner-label { display: inline-flex; align-items: center; gap: 7px; color: #ffdfa6; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.author-banner-label .material-symbols-outlined { font-size: 16px; }
.author-publishing-banner h2 { max-width: 520px; margin: 9px 0 6px; font-size: 23px; line-height: 1.3; }
.author-publishing-banner p { max-width: 550px; margin: 0; color: #e0e8fb; font-size: 12px; line-height: 1.6; }
.author-banner-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; min-height: 42px; padding-inline: 16px; white-space: nowrap; }
.author-banner-action .material-symbols-outlined { font-size: 18px; }
.catalog-heading { margin: 14px 0 24px; }
.catalog-heading > p:not(.eyebrow) { margin: 7px 0; color: var(--muted); }
.catalog-heading .text-link { margin-top: 5px; }
.catalog-grid { margin-bottom: 50px; }
.empty-state { display: flex; min-height: 280px; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px solid #edf0f6; border-radius: 14px; background: white; text-align: center; }
.empty-state > .material-symbols-outlined { display: grid; width: 57px; height: 57px; margin-bottom: 10px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--wash); font-size: 28px; }
.empty-state h2 { margin: 5px 0; color: var(--navy-deep); font-size: 21px; }
.empty-state p { margin: 4px 0 17px; color: var(--muted); font-size: 13px; }

.site-footer { margin-top: 15px; padding: 37px 0 17px; background: white; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 36px; }
.footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-grid h2 { margin: 4px 0 3px; font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; }
.footer-grid a:not(.brand) { color: #626b79; font-size: 11px; overflow-wrap: anywhere; }
.footer-grid a:not(.brand):hover { color: var(--navy); text-decoration: underline; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-words strong { font-size: 14px; }
.footer-brand .brand-words small { display: none; }
.footer-about p { max-width: 350px; margin: 12px 0 0; color: #5f6878; font-size: 11px; line-height: 1.7; }
.footer-pills { display: grid; width: 100%; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.footer-pills span { padding: 6px 8px; border-radius: 5px; background: var(--wash); font-size: 10px; text-align: center; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 38px; color: #687080; font-size: 10px; }
.footer-bottom > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.footer-bottom .material-symbols-outlined { font-size: 14px; }
.mobile-nav { display: none; }

.page-container { padding-top: 29px; padding-bottom: 56px; }
.info-page { max-width: 940px; }
.info-intro { margin-bottom: 30px; padding: 32px 36px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(110deg, white, var(--wash)); }
.info-intro .eyebrow { margin-bottom: 8px; }
.info-intro h1 { margin-bottom: 10px; color: var(--navy-deep); font-size: clamp(28px, 4vw, 40px); letter-spacing: -.045em; line-height: 1.2; }
.info-intro p { max-width: 660px; margin: 0; color: #566171; font-size: 14px; line-height: 1.8; }
.info-content { display: grid; gap: 22px; }
.info-section h2 { margin-bottom: 8px; color: var(--navy-deep); font-size: 19px; }
.info-section p, .info-section li { color: #566171; font-size: 13px; line-height: 1.8; }
.info-section p:last-child { margin-bottom: 0; }
.info-section ul { display: grid; gap: 7px; margin: 8px 0 0; padding-left: 21px; }
.info-section a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 15px 18px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.faq-list summary { color: var(--navy-deep); cursor: pointer; font-size: 14px; font-weight: 600; }
.faq-list details p { margin: 10px 0 0; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-title { display: flex; align-items: center; gap: 11px; }
.back-link { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--navy); background: #e9efff; }
.page-title h1 { margin: 0; color: var(--navy-deep); font-size: 27px; letter-spacing: -.04em; }
.page-title p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.checkout-steps { display: flex; align-items: center; gap: 11px; color: #8b94a3; font-size: 11px; }
.checkout-steps > span { display: flex; align-items: center; gap: 6px; }
.checkout-steps > span::first-letter { color: var(--navy); }
.checkout-steps > i { width: 28px; height: 1px; background: #ccd4e2; }
.checkout-steps .step-current { color: var(--navy); font-weight: 700; }
.checkout-steps .step-done { color: #27552f; }
.checkout-steps-mobile { display: none; }
.shipping-promo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 17px; border-radius: 11px; color: var(--navy-deep); background: #eaf0ff; }
.shipping-promo > .material-symbols-outlined { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 8px; background: white; }
.shipping-promo strong { font-size: 13px; }
.shipping-promo p { margin: 2px 0 0; color: #5e697c; font-size: 11px; }
.promo-progress { margin-left: auto; padding: 5px 9px; border-radius: 5px; color: #24552b; background: #e0f7e7; font-size: 10px; font-weight: 600; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(290px, .9fr); align-items: start; gap: 24px; }
.cart-main { display: grid; gap: 18px; }
.panel { border: 1px solid #edf0f6; border-radius: 12px; background: white; box-shadow: var(--shadow); }
.cart-panel { padding: 20px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2, .order-summary > h2, .checkout-summary h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; letter-spacing: -.035em; }
.panel-heading h2 .material-symbols-outlined { color: var(--navy); font-family: "Material Symbols Outlined"; font-size: 19px; }
.panel-heading h2 small, .item-count { padding: 4px 9px; border-radius: 99px; color: var(--navy); background: #e5ecff; font-family: Inter, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.cart-stock { color: #667085; font-size: 10px; }
.cart-stock i, .cart-book-info small i, .product-stock i, .product-stock-inline i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #3ba66b; }
.cart-column-labels { display: grid; grid-template-columns: minmax(0, 1fr) 112px 112px 116px; gap: 16px; margin-top: 18px; padding: 10px 12px; border-radius: 8px; color: #596579; background: var(--wash); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cart-column-labels span:not(:first-child) { text-align: center; }
.cart-line { display: grid; grid-template-columns: 74px minmax(0, 1fr) 112px 112px 116px 24px; align-items: center; gap: 13px; margin-top: 12px; padding: 13px 10px; border-radius: 11px; background: #f6f8ff; }
.cart-book-cover { overflow: hidden; width: 72px; height: 105px; border: 1px solid #e7e9ed; border-radius: 6px; background: white; box-shadow: 2px 4px 10px rgb(30 58 138 / 10%); }
.cart-book-cover img { width: 100%; height: 100%; object-fit: cover; }
.cart-book-info h3 { margin: 3px 0; font-size: 17px; line-height: 1.35; }
.cart-book-info p { margin: 0 0 7px; color: #687182; font-size: 11px; }
.cart-book-info small { color: #596579; font-size: 9px; }
.cart-unit-price, .cart-line-total { font-size: 12px; text-align: center; }
.cart-line-total { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 15px; }
.quantity-control { display: inline-flex; width: fit-content; min-width: 98px; height: 35px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #edf0f5; border-radius: 8px; background: white; }
.quantity-control button { width: 29px; height: 100%; border: 0; background: transparent; color: #465266; cursor: pointer; font-size: 17px; }
.quantity-control button:hover { color: var(--navy); background: #e8eeff; }
.quantity-control input { width: 32px; min-width: 28px; border: 0; outline: 0; background: transparent; font-size: 12px; text-align: center; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.cart-remove button { display: grid; width: 28px; height: 32px; place-items: center; border: 0; border-radius: 6px; color: #737e90; background: transparent; cursor: pointer; }
.cart-remove button:hover { color: #a02d2d; background: #fff0ed; }
.cart-remove .material-symbols-outlined { font-size: 18px; }
.mobile-remove-label { display: none; }
.cart-continue { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 19px; }
.cart-continue > span { display: inline-flex; align-items: center; gap: 6px; color: #747d8a; font-size: 10px; }
.cart-continue > span .material-symbols-outlined { color: var(--navy); font-size: 16px; }
.voucher-panel { padding: 17px 20px; }
.voucher-panel .panel-heading h2 { font-size: 18px; }
.voucher-panel .panel-heading > small { color: var(--muted); font-size: 10px; }
.voucher-form { display: flex; gap: 8px; margin-top: 12px; }
.voucher-form input { width: 100%; height: 42px; padding: 0 13px; border: 1px solid #e4e8f0; border-radius: 7px; background: #f7f8fd; font-size: 12px; text-transform: uppercase; }
.voucher-form .button { min-width: 108px; height: 42px; }
.voucher-active { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 9px 11px; border-radius: 7px; color: #17603a; background: #effcf5; font-size: 11px; }
.voucher-active .material-symbols-outlined { font-size: 16px; }
.voucher-active strong { margin-left: auto; }
.cart-quote { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 12px; color: var(--navy-deep); background: #edf2ff; }
.cart-quote > .material-symbols-outlined { display: grid; width: 35px; height: 35px; flex: none; place-items: center; border-radius: 50%; background: #dce6ff; }
.cart-quote blockquote { margin: 0 0 5px; font-size: 14px; font-style: italic; }
.cart-quote p { margin: 0; color: #657084; font-size: 10px; }
.order-summary { position: sticky; top: 128px; padding: 21px; }
.order-summary > h2 { margin-bottom: 18px; }
.summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 12px 0; color: #515d70; font-size: 12px; }
.summary-row strong { flex: none; color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.summary-row em { color: #7b8290; font-size: 10px; }
.summary-row.discount { color: #74400c; }
.summary-row.discount strong { color: #8d380d; }
.summary-row.discount small { padding: 2px 5px; border-radius: 3px; background: #ffebcf; font-size: 9px; }
.summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 17px 0; padding: 14px 0 2px; border-top: 1px solid #e8ecf4; color: var(--ink); font-weight: 600; }
.summary-total strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 23px; font-variant-numeric: tabular-nums; }
.checkout-button { width: 100%; min-height: 48px; justify-content: space-between; padding-inline: 18px; }
.assurance-list { display: grid; gap: 8px; margin: 17px 0; padding: 0; list-style: none; }
.assurance-list li { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.assurance-list .material-symbols-outlined { color: var(--navy); font-size: 16px; }
.payment-pills { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 9px; border-top: 1px solid #edf0f5; }
.payment-pills span { padding: 4px 7px; border-radius: 4px; background: var(--wash); font-size: 9px; }
.cart-empty { margin: 10px 0 30px; }
.cart-mobile-bar { display: none; }

.checkout-intro { display: flex; align-items: center; justify-content: space-between; margin: 1px 0 17px; }
.ssl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 7px; color: var(--navy); background: #edf2ff; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ssl-badge .material-symbols-outlined { font-size: 16px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr); align-items: start; gap: 24px; }
.checkout-form-column { display: grid; gap: 18px; }
.checkout-panel, .checkout-summary { padding: 20px; }
.checkout-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.checkout-section-heading > span:first-child { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 8px; color: var(--navy); background: #e5edff; font-family: Merriweather, Georgia, serif; font-size: 15px; }
.checkout-section-heading > div { min-width: 0; flex: 1; }
.checkout-section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.checkout-section-heading p { margin: 2px 0 0; color: #727d8d; font-size: 10px; }
.checkout-section-heading > small { padding: 4px 8px; border-radius: 99px; color: #7a3900; background: #ffe3ce; font-size: 9px; font-weight: 700; }
.field-label { display: block; margin: 12px 0 5px; color: #303b4c; font-size: 11px; font-weight: 600; }
.field-label span { color: #8a93a0; font-weight: 400; }
.form-control { display: block; width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid #e0e6f0; border-radius: 7px; background: #f8f9ff; color: var(--ink); font-size: 12px; resize: vertical; }
.form-control:focus { border-color: var(--navy); background: white; outline: 2px solid rgb(30 58 138 / 12%); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-error { display: block; margin-top: 4px; color: #ad3023; font-size: 10px; }
.address-note { display: flex; align-items: center; gap: 5px; margin: 10px 0 0; color: #768093; font-size: 10px; }
.address-note .material-symbols-outlined { font-size: 14px; }
.choice-grid { display: grid; gap: 9px; }
.courier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-card { position: relative; display: flex; min-height: 122px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px 12px 12px 35px; border: 1px solid #e2e8f5; border-radius: 9px; background: #f2f5ff; cursor: pointer; transition: border .2s, background .2s; }
.choice-card:has(input:checked) { border-color: #91a9e1; background: #e3ebff; }
.choice-card input { position: absolute; top: 16px; left: 12px; accent-color: var(--navy); }
.choice-card strong { font-size: 11px; line-height: 1.35; }
.choice-card small { margin: 5px 0; color: #626e82; font-size: 9px; line-height: 1.4; }
.choice-card b { color: var(--navy-deep); font-size: 12px; }
.payment-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.payment-option { display: flex; min-height: 44px; align-items: center; gap: 7px; padding: 8px; border: 1px solid #e8ecf4; border-radius: 7px; color: #3c4658; background: #f8f9ff; cursor: pointer; font-size: 10px; transition: border .2s, background .2s; }
.payment-option:has(input:checked) { border-color: #9aafe4; color: var(--navy-deep); background: #eaf0ff; }
.payment-option input { flex: none; accent-color: var(--navy); }
.payment-symbol { color: var(--navy); font-size: 16px; }
.checkout-summary { position: sticky; top: 128px; }
.checkout-summary .panel-heading { margin-bottom: 15px; }
.checkout-book-list { display: grid; gap: 8px; margin-bottom: 16px; }
.checkout-book { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 8px; background: #f0f4ff; }
.checkout-book img { width: 49px; height: 65px; flex: none; border-radius: 4px; object-fit: cover; box-shadow: 0 2px 7px rgb(15 23 42 / 12%); }
.checkout-book > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.checkout-book strong { overflow: hidden; font-family: Merriweather, Georgia, serif; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.checkout-book small { color: #6e7787; font-size: 9px; }
.checkout-book b { color: var(--navy-deep); font-size: 11px; }
.checkout-summary .summary-row { margin-block: 9px; font-size: 11px; }
.checkout-summary .summary-total { margin-bottom: 13px; padding: 13px 12px; border: 0; border-radius: 8px; background: #eaf0ff; }
.checkout-summary .summary-total strong { font-size: 20px; }
.simulation-note { display: flex; gap: 6px; margin: 9px 0 12px; color: #737d8b; font-size: 9px; line-height: 1.5; }
.simulation-note .material-symbols-outlined { flex: none; color: var(--navy); font-size: 15px; }
.checkout-pay { width: 100%; min-height: 48px; }
.checkout-pay strong { margin-left: auto; font-size: 12px; }

.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #727c8b; font-size: 11px; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs strong { color: var(--navy-deep); font-weight: 600; }
.orders-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); align-items: start; gap: 22px; }
.account-sidebar { display: grid; gap: 13px; }
.account-card { display: flex; flex-direction: column; align-items: center; padding: 19px; }
.account-avatar { display: grid; width: 66px; height: 66px; place-items: center; border: 3px solid var(--navy); border-radius: 50%; color: var(--navy); font-size: 37px; }
.account-card h2 { margin: 9px 0 0; font-size: 18px; }
.account-card > p { margin: 1px 0 8px; color: #737d8c; font-size: 11px; }
.member-badge { padding: 5px 9px; border-radius: 99px; color: #7a3900; background: #ffe4ce; font-size: 10px; font-weight: 600; }
.reader-stats { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; padding: 11px; border-radius: 8px; background: var(--wash); text-align: center; }
.reader-stats span { display: flex; flex-direction: column; color: #647084; font-size: 9px; }
.reader-stats strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 18px; }
.account-menu { display: grid; overflow: hidden; padding: 7px; }
.account-menu a { display: flex; align-items: center; gap: 9px; padding: 10px 8px; border-radius: 7px; font-size: 11px; }
.account-menu a:hover, .account-menu .is-current { color: var(--navy); background: #eaf0ff; }
.account-menu a > span:first-child { color: var(--navy); font-size: 17px; }
.account-menu a > span:last-child { margin-left: auto; color: var(--navy); }
.help-card { padding: 15px; border-radius: 11px; color: var(--navy-deep); background: #edf2ff; }
.help-card > .material-symbols-outlined { float: left; margin: 0 8px 5px 0; font-size: 19px; }
.help-card h3 { margin: 0; font-family: Inter, sans-serif; font-size: 12px; }
.help-card p { clear: both; margin: 9px 0; color: #647084; font-size: 10px; }
.help-card a { font-size: 10px; font-weight: 600; }
.orders-main { display: grid; gap: 13px; }
.orders-toolbar { padding: 17px; }
.orders-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.orders-title .eyebrow { margin-bottom: 2px; }
.orders-title h1 { margin: 0; color: var(--navy-deep); font-size: 26px; letter-spacing: -.045em; }
.year-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 6px; background: var(--wash); font-size: 10px; }
.year-tag .material-symbols-outlined { font-size: 15px; }
.order-search { display: flex; height: 39px; align-items: center; gap: 8px; margin-top: 13px; padding: 0 10px; border: 1px solid #e4e8f0; border-radius: 7px; background: var(--wash); }
.order-search > .material-symbols-outlined { color: #657084; font-size: 18px; }
.order-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.order-search button { padding: 5px 9px; border: 0; border-radius: 5px; color: white; background: var(--navy); cursor: pointer; font-size: 10px; }
.order-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.order-filters a { padding: 7px 10px; border-radius: 6px; color: #525d70; background: #eef2fb; font-size: 10px; }
.order-filters a.filter-active { color: white; background: var(--navy); }
.order-card { overflow: hidden; }
.order-card-top { display: flex; align-items: center; gap: 15px; padding: 11px 15px; color: #667184; background: #f3f6ff; font-size: 10px; }
.order-card-top > span:first-child { color: var(--navy-deep); font-weight: 600; }
.order-card-top .material-symbols-outlined { margin-right: 4px; font-size: 15px; vertical-align: middle; }
.order-status { margin-left: auto; padding: 5px 9px; border-radius: 99px; color: #17643e; background: #e1f8e9; font-weight: 600; }
.status-diproses { color: #80500b; background: #fff0cf; }
.status-dikirim { color: #244989; background: #e3edff; }
.order-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; padding: 15px; }
.order-product-list { display: grid; align-content: center; gap: 10px; }
.order-book { display: flex; align-items: center; gap: 12px; }
.order-book img { width: 48px; height: 65px; flex: none; border-radius: 4px; object-fit: cover; box-shadow: 0 2px 7px rgb(15 23 42 / 10%); }
.order-book h3 { margin: 2px 0; font-size: 14px; }
.order-book p { margin: 0; color: #697386; font-size: 10px; }
.more-items { color: var(--navy); font-size: 10px; }
.order-card-total { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; text-align: right; }
.order-card-total small { color: #6a7485; font-size: 9px; }
.order-card-total strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 17px; }
.order-card-total .button { min-height: 32px; margin-top: 5px; padding: 6px 11px; font-size: 10px; }
.order-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 15px; border-top: 1px solid #edf0f6; color: #657084; font-size: 10px; }
.order-card-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.order-card-footer .material-symbols-outlined { color: var(--navy); font-size: 15px; }
.order-card-footer a { color: var(--navy); font-weight: 600; }
.orders-empty { min-height: 350px; }
.order-detail-page > .text-link { margin-bottom: 17px; }
.order-confirmation { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; padding: 28px; text-align: center; }
.confirmation-icon { display: grid; width: 52px; height: 52px; margin-bottom: 12px; place-items: center; border-radius: 50%; color: #187846; background: #e6f8ee; }
.confirmation-icon .material-symbols-outlined { font-size: 30px; }
.order-confirmation .eyebrow { margin-bottom: 5px; }
.order-confirmation h1 { margin: 0; color: var(--navy-deep); font-size: 26px; }
.confirmation-copy { max-width: 610px; margin: 8px 0 18px; color: #677285; font-size: 12px; }
.confirmation-meta { display: grid; width: min(100%, 750px); grid-template-columns: repeat(3, 1fr); gap: 9px; }
.confirmation-meta span { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 7px; color: #727d8d; background: #f2f5ff; font-size: 9px; }
.confirmation-meta strong { color: var(--navy-deep); font-size: 11px; }
.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr); align-items: start; gap: 18px; }
.detail-book { margin: 10px 0; }
.checkout-panel hr { margin: 17px 0; border: 0; border-top: 1px solid #e9edf4; }
.checkout-panel > p { color: #5d687a; font-size: 11px; line-height: 1.7; }

.product-page { padding-top: 19px; }
.desktop-breadcrumbs { margin-bottom: 18px; }
.product-layout { display: grid; grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr); gap: 26px; }
.product-gallery { min-width: 0; }
.product-image-stage { position: relative; display: flex; min-height: 395px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 48px 24px 45px; border: 1px solid #e8edf8; border-radius: 13px; background: linear-gradient(150deg, #f5f7ff, #e5ecff); }
.product-image-stage::before, .product-image-stage::after { position: absolute; width: 175px; height: 175px; border-radius: 50%; content: ""; filter: blur(50px); }
.product-image-stage::before { top: -50px; left: -35px; background: rgb(119 153 238 / 28%); }
.product-image-stage::after { right: -35px; bottom: -52px; background: rgb(255 183 125 / 23%); }
.product-image-stage > img { position: relative; z-index: 1; width: min(62%, 245px); height: 300px; border-radius: 6px; object-fit: cover; box-shadow: 4px 14px 28px rgb(15 23 42 / 25%); }
.product-stock, .product-ribbon { position: absolute; z-index: 2; top: 15px; left: 15px; padding: 6px 9px; border-radius: 99px; background: white; font-size: 10px; font-weight: 600; }
.product-stock { color: var(--navy); }
.product-ribbon { top: 49px; color: white; background: #693400; }
.image-stage-note { position: absolute; z-index: 2; right: 13px; bottom: 12px; left: 13px; display: flex; justify-content: space-between; gap: 6px; color: #596579; font-size: 9px; }
.image-stage-note > span { display: inline-flex; align-items: center; gap: 4px; }
.image-stage-note .material-symbols-outlined { color: var(--navy); font-size: 14px; }
.product-reader-note { display: flex; align-items: center; gap: 10px; margin-top: 11px; padding: 11px; border-radius: 9px; background: #edf2ff; }
.product-reader-note > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.product-reader-note strong { font-size: 10px; }
.product-reader-note small { color: #697386; font-size: 9px; }
.product-reader-note > .material-symbols-outlined { color: var(--navy); }
.product-information { min-width: 0; }
.product-badges { display: flex; gap: 7px; }
.product-badges > span:first-child { padding: 4px 7px; border-radius: 4px; color: var(--navy); background: #e6edff; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.product-stock-inline { padding: 4px 7px; border-radius: 4px; color: #45604c; background: #ecf8ef; font-size: 9px; }
.product-information h1 { max-width: 760px; margin: 10px 0 8px; color: var(--navy-deep); font-size: clamp(29px, 3.2vw, 42px); letter-spacing: -.055em; line-height: 1.19; text-wrap: balance; }
.product-author { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; color: #667184; font-size: 11px; }
.product-author strong { color: #333d4c; font-weight: 600; }
.rating-line { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 7px; color: #586578; background: #edf2ff; font-size: 10px; }
.rating-line > span { color: var(--amber); letter-spacing: .08em; }
.rating-line strong { color: var(--ink); font-size: 11px; }
.rating-line a { color: var(--navy); }
.rating-line small { margin-left: auto; font-size: 9px; }
.price-panel { margin-top: 13px; padding: 15px; border: 1px solid #edf0f6; border-radius: 10px; background: white; }
.price-panel > div { display: flex; align-items: baseline; gap: 11px; }
.price-panel > div > strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 31px; font-variant-numeric: tabular-nums; }
.price-panel del { color: #7c8491; font-size: 10px; }
.saving-badge { padding: 4px 6px; border-radius: 3px; color: #78430d; background: #fff0cf; font-size: 9px; font-weight: 700; }
.price-panel > p { display: flex; align-items: center; gap: 5px; margin: 7px 0 0; color: #6d7788; font-size: 9px; }
.price-panel > p .material-symbols-outlined { color: var(--navy); font-size: 14px; }
.product-stock-panel { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 13px; border: 1px solid #edf0f6; border-radius: 9px; background: white; }
.product-stock-panel > div { display: flex; flex-direction: column; }
.product-stock-panel strong { font-size: 11px; }
.product-stock-panel small { color: #667184; font-size: 9px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.product-actions .button { min-height: 45px; }
.product-actions + form { display: none; }
.trust-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; padding: 11px; border-radius: 8px; color: #5d687a; background: #edf2ff; }
.trust-row > span { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; }
.trust-row .material-symbols-outlined { color: var(--navy); font-size: 16px; }
.product-description { overflow: hidden; margin-top: 30px; }
.product-tabs { display: flex; gap: 15px; overflow-x: auto; padding: 12px 16px; background: #edf2ff; }
.product-tabs a { flex: none; padding: 4px 6px; color: #5f6b7f; font-size: 11px; }
.product-tabs .tab-active { border-bottom: 2px solid var(--navy); color: var(--navy); font-weight: 600; }
.description-copy { max-width: 900px; padding: 22px; }
.description-copy h2 { margin: 0 0 13px; font-size: 20px; }
.description-copy > p { color: #535f72; font-size: 12px; line-height: 1.8; }
.description-copy blockquote { margin: 0 0 14px; padding: 14px; border-left: 3px solid var(--navy); border-radius: 6px; color: var(--navy-deep); background: #edf2ff; font-size: 14px; font-style: italic; }
.description-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 17px 0; }
.description-highlights > div { display: grid; grid-template-columns: 23px 1fr; align-items: center; column-gap: 6px; padding: 11px; border-radius: 7px; background: #f2f5ff; }
.description-highlights .material-symbols-outlined { grid-row: span 2; color: var(--navy); font-size: 17px; }
.description-highlights strong { font-size: 10px; }
.description-highlights p { margin: 2px 0 0; color: #727d8d; font-size: 9px; }
.specifications { padding-top: 9px; }
.specifications h3 { font-size: 16px; }
.specifications dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.specifications dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px; border-radius: 5px; background: #f5f7fc; font-size: 10px; }
.specifications dt { color: #737d8d; }
.specifications dd { margin: 0; font-weight: 600; text-align: right; }
.related-grid { margin-bottom: 14px; }
.mobile-buy-bar { display: none; }

@media (max-width: 1000px) {
    .content-width { width: min(100% - 36px, 1280px); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .header-main { grid-template-columns: 210px minmax(180px, 1fr) 220px; gap: 14px; }
    .hero-banner { padding-inline: clamp(24px, 4vw, 35px); }
    .hero-slide { grid-template-columns: minmax(0, 1.05fr) minmax(230px, .95fr); gap: 24px; }
    .hero-copy { min-width: 0; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(30px, 4vw, 40px); }
    .hero-books { min-width: 0; }
    .reader-quote { margin-inline: -18px; }
    .cart-layout { grid-template-columns: minmax(0, 1.5fr) minmax(265px, .8fr); gap: 15px; }
    .cart-panel { padding: 15px; }
    .cart-column-labels { grid-template-columns: minmax(0, 1fr) 87px 98px 95px; gap: 9px; }
    .cart-line { grid-template-columns: 60px minmax(0, 1fr) 87px 98px 95px 20px; gap: 9px; padding-inline: 7px; }
    .cart-book-cover { width: 58px; height: 85px; }
    .orders-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 15px; }
}

@media (max-width: 900px) and (min-width: 761px) {
    .hero-banner { gap: 8px; padding-inline: 24px; }
    .hero-slide { grid-template-columns: minmax(0, 1.05fr) minmax(230px, .95fr); gap: 22px; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(29px, 3.8vw, 36px); }
    .hero-books { height: clamp(200px, 27vw, 250px); }
}

@media (max-width: 760px) {
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); font-size: 13px; }
    .content-width { width: calc(100% - 28px); }
    .site-header { position: sticky; }
    .header-main { min-height: 51px; grid-template-columns: 1fr auto; gap: 8px; }
    .brand { gap: 6px; }
    .header-main .brand-logo { width: 112px; height: 29px; }
    .footer-brand .brand-logo { width: 160px; height: 42px; }
    .brand-mark { width: 28px; height: 28px; border-radius: 6px; }
    .brand-mark .material-symbols-outlined { font-size: 17px; }
    .brand-words strong { font-size: 11px; }
    .brand-words small { font-size: 7px; letter-spacing: .09em; }
    .header-main > .search-form { display: none; }
    .header-actions { gap: 5px; }
    .header-icon { width: 35px; height: 35px; }
    .header-icon .material-symbols-outlined { font-size: 20px; }
    .header-actions .customer-auth-link { min-height: 32px; padding: 0 8px; border-radius: 6px; font-size: 10px; }
    .header-search-mobile { display: block; padding: 0 0 8px; }
    .header-search-mobile .search-form { height: 35px; }
    .header-search-mobile .search-form input { font-size: 10px; }
    .desktop-nav { display: none; }
    .flash { width: calc(100% - 28px); margin: 9px auto; padding: 9px 12px; font-size: 11px; }
    .home-page { padding-top: 11px; padding-bottom: 27px; }
    .hero-banner { gap: 14px; min-height: 0; padding: clamp(18px, 5vw, 26px); border-radius: 10px; }
    .hero-banner::before { inset: 0; background: linear-gradient(145deg, #fff 0%, #f4f6ff 58%, rgb(239 244 255 / 70%) 100%); }
    .hero-banner::after { right: -70px; bottom: -120px; width: 240px; height: 180px; }
    .hero-backdrop { inset: 55% 0 0; opacity: .55; }
    .hero-slide { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 28px; }
    .hero-copy { width: 100%; max-width: none; }
    .hero-kicker { gap: 6px; padding: 5px 8px; font-size: 9px; }
    .hero-kicker .material-symbols-outlined { font-size: 14px; }
    .hero-copy > .eyebrow { margin-top: 12px; margin-bottom: 6px; font-size: 8px; letter-spacing: .1em; }
    .hero-copy h1, .hero-copy h2 { max-width: 24ch; margin-bottom: 9px; font-size: clamp(25px, 6.5vw, 36px); letter-spacing: -.045em; line-height: 1.2; }
    .hero-copy h1 em, .hero-copy h2 em { display: inline; }
    .hero-copy > p { display: block; overflow: visible; max-width: 58ch; margin-bottom: 13px; color: #4e5867; font-size: 12px; line-height: 1.6; }
    .hero-copy .button { min-height: 38px; gap: 6px; padding: 8px 12px; border-radius: 6px; font-size: 11px; }
    .hero-copy .button .material-symbols-outlined { font-size: 16px; }
    .hero-trust { display: flex; gap: 12px; margin-top: 11px; font-size: 9px; }
    .hero-books { position: relative; top: auto; right: auto; bottom: auto; width: min(100%, 330px); height: clamp(135px, 42vw, 190px); justify-self: center; opacity: 1; }
    .hero-books img { width: 29%; height: 72%; border-width: 2px; }
    .hero-books img:first-child { transform: translate(15px, 9px) rotate(-9deg); }
    .hero-books img:nth-child(2) { width: 34%; height: 90%; }
    .hero-books img:last-child { transform: translate(-15px, 9px) rotate(8deg); }
    .hero-dots { bottom: 5px; left: 50%; gap: 0; transform: translateX(-50%); }
    .hero-dot { width: 26px; height: 26px; }
    .hero-dot::before { width: 6px; height: 6px; }
    .hero-dot.is-active::before { width: 16px; }
    .section-space { margin-top: 25px; }
    .section-heading { align-items: center; margin-bottom: 11px; }
    .section-heading .eyebrow { margin-bottom: 2px; font-size: 8px; letter-spacing: .11em; }
    .section-heading h2, .catalog-heading h1 { font-size: 17px; }
    .section-heading > div > p:last-child { margin-top: 2px; font-size: 9px; }
    .desktop-only { display: none; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .category-tile { min-height: 82px; padding: 8px 4px; border-radius: 8px; }
    .category-icon { width: 30px; height: 30px; margin-bottom: 5px; border-radius: 8px; font-size: 16px; }
    .category-tile strong { font-size: 9px; }
    .category-tile small { margin-top: 1px; font-size: 7px; }
    .reader-quote { grid-template-columns: 17px 1fr; gap: 6px; margin: 22px -14px; padding: 13px 14px; }
    .reader-quote > .material-symbols-outlined { font-size: 19px; }
    .reader-quote blockquote { font-size: 11px; line-height: 1.55; }
    .reader-quote cite { grid-column: 2; margin-top: -4px; font-size: 8px; }
    .reader-stack { display: none; }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .book-card { padding: 7px; border-radius: 8px; }
    .book-cover-link { aspect-ratio: .78; border-radius: 4px; }
    .book-badge { top: 5px; left: 5px; padding: 2px 5px; font-size: 7px; }
    .book-card-copy { min-height: 111px; padding-top: 7px; }
    .book-category { font-size: 7px; letter-spacing: .03em; }
    .book-card h3 { margin: 3px 0 1px; font-size: 11px; line-height: 1.35; }
    .book-card-copy > p { font-size: 8px; }
    .book-rating { margin-top: 5px; font-size: 8px; }
    .book-rating small { font-size: 7px; }
    .book-card-bottom { padding-top: 6px; }
    .book-card-bottom > strong { font-size: 10px; }
    .add-to-cart { width: 25px; height: 24px; border-radius: 6px; }
    .add-to-cart .material-symbols-outlined { font-size: 14px; }
    .new-arrivals { margin-inline: -2px; padding: 12px; border-radius: 10px; }
    .new-grid { gap: 8px; }
    .new-grid .book-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .new-grid .book-cover-link { width: auto; aspect-ratio: .78; }
    .new-grid .book-card-copy { min-height: 111px; padding: 7px 1px 0; }
    .service-strip { grid-template-columns: repeat(2, 1fr); gap: 12px 7px; margin-top: 21px; padding: 12px 9px; }
    .service-strip > div { grid-template-columns: 29px 1fr; column-gap: 6px; }
    .service-strip .material-symbols-outlined { width: 28px; height: 28px; font-size: 15px; }
    .service-strip strong { font-size: 8px; }
    .service-strip small { font-size: 7px; }
    .author-publishing-banner { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; padding: 16px 13px; border-radius: 9px; }
    .author-banner-label { font-size: 8px; }
    .author-banner-label .material-symbols-outlined { font-size: 13px; }
    .author-publishing-banner h2 { margin: 6px 0 4px; font-size: 17px; }
    .author-publishing-banner p { font-size: 10px; line-height: 1.55; }
    .author-banner-action { width: 100%; min-height: 36px; font-size: 10px; }
    .catalog-heading { margin: 7px 0 15px; }
    .catalog-heading > p:not(.eyebrow) { font-size: 11px; }
    .catalog-grid { margin-bottom: 25px; }
    .empty-state { min-height: 240px; padding: 22px; }
    .empty-state h2 { font-size: 18px; }
    .site-footer { margin-top: 5px; padding: 23px 0 15px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 14px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-brand .brand-mark { width: 28px; height: 28px; }
    .footer-brand .brand-words strong { font-size: 12px; }
    .footer-about p { margin-top: 7px; font-size: 9px; }
    .footer-grid h2 { font-size: 10px; }
    .footer-grid > div:not(.footer-about) { gap: 5px; }
    .footer-grid a:not(.brand) { font-size: 9px; }
    .footer-pills { gap: 4px; }
    .footer-pills span { padding: 5px; font-size: 8px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 20px; font-size: 8px; }
    .mobile-nav { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; height: calc(59px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5, 1fr); padding: 5px 5px env(safe-area-inset-bottom); border-top: 1px solid #e9edf4; background: rgb(255 255 255 / 97%); backdrop-filter: blur(14px); }
    .mobile-nav a { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #626d7c; }
    .mobile-nav .material-symbols-outlined { font-size: 19px; }
    .mobile-nav small { font-size: 8px; }
    .mobile-nav a.is-active { color: var(--navy); }
    .mobile-nav a.is-active .material-symbols-outlined { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
    .nav-cart-icon { position: relative; display: inline-flex; }
    .nav-cart-icon i { top: -4px; right: -8px; min-width: 14px; height: 14px; font-size: 8px; }

    .page-container { padding-top: 16px; padding-bottom: 30px; }
    .info-intro { margin-bottom: 22px; padding: 22px 20px; }
    .info-intro h1 { font-size: 27px; }
    .info-intro p, .info-section p, .info-section li { font-size: 12px; }
    .info-content { gap: 18px; }
    .faq-list details { padding: 13px 14px; }
    .faq-list summary { font-size: 13px; }
    .page-title-row { margin-bottom: 13px; }
    .page-title { gap: 7px; }
    .back-link { width: 31px; height: 31px; }
    .back-link .material-symbols-outlined { font-size: 17px; }
    .page-title h1 { font-size: 20px; }
    .page-title p { font-size: 9px; }
    .checkout-steps:not(.checkout-steps-mobile) { display: none; }
    .checkout-steps-mobile { display: flex; justify-content: space-between; gap: 4px; margin: 0 0 13px; font-size: 8px; }
    .checkout-steps-mobile > span { gap: 4px; }
    .checkout-steps-mobile > i { width: auto; flex: 1; }
    .checkout-steps-mobile > span > b { font-weight: 500; }
    .shipping-promo { gap: 9px; margin-bottom: 12px; padding: 10px; }
    .shipping-promo > .material-symbols-outlined { width: 31px; height: 31px; font-size: 17px; }
    .shipping-promo strong { font-size: 10px; }
    .shipping-promo p { max-width: 200px; font-size: 8px; }
    .promo-progress { display: none; }
    .cart-layout { display: flex; flex-direction: column; gap: 12px; }
    .cart-main { width: 100%; gap: 11px; }
    .cart-panel { width: 100%; padding: 11px; border-radius: 10px; }
    .panel-heading h2, .order-summary > h2, .checkout-summary h2 { font-size: 15px; }
    .panel-heading h2 .material-symbols-outlined { font-size: 16px; }
    .panel-heading h2 small, .item-count { padding: 3px 6px; font-size: 8px; }
    .cart-stock { font-size: 8px; }
    .cart-column-labels { display: none; }
    .cart-line { position: relative; grid-template-columns: 57px minmax(0, 1fr) 26px; gap: 8px; margin-top: 9px; padding: 9px; border: 1px solid #edf0f6; border-radius: 9px; background: #fff; }
    .cart-book-cover { grid-row: span 2; width: 55px; height: 81px; }
    .cart-book-info { grid-column: 2; }
    .cart-book-info .book-category { font-size: 7px; }
    .cart-book-info h3 { margin: 2px 0; font-size: 13px; }
    .cart-book-info p { margin-bottom: 4px; font-size: 9px; }
    .cart-book-info small { font-size: 8px; }
    .cart-unit-price { display: none; }
    .quantity-control { min-width: 82px; height: 28px; }
    .quantity-control button { width: 25px; font-size: 15px; }
    .quantity-control input { width: 27px; font-size: 10px; }
    .cart-line .quantity-control { grid-column: 2; justify-self: start; }
    .cart-line-total { grid-column: 2; grid-row: 3; justify-self: end; margin-top: -25px; font-family: Inter, sans-serif; font-size: 11px; }
    .cart-remove { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
    .cart-remove button { width: auto; height: 25px; gap: 4px; font-size: 8px; }
    .cart-remove .material-symbols-outlined { font-size: 16px; }
    .mobile-remove-label { display: none; }
    .cart-continue { margin-top: 11px; }
    .cart-continue .text-link { font-size: 9px; }
    .cart-continue > span { display: none; }
    .voucher-panel { padding: 12px; }
    .voucher-panel .panel-heading h2 { font-size: 14px; }
    .voucher-panel .panel-heading > small { font-size: 8px; }
    .voucher-form { gap: 6px; margin-top: 8px; }
    .voucher-form input { height: 36px; padding-inline: 9px; font-size: 10px; }
    .voucher-form .button { min-width: 80px; min-height: 36px; height: 36px; padding: 7px; font-size: 10px; }
    .voucher-active { flex-wrap: wrap; font-size: 9px; }
    .cart-quote { padding: 12px; }
    .cart-quote blockquote { font-size: 11px; }
    .cart-quote p { font-size: 8px; }
    .order-summary { position: static; width: 100%; padding: 13px; }
    .order-summary > h2 { margin-bottom: 10px; }
    .summary-row { margin-block: 8px; font-size: 10px; }
    .summary-row strong { font-size: 10px; }
    .summary-total { margin: 11px 0; padding-top: 9px; }
    .summary-total strong { font-size: 19px; }
    .checkout-button { min-height: 41px; font-size: 11px; }
    .assurance-list, .payment-pills { display: none; }
    .cart-mobile-bar { position: fixed; z-index: 35; right: 0; bottom: calc(59px + env(safe-area-inset-bottom)); left: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border-top: 1px solid #e6eaf2; background: rgb(255 255 255 / 97%); box-shadow: 0 -6px 18px rgb(15 23 42 / 5%); }
    .cart-mobile-bar > div { display: flex; flex-direction: column; }
    .cart-mobile-bar small { color: #727d8d; font-size: 8px; }
    .cart-mobile-bar strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 15px; }
    .cart-mobile-bar .button { min-height: 37px; padding: 7px 11px; font-size: 10px; }

    .checkout-intro { margin: 0 0 10px; }
    .checkout-intro .text-link { font-size: 10px; }
    .ssl-badge { padding: 6px 7px; font-size: 7px; }
    .ssl-badge .material-symbols-outlined { font-size: 13px; }
    .checkout-layout { display: flex; flex-direction: column; gap: 11px; }
    .checkout-form-column { display: contents; }
    .checkout-panel, .checkout-summary { width: 100%; padding: 12px; border-radius: 10px; }
    .checkout-section-heading { gap: 8px; margin-bottom: 11px; }
    .checkout-section-heading > span:first-child { width: 25px; height: 25px; border-radius: 6px; font-size: 12px; }
    .checkout-section-heading h2 { font-size: 14px; }
    .checkout-section-heading p { font-size: 8px; }
    .checkout-section-heading > small { padding: 3px 6px; font-size: 7px; }
    .field-label { margin: 9px 0 4px; font-size: 9px; }
    .form-control { min-height: 36px; padding: 8px 9px; font-size: 10px; }
    .form-grid { gap: 7px; }
    .field-error { font-size: 8px; }
    .address-note { font-size: 8px; }
    .courier-grid { grid-template-columns: 1fr; gap: 6px; }
    .choice-card { min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 9px 10px 9px 32px; }
    .choice-card input { top: 50%; left: 10px; transform: translateY(-50%); }
    .choice-card strong { grid-column: 1; font-size: 10px; }
    .choice-card small { grid-column: 1; margin: 0; font-size: 8px; }
    .choice-card b { grid-column: 2; grid-row: 1 / span 2; font-size: 10px; }
    .payment-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .payment-option { min-height: 36px; gap: 5px; padding: 6px; font-size: 8px; }
    .payment-symbol { font-size: 14px; }
    .checkout-summary { order: 2; }
    .checkout-summary .panel-heading { margin-bottom: 10px; }
    .checkout-book-list { gap: 6px; margin-bottom: 10px; }
    .checkout-book { gap: 8px; padding: 6px; }
    .checkout-book img { width: 38px; height: 50px; }
    .checkout-book strong { font-size: 11px; }
    .checkout-book small { font-size: 8px; }
    .checkout-book b { font-size: 9px; }
    .checkout-summary .summary-row { font-size: 9px; }
    .checkout-summary .summary-total { margin: 9px 0; padding: 10px; }
    .checkout-summary .summary-total strong { font-size: 17px; }
    .simulation-note { font-size: 8px; }
    .checkout-pay { min-height: 41px; font-size: 10px; }
    .checkout-pay strong { font-size: 10px; }

    .breadcrumbs { margin-bottom: 12px; font-size: 9px; }
    .orders-layout { display: flex; flex-direction: column; gap: 11px; }
    .account-sidebar { display: contents; }
    .account-card { width: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 0 10px; padding: 11px; border-radius: 9px; }
    .account-avatar { grid-row: 1 / span 3; width: 46px; height: 46px; border-width: 2px; font-size: 25px; }
    .account-card h2 { margin: 0; font-size: 14px; }
    .account-card > p { margin: 0; font-size: 9px; }
    .account-card .member-badge { grid-column: 2; justify-self: start; padding: 3px 6px; font-size: 8px; }
    .reader-stats { grid-column: 3; grid-row: 1 / span 3; width: auto; gap: 6px; margin: 0; padding: 7px; }
    .reader-stats strong { font-size: 14px; }
    .reader-stats span { font-size: 7px; }
    .account-menu { display: flex; width: calc(100vw - 28px); overflow-x: auto; gap: 5px; padding: 5px; border-radius: 8px; }
    .account-menu a { flex: none; gap: 5px; padding: 8px; font-size: 8px; }
    .account-menu a > span:first-child { font-size: 14px; }
    .account-menu a > span:last-child { display: none; }
    .help-card { display: none; }
    .orders-main { width: 100%; gap: 9px; }
    .orders-toolbar { padding: 11px; }
    .orders-title h1 { font-size: 19px; }
    .orders-title .eyebrow { font-size: 7px; }
    .year-tag { padding: 5px 6px; font-size: 8px; }
    .year-tag .material-symbols-outlined { font-size: 12px; }
    .order-search { height: 35px; margin-top: 9px; }
    .order-search input { font-size: 9px; }
    .order-search button { font-size: 8px; }
    .order-filters { flex-wrap: nowrap; overflow-x: auto; margin-top: 8px; padding-bottom: 2px; }
    .order-filters a { flex: none; padding: 6px 8px; font-size: 8px; }
    .order-card { border-radius: 9px; }
    .order-card-top { flex-wrap: wrap; gap: 4px 9px; padding: 8px 10px; font-size: 8px; }
    .order-card-top > span:first-child { width: calc(100% - 100px); }
    .order-status { margin-left: auto; }
    .order-card-body { grid-template-columns: minmax(0, 1fr) 105px; gap: 6px; padding: 10px; }
    .order-product-list { gap: 7px; }
    .order-book { gap: 8px; }
    .order-book img { width: 39px; height: 53px; }
    .order-book h3 { font-size: 11px; }
    .order-book p { font-size: 8px; }
    .order-book .book-category { font-size: 7px; }
    .order-card-total small { font-size: 7px; }
    .order-card-total strong { font-size: 12px; }
    .order-card-total .button { min-height: 27px; padding: 5px 7px; font-size: 8px; }
    .order-card-footer { align-items: flex-start; padding: 8px 10px; font-size: 8px; }
    .order-card-footer > span { max-width: 65%; line-height: 1.35; }
    .order-card-footer a { flex: none; font-size: 8px; }
    .orders-empty { min-height: 260px; }
    .order-confirmation { margin-bottom: 12px; padding: 18px 12px; }
    .confirmation-icon { width: 42px; height: 42px; margin-bottom: 9px; }
    .confirmation-icon .material-symbols-outlined { font-size: 24px; }
    .order-confirmation h1 { font-size: 20px; }
    .confirmation-copy { margin: 6px 0 12px; font-size: 10px; }
    .confirmation-meta { grid-template-columns: 1fr; gap: 5px; }
    .confirmation-meta span { flex-direction: row; align-items: center; justify-content: space-between; font-size: 8px; }
    .confirmation-meta strong { font-size: 9px; }
    .order-detail-grid { display: flex; flex-direction: column; gap: 10px; }

    .product-page { padding-top: 12px; padding-bottom: 18px; }
    .desktop-breadcrumbs { display: none; }
    .product-layout { display: flex; flex-direction: column; gap: 11px; }
    .product-gallery { display: contents; }
    .product-image-stage { order: 1; min-height: 280px; padding: 35px 14px; border-radius: 12px; }
    .product-image-stage > img { width: auto; max-width: 55%; height: 215px; }
    .product-stock, .product-ribbon { top: 9px; left: 9px; padding: 5px 7px; font-size: 8px; }
    .product-ribbon { top: 38px; }
    .image-stage-note { right: 8px; bottom: 8px; left: 8px; font-size: 7px; }
    .image-stage-note .material-symbols-outlined { font-size: 12px; }
    .product-reader-note { order: 2; margin: -3px 0 0; padding: 8px; }
    .product-reader-note .reader-stack i { width: 23px; height: 23px; font-size: 7px; }
    .product-reader-note strong { font-size: 8px; }
    .product-reader-note small { font-size: 7px; }
    .product-information { display: contents; }
    .product-badges { order: 3; }
    .product-badges > span:first-child, .product-stock-inline { padding: 3px 6px; font-size: 7px; }
    .product-information h1 { order: 4; margin: -6px 0 0; font-size: 22px; line-height: 1.27; }
    .product-author { order: 5; margin: -3px 0 0; gap: 5px; font-size: 8px; }
    .rating-line { order: 6; flex-wrap: wrap; gap: 5px; padding: 7px; font-size: 8px; }
    .rating-line > span { letter-spacing: 0; }
    .rating-line small { margin-left: auto; font-size: 7px; }
    .price-panel { order: 7; margin-top: -3px; padding: 10px; }
    .price-panel > div > strong { font-size: 25px; }
    .price-panel > p { font-size: 8px; }
    .product-stock-panel { order: 8; margin-top: -3px; padding: 9px; }
    .product-stock-panel strong { font-size: 9px; }
    .product-stock-panel small { font-size: 8px; }
    .product-quantity { min-width: 76px; }
    .product-actions { display: none; }
    .trust-row { order: 9; gap: 5px; padding: 8px; }
    .trust-row > span { gap: 3px; font-size: 7px; }
    .trust-row .material-symbols-outlined { font-size: 13px; }
    .product-description { margin-top: 14px; border-radius: 9px; }
    .product-tabs { gap: 5px; padding: 8px; }
    .product-tabs a { padding: 5px; font-size: 8px; }
    .description-copy { padding: 13px; }
    .description-copy h2 { font-size: 16px; }
    .description-copy > p { font-size: 9px; line-height: 1.75; }
    .description-copy blockquote { padding: 10px; font-size: 11px; }
    .description-highlights { grid-template-columns: 1fr; gap: 6px; margin: 12px 0; }
    .description-highlights > div { padding: 8px; }
    .description-highlights strong { font-size: 9px; }
    .description-highlights p { font-size: 8px; }
    .specifications h3 { font-size: 14px; }
    .specifications dl { grid-template-columns: 1fr; }
    .specifications dl > div { font-size: 8px; }
    .related-grid { margin-bottom: 0; }
    .mobile-buy-bar { position: fixed; z-index: 35; right: 0; bottom: calc(59px + env(safe-area-inset-bottom)); left: 0; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-top: 1px solid #e5eaf2; background: rgb(255 255 255 / 97%); box-shadow: 0 -6px 18px rgb(15 23 42 / 5%); }
    .mobile-buy-bar > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
    .mobile-buy-bar small { color: #707b8c; font-size: 7px; }
    .mobile-buy-bar strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 13px; }
    .mobile-buy-bar .button { min-height: 35px; gap: 4px; padding: 6px 8px; font-size: 8px; white-space: nowrap; }
    .mobile-buy-bar .material-symbols-outlined { font-size: 14px; }
}

@media (max-width: 390px) {
    .content-width { width: calc(100% - 20px); }
    .hero-banner { gap: 10px; padding: 16px; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(24px, 7.2vw, 28px); }
    .hero-copy > p { font-size: 11px; }
    .hero-trust { flex-direction: column; gap: 3px; }
    .hero-books { height: 135px; }
    .cart-line { grid-template-columns: 49px minmax(0, 1fr) 21px; gap: 6px; padding: 7px; }
    .cart-book-cover { width: 47px; height: 70px; }
    .cart-book-info h3 { font-size: 12px; }
    .order-card-body { grid-template-columns: minmax(0, 1fr) 96px; padding: 8px; }
    .reader-stats { gap: 4px; padding: 6px; }
    .reader-stats strong { font-size: 12px; }
    .author-publishing-banner { margin-inline: -2px; }
    .reader-quote { margin-inline: -10px; padding-inline: 10px; }
}

.book-card { position: relative; }
.book-card-price { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.book-card-price strong { color: var(--navy-deep); font-size: 12px; font-variant-numeric: tabular-nums; }
.book-card-price del { color: #8a93a0; font-size: 9px; }
.book-card-price small { color: #8b410e; font-size: 8px; font-weight: 600; }
.book-wishlist { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgb(226 232 240 / 85%); border-radius: 50%; color: #465266; background: rgb(255 255 255 / 94%); cursor: pointer; transition: color .2s, transform .2s, background .2s; }
.book-wishlist:hover, .book-wishlist.is-saved { color: var(--navy); background: white; transform: translateY(-1px); }
.book-wishlist.is-saved .material-symbols-outlined { font-variation-settings: "FILL" 1, "wght" 500; }

.cart-heading-actions { display: flex; align-items: center; gap: 16px; }
.cart-bulk-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; color: #657084; font-size: 10px; }
.cart-bulk-tools label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.cart-bulk-tools input, .cart-select input { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; }
.cart-select { display: grid; place-items: center; }
.delete-selected { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 0; color: #a33a30; background: transparent; cursor: pointer; font-size: 10px; }
.delete-selected:disabled { color: #9aa2af; cursor: not-allowed; }
.delete-selected .material-symbols-outlined { font-size: 16px; }
.cart-column-labels { grid-template-columns: 20px minmax(0, 1fr) 100px 100px 105px; }
.cart-column-labels::before { content: ""; }
.cart-line { grid-template-columns: 20px 64px minmax(0, 1fr) 100px 100px 105px 24px; gap: 8px; }

.payment-filters { display: flex; gap: 6px; overflow-x: auto; margin: -3px 0 11px; padding-bottom: 4px; }
.payment-filters button { flex: none; padding: 7px 10px; border: 1px solid #e7ebf3; border-radius: 6px; color: #5e697b; background: #f8f9fc; cursor: pointer; font-size: 10px; transition: color .2s, background .2s, border-color .2s; }
.payment-filters button:hover, .payment-filters button.is-active { border-color: #b8c8ee; color: var(--navy-deep); background: #eaf0ff; }
.payment-option[hidden] { display: none; }
.payment-option { position: relative; }
.payment-option.is-selected { border-color: #9aafe4; color: var(--navy-deep); background: #eaf0ff; }
.payment-option input { accent-color: var(--navy); }
.payment-demo-note { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; color: #737d8b; font-size: 9px; line-height: 1.5; }
.payment-demo-note .material-symbols-outlined { flex: none; color: var(--navy); font-size: 14px; }

.product-tabs button { flex: none; padding: 4px 6px; border: 0; border-bottom: 2px solid transparent; color: #5f6b7f; background: transparent; cursor: pointer; font-size: 11px; }
.product-tabs button.tab-active { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.product-tab-panel[hidden] { display: none; }
.product-tab-panel h2 { font-size: 20px; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; }
.product-thumbnails button { width: 57px; height: 72px; overflow: hidden; padding: 4px; border: 1px solid #e3e8f2; border-radius: 7px; background: white; cursor: pointer; transition: border-color .2s, transform .2s; }
.product-thumbnails button:hover { transform: translateY(-2px); }
.product-thumbnails button.is-active { border: 2px solid var(--navy); }
.product-thumbnails img { width: 100%; height: 100%; border-radius: 3px; object-fit: cover; }
.gallery-zoom { position: absolute; z-index: 3; top: 15px; right: 15px; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #e0e5ef; border-radius: 50%; color: var(--ink); background: rgb(255 255 255 / 92%); cursor: pointer; }
.gallery-zoom .material-symbols-outlined { font-size: 20px; }
.gallery-actions { position: absolute; z-index: 3; top: 60px; right: 15px; display: grid; gap: 7px; }
.icon-action { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #e0e5ef; border-radius: 50%; color: #4d596c; background: rgb(255 255 255 / 92%); cursor: pointer; transition: color .2s, transform .2s; }
.icon-action:hover, .icon-action.is-saved { color: var(--navy); transform: translateY(-1px); }
.icon-action.is-saved .material-symbols-outlined { font-variation-settings: "FILL" 1, "wght" 500; }
.gallery-dialog { position: fixed; width: min(92vw, 670px); max-width: none; max-height: 90dvh; padding: 24px; border: 1px solid #dfe5f1; border-radius: 14px; background: white; box-shadow: var(--shadow-float); }
.gallery-dialog::backdrop { background: rgb(12 21 40 / 76%); backdrop-filter: blur(4px); }
.gallery-dialog img { max-width: 100%; max-height: calc(90dvh - 48px); margin: auto; object-fit: contain; }
.gallery-dialog button { position: absolute; top: 8px; right: 8px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: #eef2fb; cursor: pointer; }
.review-summary { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 20px; }
.review-summary > div { display: grid; gap: 2px; text-align: center; }
.review-summary > div > strong { color: var(--navy-deep); font-family: Merriweather, Georgia, serif; font-size: 38px; }
.review-summary > div > span { color: var(--amber); letter-spacing: .1em; }
.review-summary small, .review-summary p { color: #687386; font-size: 11px; }
.review-summary p { margin: 0; }
.wishlist-heading { align-items: end; margin-bottom: 20px; }
.wishlist-heading h1 { margin: 0; color: var(--navy-deep); font-size: 29px; letter-spacing: -.04em; }
.wishlist-heading > div > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.wishlist-grid > [data-wishlist-item] { display: contents; }
.wishlist-grid > [data-wishlist-item][hidden] { display: none; }
.wishlist-empty { margin-bottom: 40px; }
.wishlist-empty[hidden] { display: none; }
.order-progress { margin: 0 0 18px; padding: 20px; }
.order-progress-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.order-progress-heading .eyebrow { margin-bottom: 3px; }
.order-progress-heading h2 { margin: 0; color: var(--navy-deep); font-size: 18px; }
.order-progress-heading > small { color: #778194; font-size: 9px; }
.order-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 0; padding: 0; list-style: none; }
.order-progress li { position: relative; display: grid; justify-items: center; gap: 7px; color: #8791a0; font-size: 10px; text-align: center; }
.order-progress li:not(:last-child)::after { position: absolute; top: 15px; left: calc(50% + 19px); width: calc(100% - 38px); height: 2px; background: #e4e8f0; content: ""; }
.order-progress li.is-complete { color: var(--navy); }
.order-progress li.is-complete:not(:last-child)::after { background: #9aafe4; }
.order-progress-marker { position: relative; z-index: 1; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #dfe5ef; border-radius: 50%; color: #7d8796; background: white; font-weight: 600; }
.order-progress li.is-complete .order-progress-marker { border-color: var(--navy); color: white; background: var(--navy); }
.order-progress li.is-current .order-progress-marker { outline: 4px solid #eaf0ff; }
.store-toast { position: fixed; z-index: 120; right: 20px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border: 1px solid #c9d6f0; border-radius: 9px; color: white; background: #142f76; box-shadow: var(--shadow-float); font-size: 12px; }
.store-toast[hidden] { display: none; }

@media (max-width: 1000px) {
    .cart-column-labels { grid-template-columns: 20px minmax(0, 1fr) 80px 84px 80px; gap: 5px; }
    .cart-line { grid-template-columns: 18px 54px minmax(0, 1fr) 80px 84px 80px 20px; gap: 5px; }
}

@media (max-width: 760px) {
    .book-wishlist { top: 11px; right: 11px; width: 28px; height: 28px; }
    .book-wishlist .material-symbols-outlined { font-size: 17px; }
    .book-card-price { gap: 1px 4px; }
    .book-card-price strong { font-size: 10px; }
    .book-card-price del { font-size: 7px; }
    .book-card-price small { font-size: 7px; }
    .cart-heading-actions { gap: 7px; }
    .cart-heading-actions .cart-stock { display: none; }
    .cart-heading { align-items: flex-start; }
    .cart-bulk-tools { margin-top: 10px; font-size: 8px; }
    .delete-selected { font-size: 8px; }
    .cart-column-labels { display: none; }
    .cart-line { grid-template-columns: 21px 49px minmax(0, 1fr) 21px; gap: 6px; padding: 9px 6px; }
    .cart-select { align-self: start; padding-top: 2px; }
    .cart-select input, .cart-bulk-tools input { width: 14px; height: 14px; }
    .cart-book-cover { grid-column: 2; grid-row: 1 / span 2; }
    .cart-book-info { grid-column: 3; grid-row: 1 / span 2; }
    .cart-line .quantity-control { grid-column: 3; grid-row: 3; justify-self: start; }
    .cart-line-total { grid-column: 3; grid-row: 3; margin-top: 0; }
    .cart-remove { grid-column: 4; grid-row: 1 / span 2; }
    .payment-filters { gap: 4px; margin-bottom: 8px; }
    .payment-filters button { padding: 6px 8px; font-size: 8px; }
    .payment-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .payment-option { min-height: 40px; font-size: 8px; }
    .payment-demo-note { font-size: 8px; }
    .product-thumbnails { order: 1; justify-content: center; margin-top: -3px; }
    .product-thumbnails button { width: 45px; height: 57px; padding: 3px; }
    .gallery-zoom, .gallery-actions { top: 9px; right: 9px; }
    .gallery-actions { top: 52px; }
    .gallery-zoom, .icon-action { width: 31px; height: 31px; }
    .product-image-stage > img { max-width: 55%; }
    .product-tabs button { padding: 5px; font-size: 8px; }
    .product-tab-panel h2 { font-size: 16px; }
    .review-summary { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
    .review-summary > div > strong { font-size: 25px; }
    .review-summary > div > span { font-size: 10px; }
    .review-summary small, .review-summary p { font-size: 8px; }
    .wishlist-heading { align-items: flex-start; }
    .wishlist-heading h1 { font-size: 21px; }
    .wishlist-heading > div > p:last-child { font-size: 9px; }
    .wishlist-heading > .text-link { font-size: 8px; white-space: nowrap; }
    .store-toast { right: 10px; bottom: calc(70px + env(safe-area-inset-bottom)); padding: 9px 12px; font-size: 10px; }
    .order-progress { margin-bottom: 11px; padding: 12px; }
    .order-progress-heading h2 { font-size: 13px; }
    .order-progress-heading > small { max-width: 115px; font-size: 7px; text-align: right; }
    .order-progress ol { gap: 2px; margin-top: 14px; }
    .order-progress li { gap: 5px; font-size: 7px; line-height: 1.3; }
    .order-progress li:not(:last-child)::after { top: 12px; left: calc(50% + 14px); width: calc(100% - 28px); }
    .order-progress-marker { width: 25px; height: 25px; font-size: 8px; }
}

.book-cover-fallback { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; padding: 8px; border: 1px solid #ded3c2; color: #293653; background: #f0e8d8; box-shadow: inset 0 0 0 5px #e8decd; text-align: center; }
.book-cover-fallback::before { position: absolute; top: 12px; color: #7d7468; content: "NUSANTARA"; font-size: 6px; font-weight: 700; letter-spacing: .16em; }
.book-cover-fallback strong { display: -webkit-box; overflow: hidden; max-width: 100%; margin: 12px 0 0; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.book-cover-fallback small { color: #6f675b; font-family: Inter, sans-serif; font-size: 8px; }
.book-cover-fallback[data-cover-size="card"] { position: absolute; inset: 0; aspect-ratio: .77; }
.book-cover-fallback[data-cover-size="cart"] { position: absolute; inset: 0; }
.book-cover-fallback[data-cover-size="compact"] { width: 49px; height: 65px; flex: none; border-radius: 4px; }
.book-cover-fallback[data-cover-size="compact"] strong { font-size: 7px; }
.book-cover-fallback[data-cover-size="compact"] small { font-size: 5px; }
.book-cover-fallback[data-cover-size="product"] { width: min(62%, 245px); height: 300px; border-radius: 6px; box-shadow: 4px 14px 28px rgb(15 23 42 / 18%); }
.book-cover-fallback[data-cover-size="product"] strong { font-size: 22px; }
.book-cover-fallback[data-cover-size="dialog"] { width: min(100%, 620px); height: min(70dvh, 720px); margin: auto; }
.book-cover-fallback[data-cover-size="dialog"] strong { font-size: clamp(22px, 5vw, 40px); }
.cart-book-cover { position: relative; }
.checkout-book > .book-cover-fallback[data-cover-size="compact"] { box-shadow: 0 2px 7px rgb(15 23 42 / 12%); }
.order-book > .book-cover-fallback[data-cover-size="compact"] { width: 48px; height: 65px; }

@media (max-width: 760px) {
    .book-cover-fallback[data-cover-size="product"] { width: min(55%, 245px); height: 215px; }
    .checkout-book > .book-cover-fallback[data-cover-size="compact"] { width: 38px; height: 50px; }
    .order-book > .book-cover-fallback[data-cover-size="compact"] { width: 39px; height: 53px; }
}
