/* Direct-Flam — palette: jaune doré #D4A017, anthracite #2C2C2C, blanc cassé #FAF7F2 */

:root {
  --df-gold: #D4A017;
  --df-gold-dark: #B0830A;
  --df-anthracite: #2C2C2C;
  --df-anthracite-soft: #404040;
  --df-cream: #FAF7F2;
  --df-cream-dark: #F0EBE2;
  --df-border: #E5DFD2;
}

/* Base */
body {
  background-color: var(--df-cream);
  color: var(--df-anthracite);
}
a { color: var(--df-anthracite); }
a:hover, a:focus { color: var(--df-gold-dark); text-decoration: none; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 { color: var(--df-anthracite); font-weight: 600; }

/* Header */
#header { background-color: #FFFFFF; border-bottom: 3px solid var(--df-gold); }
#header .header-top { background: #FFFFFF; }
#_desktop_top_menu .top-menu .sub-menu { background: var(--df-cream); border-top: 2px solid var(--df-gold); }
.top-menu a.dropdown-item:hover { background: var(--df-gold); color: #FFFFFF; }
#_desktop_top_menu a { color: var(--df-anthracite); }
#_desktop_top_menu a:hover { color: var(--df-gold-dark); }

/* Search bar */
#search_widget input[type="text"] { border: 1px solid var(--df-border); }
#search_widget button[type="submit"] { color: var(--df-gold-dark); }

/* Buttons */
.btn-primary {
  background-color: var(--df-gold) !important;
  border-color: var(--df-gold) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--df-gold-dark) !important;
  border-color: var(--df-gold-dark) !important;
  color: #FFFFFF !important;
}
.btn-secondary {
  background-color: var(--df-anthracite) !important;
  border-color: var(--df-anthracite) !important;
  color: #FFFFFF !important;
}
.btn-secondary:hover { background-color: var(--df-anthracite-soft) !important; }
.btn-tertiary, .btn-unstyle { color: var(--df-anthracite); }
.btn-tertiary:hover { color: var(--df-gold-dark); }

/* Product cards */
.product-miniature {
  background: #FFFFFF;
  border: 1px solid var(--df-border);
  border-radius: 4px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-miniature:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); transform: translateY(-2px); }
.product-price-and-shipping .price { color: var(--df-gold-dark); font-weight: 700; }
.product-flag.discount-percentage,
.product-flag.discount-amount,
.product-flag.discount,
.product-flag.on-sale { background-color: var(--df-gold) !important; color: #FFFFFF !important; }
.product-flag.new { background-color: var(--df-anthracite) !important; }
.product-thumbnail .product-name { color: var(--df-anthracite); font-weight: 500; }
.product-thumbnail .product-name:hover { color: var(--df-gold-dark); }

/* Product page */
.product-prices .current-price { color: var(--df-gold-dark); }
.product-add-to-cart .add-to-cart { background: var(--df-gold) !important; border-color: var(--df-gold) !important; }
.product-add-to-cart .add-to-cart:hover { background: var(--df-gold-dark) !important; }

/* Pagination + breadcrumb */
.pagination .page-list li.current a, .pagination .current a { background: var(--df-gold); color: #FFFFFF; }
.breadcrumb a { color: var(--df-anthracite-soft); }
.breadcrumb a:hover { color: var(--df-gold-dark); }

/* Form */
.form-control:focus { border-color: var(--df-gold); box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.18); }

/* Footer */
.footer-container { background: var(--df-anthracite); color: #C9C9C9; padding-top: 2.5rem; }
.footer-container h3, .footer-container .h3 { color: #FFFFFF; }
.footer-container a { color: #C9C9C9; }
.footer-container a:hover { color: var(--df-gold); }
.block-social ul li { background: rgba(255,255,255,0.06); }
.block-social ul li:hover { background: var(--df-gold); }
#footer .copyright, .footer-after-after, footer .copyright { background: #1c1c1c; color: #888; }

/* Cart, alerts */
.cart-detailed-actions .btn-primary { background: var(--df-gold) !important; border-color: var(--df-gold) !important; }
.alert-success { background: #E8F0DC; color: #4A6928; border-color: #B8C99A; }
.alert-warning { background: rgba(212, 160, 23, 0.12); color: var(--df-anthracite); border-color: var(--df-gold); }

/* Badges, prices, top */
.cart-preview .header { color: var(--df-anthracite); }
.cart-preview .header a { color: var(--df-anthracite); }
.btn.user-info, .btn.user-info:hover { color: var(--df-anthracite); }

/* Scrollbar accent (subtle) */
::selection { background: var(--df-gold); color: #FFFFFF; }

/* Remove new product badge */
.product-flag.new, .product-flag-new { display: none !important; }

/* === Direct-Flam: Home B2C blocks === */

/* Categories showcase */
.df-cat-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}
.df-cat-header {
  text-align: center;
  margin-bottom: 40px;
}
.df-cat-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 8px;
  position: relative;
  display: inline-block;
}
.df-cat-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--df-gold);
  margin: 12px auto 0;
}
.df-cat-header p {
  color: var(--df-anthracite-soft);
  font-size: 16px;
  margin: 16px 0 0;
}
.df-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.df-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: #FFFFFF;
  border: 1px solid var(--df-border);
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.df-cat-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  height: 100%;
  background: var(--df-c, var(--df-gold));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s;
}
.df-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: var(--df-c, var(--df-gold));
}
.df-cat-card:hover::before { transform: scaleY(1); transform-origin: top; }
.df-cat-icon { flex: 0 0 auto; }
.df-cat-text { flex: 1; }
.df-cat-text h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--df-anthracite);
  letter-spacing: 0.3px;
}
.df-cat-text p {
  margin: 0;
  font-size: 14px;
  color: var(--df-anthracite-soft);
  line-height: 1.4;
}
.df-cat-arrow {
  font-size: 28px;
  color: var(--df-c, var(--df-gold));
  font-weight: 300;
  transition: transform 0.2s;
}
.df-cat-card:hover .df-cat-arrow { transform: translateX(4px); }

