/* root colori */
:root {
    --clr-cream: #f5f1df;
    --clr-gold: #C0AD77;
	--clr-bronze: #9f8821;
    --clr-accent-blue: #03a9f4;
    --clr-accent-blue-hover: #3c7bd9;
	--clr-grey: rgba(0,0,0,0.6);
	--clr-dark-grey: rgba(0,0,0,0.8);
    --clr-warning: #f44336;
    --font-p: 'Montserrat', sans-serif;
    --font-h: "swear-display";
    --fs-light: 300;
    --fs-medium: 500;
    --fs-bold: 700;
}

a {
    color: var(--clr-gold);
    font-weight: 500;
}

/* breacrumb mobile */
#header .header-top .user-info, #wrapper .breadcrumb nav.breadcrumb ol {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb ol li > * {
    white-space: pre-wrap;
}

/* blocco rassicurazioni cliente */
.blockreassurance {
    text-align: center;
    width: 100%;
    padding: 1em;
    border-bottom: 1px solid var(--clr-gold);
    margin-bottom: 2em;
}

/* popup add to cart mobile */
@media (max-width: 480px) {
    #blockcart-modal .cart-content .cart-content-btn {
        justify-content: space-between;
        flex-direction: column-reverse;
        align-content: center;
        align-items: center;
        width: 100%;
    }

    #blockcart-modal .cart-content .cart-content-btn > * {
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}

/* spaziature cart mobile */
@media (max-width: 767px) {
    body#cart .product-line-actions {
        display: flex;
        padding: 1rem;
        justify-content: flex-end;
    }

    body#cart .product-line-actions > .row {
        display: flex;
        gap: 2rem;
    }

    body#cart .product-line-actions .qty {
        width: auto;
    }

    body#cart .product-line-actions > .row .col-xs-4   {
        display: none;
    }

    body#cart .product-line-actions > .row .col-md-10 {

    }
}

/* blocco banner carrello realizzato con modulo banner anywhere ETS */
body#cart .ets_baw_display_banner {
    border: 2px solid var(--clr-gold);
    padding: 1em 1em 0;
}

@media (max-width: 767px) {
    body#cart .ets_baw_display_banner .ph_pcms_block_product_list {
        margin-top: 20px;
    }

    body#cart .ets_baw_display_banner .thumbnail-detail .thumbnail-top {
        max-width: 80%;
        margin: auto;
    }

    body#cart .ets_baw_display_banner .ph_pcms_product_list_wrapper button.slick-arrow {
        top: 40%;
    }
}

/* stile testi e link miniature biglietti */
body#cart .ets_baw_display_banner a {
    color: #000;
}

body#cart .ets_baw_display_banner .product-miniature h2 {
    font-size: 0.5rem;
    line-height: 1.5;
    min-height: 4rem !important;
}

body#cart .ets_baw_display_banner .product-miniature .thumbnail-container {
    background: transparent !important;
    padding: 5px;
}

body#cart .ets_baw_display_banner .product-miniature .thumbnail-container .thumbnail-detail {
    padding: 0.8rem;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    background-color: white;
    margin-bottom: 15px;
}

/* pulsanti add to cart miniature carousel banner carrello */
body#cart .ets_baw_display_banner .button-default.btn-light:hover {
    border-color: white !important;
}

/* stile frecce carosello prodotti inserito nel carrello, per i biglietti d'auguri */
.ph_pcms_product_list_wrapper button.slick-arrow {
   border-radius: 50%;
   background-color: white !important;
   box-shadow: 0px 2px 5px rgb(0 0 0 / 20%);
}

.ph_pcms_product_list_wrapper button.slick-next.slick-arrow:before {
   transform: translate3d(-50%,-50%,0) rotate(45deg);
   -webkit-transform: translate3d(-50%,-50%,0) rotate(45deg);
   left: auto;
   right: 8px !important;
}

.ph_pcms_product_list_wrapper button.slick-arrow:before {
   width: 15px !important;
   height: 15px !important;
   margin-left: 3px !important;
}

/* spaziatura miniature carosello mobile */
@media (max-width: 767px) {
	body#cart .ets_baw_display_banner .slick-slide {
		width: calc(100vw / 2 - 1rem) !important;
	}
}

@media (max-width: 480px) {
	body#cart .ets_baw_display_banner .slick-slide {
		width: calc(100vw / 2 - 1rem) !important;
	}
}

