/*
Theme Name: GrandPrix Child
Theme URI: https://grandprix.qodeinteractive.com
Description: A child theme of GrandPrix Theme
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.0
Text Domain: grandprix
Template: grandprix
*/


/* ==========================================
   SPOOR - SELEZIONE BRAND SHOP
   ========================================== */

.spoor-brand-selection {
    width: 100%;
    padding: 40px 20px 60px;
    text-align: center;
    box-sizing: border-box;
}

.spoor-brand-selection h2 {
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Due marchi affiancati */

.spoor-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Riquadri cliccabili */

.spoor-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #ffffff;
    border: 2px solid #eeeeee;
    text-decoration: none !important;
    transition: border-color .3s ease;
}

/* Loghi ufficiali */

.spoor-brand-card img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 280px;
    object-fit: contain;
    transition: transform .3s ease;
}

/* Pulsante scopri prodotti */

.spoor-brand-card span {
    display: block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #eeee22;
    color: #111111 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hover */

.spoor-brand-card:hover {
    border-color: #eeee22;
}

.spoor-brand-card:hover img {
    transform: scale(1.04);
}

.spoor-brand-card:hover span {
    background: #111111;
    color: #eeee22 !important;
}

/* Mobile */

@media (max-width: 767px) {
    .spoor-brand-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spoor-brand-card img {
        height: 220px;
    }

    .spoor-brand-selection h2 {
        font-size: 24px;
    }
}

/* ==========================================
   SPOOR - MENU MOBILE / TABLET
   GrandPrix - Navigazione compatta
   ========================================== */

@media only screen and (max-width: 1024px) {

    /* Voci principali */
    .mkdf-mobile-header .mkdf-mobile-nav ul li a {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        line-height: 24px !important;
    }

    /* Voci dei sottomenu */
    .mkdf-mobile-header .mkdf-mobile-nav ul li ul li a {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        line-height: 22px !important;
    }

    /* Elimina spazi superflui */
    .mkdf-mobile-header .mkdf-mobile-nav ul li ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    .mkdf-mobile-header .mkdf-mobile-nav ul li ul li {
        margin: 0 !important;
        min-height: 0 !important;
    }

    /* Spazio sotto l'ultima voce del sottomenu */
    .mkdf-mobile-header .mkdf-mobile-nav ul li ul li:last-child {
        padding-bottom: 35px !important;
    }

    /* Contenitore navigazione */
    .mkdf-mobile-header .mkdf-mobile-nav {
        box-sizing: border-box;
        padding-bottom: 30px !important;
        max-height: calc(100dvh - 110px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

}
/* SPOOR - Nasconde logo Cookiebot nel banner */
#CybotCookiebotDialogPoweredbyCybot {
    display: none !important;
}

/* SPOOR - Nasconde logo Cookiebot nel widget */
.CookiebotWidget-main-logo {
    display: none !important;
}