/* Stats / Why us */
.df-why-section {
  background: var(--df-anthracite);
  color: #FFFFFF;
  padding: 50px 20px;
  margin: 60px 0;
}
.df-why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.df-why-item {
  padding: 10px;
}
.df-why-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--df-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.df-why-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9C9C9;
}

/* Slider tweaks */
.carousel { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.carousel-control-prev, .carousel-control-next { opacity: 0.7; }
.carousel-indicators li { background: var(--df-gold); }

/* Reassurance icons in gold */
.block-reassurance { background: #FFFFFF; }
.block-reassurance li { border-color: var(--df-border); }
.block-reassurance li img,
.block-reassurance .block-reassurance-item img,
.block-reassurance svg path { filter: invert(56%) sepia(60%) saturate(594%) hue-rotate(8deg) brightness(94%) contrast(89%); }
.block-reassurance li .h6 { color: var(--df-anthracite); font-weight: 600; }

/* Section spacing */
#wrapper, #content-wrapper, .page-home { background: var(--df-cream); }
.products-section-title { font-size: 28px; font-weight: 700; color: var(--df-anthracite); position: relative; padding-bottom: 12px; margin-bottom: 28px; }
.products-section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--df-gold); margin: 12px auto 0; }

/* Footer column titles */
.footer-container .h4,
.footer-container h4,
.footer-container .block-contact-title,
.links .h3,
.links h3 {
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.block-contact #contact-infos p { color: #C9C9C9; line-height: 1.5; }

/* Footer 'Votre compte' title - link inside */
.footer-container .myaccount-title,
.footer-container .myaccount-title a,
.footer-container .links .h3,
.footer-container .links h3,
.footer-container .links .h3 a,
.footer-container .links h3 a,
.links .myaccount-title a {
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* === Direct-Flam: Dark anthracite header === */

#header,
#header .header-top,
#header .header-nav {
  background: var(--df-anthracite) !important;
  color: #FFFFFF;
  border-bottom: none;
}
#header * { color: #FFFFFF; }
#header a { color: #FFFFFF !important; }
#header a:hover { color: var(--df-gold) !important; }

/* Top thin nav */
.header-nav {
  background: #1A1A1A !important;
  border-bottom: 1px solid #333333;
  padding: 6px 0;
  font-size: 13px;
}
.header-nav .nav-bottom { color: #C9C9C9; }
.header-nav .blockcart { background: transparent !important; padding: 0; }
.header-nav .blockcart .header { color: #FFFFFF; }

/* Main top menu */
#_desktop_top_menu .top-menu {
  background: var(--df-anthracite);
}
#_desktop_top_menu .top-menu li > a,
#_desktop_top_menu .top-menu .top-menu > li > a,
.top-menu .menu > li > a {
  color: #FFFFFF !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  font-size: 13px;
  padding: 14px 18px !important;
}
#_desktop_top_menu .top-menu li > a:hover,
.top-menu .menu > li > a:hover {
  color: var(--df-gold) !important;
  background: transparent !important;
}
#_desktop_top_menu .top-menu .sub-menu {
  background: #FFFFFF !important;
  border-top: 3px solid var(--df-gold);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
#_desktop_top_menu .top-menu .sub-menu a {
  color: var(--df-anthracite) !important;
}
#_desktop_top_menu .top-menu .sub-menu a:hover {
  color: var(--df-gold-dark) !important;
}

