/* =========================================================
   AGENT STEFAN VAKANTIEBOEK
========================================================= */

.book-main {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto 4rem;
    color: var(--text);
}

/* =========================================================
   SHOWCASE
========================================================= */

.book-showcase {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(260px, 0.55fr);
    grid-template-areas:
        "intro order"
        "covers order";
    gap: 1.5rem;

    margin-bottom: 2rem;
    padding: 1.6rem;

    position: relative;
    overflow: hidden;

    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.02)
        ),
        radial-gradient(
            circle at 15% 10%,
            rgba(240, 236, 7, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(31, 111, 235, 0.18),
            transparent 34%
        ),
        rgba(5, 15, 32, 0.93);

    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.book-showcase::before {
    content: "PUBLICATION FILE";
    position: absolute;
    top: 13px;
    right: 18px;

    color: rgba(234, 244, 255, 0.35);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.book-showcase-intro {
    grid-area: intro;
    max-width: 820px;
}

.book-showcase-label,
.book-order-label,
.book-section-heading span,
.book-final-cta span {
    display: inline-block;

    color: var(--cyan);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.book-showcase-intro h2 {
    margin: 0.5rem 0 0.8rem;

    color: var(--white);
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 1.05;

    text-shadow:
        0 0 22px rgba(31, 111, 235, 0.3);
}

.book-showcase-intro p {
    max-width: 760px;
    margin: 0;

    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* =========================================================
   TWO BOOK COVERS
========================================================= */

.book-cover-gallery {
    grid-area: covers;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.book-cover-panel {
    margin: 0;
    text-align: center;
}

.book-cover-frame {
    min-height: 390px;
    padding: 0.8rem;

    display: grid;
    place-items: center;

    border: 1px solid rgba(78, 161, 255, 0.28);
    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.015)
        ),
        rgba(2, 10, 24, 0.72);

    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.book-cover-image {
    width: 100%;
    max-width: 275px;
    max-height: 370px;

    display: block;
    object-fit: contain;

    border-radius: 5px;

    filter:
        drop-shadow(0 16px 22px rgba(0, 0, 0, 0.45));
}

.book-cover-panel figcaption {
    margin-top: 0.65rem;

    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   ORDER PANEL
========================================================= */

.book-order-panel {
    grid-area: order;

    padding: 1.35rem;

    align-self: stretch;

    border: 1px solid rgba(240, 236, 7, 0.32);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            180deg,
            rgba(240, 236, 7, 0.075),
            rgba(255, 255, 255, 0.015)
        ),
        rgba(5, 15, 32, 0.94);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.book-order-panel h3 {
    margin: 0.5rem 0 0.8rem;

    color: var(--white);
    font-size: 1.55rem;
}

.book-price {
    margin-bottom: 1rem;

    color: var(--yellow);
    font-size: clamp(2.3rem, 5vw, 3.2rem);
    font-weight: 1000;

    text-shadow:
        0 0 18px rgba(240, 236, 7, 0.18);
}

.book-order-highlights {
    margin: 0 0 1.25rem;
    padding: 0;

    display: grid;
    gap: 0.7rem;

    list-style: none;
}

.book-order-highlights li {
    position: relative;
    padding-left: 1.5rem;

    color: var(--text);
    line-height: 1.5;
}

.book-order-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;

    color: var(--cyan);
    font-weight: 1000;
}

.book-buy-button {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 1.15rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(95, 178, 255, 0.7);
    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.02)
        ),
        linear-gradient(
            180deg,
            #2868cc,
            #174896
        );

    color: #ffffff;
    font-weight: 1000;
    text-align: center;
    text-decoration: none;

    box-shadow:
        0 5px 0 rgba(2, 8, 20, 0.75),
        0 14px 26px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);

    transition:
        transform 0.16s ease,
        filter 0.16s ease,
        box-shadow 0.16s ease;
}

.book-buy-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.09);

    box-shadow:
        0 8px 0 rgba(2, 8, 20, 0.75),
        0 20px 32px rgba(0, 0, 0, 0.38),
        0 0 24px rgba(31, 111, 235, 0.18);
}

