/* Thème Linear (presta.lineartech.fr) : reprise de l'apparence du thème ChoiceMarket de l'ancienne boutique. */

@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --l19-red: #c60120;
  --l19-dark: #2b2b2b;
  --l19-border: #e7e7e7;
  --l19-text: #666;
}

body {
  background: #fff;
  color: var(--l19-text);
  font-family: "Titillium Web", "Open Sans", Helvetica, sans-serif;
  font-size: 13px;
}
a { color: #333; }
a:hover, a:focus { color: var(--l19-red); text-decoration: none; }
#wrapper { background: #fff; padding-top: 24px; box-shadow: none; }
@media (min-width: 1200px) { .container { width: 1170px; max-width: 1170px; } }
h1, h2, h3, .h1, .h2, .h3 { font-family: "Titillium Web", Helvetica, sans-serif; color: #333; }
#header { background: #fff; box-shadow: none; }
#header .header-banner { display: none; }

/* ---------- Barre supérieure ---------- */
.l19-topbar { border-bottom: 1px solid var(--l19-border); font-size: 11px; text-transform: uppercase; }
.l19-topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.l19-topbar a, .l19-topbar .language-selector button, .l19-topbar .expand-more { color: #333; font-size: 11px; text-transform: uppercase; }
.l19-topbar-account a { margin-left: 14px; }
.l19-topbar-account .fa { margin-right: 6px; color: #666; }
.l19-topbar .language-selector-wrapper .hidden-md-up,
.l19-topbar .language-selector-wrapper > span { display: none; }
.l19-topbar .language-selector .dropdown-menu { min-width: 120px; }

/* ---------- En-tête ---------- */
.l19-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 15px 20px; }
.l19-logo img { display: block; width: 95px; height: auto; }
.l19-search { flex: 0 1 522px; margin: 30px 20px 0; }
.l19-search #search_widget { float: none; width: 100%; min-width: 0; }
.l19-search #search_widget form input[type="text"] {
  height: 40px;
  padding: 0 50px 0 20px;
  border: 1px solid var(--l19-border);
  border-radius: 0;
  background: #fff;
  font-size: 13px;
}
.l19-search #search_widget form i.search { left: auto; right: 12px; top: 8px; color: #333; }
.l19-search #search_widget form i.clear { display: none; }
.l19-cart { align-self: flex-start; }
.l19-cart .blockcart {
  height: auto;
  padding: 7px 14px;
  border: 1px solid #ddd;
  background: #e7e7e7;
  color: #333;
}
.l19-cart .blockcart .header > a, .l19-cart .blockcart .header > span { color: #333; }
.l19-cart .blockcart .cart-products-count { color: #333; }
.l19-mobile-toggle { display: none; }

/* ---------- Bandeau rouge : menus ---------- */
.l19-band { background: var(--l19-red); }
.l19-band-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; }
.l19-vmenu { position: relative; z-index: 20; flex: 0 0 223px; width: 223px; background: var(--l19-dark); }
.l19-vmenu-title {
  margin: 0;
  padding: 0 15px;
  height: 42px;
  line-height: 42px;
  background: #222;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}
.l19-vmenu-title .fa-bars { margin-right: 12px; }
.l19-vmenu-caret { float: right; line-height: 42px; }
.l19-vmenu-list { display: none; margin: 0; padding: 0 15px; list-style: none; background: var(--l19-dark); }
.l19-vmenu:hover .l19-vmenu-list,
.l19-vmenu-open .l19-vmenu-list { display: block; }
.l19-vmenu:not(.l19-vmenu-open) .l19-vmenu-list { position: absolute; left: 0; right: 0; top: 42px; }
.l19-vmenu-item { position: static; border-bottom: 1px solid #444; }
.l19-vmenu-item:last-child { border-bottom: 0; }
.l19-vmenu-item > a { display: block; padding: 13px 0 12px; color: #fff; font-size: 14px; }
.l19-vmenu-item > a .fa { width: 16px; color: #fff; }
.l19-vmenu-item > a .l19-arrow { float: right; width: auto; margin-top: 3px; font-size: 11px; }
.l19-vmenu-item:hover > a { color: #fff; background: transparent; }
.l19-vmenu-sub {
  display: none;
  position: absolute;
  z-index: 30;
  left: 223px;
  top: 0;
  width: 720px;
  min-height: 100%;
  padding: 20px 25px;
  background: #fff;
  border: 1px solid var(--l19-border);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
}
.l19-vmenu-item:hover > .l19-vmenu-sub { display: block; }
.l19-vmenu-sub-title { margin: 0 0 10px; font-weight: 700; font-size: 15px; text-transform: uppercase; }
.l19-vmenu-sub-title a { color: var(--l19-red); }
.l19-vmenu-sub ul { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 20px; }
.l19-vmenu-sub li { padding: 4px 0; break-inside: avoid; }
.l19-vmenu-sub li a { color: #555; font-size: 13px; }
.l19-hmenu { display: flex; flex: 1 1 auto; margin: 0; padding: 0 0 0 5px; list-style: none; height: 42px; }
.l19-hmenu > li { position: relative; }
.l19-hmenu > li > a {
  display: block;
  padding: 0 20px;
  line-height: 42px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
}
.l19-hmenu > li:hover > a { background: rgba(0, 0, 0, 0.15); color: #fff; }
.l19-drop {
  display: none;
  position: absolute;
  z-index: 25;
  top: 42px;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--l19-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.l19-has-drop:hover .l19-drop { display: block; }
.l19-drop a { display: block; padding: 6px 20px; color: #333; font-size: 13px; }
.l19-drop a:hover { color: var(--l19-red); }

/* Accueil : menu ouvert et diaporama à droite */
.l19-band-home .l19-band-inner { padding-bottom: 0; }
.l19-slider { position: absolute; left: 238px; right: 15px; top: 42px; bottom: 0; background: #fff; overflow: hidden; }
.l19-band-home .l19-vmenu { margin-bottom: 0; }
.l19-slider .carousel { margin: 0; box-shadow: none; height: 100%; }
.l19-slider .carousel .carousel-inner { height: 100%; }
.l19-slider .carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.l19-slider .carousel .direction { display: none; }
.l19-slider .carousel-indicators { bottom: 12px; }
.l19-slider .carousel-indicators li { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.7); }
.l19-slider .carousel-indicators li.active { background: var(--l19-red); }

/* Fil d'Ariane sur fond photo */
.l19-crumbband { background: #222 url("../img/bg_cate.jpg") center center / cover no-repeat; }
.l19-crumbs { padding: 30px 15px; text-align: center; color: #fff; font-size: 14px; }
.l19-crumbs a { color: #fff; }
.l19-crumbs a:hover { color: #fff; text-decoration: underline; }
.l19-sep { margin: 0 10px; }

/* ---------- Colonne de gauche ---------- */
@media (min-width: 992px) {
  #left-column { width: 25%; max-width: 25%; flex: 0 0 25%; }
  #content-wrapper.left-column { width: 75%; max-width: 75%; flex: 0 0 75%; }
}
.l19-leftblock { margin-bottom: 30px; border: 1px solid var(--l19-border); border-top: 0; }
.l19-leftblock-title {
  margin: 0;
  padding: 12px 15px;
  background: var(--l19-red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
.l19-tree { padding: 15px 15px 10px; }
.l19-tree ul { margin: 0; padding: 0; list-style: none; }
.l19-tree ul ul { padding-left: 16px; }
.l19-tree li a { display: block; padding: 5px 0; color: #555; font-size: 13px; }
.l19-tree li.l19-current > a { color: #333; font-weight: 700; }
.l19-tree-top > a { color: #333; }
#left-column .block-categories { display: none; }
#left-column #search_filters_wrapper { box-shadow: none; border: 1px solid var(--l19-border); }

/* ---------- Accueil : blocs par catégorie ---------- */
.l19-catblock { margin: 0 0 30px; border: 1px solid var(--l19-border); }
.l19-catblock-title {
  display: flex;
  align-items: center;
  margin: 0;
  height: 42px;
  background: #333;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}
.l19-catblock-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #ca0121; margin-right: 15px; }
.l19-catblock-icon img { width: 26px; height: 26px; }
.l19-catblock-title a { color: #fff; }
.l19-catblock-body { display: flex; align-items: stretch; }
.l19-catblock-subs { flex: 0 0 200px; margin: 0; padding: 10px 15px; list-style: none; }
.l19-catblock-subs li a { display: block; padding: 6px 0; font-size: 13px; color: #555; }
.l19-catblock-banner { flex: 0 0 285px; }
.l19-catblock-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.l19-catblock-products { flex: 1 1 auto; display: flex; flex-wrap: wrap; margin: 0; padding: 5px; }
.l19-catblock-products .product.l19-mini { flex: 0 0 25%; max-width: 25%; padding: 5px; }

.l19-inserts { display: flex; gap: 30px; margin: 10px 0 30px; }
.l19-insert { position: relative; flex: 1 1 0; display: block; overflow: hidden; }
.l19-insert img { display: block; width: 100%; height: auto; transition: transform 0.3s; }
.l19-insert:hover img { transform: scale(1.04); }
.l19-insert-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
}
.l19-services { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 20px; }
.l19-service-img img { display: block; max-width: 100%; height: auto; }
.l19-service-text { flex: 1 1 220px; }
.l19-service-text h3 { font-size: 17px; margin: 0 0 6px; }
.l19-service-text h3 a { color: var(--l19-red); }

/* ---------- Cartes produit ---------- */
.l19-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #eee;
  text-align: left;
}
.l19-card:hover { border-color: #ccc; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.l19-card-img { display: flex; align-items: center; justify-content: center; height: 140px; margin-bottom: 10px; }
.l19-card-img img { max-width: 100%; max-height: 140px; width: auto; height: auto; }
.l19-card-name { margin: 0 0 4px; font-size: 13px; font-weight: 400; text-transform: uppercase; line-height: 1.3; }
.l19-card-name a { color: #333; }
.l19-card-ref { margin: 0; color: #666; font-size: 12px; }
.l19-card-price { margin: 6px 0 0; color: var(--l19-red); font-weight: 600; font-size: 15px; }
.l19-card-old { display: block; color: #999; font-size: 12px; text-decoration: line-through; }
#products .products { display: flex; flex-wrap: wrap; }
#products .products .product { display: flex; padding: 0 8px; margin-bottom: 16px; }
.l19-grid { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.l19-grid .product.l19-mini { flex: 0 0 25%; max-width: 25%; padding: 5px; }

/* ---------- Fiche produit ---------- */
.l19-product-top { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.l19-product-images { flex: 0 0 40%; max-width: 40%; }
.l19-product-info { flex: 1 1 300px; }
.l19-product-title { margin: 0 0 14px; font-size: 22px; font-weight: 400; text-transform: uppercase; color: #333; }
.l19-meta { margin: 0 0 4px; color: #666; font-size: 13px; }
.l19-meta span { color: #666; }
.l19-desc-short { margin: 10px 0 18px; color: #666; font-size: 13px; line-height: 1.5; }
.l19-product .product-prices { margin: 10px 0; }
.l19-product .product-prices .current-price-value { color: var(--l19-red); font-size: 22px; }
.l19-tools { display: inline-flex; margin-top: 16px; border: 1px solid var(--l19-border); }
.l19-tools a { display: block; width: 40px; height: 38px; line-height: 38px; text-align: center; color: #999; border-right: 1px solid var(--l19-border); }
.l19-tools a:last-child { border-right: 0; }
.l19-tools a:hover { color: var(--l19-red); }
.l19-section { margin-bottom: 30px; }
.l19-section-title { margin: 0 0 14px; font-size: 17px; font-weight: 600; text-transform: uppercase; color: #333; }
.l19-section-box { padding: 15px; border: 1px solid var(--l19-border); font-size: 13px; color: #666; }
.l19-section-box strong, .l19-section-box b { color: #333; }
.l19-downloads { display: flex; flex-wrap: wrap; gap: 20px 24px; padding: 20px 25px; }
.l19-download { flex: 0 0 200px; border-bottom: 1px solid var(--l19-border); padding-bottom: 12px; }
.l19-download-name { margin: 0 0 6px; font-weight: 600; font-size: 14px; color: #333; }
.l19-download-btn { display: block; padding: 3px 10px; border: 1px solid #999; text-align: center; color: #333; font-size: 12px; }
.l19-download-btn:hover { border-color: var(--l19-red); color: var(--l19-red); }

/* ---------- Pied de page ---------- */
#footer { padding: 0; margin-top: 40px; background: transparent; }
#footer .footer-container { display: none; }
.l19-newsband { background: #333; padding: 14px 0; }
.l19-newsband .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.l19-news { display: flex; align-items: center; flex: 1 1 600px; color: #fff; font-size: 13px; text-transform: uppercase; }
.l19-news .fa-paper-plane { margin-right: 16px; font-size: 26px; color: #888; }
.l19-news > span { margin-right: 16px; white-space: nowrap; }
.l19-news .block_newsletter { flex: 1 1 auto; max-width: 495px; padding: 0; margin: 0; background: transparent; }
.l19-news .block_newsletter > .row > p,
.l19-news .block_newsletter #block-newsletter-label,
.l19-news .block_newsletter p:not(.alert) { display: none; }
.l19-news .block_newsletter .row, .l19-news .block_newsletter [class*="col-"] { display: block; width: 100%; max-width: 100%; margin: 0; padding: 0; float: none; }
.l19-news .block_newsletter form { position: relative; }
.l19-news .block_newsletter .input-wrapper input {
  width: 100%;
  height: 40px;
  padding: 0 130px 0 12px;
  border: 0;
  background: #555;
  color: #fff;
  font-size: 13px;
}
.l19-news .block_newsletter .btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: var(--l19-red);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.l19-social { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.l19-social a { display: block; width: 34px; height: 34px; line-height: 34px; text-align: center; background: #444; color: #fff; }
.l19-social a:hover { background: var(--l19-red); color: #fff; }
.l19-footer { background: #1e1e1e; padding: 40px 0 30px; color: #999; }
.l19-footer-cols { display: flex; flex-wrap: wrap; }
.l19-footer-col { flex: 1 1 160px; padding: 0 15px 20px 0; }
.l19-footer-col-wide { flex: 1.5 1 240px; }
.l19-footer-title { margin: 0 0 14px; color: #fff; font-size: 17px; }
.l19-footer ul { margin: 0; padding: 0; list-style: none; }
.l19-footer li { padding: 3px 0; }
.l19-footer a { color: #999; font-size: 14px; }
.l19-footer a:hover { color: #fff; }
.l19-footer p { margin: 0 0 8px; font-size: 13px; color: #999; }
.l19-footer .fa { width: 18px; color: var(--l19-red); }
.l19-footer-sub { color: #fff !important; font-size: 15px !important; margin-top: 10px !important; }
.l19-copyright { padding: 14px 0; background: #000; color: #666; text-align: center; font-size: 13px; }

/* ---------- Pages de contenu et listes ---------- */
#content.page-content, .page-content.page-cms, .block-category, #subcategories, #js-product-list-top { box-shadow: none; }
.block-category { min-height: 0; padding: 10px 15px; border: 1px solid var(--l19-border); }
.block-category h1 { margin: 0; font-size: 20px; text-transform: uppercase; }
#subcategories .subcategory-image { display: none; }
#subcategories ul li { min-height: 0; margin-bottom: 8px; }
.btn-primary { background: var(--l19-red); border-color: var(--l19-red); }
.btn-primary:hover, .btn-primary:focus { background: #a00019; border-color: #a00019; }

/* ---------- Petits écrans ---------- */
@media (max-width: 991px) {
  .l19-header-inner { flex-wrap: wrap; }
  .l19-search { order: 3; flex: 1 1 100%; margin: 12px 0 0; }
  .l19-slider { position: static; flex: 1 1 100%; height: 220px; }
  .l19-vmenu { flex: 1 1 100%; width: 100%; }
  .l19-vmenu-sub { display: none !important; }
  .l19-hmenu { flex-wrap: wrap; height: auto; }
  .l19-catblock-body { flex-wrap: wrap; }
  .l19-catblock-subs, .l19-catblock-banner { flex: 1 1 100%; }
  .l19-catblock-products .product.l19-mini, .l19-grid .product.l19-mini { flex: 0 0 50%; max-width: 50%; }
  .l19-product-images { flex: 1 1 100%; max-width: 100%; }
  .l19-inserts { flex-direction: column; }
}

/* ---------- Corrections après comparaison avec l'ancien site ---------- */
.l19-topbar-account { margin-left: auto; }
#header .l19-vmenu-item > a,
#header .l19-vmenu-item > a .fa,
#header .l19-vmenu-title { color: #fff; }
#header .l19-vmenu-item > a:hover { color: #fff; opacity: 0.85; }
#header .l19-hmenu > li > a { color: #fff; }
#header .l19-drop a, #header .l19-vmenu-sub li a { color: #333; }
#header .l19-vmenu-sub-title a { color: var(--l19-red); }
#header .l19-crumbs, #header .l19-crumbs a, #header .l19-crumbs span { color: #fff; }
#header .l19-topbar a { color: #333; }
.l19-cartbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid #ddd;
  background: #e7e7e7;
  color: #333 !important;
  font-size: 13px;
}
.l19-cartbtn .fa-caret-down { margin-left: 16px; }
.l19-slider .carousel,
.l19-slider .carousel .carousel-inner,
.l19-slider .carousel .carousel-item,
.l19-slider .carousel .carousel-item > a,
.l19-slider .carousel .carousel-item figure { display: block; height: 100%; margin: 0; }
.l19-slider .carousel .carousel-item:not(.active) { display: none; }
.l19-slider .carousel .carousel-item.active,
.l19-slider .carousel .carousel-item-next,
.l19-slider .carousel .carousel-item-prev { display: block; }
.l19-slider .carousel .carousel-item img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
#footer .l19-footer-title { color: #fff; font-size: 17px; font-weight: 400; }
#footer .l19-footer p, #footer .l19-footer li { font-size: 14px; }
#footer .l19-footer-sub { color: #fff; font-size: 16px; }
