/* ==========================================================================
   shopping.webtt.com — habillage WebTT (v1, 24/11/2026)
   À charger APRÈS default.css dans html/header.php.
   Reprend la charte de webtt.com (custom.css section 0).
   Préfixe body : passe devant default.css, submenu.css et les <style> en ligne.
   ========================================================================== */

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('/html/fonts/figtree-latin-wght-normal.woff2') format('woff2');
}

:root {
    --wtt-navy: #0d2c54;
    --wtt-navy-hover: #163d6e;
    --wtt-orange: #d84a14;
    --wtt-orange-fonce: #b83c0d;
    --wtt-texte: #1d2939;
    --wtt-gris: #5b6b7d;
    --wtt-fond-clair: #f3f6f9;
    --wtt-bordure: #dfe5ec;
    --wtt-police: 'Figtree', Helvetica, Arial, sans-serif;
    --wtt-radius: 10px;
    --wtt-ombre: 0 8px 20px rgba(13, 44, 84, .12);
}

/* ---------- Base ---------- */
body,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body li, body input, body button, body .button {
    font-family: var(--wtt-police) !important;
}
body { color: var(--wtt-texte); background: #fff; }
body a { color: var(--wtt-navy); }
body a:hover, body a:focus { color: var(--wtt-orange); }

/* ---------- En-tête (top-bar Foundation) ---------- */
body .contain-to-grid,
body .top-bar {
    background: #fff !important;
}
body .contain-to-grid {
    border-bottom: 1px solid var(--wtt-bordure);
    box-shadow: 0 2px 10px rgba(13, 44, 84, .06);
}
body .top-bar {
    height: 64px;
    line-height: 64px;
    max-width: 1200px;
    margin: 0 auto;
}
body .top-bar .title-area .name { height: 64px; display: flex; align-items: center; }
body .top-bar .title-area .name a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    line-height: 1;
    color: var(--wtt-navy) !important;
    text-decoration: none;
}
body .wtt-shop-logo img { display: block; height: 30px; width: auto; }
body .wtt-shop-logo span {
    display: inline-block !important;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--wtt-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Liens du menu (Foundation peint les <ul> en #333 au-delà de 640 px) */
body .top-bar-section ul,
body .top-bar-section ul li,
body .top-bar-section ul li > a { background: transparent !important; }
body .top-bar-section ul li > a:not(.button) {
    padding: 0 16px !important;
    line-height: 64px !important;
    font-size: 16px !important;
    font-weight: 600;
    color: var(--wtt-navy) !important;
    transition: background-color .2s;
}
body .top-bar-section ul li > a:not(.button):hover {
    background: rgba(13, 44, 84, .08) !important;
    color: var(--wtt-navy) !important;
}
body .top-bar-section ul li.active > a:not(.button) {
    background: var(--wtt-navy) !important;
    color: #fff !important;
}
body .top-bar-section .divider { display: none; }

/* Menu déroulant des catégories */
body .top-bar-section .has-dropdown > a::after {
    border-color: var(--wtt-navy) transparent transparent transparent !important;
}
body .top-bar-section .dropdown {
    background: #fff !important;
    border-top: 3px solid var(--wtt-orange);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
body .top-bar-section .dropdown li > a:not(.button) {
    line-height: 1.3 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 500;
    background: #fff !important;
}
body .top-bar-section .dropdown li > a:not(.button):hover {
    background: var(--wtt-fond-clair) !important;
    color: var(--wtt-orange) !important;
}
body .top-bar-section .dropdown li.title h5 a,
body .top-bar-section .dropdown label { color: var(--wtt-gris) !important; }

/* Lien retour vers le magazine */
body .top-bar-section ul.right li > a.wtt-shop-mag {
    color: var(--wtt-orange) !important;
}

/* Burger mobile : on efface le dessin de Foundation (qui varie selon la version)
   et on dessine nos trois traits bleu nuit */
body .top-bar .toggle-topbar.menu-icon {
    top: 10px !important;
    right: 8px !important;
    margin-top: 0 !important;
}
body .top-bar .toggle-topbar.menu-icon a {
    position: relative;
    display: block;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    text-indent: -9999px;
    overflow: hidden;
    background: transparent !important;
}
body .top-bar .toggle-topbar.menu-icon a span,
body .top-bar .toggle-topbar.menu-icon a span::before,
body .top-bar .toggle-topbar.menu-icon a span::after {
    box-shadow: none !important;
    border: 0 !important;
    background: none !important;
}
body .top-bar .toggle-topbar.menu-icon a::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 18px;
    background:
        linear-gradient(var(--wtt-navy), var(--wtt-navy)) top    / 100% 2.5px no-repeat,
        linear-gradient(var(--wtt-navy), var(--wtt-navy)) center / 100% 2.5px no-repeat,
        linear-gradient(var(--wtt-navy), var(--wtt-navy)) bottom / 100% 2.5px no-repeat;
    border-radius: 2px;
}
/* Menu ouvert : la croix remplace le burger */
body .top-bar.expanded .toggle-topbar.menu-icon a::after {
    width: 22px;
    height: 22px;
    background:
        linear-gradient(45deg,  transparent calc(50% - 1.3px), var(--wtt-orange) calc(50% - 1.3px), var(--wtt-orange) calc(50% + 1.3px), transparent calc(50% + 1.3px)),
        linear-gradient(-45deg, transparent calc(50% - 1.3px), var(--wtt-orange) calc(50% - 1.3px), var(--wtt-orange) calc(50% + 1.3px), transparent calc(50% + 1.3px));
}

/* Menu ouvert : fond blanc partout (default.css le peint en bleu) */
body .top-bar.expanded,
body .top-bar.expanded .title-area,
body .top-bar.expanded .top-bar-section {
    background: #fff !important;
}
body .top-bar.expanded { height: auto; box-shadow: 0 10px 24px rgba(13, 44, 84, .12); }
body .top-bar.expanded .top-bar-section ul li > a:not(.button) {
    line-height: 1.3 !important;
    padding: 16px 20px !important;
    border-top: 1px solid var(--wtt-bordure);
    font-size: 17px !important;
}
body .top-bar.expanded .top-bar-section ul li > a:not(.button):hover {
    background: var(--wtt-fond-clair) !important;
}

/* ---------- Bannière publicitaire du haut ---------- */
body .bandeau-haut { margin: 24px auto 8px; }
body .bandeau-haut img { display: inline-block; max-width: 100%; height: auto; border-radius: 6px; }

/* ---------- Recherche : centrée, sur toute la largeur utile ---------- */
body .row:has(.pt_se) > .columns:not(:has(.pt_se)) { display: none; }
body .row:has(.pt_se) > .columns:has(.pt_se) { width: 100%; max-width: 680px; float: none; margin: 0 auto; }
body .pt_se p { margin: 0; }
body .pt_se form { margin: 12px 0 0; }
body .pt_se .row.collapse { display: flex; margin: 0; }
body .pt_se .columns { float: none; width: auto; padding: 0; }
body .pt_se .small-10 { flex: 1 1 auto; min-width: 0; }
body .pt_se .small-2 { flex: none; }
body .pt_se input[type=text] {
    height: 46px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid var(--wtt-bordure);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: var(--wtt-fond-clair);
    box-shadow: none;
    font-size: 16px;
}
body .pt_se input[type=text]:focus { background: #fff; border-color: var(--wtt-navy); }
body .pt_se .button.postfix {
    height: 46px;
    margin: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: var(--wtt-orange) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 46px;
    white-space: nowrap;
}
body .pt_se .button.postfix:hover { background: var(--wtt-orange-fonce) !important; }

/* ---------- Fil d'Ariane ---------- */
body .breadcrumbs {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
body .breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 2px; }
body .breadcrumbs > * { float: none !important; font-size: 14px; line-height: 1.4; text-transform: none; }
body .breadcrumbs > * a { color: var(--wtt-gris); }
body .breadcrumbs > * a:hover { color: var(--wtt-orange); }
body .breadcrumbs > .current, body .breadcrumbs > .current a { color: var(--wtt-navy); }
body .breadcrumbs > *::before { color: var(--wtt-orange); }

/* ---------- Titres de sections (même style que l'accueil de webtt.com) ---------- */
body h1.ventes,
body h2.ventes,
body .pt_fp h1,
body .pt_rp h2,
body .pt_rp h3 {
    position: relative;
    display: block;
    margin: 36px 0 22px !important;
    padding: 18px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--wtt-bordure) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-align: left !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    color: var(--wtt-navy) !important;
}
body h1.ventes::before,
body h2.ventes::before,
body .pt_fp h1::before,
body .pt_rp h2::before,
body .pt_rp h3::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--wtt-orange);
}

