:root {
    --book-navy: #25344f;
    --book-red: #b33f45;
    --book-cream: #fffaf0;
    --book-gold: #f4c839;
}

.nav-links a.active {
    color: var(--book-navy);
    font-weight: 700;
}

.book-container {
    width: min(1120px, calc(100% - 4rem));
    margin: 0 auto;
}

.book-hero {
    background: linear-gradient(135deg, #fffdf7 0%, #f3efe6 100%);
    padding: 145px 0 80px;
}

.book-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}

.book-eyebrow,
.book-section-label,
.purchase-kicker {
    color: var(--book-red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.book-hero h1 {
    color: #232323;
    font-size: clamp(2.55rem, 5vw, 4rem);
    line-height: 1.08;
    margin: 0.7rem 0 1rem;
}

.book-title {
    color: var(--book-navy);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.book-title cite,
.book-announcement cite,
.book-review cite {
    font-style: normal;
}

.book-subtitle {
    color: #5b6371;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.book-intro {
    color: #515151;
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 700px;
}

.book-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 2rem 0;
}

.book-button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.book-button-primary {
    background: var(--book-navy);
    color: #fff;
}

.book-button-primary:hover {
    background: #18243a;
    box-shadow: 0 7px 18px rgba(37, 52, 79, 0.22);
    transform: translateY(-1px);
}

.book-text-link {
    color: var(--book-navy);
    font-weight: 700;
    text-underline-offset: 0.25em;
}

.book-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-top: 2.25rem;
}

.book-facts div {
    display: grid;
    gap: 0.15rem;
}

.book-facts dt {
    color: #686868;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-facts dd {
    color: #303030;
    font-weight: 600;
}

.book-cover-wrap {
    justify-self: center;
    position: relative;
}

.book-cover-wrap::before {
    background: rgba(202, 85, 88, 0.16);
    border-radius: 24px;
    content: "";
    inset: 8% -8% -6% 9%;
    position: absolute;
    transform: rotate(3deg);
}

.book-cover-wrap img {
    border-radius: 4px;
    box-shadow: 0 22px 48px rgba(24, 36, 58, 0.24);
    display: block;
    height: auto;
    max-width: min(100%, 350px);
    position: relative;
    width: 100%;
}

.book-section {
    background: #fff;
    padding: 80px 0;
}

.book-copy-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 7vw, 6rem);
}

.book-section h2,
.book-purchase-section h2 {
    color: #292929;
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    line-height: 1.2;
    margin-top: 0.65rem;
}

.book-long-copy p {
    color: #555;
    font-size: 1.07rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.book-long-copy p:first-child {
    color: var(--book-navy);
    font-size: 1.25rem;
    font-weight: 700;
}

.book-topics-section {
    background: var(--book-cream);
}

.book-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    list-style: none;
    margin-top: 2.5rem;
}

.book-topics li {
    background: #fff;
    border-left: 4px solid var(--book-red);
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(37, 52, 79, 0.07);
    color: #444;
    font-weight: 600;
    min-height: 92px;
    padding: 1.25rem;
}

.book-photo {
    margin: 3rem auto 0;
    max-width: 780px;
}

.book-photo img {
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(37, 52, 79, 0.16);
    display: block;
    height: auto;
    width: 100%;
}

.book-photo figcaption {
    color: #6d6d6d;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 0.85rem;
    text-align: center;
}

.book-reviews-section {
    background: #f7f7f5;
    scroll-margin-top: 90px;
}

.book-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.book-review {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 2rem;
}

.book-review blockquote {
    color: #505050;
    flex: 1;
    font-size: 1.02rem;
    line-height: 1.72;
    position: relative;
}

.book-review blockquote::before {
    color: var(--book-red);
    content: "“";
    display: block;
    font-family: Georgia, serif;
    font-size: 3.5rem;
    height: 2.5rem;
    line-height: 1;
}