/* blocco banner category left column, realizzato con modulo banner anywhere di ETS - non più utilizzato, sezione disattivata
.displayleftcolumn .content_before_image {
    position: relative;
}
.displayleftcolumn .content_before_image > div {
    position: absolute;
    padding: 30% 1em 1em;
}
.displayleftcolumn .content_before_image > div h4, .displayleftcolumn .content_before_image > div p, .displayleftcolumn .content_before_image > div a {
    color: white;
    font-family: var(--font-p);
}
.displayleftcolumn .content_before_image > div h4 {
    font-size: 1.4em;
}

.displayleftcolumn .content_before_image > div p {
    margin-bottom: 4em;
    line-height: 1.4;
    font-size: 1.1em;
}

.displayleftcolumn .content_before_image > div a {
    padding: 0.5em;
    border: 1px solid white;
    font-weight: var(--fs-bold);
    font-size: 1.1em;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
*/

/* banner promo categorie - modulo custom */
.category-banner_title h3 {
    font-size: 2rem;
}

.category-banner_text {
    font-size: 1.2rem !important;
}

.category-banner_button a {
    max-width: -webkit-fill-available !important;
}


/* font pagina dettagli ordine */
body#order-detail :is(address, td, div) {
    font-weight: 400;
}

/* sezione opzioni ordine account cliente */
body#checkout .order-options .custom-checkbox {
    background-color: var(--clr-gold);
    padding: 0.5em;
    margin-bottom: 1.5em;
}

body#checkout .order-options .custom-checkbox > label {
    color: white;
    padding-left: 1em;
}

body#checkout .order-options .custom-checkbox span {
    position: relative;
    flex: 0 0 18px;
    background-color: white;
}

/* nascondere sezione carta regalo dal carrello */
body#checkout .order-options #gift {
    display: none !important;
}

/* messaggio errore globale */
.alert-danger {
    background-color: var(--clr-warning);
    border-color: var(--clr-warning);
    color: white;
    font-weight: 500;
}

/* stile warning condizioni carrello */
.cartcon_errors.alert-danger {
    padding-bottom: 1.5rem;
}

p.alert-text > strong:first-of-type {
    display: none;
}

body#cart .cartcon_errors p.alert-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

body#cart .cartcon_errors a {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 5px;
    color: #000;
}

/* nascondere note ordine */
body#checkout .order-options #delivery {
   display: none !important;
}

/* nascondere label genere */
section.register-form label[for="field-id_gender"], #checkout-personal-information-step label[for="field-id_gender"] {
   visibility: hidden !important;
}

/* nascondere aiuto campo per Nome e Cognome  */
#customer-form div.form-group:nth-child(3) span, #customer-form div.form-group:nth-child(2) span {
    display: none !important;
}

/* stile info creazione account */
span.form-informations-title {
    color: var(--clr-gold);
}

/* stile link lista wishlist sezione my account */
#module-blockwishlist-lists ul.wishlist-list li a p, .wishlist-list-item:hover .wishlist-list-item-title {
    font-weight: 600;
    color: #000;
}

/* stile link wishlist sezione my account */
.wishlist-footer-links a {
    color: var(--clr-gold);
}

/* modale add to wishlist */
.wishlist-modal .modal-header h5 {
    color: var(--clr-gold);
}

.wishlist-add-to-new:not([href]):not([tabindex]) {
    color: white !important;
    background-color: var(--clr-gold);
    padding: 0.3rem 0.8rem 0.4rem;
    border-radius: 5px;
}

.wishlist-add-to-new i {
    color: white !important;
}

.wishlist-list-item:hover {
    background: var(--clr-cream) !important;
}

.wishlist-list-item:hover p {
    font-weight: 500;
}

article.product-miniature:not([data-id-product-attribute="0"]) .variant-links {
   display: none;
}

.product-miniature:not([data-id-product-attribute="0"]) .thumbnail-container:hover .highlighted-informations, .product-miniature:not([data-id-product-attribute="0"]) .thumbnail-container:focus .highlighted-informations {
   top: calc(100% - 2.5rem);
}

/* info carta regalo libri per avvocati 23.05 - sezione combinazioni nella scheda prodotto */
.product-variants .control-label {
    padding-top: 4rem;
    color: var(--clr-gold);
    font-weight: 600;
}

body#product ul#group_1:before {
    content: 'È un regalo? Realizzeremo GRATIS la confezione regalo con la storica carta della Libreria L\'Accademia.';
    position: absolute;
    margin-top: -5rem;
    line-height: 1.2rem;
    font-weight: 500;
}

@media (max-width: 767px) {
	body#product ul#group_1:before {
		margin-top: -6rem;
	}
}

/* footer mobile */
.footer_main .block-social {
    z-index: 9999;
}

