/* Axl Books — egna framtida justeringar.
   Laddas efter site.css. Lämnas avsiktligt tom tills en ändring behövs. */

/* Axl Books – boksidans finjusteringar */

.book-detail-header {
    min-width: 0;
}

.book-detail-cover,
.book-detail-heading {
    min-width: 0;
}

.book-detail-cover .detail-cover {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    border: 1px solid #dedede;
}

.book-detail-heading h1 {
    overflow-wrap: anywhere;
}

.book-detail-heading .detail-subtitle {
    margin-top: 12px;
    margin-bottom: 14px;
}

.book-detail-heading .detail-author {
    margin-bottom: 0;
}

.book-detail-heading .details {
    margin-top: 28px;
    margin-bottom: 26px;
}

.book-detail-heading .description {
    margin-top: 0;
}

.book-download {
    margin-top: 24px;
}

/* Mobil */

@media (max-width: 600px) {

    .book-layout,
    .book-detail,
    .book-detail-header,
    .book-detail-heading,
    .other-books {
        min-width: 0;
        max-width: 100%;
    }

    .book-detail-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .book-detail-cover {
        width: 100%;
    }

    .book-detail-cover .detail-cover {
        max-width: 100%;
        max-height: 460px;
        object-fit: contain;
        object-position: left top;
    }

    .book-detail-heading h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .book-detail-heading .detail-subtitle {
        font-size: 20px;
    }

    .book-detail-heading .detail-author {
        font-size: 17px;
    }

    .book-detail-heading .details {
        grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
        font-size: 14px;
    }

    .book-detail-heading .description {
        font-size: 15px;
        line-height: 1.65;
    }

    .other-books {
        margin-top: 20px;
    }
}

/* Beställ – samma innehållsbredd som övriga sidor */

.order-page {
    width: 100%;
    min-width: 0;
    padding: 50px 0 80px;
}

.order-header {
    width: 100%;
    max-width: 760px;
    margin-bottom: 35px;
}

.order-header h1 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 24px;
}

.order-description {
    font-size: 15px;
    line-height: 1.6;
}

.publit-webshop {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

/* Förhindra att inbäddat innehåll breddar sidan */

.publit-webshop iframe {
    display: block;
    max-width: 100%;
}

/* Mobil */

@media (max-width: 600px) {

    .order-page {
        padding: 30px 0 55px;
    }

    .order-header h1 {
        font-size: 28px;
    }

    .order-description {
        font-size: 14px;
    }
}

/* Flexibelt kolumnsystem */

.row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.col {
    grid-column: span 12;
    min-width: 0;
}

/* Kolumnbredder */

.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-6  { grid-column: span 6; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-12 { grid-column: span 12; }

/* Mobil: alla kolumner blir fullbredd */

@media (max-width: 600px) {
    .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .row > [class*="col-"] {
        grid-column: 1 / -1;
    }
}


.order-books {
    margin: 35px 0 55px;
    row-gap: 35px;
}

.order-book h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.order-isbn {
    color: #777;
    font-size: 12px;
    margin: 0 0 12px;
}

.order-book ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-book li {
    margin-bottom: 5px;
}

.order-book a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Beställ: små omslag bredvid bokinformation */
.order-books { margin: 35px 0 55px; row-gap: 35px; }
.order-book { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 18px; align-items: start; min-width: 0; }
.order-book-cover img { display: block; width: 100%; height: auto; border: 1px solid #dedede; }
.order-book-info { min-width: 0; }
.order-book h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.order-isbn { color: #777; font-size: 12px; margin: 0 0 12px; }
.order-book ul { list-style: none; padding: 0; margin: 0; }
.order-book li { margin-bottom: 5px; }
.order-book a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .order-book { grid-template-columns: 85px minmax(0,1fr); gap: 14px; } }

/* Beställ – samma bredd för beskrivning och Publit */

.order-page,
.order-page .order-header,
.order-page .order-description,
.order-page .text-page,
.order-page .publit-webshop {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}

.order-page .order-header {
    margin-left: 0;
    margin-right: 0;
}

.order-page,
.order-header,
.order-intro,
.publit-webshop,
.order-grid-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}

.order-header {
    margin-bottom: 30px;
}

.publit-webshop {
    margin: 0 0 45px;
}

.order-grid-content {
    margin: 0 0 50px;
}

/* Större introduktionstext – startsidan */

.intro-columns {
    font-size: 16px;
    line-height: 1.6;
}

/* Större introduktionstext – Beställ */

.order-intro {
    font-size: 16px;
    line-height: 1.6;
}