:root {
    --preheader-height: 40px;
    --header-top-height: 120px;
    --header-bottom-height: 28px;
}
@media (max-width: 991px) and (min-width: 768px) {
    :root {
        --header-top-height: 80px;
    }
}
@media (max-width: 767px) {
    :root {
        --header-top-height: 80px;
        --header-bottom-height: 0px;
    }
}


html {
    overflow: auto scroll !important;
    width: 100%;
    box-sizing: border-box;
}
body {
    overflow: unset !important;
}
html.modal-open {
    overflow: hidden !important;   
    padding-right: var(--main-scollbar-width) !important;
}


a:focus-visible ,
input:focus-visible ,
select:focus-visible ,
textarea:focus-visible ,
button:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
}

:root .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    pointer-events: none !important;
}

#root>.App>div:has(header) ,
header {
    position: sticky;
    top: 0;
    z-index: 1;
    height: calc(var(--preheader-height) + var(--header-top-height) + var(--header-bottom-height)) !important;
    pointer-events: none;
    background-color: transparent !important;
}
header>#preheader {
    background-color: #fff;
    pointer-events: all;
    height: var(--preheader-height) !important;
    transition: height .25s;
    overflow: hidden;
}
header>#preheader ul#nav-preheader-left {
    display: inline-flex;
    gap: .5rem;
}
header>#preheader ul#nav-preheader-left>li.nav-preheader-left-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
header>#preheader ul#nav-preheader-left>li.nav-preheader-left-item>a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .25s ease-in-out;
}
header>#preheader ul#nav-preheader-left>li.nav-preheader-left-item>a:hover {
    background-color: #3588C9;
    color: #fff;
}
header>#header-top {
    display: flex;
    align-items: center;
    padding: 0 0 20px 0;
    height: var(--header-top-height) !important;
    background-color: #fff;
    pointer-events: all;
}
header>#header-bottom {
    background-color: #fff;
    pointer-events: all;
    height: var(--header-bottom-height) !important;
    transition: height .25s;
    overflow: hidden;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] {
    --placeholder-color: #aaa;
    --placeholder-style: italic;
    display: flex;
    float: none;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] input.form-main-search {
    width: auto;
    flex: auto;
    padding: 0 10px 0 10px;
    border: 0;
    border-width: 1px 0 1px 1px;
    border-color: #e5e5e5;
    border-style: solid;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] input.form-main-search::placeholder ,
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] input.form-main-search::-webkit-input-placeholder {
    color: var(--placeholder-color);
    font-style: var(--placeholder-style);
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] [data-item="search-error"].alert-error {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    box-sizing: border-box;
    background-color: #fcf6f3;
    border: solid 2px #f00;
    color: #f00;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 0 0;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] [data-item="search-error"].alert-error button.close-button {
    justify-self: flex-start;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: transparent !important;
    color: rgba(255,255,255,.6);
    line-height: 1;
    margin: 0 0 0 0;
    z-index: 1;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] [data-item="search-error"].alert-error button.close-button:hover {
    color: #fff;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] [data-item="search-error"].alert-error .alert-content {
    width: auto;
    margin: -12px 0 0 0;
    padding: 0 12px 12px 12px;
}
header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] [data-item="search-error"].alert-error.show-error {
    display: flex;
    flex-direction: column;
}
/*
header>#header-top #ricerca-menu-form-cont>form select[name="product_class"] {
    position: relative;
    inset: auto;
    width: 100px;
    flex: 0 0 100px;
}
header>#header-top #ricerca-menu-form-cont>form input[name="free_search"] {
    width: auto;
    flex: auto;
    padding: 0 10px;
    box-sizing: border-box;
}
*/
header>#header-top #ricerca-menu-form-cont>form button[type="submit"] {
    flex: 0 0 40px;
}
header>#header-top #ricerca-menu-form-cont>form button[type="submit"]>span {
    display: none !important;
}
header>#header-top #ricerca-menu-form-cont #btn-ricerca-avanzata-menu {
    position: absolute;
    inset: 100% 0 auto auto;
    height: auto;
    line-height: 24px;
}
header>#header-top #ricerca-menu-form-cont #btn-ricerca-avanzata-menu:hover {
    text-decoration: underline !important;
}
html.sticky-header header>#preheader {
    height: 0 !important;
    border: 0 !important;
}
html.sticky-header.item-hidden header>#preheader * {
    display: none !important;
}
html.sticky-header header>#header-bottom:not(.show) {
    height: 0 !important;
}
html.sticky-header.item-hidden header>#header-bottom:not(.show) * {
    display: none !important;
}