/* Header center: search */
#search_widget {
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
#search_widget input[type="text"] {
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  outline: none;
}
#search_widget input::placeholder { color: rgba(255,255,255,0.55); }
#search_widget button[type="submit"] { color: #FFFFFF !important; }

/* Right side icons */
.header .user-info,
.user-info .logged,
.header .user-info span {
  color: #FFFFFF !important;
}
.header .blockcart {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 8px;
  padding: 6px 14px;
}
.header .blockcart * { color: #FFFFFF !important; }
.header .blockcart:hover { background: var(--df-gold) !important; }

/* Phone in header (ps_contactinfo nav) */
.header-nav #_desktop_contact_link,
.header-nav #_desktop_top { color: #FFFFFF; }
#_desktop_contact_link a { color: #FFFFFF !important; font-weight: 500; }
#_desktop_contact_link a:hover { color: var(--df-gold) !important; }

/* Logo on dark - keep size */
#_desktop_logo img, .logo { max-height: 60px; }

/* Mobile burger / fixes */
.header-top .menu-icon { color: #FFFFFF; }
.mobile .top-menu li a { color: var(--df-anthracite) !important; }

/* === Direct-Flam: header one-row layout === */

.df-onerow { padding: 12px 0; }
.df-onerow .row { display: flex; align-items: center; }
.df-onerow #_desktop_logo h1 { margin: 0; }

.df-header-center {
  display: flex;
  align-items: center;
  gap: 16px;
}
.df-header-center #_desktop_top_menu { flex: 0 0 auto; }
.df-header-center #search_widget { flex: 1; min-width: 220px; }

.df-header-right .df-nav-row {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  font-size: 13px;
}
.df-header-right .df-nav-left, .df-header-right .df-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Override the menu padding to be tighter for one-row */
#_desktop_top_menu .top-menu li > a,
.top-menu .menu > li > a {
  padding: 10px 14px !important;
  font-size: 12px !important;
}

/* === Direct-Flam: header layout fixes === */

/* Better column proportions */
.df-onerow > .container > .row > .col-md-2 { flex: 0 0 180px; max-width: 180px; }
.df-onerow > .container > .row > .col-md-6.df-header-center { flex: 1 1 auto; }
.df-onerow > .container > .row > .col-md-4.df-header-right { flex: 0 0 auto; max-width: none; }

.df-header-center {
  flex-wrap: nowrap;
  overflow: visible;
}
.df-header-center #_desktop_top_menu { flex: 0 0 auto; min-width: 0; }
.df-header-center #search_widget {
  flex: 0 1 280px;
  min-width: 200px;
  max-width: 320px;
  margin-left: auto;
}

.df-header-right .df-nav-row {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 18px;
}
.df-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
}
.df-phone:hover { color: var(--df-gold) !important; }
.df-phone .material-icons { font-size: 18px; }

/* Tighter user info / cart */
.df-header-right .user-info,
.df-header-right .blockcart {
  padding: 4px 10px !important;
  font-size: 13px;
}
.df-header-right .blockcart * { font-size: 13px; }

/* Smaller menu padding when on one row */
#_desktop_top_menu .top-menu li > a,
.top-menu .menu > li > a {
  padding: 8px 10px !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
}

/* === Direct-Flam: header layout fix v3 === */
/* Reset prior overrides and use cleaner flex */

