
/* ═══════════════════════════════════════════════════════════════════
   RIGHTECH.MA — CHILD THEME CUSTOM CSS
   ───────────────────────────────────────────────────────────────────
   1. NAVIGATION      Avanam menu · Breadcrumb · Search bar
   2. PAGE CATÉGORIE  Conteneur · Typo H1/H2/H3 · Usage Cards · FAQ · CTA
   3. ACCORDION       rt-guides-accordion + rt-faq-accordion (partagé)
   4. PREMIUM TRUST   Cards + Pills (catégorie & brand)
   5. LISTING PRODUITS  Product card miniature · RT Tabs
   6. PAGE MARQUE     Header · Listing · Accordion · SEO · Category cards
   7. FOOTER SEO
   ═══════════════════════════════════════════════════════════════════ */

* ── 1.2 Breadcrumb ───────────────────────────────────────────────── */
.page-title-wrapper {
    background-color: #f5f5f5;
    padding: 0 !important;
    min-height: 65px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

nav.breadcrumb,
nav.breadcrumb-rightech {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin: 0 auto;
    background: transparent;
    border: none;
    width: 100%;
    text-align: center;
}

nav.breadcrumb ol,
nav.breadcrumb-rightech ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
}

nav.breadcrumb ol li,
nav.breadcrumb-rightech li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #888;
    line-height: 1;
}

nav.breadcrumb ol li::before,
nav.breadcrumb ol li::after,
nav.breadcrumb-rightech li::before {
    content: none !important;
    display: none !important;
}

nav.breadcrumb ol li:not(:last-child)::after,
nav.breadcrumb-rightech li:not(:last-child)::after {
    content: "›" !important;
    display: inline !important;
    margin: 0 8px;
    color: #c8c8c8;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

nav.breadcrumb ol li a,
nav.breadcrumb-rightech li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

nav.breadcrumb ol li a:hover,
nav.breadcrumb-rightech li a:hover {
    color: #fcc902;
}

nav.breadcrumb ol li:last-child span,
nav.breadcrumb-rightech li .current {
    color: #24364b;
    font-weight: 600;
    white-space: nowrap;
}

/* ── 1.3 Search Bar Icon ──────────────────────────────────────────── */
.ava-search-bar .search-category-field {
    position: relative;
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2));
    background-size: 1px 60%;
    background-position: right center;
    background-repeat: no-repeat;
}

.ava-search-bar .search-category-field::after {
    display: none;
}

.ava-search-bar .search-category-field::before {
    content: "";
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #fcc902;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
}

.ava-search-bar #search_category {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}


/* ═══════════════════════════════════════════════════════════════════
   2. PAGE CATÉGORIE
   ═══════════════════════════════════════════════════════════════════ */
/* Lien description Catégorie vers description 2 */
.rt-cat-intro,
.rt-cat-links {
  margin: 0 0 6px !important;
  line-height: 1.45;
}

.rt-cat-links {
  font-size: 15px;
}

.rt-readmore-wrap-inline {
  text-align: right;
  margin: 2px 0 8px !important;
  line-height: 1.2;
}

.rt-readmore-link {
  display: inline-block;
  color: #293544;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid #FCC902;
  padding-bottom: 1px;
}

.rt-readmore-link:hover {
  color: #000;
  border-bottom-color: #293544;
}

/* Décalage propre pour l’ancre du guide */
#guide-achat {
  scroll-margin-top: 120px;
}

/* ── 2.1 Masquer le H1 natif PrestaShop ───────────────────────────── */
.page-header h1,
#category .page-header {
    display: none !important;
}

/* Supprimer bordure du bloc description additionnelle */
#js-product-list-footer .card {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 0;
}

#js-product-list-footer .card-block {
    padding: 0;
}

/* ── 2.2 Conteneur description SEO ───────────────────────────────── */
.rt-category-desc {
    max-width: 1000px;
    margin: auto;
    padding: 30px 15px;
}
/* ── 2.3 Typographie H1 / H2 / H3 ────────────────────────────── */

/* Écrasement CSS variables thème */
#category-description,
.category-desc-top,
.category-additional-description,
.rt-category-desc {
    --h1-size: 22px;
    --h2-size: 20px;
    --h3-size: 17px;
    --heading-text-transform: none;
    --heading-letter-spacing: normal;
}