main {
    position: relative;
    overflow-x: hidden;
    z-index: 0;
    overflow-x: hidden;
}
footer {
    position: relative;
    overflow-x: hidden;
    z-index: 0;
}

header #header-top>nav>ul#nav-header-top-right>li>#burger-menu-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px !important;
    height: 32px !important;
    border: solid 1px rgba(24,64,89,.1);
    color: #184059;
    box-sizing: border-box;
    transition: all .3s;
}
html.modal-layer-shown header #header-top>nav>ul#nav-header-top-right>li>#burger-menu-mobile {
    background-color: #184059;
    border-color: #184059;
    color: #ffffff;
}
header #header-top>nav>ul#nav-header-top-right>li>#burger-menu-mobile:hover {
    background-color: rgba(53,136,201,.1);
    border-color: rgba(53,136,201,.3);
}
html.modal-layer-shown header #header-top>nav>ul#nav-header-top-right>li>#burger-menu-mobile:hover {
    background-color: #3588C9;
    border-color: #3588C9;
}



.\!d-inline-block {
    display: inline-block !important;
}
.\!float-none {
    float: none !important;
}

@media (min-width: 768px) {
    header #header-top>nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    header #header-top>nav>a#logo-header-top {
        order: 0;
        flex: 0 0 auto;
        padding: 0 0 0 0;
    }
    header #header-top>nav>ul#nav-header-top-right {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        order: 2;
        flex: 0 0 auto;
    }
    header #header-top>nav>ul#nav-header-top-right>li {
        padding: 0 0 0 0;
    }
    header #header-top>nav>ul#nav-header-top-right>li:has(a#nav-btn-ricerca-mobile,#burger-menu-mobile) {
        display: none;
    }
    html.sticky-header header>#header-top a#logo-header-top  {
        max-width: 61px;
        overflow: hidden;
    }
    html.sticky-header header #header-top>nav>ul#nav-header-top-right>li:has(#burger-menu-mobile) {
        display: block;
    }
    header #header-top>nav>ul#nav-header-top-right>li>a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: .5rem;
        padding: 0 0 0 0;
        margin: 0 0 0 0;
        width: auto;
    }
    
    header #header-top>nav>ul#nav-header-top-right>li>a>i {
        padding: 0 0 0 0;
        margin: 0 0 0 0;
        width: auto;
    }
    header #header-top>nav>ul#nav-header-top-right>li>a>span {
        font-size: 1rem;
    }
    header #header-top>nav>#ricerca-menu-form-cont {
        order: 1;
        flex: auto;
        padding: 0 0 0 0;
        margin: 0 0 0 0;
        width: auto;
    }
    header #header-top>nav>.clear.none {
        display: none;
    }
    header>#header-top #ricerca-menu-form-cont #btn-ricerca-avanzata-menu>span {
        display: none;
    }
    header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] input.form-main-search {
        width: calc((100% / 3) - (40px / 3));
        flex: calc((100% / 3) - (40px / 3));
    }
    

}
@media (max-width: 991px) and (min-width: 768px) {
    header #header-top>nav {
        gap: 2rem;
    }
    html.sticky-header header>#header-top a#logo-header-top>img {
        height: 40px;
    }
    header #header-top>nav>ul#nav-header-top-right>li>a>span {
        display: none;
    }
}