.df-onerow > .container > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 24px;
}
.df-onerow > .container > .row > [class*='col-'] {
  flex: 0 0 auto;
  max-width: none;
  width: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.df-onerow #_desktop_logo { flex: 0 0 180px !important; }
.df-onerow .df-header-center {
  flex: 1 1 auto !important;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.df-onerow .df-header-center #_desktop_top_menu { flex: 0 0 auto; }
.df-onerow .df-header-center #search_widget {
  flex: 0 1 240px !important;
  min-width: 160px;
  margin-left: auto;
}
.df-onerow .df-header-right {
  flex: 0 0 auto !important;
}
.df-onerow .df-header-right .df-nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

/* Ensure the search button does not stretch out */
#search_widget { min-width: 0; max-width: 260px; }
#search_widget input[type='text'] { width: 100%; min-width: 0; }

/* === Direct-Flam: bigger logo within same nav height === */
.df-onerow { padding: 4px 0 !important; }
.df-onerow #_desktop_logo { flex: 0 0 320px !important; }
.df-onerow #_desktop_logo h1 { margin: 0; line-height: 0; }
.df-onerow #_desktop_logo img,
.df-onerow .logo {
  max-height: none !important;
  height: 86px !important;
  width: auto !important;
  display: block;
}

/* === Direct-Flam: logo size adjustment + remove phone in header === */
.df-onerow { padding: 8px 0 !important; }
.df-onerow #_desktop_logo { flex: 0 0 240px !important; }
.df-onerow #_desktop_logo img,
.df-onerow .logo {
  height: 64px !important;
  width: auto !important;
}

/* Hide the phone in header (kept in footer) */
#_desktop_contact_link { display: none !important; }
.df-header-right .df-nav-left { display: none !important; }

/* Search smaller */
.df-onerow .df-header-center #search_widget {
  flex: 0 1 180px !important;
  max-width: 180px !important;
  min-width: 0;
}
#search_widget input[type='text'] {
  font-size: 13px;
  padding: 4px 4px 4px 30px;
}

/* Remove empty white bar between header and slider */
.header-banner:empty { display: none; }
.header-banner { background: transparent; padding: 0; margin: 0; min-height: 0; }
#wrapper { background: var(--df-cream); }
body, .page-home, main { background: var(--df-cream); }

/* === Direct-Flam: vertical center + white bar fixes === */

/* Center search vertically by ensuring header row aligns center */
.df-onerow > .container > .row {
  align-items: center !important;
  min-height: 84px;
}
#search_widget {
  display: flex;
  align-items: center;
}

/* Hide empty banner */
.header-banner { display: none !important; }

/* Hide empty notifications aside on home */
#notifications:empty,
#notifications .notifications-container:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#notifications {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide breadcrumb on homepage where it's just Accueil */
.page-home .breadcrumb { display: none !important; }

/* Force wrapper / body to cream */
html, body, #wrapper, #content-wrapper { background: var(--df-cream) !important; }
section#wrapper { padding-top: 0 !important; padding-bottom: 0 !important; background: transparent !important; }
.page-home #content { background: transparent !important; }

/* Remove all spacing/bg between header and main content */
header + *,
header ~ section,
#wrapper > .container,
main, body > main {
  background: var(--df-cream) !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.block-reassurance:empty,
#block-reassurance,
[class*='block-reassurance']:not(.df-keep-reassurance) {
  display: none !important;
}
/* Keep only the home reassurance hook */
.df-cat-section ~ .block-reassurance,
[id*='block-reassurance'].displayHome { display: block !important; }
/* Body main: no top margin/pad */
body > main { padding-top: 0; }

/* === Direct-Flam: KILL the white bar - nuclear options === */

body { background-color: var(--df-cream) !important; }
html { background: var(--df-cream) !important; }
main, body > main { background: var(--df-cream) !important; }
section#wrapper { background: var(--df-cream) !important; padding: 0 !important; margin: 0 !important; }
section#wrapper > .container,
section#wrapper > .container-fluid {
  background: transparent !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-home #wrapper > .container { display: none !important; }
.page-home .breadcrumb,
.page-home nav.breadcrumb { display: none !important; }

/* Ensure no aside white bg */
#notifications, #notifications * { background: transparent !important; }
#notifications:empty,
#notifications .notifications-container:empty { display: none !important; }

/* Reassurance any leftover white bg */
.block-reassurance, .block-reassurance ul { background: var(--df-cream) !important; }

/* Carousel area background fallback */
.page-home #content { background: var(--df-cream) !important; padding: 0 !important; }
.carousel, #carousel, #_desktop_carousel { background: var(--df-cream); }

/* Container default white removal */
.container { background: transparent; }

/* Force hide mobile menu wrapper on desktop */
#mobile_top_menu_wrapper { display: none !important; }
@media (min-width: 768px) {
  #mobile_top_menu_wrapper, .hidden-md-up { display: none !important; }
}

/* Spacing between header and first content */
.page-home #content { padding-top: 32px !important; }
.page-home .carousel { margin-top: 0; }
section#wrapper { padding-top: 24px !important; }

/* === Direct-Flam: search bar layout reset === */
#search_widget {
  display: flex !important;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0 16px;
  height: 38px;
}
#search_widget form { 
  display: flex; 
  align-items: center; 
  width: 100%;
  margin: 0;
}
#search_widget input[type='text'] {
  flex: 1;
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  outline: none;
  padding: 0 8px !important;
  font-size: 13px;
  height: 100%;
}
#search_widget input::placeholder { color: rgba(255,255,255,0.55); }
#search_widget button[type='submit'] {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  padding: 0;
  color: #FFFFFF !important;
  font-size: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
