/* ICONE CHEVRON */
.ceicon-chevron-left:before {
    content: "\e821";
    background: #1C1C1B;
    border-radius: 40px;
    padding: 10px;
    margin-left: 10px;
    font-size: 18px;
}

.ceicon-chevron-right:before {
    content: "\e822";
    background: #1C1C1B;
    border-radius: 40px;
    padding: 10px;
    margin-right: 10px;
    font-size: 18px;
}

/* MODAL GENERICHE */
.modal-content {
    box-sizing: border-box;
    font-family: 'Inter';
    padding: 0 !important;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-header {
    border-bottom: 1px solid #eeeeee;
    gap: 20px;
    background: #1C1C1B;
    padding: 30px 32px;
    color: #ffffff;
}

.modal-body.relative.flex-container {
    padding: 40px;
}

/* PK-MODAL */
#pk-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    display: none;
    outline: 0;
    -webkit-overflow-scrolling: touch;
    max-width: 90%;
    max-height: 90%;
    width: 1280px;
    background-color: #ffffff;
}

#pk-modal .modal-header button {
    background: none;
    border: none;
    color: #ffffff;
}

#pk-modal .modal-content {
    box-sizing: border-box;
    font-family: 'Inter';
    font-weight: 500;
    font-size: 16px;
    color: #1C1C1B;
}

#pk-modal .modal-body {
    gap: 0;
}

/* BLOCKCART MODAL */
#blockcart-modal {
    position: fixed !important;
    z-index: 10001 !important;
    display: none;
}

#blockcart-modal.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: 1200px;
    max-width: 90%;
    background: white;
    border-radius: 4px;
}

#blockcart-modal.modal.show {
    display: block !important;
}

#blockcart-modal .product-card {
    width: 62%;
    gap: 30px;
    border-right: 0;
}

#blockcart-modal .product-card picture {
    width: 350px;
}

#blockcart-modal .product-info .product-name {
    color: #1C1C1B;
    font-size: 1.5rem;
    line-height: 120%;
    margin-top: 44px;
    margin: 30px 20px 20px 0px;
    font-weight: 600;
    display: inline-block;
}

#blockcart-modal .product-info .price {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 700;
    font-style: normal;
    color: #1C1C1B;
    font-family: 'Inter';
}

#blockcart-modal .product-properties {
    font-style: normal;
    font-size: 14px;
    color: #1C1C1B;
    font-weight: 700;
    font-family: 'Inter';
}

#blockcart-modal .product-properties i {
    color: #1C1C1B;
    font-weight: 700;
    font-style: normal;
    font-family: 'Inter';
}

/* ELEMENTI SPAN E LABEL */
span.value.font-weight-bold {
    font-weight: 700;
    font-family: 'Inter';
    font-size: 14px;
    color: #1C1C1B;
}

span.label.flex-grow1 {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter';
    color: #1C1C1B;
}

.font-weight-bold.m-0 {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter';
    color: #626262;
}

/* BOTTONI */
body .btn {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    font-family: 'Inter';
    line-height: 1em;
    text-transform: none;
    color: #ffffff;
    padding: 16px;
    background: #1C1C1B;
    border-radius: 4px;
    letter-spacing: 0;
    border: 0px;
    cursor: pointer;
}

/* FIX BOTTONI MODALE */
.flex-container.flex-wrap.cart-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.cart-actions button,
.cart-actions a {
    flex: 1 !important;
    max-width: 48% !important;
    width: auto !important;
    display: inline-block !important;
}

/* BOTTONE ROSSO PER PAGAMENTO */


/* ADVANCED SEARCH PM */
#index .PM_ASCriterionsGroup {
    display: contents;
}

#index .PM_ASCriterionsGroupName {
    display: none;
}

#index .PM_ASBlock_1 .card-block {
    padding: 1.25rem;
    padding-left: 0;
}

#index .PM_ASCriterionGroupSelect {
    border-color: black;
    color: black;
    font-weight: 500;
}

#index .PM_ASBlockOutputHorizontal .PM_ASCriterionsGroup select {
    width: 100%;
    padding-left: 10px;
}