@media (max-width: 767px) {
    html.modal-layer-shown ,
    html.modal-layer-shown body {
        overflow: hidden !important;
    }

    header #header-top {
        padding: 0 0 0 0 !important;
        position: relative;
    }
    header #header-top a#logo-header-top {
        width: calc(100vw - 20px - 100px);
        max-width: 300px;
        margin: 0 auto 15px auto;
        float: none;
    }
    header #header-top a#logo-header-top>img {
        margin: 0 0 0 0 !important;
    }

    header #ricerca-menu-form-cont {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 10vh;
        inset: 0 0 0 0;
        height: auto;
        width: auto;
        background-color: #fff;
    }
    header #ricerca-menu-form-cont.show {
        display: flex;
    }
    header #ricerca-menu-form-cont .fake-input-label {
        font-size: 24px;
        margin: 0 0 2rem 0;
    }
    header>#header-bottom {
        --menu-padding: 1rem;
        --menu-header-logo-height: 25px;
        --nav-principale-height: calc(100vh - (var(--menu-padding) * 2) - var(--menu-header-logo-height) - (var(--menu-padding) * 2));
        display: none;
        inset: 0 0 0 0;
        height: auto;
        width: auto;
        padding: var(--menu-padding);
    }
    header>#header-bottom.show {
        display: block;
        height: auto !important;
        background-color: #184059;
    }
    header>#header-bottom>nav.page {
        display: flex;
        flex-direction: column;
        padding: 0 0 0 0;
    }
    header>#header-bottom>nav.page>a#logo-menu-mobile {
        padding: 0 0 0 0;
        margin: 0 0 calc(var(--menu-padding) * 2) 0;
    }
    header>#header-bottom>nav.page>a#logo-menu-mobile>img {
        width: calc(100vw - 20px - 100px);
        max-width: 300px;
        margin: 0 auto 0 auto;
        float: none;
    }
    header>#header-bottom>nav.page>ul#nav-principale {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        max-height: var(--nav-principale-height);
        height: auto;
        overflow: auto;
    }
    header>#header-bottom>nav.page>ul#nav-principale>li.nav-principale-item {
        padding: 0 0 0 0;
        margin: 0 0 0 0;
    }
    header>#header-bottom>nav.page>ul#nav-principale>li.nav-principale-item>a {
        display: block;
        float: none;
        width: auto;
        height: auto;
        line-height: 2.5rem;
        padding: 0 0 0 0;
        margin: 0 0 0 0;
        text-align: center;
        color: #fff;
    }
    html.sticky-header header>#header-bottom:not(.show) {
        height: 0 !important;
        border: 0 !important;
    }


    #ricerca-menu-form-cont button#ricerca-menu-form-cont-close ,
    header>#header-bottom button#menu-mobile-close {
        display: block;
        position: absolute;
        inset: 10px 10px auto auto;
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
        width: 24px;
        min-width: 0;
        max-width: none;
        height: 24px;
        min-height: 0;
        max-height: none;
        line-height: 1;
        text-indent: 100px;
        overflow: hidden;
        border-radius: 0;
        white-space: nowrap;
    }
    #ricerca-menu-form-cont button#ricerca-menu-form-cont-close::before ,
    header>#header-bottom button#menu-mobile-close::before {
        content: "";
        position: absolute;
        inset: 0 0 0 0;
        display: block;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23000"><path d="M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z"/></svg>');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 60% auto;
    }
    #ricerca-menu-form-cont button#ricerca-menu-form-cont-close {
        background-color: #184059;
    }
    #ricerca-menu-form-cont button#ricerca-menu-form-cont-close::before {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(17%) hue-rotate(329deg) brightness(103%) contrast(102%);
    }
    header>#header-bottom button#menu-mobile-close {
        background-color: rgba(255, 255, 255, .6);
    }

    ul#nav-header-top-right {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        width: 100%;
        float: none;
    }
    ul#nav-header-top-right>li {
        padding: 0 0 0 0 !important;
        margin: 0 0 0 0 !important;
    }
    ul#nav-header-top-right>li:has(#burger-menu-mobile) {
        position: absolute;
        inset: 3px 10px auto auto;
        margin: 0 0 0 0 !important;
    }
    ul#nav-header-top-right>li>a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 1.25rem !important;
        gap: .5rem;
    }
    ul#nav-header-top-right>li>a>i {
        width: 20px !important;
    }
    ul#nav-header-top-right>li>a>span {
        font-size: 1rem !important;
    }

    header>#header-top #ricerca-menu-form-cont>form[data-item="main-search"] {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }
    /*
    header>#header-top #ricerca-menu-form-cont>form select[name="product_class"] {
        flex: auto;
        width: 100%;
        margin: 0 0 0 0 !important;
    }
    header>#header-top #ricerca-menu-form-cont>form input[name="free_search"] {
        flex: auto;
        width: 100%;
        margin: 0 0 0 0 !important;
    }
    */
    header>#header-top #ricerca-menu-form-cont>form button[type="submit"] {
        flex: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .5rem;
        font-size: 18px;
        width: 100%;
        margin: 0 0 0 0 !important;
    }
    header>#header-top #ricerca-menu-form-cont>form button[type="submit"]>span {
        display: block !important;
    }
    header>#header-top #ricerca-menu-form-cont #btn-ricerca-avanzata-menu {
        position: relative;
        inset: auto auto auto auto;
        align-self: flex-end;
        font-size: 16px;
        margin: 0 0 0 0;
    }
}
@media (max-width:380px) {
    ul#nav-header-top-right>li>a>span {
        display: none !important;
    }
}