#search_widget button[type='submit']:hover { color: var(--df-gold) !important; }

/* === Direct-Flam: GOLD header with anthracite text === */

#header,
#header .header-top,
#header .header-nav,
.df-onerow {
  background: var(--df-gold) !important;
  color: var(--df-anthracite) !important;
}
#header * { color: var(--df-anthracite); }
#header a { color: var(--df-anthracite) !important; }
#header a:hover { color: #FFFFFF !important; }

/* Top menu */
#_desktop_top_menu .top-menu li > a,
#_desktop_top_menu .top-menu .top-menu > li > a,
.top-menu .menu > li > a {
  color: var(--df-anthracite) !important;
}
#_desktop_top_menu .top-menu li > a:hover,
.top-menu .menu > li > a:hover {
  color: #FFFFFF !important;
  background: transparent !important;
}
#_desktop_top_menu .top-menu .sub-menu {
  background: #FFFFFF !important;
  border-top: 3px solid var(--df-anthracite);
}
#_desktop_top_menu .top-menu .sub-menu a { color: var(--df-anthracite) !important; }
#_desktop_top_menu .top-menu .sub-menu a:hover { color: var(--df-gold-dark) !important; }

/* Search bar on gold */
#search_widget {
  background: rgba(44,44,44,0.12) !important;
  border: 1px solid rgba(44,44,44,0.2) !important;
}
#search_widget input[type='text'] { color: var(--df-anthracite) !important; }
#search_widget input::placeholder { color: rgba(44,44,44,0.55) !important; }
#search_widget button[type='submit'] { color: var(--df-anthracite) !important; }
#search_widget button[type='submit']:hover { color: #FFFFFF !important; }

/* Connexion / cart */
.header .user-info,
.header .user-info span,
.header .blockcart * { color: var(--df-anthracite) !important; }
.header .blockcart {
  background: rgba(44,44,44,0.12) !important;
}
.header .blockcart:hover { background: var(--df-anthracite) !important; }
.header .blockcart:hover * { color: #FFFFFF !important; }

/* Bottom border accent */
#header { border-bottom: 3px solid var(--df-anthracite); }

/* === Direct-Flam: search bar definitive === */

#search_widget {
  display: flex !important;
  align-items: center !important;
  background: rgba(44,44,44,0.12);
  border: 1px solid rgba(44,44,44,0.2);
  border-radius: 999px;
  padding: 0 16px;
  height: 38px;
  position: relative;
}
#search_widget form {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
}
#search_widget i.material-icons.search,
#search_widget i.material-icons:first-of-type {
  position: static !important;
  flex: 0 0 auto;
  order: 0;
  font-size: 18px !important;
  margin-right: 8px;
  color: var(--df-anthracite);
  cursor: pointer;
}
#search_widget input[type='text'] {
  flex: 1 1 auto !important;
  order: 1;
  background: transparent !important;
  border: none !important;
  outline: none;
  color: var(--df-anthracite) !important;
  font-size: 13px;
  padding: 0 !important;
  height: 100%;
  min-width: 0;
}
#search_widget input::placeholder { color: rgba(44,44,44,0.55) !important; }
#search_widget i.material-icons.clear {
  position: static !important;
  flex: 0 0 auto;
  order: 2;
  display: none;
  font-size: 16px !important;
  margin-left: 4px;
}
#search_widget input:not(:placeholder-shown) ~ i.clear { display: inline-flex; }

