/* custom.css */

.modal.in .modal-dialog {
    align-items: self-start;
}

#cart #wrapper,
#checkout #wrapper {
    padding-top: 2rem;
}

/* GAETANO - Modifica Header */
.elementor-widget-wrap svg,
.header__button--wishlist .ap-btn-wishlist,
#leo_block_top.popup-over a.popup-title {
    width: 40px !important;
    height: 40px !important;
}

#leo_search_block_top .form-control {
    border: 1px solid #000000;
}

.leo-megamenu b.caret::after {
    content: "\f107";
    font-family: "FontAwesome";
    color: #000;
    font-size: .9375rem;
    font-weight: 400;
    width: auto;
    height: auto;
    border: none;
    margin-left: 5px;
    margin-top: -2px;
    vertical-align: initial;
}

.off-canvas-nav-megamenu .nav .widget-subcategories li.dropdown .caret{
    top: 0;
}

/* Listato */
#category-description {

    h2,
    h3,
    h4,
    h5,
    h6 {/*  */
        margin-top: 2rem !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
    }

    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    strong,
    span {
        text-align: left !important;
        color: black;
    }

    h3 {
        margin-top: 0 !important;
        margin-bottom: 0.5rem !important;
        font-size: 1.5rem;
    }

    strong {
        font-weight: 600 !important;
    }

    p {
        margin-bottom: 1rem !important;
    }
}

.category-additional-description{
    padding: 0;
}

#subcategories ul {
    justify-content: center;
}


/* Scheda prodotto */
.product-customization {
    margin: 0;
}

.product-customization .card-block {
    background-color: #ffebeb;
    padding-left: 0;
    padding-right: 0;
}

#product-availability {
    .alert.alert-success {
        width: 100%;

        .alert-content-wrapper {
            display: flex;
        }
    }
}

.product-customization-item label {
    text-align: left;
}

.product-customization button {
    width: 100% !important;
    background: #ed0079;
}

.description-short {
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: .25rem;
}

.description-short,
.product-description {

    h2,
    h3,
    h4,
    h5,
    h6 {
        word-wrap: break-word;
        font-size: 20px;
        font-weight: 700;
    }

    li {
        margin-left: 1rem;
    }
}

.product__after--title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    .product-manufacturer,
    .product-reference {
        gap: 0.5rem;
    }
}

.product-customization p.h4.card-title {
    gap: 8px;
    display: flex;
}

.product-customization p.h4.card-title::before {
    content: "►";
    color: red;
}

.products-accordion {
    margin: 0;
    margin-bottom: 1rem;
}

.productcats li {
    border: 1px solid;
    padding: 1px 6px;
}

.detail-column {
    background-color: #ffebeb;
    padding: 2.25rem;
}

#checkout {
    form .form-control-label {
        font-size: 18px;
    }

    @media (max-width: 991px) {
        .continue {
            width: 100%;
        }
    }
}


/* Blog */
#module-leoblog-blog #main{
    display: flex;
    justify-content: center;
}

#module-leoblog-blog #blogpage{
    max-width: 1000px;
}

/* CMS */
#cms h1{
    text-align: center;
}

@media (max-width: 480px) {
    #subcategories ul li {
        width: calc(100% / 2);
    }
}

@media (min-width: 768px) {
    .product-detail .page-content {
        padding-right: 0;
    }
}

@media(min-width: 992px) {
    .additional-price {
        display: none;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1730px;
    }
}


@media (max-width: 1199px) {

    .box__slide .iviewSlider,
    .box__slide .iview,
    .box__slide .iview-strip {
        height: 470px !important;
    }
}

/* =============================================
   ORDER FINAL SUMMARY - Stili personalizzati
   ============================================= */

/* --- Intestazioni sezione (Indirizzi, Metodo di spedizione) --- */
#order-summary-content h4.h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Titolo principale "Controlla il tuo ordine prima di pagare" */
#order-summary-content h4.h4.black {
  font-size: 1.125rem;
}

/* Sotto-intestazioni indirizzi (Il tuo indirizzo di spedizione, ecc.) */
#order-summary-content .addresshead {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

/* --- Pulsante "modifica" --- */
#order-summary-content .step-edit {
  font-size: 0.6875rem;
  font-weight: 400;
  vertical-align: middle;
  margin-left: 0.5rem;
  letter-spacing: 0;
}

#order-summary-content .step-edit .material-icons.edit {
  font-size: 0.875rem;
  vertical-align: middle;
  line-height: 1;
}

/* --- Intestazioni tabella articoli (Articoli nell'ordine, Prezzo, Quantità, Totale) --- */
#order-items h4.card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

/* Nascondi intestazioni colonna su mobile, mostra da tablet in su */
._desktop-title {
  display: none !important;
}

@media (min-width: 768px) {
  ._desktop-title {
    display: block !important;
  }
}

/*############################################
 Testo non selezionabile
 istruzioni: per sospendere questa funzione commenta tutto il codice cancellando "* /" dalla riga qui sotto
############################################*/
 #index *,
 #product *,
 #products *,
 #category *,
 #cms * {
  user-select: none;
 }
/*############## END: Testo non selezionabile ################*/


/* #### FIX AL MENU ###*/
.leo-megamenu .dropdown-menu li {
    float: none;
    display: flex;
    justify-content: start;
}
.quint-container {
display: flex;
flex-direction: column;
}

.dropdown-menu .widget-links li a{
font-size: 18px !important;
font-weight: 500 !important;
color: #000 !important;
}

.dropdown-menu .widget-links li a:hover{
color: #ed0079 !important;
}