/* H1 */
.rt-category-desc h1,
.category-desc-top h1,
#category-description h1,
.category-additional-description h1 {
    font-size: 22px !important;
    font-weight: 700;
    color: #293544;
    line-height: 1.4;
    margin: 0 0 18px;
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* H2 */
.rt-category-desc h2,
.category-desc-top h2,
#category-description h2,
.category-additional-description h2 {
    font-size: 20px !important;
    font-weight: 700;
    color: #293544;
    margin: 30px 0 15px;
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* H3 */
.rt-category-desc h3,
.category-desc-top h3,
#category-description h3,
.category-additional-description h3 {
    font-size: 17px !important;
    font-weight: 600;
    color: #293544;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.rt-desc-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #293544;
    margin-bottom: 14px;
    text-align: center;
}

.rt-category-desc > p {
    text-align: center;
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

/* ── 2.3b Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
    #category-description,
    .category-desc-top,
    .category-additional-description,
    .rt-category-desc {
        --h1-size: 19px;
        --h2-size: 17px;
        --h3-size: 15px;
        padding: 20px 12px !important;
    }
    .rt-category-desc h1, .category-desc-top h1,
    #category-description h1, .category-additional-description h1 { font-size: 19px !important; line-height: 1.35 !important; }
    .rt-category-desc h2, .category-desc-top h2,
    #category-description h2, .category-additional-description h2 { font-size: 17px !important; }
    .rt-category-desc h3, .category-desc-top h3,
    #category-description h3, .category-additional-description h3 { font-size: 15px !important; }
}

@media (max-width: 480px) {
    #category-description,
    .category-desc-top,
    .category-additional-description,
    .rt-category-desc { --h1-size: 17px; --h2-size: 15px; --h3-size: 14px; }
    .rt-category-desc h1, .category-desc-top h1,
    #category-description h1, .category-additional-description h1 { font-size: 17px !important; line-height: 1.3 !important; margin: 0 0 12px !important; }
    .rt-category-desc h2, .category-desc-top h2,
    #category-description h2, .category-additional-description h2 { font-size: 15px !important; margin: 20px 0 10px !important; }
    .rt-category-desc h3, .category-desc-top h3,
    #category-description h3, .category-additional-description h3 { font-size: 14px !important; }
}

@media (max-width: 380px) {
    #category-description,
    .category-desc-top,
    .category-additional-description,
    .rt-category-desc { --h1-size: 16px; --h2-size: 14px; }
    .rt-category-desc h1, .category-desc-top h1,
    #category-description h1, .category-additional-description h1 { font-size: 16px !important; }
    .rt-category-desc h2, .category-desc-top h2,
    #category-description h2, .category-additional-description h2 { font-size: 14px !important; }
}
/* Panneaux accordion : texte aligné à gauche dans la desc */
.rt-category-desc .rt-acc-panel {
    text-align: left;
}

/* ── 2.4 Usage Cards (style Lenovo) ────────────────────────────────── */
.rt-usage-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 26px;
}

.rt-usage-card {
    position: relative;
    display: block;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef1f4;
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
    text-decoration: none !important;
    color: inherit !important;
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rt-usage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.rt-usage-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform .45s ease, filter .45s ease;
}

.rt-usage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.15), rgba(0,0,0,0) 60%);
    opacity: .4;
    transition: opacity .25s ease;
}

.rt-usage-card:hover::after {
    opacity: .70;
}

.rt-usage-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 4px 16px;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
    transition: transform .25s ease, padding .25s ease, box-shadow .25s ease;
}

.rt-usage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
}

.rt-usage-title {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    color: #171717;
    line-height: 1.2;
}

.rt-usage-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: transparent;
    font-size: 0;
    transform: translateX(0);
    transition: transform .25s ease;
}

.rt-usage-icon::before {
    content: "›";
    font-size: 22px;
    line-height: 1;
    color: #171717;
}

.rt-usage-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #171717;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s ease, opacity .35s ease;
}

.rt-usage-card:hover .rt-usage-bg {
    transform: scale(1.06);
    filter: saturate(1.06) contrast(1.02);
}

.rt-usage-card:hover .rt-usage-overlay {
    transform: translateY(-4px);
    padding: 10px 16px;
    box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

.rt-usage-card:hover .rt-usage-text {
    max-height: 160px;
    opacity: 1;
}

.rt-usage-card:hover .rt-usage-icon {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .rt-usage-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rt-usage-card { height: 300px; border-radius: 18px; }
    .rt-usage-overlay { left: 18px; right: 18px; bottom: 16px; }
}

@media (max-width: 640px) {
    .rt-usage-cards { grid-template-columns: 1fr; }
    .rt-usage-card { height: 290px; border-radius: 18px; }
    .rt-usage-overlay { left: 16px; right: 16px; bottom: 14px; }
    .rt-usage-title { font-size: 15px; }
}

/* ── 2.5 Blocs Conseils ───────────────────────────────────────────── */
.conseil-box {
    background: #ffffff !important;
    padding: 25px !important;
    border-radius: 15px !important;
    border-left: 6px solid #FFC107 !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
}
/* Paragraphes centrés description additionnelle */
.rt-desc-center {
    line-height: 1.8;
    max-width: 980px;
    margin: 0 auto 22px;
    color: #555;
    text-align: center;
}

/* Bloc prix */
.rt-prix-block {
    background: #f8fafc;
    padding: 28px 0;
    border-left: 4px solid #FCC902;
    margin: 35px auto;
    max-width: 1000px;
}

/* Tableau gammes */
.rt-gammes-table {
    max-width: 1000px;
    margin: auto;
    border: 1px solid #eef1f4;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.rt-gammes-table td {
    padding: 14px 18px;
    line-height: 1.8;
    vertical-align: top;
}
.rt-gammes-table td:first-child { width: 190px; font-weight: 700; }
.rt-gammes-table tr:nth-child(odd) { background: #fffdf4; border-left: 4px solid #FCC902; }
.rt-gammes-table tr:nth-child(even) { background: #ffffff; }
/* ── 2.6 FAQ Cards ────────────────────────────────────────────────── */
.faq-section-wrapper {
    padding-top: 40px !important;
    padding-left: 15px !important;
}

.faq-card {
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 15px !important;
    border-top: 6px solid #FFC107 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

.faq-card-body {
    padding: 20px !important;
    flex-grow: 1;
}

.faq-title {
    font-size: 16px !important;
    color: #293544 !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    min-height: 45px;
}

/* ── 2.7 CTA Box ──────────────────────────────────────────────────── */
.cta-box-footer {
    background: #293544 !important;
    color: #fff !important;
    padding: 40px 20px !important;
    border-radius: 15px !important;
    margin-top: 40px !important;
    text-align: center !important;
    border-bottom: 8px solid #FCC902 !important;
    position: relative;
    overflow: hidden;
}

.cta-box-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #FCC902;
}

.cta-btn-whatsapp {
    background: #FCC902 !important;
    color: #293544 !important;
    padding: 12px 35px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 15px;
    transition: 0.3s;
}
.cta-box-footer h3 {
    color: #FCC902;
    font-size: 22px;
    margin-bottom: 10px;
}
.cta-btn-whatsapp:hover {
    background: #e5ac00 !important;
    transform: translateY(-2px);
}

/* ── 2.8 Alignement colonnes flexibles ────────────────────────────── */
.row.d-flex.flex-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
}

.col-md-4.d-flex,
.col-md-6.d-flex {
    display: flex !important;
}


/* ═══════════════════════════════════════════════════════════════════
   3. ACCORDION  (partagé — catégorie + brand)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 3.1 Conteneur ────────────────────────────────────────────────── */
.rt-guides-accordion,
.rt-faq-accordion {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.05);
    border: 1px solid #f1f3f6;
}

/* ── 3.2 Items globaux (bare — rt-guides + rt-faq partagent la même structure) */
.rt-acc-item {
    border-bottom: 1px solid #f1f3f6;
    background: transparent;
    transition: background-color .2s ease, border-color .2s ease;
}

.rt-acc-item:last-child {
    border-bottom: 0;
}

.rt-acc-title {
    margin: 0;
    padding: 16px 65px 16px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
    /* Neutraliser héritage thème */
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 0 !important;
}

.rt-acc-title::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f6f9;
    transform: translateY(-50%);
    transition: background-color .2s ease;
}

