/*
Theme Name: MIVV 2026 Theme
Author: b@z srl
Author URI: https://bazweb.it/
Description: Tema personalizzato per MIVV basato su un tema HTML convertito. Supporta WooCommerce e WPML.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mivv2026
Tags: block-editor, custom-background, custom-header, custom-menu, featured-images, full-site-editing, one-column, accessibility-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Language: it_IT
*/


body,
p {
    color: #343434;
}

/* [INIZIO] LOGO MIVV */
.logo img {
    width: 200px;
    height: auto;
}

/* [FINE] LOGO MIVV */

/* rosso mivv: #B02430  */
.rosso-mivv {
    color: #B02430 !important;
}

/*[INIZIO] BARRA MENU */
.navbar-area {
    height: 120px;
    position: relative;
    background-color: transparent;
}

.navbar-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    clip-path: polygon(0 0, 0 100%, 15% 100%, 20% 77%, 100% 77%, 100% 0);
    z-index: -1;
}

.navbar-area .nav-container .navbar-collapse .navbar-nav,
.navbar-area .nav-container .nav-right-content .nav-right-menu {
    margin-bottom: 20px;
}

#menu-menu-principale>li>a {
    color: #fff;
    text-transform: uppercase;
}

.navbar-area .nav-container .navbar-collapse .navbar-nav li.menu-item-has-children .sub-menu li a {
    color: var(--heading-color) !important;
    text-transform: none;
}

.navbar-area .nav-container .navbar-collapse .navbar-nav li.menu-item-has-children .sub-menu li a:hover {
    color: #fff !important;
}

.navbar-area .nav-container .navbar-collapse .navbar-nav li.menu-item-has-children:before {
    color: #fff;
}

/*[FINE] BARRA MENU */

/* inserito per far vedere l'immagine nel breadcrumb*/
#content {
    margin-top: -30px
}

/* [INIZIO] FOOTER */
footer {
    text-align: center;
}

footer hr {
    max-width: 800px;
    background: #F0F0F0;
    margin: 40px auto;
}

footer.footer-style-2 .footer-top {
    background: #000;
}

footer.footer-style-2 .footer-top .widget.widget_nav_menu ul li a {
    color: #FFF !important
}

a.imgAlloriFooter img {
    max-width: 100%;
    width: 600px;
}

.widget.widget_nav_menu ul {
    text-align: center;
}

footer .footer-widget .wpml-ls-slot-2 {
    display: none !important;
}

.footer-style-2 .footer-top .footer-widget.widget_nav_menu ul li a {
    text-transform: uppercase;
    font-size: 14px
}

footer .socialMenu {
    margin: 50px
}

footer .socialMenu i {
    background-color: #333;
    border-radius: 30px;
    padding: 10px;
    width: 40px;
    height: 40px;
    line-height: 20px;
}

/* [FINE] FOOTER */

/* [INIZIO] PAGINA CONTATTI */
textarea.msgTextArea {
    height: auto !important;
}

/* [FINE] PAGINA CONTATTI */

/* [INIZIO] AREA BLOG */
.blog-content .blog-left-content .img-item .content p {
    font-size: 16px;
}

h2.card-title a {
    font-size: 28px;
    line-height: 1;
}

/* Container principale della paginazione WP */
.pagination {
    display: block;
    margin-top: 50px;
}

/* Nasconde il titolo h2 generato da WP (accessibilità) */
.pagination .screen-reader-text {
    display: none;
}

/* Container dei link */
.pagination .nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

/* Stile comune per numeri e frecce */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f4f6f8;
    /* Colore di sfondo del tuo tema */
    color: #363636;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}

/* Stile per la pagina CORRENTE (span) */
.pagination .page-numbers.current {
    background: #d10008;
    /* Rosso Mivv */
    color: #fff;
}

/* Stile al PASSAGGIO DEL MOUSE */
.pagination .page-numbers:hover:not(.current) {
    background: #363636;
    color: #fff;
}

/* Stile per i puntini di sospensione (...) */
.pagination .page-numbers.dots {
    background: transparent;
    color: #999;
}

/* sidebar */
body.blog .widget,
body.wp-singular .widget,
body.archive .widget {
    background-color: initial;
    margin: 0
}

body.blog .widget ul,
body.wp-singular .widget ul,
body.archive .widget ul {
    text-align: left;
}

body.blog .widget ul li a,
body.wp-singular .widget ul li a,
body.archive .widget ul li a {
    color: #363636;
}

.blog-content .blog-right-content h3.wp-block-heading {
    font-size: 25px;
    font-family: var(--body-font);
    font-weight: 400;
    background: var(--main-color);
    color: #fff;
    padding: 15px 20px;
    width: 50%;
    text-align: center;
}

/* Target widgets with exactly these classes and no others */
div[class="widget single-sidebar-widget widget_block"] {
    padding: 0 !important;
}

.blog-single-content .blog-details-item {
    margin-top: 0;

}

/* [FINE] AREA BLOG */

/* [INIZIO] WOOCOMMERCE BREADCRUMB */
.woocommerce .woocommerce-breadcrumb {
    text-align: right;
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 10px 0;
}

/* [FINE] WOOCOMMERCE BREADCRUMB */

/* [INIZIO] PAGINA LISTA PRODOTTI */
.product-archive-main h1 {
    font-size: 30px;
    text-transform: uppercase;
    margin: 20px 0;
}

p.woocommerce-result-count {
    font-size: 12px;
}

aside.sidebar-shop div.filtriProdotto h3 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

aside.sidebar-shop div.filtriProdotto .wp-block-woocommerce-product-filter-checkbox-list {
    margin-bottom: 20px;
}

.wc-block-product-filter-checkbox-list__input-wrapper:before {
    border: 2px solid #ccc;
    background-color: #fff;
    opacity: 1;
}

.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label {
    font-size: 18px;
}

/* [FINE] PAGINA LISTA PRODOTTI */

/* [INIZIO] PRODUCT DETAIL CUSTOM LAYOUT */

.moto-search-bar {
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.moto-search-bar .label {
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}

.moto-search-bar select.form-control {
    border-radius: 0;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    height: 45px;
}

.moto-search-bar .btn-dark {
    border-radius: 0;
    height: 45px;
    background: #1a1a1a;
}

.product-summary-content .badge-red {
    background-color: #B02430;
    border-radius: 0;
    font-weight: 600;
}

.product-title {
    font-family: inherit;
    margin-bottom: 5px;
}

.product-meta-grid .meta-item .label {
    letter-spacing: 0.5px;
}

.spec-card {
    transition: transform 0.3s;
}

.spec-card:hover {
    transform: translateY(-5px);
}

.spec-card .value {
    font-size: 28px;
}

.bench-measurements {
    border-radius: 0;
}

.bench-measurements .table thead th {
    border-top: none;
    padding: 15px 5px;
}

.section-title {
    position: relative;
    font-size: 24px;
}

/* Related products styling to match 4 columns */
.related.products ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.related.products ul.products li.product {
    width: calc(25% - 15px);
    margin: 0;
}

@media (max-width: 991px) {
    .related.products ul.products li.product {
        width: calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .related.products ul.products li.product {
        width: 100%;
    }
}

/* [FINE] PRODUCT DETAIL CUSTOM LAYOUT */