﻿.centered-header {
    display: block;
    text-align: center;
}

.centered-header>div {
    display: inline-block;
    margin: 0 auto;
}

.multicopies-tbl {
    border-collapse: collapse;
    width: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.multicopies-tbl th,
.multicopies-tbl td {
    font-weight: normal;
    line-height: 1;
    padding: 0 0 0 1rem;
    margin: 0;
    vertical-align: top;
    text-align: center;
    width: auto;
}

.multicopies-tbl th {
    padding: 0;
}

.multicopies-tbl .vi-ppc-coffer-txt-ccroe {
    margin-top: 0.25rem;
}

.crisis {
    color: #d00000;
    font-weight: bold;
    text-align: justify;
    margin: 0.5rem 0;
}

/* --- Multi-book section separators --- */
.vintage-books .vintage-book-section + .vintage-book-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* --- Simplified purchase table (for books without copy selector) --- */
.vintage-purchase-tbl {
    border-collapse: collapse;
    width: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.vintage-purchase-tbl th,
.vintage-purchase-tbl td {
    font-weight: normal;
    line-height: 1;
    padding: 0 0 0 1rem;
    margin: 0;
    vertical-align: middle;
    text-align: center;
    width: auto;
}

.vintage-purchase-tbl th:first-child {
    padding: 0;
}

.vintage-purchase-tbl .vi-ppc-coffer-txt-ccroe {
    margin-top: 0.25rem;
}

/* --- Price display (non-button text) --- */
.vintage-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #d00000;
    white-space: nowrap;
    vertical-align: middle !important;
    padding-right: 1rem !important;
}

@media (max-width: 601px) {

    .crisis {
        font-size: 0.75rem;
    }

    .key-vintage .grid-imgs {
        text-align: center;
    }

    .vintage-books .book-cover>img {
        width: auto;
        max-height: 300px;
    }

    .vintage-books .books-details {
        text-align: center;
    }

    .multicopies-tbl,
    .multicopies-tbl tbody,
    .multicopies-tbl tr {
        display: block;
        width: 100%;
    }

    .multicopies-tbl {
        margin-bottom: 2.0rem;
    }

    .multicopies-tbl th,
    .multicopies-tbl td {
        display: block;
        margin: 0 auto;
    }

    .key-vintage .quoted.mb0 {
        margin-top: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .vintage-purchase-tbl,
    .vintage-purchase-tbl tbody,
    .vintage-purchase-tbl tr {
        display: block;
        width: 100%;
    }

    .vintage-purchase-tbl th,
    .vintage-purchase-tbl td {
        display: block;
        margin: 0 auto;
    }

    .vintage-price {
        padding-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}