.rt-acc-title::before {
    content: "";
    position: absolute;
    right: 31px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #293544;
    border-bottom: 2px solid #293544;
    transform: translateY(-60%) rotate(45deg);
    transition: transform .2s ease;
    z-index: 2;
}

.rt-acc-panel {
    display: none;
    padding: 0 22px 20px;
    font-size: 14px;
    color: #5a6b7b;
    line-height: 1.7;
}

/* Hover */
.rt-acc-item:hover {
    background: #fffdf5;
    border-left: 4px solid #FCC902;
}

.rt-acc-item:hover .rt-acc-title::after {
    background: #FCC902;
}

/* Open */
.rt-acc-item.is-open {
    background: #fffdf5;
    border-left: 4px solid #FCC902;
}

.rt-acc-item.is-open .rt-acc-panel {
    display: block;
}

.rt-acc-item.is-open .rt-acc-title::after {
    background: #FCC902;
}

.rt-acc-item.is-open .rt-acc-title::before {
    transform: translateY(-50%) rotate(-135deg);
}

/* ── 3.3 rt-guides-accordion — surcharge spécifique (h3 > selector) */
.rt-guides-accordion .rt-acc-item {
    border-bottom: 1px solid #f1f3f6;
    background: transparent;
    transition: background-color .2s ease, border-color .2s ease;
}

.rt-guides-accordion .rt-acc-item:last-child {
    border-bottom: 0;
}

.rt-guides-accordion .rt-acc-item > h3.rt-acc-title {
    margin: 0 !important;
    position: relative !important;
    padding: 16px 60px 16px 22px !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    user-select: none;
}

.rt-guides-accordion .rt-acc-item > h3.rt-acc-title::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f6f9;
    transform: translateY(-50%);
    transition: background-color .2s ease;
    z-index: 1;
}

.rt-guides-accordion .rt-acc-item > h3.rt-acc-title::before {
    content: "";
    position: absolute;
    right: 31px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #293544;
    border-bottom: 2px solid #293544;
    transform: translateY(-60%) rotate(45deg);
    transition: transform .2s ease;
    z-index: 2;
}

.rt-guides-accordion .rt-acc-panel {
    padding: 0 22px 20px 22px !important;
    color: #5a6b7b;
    font-size: 14px;
    line-height: 1.7;
}

.rt-guides-accordion .rt-acc-item:hover {
    background: #fffdf5;
    border-left: 4px solid #FCC902;
}

.rt-guides-accordion .rt-acc-item:hover > h3.rt-acc-title::after {
    background: #FCC902;
}

.rt-guides-accordion .rt-acc-item.is-open {
    background: #fffdf5;
    border-left: 4px solid #FCC902;
}

.rt-guides-accordion .rt-acc-item.is-open > h3.rt-acc-title::after {
    background: #FCC902;
}

.rt-guides-accordion .rt-acc-item.is-open > h3.rt-acc-title::before {
    transform: translateY(-50%) rotate(-135deg);
}

.rt-guides-accordion .rt-acc-title:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(252,201,2,.25);
    border-radius: 12px;
}

@media (max-width: 576px) {
    .rt-guides-accordion .rt-acc-item > h3.rt-acc-title {
        padding: 14px 54px 14px 18px !important;
    }

    .rt-guides-accordion .rt-acc-item > h3.rt-acc-title::after {
        right: 14px;
    }

    .rt-guides-accordion .rt-acc-item > h3.rt-acc-title::before {
        right: 27px;
    }

    .rt-guides-accordion .rt-acc-panel {
        padding: 0 18px 16px 18px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   4. PREMIUM TRUST  (partagé — catégorie & brand)
   ═══════════════════════════════════════════════════════════════════ */

.rt-premium-trust {
    margin: 34px 0;
    padding-top: 22px;
    border-top: 1px solid #eef1f4;
}

.rt-premium-trust__header {
    margin: 0 auto 18px;
    padding: 0 10px;
    text-align: center;
}

.rt-premium-trust__title {
    font-size: 24px;
    font-weight: 900;
    color: #293544;
    margin: 0 0 10px;
    letter-spacing: -.2px;
}

.rt-premium-trust__intro {
    font-size: 14.5px;
    color: #5a6b7b;
    line-height: 1.75;
    margin: 0 auto 18px;
    max-width: 100%;
}

/* Trust Pills */
.rt-trust-pills {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.rt-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #eef1f4;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    color: #293544;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
    transition: all .18s ease;
}

.rt-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #FCC902;
    box-shadow: 0 0 0 3px rgba(252,201,2,.18);
}

.rt-pill:hover {
    transform: translateY(-1px);
    border-color: #FCC902;
    box-shadow: 0 12px 22px rgba(0,0,0,.06);
}

/* Grid & Cards */
.rt-premium-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.rt-premium-card {
    position: relative;
    padding: 18px 18px 18px 20px;
    border: 1px solid #eef1f4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,.04);
    transition: all .2s ease;
    overflow: hidden;
}

.rt-premium-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #293544;
    margin: 0 0 8px;
    line-height: 1.25;
}