@media (max-width: 767px) {
    .footer-container .footer_bar {
        display: flex;
        flex-direction: column;
        padding: 1rem 0 0.5rem;
        align-content: center;
        align-items: center;
    }
}

/* rimuovere icone account e cart dal top menu */
.header-nav_page div#_desktop_user_info, .header-nav_page div#_desktop_cart {
    display: none !important;
}

/* modifiche apportate nel theme.css per aumentare la grandezza delle miniature colore/texture delle combinazioni prodotto */
.input-color {
    width: 65px;
    height: 85px;
}

label .color, .variant-links .color,.custom-checkbox input[type="checkbox"]+span.color {
    width: 65px;
    height: 85px;
    margin: 0.8rem;
    border: 1px solid var(--clr-gold);
}

/* nascondere sezione 'varianti' e anteprima dalle miniature dei prodotti senza varianti */
.thumbnail-top .highlighted-informations.no-variants {
    display: none !important;
}

/* nascondere icona checkbox dalla sezione filtri */
.custom-checkbox input[type=checkbox]:checked+span .checkbox-checked {
    display: none !important;
}

/* ingrandire nome prodotto nelle miniature */
.product-miniature .thumbnail-container .thumbnail-detail .product-description h3 a {
    font-size: 1rem;
    line-height: 1.22rem;
}

/* allineamento sezione prezzi nelle miniature */
.product-miniature .product-price-and-shipping {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* ingrandire prezzo nelle miniature */
.product-miniature .thumbnail-container .thumbnail-detail .product-description .product-price-and-shipping .price {
    font-size: 1.25rem;
}

/* aggiornare prezzo intero nelle miniature */
.product-miniature .regular-price {
    font-size: 1.125rem;
    font-weight: var(--fs-medium);
    color: #888;
}

.product-flags li.product-flag.discount, .product-flags li.product-flag.discount-amount, .product-flags li.product-flag.discount-percentage {
    background-color: var(--clr-gold);
}

/* tabella dettagli tecnici pagina prodotto */
dl.data-sheet > * {
    background: white !important;
}

dl.data-sheet > dt, dl.data-sheet > dd {
    padding: 0.7rem 0.5rem;
    margin: 0 !important;
}

dl.data-sheet > dt {
    flex: 1 1 20% !important;
    color: #c0ad77;
    padding-left: 0 !important;
}

dl.data-sheet > dd {
    flex: 1 1 80% !important;
}

@media (max-width: 767px) {
    dl.data-sheet > dt {
        flex: 1 1 30% !important;
    }
    dl.data-sheet > dd {
        flex: 1 1 70% !important;
    }
}

@media (max-width: 480px) {
    dl.data-sheet > dt {
        flex: 1 1 35% !important;
    }
    dl.data-sheet > dd {
        flex: 1 1 60% !important;
    }
}

/* mega menu ets ancora al posto della navigazione di default */
.ets_mm_megamenu_content .container {
    width: 100%;
}

.mm_columns_li:first-child ul li {
    margin-bottom: 0 !important;
}

/* nascondere descrizione breve dal modale del prodotto (zoom image) */
.modal-content #product-description-short {
    display: none !important;
}

/* stile menu 01.06.2022 */
#header .logo {
    min-width: 90px;
}

#header .layout_layout1:not(.ybc_vertical_menu) .mm_menus_li > a {
    font-weight: 500;
}
#header .layout_layout1:not(.ybc_vertical_menu) .mm_menus_li > a:hover {
    font-weight: 600;
}

.ets_mm_megamenu.layout_layout1 .ets_mm_megamenu_content .container .ets_mm_megamenu_content_content ul.mm_menus_ul li:hover>a {
    font-weight: 600;
}

/* nascondere arrow slider homepage */
#carousel i.material-icons {
    display: none !important;
}

/* nascondere dots slider mobile */
body#index #bonslick ul.slick-dots {
    display: none;
}

/* slider mobile */
body#index #bonslick {
    background-color: #fffdf5;
}

body#index #bonslick li {
    margin-bottom: 10px;
}

body#index #bonslick .bonslick-caption {
    max-width: 60%;
}

body#index #bonslick .bonslick-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.box-bonslick p {
    display: block;
    font-family: 'Montserrat';
    font-weight: 400;
}

body#index #bonslick .slick-dotted.slick-slider {
    margin-bottom: 0;
}

/* slider homepage */

/* slider mobile nascosto su tablet-desktop */
@media (min-width: 767px) {
    body#index section#bonslick {
        display: none;
    }
}