/* === REVERT: anthracite header again === */
#header,
#header .header-top,
#header .header-nav,
.df-onerow {
  background: var(--df-anthracite) !important;
  color: #FFFFFF !important;
}
#header * { color: #FFFFFF !important; }
#header a { color: #FFFFFF !important; }
#header a:hover { color: var(--df-gold) !important; }
#_desktop_top_menu .top-menu li > a { color: #FFFFFF !important; }
#_desktop_top_menu .top-menu li > a:hover { color: var(--df-gold) !important; }
#_desktop_top_menu .top-menu .sub-menu { background: #FFFFFF !important; border-top: 3px solid var(--df-gold); }
#_desktop_top_menu .top-menu .sub-menu a { color: var(--df-anthracite) !important; }
#header { border-bottom: 3px solid var(--df-gold); }

/* Search bar - reset back to dark scheme */
#search_widget {
  display: flex !important;
  align-items: center !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  height: 38px !important;
}

/* === Bullet-proof loupe alignment === */
#search_widget,
#search_widget * { box-sizing: border-box; }
#search_widget form {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}
#search_widget i.material-icons {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
}
#search_widget i.material-icons.search {
  order: 0 !important;
  flex: 0 0 auto !important;
  margin-right: 8px !important;
  font-size: 18px !important;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}
#search_widget input[type='text'] {
  order: 1 !important;
  flex: 1 1 auto !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  position: static !important;
}
#search_widget input::placeholder { color: rgba(255,255,255,0.55) !important; }
#search_widget i.material-icons.clear {
  order: 2 !important;
  flex: 0 0 auto !important;
  margin-left: 6px !important;
  display: none !important;
  font-size: 16px !important;
}

/* Shift loupe slightly left */
#search_widget { padding-left: 10px !important; }
#search_widget i.material-icons.search { margin-right: 10px !important; }

/* === Direct-Flam: Search autocomplete dropdown === */

.ui-autocomplete.searchbar-autocomplete {
  background: #FFFFFF !important;
  border: 1px solid var(--df-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.15) !important;
  padding: 8px 0 !important;
  margin-top: 8px !important;
  overflow: hidden;
}
.ui-autocomplete.searchbar-autocomplete li {
  border-bottom: 1px solid var(--df-border);
  list-style: none;
  margin: 0;
  padding: 0;
}
.ui-autocomplete.searchbar-autocomplete li:last-child { border-bottom: none; }
.ui-autocomplete.searchbar-autocomplete li a,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px !important;
  color: var(--df-anthracite) !important;
  font-size: 14px !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  transition: background 0.15s, color 0.15s;
}
.ui-autocomplete.searchbar-autocomplete li a:hover,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-active {
  background: var(--df-cream) !important;
  color: var(--df-gold-dark) !important;
}
.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
  width: 44px !important;
  height: 44px !important;
  border-radius: 6px;
  border: 1px solid var(--df-border);
  object-fit: cover;
  flex: 0 0 auto;
}

/* === Direct-Flam: home content sections === */

.df-intro-section {
  background: #FFFFFF;
  padding: 60px 20px;
  margin: 0;
}
.df-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.df-intro-inner h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 24px;
}
.df-intro-inner h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--df-gold);
  margin: 16px auto 0;
}
.df-intro-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--df-anthracite-soft);
  margin: 0 0 16px;
}
.df-intro-inner a { color: var(--df-gold-dark); text-decoration: underline; }
.df-intro-inner a:hover { color: var(--df-gold); }

/* FAQ */
.df-faq-section {
  background: var(--df-cream);
  padding: 60px 20px;
}
.df-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}
.df-faq-inner h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 32px;
}
.df-faq-inner h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--df-gold);
  margin: 16px auto 0;
}
.df-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--df-border);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.df-faq-item[open] {
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  border-color: var(--df-gold);
}
.df-faq-item summary {
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--df-anthracite);
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.df-faq-item summary::-webkit-details-marker { display: none; }
.df-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--df-gold);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}
.df-faq-item[open] summary::after { content: '−'; }
.df-faq-item p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--df-anthracite-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Engagements */
.df-engagement-section {
  padding: 60px 20px;
  background: #FFFFFF;
}
.df-engagement-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.df-engagement-inner h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 36px;
}
.df-engagement-inner h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--df-gold);
  margin: 16px auto 0;
}
.df-engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.df-engagement-card {
  background: var(--df-cream);
  border-left: 3px solid var(--df-gold);
  padding: 22px 22px 22px 24px;
  border-radius: 4px;
}
.df-engagement-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 8px;
}
.df-engagement-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--df-anthracite-soft);
  margin: 0;
}

