/* ======================
   STYLES SITE GLOBAL
====================== */

.om-nl-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


body {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif;
  background: #fff;
  color: #000;
}

header {
  background: #BC0D0D;
  color: #fff;
  text-align: center;
  padding: 15px;
}

.header-container {
  display: flex;
  justify-content: space-between; /* <-- sépare gauche/droite */
  align-items: center;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.index-container {
    padding-left: 1rem;
    padding-right: 1rem;
}


/* ======================
   LOGIN PAGE STYLES
====================== */
body.login-page {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Libre Franklin', sans-serif;
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.login-box h1 {
    color: #BC0D0D;
    margin-bottom: 20px;
}

.login-box .error {
    color: red;
    margin-bottom: 15px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-box input {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box button {
    background: #BC0D0D;
    color: #fff;
    font-size: 1em;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background: #a50a0a;
}

/* ======================
   CATALOGUE STYLES
====================== */

/* Filtres */
#filters .form-control,
#filters .form-select,
#filters button {
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

#filters button {
    background: #BC0D0D;
    color: #fff;
    font-weight: bold;
    border: none;
    transition: background 0.3s ease;
}

#filters button:hover {
    background: #a50a0a;
}

/* Grille produits */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Image des produits */
.card img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Texte produit */
.card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card .btn {
    background: #BC0D0D;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.card .btn:hover {
    background: #a50a0a;
}

#loader {
    font-size: 1rem;
    color: #BC0D0D;
    font-weight: bold;
    text-align: center;
}

#sentinel {
    width: 100%;
    height: 50px; /* espace pour déclencher l'observateur */
}

@media (min-width: 769px) {
    #mobile-category-toggle {
        display: none !important;
    }

    #sidebar-categories ~ h5,
    .col-md-3 > h5 {
        display: none;
    }
}

.btn-secondary {
    background-color: #ccc;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background-color: #999;
    color: #fff;
}

/* ✅ Amélioration bouton "Effacer tous les filtres" */
.clear-filters-btn {
    background-color: #ccc;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    transition: background 0.3s ease;
    display: inline-block;
    text-decoration: none; /* ❌ supprime le souligné */
}

.clear-filters-btn:hover {
    background-color: #999;
    color: #fff;
    text-decoration: none; /* ❌ aussi au hover */
}

/* ✅ Alignement responsive */
@media (min-width: 769px) {
  .clear-filters-btn {
    /*height: 100%;*/
    /*padding-top: 10px;*/
    /*padding-bottom: 10px;*/
    padding: 10;
    line-height: 1.2;
    font-size: 1rem;
  }

  .clear-filters-wrapper {
    display: flex;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
    .clear-filters-btn {
        width: 100%;
        display: block;
        text-align: center;
    }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}



/* ======================
   NAVIGATION (fusion desktop + mobile)
====================== */

/* 🌐 Menu Desktop */
.main-nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

.main-nav {
  margin-left: auto; /* pousse le menu à droite */
  margin-right: 20px;
}

.main-nav li {
  position: relative;
}

.main-nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  background: white;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  z-index: 99;
}

.main-nav li:hover > ul {
  display: block;
}

.main-nav li ul li {
  padding: 8px 20px;
  white-space: nowrap;
}

.main-nav li ul li a {
  color: #BC0D0D;
  text-decoration: none;
  display: block;
}

.main-nav li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.main-nav li.dropdown-left ul {
  left: auto;
  right: 0;
}

/* 📱 Menu Mobile */
.menu-toggle {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
}

.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #BC0D0D;
  z-index: 1000;
  overflow-y: auto;
  padding: 60px 20px 20px;
}

.mobile-menu.active {
  transform: translateX(0%);
}

.mobile-menu ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  position: relative;
}

.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  text-decoration: none;
}

.submenu-toggle {
  font-size: 1.2em;
  transition: transform 0.2s;
}

li.open > a > .submenu-toggle {
  transform: rotate(90deg);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
  pointer-events: none; 
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; 
}

/* Empêche de scroller derrière le menu */
body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}