/* slider desktop nascosto su mobile */
@media (max-width: 767px) {
    body#index #carousel {
        display: none;
    }
}

/* rimuovere margin-left all'header poiché il menu risulta non centrato.. anche se da Design in effetti non lo era... */
@media (min-width: 768px) {
    nav.header-nav > .container {
		width: 90%;
    }
}

@media (min-width: 576px) {
    #header>*>.container {
		width: 90%;
        margin: 0 auto;
    }
}

/* spaziature menu + searchbar */
.ui-autocomplete.searchbar-autocomplete {
    box-shadow: 0 8px 8px rgb(0 0 0 / 15%) !important;
    padding: 0 !important;
    min-height: auto;
}

@media (min-width: 768px) {
    .ui-autocomplete.searchbar-autocomplete {
        width: calc(90% - 20px) !important;
        top: calc(48px + 133px + 46px) !important;
        left: calc(5% + 10px) !important;
    }
}

@media (max-width: 767px) {
    #header .header-top {
        padding: 0.75rem 0;
    }
    #header .header-top .header-menu #search_widget .search-bar_form {
        top: 103% !important;
    }
    .ui-autocomplete.searchbar-autocomplete {
        left: calc(5% + 10px) !important;
        top: calc(48px + 105px + 40px) !important;
        width: calc(90% - 20px) !important;
    }
    #header .logo {
        max-width: 75px;
        min-width: 50px;
    }
}

@media (max-width: 576px) {
    .ui-autocomplete.searchbar-autocomplete {
        width: calc(100% - 20px) !important;
        left: 10px !important;
    }
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
    background-color: var(--clr-cream);
}

/* stile searchbar*/
#header .header-top .header-menu #search_widget .search-bar_form {
    top: 115%;
}

#search_widget form input {
    background-color: #d1bd87;
    color: white;
    font-weight: var(--fs-medium);
}


/* stile placeholder search bar */
.header-top #search_widget input::placeholder {
    color: white;
    opacity: 1;
}

/* WebKit, Edge */
.header-top #search_widget input::-webkit-input-placeholder {
    color: white;
    opacity: 1;
}
/* Firefox 4-18 */
.header-top #search_widget input:-moz-placeholder {
    color: white;
    opacity: 1;
}

/* Firefox 19+ */
.header-top #search_widget input::-moz-placeholder {
    color: white;
    opacity: 1;
}

/* IE 10-11 */
.header-top #search_widget input:-ms-input-placeholder {
    color: white;
    opacity: 1;
}

/* Edge */
.header-top #search_widget input::-ms-input-placeholder {
    color: white;
    opacity: 1;
}

/* MODERN BROWSER */
.header-top #search_widget input::placeholder {
    color: white;
    opacity: 1;
}

/* spaziatura elementi */
nav.pagination ul li a {
    margin: 0 0.5rem;
}

/* nascondere descrizione breve prodotti nelle miniature */
body#cart .product-desc, body#category .product-desc, body#index .product-desc {
    display: none;
}

.product-miniature .product-desc {
    display: none;
}

.product-miniature .thumbnail-container:focus .product-description::after, .product-miniature .thumbnail-container:hover .product-description::after {
    border-top: 0 !important;
}

.highlighted-informations.no-variants {
    display: none !important;
}

/* sezione filtri archivi */
#search_filters .facet .dropdown-filter .collapse li:not(:last-child) {
    margin-bottom: 0;
}

/* user info */
#header .header-top .user-info .user-info_action {
    line-height: 1;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 0.5rem;
}

#header .header-top .user-info .user-info_action>a:first-child {
    margin-bottom: 0;
}

.user-info_action a.account {
    font-weight: 400;
}

@media (max-width: 767px) {
	#_desktop_user_info {
		display: block !important;
		margin-left: 10px;
	}
	#_desktop_user_info .user-info .user-info_action {
		display: none !important;
	}
}

/* paragrafi pagine cms */
.page-content.page-cms ul, p {
    font-weight: 400;
}

/* grassetti pagine cms */
body#cms section#content strong {
    font-weight: 600;
}

/* applicare stile h1 archivi, agli h1 delle pagine cms */
.block-category h1, .page-cms h1 {
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    font-weight: 600;
}

/* nascondere descrizione breve dal modale - image zoom - nelle pagine prodotto  */
#product-modal .modal-content .modal-body .image-caption {
    display: none;
}

/* slider homepage */
.carousel .carousel-item .caption .caption-description h3 {
    color: var(--clr-bronze);
	font-size: 2rem;
}

.carousel.full-width-row .carousel-item .caption {
    left: 8%;
    top: 45%;
    bottom: 0;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 50%;
    height: fit-content;
}