/* === Conseils CMS page === */
.df-conseils-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}
.df-conseils-page h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin-bottom: 14px;
}
.df-conseils-page .df-lead {
  font-size: 16px;
  color: var(--df-anthracite-soft);
  font-style: italic;
  border-left: 3px solid var(--df-gold);
  padding-left: 16px;
  margin: 24px 0;
}
.df-conseils-toc {
  background: var(--df-cream);
  border: 1px solid var(--df-border);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0;
}
.df-conseils-toc h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--df-anthracite);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.df-conseils-toc ul { list-style: none; padding: 0; margin: 0; }
.df-conseils-toc li { padding: 4px 0; }
.df-conseils-toc a { color: var(--df-anthracite); text-decoration: none; }
.df-conseils-toc a:hover { color: var(--df-gold-dark); }
.df-conseils-toc a::before { content: '→ '; color: var(--df-gold); }
.df-conseils-page h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 36px 0 12px;
  scroll-margin-top: 100px;
}
.df-conseils-page p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--df-anthracite-soft);
}
.df-conseils-page a { color: var(--df-gold-dark); }
.df-conseils-page ul { line-height: 1.8; color: var(--df-anthracite-soft); }
.df-cta-block {
  background: var(--df-anthracite);
  color: #FFFFFF;
  padding: 36px 28px;
  border-radius: 10px;
  text-align: center;
  margin: 48px 0 24px;
}
.df-cta-block h3 { color: #FFFFFF; margin: 0 0 8px; }
.df-cta-block p { color: #C9C9C9; margin: 0 0 18px; }
.df-cta-block .btn-primary {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
}

/* === Direct-Flam: nav tabs (Description, Details, etc.) === */

.tabs .nav-tabs .nav-link,
.tabs .nav-tabs .nav-item .nav-link {
  color: var(--df-anthracite-soft) !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  background: transparent !important;
  font-weight: 600;
  padding: 10px 18px !important;
}
.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-item .nav-link.active {
  color: var(--df-gold-dark) !important;
  border-bottom: 3px solid var(--df-gold) !important;
  background: transparent !important;
}
.tabs .nav-tabs .nav-link:hover {
  color: var(--df-gold) !important;
  border-bottom-color: var(--df-gold) !important;
}

/* Generic Bootstrap nav-tabs override (for any blue tab) */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  border-color: var(--df-gold) !important;
  color: var(--df-gold-dark) !important;
}

/* Hide stock quantity text on product page */
.product-quantities, #product-quantities,
.product-availability, #product-availability,
.product-quantities .label,
.js-product-availability { display: none !important; }

/* Inline TTC label next to price on product page */
.product-prices,
.product-prices .product-price {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.product-prices .current-price,
.product-prices .price { display: inline-block !important; }
.product-prices .tax-shipping-delivery-label,
.product-prices .product-tax-label,
.product-prices .has_discount,
.product-prices > div.tax-shipping-delivery-label,
.product-prices > .tax-shipping-delivery-label {
  display: inline-block !important;
  font-size: 13px;
  color: var(--df-anthracite-soft);
  margin-left: 6px;
}

/* === Direct-Flam: A propos page === */
.df-apropos {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}
.df-apropos h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 32px 0 12px;
}
.df-apropos p, .df-apropos ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--df-anthracite-soft);
}
.df-apropos ul { padding-left: 22px; }
.df-apropos ul li { margin-bottom: 6px; }

/* CTA block: text in gold for visibility */
.df-cta-block p { color: var(--df-gold) !important; }
.df-cta-block h3 { color: #FFFFFF !important; }

/* === Direct-Flam: legal pages styling === */
.df-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}
.df-legal .df-lead {
  font-size: 15px;
  font-style: italic;
  color: var(--df-anthracite-soft);
  border-left: 3px solid var(--df-gold);
  padding-left: 16px;
  margin: 24px 0 32px;
}
.df-legal h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 12px;
}
.df-legal h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 28px 0 10px;
}
.df-legal p, .df-legal ul {
  font-size: 14px;
  line-height: 1.7;
  color: var(--df-anthracite-soft);
}
.df-legal a { color: var(--df-gold-dark); text-decoration: underline; }
.df-legal a:hover { color: var(--df-gold); }