#index #PM_ASBlock_1 .card-block {
    padding-left: 0px;
    padding-top: 0px;
    margin-top: -5%;
}

#index .PM_ASCriterions {
    margin-bottom: -4%;
}

#index input.btn.btn-primary.PM_ASSubmitSearch {
    background-color: #ffd400;
    color: black;
    width: 110%;
    margin-left: -1em;
    padding-left: 0px;
    margin-top: 1.2em;
    border: none;
}

a.PM_ASResetSearch {
    display: none !important;
}

a.PM_ASResetGroup {
    display: none !important;
}

/* PK-MODAL CLASS */
.pk-modal .modal-header button {
    background: none;
    border: 0px;
    color: #ffffff;
}

/* MODULE PM ADVANCED SEARCH */
#module-pm_advancedsearch4-searchresults .col-xl-3 {
    width: 100% !important;
}

#module-pm_advancedsearch4-searchresults .elementor-23010000 .elementor-element.elementor-element-e754028 {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 90%;
    margin-left: 5%;
}

#module-pm_advancedsearch4-searchresults .elementor-23010000 .elementor-element.elementor-element-2a774e45 {
    margin-top: 100px;
    margin-bottom: 64px;
    width: 90%;
    margin-left: 5%;
}

#module-pm_advancedsearch4-searchresults .breadcrumb {
    display: none;
}

/* ELEMENTI DA NASCONDERE */
button.smooth02.bt_compare.btn {
    display: none;
}

button.pkfp-wn.pk-show-panel.pk-fixed-button {
    display: none;
}

div#view_list {
    display: none !important;
}

/* NAVIGATION DROPDOWN */
nav.elementor-nav--dropdown.elementor-nav__container {
    left: 0px !important;
    padding: 12px;
}

/* PAGINAZIONE */
#js-product-list .pagination .flex-grow1 {
    display: none;
}

#js-product-list nav {
    justify-content: center;
    padding-top: 30px;
}

#js-product-list .pagination ul {
    border-top-left-radius: 0px;
}

.pagination .page-list li {
    border-top-left-radius: 50%;
    border-width: 0px;
    background-color: #f5f5f5;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

.page-list li .js-search-link {
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

.page-list .current a:hover {
    background-color: #ffd400;
    border-width: 0px;
}

.page-list .current a:active {
    border-width: 0px;
    background-color: #ffd400;
}

.page-list .current a {
    border-width: 0px !important;
    background-color: #f5f5f5;
}

/* UI WIDGET */
.ui-widget-header {
    background-color: black !important;
}

/* ELEMENTOR WIDGET */
.elementor-widget-product-miniature-name {
    min-height: 60px !important;
}

/* MODAL BACKDROP */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* FIX BODY QUANDO MODALE APERTA */
body.modal-open {
    overflow: hidden !important;
}

/* ====== MEDIA QUERIES PER MOBILE ====== */
@media (max-width: 768px) {
    /* Fix modale su mobile */
    #blockcart-modal.modal,
    #pk-modal {
        width: 95% !important;
        max-width: 95% !important;
        top: 5% !important;
        left: 2.5% !important;
        right: 2.5% !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
    
    /* Padding ridotto su mobile */
    .modal-body.relative.flex-container {
        padding: 20px !important;
    }
    
    #blockcart-modal .product-card {
        width: 100% !important;
        flex-direction: column !important;
    }
    
    #blockcart-modal .product-card picture {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Bottoni in colonna su mobile */
    .flex-container.flex-wrap.cart-actions {
        flex-direction: column !important;
    }
    
    .cart-actions button,
    .cart-actions a {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    /* Testo più piccolo */
    #blockcart-modal .product-info .product-name {
        font-size: 1.2rem !important;
    }
    
    /* Fix per touch events */
    .btn, 
    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

.spacer {
            display: flex;
            border: 0px!important;
        }
        
        
        
.elementor-1170101 .elementor-element.elementor-element-4053415 {
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}

.listing_view.flex-container {
    display: none !important;
}