/* ---------- Cartes produits (accueil, résultats, produits liés) ---------- */
body .pt_fp ul,
body ul.affichageflex {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}
body .pt_fp ul::before, body .pt_fp ul::after { content: none !important; }

body li.pt_fp_each {
    position: relative;
    display: flex !important;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
    overflow: hidden;
    border: 1px solid var(--wtt-bordure) !important;
    border-radius: var(--wtt-radius);
    background: #fff;
    box-shadow: none !important;
    text-align: left;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
body li.pt_fp_each:hover {
    transform: translateY(-3px);
    border-color: transparent !important;
    box-shadow: var(--wtt-ombre) !important;
}
body li.pt_fp_each > br { display: none; }

/* Image en premier, sur fond blanc carré */
body li.pt_fp_each > a:has(img) {
    order: -1;
    display: block;
    aspect-ratio: 1 / 1;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--wtt-bordure);
}
body li.pt_fp_each .pt_fp_image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    transition: transform .4s ease;
}
body li.pt_fp_each:hover .pt_fp_image { transform: scale(1.04); }

/* Nom du produit */
body li.pt_fp_each > a:not(:has(img)):not(.button) {
    display: block;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 14px 16px 0;
    text-decoration: none;
}
body .pt_fp_name {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    font-size: 15.5px;
    font-weight: 600 !important;
    line-height: 1.35;
    color: var(--wtt-navy) !important;
}
body li.pt_fp_each:hover .pt_fp_name { color: var(--wtt-orange) !important; }