@media (min-width: 992px) {
	.carousel .carousel-item .caption .caption-description h3 {
		font-size: 3.125rem;
		font-weight: 600;
		color: #9F8821;
		margin-bottom: 1.5rem;
	}
	
	.carousel .carousel-item .caption .caption-description .page-content.page-cms ul, .carousel .carousel-item .caption .caption-description p, .page-content.page-cms .carousel .carousel-item .caption .caption-description ul {
		font-size: 1.375rem;
		color: #000;
		line-height: 1.938rem;
	}
	
}

@media (min-width: 768px) and (max-width: 991px) {
	.carousel.full-width-row .carousel-item .caption {
		top: 32%;
	}
}

@media (max-width: 767px) {
	.carousel-indicators {
		display: none;
	}
	.carousel .carousel-item .caption .caption-description h3 {
		font-size: 1.5rem;
	}
	.carousel .carousel-item .caption .caption-description p {
		display: none;
	}	
}

@media (max-width: 480px) {
	.carousel .carousel-item .caption .caption-description h3 {
		font-size: 1rem;
	}	
}

/* aggiungere contain alle immagini prodotto */
body#product ul.splide__list li.splide__slide {
    background-size: contain !important;
}

body#product #thumbnail-carousel-list li {
    max-width: 100%;
}

/* link topbar */
#header .header-nav a {
    color: #000 !important;
    font-weight: 400 !important;
}

/* spaziatura filtri archivi */
#search_filters .facet .facet-label a {
    white-space: inherit;
}

/* aggiunta testo minimo d'ordine sulle pagine prodotto libri per avvocati - non più utilizzata
.product-customization .product-customization-item, .product-variants>.product-variants-item {
    margin: 1.25rem 0 0;
}

body#product.product-id-category-45 .product-variants:after, body#product.product-id-category-46 .product-variants:after {
    content: 'Minimo d\'ordine di 30.00€';
    position: relative;
    color: #000;
    font-weight: 500;
    font-size: 0.9rem;
}*/

/* altezza slider homepage */
.carousel {
    max-height: 70vh;
}

.carousel .carousel-item {
    height: 100%;
    max-height: 70vh;
}

.block-category .block-category-inner #category-description p, .page-content.page-cms .block-category .block-category-inner #category-description ul {
    font-weight: 400;
    color: var(--clr-dark-grey);
}

.block-category .block-category-inner #category-description strong {
    font-weight: 600;
    color: #000;
}

/* pagina my-account */
.page-customer-account .page-footer, .page-my-account .page-footer, .page-order-detail .page-footer, .page-addresses .page-footer {
    margin: 0 0 4rem !important;
}

body#my-account .page-footer a {
    font-weight: 500 !important;
}

body#my-account .page-footer a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--clr-gold);
    box-sizing: border-box;
    position: relative;
}

/* pulsanti dettagli-riordina */
body#history #content .order-actions a, #order-infos .text-xs-right a {
    padding: .25rem 0.5rem .2rem .6rem;
    border-radius: 5px;
}

body#history #content .order-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

body#history #content .order-actions a:first-child {
    color: var(--clr-gold) !important;
    border: 1px solid var(--clr-gold);
}

body#history #content .order-actions a:first-child:hover {
    color: var(--clr-gold) !important;
    border: 1px solid var(--clr-gold) !important;
}

body#history #content .order-actions a:last-child {
    background-color: var(--clr-accent-blue);
    border: 1px solid var(--clr-accent-blue);
    color: white !important;
}

body#history #content .order-actions a:last-child:hover, #order-infos .text-xs-right a:hover {
    background-color: var(--clr-accent-blue) !important;
}

#order-infos .text-xs-right a {
    background-color: var(--clr-accent-blue) !important;
    color: white !important;
}

/* pagina login mobile */
@media (max-width: 767px) {
    body#authentication footer.form-footer {
        text-align: center;
    }
}

/* responsive menu con voci su due righe */
@media (min-width: 1400px) and (max-width: 1620px) {
    .ets_mm_megamenu.layout_layout1 .ets_mm_megamenu_content .container .ets_mm_megamenu_content_content ul.mm_menus_ul li a .mm_menu_content_title {
        padding: 10px 12px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .ets_mm_megamenu.layout_layout1 .ets_mm_megamenu_content .container .ets_mm_megamenu_content_content ul.mm_menus_ul li a .mm_menu_content_title {
        padding: 5px 12px;
    }
}

/* nascondere logo paypal pay later nel carrello */
.payment-method-logo-block > div:nth-child(3) {
    display: none !important;
}

/* stile colore btn promo */
.text-promo-color {
    color: var(--clr-accent-blue);
}

.block-promo a.button-default.promo {
    margin: auto;
    color: var(--clr-accent-blue);
    border-color: var(--clr-accent-blue);
    width: auto;
    max-width: fit-content !important;
}

.block-promo a.button-default.promo:hover {
    color: var(--clr-accent-blue);
    border-color: var(--clr-accent-blue);
    background-color: white !important;
}

/* miniature pagina prodotto */
ul#thumbnail-carousel-list li {
    background-size: contain !important;
}

