/* =========================================================
   FONT PAGINA LIBRO
========================================================= */

.book-page {
    background: #000;
    color: #fff;

    font-family: var(--font-title);
}

.book-intro h1,
.book-synopsis h2,
.book-tech h2,
.book-formats h2 {
    font-family: var(--font-title);
}

.book-collection,
.book-series,
.book-description,
.book-synopsis p,
.tech-item span,
.tech-item strong,
.format-card span,
.format-card strong,
.book-amazon-button {
    font-family: var(--font-title);
}

/* =========================================================
   PAGINA LIBRO
========================================================= */

.book-page {
    background: #000;
    color: #fff;
}


/* =========================================================
   HERO LIBRO
========================================================= */

.book-hero {
    padding: 80px 0;
}

.book-hero-grid {
    max-width: 1120px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 70px;
    align-items: center;
}


/* =========================================================
   COPERTINA
========================================================= */

.book-cover img {
    width: 100%;
    display: block;
}


/* =========================================================
   TESTI INTRODUTTIVI
========================================================= */

.book-intro h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.book-collection {
    margin-bottom: 8px;

    color: var(--myoo-gold);

    text-transform: uppercase;
    letter-spacing: .15em;
}

.book-series {
    margin-bottom: 30px;

    text-transform: uppercase;
    letter-spacing: .15em;
}

.book-description {
    max-width: 650px;

    margin-bottom: 35px;

    line-height: 1.8;
}


/* =========================================================
   DIVISORE SOTTO IL TITOLO
========================================================= */

.gold-line {

    width: 360px;
    height: 1px;

    margin-bottom: 30px;

    background: linear-gradient(
        to right,
        transparent,
        var(--myoo-gold),
        transparent
    );

}


/* =========================================================

   CONTENITORE PULSANTI LIBRO

========================================================= */

.book-buttons {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;

}

/* =========================================================

   PULSANTE LIBRO

========================================================= */

.book-main-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

}

/* =========================================================

   ICONA LIBRO

========================================================= */



/* =========================================================

   ICONA AMAZON

========================================================= */

.amazon-icon {

    position: relative;

    width: 26px;

    height: 26px;

    flex-shrink: 0;

}

.amazon-icon img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: opacity .25s ease;

}

.amazon-icon-gold {

    opacity: 1;

}

.amazon-icon-black {

    opacity: 0;

}

/* =========================================================

   HOVER AMAZON

========================================================= */

.book-amazon-button:hover .amazon-icon-gold,

.book-button:hover .amazon-icon-gold {

    opacity: 0;

}

.book-amazon-button:hover .amazon-icon-black,

.book-button:hover .amazon-icon-black {

    opacity: 1;

}

/* =========================================================
   DIVISORE ORIZZONTALE PAGINA
========================================================= */

.section-divider {

    width: 100%;
    max-width: 1120px;
    height: 1px;

    margin: 0 auto;

    background: linear-gradient(
        to right,
        transparent,
        rgba(216,173,97,.85),
        transparent
    );

}


/* =========================================================
   BLOCCO SINOSSI + SCHEDA TECNICA
========================================================= */

.book-content {
    padding: 70px 0;
}

.book-grid {

    max-width: 1120px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1px 350px;
    gap: 50px;

}


/* =========================================================
   DIVISORE VERTICALE
========================================================= */

.vertical-divider {

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(216,173,97,.85),
        transparent
    );

}


/* =========================================================
   TITOLI DI SEZIONE
========================================================= */

.book-synopsis h2,
.book-tech h2,
.book-formats h2 {

    margin-bottom: 30px;

    color: var(--myoo-gold);

    text-transform: uppercase;

}


/* =========================================================
   TESTO SINOSSI
========================================================= */

.book-synopsis p {

    margin-bottom: 20px;

    line-height: 1.9;

}


/* =========================================================
   SCHEDA TECNICA
========================================================= */

.tech-item {

    display: flex;
    gap: 18px;

    margin-bottom: 30px;

}

.tech-item img {

    width: 34px;
    height: 34px;

    flex-shrink: 0;

}

.tech-item span {

    display: block;

    margin-bottom: 4px;

    color: var(--myoo-gold);

    font-size: .9rem;

    text-transform: uppercase;
    letter-spacing: .1em;

}

.tech-item strong {

    display: block;

    font-weight: 400;

}


/* =========================================================
   FORMATI DISPONIBILI
========================================================= */

.book-formats {
    padding: 70px 0 90px;
}

.formats-grid {

    max-width: 1120px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

}


/* =========================================================
   CARD FORMATO
========================================================= */

.format-card {

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 30px;

    border: 1px solid rgba(216,173,97,.5);

}

.format-card img {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

}

.format-card span {

    display: block;

    margin-bottom: 6px;

    text-transform: uppercase;
    letter-spacing: .08em;

}

.format-card strong {

    font-size: 1.5rem;
    font-weight: 400;

}
/* =========================================================
   PULSANTE OUTLINE AMAZON
========================================================= */

.book-amazon-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-width: 260px;
    min-height: 56px;
    padding: 13px 26px;

    border: 2px solid var(--myoo-gold);
    background: transparent;

    color: var(--myoo-gold);

    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease;
}

.book-amazon-button img {

    width: 26px;
    height: 26px;

    object-fit: contain;
    flex-shrink: 0;
}

.book-amazon-button:hover {

    color: #17110a;
    background: linear-gradient(180deg, #d8ad61 0%, #b88438 100%);

}

/* =========================================================
   PULSANTE OUTLINE LEGGI ANTEPRIMA
========================================================= */

.book-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-width: 260px;
    min-height: 56px;
    padding: 13px 26px;

    border: 2px solid var(--myoo-gold);
    background: transparent;

    color: var(--myoo-gold);

    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease;
}

.book-button:hover {

    color: #17110a;
    background: linear-gradient(180deg,#d8ad61 0%,#b88438 100%);

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .book-hero-grid {

        grid-template-columns: 320px 1fr;
        gap: 50px;

    }

    .book-intro h1 {
        font-size: 3rem;
    }

    .book-grid {

        grid-template-columns: 1fr;
        gap: 50px;

    }

    .vertical-divider {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

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

    .book-hero-grid {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;

    }

    .book-cover {

        max-width: 280px;

        margin: 0 auto;

    }

    .gold-line {

        margin-left: auto;
        margin-right: auto;

    }

    .book-description {

        margin-left: auto;
        margin-right: auto;

    }

    .formats-grid {

        grid-template-columns: 1fr;

    }
    
    .book-buttons {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 18px;

    }

}


/* =========================================================
   MOBILE PICCOLO
========================================================= */

@media (max-width: 575px) {

    .book-intro h1 {
        font-size: 2.4rem;
    }

    .gold-line {
        width: 240px;
    }

}