/* Prix */
body .pt_fp_from:empty { display: none; }
body .pt_fp_from { padding: 10px 16px 0; font-size: 12.5px; color: var(--wtt-gris); }
body .pt_fp_price {
    margin-top: auto;
    padding: 12px 16px 0;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--wtt-orange) !important;
}

/* Bouton */
body li.pt_fp_each > a.button {
    margin: 12px 16px 0 !important;
    padding: 11px 14px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--wtt-navy) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center;
    transition: background .2s;
}
body li.pt_fp_each > a.button:hover { background: var(--wtt-orange) !important; }

/* Toute la carte cliquable */
body li.pt_fp_each > a.button::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* ---------- Carrousel partenaires ---------- */
/* Blocs placés hors de la grille Foundation : on les recale sur la largeur des .row */
body .vtt-carousel,
body .actumatos {
    max-width: 62.5rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .actumatos { padding: 0 .9375rem; }

body .vtt-carousel {
    --vtt-accent: var(--wtt-orange);
    --vtt-border: var(--wtt-bordure);
    --vtt-text: var(--wtt-navy);
    --vtt-muted: var(--wtt-gris);
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}
body .vtt-track {
    background: var(--wtt-fond-clair);
    border: 0;
    border-radius: 12px;
}
body .vtt-slide h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--wtt-navy);
}
body .vtt-slide a:hover h2 { color: var(--wtt-orange); text-decoration: none; }
body .vtt-slide h3 { font-size: 15.5px; color: var(--wtt-gris); }
body .vtt-nav { color: var(--wtt-navy); }
body .vtt-nav:hover { background: var(--wtt-fond-clair); color: var(--wtt-orange); }

