/* ===== REFRESH SNOOPER 2026 - SAFE + MOBILE FRIENDLY ===== */

/* Fond global */
body {
    background: #f3f5f7 !important;
}

/* Images et vidéos toujours adaptatives */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Titres */
h1 {
    margin-bottom: 18px;
    line-height: 1.25;
}

h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
}

h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    line-height: 1.35;
}
.accessBox {
    max-width: 100%;
}
.allAccessContainer {
    padding: 0 15px;
}
.horizontal {
    background: #ffffff;   /* blanc au lieu du gris */
    border-bottom: 1px solid #e5e5e5;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

header,
.header-info,
.horizontal,
.navChild {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body > header.gshadow {
    margin-top: 0 !important;
}
/* Texte */
p,
li {
    line-height: 1.6;
}

p {
    margin-bottom: 14px;
}

/* Champs de formulaire un peu plus propres */
input,
select,
textarea,
button {
    font: inherit;
}

/* Boutons et submit */
button,
input[type="submit"],
input[type="button"],
.btn {
    border-radius: 6px;
}


/* ===== REFRESH SNOOPER 2026 - SAFE ===== */

body {
    background: #f3f5f7 !important;
}

img,
video {
    max-width: 100%;
    height: auto;
}

h1 {
    margin-bottom: 18px;
    line-height: 1.25;
}

h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
}

h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    line-height: 1.35;
}

p,
li {
    line-height: 1.6;
}

p {
    margin-bottom: 14px;
}

input,
select,
textarea,
button {
    font: inherit;
}

button,
input[type="submit"],
input[type="button"],
.btn {
    border-radius: 6px;
}

.critere,
.critere-mob {
    margin-bottom: 20px;
}

.allAccessContainer {
    padding: 0 15px;
}

.accessBox {
    max-width: 100%;
}

/* On ne touche pas à .produit-gp ni à .tab pour l’instant */

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
}

/* Blocs de filtres */
.critere,
.critere-mob {
    margin-bottom: 24px;
}

/* Blocs texte */
.catTxtColLeft,
.catTxtColRight {
    line-height: 1.6;
}

/* Petits arrondis sur les boutons/liens de tri */
.critere a {
    border-radius: 6px;
}

/* Zone centrale : on reste prudent */
#centre,
#corps,
#pre_center_content {
    box-sizing: border-box;
}

/* ===== TABLETTE ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 26px;
    }

    .produit-gp {
        padding: 16px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    h2 {
        font-size: 22px;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        margin-bottom: 12px;
    }

    .produit-gp {
        padding: 14px;
        margin-bottom: 20px;
        border-radius: 6px;
    }

    .critere {
        margin-bottom: 18px;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }
}
/* ===== HEADER REFRESH 2026 ===== */

header.gshadow {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    position: relative;
    z-index: 20;
}

.header-info {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    box-sizing: border-box;
}

/* Logo */
.logo {
    display: inline-block;
    vertical-align: middle;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo svg,
.logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

/* Zone droite */
.floatR,
.floatR2 {
    display: inline-block;
    vertical-align: middle;
}

/* Mon compte */
.account {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.accountIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    padding: 0 18px;
    border-radius: 24px;
    background: #4a4a4a;
    color: #ffffff;
    transition: background 0.2s ease;
}

.accountIcon:hover {
    background: #2f2f2f;
}

.accountIcon i.material-icons {
    font-size: 30px;
    margin-left: 8px;
}

/* Variante connecté si déjà utilisée par le site */
.connectedColor {
    background: #1f6fd6 !important;
}

/* Menu déroulant compte */
.accountBox {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* Liens du header */
header a {
    text-decoration: none;
}
/* ===== HEADER TOP CLEAN ===== */

header.gshadow {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    position: relative;
    z-index: 50;
}

.header-info {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo svg {
    max-height: 60px;
}

/* Zone droite */
.floatR2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mon compte bouton */
.accountIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    background: #4a4a4a;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accountIcon:hover {
    background: #2f2f2f;
}

.connectedColor {
    background: #1f6fd6 !important;
}

/* Icône compte */
.accountIcon i {
    font-size: 26px;
}

/* Panier */
.basket2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f5f7;
    transition: background 0.2s ease;
}

.basket2 a:hover {
    background: #e4e8ec;
}

.basket2 i {
    font-size: 26px;
}

/* Badge panier */
.nbCart {
    top: -5px;
    right: -5px;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 10px;
}
/* Mobile : on reste prudent */
@media (max-width: 768px) {
    .header-info {
        padding: 14px 16px;
    }

    .logo svg,
    .logo img {
        max-height: 52px;
    }

    .accountIcon {
        min-width: 120px;
        height: 38px;
        padding: 0 14px;
        font-size: 14px;
    }

    .accountIcon i.material-icons {
        font-size: 26px;
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .header-info {
        padding: 12px 12px;
    }

    .accountIcon {
        min-width: 108px;
        height: 36px;
        padding: 0 12px;
    }
}
/* ===== PETITS MOBILES ===== */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .produit-gp {
        padding: 12px;
    }
}