.p-0 {
    padding: 0 0 0 0 !important;
}
.m-0 {
    margin: 0 0 0 0 !important;
}
.mb-3 {
    margin-bottom: 3rem !important;
}
.align-items-end {
    align-items: flex-end !important;
}
.align-items-center {
    align-items: center !important;
}

footer .order-0 {
    order: 0 !important;
}
footer .order-1 {
    order: 1 !important;
}
footer .row-gap-1\.5 {
    row-gap: 1.5rem !important;
}
footer .row-gap-3 {
    row-gap: 3rem !important;
}
footer .cotent-text-align-center * {
    text-align: center !important;
}
footer .cotent-text-align-left * {
    text-align: left !important;
}
footer .footer-info-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
}
footer .footer-info-link>span {
    display: none;
}

footer .social-buttons {
    display: flex;
    gap: .5rem;
    justify-content: center;
}
footer .social-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    font-size: 16px;
    padding: 0 0 0 0 !important;
    text-decoration: none !important;
    transition: all .25s ease-in-out;
}
footer .social-buttons .btn.btn-social {
    background-color: #184059 !important;
    color: #fff !important;
}
footer .social-buttons .btn.btn-social:hover {
    background-color: #3588C9 !important;
}

footer {
    --footer-gutter: 15px;
    --site-width: calc(300px + var(--footer-gutter) * 4);
    --footer-info-width: calc(300px + var(--footer-gutter) * 2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    padding: 80px 0;
    position: relative;
}
footer .footer-company-info {
    display: flex;
    flex-direction: column;
    max-width: var(--footer-info-width);
}
footer .row * ,
footer .footer-container * {
    width: auto;
    float: none;
}
footer ,
footer .footer-nav {
    font-size: 14px;
    line-height: 24px;
}
footer .footer-nav {
    font-size: 13px;
    line-height: 24px;
}
footer a {
    color: #184059;
    text-decoration: underline;
    text-decoration-color: rgba(24,64,89,.2);
}
footer a:hover {
    text-decoration-color: rgba(24,64,89,.75);
}

footer .page {
    width: 100%;
    max-width: var(--site-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--footer-gutter);
    padding-right: var(--footer-gutter);
    float: none;
}
footer .row ,
footer .page .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-left: calc(var(--footer-gutter) * -1);
    margin-right: calc(var(--footer-gutter) * -1);
    width: auto;
    float: none;
}
footer [class*="col"],
footer .page .footer-container>.container-col {
    display: block !important;
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--footer-gutter);
    padding-right: var(--footer-gutter);
    box-sizing: border-box;
}

.col-3 {
    flex: 0 0 auto !important;
    width: 25% !important;
}
.col-4 {
    flex: 0 0 auto !important;
    width: 33.33333333% !important;
}
.col-5 {
    flex: 0 0 auto !important;
    width: 41.66666667% !important;
}
.col-6 {
    flex: 0 0 auto !important;
    width: 50% !important;
}
.col-7 {
    flex: 0 0 auto !important;
    width: 58.33333333% !important;
}
.col-8 {
    flex: 0 0 auto !important;
    width: 66.66666667% !important;
}
.col-12 {
    flex: 0 0 auto !important;
    width: 100% !important;
}

[data-page="scheda-prodotto"] .dettagli-sidebar1 {
    display: none;
}
[data-page="scheda-prodotto"] .dettagli-sidebar2 {
    display: block;
}