/* ---------- Derniers articles du blog ---------- */
body .actumatos ul.blog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body .actumatos ul.blog li { margin: 0; }
body .actumatos ul.blog a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    height: 100%;
    padding: 18px 20px;
    border-radius: var(--wtt-radius);
    background: var(--wtt-fond-clair);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
body .actumatos ul.blog a::before {
    content: "WebTT · Actualité";
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wtt-orange);
}
body .actumatos ul.blog a::after {
    content: "Lire l'article →";
    font-size: 14px;
    font-weight: 700;
    color: var(--wtt-orange);
}
body .actumatos ul.blog a:hover { transform: translateY(-3px); box-shadow: var(--wtt-ombre); }
body .actumatos .titrevignette {
    flex: 1 1 auto;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wtt-navy);
}

/* ---------- Pied de page WebTT ---------- */
body .wtt-shop-footer {
    margin-top: 48px;
    padding: 28px 0 10px;
    border-top: 1px solid var(--wtt-bordure);
}
body .wtt-shop-footer .wtt-plan {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
body .wtt-plan__titre {
    margin: 0 0 10px !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wtt-orange);
}
body .wtt-plan a {
    display: block;
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--wtt-navy);
    text-decoration: none;
}
body .wtt-plan a:hover { color: var(--wtt-orange); }
body .wtt-shop-footer__txt {
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--wtt-gris);
}
body .wtt-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 24px;
    margin-top: 18px;
    padding: 18px 0 6px;
    border-top: 1px solid var(--wtt-bordure);
    font-size: 14px;
}
body .wtt-legal__copy { color: #6b7a8c; }
body .wtt-legal__nav a { color: #3d4f66; text-decoration: none; }
body .wtt-legal__nav a:hover { color: var(--wtt-orange); }
body .wtt-legal__nav a + a::before { content: "·"; color: #b5c0cc; margin: 0 10px; }

/* ==========================================================================
   FICHE PRODUIT (.pt_p), COMPARATIF DES PRIX (.pt_pr),
   LISTES DE RÉSULTATS / PRODUITS SIMILAIRES (.pt_sr)
   ========================================================================== */

/* ---------- Fiche produit ---------- */
body .pt_p { margin-top: 24px; }
body .pt_p > .show-for-small-only { display: none !important; }

body #pt_p_imgc { height: auto !important; }
body #pt_p_imgc > a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 24px;
    border: 1px solid var(--wtt-bordure);
    border-radius: 12px;
    background: #fff;
}
body #pt_p_imgc img {
    position: static !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body .pt_p h1.titleProduct {
    margin: 0 !important;   /* le saut de ligne en tête de description fait l'espacement */
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    color: var(--wtt-navy) !important;
}
body .pt_p h1.titleProduct + br { display: none; }

/* Marque */
body .pt_p .wtt-p-brand { margin: 8px 0 0; font-size: 14.5px; color: var(--wtt-gris); }
body .pt_p .wtt-p-brand a { font-weight: 700; color: var(--wtt-navy); text-decoration: none; }
body .pt_p .wtt-p-brand a:hover { color: var(--wtt-orange); }

/* Encadré prix + bouton */
body .pt_p .wtt-p-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 20px 0 24px;
    padding: 20px 22px;
    border-radius: 12px;
    background: var(--wtt-fond-clair);
}
body .wtt-p-offer__price { display: flex; flex-direction: column; gap: 2px; }
body .wtt-p-offer__label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--wtt-gris);
}
body .wtt-p-offer__amount {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--wtt-orange);
}
body .wtt-p-offer__merchant { font-size: 14.5px; color: var(--wtt-gris); }
body .wtt-p-offer__merchant a { font-weight: 700; color: var(--wtt-navy); text-decoration: none; }
body .wtt-p-offer__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
body .wtt-p-offer__cta {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: var(--wtt-orange);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s;
}
body .wtt-p-offer__cta:hover { background: var(--wtt-orange-fonce); }
body .wtt-p-offer__compare {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--wtt-navy);
    text-decoration: none;
}
body .wtt-p-offer__compare:hover { color: var(--wtt-orange); }
body .pt_pr { scroll-margin-top: 80px; }