/* ======================
   CAROUSEL PAGE PRODUIT
====================== */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
    filter: invert(21%) sepia(98%) saturate(5425%) hue-rotate(346deg) brightness(93%) contrast(104%);
}
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.product-image-box {
    border: 1px solid #dee2e6; /* Même style que le tableau d'infos */
    border-radius: 6px;
    background-color: #fff;
}

/* === Promo Badge === */
.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #eaff05;
    color: #000;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 1.1rem;
    z-index: 10;
}

/* Prix barré & promo */
.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 8px;
    font-size: 1em;
}

.new-price {
    color: #BC0D0D;
    font-weight: bold;
    font-size: 1.2em;
}

/* ✅ Sidebar Info Cards */
.sidebar .info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #BC0D0D;
}

.sidebar .info-card h4 {
    font-size: 1.2rem;
    color: #BC0D0D;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sidebar .info-card p {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #333;
}

.sidebar .info-card a {
    color: #BC0D0D;
    font-weight: bold;
    text-decoration: none;
}

.sidebar .info-card a:hover {
    text-decoration: underline;
}

.info-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.info-card h4 {
    color: #BC0D0D;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p {
    margin: 0 0 6px;
    font-size: 14px;
}

.info-card a {
    color: #BC0D0D;
    font-weight: bold;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* === SIDEBAR CATEGORIES === */
#sidebar-categories {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 0;
    overflow: hidden;
}

/* Catégories (fond noir, texte blanc gras) */
.category-title {
    display: block;
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 10px 12px;
    font-size: 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid #444;
}

/* Conteneur sous-catégories */
.subcategory-list {
    padding: 10px;
    background: #f8f8f8;
}

/* Sous-catégories boutons */
.subcategory-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    margin-bottom: 6px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.subcategory-btn:hover {
    background: #BC0D0D;
    color: #fff;
    border-color: #BC0D0D;
}

/* Sous-catégorie active */
.subcategory-btn.active {
    background: #BC0D0D;
    color: #fff;
    font-weight: bold;
}