.rt-premium-card p {
    font-size: 13.5px;
    color: #4a5563;
    line-height: 1.65;
    margin: 0;
}

.rt-premium-card:hover {
    border-color: #FCC902;
    box-shadow: 0 16px 36px rgba(0,0,0,.06);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .rt-premium-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
    .rt-premium-trust__header { text-align: center; }
    .rt-trust-pills { justify-content: center; }
    .rt-premium-trust__grid { grid-template-columns: 1fr; }
}
/* ═══════════════════════════════════════════════════════════════════
   2.bis DESCRIPTION CATÉGORIE — Classes réutilisables
   ═══════════════════════════════════════════════════════════════════ */

/* Sous-titre H1 (ligne sous le H1) */
.rt-desc-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 14px;
    text-align: center;
}

/* Paragraphes centrés répétés dans la description additionnelle */
.rt-desc-center {
    line-height: 1.8;
    max-width: 980px;
    margin: 0 auto 22px;
    color: #555;
    text-align: center;
}

.rt-desc-center.sm {
    margin-bottom: 14px;
}

.rt-desc-center.mt {
    margin-top: 12px;
    margin-bottom: 0;
}

/* Liens "Explorez nos sélections" */
.rt-desc-link {
    border-bottom: 1px solid #FCC902;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, border-color 0.2s;
}

.rt-desc-link:hover {
    color: #FCC902;
    border-bottom-color: #293544;
}

/* H3 "Explorer par usage" */
#category-description h3.rt-usage-title,
.category-additional-description h3.rt-usage-title {
    margin: 34px 0 16px;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.25;
    color: #293544;
    text-align: center;
    letter-spacing: 0.2px;
}

/* Tableau comparaison gammes */
.rt-gammes-table {
    max-width: 1000px;
    margin: auto;
    border: 1px solid #eef1f4;
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

.rt-gammes-table td {
    padding: 14px 18px;
    line-height: 1.8;
    vertical-align: top;
    border-bottom: 1px solid #eef1f4;
}

.rt-gammes-table td:first-child {
    width: 190px;
    font-weight: 700;
}

.rt-gammes-table tr:nth-child(odd) {
    background: #fffdf4;
    border-left: 4px solid #FCC902;
}

.rt-gammes-table tr:nth-child(even) {
    background: #ffffff;
}

/* Bloc CTA final */
.cta-box-footer {
    background: #1d2835;
    color: #ffffff;
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
    border-bottom: 8px solid #FCC902;
}

.cta-box-footer h3 {
    color: #FCC902 !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    text-align: center !important;
}

.cta-box-footer p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-btn-whatsapp {
    display: inline-block;
    background: #FCC902;
    color: #1d2835 !important;
    padding: 12px 35px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
}

.cta-btn-whatsapp:hover {
    background: #ffffff;
    color: #1d2835 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   5. LISTING PRODUITS
   ═══════════════════════════════════════════════════════════════════ */

/* ── 5.1 RT Tabs ──────────────────────────────────────────────────── */
.rt-tabs-wrap {
    margin: 18px 0;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    overflow: hidden;
}

.rt-tabs-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #fafafa;
    border-bottom: 1px solid #eef1f4;
}

.rt-tab-btn {
    cursor: pointer;
    user-select: none;
    border: 1px solid #eceff3;
    background: #ffffff;
    color: #293544;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
    outline: none;
}

.rt-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9dde3;
    display: inline-block;
}

.rt-tab-btn:hover {
    border-color: #dfe4ea;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.rt-tab-btn.is-active {
    background: #fffdf5;
    border-color: #FCC902;
    color: #293544;
    box-shadow: 0 6px 14px rgba(252,201,2,0.12);
}

.rt-tab-btn.is-active .rt-dot {
    background: #FCC902;
}

.rt-tabs-body {
    padding: 16px;
}

.rt-tab-panel { display: none; }
.rt-tab-panel.is-active { display: block; }