/* Description repliable */
body .pt_p .wtt-p-desc { position: relative; }
body .pt_p .wtt-p-desc__txt {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    text-align: left !important;
    color: #34414f;
    white-space: pre-line;
}
body .pt_p .wtt-p-desc.is-collapsed .wtt-p-desc__txt {
    max-height: calc(1.65em * 5);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
            mask-image: linear-gradient(#000 55%, transparent);
}
body .pt_p .wtt-p-desc__more {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--wtt-orange);
    cursor: pointer;
}
body .pt_p .wtt-p-desc__more::after { content: " ↓"; }
body .pt_p .wtt-p-desc:not(.is-collapsed) .wtt-p-desc__more::after { content: " ↑"; }

/* ---------- Tableau comparatif des marchands ---------- */
body .pt_pr { margin-top: 32px; }
body .pt_pr table {
    width: 100%;
    margin: 0;
    border: 1px solid var(--wtt-bordure);
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
}
body .pt_pr thead { background: var(--wtt-fond-clair); }
body .pt_pr thead th {
    padding: 12px 16px;
    border: 0;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
    color: var(--wtt-gris);
}
body .pt_pr tbody tr { background: #fff !important; transition: background .2s; }
body .pt_pr tbody tr:hover { background: #fffaf7 !important; }
body .pt_pr tbody td {
    padding: 14px 16px;
    border: 0;
    border-top: 1px solid var(--wtt-bordure);
    vertical-align: middle;
    font-size: 15px;
    color: var(--wtt-texte);
}
body .pt_pr .pt_pr_mlogo img { display: block; max-width: 120px; max-height: 56px; width: auto; height: auto; }
body .pt_pr .pt_pr_price {
    font-size: 22px !important;
    font-weight: 800 !important;
    white-space: nowrap;
    color: var(--wtt-orange) !important;
}
body .pt_pr .pt_pr_visit { text-align: right; }
body .pt_pr .pt_pr_visit .button {
    margin: 0 !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--wtt-orange) !important;
    color: #fff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}
body .pt_pr .pt_pr_visit .button::after { content: " →"; }
body .pt_pr .pt_pr_visit .button:hover { background: var(--wtt-orange-fonce) !important; }

/* ---------- Résultats de recherche / produits similaires ---------- */
body .pt_sr { margin-bottom: 24px; }
body .pt_sr_each {
    position: relative;
    display: flex !important;
    align-items: center;
    max-width: calc(62.5rem - 1.875rem);
    margin: 0 auto 12px !important;
    padding: 14px 0;
    border: 1px solid var(--wtt-bordure);
    border-radius: 12px;
    background: #fff;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
body .pt_sr_each::before, body .pt_sr_each::after { content: none !important; }
body .pt_sr_each:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: var(--wtt-ombre);
}
body .pt_sr_each > .show-for-small-only { display: none !important; }
body .pt_sr_each > .columns { float: none; }

body .pt_sr_image_container {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    height: auto !important;
}
body .pt_sr_image { max-width: 100%; max-height: 100%; object-fit: contain; }

body .pt_sr_each h4 { margin: 0 0 6px; font-size: 17px !important; line-height: 1.3; }
body .pt_sr_each h4 a { color: var(--wtt-navy) !important; font-weight: 600; text-decoration: none; }
body .pt_sr_each:hover h4 a { color: var(--wtt-orange) !important; }
body .pt_sr_each p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    text-align: left !important;
    color: var(--wtt-gris);
}

body .pt_sr_each_price { text-align: center; }
body .pt_sr_each_price > br { display: none; }
body .pt_sr_from:empty { display: none; }
body .pt_sr_from { display: block; font-size: 12.5px; color: var(--wtt-gris); }
body .pt_sr_price {
    display: block;
    margin-bottom: 10px;
    font-size: 21px !important;
    font-weight: 800 !important;
    color: var(--wtt-orange) !important;
}
body .pt_sr_each_price .button {
    width: 100%;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--wtt-navy) !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
}
body .pt_sr_each_price .button:hover { background: var(--wtt-orange) !important; }
body .pt_sr_each_price .button::after { content: ""; position: absolute; inset: 0; }

