﻿/** Navigation publique — charte FPL */
.nav-planete-gateau { border-bottom: 1px solid var(--line) !important; }
.info { background: var(--blue-tint); color: var(--navy); }
/* Nav style Planète Gâteau - fond dégradé, barre recherche, Mon compte, panier */
    .nav-planete-gateau {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 12px 30px;
        background: var(--blanc);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .section1 {
        z-index: 100;
    }

    .nav-planete-gateau .logo {
        flex-shrink: 0;
    }

    .nav-planete-gateau .logo img {
        height: 70px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }

    .nav-top-row {
        display: contents;
    }

    .nav-top-row .logo {
        order: 1;
    }

    .nav-search-wrapper {
        order: 2;
    }

    .nav-top-row .nav-panier-link {
        order: 3;
    }

    .nav-top-row .nav-compte-btn {
        order: 4;
    }

    /* Barre de recherche */
    .nav-search-wrapper {
        display: flex;
        flex: 1;
        max-width: 500px;
        margin: 0 20px;
        position: relative;
        z-index: 9999;
    }

    .nav-search-form {
        display: flex;
        align-items: stretch;
        flex: 1;
        border-radius: 25px;
        overflow: hidden;
        box-shadow: var(--ombre-douce);
    }

    /* Sélecteur de langue (GTranslate) — aligné sur la pilule compacte */
    .nav-lang-wrap {
        margin-left: 8px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        min-height: 36px;
    }

    .nav-lang-wrap .gtranslate-dropdown-mount {
        min-width: 0;
    }

    .nav-search-btn {
        padding: 12px 20px;
        background: var(--couleur-dominante);
        border: none;
        color: var(--texte-clair);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .nav-search-btn:hover {
        background: var(--couleur-dominante-hover);
    }

    .nav-search-btn i {
        font-size: 18px;
    }

    .nav-search-input {
        flex: 1;
        padding: 12px 20px;
        border: 2px solid var(--border-input);
        border-left: none;
        background: var(--blanc);
        font-size: 15px;
        outline: none;
        border-radius: 0 25px 25px 0;
    }

    .nav-search-input::placeholder {
        color: var(--gris-clair);
    }

    .nav-search-input:focus {
        border-color: var(--couleur-dominante);
    }

    /* Bouton Mon compte */
    .nav-compte-btn {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        background: var(--couleur-dominante);
        color: var(--texte-clair);
        text-decoration: none;
        border-radius: 25px;
        transition: all 0.3s;
        position: relative;
        min-width: 140px;
    }

    .nav-compte-btn:hover {
        background: var(--couleur-dominante-hover);
        color: var(--texte-clair);
        transform: translateY(-1px);
    }

    .nav-compte-title {
        font-size: 14px;
        font-weight: 700;
        display: block;
        line-height: 1.2;
    }

    .nav-compte-subtitle {
        font-size: 12px;
        opacity: 0.95;
        font-weight: 400;
    }

    .nav-compte-chevron {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        opacity: 0.9;
    }

    /* Panier */
    .nav-panier-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        color: var(--texte-fonce);
        text-decoration: none;
        transition: color 0.3s;
    }

    .nav-panier-link:hover {
        color: var(--couleur-dominante);
    }

    .nav-panier-link i {
        font-size: 26px;
    }

    .nav-panier-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        background: var(--orange);
        color: var(--texte-clair);
        border-radius: 50%;
        min-width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        border: 2px solid var(--blanc);
        padding: 0 4px;
        box-shadow: var(--ombre-promo);
    }

    @media (max-width: 992px) {
        .nav-planete-gateau {
            padding: 10px 20px;
            gap: 12px;
        }

        .nav-planete-gateau .logo img {
            height: 55px;
        }

        .nav-search-wrapper {
            max-width: 320px;
        }

        .nav-lang-wrap {
            min-height: 34px;
        }

        .nav-search-input {
            font-size: 14px;
            padding: 10px 16px;
        }

        .nav-compte-btn {
            min-width: 130px;
            padding: 8px 14px;
        }

        .nav-compte-title {
            font-size: 12px;
        }

        .nav-compte-subtitle {
            font-size: 11px;
        }
    }

    @media (max-width: 768px) {
        .nav-planete-gateau {
            flex-wrap: wrap;
            padding: 10px 12px;
            gap: 10px;
        }

        .nav-top-row {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            order: 1;
            flex-shrink: 0;
        }

        .nav-planete-gateau .logo {
            flex-shrink: 0;
        }

        .nav-planete-gateau .logo img {
            height: 45px;
            max-width: 120px;
        }

        .nav-panier-link {
            width: 42px;
            height: 42px;
            flex-shrink: 0;
        }

        .nav-panier-link i {
            font-size: 22px;
        }

        .nav-panier-badge {
            min-width: 18px;
            height: 18px;
            font-size: 10px;
        }

        .nav-compte-btn {
            min-width: auto;
            padding: 8px 12px;
            flex-direction: row;
            gap: 6px;
            flex-shrink: 0;
        }

        .nav-compte-title {
            display: none;
        }

        .nav-compte-subtitle {
            font-size: 12px;
            font-weight: 600;
        }

        .nav-compte-chevron {
            display: none;
        }

        .nav-search-wrapper {
            order: 2;
            width: 100%;
            max-width: 100%;
            margin: 0;
            flex-direction: row;
        }

        .nav-search-form {
            flex: 1;
        }

        .nav-search-btn {
            padding: 10px 14px;
        }

        .nav-search-input {
            padding: 10px 14px;
            font-size: 14px;
        }

        .nav-lang-wrap {
            flex-shrink: 0;
        }
    }

    @media (max-width: 480px) {
        .nav-planete-gateau {
            padding: 8px 10px;
            gap: 8px;
        }

        .nav-planete-gateau .logo img {
            height: 40px;
            max-width: 100px;
        }

        .nav-compte-btn {
            padding: 6px 10px;
        }

        .nav-compte-subtitle {
            font-size: 11px;
        }

        .nav-panier-link {
            width: 38px;
            height: 38px;
        }

        .nav-panier-link i {
            font-size: 20px;
        }

        .nav-search-btn {
            padding: 8px 12px;
        }

        .nav-search-input {
            padding: 8px 12px;
            font-size: 13px;
        }

        .nav-lang-wrap {
            min-height: 30px;
            margin-left: 4px;
        }
    }
