/* Presale detail: scoped so catalog and checkout pages keep their own layouts. */
.presale-page { background: #f6f5f1; color: #253d49; letter-spacing: 0; }
.presale-page .main-header { position: relative; top: auto; box-shadow: none; }
.presale-page .top-bar { font-size: .75rem; }
.presale-page .top-bar-link { font-size: .75rem; }
.presale-page .middle-bar { padding-block: 12px !important; }
.presale-page .nav-menu-link { color: #fff; font-size: .8rem; }
.presale-page .nav-menu-link:hover, .presale-page .nav-menu-link.active { color: #ffcf59; }
.presale-main { max-width: 1400px; padding: 26px 24px 64px; }
.presale-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: #63747c; margin-bottom: 28px; }
.presale-breadcrumb a { color: #526773; text-decoration: none; }
.presale-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.presale-eyebrow { color: #66766e; font: 700 .66rem/1.5 'Open Sans', sans-serif; letter-spacing: .12em; margin-bottom: 8px; }
.presale-intro h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 0; color: #153e52; }
.presale-intro > a { color: #214d60; font-size: .8rem; white-space: nowrap; text-decoration: none; }
.presale-intro > a i { margin-left: 8px; }
.presale-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: start; gap: 28px; }
.presale-overview { min-width: 0; background: white; border: 1px solid #e5e8e4; border-radius: 18px; padding: 28px; }
.presale-book-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.presale-cover { display: flex; align-items: center; justify-content: center; background: #eef0e9; padding: 24px; border-radius: 12px; min-width: 0; }
.presale-cover-image { display: block; width: auto; max-width: 100%; max-height: 390px; height: auto; object-fit: contain; border-radius: 3px 7px 7px 3px; box-shadow: 7px 12px 20px #16372c26; }
.presale-details { min-width: 0; overflow-wrap: anywhere; }
.presale-badge { display: inline-flex !important; align-items: center; gap: 7px; color: #32644e; background: #eaf3eb; border-radius: 30px; padding: 6px 10px; font-size: .66rem; font-weight: 700; }
.presale-status-dot { width: 6px; height: 6px; background: #528669; border-radius: 50%; }
.presale-page .book-title { font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.5; color: #123e53; margin-bottom: 10px !important; }
.presale-page .book-author h5 { font: 400 .9rem/1.7 'Open Sans', sans-serif; }
.presale-page .book-author a { color: #345c6c; }
.presale-page .book-price { padding-block: 16px; border-block: 1px solid #edf0ea; }
.presale-page .book-price h2 { color: #163e50 !important; font: 700 1.9rem/1.4 'Open Sans', sans-serif; }
.presale-page .book-info { font-size: .78rem; }
.presale-page .book-info strong { font-size: .67rem; font-weight: 600; color: #63747c; }
.presale-page .book-info .text-muted { color: #294957 !important; }
.presale-page .book-info .row { row-gap: 10px; }
.presale-description { border-top: 1px solid #e7ebe6; padding-top: 24px; margin-top: 24px; overflow-wrap: anywhere; }
.presale-description h2 { font-size: 1.3rem; color: #173f52; margin-bottom: 12px; }
.presale-description p { color: #5a6c73; font-size: .88rem; line-height: 1.9; margin: 0; }
.presale-checkout { min-width: 0; }
.presale-page #order-box { border: 1px solid #dde3df; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px #183b4610; }
.presale-page #order-box .card-header { padding: 24px 24px 20px; background: #143e51; border: 0; }
.presale-page #order-box .card-header .presale-eyebrow { color: #ebc66e; }
.presale-page #order-heading { font-size: 1.4rem; color: white; margin: 0 0 8px; line-height: 1.4; }
.presale-checkout-caption { font-size: .75rem; line-height: 1.7; color: #d1dee3; margin: 0; }
.presale-page #order-box .card-body { padding: 24px; font-size: .8rem; overflow-wrap: anywhere; }
.presale-order-form .form-label { color: #344e5a; font-size: .76rem; font-weight: 600; margin-bottom: 6px; }
.presale-order-form .form-control { border: 1px solid #d7dfdc; border-radius: 8px; background: #fdfefd; font-size: .85rem; padding: 10px 12px; min-height: 44px; }
.presale-order-form #quantity { max-width: 110px; display: inline-block; margin: 0 10px 0 12px; }
.presale-order-form #quantity-help { display: block; margin-top: 4px; font-size: .68rem; }
.presale-page #order-box .btn-primary { background: #efc25b; border: 1px solid #efc25b; color: #173a4b; border-radius: 8px; padding: 13px 12px; font: 700 .8rem/1.6 'Open Sans', sans-serif; white-space: normal; }
.presale-page #order-box .btn-primary:hover { background: #e5b54a; border-color: #e5b54a; }
.presale-page a:focus-visible, .presale-page button:focus-visible { outline: 3px solid #b98213; outline-offset: 3px; }
.presale-order-form .form-control:focus { border-color: #356980; box-shadow: 0 0 0 3px #35698025; }
@media (min-width: 992px) {
    .presale-page .secondary-nav .row > .col-md-8 { width: 90%; }
    .presale-page .secondary-nav .row > .col-md-4 { width: 10%; }
    .presale-page .secondary-nav .gap-4 { gap: 14px !important; flex-wrap: wrap; }
}
@media (max-width: 1199px) and (min-width: 992px) {
    .presale-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; }
    .presale-book-grid { grid-template-columns: 1fr; }
    .presale-cover-image { max-height: 300px; }
}
@media (max-width: 991px) {
    .presale-layout { grid-template-columns: 1fr; }
    .presale-main { max-width: 760px; }
}
@media (max-width: 575px) {
    .presale-main { padding: 20px 16px 40px; }
    .presale-intro { display: block; margin-bottom: 20px; }
    .presale-intro > a { display: inline-block; margin-top: 12px; }
    .presale-overview { padding: 20px; }
    .presale-book-grid { grid-template-columns: 1fr; gap: 22px; }
    .presale-cover-image { max-height: 300px; }
    .presale-page .book-info .col-sm-6 { width: 50%; }
    .presale-page #order-box .card-body { padding: 20px; }
}