/* ---------- Fiche produit et listes : mobile ---------- */
@media (max-width: 640px) {
    body .pt_p > .columns { width: 100% !important; }
    body #pt_p_imgc { max-width: 240px; margin: 0 auto 16px; float: none; }
    body .pt_p h1.titleProduct { font-size: 23px !important; }
    body .wtt-p-offer__amount { font-size: 29px; }
    body .pt_p .wtt-p-offer__actions { width: 100%; }

    body .pt_pr thead { display: none; }
    body .pt_pr tbody td { padding: 12px 10px; }
    body .pt_pr .pt_pr_mlogo img { max-width: 80px; max-height: 40px; }
    body .pt_pr .pt_pr_price { font-size: 19px !important; }
    body .pt_pr .pt_pr_visit .button { padding: 10px 12px !important; font-size: 13.5px !important; }

    body .pt_sr_each { display: grid !important; grid-template-columns: 96px 1fr; gap: 6px 14px; padding: 12px; }
    body .pt_sr_each > .columns { width: auto !important; padding: 0 !important; }
    body .pt_sr_each > .columns:has(.pt_sr_image_container) { grid-row: 1 / span 2; }
    body .pt_sr_each p { display: none; }
    body .pt_sr_each h4 { font-size: 15px !important; }
    body .pt_sr_each_price { display: flex; align-items: center; gap: 12px; text-align: left; }
    body .pt_sr_price { margin: 0; font-size: 18px !important; }
    body .pt_sr_each_price .button { width: auto; }
}

/* ---------- Filtres des listes (catégorie, marque, recherche) ---------- */
body .pt_sf { margin-top: 18px; }
body .pt_sf label {
    white-space: nowrap;
    margin-bottom: 6px;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--wtt-gris);
}
body .pt_sf select,
body .pt_sf input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]) {
    height: 46px !important;
    margin: 0;
    padding: 0 14px !important;
    border: 1px solid var(--wtt-bordure) !important;
    border-radius: 8px !important;
    background-color: var(--wtt-fond-clair) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    color: var(--wtt-texte);
}
body .pt_sf select { padding-right: 34px !important; background-position: right 12px center !important; }
body .pt_sf select:focus,
body .pt_sf input:focus { background-color: #fff !important; border-color: var(--wtt-navy) !important; }
body .pt_sf .button,
body .pt_sf button,
body .pt_sf input[type=submit],
body .pt_sf_submit {
    top: 0 !important;
    height: 46px;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--wtt-navy) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 46px !important;
    transition: background .2s;
}
body .pt_sf .button:hover,
body .pt_sf button:hover,
body .pt_sf input[type=submit]:hover,
body .pt_sf_submit:hover { background: var(--wtt-orange) !important; }

/* Bouton « Filtrer les résultats » (mobile) */
body .wtt-sf-toggle {
    width: 100%;
    margin: 16px 0 0 !important;
    padding: 12px 16px !important;
    border: 1px solid var(--wtt-bordure) !important;
    border-radius: 8px !important;
    background: var(--wtt-fond-clair) !important;
    color: var(--wtt-navy) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* ---------- Index A-Z : marques, catégories, marchands (html/atoz.php + webtt-az.js) ---------- */
body .pt_az { margin-top: 24px; }
body .wtt-az-head { margin: 0 0 22px; }
body .wtt-az-title {
    margin: 0 0 10px !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.15;
    color: var(--wtt-navy) !important;
}
body .wtt-az-intro { max-width: 760px; margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--wtt-gris); }