/* stile breadcrumb */
#wrapper .breadcrumb nav.breadcrumb ol li {
    font-weight: 400;
    font-size: 13px;
}

#wrapper .breadcrumb nav.breadcrumb ol li:last-child span {
    font-size: 13px;
}

/* nascondere alias e ottimizzare box indirizzo */
body#checkout section.checkout-step .address-item>header {
    min-height: 10.7rem;
}

body#checkout section.checkout-step .address-alias {
    display: none !important;
}

body#checkout section.checkout-step .address {
    margin-left: 0;
    display: inline-flex;
    line-height: 1.5;
}

/* colore link indirizzo fatturazione */
a[data-link-action="different-invoice-address"] {
    color: var(--clr-accent-blue);
    font-weight: 500;
}

a[data-link-action="different-invoice-address"]:hover {
    color: var(--clr-accent-blue-hover);
}

/* stile codice sconto carrello */
.cart-grid-right .promo-discounts .cart-summary-line .label .code {
    color: white;
    padding: 0.2rem 0.5rem;
    background-color: var(--clr-accent-blue);
    border-radius: 5px;
}

/* stile info corriere carrello */
span.carrier-delay, span.carrier-price {
    font-weight: 500;
}

/* abilitare visibilità checkbox attiva nel checkout */
.custom-checkbox input[type=checkbox]:checked +span .checkbox-checked {
    display: block !important;
}

/* layout pagina contattaci */
label[for="id_contact"], select#id_contact {
    display: none;
}

body#contact hr {
    display: none !important;
}

@media (max-width: 991px) {
    body#contact div#left-column {
        width: 100%;
    }
    body#contact div#left-column .contact-rich {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        flex-direction: row;
    }
    body#contact #left-column .contact-rich h4 {
        width: 100%;
    }
    body#contact #left-column .block {
        width: calc(33% - 1rem);
    }
}

@media (max-width: 767px) {
    body#contact div#left-column .contact-rich {
        flex-direction: column;
    }
    body#contact #left-column .block {
        width: 100%;
        margin-bottom: 0;
    }
}

#left-column .block, #right-column .block {
    box-shadow: 0px 2px 8px 0 rgb(0 0 0 / 7%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--clr-gold);
}

body#contact a[href^="mailto:"] {
    margin-top: 0;
}

/* spaziatura titolo miniatura prodotto per responsive */
.product-miniature .product-title {
    min-height: 4rem;
}

/* spaziatura titolo miniatura prodotto per responsive */
.ets_baw_display_banner .product-miniature .product-title {
    min-height: 100px !important;
}

@media (max-width: 767px) {
    .ets_baw_display_banner .product-miniature .product-title {
        display: none !important;
    }
}

.product-description {
    padding: 10px 0 0 !important;
}

/* stile pagina attiva archivi */
.pagination .current a {
    color: var(--clr-gold);
    font-weight: 700;
    font-size: 1.25rem;
}

/* stile link quick view miniatura prodotto */
.product-miniature .highlighted-informations .quick-view {
    color: var(--clr-grey);
    font-weight: 500;
}

/* testi indirizzi pagine my-account */
@media (min-width: 381px) {
	body.page-addresses section#content > div {
		width: max-content;
	}
}

body.page-addresses .address .address-body address {
    min-height: 9rem;
    color: #000;
    font-weight: 400;
    line-height: 1.5rem;
    font-size: 0.9rem;
}

/* stile box indirizzi pagina account */
.page-addresses .address .address-body {
    box-shadow: 0px 2px 8px 0 rgb(0 0 0 / 7%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--clr-gold);
}

.page-addresses .address .address-footer {
    border-top: 0;
}

@media (max-width: 380px) {
	.page-addresses .address .address-footer {
		flex-direction: column;
	}
}

/* stile carrello menu con icona svg
#header .header-top .header-menu div#_desktop_cart .blockcart .header span.cart-products-count {
    background: #d2bd86;
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    font-weight: 500;
    right: -10px;
    top: -9px;
}

#_desktop_cart svg {
    fill: #000;
} */

