joomla-alert {
    margin-bottom: 70px !important;
    font-size: 16px !important;
}
#sp-main-body {
    padding: 30px 0;
}

/* ELEMENTI NASCOSTI (Joomla + HikaShop) - tutti in un unico blocco */
body.view-article .article-header,
.article-full-image,
fieldset.only,
.sp-page-title h2,
div.limit,
.hikashop_under_filter,
div#hikashop_product_custom_info_main h4,
span.hikashop_product_stock_count,
span.hikashop_product_price_per_unit,
div#hikashop_social,
dl.hikashop_product_custom_bollino_line .hikashop_product_custom_name,
div.prodotti-correlati .hikashop_products_pagination {
    display: none;
}

/* MENU */
ul.sp-megamenu-parent li.sp-menu-item a {
    padding: 0 8px;
}
a.offerte-menu,
a.consigli-menu {
    font-family: 'Bellefair', sans-serif !important;
    font-size: 18px !important;
    letter-spacing: 2px;
}
a.offerte-menu {
    background: #086e45;
    color: #fff !important;
}
a.consigli-menu {
    background: #ffbd00;
}
.sp-megamenu-parent >li >a.offerte-menu:before {
    background-color: #fff !important;
}

/* TOP BAR */
div#sp-top-bar {
    background: rgb(140, 198, 63);
    color: #333333;
    line-height: 15px;
}
.sp-module.messaggio-top {
    width: 100%;
}

/* POPUP AGGIUNGI AL CARRELLO */
.notifyjs-metro-base .title, .notifyjs-metro-lite-base .title,
.notifyjs-metro-base .text, .notifyjs-metro-lite-base .text {
    font-size: inherit;
}
.notifyjs-metro-base .text-wrapper, .notifyjs-metro-lite-base .text-wrapper {
    font-family: inherit;
}
.vex.vex-theme-default .vex-dialog-button.vex-first,
.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary {
    color: #fff;
    border-radius: 0px;
    font-weight: bold;
}
.vex.vex-theme-default .vex-dialog-button.vex-first {
    background: #8cc63f !important;
}
.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary {
    background: #83C63F !important;
    margin: 0 0 5px 0;
}

/* CATEGORIA BLOG */
.article-list .article {
    border: 1px solid #83C63F !important;
}
.article-intro-image img {
    margin: 0 auto;
}
.article-header h2 {
    text-align: center;
    font-size: 30px !important;
    margin-bottom: 0;
}

/* FOOTER */
footer#sp-footer, #sp-footer .sp-copyright {
    font-size: 13px;
}

/* LOGIN / RESET / REMIND */
body.view-login, body.view-reset, body.view-remind {
    background-image: none;
}

/* SP BOTTOM */
section#sp-bottom .sp-module .sp-module-title {
    color: #ffffff;
    font-weight: 700;
}
section#sp-bottom, section#sp-bottom a {
    color: #ffffff;
}

/* PAGE TITLE */
.sp-page-title h1.sp-page-title-heading {
    font-size: 60px;
}

/* BOTTONI */
div.sppb-button-wrapper a {
    font-size: 20px;
    background: #ffffff;
    height: 50px;
    padding: 14px;
    border-radius: 0px;
    border: 1px solid #086e45;
}
div.sppb-button-wrapper a:hover {
    background: #086e45;
    color: #ffffff;
}

/* PAGINA INDIRIZZI HIKASHOP */
dl.hika_options > dt {
    width: fit-content !important;
}
dl.hika_options > dd {
    margin-left: auto !important;
}

/* MODULO RICERCA */
form.mod-finder div.awesomplete {
    width: 320px !important;
}
input.js-finder-search-query, button.btn-primary {
    border: 1px solid #086e45;
    border-radius: 0;
    padding: 15px;
}
button.btn-primary {
    background: #086e45;
}

/* RISULTATI RICERCA JOOMLA */
li.result__item {
    float: left;
    border: 1px solid #83C63F !important;
    width: 300px;
    margin: 10px !important;
    height: 330px;
    padding: 20px;
    text-align: center;
}
li.result__item img {
    margin: 0 auto !important;
}

/* RISULTATI RICERCA HIKASHOP */
div.hikashop_products_pagination li.page-item {
    float: left;
}
div.hikashop_products_pagination ul.pagination {
    display: block;
    float: left;
    margin-bottom: 0 !important;
}
ul.search-results li {
    border: 1px solid #086e45;
    width: 32%;
    float: left;
    text-align: center;
    margin: 3px;
    min-width: 300px;
    min-height: 300px !important;
    padding: 20px !important;
}
ul.search-results li img {
    margin: 0 auto;
}
div.search-pagination {
    width: 100%;
    float: left;
}

/* PAGINAZIONE (unificata: prima era in entrambi i CSS) */
ul.pagination li.active span,
ul.pagination li.active a,
ul.pagination li a.page-link,
ul.pagination li span.page-link,
ul.pagination li.page-item a {
    border: 1px solid #086e45;
    border-radius: 0px !important;
    height: 50px;
    min-width: 50px;
    text-align: center;
    padding: 12px;
}

/* POP-UP WHATSAPP */
section.whatsapp-box {
    position: fixed !important;
    left: 30px;
    bottom: 30px;
    z-index: 99 !important;
    border-radius: 20px !important;
}

/* MOBILE (unico blocco) */
@media (max-width: 575px) {
    #sp-header .sp-module {
        margin-right: -5px;
        position: absolute;
        top: 55px;
    }
    .sp-page-title h1.sp-page-title-heading {
        font-size: 30px !important;
    }
}