body .pt_az .wtt-az-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 14px;
}
body .wtt-az-count { margin: 0; font-size: 15px; color: var(--wtt-gris); }
body .wtt-az-count strong { font-size: 22px; font-weight: 800; color: var(--wtt-navy); }
body .wtt-az-search { flex: 0 1 380px; margin: 0; }
body .wtt-az-search .visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
body .wtt-az-search input {
    height: 46px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid var(--wtt-bordure) !important;
    border-radius: 999px !important;
    background: var(--wtt-fond-clair) !important;
    box-shadow: none !important;
    font-size: 15px !important;
}
body .wtt-az-search input:focus { background: #fff !important; border-color: var(--wtt-navy) !important; }

/* Barre alphabétique collante (sous l'en-tête de 64 px) */
body .wtt-az-nav {
    position: sticky;
    top: 64px;
    z-index: 900;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin: 0 0 8px;
    padding: 10px 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--wtt-bordure);
}
body .wtt-az-nav a,
body .wtt-az-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 34px;
    padding: 0 5px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
body .wtt-az-nav a { background: var(--wtt-fond-clair); color: var(--wtt-navy); }
body .wtt-az-nav a:hover { background: var(--wtt-orange); color: #fff; }
body .wtt-az-nav .is-empty { color: #c3ccd6; }
body .wtt-az-nav .is-dim { opacity: .3; }

/* Lettres */
body .pt_az .wtt-az-letter {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1;
    color: var(--wtt-orange) !important;
    scroll-margin-top: 150px;
}
body .pt_az .wtt-az-letter::before { content: none !important; }
body .pt_az .wtt-az-letter::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--wtt-bordure);
}

/* Listes en colonnes (remplit de haut en bas) */
body .pt_az ul.wtt-az-list {
    display: block;
    columns: 5 180px;
    column-gap: 28px;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}
body .pt_az ul.wtt-az-list li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    break-inside: avoid;
    font-size: 15px !important;
}
body .pt_az ul.wtt-az-list li a {
    display: block;
    padding: 5px 0;
    color: var(--wtt-navy);
    text-decoration: none;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body .pt_az ul.wtt-az-list li a:hover { color: var(--wtt-orange); }
body .pt_az [hidden] { display: none !important; }
body .wtt-az-empty { margin: 24px 0; font-size: 16px; color: var(--wtt-gris); }

/* Marchands avec logo : cartes */
body .pt_az--logos ul.wtt-az-list {
    display: grid;
    columns: auto;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}
body .pt_az--logos ul.wtt-az-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 18px 14px;
    border: 1px solid var(--wtt-bordure);
    border-radius: var(--wtt-radius);
    background: #fff;
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
body .pt_az--logos ul.wtt-az-list li a:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--wtt-ombre);
}
body .pt_az--logos ul.wtt-az-list img { display: block; max-width: 150px; max-height: 60px; width: auto; height: auto; }
body .pt_az--logos span.marchant {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--wtt-gris);
}
body .pt_az--logos ul.wtt-az-list li a:hover span.marchant { color: var(--wtt-orange); }

@media (max-width: 767px) {
    body .wtt-az-title { font-size: 25px !important; }
    body .wtt-az-search { flex-basis: 100%; }
    body .wtt-az-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    body .wtt-az-nav a, body .wtt-az-nav span { flex: none; }
    body .pt_az ul.wtt-az-list { columns: 2 140px; column-gap: 18px; }
    body .pt_az--logos ul.wtt-az-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .pt_az .wtt-az-letter { font-size: 24px !important; }
}