[data-page="scheda-prodotto"] .slider-container {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0 5px 0;
}
[data-page="scheda-prodotto"] .slider-container .tns-outer {
    width: calc(100% - 80px);
    flex: auto;
}
[data-page="scheda-prodotto"] .slider-container>.slider-stage-wrapper {
    display: flex;
}
[data-page="scheda-prodotto"] .slider-container>.slider-stage-wrapper[data-items-per-page="3"]>[data-item="default"]:not([data-slider-item="1"],[data-slider-item="2"],[data-slider-item="3"]) {
    display: none;
}
[data-page="scheda-prodotto"] .slider-index-top-int-arrow {
    width: 30px;
    flex: 0 0 30px;
    opacity: 0;
}
[data-page="scheda-prodotto"] .slider-container.slider-initialized .slider-index-top-int-arrow {
    opacity: 1;
}
[data-page="scheda-prodotto"] .slider-container.slider-initialized.disable-controls .slider-index-top-int-arrow {
    pointer-events: none !important;
}
[data-page="scheda-prodotto"] .slider-container .tn-slider-arrow-wrapper {
    width: 30px;
    flex: 0 0 30px;
    margin: 0 5px 0 5px;
}
[data-page="scheda-prodotto"] .slider-container.slider-initialized .tn-slider-arrow-wrapper {
    cursor: pointer;
}
[data-page="scheda-prodotto"] .slider-container.slider-initialized .tn-slider-arrow-wrapper:hover>a>span {
    background-color: #A31C17 !important;
}
[data-page="scheda-prodotto"] .slider-container:not(.slider-initialized) #prodotto-gallery>div ,
[data-page="scheda-prodotto"] .slider-container.slider-initialized #prodotto-gallery>.tns-item {
    padding: 0 3px 0 3px;
}
[data-page="scheda-prodotto"] #prodotto-gallery>div {
    padding: 0 3px 0 3px;
}
[data-page="scheda-prodotto"] #prodotto-gallery>div a.scheda-libro-img-small {
    width: auto;
    float: none;
    padding: 0 0 0 0;
    background-color: #fff;
}
[data-page="scheda-prodotto"] #prodotto-gallery picture {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}
[data-page="scheda-prodotto"] #prodotto-gallery picture>img {
    display: block;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    max-width: none;
    max-height: none;
    object-fit: contain;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 0;
}