/* label register, login, dati personali, cart + dati contattaci */
.label, label, .contact-rich .block .data {
    color: #000;
    font-weight: 400;
}

.contact-rich .block .icon i {
    color: var(--clr-gold);
}

/* etichetta 'opzionale' form */
.form-control-comment {
    color: var(--clr-dark-grey);
    font-weight: 400;
}

/* immagini sottomenu */
.ets_mm_block.mm_block_type_image.mm_hide_title img {
    max-height: 300px;
    width: auto;
}

/* nascondere alias indirizzo */
.page-addresses .address .address-body h4 {
    display: none;
}

/* personalizzazione pulsanti aggiorna ed elimina indirizzo */
.page-addresses .address .address-footer {
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-content: center;
    align-items: center;
    justify-content: space-around;
}

.page-addresses .address .address-footer a {
    margin-right: 0;
    padding: 0.4rem 1rem;
    border-radius: 5px;
}

.page-addresses a[data-link-action="edit-address"] {
    color: white !important;
    border: 1px solid var(--clr-accent-blue);
    background-color: var(--clr-accent-blue);
}

.page-addresses a[data-link-action="edit-address"]:hover {
    color: white;
    border: 1px solid var(--clr-accent-blue-hover);
    background-color: var(--clr-accent-blue-hover);
}

.page-addresses a[data-link-action="delete-address"] {
    color: var(--clr-gold) !important;
    border: 1px solid var(--clr-gold);
    background-color: white;
}

.page-addresses a[data-link-action="delete-address"]:hover {
    color: white !important;
    border: 1px solid var(--clr-gold);
    background-color: var(--clr-gold);
}

/* frecce carosello sezione 'Potrebbe piacerti anche' */
.glide .glide__arrows .glide__arrow {
    top: calc(50% - 1.5rem);
    border: 0px solid rgba(255,255,255,.5);
}

/* sezione tab */
@media (min-width: 768px) {
    .product-info-table ul li.nav-item+.nav-item {
        margin-left: 0;
    }
}

/* sezione tab scheda prodotto mobile */
@media (max-width: 991px) {
	.product-info-table ul li.nav-item a.nav-link.active {
		border-inline: 0px solid #e2d6b4;
	}
    .product-info-table ul li.nav-item:not(:first-child) > a.nav-link.active {
        border-top: 1px solid var(--clr-gold) !important;
    }
}

/* stile blog */

/* archivio */
.ybc-blog-wrapper .page-heading {
    font-size: 2rem;
}

.ybc-blog-list .post-wrapper {
    padding: 1rem;
    border: 2px solid var(--clr-gold);
}

/* single */
.blog_description {
    word-break: break-word;
}

.ybc-blog p {
    font-weight: 400;
}

.ybc-blog ol li, .ybc-blog ul li {
    font-weight: 400;
}

.ybc-blog ol li strong, .ybc-blog ul li strong {
    font-weight: 600;
}

body#ybc_blog_page .post-details ol {
    padding-left: 1rem;
}

body#ybc_blog_page .post-details {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    width: 100%;
}

.blog-extra-facebook-share li a {
    width: auto;
}

/* blocco categorie primo livello */
.block-categories {
    padding: 0 1rem 1rem 0;
    margin-bottom: 1.5rem;
    display: none;
}

:-webkit-any(body.category-id-6, body.category-id-5, body.category-id-4, body.category-id-3) .block-categories {
    display: block;
}

:-moz-any(body.category-id-6, body.category-id-5, body.category-id-4, body.category-id-3) .block-categories {
    display: block;
}

.block-categories ul.category-top-menu li:first-child {
    display: none !important;
}

.block-categories .category-sub-menu li[data-depth="0"]>a {
    font-weight: 400;
}

ul.category-sub-menu:before {
	font-weight: 600;
}

body.category-id-5 ul.category-sub-menu:before {
    content: 'Esplora gli oggetti culturali:';
}

body.category-id-6 ul.category-sub-menu:before {
    content: 'Esplora gli oggetti d\'arredo:';
}

body.category-id-4 ul.category-sub-menu:before {
    content: 'Esplora i regali culturali:';
}

body.category-id-3 ul.category-sub-menu:before {
    content: 'Esplora i regali per avvocati:';
}

@media (min-width: 992px) {
    .product-accessories.product-page {
        margin-bottom: 5rem;
    }
}

/* contatti topbar */
.static-link-top-bar i.material-icons {
    color: #000;
    font-size: 1.25rem;
    vertical-align: text-bottom;
}