/* ---------- Titre H1 des pages marque / catégorie (html/banner.php) ---------- */
body h1.wtt-list-title {
    margin: 14px 0 0 !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.15;
    color: var(--wtt-navy) !important;
}
@media (max-width: 767px) {
    body h1.wtt-list-title { font-size: 25px !important; }
}

/* ---------- Texte d'introduction des pages marque / catégorie (html/intros/) ---------- */
body .wtt-intro-row { margin-top: 18px; }
body .wtt-intro {
    position: relative;
    padding: 20px 24px;
    border-left: 4px solid var(--wtt-orange);
    border-radius: 0 12px 12px 0;
    background: var(--wtt-fond-clair);
}
body .wtt-intro__kicker {
    margin: 0 0 8px !important;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wtt-orange-fonce);
}
body .wtt-intro__txt p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.65;
    text-align: left !important;
    color: #34414f;
}
body .wtt-intro__txt p:last-child { margin-bottom: 0; }
body .wtt-intro__txt a { font-weight: 600; color: var(--wtt-orange); text-decoration: none; }
body .wtt-intro__txt a:hover { text-decoration: underline; }
body .wtt-intro__more { display: none; }

/* Mobile : replié sur 4 lignes */
@media (max-width: 767px) {
    body .wtt-intro { padding: 16px 18px; }
    body .wtt-intro.is-collapsed .wtt-intro__txt {
        max-height: calc(1.65em * 4);
        overflow: hidden;
        -webkit-mask-image: linear-gradient(#000 50%, transparent);
                mask-image: linear-gradient(#000 50%, transparent);
    }
    body .wtt-intro__more {
        display: inline-block;
        margin: 8px 0 0;
        padding: 0;
        border: 0;
        background: none;
        font-size: 14.5px;
        font-weight: 700;
        color: var(--wtt-orange);
        cursor: pointer;
    }
}

/* ==========================================================================
   NEUTRALISATION DE default.css (hauteurs fixes, marges, fond bleu, etc.)
   ========================================================================== */
/* Foundation 5 fixe html/body à height:100%, ce qui « lâche » l'en-tête collant
   après le premier écran : on rend leur hauteur naturelle. */
html, body { height: auto !important; min-height: 100%; }
body .contain-to-grid {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    width: 100%;
}
body .top-bar { padding-left: 0; }
body .bandeau-haut { padding-top: 0 !important; }
body .fi-home::before { content: none; }
body .breadcrumbs { margin-bottom: 0 !important; margin-top: 18px !important; }

body li.pt_fp_each {
    height: auto !important;
    max-width: none !important;
    font-size: 14px;
    line-height: 1.4;
}
body li.pt_fp_each .pt_fp_image {
    height: 100% !important;
    max-width: 100% !important;
}
body .pt_fp_name { flex-direction: row !important; }

body #pt_p_imgc img { padding: 0 !important; margin: 0 !important; }
body .pt_p { min-height: 0; }

body .actumatos { width: auto !important; margin-bottom: 40px !important; }

/* ---------- Focus clavier ---------- */
body a:focus-visible, body button:focus-visible, body input:focus-visible {
    outline: 3px solid var(--wtt-orange);
    outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    body .pt_fp ul, body ul.affichageflex { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body .pt_fp ul, body ul.affichageflex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body li.pt_fp_each > a:has(img) { padding: 12px; }
    body .pt_fp_name { font-size: 14px; }
    body .pt_fp_price { font-size: 19px !important; }
    body li.pt_fp_each > a.button { margin: 10px 12px 0 !important; font-size: 13px !important; }
    body h1.ventes, body h2.ventes, body .pt_fp h1, body .pt_rp h2, body .pt_rp h3 { font-size: 23px !important; }
    body .actumatos ul.blog { grid-template-columns: 1fr; }
    body .wtt-shop-footer .wtt-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    body .wtt-legal { flex-direction: column; text-align: center; }
    body .wtt-shop-logo img { height: 26px; }
}