@media (min-width: 576px) {
    footer {
        --site-width: calc(400px + var(--footer-gutter) * 2);
    }
    .col-sm-3 {
        flex: 0 0 auto !important;
        width: 25% !important;
    }
    .col-sm-4 {
        flex: 0 0 auto !important;
        width: 33.33333333% !important;
    }
    .col-sm-5 {
        flex: 0 0 auto !important;
        width: 41.66666667% !important;
    }
    .col-sm-6 {
        flex: 0 0 auto !important;
        width: 50% !important;
    }
    .col-sm-7 {
        flex: 0 0 auto !important;
        width: 58.33333333% !important;
    }
    .col-sm-8 {
        flex: 0 0 auto !important;
        width: 66.66666667% !important;
    }
    .col-sm-12 {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}
@media (min-width: 768px) {
    footer {
        --site-width: 1300px;
    }
    footer .footer-info-link {
        flex-direction: row;
        align-items: flex-start;
    }
    footer .cotent-text-align-md-center * {
        text-align: center !important;
    }
    footer .cotent-text-align-md-left * {
        text-align: left !important;
    }

    footer .footer-info-link>span {
        display: block;
    }
    footer .social-buttons {
        justify-content: flex-start;
    }
    footer .order-md-0 {
        order: 0 !important;
    }
    footer .order-md-1 {
        order: 1 !important;
    }
    .col-md-3 {
        flex: 0 0 auto !important;
        width: 25% !important;
    }
    .col-md-4 {
        flex: 0 0 auto !important;
        width: 33.33333333% !important;
    }
    .col-md-5 {
        flex: 0 0 auto !important;
        width: 41.66666667% !important;
    }
    .col-md-6 {
        flex: 0 0 auto !important;
        width: 50% !important;
    }
    .col-md-7 {
        flex: 0 0 auto !important;
        width: 58.33333333% !important;
    }
    .col-md-8 {
        flex: 0 0 auto !important;
        width: 66.66666667% !important;
    }
    .col-md-12 {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    [data-page="scheda-prodotto"] .dettagli-sidebar1 {
        display: block;
    }
    [data-page="scheda-prodotto"] .dettagli-sidebar2 {
        display: none;
    }
}
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto !important;
        width: 25% !important;
    }
    .col-lg-4 {
        flex: 0 0 auto !important;
        width: 33.33333333% !important;
    }
    .col-lg-5 {
        flex: 0 0 auto !important;
        width: 41.66666667% !important;
    }
    .col-lg-6 {
        flex: 0 0 auto !important;
        width: 50% !important;
    }
    .col-lg-7 {
        flex: 0 0 auto !important;
        width: 58.33333333% !important;
    }
    .col-lg-8 {
        flex: 0 0 auto !important;
        width: 66.66666667% !important;
    }
    .col-lg-12 {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}


[data-order="set-items"] {
    display: flex;
}
[data-order="set-items"][data-direction="row"] {
    flex-direction: row;
}
[data-order="set-items"][data-direction="col"] {
    flex-direction: column;
}
[data-order="set-items"]>[data-order="0"] {
    order: 0;
}
[data-order="set-items"]>[data-order="1"] {
    order: 1;
}
[data-order="set-items"]>[data-order="2"] {
    order: 2;
}
[data-order="set-items"]>[data-order="3"] {
    order: 3;
}
[data-order="set-items"]>[data-order="4"] {
    order: 4;
}
[data-order="set-items"]>[data-order="5"] {
    order: 5;
}
[data-order="set-items"]>[data-order="6"] {
    order: 6;
}
[data-order="set-items"]>[data-order="7"] {
    order: 7;
}
[data-order="set-items"]>[data-order="8"] {
    order: 8;
}
[data-order="set-items"]>[data-order="9"] {
    order: 9;
}

[data-item="tn-slider"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
}
[data-item="tn-slider"] .tns-item {
    margin: 0 0 0 0 !important;
    padding: 0 5px 0 0 !important;
}
[data-item="tn-slider"] .tns-item:not(.tns-slide-active) {
    opacity: .25;
    pointer-events: none;
    cursor: default;
}
[data-item="tn-slider"] [data-item="slider-wrapper"] {
    height: 100% !important;
}
[data-item="tn-slider"] [data-item="slider-wrapper"] [data-item="slider-content"] {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 280px !important;
}
[data-item="tn-slider"] [data-item="slider-wrapper"] [data-item="slider-content"] h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
[data-item="tn-slider"] [data-item="slider-content"] {
    height: auto;
    flex: 1;
}
[data-item="tn-slider"] [data-item="slider-content"] * {
    position: relative !important;
    max-height: none !important;
    height: auto !important;
    inset: auto auto auto auto !important;
    float: none !important;
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0 !important;
    line-height: 1.2 !important;
    gap: 10px !important;
}    
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] {
    gap: 5px !important;
}
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px !important;
    height: 40px !important;
    width: auto;
    min-width: 40px;
    line-height: 1 !important;
    border: solid 1px #A31C17;
    background-color: transparent;
    color: #A31C17;
}    
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a:hover ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button:hover {
    background-color: #A31C17;
    color: #fff;
}    
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a:focus ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button:focus {
    box-shadow: 0 0 0 .25rem rgba(163,28,23, .5);
}    
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a[\@click="aquistaClick"] ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button[\@click="aquistaClick"] {
    position: relative;
    border: solid 1px #A31C17;
    background-color: #A31C17;
    color: #fff;
    padding: 0 15px 0 15px !important;
}    
/*
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a[\@click="aquistaClick"]:hover ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button[\@click="aquistaClick"]:hover {
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.15);
}
*/
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a[\@click="aquistaClick"]::after ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button[\@click="aquistaClick"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity .2s;
}
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] a[\@click="aquistaClick"]:hover::after ,
[data-item="tn-slider"] [data-item="slider-content"] *[data-item="slider-button-wrapper"] button[\@click="aquistaClick"]:hover::after {
    opacity: 1;
}

.fw-normal {
    font-weight: normal !important;
}
.fw-100 {
    font-weight: 100 !important;
}
.fw-300 {
    font-weight: 300 !important;
}

.w-100 {
    width: 100% !important;
}
.box-size-boreder-box {
    box-sizing: border-box !important;
}

nav[data-item="page-breadcrumb"] {
    float: none;
    width: auto;
    display: flex;
    min-height: 40px;
    gap: 10px;
    padding: 0 10px 0 10px;
    margin: 0 0 0 0;
    border-bottom: 1px solid #f2f2f2;
}
nav[data-item="page-breadcrumb"]>ol {
    --item-gap: 3px;
    list-style: none;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    flex: auto;
    max-width: 1300px;
    width: 100%;
    float: none;
    margin: 0px auto;
    font-size: 12px;
    gap: var(--item-gap);
}
nav[data-item="page-breadcrumb"]>ol>li {
    display: flex;
    line-height: 24px;
    gap: var(--item-gap);
}
nav[data-item="page-breadcrumb"]>ol>li:not(:last-child):after {
    content: "/";
}
nav[data-item="page-breadcrumb"]>ol>li>a {
    font-weight: bold;
}
nav[data-item="page-breadcrumb"]>ol>li>a:hover {
    text-decoration: underline;
}
nav[data-item="page-breadcrumb"]>ol>li>a:not(.libri-moderni) {
    color: #184059;
}