@media (max-width: 576px) {
    .rt-tab-btn {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ── 5.2 Product Card Miniature ───────────────────────────────────── */

/* Titre produit : exactement 2 lignes maximum */
.products .product-miniature .product-title,
.products .product-miniature .product-title a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 21px;
    height: 42px;
    max-height: 42px;
}

/* Prix : hauteur uniforme avec/sans promo */
.products .product-miniature .product-price-and-shipping .regular-price {
    min-height: 16px;
    display: block;
}

.regular-price--placeholder { visibility: hidden; }

/* Bouton ajouter au panier pleine largeur */
.products .product-miniature .wdproducthover,
.products .product-miniature .wdproducthover .wd-button-container,
.products .product-miniature .wdproducthover .product-add-to-cart,
.products .product-miniature .wdproducthover .product-add-to-cart form {
    width: 100%;
}

.products .product-miniature .wdproducthover .wd-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.products .product-miniature .wdproducthover .product-add-to-cart {
    flex: 0 0 100%;
    width: 100%;
}

.products .product-miniature .wdproducthover .product-add-to-cart button.ajax_add_to_cart_button.add-to-cart {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icônes d'action (wishlist / compare / quickview) */
.products .product-miniature .thumbnail-container { position: relative; }

.products .product-miniature .product-btns .wishlist,
.products .product-miniature .wdproducthover .compare,
.products .product-miniature .wdproducthover .quick-view-block {
    position: absolute;
    right: 10px;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .18s ease;
}

.products .product-miniature .product-btns .wishlist  { top: 10px; }
.products .product-miniature .wdproducthover .compare { top: 54px; }
.products .product-miniature .wdproducthover .quick-view-block { top: 98px; }

/* Cercle uniforme */
.products .product-miniature .wishlist a,
.products .product-miniature .compare a,
.products .product-miniature .quick-view-block a {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 999px;
    background: #f2f2f2;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.products .product-miniature .wishlist a i,
.products .product-miniature .compare a i,
.products .product-miniature .quick-view-block a i {
    font-size: 18px;
    line-height: 1;
}

.products .product-miniature .wishlist a:hover,
.products .product-miniature .compare a:hover,
.products .product-miniature .quick-view-block a:hover {
    background: #FCC902;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* Masquer les labels inline */
.products .product-miniature .wishlist a span:not(.loading),
.products .product-miniature .compare a span:not(.loading),
.products .product-miniature .quick-view-block a span:not(.loading) {
    display: none;
}

/* Afficher au hover */
.products .product-miniature:hover .product-btns .wishlist,
.products .product-miniature:hover .wdproducthover .compare,
.products .product-miniature:hover .wdproducthover .quick-view-block {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Mobile : toujours visible */
@media (hover: none) {
    .products .product-miniature .product-btns .wishlist,
    .products .product-miniature .wdproducthover .compare,
    .products .product-miniature .wdproducthover .quick-view-block {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* Tooltips au-dessus */
.products .product-miniature,
.products .product-miniature .thumbnail-container,
.products .product-miniature .wdproduct-image,
.products .product-miniature .wdproducthover {
    overflow: visible;
}

.products .product-miniature .wishlist a::after,
.products .product-miniature .compare a::after,
.products .product-miniature .quick-view-block a::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .18s ease;
    pointer-events: none;
    z-index: 999;
}

.products .product-miniature .wishlist a::before,
.products .product-miniature .compare a::before,
.products .product-miniature .quick-view-block a::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #111;
    opacity: 0;
    visibility: hidden;
    transition: .18s ease;
    z-index: 999;
}

.products .product-miniature .wishlist a:hover::after,
.products .product-miniature .compare a:hover::after,
.products .product-miniature .quick-view-block a:hover::after,
.products .product-miniature .wishlist a:hover::before,
.products .product-miniature .compare a:hover::before,
.products .product-miniature .quick-view-block a:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Wishlist — cercle blanc + ombre comme compare/quickview */
.products .product-miniature .product-btns .wishlist a.addToWishlist {
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.12) !important;
    color: #293544 !important;
}

.products .product-miniature .product-btns .wishlist a.addToWishlist:hover {
    background: #FCC902 !important;
    color: #000 !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.18) !important;
    transform: translateY(-2px);
}

.products .product-miniature .product-btns .wishlist a.addToWishlist i {
    margin: 0 !important;
}

/* Aligner les 3 cercles en colonne top-right */
.products .product-miniature .wdproduct-image {
    position: relative;
}

.products .product-miniature .wdproduct-image .product-btns {
    position: absolute;
    top: 12px !important;
    right: 12px !important;
    z-index: 90;
}

.products .product-miniature .wdproduct-image .product-btns .wishlist {
    position: static !important;
    margin: 0 !important;
}

.products .product-miniature .wdproduct-image .wdproducthover .compare,
.products .product-miniature .wdproduct-image .wdproducthover .quick-view-block {
    position: absolute !important;
    right: 12px !important;
    z-index: 90;
    margin: 0 !important;
}

.products .product-miniature .wdproduct-image .wdproducthover .compare {
    top: 58px !important;
}

.products .product-miniature .wdproduct-image .wdproducthover .quick-view-block {
    top: 104px !important;
}


/* ═══════════════════════════════════════════════════════════════════
   6. PAGE MARQUE
   ═══════════════════════════════════════════════════════════════════ */

/* ── 6.1 Brand Header ─────────────────────────────────────────────── */
.rt-brand-header {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
}

.rt-brand-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rt-brand-logo {
    max-height: 80px;
    object-fit: contain;
}

.rt-brand-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.rt-brand-count {
    margin-top: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.rt-brand-description {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 18px;
    line-height: 1.75;
    font-size: 15px;
}

/* Bouton "Lire Plus" */
.rightech-read-more {
    float: right;
    font-size: 14px;
    font-weight: 600;
    color: #293544;
    text-decoration: none;
    position: relative;
    margin-top: 20px;
    padding-right: 16px;
    transition: all .2s ease;
}

.rightech-read-more::after {
    content: "\2193";
    position: absolute;
    right: 0;
    transition: transform .2s ease;
}

.rightech-read-more:hover {
    color: #FFC107;
}

.rightech-read-more:hover::after {
    transform: translateY(3px);
}

.rightech-scroll-anchor {
    scroll-margin-top: 90px;
}

/* ── 6.2 Listing Marques ──────────────────────────────────────────── */
.rgt-brands-head {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,.05);
}

.rgt-brands-tools { margin-top: 15px; }
.rgt-brands-alpha { margin-top: 18px; }
.rgt-brands-grid  { margin-top: 30px; }

.rgt-brands-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    padding: 12px 16px;
    transition: .2s ease;
}

.rgt-brands-search:focus-within {
    background: #fff;
    border-color: #f2c200;
    box-shadow: 0 0 0 4px rgba(242,194,0,.18);
}

.rgt-brands-search input {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    width: 100%;
    font-size: 14px;
    color: #293544;
}

.rgt-brands-search input::placeholder {
    color: #9aa6b2;
}

.rgt-clear {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .15s ease;
}

.rgt-clear:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* Lettres alphabet */
.rgt-brands-alpha {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 5px;
}

.rgt-alpha-btn {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #f8f9fa;
    font-size: 13px;
    font-weight: 700;
    color: #293544;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .15s ease;
}

.rgt-alpha-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.rgt-alpha-btn.is-active {
    background: #f2c200;
    border-color: #f2c200;
    color: #111;
    box-shadow: 0 0 0 4px rgba(242,194,0,.18);
}

/* Grille logos */
.rgt-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 992px) { .rgt-brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .rgt-brands-grid { grid-template-columns: repeat(2, 1fr); } }

.rgt-brand-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.rgt-brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    transition: .25s ease;
}

.rgt-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.rgt-brand-card:hover::before {
    background: #f2c200;
}

/* ── 6.3 Brand Accordion ──────────────────────────────────────────── */
.wd-faq-heading {
    margin: 40px 0 25px;
    font-size: 24px;
    font-weight: 800;
    color: #293544;
    text-align: center;
}

.wd-brand-accordion {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.05);
}

