/* ==========================================================================
   Box Design 97 - thème enfant de Classic (PrestaShop 8 / 9)
   Reprend l'identité visuelle de boxdesign97.fr
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Convergence&display=swap");

:root {
  --bd97-blue: #2c4491;
  --bd97-blue-dark: #22356f;
  --bd97-green: #68a668;
  --bd97-green-light: #72bb78;
  --bd97-green-dark: #5c9370;
  --bd97-text: #777777;
  --bd97-dark: #383839;
  --bd97-light: #f8f8f8;
  --bd97-font: "Convergence", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
body,
#wrapper,
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6,
.btn,
input, select, textarea {
  font-family: var(--bd97-font);
}
body { color: var(--bd97-text); background: #fff; }
#wrapper { background: #fff; padding-top: 1.5rem; }
a { color: var(--bd97-blue); }
a:focus {
    outline: none;
    outline-offset: 0;
    text-decoration: none;
}
a:hover, a:focus { color: var(--bd97-green); }

h1, .h1, h2, .h2 { color: var(--bd97-blue); }
.page-header h1, #main .page-header h1,
.block-category h1 { color: var(--bd97-blue); text-transform: uppercase; }

/* ---------- Boutons ---------- */
.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: var(--bd97-blue);
  border-color: var(--bd97-blue);
  color: #fff;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: none;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--bd97-green);
  border-color: var(--bd97-green);
  color: #fff;
}
.btn-secondary, .btn-tertiary {
  background-color: var(--bd97-green);
  border-color: var(--bd97-green);
  color: #fff;
}
.btn-secondary:hover, .btn-tertiary:hover {
  background-color: var(--bd97-green-dark);
  color: #fff;
}

/* ==========================================================================
   EN-TÊTE (identique à boxdesign97.fr)
   ========================================================================== */
#header { background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); position: relative; z-index: 100; }
#header .header-nav.bd97-topbar {
  background: var(--bd97-blue);
  border-bottom: 3px solid var(--bd97-green);
  max-height: none;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}
#header .bd97-topbar .bd97-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}
#header .bd97-topbar .bd97-phones { display: flex; flex-wrap: wrap; gap: 1.6rem; }
#header .bd97-topbar a { color: #fff; }
#header .bd97-topbar a:hover { color: var(--bd97-green-light); text-decoration: none; }
#header .bd97-topbar .bd97-news-link { color: #fff; }

/* Ligne logo / menu / recherche / connexion / devis */
#header .header-top.bd97-header-top { background: #fff; padding: 0; position: relative; }
#header .bd97-hrow {
  display: flex;
  align-items: center;
  min-height: 103px;
  gap: 1rem;
}
#header .bd97-hlogo { flex: 0 0 auto; padding: 0; width: auto; }
#header .bd97-hlogo h1 { margin: 0; font-size: inherit; }
#header .bd97-hlogo img,
#header .header-top .logo { max-height: 83px; width: auto; display: block; }

/* Menu principal */
.bd97-menu { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.bd97-menu ul { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.bd97-menu li { position: relative; }
#header .bd97-menu a {
  position: relative;
  display: block;
  padding: 10px clamp(.7rem, 1.9vw, 1.9rem);
  color: #000;
  font-family: var(--bd97-font);
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
#header .bd97-menu a:hover, #header .bd97-menu a:focus { color: #000; text-decoration: none; }
.bd97-menu-title { position: relative; display: inline-block; padding-bottom: 6px; }
.bd97-menu-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--bd97-green);
  transition: width .2s ease-out;
}
.bd97-menu a:hover .bd97-menu-title::after,
.bd97-menu .is-current .bd97-menu-title::after { width: 100%; }
.bd97-menu-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ca5058;
  color: #fff;
  font-size: 10px;
  line-height: 10px;
  padding: 4px 6px;
  text-transform: none;
  white-space: nowrap;
}
.bd97-menu-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  margin-left: -4px;
  border: 4px solid transparent;
  border-bottom: 0;
  border-top-color: #ca5058;
}