/* Responsive: réduire padding sur mobile */
@media (max-width: 768px) {
    #sidebar-categories {
        margin-bottom: 20px;
    }
    .subcategory-btn {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

/* Décalage entre la colonne principale et la sidebar */
.main-content {
    padding-right: 100px; /* espace à droite */
}

.sidebar {
    padding-left: 15px; /* espace à gauche */
}

/* ✅ Sidebar améliorée */
.sidebar {
    background: #f8f8f8; /* fond clair pour contraste */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ✅ Cartes dans la sidebar */
.sidebar .info-card {
    background: #fff;
    border: none; /* on enlève la bordure */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 18px;
    margin-bottom: 20px;
}

/* ✅ Titre des blocs */
.sidebar .info-card h4 {
    color: #BC0D0D;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ✅ Textes */
.sidebar .info-card p {
    margin: 0 0 6px;
    font-size: 14px;
}

/* ✅ Liens */
.sidebar .info-card a {
    color: #BC0D0D;
    font-weight: bold;
    text-decoration: none;
}

.sidebar .info-card a:hover {
    text-decoration: underline;
}

/* ======================
   BLOCS DYNAMIQUES (NOUVEAU DESIGN)
====================== */
.bloc-dynamique {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* ✅ Pour forcer la largeur pleine sur mobile */
}

/* Survol */
.bloc-dynamique:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Texte dans les blocs */
.bloc-dynamique .bloc-texte {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Image + Texte alignement */
.bloc-image-texte {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bloc-image-texte img {
    max-width: 300px;
    flex-shrink: 0;
    border: 2px solid #BC0D0D;
    border-radius: 10px;
}

.bloc-image-texte .bloc-texte {
    flex: 1;
}

/* Alignement gauche/droite */
.bloc-image-texte.align-left {
    flex-direction: row;
}

.bloc-image-texte.align-right {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .bloc-dynamique {
        padding: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .bloc-image-texte {
        flex-direction: column !important;
        text-align: center;
    }

    .bloc-image-texte img {
        max-width: 90%;
        margin-bottom: 15px;
    }
    .main-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
}

.mobile-menu ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  position: relative;
}

.mobile-menu .submenu-toggle {
  font-size: 1.2em;
  margin-left: auto;
  transition: transform 0.2s;
}

.mobile-menu li.open > a > .submenu-toggle {
  transform: rotate(90deg);
}

.close-menu {
  background: none;
  border: none;
  font-size: 2em;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #000;
  z-index: 1001;
}

/* ✅ Correction couleur du menu mobile */
.mobile-menu a {
  color: white !important;
  background-color: transparent;
}

/* ✅ Couleur des sous-menus aussi */
.mobile-menu .submenu a {
  color: white !important;
}

/* ✅ Fond sombre si tu veux contraste */
.mobile-menu
 {
  background-color: #1a1a1a;
}

.mobile-menu .submenu {
  display: none;
  padding-left: 20px;
  background-color: #2a2a2a;
}

.mobile-menu li.open > .submenu {
  display: block;
}

.google-reviews { margin: 0; }
.google-review { padding: 10px 0; border-bottom: 1px solid #eee; }
.google-review:last-child { border-bottom: 0; }
.gr-header { display: flex; align-items: center; justify-content: space-between; }
.gr-stars { font-size: 0.95rem; color: #BC0D0D; margin-left: 10px; }
.gr-text { margin: 6px 0 4px; line-height: 1.4; }
.gr-footer { margin-top: 8px; }

/* Formulaires */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Place les dialogues TinyMCE devant tout */
.tox.tox-silver-sink,
.tox-dialog-wrap {
  z-index: 200000 !important;
}

.badge-reserve{
  display:inline-block;
  padding:.35rem .75rem;
  border-radius:9999px;
  background:#1f78d1;
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  margin-top:.5rem;
}

/* === Recherches populaires (chips) === */
:root {
  --om-primary: #BC0D0D; /* rouge Occaz Motard */
  --om-primary-hover: #a20b0b;
  --om-chip-text: #fff;
}

.bloc-populaires {
  margin-block: 2rem;
}

.bloc-populaires h2 {
  font-family: "Libre Franklin", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  margin: 0 0 0.75rem;
}

.bloc-populaires .chips {
  display: flex;
  flex-wrap: wrap;                 /* passe à la ligne si trop long */
  gap: .5rem .6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 640px) {
  .bloc-populaires .chips {
    flex-wrap: nowrap;             /* liste horizontale défilable sur mobile */
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .bloc-populaires .chips > li {
    flex: 0 0 auto;                /* empêcher le wrap sur mobile */
  }
}

.bloc-populaires .chip {
  display: inline-block;
  padding: .5rem .85rem;
  border-radius: 999px;            /* effet “bulle” */
  background: var(--om-primary);
  color: var(--om-chip-text);
  text-decoration: none;
  font-family: "Libre Franklin", system-ui, -apple-system, sans-serif;
  font-size: .95rem;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.08);
  white-space: nowrap;
}

.bloc-populaires .chip:hover {
  background: var(--om-primary-hover);
}

.bloc-populaires .chip:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.bloc-populaires .chip:active {
  transform: translateY(1px);
}

@media (max-width:640px){
  .bloc-populaires .chips{
    flex-wrap:wrap;
    overflow-x:visible;
    gap:.45rem .5rem;              /* un peu plus compact */
  }
  .bloc-populaires .chip{
    white-space:normal;            /* ← autorise retour à la ligne dans la bulle */
    line-height:1.2;
    padding:.45rem .75rem;         /* bulles un poil plus petites sur mobile */
    font-size:.9rem;
  }
}

/* Lien rouge non souligné */
a.link-red {
  color: #BC0D0D;
  text-decoration: none;
}
a.link-red:hover,
a.link-red:active,
a.link-red:visited {
  color: #BC0D0D;          /* reste rouge dans tous les états */
  text-decoration: none;   /* jamais souligné */
}
a.link-red:focus-visible {  /* accessibilité clavier */
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* Footer layout */
.site-footer .footer-bar{
  display:flex;
  justify-content:space-between;   /* ← met la privacy à droite */
  align-items:baseline;
  gap:1rem;
  flex-wrap:wrap;                  /* wrap si pas la place */
}
.site-footer p{ margin:0; }

/* Lien blanc non souligné */
a.link-white{
  color:#fff;
  text-decoration:none;
}
a.link-white:hover,
a.link-white:visited,
a.link-white:active{
  color:#fff;
  text-decoration:none;
}

/* Petite note de mise à jour */
footer .footer-note{
  color:#fff;
  opacity:.9;          /* léger adoucissement */
  margin-left:.35rem;
}

/* Sur mobile, on empile proprement */
@media (max-width:576px){
  .site-footer .footer-bar{
    flex-direction:column;
    align-items:flex-start;
    gap:.25rem;
  }
}

/* ─── Sélection du jour (Occaz‑Motard) ───────────────────────── */
.selection-jour {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px;
  background: #e7e6e6;
  font-family: 'Libre Franklin', sans-serif;
}

.selection-jour-infos {
  display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement tous les éléments */
  text-align: center;  /* centre le texte */
}

.selection-jour-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.selection-jour-title {
  font-size: 18px;
  margin: 0;
  color: #000000;
  font-weight: 700;
  align-items: center;
  text-align: center;
}

.selection-jour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.selection-jour-photo .selection-img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.selection-jour-infos .sel-titre {
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #111;
}

.selection-jour-infos .sel-taille {
  font-size: 18px;
  color: #444;
  margin: 0 0 12px 0;
}

.sel-prix-zone {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 14px 0;
}

.prix-bubble {
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  border-radius: 50%;
  background: #FFD54F; /* jaune doux */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border: 3px solid #FFE082;
}

.prix-bubble .prix-amount {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  color: #000;
}

.prix-bubble .prix-devise {
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .5px;
  color: #000;
  margin-top: 4px;
  text-transform: uppercase;
}

.prix-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.sel-actions .btn {
  font-weight: 700;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .selection-jour-grid {
    grid-template-columns: 1fr;
  }
  .selection-jour-photo .selection-img {
    max-height: 280px;
  }
  .prix-bubble {
    width: 120px; height: 120px; min-width: 120px; min-height: 120px;
  }
  .prix-bubble .prix-amount { font-size: 26px; }
}

.promo-mx-banner {
  display: flex; /* deux colonnes */
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  text-decoration: none; 
  color: inherit;
}

.promo-mx-banner:hover {
  transform: scale(1.02);
  text-decoration: none; 
}

.promo-mx-image {
  flex: 1;
  background: url('/uploads/img/banniere_articles_motocross_occaz_motard_depot_vente_equipement_moto_occasion.webp') center/cover no-repeat;
}

.promo-mx-content {
  flex: 1;
  background: rgba(0,0,0,1); /* noir plein */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.promo-mx-content h2 {
  font-size: 35px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFD54F;
}

.promo-mx-content p {
  font-size: 24px;
  margin: 0;
}

@media (max-width: 768px) {

  .promo-mx-content h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFD54F;
}

.promo-mx-content p {
  font-size: 13px;
  margin: 0;
}

}

.header-actions { display:flex; align-items:center; gap:.75rem; }
.cart-link { display:inline-flex; align-items:center; gap:.4rem; text-decoration:none; color:#000; }
.cart-link:hover .cart-text { text-decoration: underline; }
.cart-icon { font-size:1.2rem; line-height:1; }
.cart-badge {
  min-width: 1.25rem; height: 1.25rem; line-height: 1.25rem;
  display:inline-block; text-align:center; font-size:.8rem;
  border-radius:999px; background:#BC0D0D; color:#fff; padding:0 .35rem;
}
.mobile-cart { padding: .5rem 1rem; border-top:1px solid #eee; }
.mobile-cart .cart-link { color:#000; }

/* Panier — Occaz-Motard */
/* ===== Panier — Occaz-Motard ===== */
.om-page-title {
  font-family: 'Libre Franklin', sans-serif;
  color: #BC0D0D;
  font-weight: 800;
  margin-bottom: 1rem;
}
.om-cart-wrap { border: 1px solid #eee; border-radius: 12px; overflow: hidden; }

.om-cart-table thead th {
  border-bottom: 2px solid #BC0D0D !important;
  font-weight: 700;
}

/* Vignettes carrées homogènes */
.om-thumb-wrap {
  width: 96px; height: 96px; flex: 0 0 96px;
  border-radius: 10px; overflow: hidden; background: #f7f7f7;
}
.om-cart-thumb {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 576px) {
  .om-thumb-wrap { width: 72px; height: 72px; flex-basis: 72px; }
}

/* Ligne titre */
.om-cart-title { font-weight: 600; }

/* Bloc expédition */
.om-shipping {
  padding: .75rem 1rem;
  border-top: 1px solid #eee;
  background: #fff;
}
.om-shipping-title {
  font-weight: 700;
  color: #BC0D0D;
  margin-bottom: .25rem;
}
.om-shipping-options .form-check { margin: .25rem 0; }

/* Résumé */
.om-cart-summary {
  padding: .75rem 1rem;
  border-top: 1px solid #eee;
  background: #fff;
}
.om-total-label { font-size: .95rem; }
.om-total-amount { font-size: 1.25rem; }

/* Bouton supprimer */
button.js-remove {
  width: 28px; height: 28px; line-height: 1;
  padding: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Checkout */
.om-payment-element { padding: .5rem; border: 1px solid #eee; border-radius: 8px; background:#fff; }
.om-checkout-items .om-thumb-wrap { width: 64px; height: 64px; }


/* ────────────────────────────────────────────────────────────────────────────
   Dashboard • Carte "Résumé du jour" (Occaz-Motard)
   Place à la fin de assets/css/styles.css
   ──────────────────────────────────────────────────────────────────────────── */

:root {
  --om-red: #BC0D0D;
  --om-red-700: #9d0b0b;
  --om-black: #111;
  --om-white: #fff;
  --om-muted: #6b7280;   /* gris neutre pour sous-textes */
  --om-border: #e5e7eb;  /* gris clair pour bordures */
  --om-bg-soft: #f8f8f8; /* arrière-plans doux */
  --om-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.card.daily-summary {
  border: 1px solid var(--om-border);
  box-shadow: var(--om-shadow);
  border-radius: 14px;
  background: var(--om-white);
  padding: 1.25rem 1.25rem 1rem;
}

.card.daily-summary h2 {
  font-family: "Libre Franklin", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 .25rem 0;
  color: var(--om-black);
  letter-spacing: .2px;
}

.card.daily-summary .muted {
  margin: 0 0 1rem 0;
  color: var(--om-muted);
  font-size: .875rem;
}

.daily-summary .kpi-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.daily-summary .kpi-item {
  border: 1px solid var(--om-border);
  border-radius: 12px;
  background: var(--om-bg-soft);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 130px;
}

.daily-summary .kpi-label {
  font-size: .9rem;
  color: var(--om-muted);
  letter-spacing: .2px;
}

.daily-summary .kpi-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--om-black);
}

.daily-summary .kpi-sub {
  font-size: .85rem;
  color: var(--om-muted);
}

.daily-summary .btn {
  align-self: flex-start;
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: .55rem .9rem;
  border: 1px solid var(--om-border);
  background: var(--om-white);
  color: var(--om-black);
  font-weight: 600;
  font-size: .9rem;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}

.daily-summary .btn:hover,
.daily-summary .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.07);
  border-color: #d1d5db;
}

.daily-summary .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.daily-summary .btn.btn-primary {
  background: var(--om-red);
  border-color: var(--om-red);
  color: var(--om-white);
}

.daily-summary .btn.btn-primary:hover,
.daily-summary .btn.btn-primary:focus-visible {
  background: var(--om-red-700);
  border-color: var(--om-red-700);
}

/* Responsif */
@media (max-width: 1100px) {
  .daily-summary .kpi-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .daily-summary .kpi-list { grid-template-columns: 1fr; }
  .daily-summary .kpi-item { min-height: auto; }
}

/* Mode sombre éventuel (si tu as un body.dark, sinon ignore) */
body.dark .card.daily-summary {
  background: #0f0f10;
  border-color: #1f2328;
}
body.dark .daily-summary .kpi-item {
  background: #16181c;
  border-color: #24272d;
}
body.dark .card.daily-summary h2,
body.dark .daily-summary .kpi-value { color: #f4f6f8; }
body.dark .daily-summary .kpi-label,
body.dark .card.daily-summary .muted,
body.dark .daily-summary .kpi-sub { color: #9aa4af; }
body.dark .daily-summary .btn { background: #0f0f10; color: #f4f6f8; border-color: #2a2e35; }
body.dark .daily-summary .btn:hover { border-color: #3a3f47; }
body.dark .daily-summary .btn.btn-primary { background: var(--om-red); border-color: var(--om-red); }

/* Accessibilité motion */
@media (prefers-reduced-motion: reduce) {
  .daily-summary .btn {
    transition: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   Bloc Inventaire Occaz-Motard (page index)
   ───────────────────────────────────────────────────────────── */
.om-inventaire {
  border: 1px solid #eee;
  border-left: 6px solid #BC0D0D;
  background: #fff;
  font-family: "Libre Franklin", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.om-inventaire-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem;
}

.om-inventaire-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: .75rem;
  border: 2px solid #BC0D0D;
  color: #BC0D0D;
  background: #fff;
  min-width: 120px;
}

.om-inventaire-titre {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #111;
}

.om-inventaire-soustitre {
  margin: .35rem 0 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #333;
}

.om-inventaire-nb {
  color: #BC0D0D;
  font-weight: 800;
}

.om-inventaire-tags {
  margin: .35rem 0 0;
  font-size: .95rem;
  color: #555;
}

@media (max-width: 576px) {
  .om-inventaire-wrap {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .om-inventaire-badge {
    width: fit-content;
  }
}

/* Estimation marché */
.om-pricing-title{font-weight:800;margin-bottom:.25rem}
.om-pricing-intro{color:#333}

.om-card-estimation{border-left:6px solid #BC0D0D}
.om-estimation-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #eee}
.om-estimation-title{margin:0;font-weight:700}
.om-estimation-updated{font-size:.9rem;color:#666}

.om-estimation-grid{display:grid;grid-template-columns:240px 1fr;gap:1rem;padding:1rem 1.25rem}
.om-kpi-label{color:#555}
.om-kpi-value{font-size:2rem;font-weight:800;color:#BC0D0D;line-height:1}
.om-kpi-devise{font-size:1rem;color:#333;margin-left:.25rem}
.om-kpi-sub{color:#666;margin-top:.25rem}

.om-range-label{font-weight:600;color:#111;margin-bottom:.25rem}
.om-range-line{display:flex;justify-content:space-between;align-items:center;border:1px dashed #ddd;border-radius:.5rem;padding:.5rem .75rem}
.om-range-min,.om-range-mid,.om-range-max{font-size:.95rem}
.om-range-ext{color:#666;margin-top:.35rem}

.om-legal{color:#666;font-size:.9rem;padding:0 1.25rem 1rem 1.25rem;margin:0}

.om-listings{margin-top:.5rem;border-top:1px solid #eee}
.om-listing{padding:.75rem 0;border-bottom:1px solid #f1f1f1}
.om-listing-title{font-weight:600}
.om-listing-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem;align-items:center}
.om-tag{background:#111;color:#fff;border-radius:.35rem;padding:.15rem .5rem;font-size:.8rem}
.om-price{font-weight:700}
.om-date{color:#666}
.om-link{color:#BC0D0D;text-decoration:none}
.om-link:hover{text-decoration:underline}

@media (max-width:768px){
  .om-estimation-grid{grid-template-columns:1fr}
}


.om-card-img { height: 200px; object-fit: cover; }
.om-card-thumb-wrap { overflow: hidden; }
.om-card { text-decoration: none; color: inherit; }

.om-press {
    border-left: 4px solid #BC0D0D;
    background: #111;
    color: #fff;
}

.om-press-inner {
    padding: 20px;
}

.om-press-badge {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background: #BC0D0D;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.om-press-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.om-press-logo img {
    max-width: 160px;
    height: auto;
    display: block;
    filter: grayscale(10%);
    background: #fff;
    padding: 8px;
    border-radius: 6px;
}

.om-press-text {
    flex: 1;
    min-width: 220px;
}

.om-press-title {
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.om-press-quote {
    font-style: italic;
    margin: 0 0 6px;
}

.om-press-source {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

.om-press-btn {
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 576px) {
    .om-press-inner {
        padding: 16px;
    }
    .om-press-title {
        font-size: 1.1rem;
    }
}

/* -------- HERO OCCAZ-MOTARD ---------- */

.om-hero {
    border-radius: 18px;
    padding: 32px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.om-hero-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
}

.om-hero-left h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
}

.om-hero-left .count {
    color: #BC0D0D;
    font-weight: 700;
}

.om-hero-left .btn {
    padding: 12px 20px;
    font-weight: 600;
}

.om-hero-right {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #eee;
}

.hero-product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.hero-badge {
    display: inline-block;
    background: #BC0D0D;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    margin-bottom: 10px;
}

.hero-product-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-price {
    background: #BC0D0D;
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 12px;
    margin: 10px 0 14px;
}

@media(max-width: 768px) {
    .om-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------
   BLOC PROMOS – OCCAZ-MOTARD
-------------------------------------------------- */

.om-promos-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 22px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.om-promos-header {
    margin-bottom: 10px;
}

.om-promos-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #BC0D0D;
    margin: 0 0 4px;
}

.om-promos-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Cards promos */
.om-promos-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: transform .12s ease, box-shadow .12s ease;
}

.om-promos-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}

.om-promos-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.om-promos-body {
    padding: 10px 12px 12px;
    text-align: center;
}

.om-promos-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
    min-height: 2.5em;
}

.om-promos-prices {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.om-promos-price-current {
    font-size: 0.98rem;
    font-weight: 700;
    color: #BC0D0D;
}

.om-promos-price-old {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.om-promos-discount {
    display: inline-block;
    margin-top: 2px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    border-radius: 999px;
}

/* Footer */
.om-promos-footer {
    margin-top: 14px;
}

@media (max-width: 768px) {
    .om-promos-section {
        padding: 18px 14px 20px;
    }
    .om-promos-image {
        height: 170px;
    }
}

.promo-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #BC0D0D;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    /* donne un effet triangle */
    width: 60px;
    height: 60px;
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    padding-top: 6px;
    padding-right: 6px;
}


/* ───────── Bloc Alerte Arrivages ───────── */
.om-alert {
    border: none;
    overflow: hidden;
}

.om-alert-inner {
    position: relative;
    padding: 24px;
}

.om-alert-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #BC0D0D;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.om-alert-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: center;
}

.om-alert-icon img {
    max-width: 100%;
    height: auto;
}

.om-alert-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.om-alert-desc {
    font-size: 1rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.6;
}

.om-alert-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.om-alert-list li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 6px;
}

.om-alert-btn {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .om-alert-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .om-alert-icon {
        margin-bottom: 16px;
    }

    .om-alert-badge {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Newsletter / Alerte arrivages — Occaz-Motard
   Page: newsletter.php
   ───────────────────────────────────────────────────────────────────────────── */

.om-newsletter-page {
  background: #ffffff;
}

/* Conteneur général */
.om-nl-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 44px;
}

/* Bandeau haut */
.om-nl-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Accent rouge (bande) */
.om-nl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 400px at 12% 0%, rgba(188,13,13,0.55), transparent 60%),
              radial-gradient(900px 450px at 90% 30%, rgba(188,13,13,0.22), transparent 62%);
  pointer-events: none;
}

.om-nl-hero-inner {
  position: relative;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.om-nl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  width: fit-content;
}

.om-nl-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #BC0D0D;
  box-shadow: 0 0 0 4px rgba(188,13,13,0.22);
}

.om-nl-title {
  margin: 12px 0 10px;
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3.1vw, 2.2rem);
}

.om-nl-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 62ch;
}

.om-nl-hero-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.om-nl-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 0.98rem;
}

.om-nl-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(188,13,13,0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(188,13,13,0.25);
}

.om-nl-check svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

/* Colonne droite dans le hero */
.om-nl-hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px 16px 14px;
}

.om-nl-hero-card-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.om-nl-hero-card-meta {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.om-nl-hero-card-meta strong {
  color: #fff;
  font-weight: 700;
}

/* Layout section formulaire + infos */
.om-nl-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

/* Carte formulaire */
.om-nl-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  overflow: hidden;
}

.om-nl-card-header {
  padding: 18px 18px 14px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.om-nl-card-header h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f0f10;
}

.om-nl-card-header p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.98rem;
}

.om-nl-card-body {
  padding: 18px;
}

/* Messages */
.om-nl-alert {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.om-nl-alert-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.om-nl-alert-icon svg {
  width: 18px;
  height: 18px;
}

.om-nl-alert p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.98rem;
}

.om-nl-alert-success {
  background: #f2fff6;
  border-color: #c9f2d4;
}

.om-nl-alert-success .om-nl-alert-icon {
  background: #1a9b4a;
}

.om-nl-alert-success .om-nl-alert-icon svg {
  fill: #fff;
}

.om-nl-alert-success p {
  color: #134b28;
}

.om-nl-alert-error {
  background: #fff5f5;
  border-color: #ffd0d0;
}

.om-nl-alert-error .om-nl-alert-icon {
  background: #BC0D0D;
}

.om-nl-alert-error .om-nl-alert-icon svg {
  fill: #fff;
}

.om-nl-alert-error p {
  color: #5c0a0a;
}

/* Form fields */
.om-nl-form {
  display: grid;
  gap: 14px;
}

.om-nl-field label {
  display: block;
  font-weight: 700;
  color: #111;
  margin: 0 0 7px;
  font-size: 0.95rem;
}

.om-nl-field .om-nl-hint {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.45;
}

.om-nl-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 12px 12px;
  font-size: 1rem;
  color: #111;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.om-nl-input::placeholder {
  color: #9a9a9a;
}

.om-nl-input:focus {
  outline: none;
  border-color: rgba(188,13,13,0.6);
  box-shadow: 0 0 0 4px rgba(188,13,13,0.10);
}

/* Bouton principal */
.om-nl-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.om-nl-btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  background: #BC0D0D;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(188,13,13,0.24);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.om-nl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(188,13,13,0.30);
  filter: brightness(1.02);
}

.om-nl-btn:active {
  transform: translateY(0px);
  box-shadow: 0 10px 22px rgba(188,13,13,0.22);
}

.om-nl-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Infos RGPD */
.om-nl-privacy {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed #e0e0e0;
  background: #fbfbfb;
  color: #444;
  font-size: 0.94rem;
  line-height: 1.6;
}

.om-nl-privacy strong {
  color: #111;
}

/* Colonne droite (info / avantages / trust) */
.om-nl-side {
  display: grid;
  gap: 14px;
}

.om-nl-side-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.om-nl-side-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f0f10;
}

.om-nl-side-card p {
  margin: 0;
  color: #555;
  line-height: 1.65;
  font-size: 0.96rem;
}

.om-nl-side-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.om-nl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.88rem;
}

.om-nl-chip svg {
  width: 16px;
  height: 16px;
  fill: #BC0D0D;
}

/* Footer actions */
.om-nl-back {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
  font-weight: 800;
}

.om-nl-back:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .om-nl-hero-inner {
    grid-template-columns: 1fr;
  }
  .om-nl-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .om-nl-hero-inner {
    padding: 18px 16px;
  }
  .om-nl-card-header,
  .om-nl-card-body {
    padding: 16px;
  }
  .om-nl-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .om-nl-btn {
    justify-content: center;
    width: 100%;
  }
}

/* Permet d'utiliser om-nl-btn sur <a> proprement */
a.om-nl-btn {
  text-decoration: none;
  justify-content: center;
}

/* Sentinel pour infinite scroll du catalogue */
#sentinel {
  height: 50px;
}

/* Sidebar catégories : pas de soulignement, rendu uniforme catalogue + produit */
#sidebar-categories a,
#sidebar-categories .subcategory-btn {
  text-decoration: none !important;
}

#sidebar-categories a:hover,
#sidebar-categories .subcategory-btn:hover {
  text-decoration: none !important;
}