/* === Footer hover fix === */
.footer-container a,
.footer-container .links a,
.footer-container .block-contact a,
.footer-container ul li a {
  color: #C9C9C9 !important;
  transition: color 0.15s;
}
.footer-container a:hover,
.footer-container .links a:hover,
.footer-container .block-contact a:hover,
.footer-container ul li a:hover {
  color: var(--df-gold) !important;
  text-decoration: none;
}
.footer-container .myaccount-title a,
.footer-container .myaccount-title a:hover {
  color: #FFFFFF !important;
}

/* === Direct-Flam: user info compact === */
.df-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.df-user-link, .df-logout-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
}
.df-user-link:hover, .df-logout-link:hover { color: var(--df-gold) !important; }
.df-user-link .material-icons, .df-logout-link .material-icons { font-size: 18px; }
.df-logout-link {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 10px;
}

/* === Direct-Flam: Contact page === */
.df-contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.df-contact-intro { text-align: center; margin-bottom: 32px; }
.df-contact-intro h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--df-anthracite);
  margin: 0 0 12px;
}
.df-contact-intro p {
  font-size: 15px;
  color: var(--df-anthracite-soft);
  margin: 0;
}
.df-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.df-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid var(--df-border);
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.df-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--df-gold);
}
.df-contact-card .material-icons {
  font-size: 36px;
  color: var(--df-gold);
  background: rgba(212,160,23,0.12);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 auto;
}
.df-contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.df-contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--df-anthracite-soft);
}
.df-contact-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--df-anthracite);
}
.df-contact-sub {
  font-size: 12px;
  color: var(--df-anthracite-soft);
}
.df-contact-form-wrapper {
  background: #FFFFFF;
  padding: 28px;
  border: 1px solid var(--df-border);
  border-radius: 10px;
}
.df-contact-form-wrapper h3 {
  font-size: 20px;
  margin: 0 0 18px;
  color: var(--df-anthracite);
  font-weight: 700;
}
.df-contact-form-wrapper .form-group label,
.df-contact-form-wrapper label {
  font-weight: 500;
  color: var(--df-anthracite);
}
.df-contact-form-wrapper input.form-control,
.df-contact-form-wrapper textarea.form-control,
.df-contact-form-wrapper select.form-control {
  border: 1px solid var(--df-border);
  border-radius: 6px;
}
.df-contact-form-wrapper input.form-control:focus,
.df-contact-form-wrapper textarea.form-control:focus {
  border-color: var(--df-gold);
  box-shadow: 0 0 0 0.2rem rgba(212,160,23,0.18);
}

/* === Direct-Flam: file input button styled === */
input[type='file'] {
  font-size: 14px;
  color: var(--df-anthracite-soft);
  cursor: pointer;
}
input[type='file']::file-selector-button,
input[type='file']::-webkit-file-upload-button {
  background: var(--df-gold);
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.15s;
  letter-spacing: 0.3px;
}
input[type='file']::file-selector-button:hover,
input[type='file']::-webkit-file-upload-button:hover {
  background: var(--df-gold-dark);
}

/* === Direct-Flam: kill remaining blue accents === */
a, .text-primary, .link, .h1 a, .h2 a, .h3 a, .h4 a {
  color: var(--df-anthracite);
}
a:hover, .text-primary:hover { color: var(--df-gold-dark); }
.btn-link, .nav-link {
  color: var(--df-anthracite) !important;
}
.btn-link:hover, .nav-link:hover { color: var(--df-gold-dark) !important; }
.collapse-icons .add, .collapse-icons .remove,
.navbar-toggler .material-icons { color: var(--df-gold-dark) !important; }
.block-categories .arrows { color: var(--df-gold-dark) !important; }
.block-categories a { color: var(--df-anthracite) !important; }
.block-categories a:hover { color: var(--df-gold-dark) !important; }

/* === Direct-Flam: bootstrap-filestyle button (contact form) === */
.bootstrap-filestyle .btn,
.bootstrap-filestyle label.btn,
.group-span-filestyle .btn,
.group-span-filestyle label.btn,
.bootstrap-filestyle .btn-default,
.input-group-btn .btn-default {
  background: var(--df-gold) !important;
  border-color: var(--df-gold) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  letter-spacing: 0.5px;
}
.bootstrap-filestyle .btn:hover,
.group-span-filestyle .btn:hover,
.bootstrap-filestyle label.btn:hover {
  background: var(--df-gold-dark) !important;
  border-color: var(--df-gold-dark) !important;
  color: #FFFFFF !important;
}