.wd-brand-accordion .wd-acc-item {
    border-bottom: 1px solid #f1f3f6;
    background: transparent;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.wd-brand-accordion .wd-acc-item:last-child { border-bottom: 0; }

.wd-brand-accordion .wd-acc-btn {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: transparent !important;
    border: 0;
    cursor: pointer;
    outline: none;
}

.wd-brand-accordion .wd-acc-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

.wd-brand-accordion .wd-acc-body {
    padding: 0 22px 22px;
    color: #5a6b7b;
    font-size: 14px;
    line-height: 1.7;
    background: transparent !important;
}

.wd-brand-accordion .collapse,
.wd-brand-accordion .collapse.in,
.wd-brand-accordion .collapse.show {
    background: transparent !important;
}

.wd-brand-accordion .wd-acc-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f6f9;
    position: relative;
    transition: background-color .2s ease, transform .2s ease;
}

.wd-brand-accordion .wd-acc-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #293544;
    border-bottom: 2px solid #293544;
    transform: translate(-50%, -60%) rotate(45deg);
    transition: transform .2s ease;
}

/* Hover */
.wd-brand-accordion .wd-acc-item:hover {
    background: #fffdf5;
    border-left: 4px solid #FCC902;
}

.wd-brand-accordion .wd-acc-item:hover .wd-acc-icon {
    background: #FCC902;
}

/* Open — via .is-open ou aria-expanded */
.wd-brand-accordion .wd-acc-item.is-open {
    background: #fffdf5 !important;
    border-left: 4px solid #FCC902 !important;
}

.wd-brand-accordion .wd-acc-btn[aria-expanded="true"] .wd-acc-icon,
.wd-brand-accordion .wd-acc-item.is-open .wd-acc-icon {
    background: #FCC902 !important;
}

.wd-brand-accordion .wd-acc-btn[aria-expanded="true"] .wd-acc-icon::before {
    transform: translate(-50%, -50%) rotate(-135deg) !important;
}

.wd-brand-accordion .wd-acc-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(252,201,2,.25);
    border-radius: 12px;
}

@media (max-width: 576px) {
    .wd-brand-accordion .wd-acc-btn  { padding: 16px; }
    .wd-brand-accordion .wd-acc-body { padding: 0 16px 16px; }
}

/* ── 6.4 Brand SEO Content ────────────────────────────────────────── */
#seo-bottom-content.brand-footer-seo {
    padding: 34px 20px;
    clear: both;
    width: 100%;
    float: left;
}

.brand-footer-seo__inner {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.brand-footer-seo .seo-text-content p:empty {
    display: none !important;
}

.brand-footer-seo .seo-text-content h2 {
    margin: 34px 0 16px !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #293544 !important;
    text-align: center !important;
    letter-spacing: .2px !important;
}

.brand-footer-seo .seo-text-content h2 + p {
    margin-top: 0 !important;
}

.brand-footer-seo .seo-text-content .h2-sub h2 {
    margin: 24px 0 12px !important;
    font-size: 18px !important;
    font-weight: 650 !important;
    color: #374151 !important;
    text-align: left !important;
}

.brand-footer-seo .wd-faq-heading {
    margin: 26px 0 16px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #293544 !important;
    text-align: center !important;
}

@media (max-width: 576px) {
    .brand-footer-seo .seo-text-content h2 {
        margin: 28px 0 14px !important;
        font-size: 20px !important;
    }

    .brand-footer-seo .faq-section {
        margin-top: 44px;
        padding-top: 28px;
    }
}

/* ── 6.5 Brand Category Cards ─────────────────────────────────────── */
.wd-brand-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 25px 0 40px;
}

@media (max-width: 992px) { .wd-brand-categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .wd-brand-categories { grid-template-columns: 1fr; } }

.wd-brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    transition: all .25s ease;
    height: 100%;
}

.wd-brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    border-color: #FFC107;
}

.wd-brand-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 22px;
    background: #f9fafb;
    display: block;
}

.wd-brand-card span {
    display: block;
    padding: 14px 10px 16px;
    font-weight: 700;
    font-size: 15px;
    color: #293544;
    background: #fff;
}

.wd-brand-card:hover span {
    color: #000;
}

/* ── 6.6 Bouton "En savoir plus" ──────────────────────────────────── */
.btn-more-custom {
    background: #FCC902;
    color: #293544;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all .25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.btn-more-custom:hover {
    background: #293544;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}


/* ═══════════════════════════════════════════════════════════════════
   7. FOOTER SEO
   ═══════════════════════════════════════════════════════════════════ */

.footer-seo-premium {
    background: #f6f7fb;
    padding: 70px 0;
    border-top: 1px solid #eee;
    font-family: 'Poppins', sans-serif;
}

.footer-seo-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.footer-seo-header {
    text-align: center;
    margin-bottom: 50px;
}

.footer-seo-header span {
    display: inline-block;
    background: #FCC902;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.footer-seo-header h2 {
    font-size: 24px;
    margin-top: 15px;
    font-weight: 600;
    color: #222;
}

.footer-seo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: stretch;
}

.footer-seo-card {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-seo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.footer-seo-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #111;
    font-weight: 600;
}

.footer-seo-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    flex-grow: 1;
}

.footer-seo-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.footer-seo-card ul li {
    margin-bottom: 6px;
}

.footer-seo-card ul li a {
    text-decoration: none;
    font-size: 13px;
    color: #555;
    position: relative;
    padding-left: 14px;
    transition: 0.2s;
}