div[data-page="prodotto-dettaglio"] {
    float: none;
    padding: 0 0 0 0;
    margin: 30px 0 0 0;
}
div[data-page="prodotto-dettaglio"] h3 {
    font-size: 16px;
}
div[data-page="prodotto-dettaglio"] [data-item="body-sidebar"] [data-item="cover-wrapper"] {
    display: flex;
    justify-content: center;
    background-color: rgba(53,136,201,.1);
    background-color: rgba(163,28,23,.1);
    margin-bottom: 3px;
}
div[data-page="prodotto-dettaglio"] [data-item="body-sidebar"] .scheda-libro-img {
    max-width: 300px;
}
div[data-page="prodotto-dettaglio"] [data-item="body-sidebar"] .slider-container {
    background-color: rgba(53,136,201,.1);
    background-color: rgba(163,28,23,.1);
}
div[data-page="prodotto-dettaglio"] [data-item="body-sidebar"] .slider-index-top-int-arrow span ,
div[data-page="prodotto-dettaglio"] [data-item="body-sidebar"] .slider-img-testo-pg-int-arrow span {
    background-color: rgba(163,28,23,.1);
}

div[data-page="prodotto-dettaglio"]>section[data-section="prodotto-dettaglio"] {
    --content-width: 1300px;
    float: none;
    clear: both;
}
div[data-page="prodotto-dettaglio"]>section[data-section="prodotto-dettaglio"]>[data-section-content="prodotto-dettaglio"] {
    float: none;
    clear: both;
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}
section.child-clear-float * {
    float: none;
    clear: both;
}
section[data-page="scheda-prodotto"] {
    float: none;
    padding: 0 0 0 0;
    margin: 0 0 30px 0;
}
section[data-page="scheda-prodotto"]>.page {
    float: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
section[data-page="scheda-prodotto"]>.page [data-item="body-sidebar"] {
    float: none;
    flex: auto;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
section[data-page="scheda-prodotto"]>.page [data-item="body-sidebar"][data-col="sidebar-1"] {
    float: none;
    flex: 0 0 100%;
    max-width: none;
}
section[data-page="scheda-prodotto"]>.page [data-item="body-sidebar"][data-col="sidebar-2"] {
    float: none;
    flex: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
section[data-page="scheda-prodotto"] h1 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
section[data-page="scheda-prodotto"] h3 {
    font-size: 16px;
}

.dettagli-container {
    display: block;
    box-sizing: border-box;
    float: none;
    padding: 0 10px 0 10px;
    margin: 0 0 30px 0;
    font-size: 14px;
}
.dettagli-container>.dettagli-wrapper {
    display: block;
    box-sizing: border-box;
    float: none;
    width: 100%;
    max-width: 1300px;
    padding: 0 0 0 0;
    margin: 0 auto 0 auto;
}

.dettagli-container>.dettagli-wrapper>.dettagli-content {
    float: none;
    clear: both;
    column-count: 1;
    column-gap: 30px;
    margin: 0 0 0 0;
}
.dettagli-container>.dettagli-wrapper>.dettagli-content ul[data-item="prodotto-dettagli"] {
    float: none;
    clear: both;
    display: flex;
    align-items: flex-start;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: #f2f2f2;
    gap: 15px;
    color: #777;
    margin: 0 0 0 0;
    padding: 4px 8px;
    box-sizing: border-box;
    margin: -1px 0 0 0;
    break-inside: avoid;
}
.dettagli-container>.dettagli-wrapper>.dettagli-content ul[data-item="prodotto-dettagli"]:nth-child(odd) {
    background-color: #f7f7f7;
}
.dettagli-container>.dettagli-wrapper>.dettagli-content ul[data-item="prodotto-dettagli"]>li.data-index {
    flex: 0 0 150px;
    font-weight: 400;
}
.dettagli-container>.dettagli-wrapper>.dettagli-content ul[data-item="prodotto-dettagli"]>li.data-value {
    flex: auto;
    color: #555;
    font-weight: 800;
}

[data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device] {
    display: none;
    flex-direction: column;
    gap: 10px;
}
[data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device="mobile"] {
    display: flex;
    margin-bottom: 30px;
}

[data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device] [data-item="product-headers-category"] {
    order: 0;
}
[data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device] [data-item="product-headers-authors"] {
    order: 0;
}
[data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device] [data-item="product-headers-title"] {
    order: 1;
}
[data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device] [data-item="product-headers-publishers"] {
    order: 1;
}

.w-auto {
    width: auto;
}
.h-auto {
    height: auto;
}
.\!w-auto {
    width: auto !important;
}
.\!h-auto {
    height: auto !important;
}

.fs-10 {
    font-size: 10px;
    line-height: normal;
}
.fs-12 {
    font-size: 12px;
    line-height: normal;
}
.fs-14 {
    font-size: 14px;
    line-height: normal;
}
.fs-16 {
    font-size: 16px;
    line-height: normal;
}
.fs-18 {
    font-size: 18px;
    line-height: normal;
}
.lh-normal {
    line-height: normal !important;
}
.lh-1\.2 {
    line-height: 1.2 !important;
}
.lh-1\.5 {
    line-height: 1.5 !important;
}
.opcity-25 {
    opacity: .25;
}
.opcity-50 {
    opacity: .5;
}
.opcity-75 {
    opacity: .75;
}

#cart-menu-header {
    position: relative;
}
#cart-menu-header:after {
    content: attr(x-model);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    min-width: 16px;
    min-height: 16px;
    font-size: 12px;
    color: #fff;
    background: #A31C17;
    opacity: 1;
    text-align: center;
    font-family: 'proxima-nova';
    font-weight: 500;
    position: absolute;
    inset: auto auto 100% 100%;
    transform: translate(-30%, 30%);
    border-radius: 10rem;
    padding: 2px 5.5px 2px 5.5px;
    box-sizing: border-box;
}
#cart-menu-header[x-model="0"]:after {
    content: none;
    display: none;
}