@media (max-width: 767px) {
    .static-link-top-bar li:nth-child(2) {
        display: none;
    }
}

@media (min-width: 768px) {
    li.hide-desktop {
        display: none;
    }
}

/* carosello prodotti blog 15.07.2022 */
.post-details .blog_description {
    max-width: 100% !important;
}

.product-on-blog {
    margin: 2rem 0;
    border: 2px solid var(--clr-gold);
    padding: 0 1rem;
}

.product-on-blog .product-miniature h2 {
    font-size: 0.5rem;
    line-height: 1.5;
    min-height: 4rem !important;
}

.product-on-blog .product-miniature .thumbnail-container {
    background: transparent !important;
    padding: 5px;
}

.product-on-blog .product-miniature .thumbnail-container .thumbnail-detail {
    padding: 0.8rem;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    background-color: white;
    margin-bottom: 15px;
}

.product-on-blog button.slick-arrow {
    border-radius: 50%;
    background-color: white !important;
    box-shadow: 0px 2px 5px rgb(0 0 0 / 20%) !important;
}

@media (max-width: 900px) {
	.product-on-blog span.price {
		font-size: 0.9rem !important;
	}
	.product-on-blog h2 {
		font-size: 0.7rem !important;
	}
	.product-on-blog .product-button .button-default {
		font-size: 0.7rem;
		padding: 8px;
	}
}

@media (min-width: 767px) {
	.product-miniature .thumbnail-container .thumbnail-detail .product-description h2 a, .product-miniature .thumbnail-container .thumbnail-detail .product-description h3 a {
		font-size: 0.85rem !important;
	}
	.product-miniature .thumbnail-container .thumbnail-detail .product-description .product-price-and-shipping .price {
		font-size: 0.9rem !important;
	}
	.ph_pcms_product_list_wrapper.layout-slide .product-miniature {
		padding: 0 5px;
	}
}

@media (min-width: 767px) and (max-width: 900px) {
	.product-on-blog .product-miniature h2 {
		min-height: 5rem !important;
	}
}

@media (min-width: 1199px) {
	.product-on-blog .product-miniature h2 {
		min-height: 5rem !important;
	}
	.product-miniature .thumbnail-container .thumbnail-detail .product-description h2 a, .product-miniature .thumbnail-container .thumbnail-detail .product-description h3 a {
		font-size: 0.95rem !important;
	}
}

@media (min-width: 1350px) {
	.product-on-blog .product-miniature h2 {
		min-height: 4.5rem !important;
	}
}

/* hide blog category on single blog post breadcrumb list */
body#ybc_blog_page .breadcrumb ol li:nth-child(3) {
    display: none !important;
}

/* custom block for blog list page */
.ybc-blog #content-wrapper .ybc-blog-wrapper {
    padding: 0 30px 30px;
}

#ybc_blog_page .blog-head .ets_baw_display_banner {
    margin-bottom: 0px;
}

#ybc_blog_page .blog-head {
    background-image: url(https://www.librerialaccademia.it/img/cms/Blog/foto-libreria.jpg);
    background-position: center;
    padding: 4rem 3rem;
    margin-bottom: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.blog-head .head-content {
    background-color: #fff;
    padding: 2rem;
    width: 50%;
    outline: 10px solid white;
    border: 2px solid var(--clr-bronze);
}

@media (max-width: 767px) {
	.blog-head .head-content {
		padding: 1.5rem;
		width: 70%;
	}
}

@media (max-width: 500px) {
	.blog-head .head-content {
		width: 90%;
	}
}

/* Cart Banner 12.12.2022 */
.pscartbanner .card-block {
    padding: 1rem;
}

/* Paypal button style 07.07.2023 */
.product-add-to-cart #ps-checkout-express-button div.paypal-buttons-context-iframe {
    margin-left: 0;
}

@media only screen and (min-width: 150px) {
	.paypal-button-container {
		min-width: 175px;
		max-width: 230px;
	}
    .paypal-button-container .paypal-button-row.paypal-button-shape-pill {
        height: 40px !important;
        min-height: 40px !important;
    }
    .paypal-button-row .paypal-button.paypal-button-shape-pill {
        border-radius: 100vmax !important;
    }
    .paypal-button > .paypal-button-label-container {
        height: 18px !important;
    }
    .paypal-button-container .paypal-button-row span.paypal-button-text {
        font-size: 14px !important;
        line-height: 18px !important;
    }
	.paypal-button .paypal-button-text.immediate:not(.paypal-personalization-text):not(.hidden) {
		font-size: 13px;
	}
}