/* Rechercher / Connexion / Devis */
.bd97-hactions { flex: 0 0 auto; display: flex; align-items: center; gap: 15px; }
.bd97-hicon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 70px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--bd97-font);
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
}
#header .bd97-hicon-search, #header .bd97-hicon-search:focus { color: var(--bd97-green); }
#header .bd97-hicon-account, #header .bd97-hicon-account:focus { color: var(--bd97-blue); }
#header .bd97-hicon:hover { color: var(--bd97-green); text-decoration: none; }
#header .bd97-hicon-search:hover, #header .bd97-hicon-search[aria-expanded="true"] { color: var(--bd97-blue); }
#header .bd97-devis,
#header .bd97-devis:visited {
  display: inline-block;
  margin-left: 25px;
  padding: 10px 30px;
  border-radius: 10px;
  background: var(--bd97-blue);
  color: #fff;
  font-family: var(--bd97-font);
  font-size: 12px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s;
}
#header .bd97-devis:hover, #header .bd97-devis:focus { background: var(--bd97-green); color: #fff; text-decoration: none; }

/* Panneau de recherche */
.bd97-search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--bd97-green); box-shadow: 0 8px 16px rgba(0, 0, 0, .12); padding: 15px 0; z-index: 50; }
.bd97-search-panel[hidden] { display: none; }
.bd97-search-panel form { display: flex; max-width: 640px; margin: 0 auto; }
.bd97-search-panel input[type=search] { flex: 1; border: 1px solid #d5d9e2; border-right: 0; padding: 10px 14px; font-size: 15px; outline: none; }
.bd97-search-panel input[type=search]:focus { border-color: var(--bd97-blue); }
.bd97-search-panel button { border: 0; background: var(--bd97-blue); color: #fff; padding: 0 22px; text-transform: uppercase; font-size: 12px; cursor: pointer; }
.bd97-search-panel button:hover { background: var(--bd97-green); }

/* En-tête fixe au défilement (comme l'ancien site) */
.bd97-header-top.is-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.bd97-header-top.is-fixed .bd97-hrow { min-height: 70px; }
.bd97-header-top.is-fixed .bd97-hlogo img { max-height: 56px; }
body.bd97-has-fixed-header #wrapper { margin-top: var(--bd97-fixed-offset, 0); }

/* Mobile */
.bd97-mobile-bar { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.bd97-mobile-bar .top-logo { flex: 1; text-align: center; padding: 6px 0; }
.bd97-mobile-bar .top-logo img { max-height: 42px; width: auto; background: #fff; padding: 3px 6px; border-radius: 4px; }
.bd97-burger { width: 42px; height: 42px; border: 0; background: none; padding: 9px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.bd97-burger span { display: block; height: 3px; background: #fff; border-radius: 2px; }
#header .bd97-devis-sm, #header .bd97-devis-sm:visited { margin: 0; padding: 6px 14px; background: var(--bd97-green); }
.bd97-mobile-menu { background: #fff; border-bottom: 3px solid var(--bd97-green); padding: 10px 15px 15px; }
.bd97-mobile-menu[hidden] { display: none; }
.bd97-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
#header .bd97-mobile-menu li a { display: block; padding: 11px 4px; border-bottom: 1px solid #eee; color: #000; text-transform: uppercase; font-size: 14px; }
#header .bd97-mobile-menu li.is-current a { color: var(--bd97-green); }
.bd97-mobile-menu li small { background: #ca5058; color: #fff; font-size: 10px; padding: 2px 5px; text-transform: none; margin-left: 6px; }
.bd97-mobile-search input { width: 100%; border: 1px solid #d5d9e2; padding: 9px 12px; margin-bottom: 6px; }
#header .bd97-mobile-phones a { display: block; color: var(--bd97-blue); font-size: 13px; padding-top: 10px; }

@media (max-width: 1199px) {
  .bd97-hicon { min-width: 60px; }
  #header .bd97-devis { margin-left: 10px; padding: 10px 20px; }
  #header .bd97-menu a { font-size: 13px; }
}

/* ---------- Fil d'Ariane : bandeau vert pleine largeur ---------- */
#wrapper .breadcrumb {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background: var(--bd97-green);
  padding: .55rem 0;
  margin-bottom: 1.75rem;
  border-radius: 0;
}
#wrapper .breadcrumb ol { margin: 0 auto; max-width: 1140px; padding: 0 15px; }
#wrapper .breadcrumb li,
#wrapper .breadcrumb li a,
#wrapper .breadcrumb li::after,
#wrapper .breadcrumb li span { color: #fff; font-size: .8rem; }
#wrapper .breadcrumb li:last-child span { font-weight: 700; }
#index #wrapper .breadcrumb { display: none; }
body { overflow-x: hidden; }

/* ---------- Pages catégories ---------- */
#left-column .block-categories,
#left-column #search_filters_wrapper,
#left-column #search_filters,
#left-column .block-categories .category-sub-menu {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding-left: 0;
}
#left-column .block-categories .category-top-menu > li > a.h6,
#left-column #search_filters > .h6,
#left-column #search_filters .facet .facet-title {
  color: #000;
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 700;
}
#left-column .block-categories a,
#left-column .facet-label a { color: #444; }
#left-column .block-categories a:hover,
#left-column .facet-label a:hover { color: var(--bd97-green); }
#left-column .custom-checkbox input[type=checkbox] + span { border-color: #bbb; }
#left-column .custom-checkbox input[type=checkbox] + span .checkbox-checked { color: var(--bd97-green); }

/* ---------- Page catégorie : encadré 1 à 2 lignes + bouton « + », texte complet en bas (comme boxdesign97.fr) ---------- */
.bd97-cat-intro {
  position: relative;
  border: 1px solid #ddd;
  padding: 15px 60px 15px 15px;
  margin-bottom: 20px;
  background: #fff;
}
.bd97-cat-intro-text {
  margin: 0;
  color: #333;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bd97-cat-more {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  color: #333;
  font-size: 18px;
  line-height: 1;
}
.bd97-cat-more:hover, .bd97-cat-more:focus { background: var(--bd97-blue); border-color: var(--bd97-blue); color: #fff; text-decoration: none; }
.bd97-cat-title { color: var(--bd97-blue); font-size: 1.15rem; text-transform: uppercase; text-align: center; margin-bottom: 1rem; }
.bd97-cat-full {
  border: 1px solid #ddd;
  padding: 20px 25px;
  margin: 30px 0 10px;
  background: #fff;
}
.bd97-cat-full.is-closed { display: none; }
.bd97-cat-full .bd97-cat-full-title { color: #000; font-size: 18px; text-transform: uppercase; text-align: center; margin: 0 0 1rem; }
.bd97-cat-full-text { color: #555; font-size: 14px; line-height: 1.6; }
.bd97-cat-full-text h2 { color: var(--bd97-blue); font-size: 16px; text-align: center; text-transform: none; margin: 1.2rem 0 .5rem; }
.bd97-cat-full-text h3 { color: #333; font-size: 15px; text-align: center; margin: 1rem 0 .4rem; }
.bd97-cat-full-text img { max-width: 100%; height: auto; }
.bd97-cat-less { display: block; text-align: right; color: #666; font-size: 13px; margin-top: .75rem; }
.bd97-cat-less:hover { color: var(--bd97-blue); text-decoration: none; }
#js-product-list-top .total-products p, .products-selection .total-products p { color: #666; }
.products-sort-order .select-title { border-color: #ddd; box-shadow: none; }
/* colonne de gauche : pas de bloc Marques (absent de l'ancien site) */
#left-column #search_filters_brands, #left-column .block-brands, #left-column [id*="brand"] { display: none; }

/* Grille produits : 3 par ligne, sans prix, titre centré en majuscules */
#products .product-miniature .thumbnail-container,
.featured-products .product-miniature .thumbnail-container,
.product-accessories .product-miniature .thumbnail-container {
  box-shadow: none;
  border: 0;
  background: #fff;
}
#products .product-miniature .thumbnail-top { background: #fff; }
#products .product-miniature .product-description,
.product-miniature .product-description {
  background: #fff;
  box-shadow: none;
  position: static;
  width: 100%;
  padding: .75rem .5rem 1rem;
}
.product-miniature .product-title { text-align: center; }
.product-miniature .product-title a {
  color: #000;
  text-transform: uppercase;
  font-size: .78rem;
  line-height: 1.4;
}
.product-miniature .product-title a:hover { color: var(--bd97-green); text-decoration: none; }
.product-miniature .thumbnail-container:hover .product-title a { color: var(--bd97-green); }
.product-miniature .highlighted-informations { display: none; }
.product-miniature .product-flags .product-flag { background: var(--bd97-green); }
.bd97-mini-devis {
  display: block;
  margin: .6rem auto 0;
  max-width: 190px;
  background: var(--bd97-blue);
  color: #fff;
  font-size: .78rem;
  padding: .45rem .5rem;
  text-align: center;
}
.bd97-mini-devis:hover, .bd97-mini-devis:focus { background: var(--bd97-green); color: #fff; text-decoration: none; }
.pagination .page-list { box-shadow: none; }
.pagination .current a { color: var(--bd97-green); }
.pagination a { color: var(--bd97-blue); }

/* ---------- Fiche produit (comme boxdesign97.fr) ---------- */
.bd97-product-head { text-align: center; margin: 0 0 25px; }
#product .bd97-product-head h1.bd97-product-title {
  color: #000;
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 4px;
}
.bd97-product-ref { color: #333; font-size: 14px; margin: 0; }
.bd97-product-main { align-items: flex-start; }
#product #content .product-cover,
#product .product-cover {
  border: 1px solid #dbdbdb;
  box-shadow: none;
  padding: 1rem;
  margin-bottom: 1rem;
}
#product .product-cover img { box-shadow: none; }
#product .product-images > li.thumb-container .thumb.selected,
#product .product-images > li.thumb-container .thumb:hover { border-color: var(--bd97-green); }
.bd97-product-right { padding-left: 2rem; }
.bd97-product-stock {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: 0 0 15px;
  border-bottom: 1px solid #eee;
  color: #000;
  font-size: 15px;
}
.bd97-product-avail { background: var(--bd97-green); color: #fff; font-size: 14px; padding: 2px 8px; }
.bd97-product-avail.bd97-avail-unavailable { background: #ca5058; }
.bd97-product-avail.bd97-avail-last_remaining_items { background: #e09b3d; }
#product .product-information { color: #555; }
#product .product-information .product-actions { margin: 0; }
.bd97-devis-box { padding: 15px 0; margin: 0; border-bottom: 1px solid #eee; }
#product .bd97-devis-btn,
#product .bd97-devis-btn:visited {
  display: inline-block;
  background: var(--bd97-blue);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 14px;
  border-radius: 0;
  text-transform: none;
}
#product .bd97-devis-btn:hover { background: var(--bd97-green); color: #fff; text-decoration: none; }
#product .product-additional-info { padding: 0; }
.bd97-product-print { margin: 0; padding: 12px 0; border-bottom: 1px solid #eee; }
.bd97-product-print a { display: inline-flex; align-items: center; gap: 6px; color: #333; font-size: 14px; }
.bd97-product-print a:hover { color: var(--bd97-green); text-decoration: none; }
.bd97-product-payment { margin: 0; padding: 15px 0; }
.bd97-product-payment img { max-width: 180px; height: auto; }

/* Onglets « En savoir plus / Fiche technique » sur toute la largeur */
#product .bd97-product-tabs {
  box-shadow: none;
  background: #fff;
  padding: 0;
  margin: 2.5rem 0 0;
}
#product .bd97-product-tabs .nav-tabs {
  border: 0;
  display: flex;
  justify-content: center;
  margin: 0 0 1.75rem;
}
#product .bd97-product-tabs .nav-tabs .nav-item + .nav-item { margin-left: 20px; }
#product .bd97-product-tabs .nav-tabs .nav-link {
  border: 2px solid var(--bd97-blue);
  border-radius: 0;
  color: #000;
  font-size: 16px;
  text-transform: uppercase;
  padding: 6px 12px;
}
#product .bd97-product-tabs .nav-tabs .nav-link.active,
#product .bd97-product-tabs .nav-tabs .nav-link:hover {
  background: var(--bd97-blue);
  border-color: var(--bd97-blue);
  color: #fff;
}
#product .bd97-product-tabs .tab-content { color: #444; font-size: 15px; line-height: 1.6; }
#product .bd97-product-tabs .product-description img { max-width: 100%; height: auto; }
#product .social-sharing { display: none; }
#product #block-reassurance, #product .blockreassurance_product { display: none; }
.bd97-product-accessories { margin-top: 2.5rem; }
.bd97-section-title {
  color: #000;
  font-size: 16px;
  text-transform: uppercase;
  padding: 6px 5px 10px 0;
  border-bottom: 1px solid #000;
  margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .bd97-product-right { padding-left: 15px; }
}

.product-accessories .products-section-title,
.featured-products .products-section-title,
.products-section-title {
  display: table;
  margin: 2rem auto 1.5rem;
  background: var(--bd97-blue);
  color: #fff;
  font-size: .9rem;
  padding: .45rem 1.1rem;
  text-transform: uppercase;
}

/* ==========================================================================
   PIED DE PAGE (identique à boxdesign97.fr : filet bleu, colonne bleue en biais)
   ========================================================================== */
#footer { background: #fff; padding: 0; }
.bd97-footer { margin-top: 3rem; overflow: hidden; }
.bd97-footer-main { border-top: 8px solid var(--bd97-blue); background: #fff; }
.bd97-footer-cols { display: grid; grid-template-columns: 40% 30% 30%; min-height: 300px; }
.bd97-fcol { position: relative; padding: 0 15px 35px; text-align: center; }
.bd97-ftitle {
  position: relative;
  height: 50px;
  line-height: 50px;
  margin: 0 -15px 25px;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--bd97-blue);
  border-bottom: 2px solid var(--bd97-blue);
}
/* Colonne « Informations » : fond bleu jusqu'au bord gauche, bord droit en biais */
.bd97-fcol-info { padding-right: 110px; color: #fff; z-index: 1; }
.bd97-fcol-info-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -100vw;
  background: var(--bd97-blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 95px) 100%, 0 100%);
  z-index: -1;
}
.bd97-fcol-info .bd97-ftitle { color: #fff; border-bottom-color: #fff; margin-right: -110px; }
.bd97-flinks { list-style: none; padding: 0; margin: 0 0 20px; }
.bd97-flinks li { padding: 5px 0 6px; line-height: 20px; }
.bd97-footer .bd97-flinks a { color: #fff; font-size: 16px; }
.bd97-flinks a:hover { color: var(--bd97-green-light); text-decoration: none; }
.bd97-footer .bd97-fbtn,
.bd97-footer .bd97-fbtn:visited {
  display: inline-block;
  padding: 10px 14px;
  background: #5c9370;
  border: 2px solid #fff;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
}
.bd97-footer .bd97-fbtn:hover { background: var(--bd97-green-light); color: #fff; text-decoration: none; }

/* Newsletter */
.bd97-fcol-news .block_newsletter {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding: 0 10px;
  margin: 0;
  background: transparent;
}
.bd97-fcol-news .block_newsletter > .row > * { width: 100%; max-width: 100%; flex: 0 0 100%; float: none; padding: 0; }
.bd97-fcol-news #block-newsletter-label { display: none; }
.bd97-fcol-news .block_newsletter p,
.bd97-fcol-news .block_newsletter .col-xs-12 p { color: #555; font-size: 14px; text-align: left; padding-top: .5rem; }
.bd97-fcol-news .block_newsletter input[type=email] { border: 1px solid #ccc; padding: .5rem .75rem; width: 100%; }
.bd97-fcol-news .block_newsletter .btn-primary { background: var(--bd97-blue); border-color: var(--bd97-blue); }

/* Réseaux sociaux + WhatsApp */
.bd97-fcol-social .bd97-social { justify-content: center; }
.bd97-fcol-social .bd97-social a { border-radius: 0; width: 34px; height: 34px; background: var(--bd97-green); }
.bd97-whatsapp { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; }
.bd97-whatsapp a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #25d366; color: #fff; font-size: 13px; border-radius: 3px; }
.bd97-whatsapp a:hover { background: #1ebe57; color: #fff; text-decoration: none; }

.bd97-footer-modules { display: none; }

/* Bas de page : copyright + logos des moyens de paiement */
.bd97-footer-bottom { background: #fff; padding: 15px 0; border-top: 1px solid #eee; }
.bd97-footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bd97-copyright { margin: 0; color: #777; font-size: 14px; }
.bd97-copyright a { color: #777; }
.bd97-copyright a:hover { color: var(--bd97-blue); }
.bd97-sep { margin: 0 .35rem; }
.bd97-payment img { display: block; height: auto; max-height: 34px; width: auto; max-width: 100%; }

/* Réseaux sociaux et coordonnées (pied de page + maintenance) */
.bd97-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: .75rem;
}
.bd97-social li { list-style: none; }
.bd97-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bd97-green);
  color: #fff;
}
.bd97-social a:hover { background: var(--bd97-blue); color: #fff; }
.bd97-agencies {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  justify-content: center;
}
.bd97-agency { flex: 1 1 280px; max-width: 420px; text-align: center; }
.bd97-agency-title { font-size: 1.05rem; text-transform: uppercase; margin-bottom: .75rem; }

/* ---------- Page de maintenance ---------- */
/* Annule la boîte de 500px du thème Classic */
html body #layout-error {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bd97-light);
  box-shadow: none !important;
  text-align: center;
}
html body #layout-error h1 {
  font-family: var(--bd97-font) !important;
  font-size: 2rem;
  color: var(--bd97-blue) !important;
  padding: 0;
  margin: 0 0 1.25rem;
}
html body #layout-error .logo { margin: 0 0 1.5rem; }
.bd97-maintenance {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(165deg, var(--bd97-light) 0 55%, var(--bd97-blue) 55% 100%);
  font-family: var(--bd97-font);
}
.bd97-maintenance-bar {
  width: 100%;
  background: var(--bd97-blue);
  border-bottom: 3px solid var(--bd97-green);
  color: #fff;
  text-transform: uppercase;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2rem;
  padding: .75rem 1rem;
}
.bd97-maintenance-bar a { color: #fff; }
.bd97-maintenance-card {
  background: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  border-top: 5px solid var(--bd97-green);
  max-width: 1000px;
  width: calc(100% - 2rem);
  box-sizing: border-box;
  margin: 3rem auto 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
}
.bd97-maintenance-card .logo img { max-height: 130px; width: auto; margin-bottom: 1.5rem; }
.bd97-maintenance-card h1 {
  color: var(--bd97-blue);
  font-size: 1.9rem;
  text-transform: none;
  margin-bottom: 1rem;
}
.bd97-maintenance-text p { color: var(--bd97-text); font-size: 1rem; line-height: 1.7; }
.bd97-maintenance-card .bd97-agencies {
  margin: 2rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}
.bd97-maintenance-card .bd97-agency-title { color: var(--bd97-blue); }
.bd97-maintenance-card .bd97-agency p { color: var(--bd97-dark); font-size: .95rem; }
.bd97-maintenance-card .bd97-agency a { color: var(--bd97-blue); }
.bd97-maintenance-footer { color: #fff; font-size: .8rem; margin: auto 0 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .bd97-footer-cols { grid-template-columns: 1fr; }
  .bd97-fcol-info { padding-right: 15px; }
  .bd97-fcol-info-bg { left: -50vw; right: -50vw; clip-path: none; }
  .bd97-fcol-info .bd97-ftitle { margin-right: -15px; }
  .bd97-fcol-news, .bd97-fcol-social { padding-top: 10px; }
  .bd97-footer-bottom-row { justify-content: center; text-align: center; }
}
@media (max-width: 767px) {
  #header .bd97-hrow { display: none; }
  html body #layout-error h1 { font-size: 1.4rem; }
  .bd97-maintenance-card { padding: 1.75rem 1.25rem; margin-top: 1.5rem; }
}

/* ---------- Texte SEO de l'accueil, tout en bas de la page (comme boxdesign97.fr) ---------- */
.bd97-seo-bottom { background: #fff; padding: 0 0 20px; font-size: 12px; }
.bd97-seo-intro p { margin: 0; color: #666; font-size: 12px; line-height: 1.5; }
.bd97-seo-btn { margin: 4px 0 0; text-align: right; font-size: 12px; }
.bd97-seo-btn a { color: #666; font-size: 13px; }
.bd97-seo-btn a:hover { color: var(--bd97-blue); text-decoration: none; }
.bd97-seo-full { display: none; padding-top: 10px; }
.bd97-seo-bottom.is-open .bd97-seo-full { display: block; }
.bd97-seo-bottom.is-open .bd97-seo-btn-open { display: none; }
.bd97-seo-full h1 { color: #000; font-size: 18px; text-transform: uppercase; text-align: center; margin: 10px 0 15px; }
.bd97-seo-full h2 { color: #666; font-size: 13px; text-align: center; text-transform: none; margin: 15px 0 8px; }
.bd97-seo-full h3 { color: #666; font-size: 12px; text-align: center; margin: 12px 0 6px; }
.bd97-seo-full p, .bd97-seo-full div, .bd97-seo-full li { color: #666; font-size: 12px; line-height: 1.5; }
.bd97-seo-full img { max-width: 100%; height: auto; }

/* Comme l'ancien site : pas de vignettes de sous-catégories ni de cœurs « liste d'envies » sur les listes */
#category #subcategories { display: none; }
.product-miniature .wishlist-button-add, .wishlist-button-add { display: none !important; }
/* Noms de produits complets dans les vignettes (2 lignes maximum) */
.product-miniature .product-title { margin: .5rem 0; font-size: .85rem; line-height: 1.3; }
.product-miniature .product-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Colonne de gauche : bloc « Informations » (pages CMS), comme sur boxdesign97.fr ---------- */
#left-column .bd97-left-info { margin-top: 1.5rem; }
#left-column .bd97-left-info-title { color: #000; font-size: .9rem; font-weight: 700; margin-bottom: .6rem; }
#left-column .bd97-left-info ul { list-style: none; margin: 0; padding: 0; }
#left-column .bd97-left-info li { padding: .3rem 0; border-bottom: 1px dotted #ddd; }
#left-column .bd97-left-info li:last-child { border-bottom: 0; }
#left-column .bd97-left-info a { color: #444; font-size: .9rem; }
#left-column .bd97-left-info a:hover { color: var(--bd97-green); text-decoration: none; }

/* ---------- Vignettes produits : 2e photo au survol, comme sur boxdesign97.fr ---------- */
.product-miniature .thumbnail-top { position: relative; }
.product-miniature .bd97-hover-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain; background: #fff;
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.product-miniature .thumbnail-container:hover .bd97-hover-img { opacity: 1; }
@media (hover: none) { .product-miniature .bd97-hover-img { display: none; } }