@media (max-width: 767px) {
    [data-item="tn-slider"] [data-item="img-link"] {
        flex: 0 0 180px;
    }
    [data-item="tn-slider"] [data-item="slider-content"] {
        flex: 0 0 calc(100% - 180px);
        max-width: calc(100% - 180px);
        height: auto;
    }
}
@media (max-width: 490px) {
    [data-order="set-items"][data-direction-mobile="col"] {
        flex-direction: column;
        align-items: center;
    }
    [data-item="tn-slider"][data-direction-mobile="col"] {
        flex-direction: column;
        align-items: center;
    }
    [data-item="tn-slider"] [data-item="slider-wrapper"] [data-item="slider-content"] {
        min-height: 0 !important;
        flex: auto;
        max-width: none;
        padding: 20px !important;
        margin: 0 0 0 0 !important;
    }
}

@media (min-width: 576px) {
    section[data-page="scheda-prodotto"] h1 {
        font-size: 34px;
    }
}
@media (min-width: 700px) {
    .dettagli-container>.dettagli-wrapper>.dettagli-content {
        column-count: 2;
        column-gap: 30px;
    }
}
@media (min-width: 768px) {
    section[data-page="scheda-prodotto"]>.page [data-item="body-sidebar"][data-col="sidebar-1"] {
        float: none;
        flex: 0 0 40%;
        max-width: 450px;
    }
    section[data-page="scheda-prodotto"]>.page {
        flex-direction: row;
        gap: 40px;
    }
    [data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device] {
        display: flex;
    }
    [data-page="prodotto-dettaglio"] [data-item="product-headers"][data-device="mobile"] {
        display: none;
    }
    section[data-page="scheda-prodotto"] h1 {
        font-size: 38px;
    }
    div[data-page="prodotto-dettaglio"] [data-item="body-sidebar"] .scheda-libro-img {
        max-width: none;
    }
}
@media (min-width: 992px) {
    section[data-page="scheda-prodotto"]>.page {
        gap: 40px;
    }
}
@media (min-width: 1024px) {
    .dettagli-container>.dettagli-wrapper>.dettagli-content {
        column-count: 2;
        column-gap: 30px;
    }
}
@media (min-width: 1200px) {
    section[data-page="scheda-prodotto"]>.page {
        gap: 60px;
    }
    .dettagli-container>.dettagli-wrapper>.dettagli-content {
        column-count: 3;
        column-gap: 30px;
    }
}