.footer-seo-card ul li a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ccc;
    transition: 0.2s;
}

.footer-seo-card ul li a:hover,
.footer-seo-card ul li a:hover::before {
    color: #FCC902;
}

.footer-seo-text {
    margin: 50px auto 0;
    text-align: center;
    max-width: 900px;
}

.footer-seo-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

@media (max-width: 992px) { .footer-seo-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 576px) {
    .footer-seo-grid { grid-template-columns: 1fr; }
    .footer-seo-header h2 { font-size: 20px; }
    .footer-seo-header span { font-size: 12px; padding: 8px 16px; }
}
/* Fix espace haut/bas wrapper CMS */
body#cms #wrapper:not(#index #wrapper) {
}

/* Fix espace bas CMS uniquement */
body#cms section#wrapper {
}
body#cms #content-wrapper {
}
body#cms #main {
}
body#cms .page-content {
}
/* Fix ETC Blog — espace blanc image principale lazy load */

/* ===== AMAZZING BLOG — Rightech v3 ===== */

/* Titre catégorie : pas de capitalize forcé */
.amazzingblog h1,
.amazzingblog .category-title,
.amazzingblog .post-item-title,
.amazzingblog .post-item-title a {
    text-transform: none !important;
}

/* Espace entre description catégorie et les articles */
.amazzingblog .blog-category-description {
    margin-bottom: 30px;
}

/* Espace entre les sous-catégories et les articles */
.amazzingblog .blog-subcategories {
    margin-bottom: 35px;
}

/* Badge catégorie */
.rt-cat-badge {
    text-transform: none !important;
}

/* ===== BLOG — Fix titre post detail ===== */
.amazzingblog.post-page h1,
.amazzingblog .post-title {
    text-transform: none !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
}