.book-delivery-note {
    margin: 1rem 0 0;

    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
}

/* =========================================================
   CONTENT SECTIONS
========================================================= */

.book-content-section {
    margin-bottom: 2rem;
}

.book-section-heading {
    margin-bottom: 0.9rem;
}

.book-section-heading h2 {
    margin: 0.35rem 0 0;

    color: var(--white);
    font-size: clamp(1.55rem, 4vw, 2.35rem);
}

.book-summary-card {
    padding: 1.5rem;

    position: relative;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.02)
        ),
        rgba(7, 18, 34, 0.92);

    box-shadow:
        0 17px 38px rgba(0, 0, 0, 0.31),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.book-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;

    background:
        linear-gradient(
            180deg,
            var(--yellow),
            var(--blue)
        );
}

.book-summary-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.8;
}

.book-summary-card p + p {
    margin-top: 0.8rem;
}

.book-summary-highlight {
    color: var(--yellow) !important;
    font-weight: 900;
}

/* =========================================================
   SPECIFICATIONS
========================================================= */

.book-specification-grid {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.book-specification-item {
    min-height: 112px;
    padding: 0.9rem;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        ),
        rgba(5, 15, 32, 0.89);

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.book-specification-item span {
    margin-bottom: 0.35rem;

    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-specification-item strong {
    color: var(--white);
    line-height: 1.4;
}

.book-specification-item small {
    margin-top: 0.25rem;
    color: var(--muted);
}

/* =========================================================
   AUTHORS
========================================================= */

.book-author-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.book-author-profile {
    padding: 1.4rem;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.018)
        ),
        rgba(7, 18, 34, 0.93);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.book-author-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;

    margin-bottom: 1rem;
}

.book-author-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(78, 161, 255, 0.35);
    border-radius: 14px;

    background:
        rgba(31, 111, 235, 0.12);

    font-size: 1.65rem;
}

.book-author-header span {
    color: var(--cyan);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-author-header h3 {
    margin: 0.2rem 0 0;

    color: var(--white);
    font-size: 1.35rem;
}

.book-author-profile p {
    margin: 0;

    color: var(--text);
    line-height: 1.75;
}

.book-author-profile p + p {
    margin-top: 0.7rem;
}

/* =========================================================
   FINAL CTA
========================================================= */

.book-final-cta {
    padding: 1.5rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    border: 1px solid rgba(240, 236, 7, 0.28);
    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            90deg,
            rgba(31, 111, 235, 0.12),
            rgba(240, 236, 7, 0.07)
        ),
        rgba(5, 15, 32, 0.94);

    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.book-final-cta h2 {
    margin: 0.35rem 0 0.55rem;

    color: var(--white);
}

.book-final-cta p {
    max-width: 710px;
    margin: 0;

    color: var(--text);
    line-height: 1.65;
}

.book-buy-button-large {
    width: auto;
    min-width: 260px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .book-showcase {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "covers"
            "order";
    }

    .book-order-panel {
        max-width: none;
    }

    .book-specification-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .book-main {
        width: calc(100% - 1rem);
    }

    .book-showcase {
        padding: 1.1rem;
        border-radius: 16px;
    }

    .book-cover-gallery {
        grid-template-columns: 1fr;
    }

    .book-cover-frame {
        min-height: 330px;
    }

    .book-author-layout {
        grid-template-columns: 1fr;
    }

    .book-specification-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .book-final-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .book-buy-button-large {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 460px) {
    .book-specification-grid {
        grid-template-columns: 1fr;
    }

    .book-cover-frame {
        min-height: 280px;
    }

    .book-cover-image {
        max-height: 320px;
    }
}