:root {
    --module-gap: 0.75rem;
    --module-radius: 0.70rem;
}

body {
    background: #f7f7f9;
    overflow-x: hidden;
}

.site-header img {
    height: 40px;
    width: auto;
}

#brandLogo {
    width: auto;
    max-width: 100%;
    max-height: 72px;
}

    /* quasi quadrato */
    #brandLogo.logo-square {
        height: 82px;
    }

    /* quadrato / verticale “carico” */
    #brandLogo.logo-tall {
        height: 96px;
    }

html.in-iframe #quickPrivateBtn {
    display: none !important;
}

#brandLogo, #brandName {
    transition: opacity .2s ease;
}

body.loading-brand #brandLogo,
body.loading-brand #brandName {
    opacity: 0;
}

#btnTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: none;
    z-index: 2500;
}

    #btnTop:hover {
        background-color: #555;
    }

/* =========================
   PREZZI - GENERALE
   ========================= */

.price-box {
    line-height: 1.1;
    font-weight: 400;
}

.price-main {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.1;
}

.price-euro {
    font-size: 1.1rem;
    line-height: 1;
    margin-left: 4px !important;
}

.price-int {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    margin-left: 1px;
}

.price-dec {
    font-size: 0.95rem;
    line-height: 1;
    margin-bottom: 2px;
}

.price-old {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    margin-left: 6px;
    line-height: 1;
    opacity: 0.75;
    color: #6c757d;
}

    .price-old .price-euro,
    .price-old .price-int,
    .price-old .price-dec {
        font-size: 0.75rem !important;
        font-weight: 500;
        line-height: 1;
        margin-bottom: 0;
    }

    .price-old::after {
        content: '';
        position: absolute;
        left: -5%;
        right: -5%;
        top: 50%;
        height: 1px;
        background: currentColor;
        transform: rotate(-12deg);
        transform-origin: center;
        pointer-events: none;
    }

.price-sub {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 2px;
}

.price-box.price-single .price-main {
/*    color: #198754;*/
    color: #444;
}

.price-box.price-discount .price-main {
    color: #dc3545;
}

.price-box.price-discount .price-old {
    color: #6c757d;
}

.price-box.price-free .price-main {
    color: #198754;
    font-weight: 600;
}

.price-box.price-text .price-main {
    color: inherit;
    font-weight: 400;
}

/* =========================
   "A PARTIRE DA" - SUPPORTO
   ========================= */

.price-main .price-apartireda {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.price-main .price-apartireda-label {
    font-size: 0.8rem;
    line-height: 1.1;
    margin-bottom: 2px;
}

/* =========================
   REGOLE DEDICATE SOLO ALL'ELENCO
   ========================= */

/* contenitore prezzi elenco */
.items-list .item-price {
    font-size: 0.88rem;
}

/* prezzo principale */
.items-list .price-main {
    font-size: 0.95rem;
}

/* simbolo euro */
.items-list .price-euro {
    font-size: 0.95rem;
}

/* parte intera del prezzo */
.items-list .price-int {
    font-size: 1.45rem;
}

/* decimali */
.items-list .price-dec {
    font-size: 0.75rem;
}

/* sottotesto prezzo (offerta, ultime, ecc.) */
.items-list .price-sub {
    font-size: 0.72rem;
}

/* "A partire da" */
.items-list .price-apartireda-label {
    font-size: 0.70rem;
}

/* prezzo vecchio barrato */
.items-list .price-old .price-euro,
.items-list .price-old .price-int,
.items-list .price-old .price-dec {
    font-size: 0.62rem !important;
}