/* ===== BLOG — Séparation description catégorie / articles ===== */
.amazzingblog.category-page .blog-category-description {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

/* ===== BLOG — Séparation sous-catégories / articles ===== */
.amazzingblog.category-page .blog-subcategories {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

/* ===== BLOG — Titres articles dans les cards ===== */
.amazzingblog .post-item-title,
.amazzingblog .post-item-title a {
    text-transform: none !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
}

/* ===== FIX MEGA MENU — Espacement items ===== */
.avanamegamenu .menu-item {
    margin-right: 15px !important;
    padding: 0 10px !important;
}
.avanamegamenu .menu-item:last-child {
    margin-right: 0 !important;
}


/* ── Brand Header : layout 2 colonnes (logo gauche | info droite) ── */
.rt-brand-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.rt-brand-logo-col {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 30px;
    border-right: 1px solid #eee;
    min-height: 100px;
}
.rt-brand-logo-col img {
    width: 100px;
    height: 126px;
    object-fit: contain;
}
.rt-brand-info-col {
    flex: 1;
    min-width: 250px;
}
.rt-brand-info-col .rt-brand-description {
    border: 0;
    padding: 0;
    margin: 12px 0 16px;
    background: none;
}
@media (max-width: 576px) {
    .rt-brand-logo-col {
        flex: 0 0 100%;
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 20px;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   PAGE 404 — Erreur page introuvable
   ═══════════════════════════════════════════════════════════════════ */

.rt-404 {
    padding: 60px 0;
}

.rt-404-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 50px 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.rt-404-container h1 {
    font-size: 100px;
    font-weight: 800;
    color: #FCC902;
    line-height: 1;
    margin: 0 0 10px;
}

.rt-404-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #293544;
    margin-bottom: 14px;
}

.rt-404-container p {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
}

.rt-404-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.rt-404-actions .btn-primary {
    background: #FCC902;
    color: #293544;
    padding: 11px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    border: none;
}

.rt-404-actions .btn-primary:hover {
    background: #293544;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

.rt-404-actions .btn-secondary {
    background: #fff;
    color: #293544;
    padding: 11px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid #293544;
    transition: all .25s ease;
}

.rt-404-actions .btn-secondary:hover {
    background: #293544;
    color: #fff;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════════════
  Pages CMS — CHILD THEME CUSTOM CSS
   ───────────────────────────────────────────────────────────────────
   1. Section Héro  
   ═══════════════════════════════════════════════════════════════════ */
*{box-sizing:border-box;margin:0;padding:0;}
.rt-cgv{font-family:'Poppins',sans-serif;color:#2d2d2d;line-height:1.75;font-size:15px;}
.rt-cgv-container{max-width:900px;margin:0 auto;padding:48px 60px;}

/* PRÉAMBULE */
.rt-preamble{position:relative;background:#ffffff;border:1px solid #e8e8e8;border-radius:16px;padding:32px 36px;margin-bottom:28px;overflow:hidden;}
.rt-preamble-accent-bar{position:absolute;left:0;top:0;bottom:0;width:4px;background:#FCC902;border-radius:16px 0 0 16px;}
.rt-preamble-deco{position:absolute;right:-30px;top:-30px;width:180px;height:180px;border-radius:50%;background:rgba(252,201,2,0.06);pointer-events:none;}
.rt-preamble-label{display:inline-flex;align-items:center;gap:7px;background:#FCC90218;border:1px solid rgba(252,201,2,0.35);color:#b38a00;font-size:9px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;padding:4px 12px;border-radius:20px;margin-bottom:16px;}
.rt-preamble-label-dot{width:5px;height:5px;background:#FCC902;border-radius:50%;flex-shrink:0;}
.rt-preamble-body{font-size:13.5px;line-height:1.85;color:#555;position:relative;z-index:1;}
.rt-preamble-body strong{color:#1d2835;font-weight:700;}
.rt-preamble-body .accent{color:#c9960a;font-weight:600;}
.rt-preamble-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid #f0f0f0;}
.rt-preamble-pill{display:inline-flex;align-items:center;gap:5px;background:#f5f5f5;border:1px solid #e0e0e0;color:#555;font-size:10px;font-weight:600;padding:4px 11px;border-radius:20px;}
.rt-preamble-date{margin-left:auto;font-size:10px;color:#aaa;font-style:italic;}

/* TOC */
.rt-toc2{background:#ffffff;border:1px solid #eaeaea;border-radius:16px;overflow:hidden;margin-bottom:44px;}
.rt-toc2-header{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;border-bottom:1px solid #eaeaea;background:#fafafa;}
.rt-toc2-header-left{display:flex;align-items:center;gap:10px;}
.rt-toc2-icon{width:30px;height:30px;background:#1d2835;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.rt-toc2-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#1d2835;}
.rt-toc2-count{font-size:11px;font-weight:700;background:#FCC902;color:#1d2835;padding:2px 10px;border-radius:20px;}
.rt-toc2-grid{display:grid;grid-template-columns:1fr 1fr;}
.rt-toc2-item{display:flex;align-items:center;gap:12px;padding:11px 28px;text-decoration:none;border-bottom:1px solid #f2f2f2;transition:background .15s;}
.rt-toc2-item:hover{background:#fffbee;}
.rt-toc2-item:hover .rt-toc2-num{background:#FCC902;color:#1d2835;}
.rt-toc2-num{width:22px;height:22px;border-radius:6px;background:#f2f2f2;color:#888;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s,color .15s;}
.rt-toc2-link{font-size:12.5px;font-weight:500;color:#555;line-height:1.3;}

/* ARTICLES */
.rt-cgv-section{margin-bottom:44px;padding-bottom:44px;border-bottom:1px solid #e8e8e8;}
.rt-cgv-section:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0;}
.rt-cgv-section h2{font-size:17px;font-weight:800;color:#1d2835;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #FCC902;display:flex;align-items:center;gap:12px;}
.rt-cgv-section h2 .ic{width:32px;height:32px;background:#FCC902;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;}
.rt-cgv-section h3{font-size:14px;font-weight:700;margin:20px 0 8px;color:#1d2835;display:flex;align-items:center;gap:8px;}
.rt-cgv-section h3::before{content:'';width:3px;height:14px;background:#FCC902;border-radius:2px;display:inline-block;flex-shrink:0;}
.rt-cgv-section p,.rt-cgv-section li{font-size:13.5px;color:#555;line-height:1.85;}
.rt-cgv-section p{margin-bottom:12px;}
.rt-cgv-section ul,.rt-cgv-section ol{padding-left:20px;margin-bottom:12px;}
.rt-cgv-section li{margin-bottom:6px;}

/* BLOCS */
.rt-info{background:#fffbee;border:1px solid rgba(252,201,2,0.4);border-left:3px solid #FCC902;border-radius:10px;padding:14px 18px;margin:14px 0;font-size:13px;color:#555;line-height:1.75;}
.rt-warn{background:#fff5f5;border:1px solid #ffd0d0;border-left:3px solid #e00;border-radius:10px;padding:14px 18px;margin:14px 0;font-size:13px;color:#555;line-height:1.75;}
.rt-law{background:#f7f8fa;border-left:3px solid #1d2835;border-radius:0 8px 8px 0;padding:12px 16px;margin:14px 0;font-size:12px;color:#777;line-height:1.7;}

/* TABLEAUX */
.rt-table{width:100%;border-collapse:collapse;margin:14px 0;font-size:12.5px;border-radius:10px;overflow:hidden;}
.rt-table thead tr{background:#1d2835;}
.rt-table th{color:#FCC902;padding:10px 14px;text-align:left;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.05em;}
.rt-table td{padding:10px 14px;border-bottom:1px solid #f0f0f0;color:#555;}
.rt-table tr:last-child td{border-bottom:none;}
.rt-table tr:nth-child(even) td{background:#fafafa;}
.rt-table td strong{color:#1d2835;}

/* PAIEMENT GRID */
.rt-pay-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:16px 0;}
.rt-pay-card{background:#f9f9f9;border:1px solid #eee;border-radius:12px;padding:16px 12px;text-align:center;}
.rt-pay-card.accent{border-color:rgba(252,201,2,0.5);background:#fffbee;}
.rt-pay-card .ico{font-size:22px;margin-bottom:6px;}
.rt-pay-card h4{font-size:12px;font-weight:700;color:#1d2835;margin-bottom:4px;}
.rt-pay-card p{font-size:11px;color:#888;line-height:1.5;margin:0;}

@media(max-width:768px){
  .rt-cgv-container{padding:32px 20px;}
  .rt-toc2-grid{grid-template-columns:1fr;}
  .rt-pay-grid{grid-template-columns:1fr 1fr;}
}

/* ===================== CATÉGORIE DESCRIPTION — SEO BLOCKS ===================== */
.rt-desc-center{line-height:1.8;max-width:980px;margin:0 auto 22px;color:#555;text-align:center;}
.rt-desc-subtitle{font-size:16px;font-weight:600;color:#555;margin-bottom:14px;}
.rt-desc-link{border-bottom:1px solid #FCC902;text-decoration:none;color:inherit;}
.rt-gammes-wrapper{max-width:1000px;margin:auto;border:1px solid #eef1f4;}
.rt-gammes-table{width:100%;border-collapse:collapse;font-size:14px;}
.rt-gammes-table tr:first-child{background:#fffdf4;border-left:4px solid #FCC902;}
.rt-gammes-table tr:nth-child(even){background:#fff;}
.rt-gammes-table tr:nth-child(odd){background:#fafafa;}
.rt-gammes-table td{padding:14px 18px;line-height:1.8;}
.rt-gammes-table td:first-child{width:190px;}
.rt-prix-block{background:#f8fafc;padding:28px 0;border-left:4px solid #FCC902;margin:35px auto;max-width:1000px;}
.rt-prix-block-inner{padding:0 18px;}