.book-review figcaption {
    border-top: 1px solid #e7e7e7;
    color: var(--book-navy);
    display: grid;
    gap: 0.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.book-review figcaption span {
    color: #707070;
    font-size: 0.9rem;
    line-height: 1.5;
}

.book-purchase-section {
    background: var(--book-navy);
    color: #fff;
    padding: 80px 0;
    scroll-margin-top: 90px;
}

.book-purchase-section .book-section-label {
    color: #f3a5a6;
}

.book-purchase-section h2 {
    color: #fff;
}

.book-purchase-intro {
    color: #dce1e9;
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

.purchase-grid {
    align-items: start;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.purchase-card {
    background: #fff;
    border-radius: 14px;
    color: #444;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 1.75rem;
}

.purchase-card h3 {
    color: var(--book-navy);
    font-size: 1.45rem;
    margin: 0.45rem 0 0.85rem;
}

.purchase-card p {
    line-height: 1.65;
}

.purchase-card .book-button {
    margin-top: 1.5rem;
    width: 100%;
}

.purchase-card-muted {
    background: #e9edf2;
}

.purchase-status {
    color: #6b7280;
    font-weight: 700;
    margin-top: 1.5rem;
    min-height: 48px;
    padding: 0.8rem 0;
    text-align: center;
}

.purchase-status span {
    color: var(--book-red);
}

.direct-order-form {
    margin-top: 1.5rem;
}

.direct-order-form label {
    color: var(--book-navy);
    display: block;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.direct-order-form select {
    background: #fff;
    border: 2px solid #cfd5de;
    border-radius: 7px;
    color: #303030;
    font: inherit;
    min-height: 48px;
    padding: 0.65rem 0.8rem;
    width: 100%;
}

.checkout-note {
    color: #727272;
    font-size: 0.82rem;
    margin-top: 0.8rem;
}

.checkout-note i {
    margin-right: 0.3rem;
}

.checkout-message {
    background: #fff4d6;
    border-left: 4px solid var(--book-gold);
    border-radius: 6px;
    color: #473b1c;
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
}

.bulk-order-note {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.bulk-order-note h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.bulk-order-note p {
    color: #dce1e9;
}

.bulk-order-note a {
    color: #fff;
    font-weight: 700;
    text-underline-offset: 0.22em;
}

.order-status-main {
    align-items: center;
    background: linear-gradient(135deg, #fffdf7 0%, #f3efe6 100%);
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 104px);
    padding: 140px 1rem 70px;
}

.order-status-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(37, 52, 79, 0.13);
    max-width: 680px;
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
}

.order-status-icon {
    align-items: center;
    background: #e5f3e9;
    border-radius: 50%;
    color: #24673b;
    display: flex;
    font-size: 1.5rem;
    height: 64px;
    justify-content: center;
    margin: 0 auto 1.25rem;
    width: 64px;
}

.order-status-card h1 {
    color: var(--book-navy);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0.6rem 0 1.4rem;
}

.order-status-card > p:not(.book-section-label) {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.order-status-card > p a {
    color: var(--book-navy);
    font-weight: 700;
}

.order-status-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .book-hero-grid,
    .book-copy-grid {
        grid-template-columns: 1fr;
    }

    .book-cover-wrap {
        grid-row: 1;
        max-width: 290px;
    }

    .book-hero-copy {
        text-align: center;
    }

    .book-intro {
        margin-inline: auto;
        text-align: left;
    }

    .book-hero-actions,
    .book-facts {
        justify-content: center;
    }

}

@media (max-width: 700px) {
    .book-container {
        width: min(100% - 2rem, 1120px);
    }

    .book-hero {
        padding: 115px 0 60px;
    }

    .book-hero-grid {
        gap: 2.5rem;
    }

    .book-section,
    .book-purchase-section {
        padding: 60px 0;
    }

    .book-topics,
    .book-reviews-grid,
    .purchase-grid {
        grid-template-columns: 1fr;
    }

    .purchase-card-direct {
        grid-column: auto;
    }

    .purchase-card {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .book-hero h1 {
        font-size: 2.35rem;
    }

    .book-cover-wrap {
        max-width: 235px;
    }

    .book-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .book-button {
        width: 100%;
    }

    .book-facts {
        justify-content: space-between;
        text-align: left;
    }

    .book-review,
    .purchase-card {
        padding: 1.4rem;
    }
}
