/* ==========================================================================
   DLX HEADER — Artdeluxe Paris  ·  v3
   Logo en HAUT À GAUCHE (économie d'espace) · nav 2 lignes centrées compactes
   6 sections uniformes · charte DLX (Playfair/Montserrat, crème/or/noir)
   ========================================================================== */

:root {
  --dlxh-cream: #FCFBFA;
  --dlxh-cream2: #F7F4EE;
  --dlxh-gold: #B59A6D;
  --dlxh-gold-deep: #9A8055;
  --dlxh-ink: #151515;
  --dlxh-grey: #6E6A61;
  --dlxh-line: #E7E2D8;
  --dlxh-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --dlxh-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --dlxh-ease: cubic-bezier(.22, .61, .36, 1);
}

/* — Header Astra neutralisé — */
#masthead,
#ast-mobile-header,
#ast-mobile-popup,
.ast-mobile-header-wrap { display: none !important; }

html { scroll-padding-top: 120px; }

/* ==========================================================================
   COQUILLE
   ========================================================================== */
.dlxh-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: var(--dlxh-cream);
  border-bottom: 1px solid var(--dlxh-line);
  font-family: var(--dlxh-sans);
  transition: transform .5s var(--dlxh-ease), box-shadow .4s ease;
}
body.admin-bar .dlxh-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .dlxh-header { top: 46px; } }

.dlxh-header.is-hidden { transform: translateY(-103%); }
.dlxh-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(21, 21, 21, .16); }

.dlxh-header *,
.dlxh-veil *,
.dlxh-mpanel * { box-sizing: border-box; margin: 0; padding: 0; }

.dlxh-header a,
.dlxh-veil a,
.dlxh-mpanel a { text-decoration: none; border-bottom: none; color: inherit; }

.dlxh-header button,
.dlxh-veil button,
.dlxh-mpanel button {
  background: none; border: 0; cursor: pointer;
  font-family: inherit; color: inherit; line-height: 1;
}

.dlxh-header svg { display: block; }

/* ==========================================================================
   BARRE PRINCIPALE — logo à gauche · utilitaires + icônes à droite
   ========================================================================== */
.dlxh-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 46px;
  height: 66px;
  transition: height .4s var(--dlxh-ease);
}
.dlxh-header.is-compact .dlxh-bar { height: 58px; }

/* — Wordmark texte (non tronqué) — */
.dlxh-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.dlxh-logo-name {
  font-family: var(--dlxh-serif);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: .03em;
  color: var(--dlxh-ink);
  line-height: 1.05;
  transition: font-size .4s var(--dlxh-ease), color .25s ease;
}
.dlxh-logo:hover .dlxh-logo-name { color: #000; }
.dlxh-logo-city {
  display: block;
  font-family: var(--dlxh-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--dlxh-gold-deep);
  text-transform: uppercase;
  margin-top: 5px;
  line-height: 1.2;
}
.dlxh-header.is-compact .dlxh-logo-name { font-size: 21px; }

/* — Cluster droite — */
.dlxh-bar-right {
  display: flex;
  align-items: center;
  gap: 30px;
}
.dlxh-util-nav { display: flex; align-items: center; gap: 26px; }
.dlxh-util-link {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dlxh-grey);
  white-space: nowrap;
  transition: color .25s ease;
}
.dlxh-util-link:hover { color: var(--dlxh-ink); }

.dlxh-bar-sep { width: 1px; height: 20px; background: var(--dlxh-line); }

/* — Sélecteur de langue — */
.dlxh-lang { display: flex; align-items: center; gap: 9px; }
.dlxh-lang-a {
  position: relative;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--dlxh-grey);
  padding-bottom: 2px;
  transition: color .25s ease;
}
.dlxh-lang-a:hover { color: var(--dlxh-ink); }
.dlxh-lang-a.is-active { color: var(--dlxh-ink); font-weight: 600; }
.dlxh-lang-a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dlxh-gold);
}
.dlxh-lang-sep { width: 1px; height: 10px; background: var(--dlxh-line); }

/* — Icônes — */
.dlxh-iconbar { display: flex; align-items: center; gap: 18px; }
.dlxh-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: var(--dlxh-ink);
  transition: color .25s ease;
}
.dlxh-icon-btn:hover { color: var(--dlxh-gold-deep); }

.dlxh-cart-count {
  position: absolute;
  top: -2px; right: -4px;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--dlxh-gold);
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  border-radius: 50%;
  font-family: var(--dlxh-sans);
}
.dlxh-cart-count.is-on { display: inline-flex; }

/* ==========================================================================
   NAVIGATION — 2 lignes CENTRÉES et COMPACTES (6 sections uniformes)
   ========================================================================== */
.dlxh-nav {
  border-top: 1px solid var(--dlxh-line);
  padding: 12px 46px;
  transition: max-height .4s var(--dlxh-ease), padding .4s var(--dlxh-ease), opacity .3s ease;
  overflow: visible;
}

.dlxh-row {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.dlxh-row-1 { margin-bottom: 7px; }

.dlxh-row > li { list-style: none; position: static; }

/* — Lien de section : IDENTIQUE pour les 6 — */
.dlxh-nav-link {
  position: relative;
  display: inline-block;
  padding: 3px 1px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dlxh-ink);
  white-space: nowrap;
  transition: color .3s ease;
}
.dlxh-nav-link:hover { color: var(--dlxh-gold-deep); }
.dlxh-nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--dlxh-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--dlxh-ease);
}
.dlxh-nav-link:hover::after,
.dlxh-has-panel.is-active .dlxh-nav-link::after,
.dlxh-has-panel:focus-within .dlxh-nav-link::after { transform: scaleX(1); }

/* ==========================================================================
   PANNEAUX UNIVERS (méga-menu) — piloté par .is-active (JS) + focus
   ========================================================================== */
.dlxh-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--dlxh-cream);
  border-top: 1px solid var(--dlxh-line);
  border-bottom: 1px solid var(--dlxh-line);
  box-shadow: 0 26px 44px -30px rgba(21, 21, 21, .17);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .26s ease, transform .3s var(--dlxh-ease), visibility 0s linear .26s;
  pointer-events: none;
}
.dlxh-panel::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -24px;
  height: 24px;
}
.dlxh-has-panel.is-active .dlxh-panel,
.dlxh-has-panel:focus-within .dlxh-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .26s ease .04s, transform .3s var(--dlxh-ease) .04s, visibility 0s;
  pointer-events: auto;
}

.dlxh-panel-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 46px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 60px;
}

.dlxh-panel-heading {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dlxh-gold);
  margin-bottom: 17px;
}

.dlxh-panel-list { list-style: none; }
.dlxh-panel-list li { list-style: none; margin-bottom: 10px; }
.dlxh-panel-list a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: none;
  color: #3F3C36;
  display: inline-block;
  transition: color .25s ease, transform .3s var(--dlxh-ease);
}
.dlxh-panel-list a:hover {
  color: var(--dlxh-gold-deep);
  transform: translateX(3px);
}

.dlxh-panel-edito {
  border-left: 1px solid var(--dlxh-line);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.dlxh-panel-quote {
  font-family: var(--dlxh-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--dlxh-ink);
}
.dlxh-panel-cta {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dlxh-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap .3s var(--dlxh-ease), color .25s ease;
}
.dlxh-panel-cta:hover { gap: 15px; color: var(--dlxh-ink); }

/* ==========================================================================
   VOILE DE RECHERCHE
   ========================================================================== */
.dlxh-veil {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(252, 251, 250, .985);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.dlxh-veil.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility 0s;
}
.dlxh-veil-inner {
  width: min(680px, 86vw);
  margin-top: 21vh;
  text-align: center;
  transform: translateY(14px);
  transition: transform .45s var(--dlxh-ease);
}
.dlxh-veil.is-open .dlxh-veil-inner { transform: translateY(0); }
.dlxh-veil-label {
  font-family: var(--dlxh-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--dlxh-gold);
  display: block;
  margin-bottom: 28px;
}
.dlxh-veil-form { position: relative; }
.dlxh-veil-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dlxh-ink);
  border-radius: 0;
  padding: 6px 44px 16px 2px;
  font-family: var(--dlxh-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 400;
  color: var(--dlxh-ink);
  text-align: center;
  outline: none;
  box-shadow: none;
}
.dlxh-veil-input::placeholder { color: #B8B2A6; font-style: italic; }
.dlxh-veil-input:focus { border-bottom-color: var(--dlxh-gold); box-shadow: none; outline: none; }
.dlxh-veil-submit {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-58%);
  color: var(--dlxh-ink);
  transition: color .25s ease;
}
.dlxh-veil-submit:hover { color: var(--dlxh-gold-deep); }
.dlxh-veil-hint {
  margin-top: 24px;
  font-family: var(--dlxh-sans);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--dlxh-grey);
}
.dlxh-veil-close {
  position: absolute;
  top: 32px; right: 44px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dlxh-ink);
  transition: color .25s ease, transform .35s var(--dlxh-ease);
}
.dlxh-veil-close:hover { color: var(--dlxh-gold-deep); transform: rotate(90deg); }

/* ==========================================================================
   MOBILE
   ========================================================================== */
.dlxh-burger { display: none; }
.dlxh-mobile-icons { display: none; }

.dlxh-mpanel {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: var(--dlxh-cream);
  transform: translateX(-100%);
  transition: transform .5s var(--dlxh-ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dlxh-mpanel.is-open { transform: translateX(0); }
body.dlxh-locked { overflow: hidden; }

.dlxh-mpanel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 60px;
  border-bottom: 1px solid var(--dlxh-line);
  flex-shrink: 0;
}
.dlxh-mpanel-brand { display: flex; flex-direction: column; line-height: 1; }
.dlxh-mpanel-brand .n { font-family: var(--dlxh-serif); font-size: 20px; color: var(--dlxh-ink); }
.dlxh-mpanel-brand .c {
  font-family: var(--dlxh-sans); font-size: 8px; font-weight: 500;
  letter-spacing: .4em; text-indent: .4em; color: var(--dlxh-gold-deep);
  text-transform: uppercase; margin-top: 4px;
}
.dlxh-mpanel-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dlxh-ink);
  margin-right: -10px;
}
.dlxh-mpanel-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 26px 26px 40px;
}
.dlxh-mnav { list-style: none; }
.dlxh-mnav > li { list-style: none; border-bottom: 1px solid var(--dlxh-line); }
.dlxh-mnav-link,
.dlxh-macc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 2px;
  font-family: var(--dlxh-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--dlxh-ink);
  text-align: left;
}
.dlxh-macc-btn svg { transition: transform .35s var(--dlxh-ease); color: var(--dlxh-gold-deep); flex-shrink: 0; }
.dlxh-mnav li.is-open .dlxh-macc-btn svg { transform: rotate(180deg); }
.dlxh-macc-content { max-height: 0; overflow: hidden; transition: max-height .45s var(--dlxh-ease); }
.dlxh-macc-content ul { list-style: none; padding: 2px 0 16px; }
.dlxh-macc-content li { list-style: none; }
.dlxh-macc-content a {
  display: block;
  padding: 9px 2px 9px 18px;
  font-family: var(--dlxh-sans);
  font-size: 13px;
  letter-spacing: .05em;
  color: #4A463F;
}
.dlxh-mutil { list-style: none; margin-top: 30px; }
.dlxh-mutil li { list-style: none; }
.dlxh-mutil a {
  display: block;
  padding: 11px 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dlxh-grey);
}
.dlxh-mpanel-foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-top: 1px solid var(--dlxh-line);
  background: var(--dlxh-cream2);
}
.dlxh-mpanel-foot .dlxh-lang-a { font-size: 11px; }
.dlxh-maccount {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dlxh-ink);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .dlxh-row { gap: 24px; }
  .dlxh-bar { padding: 0 26px; }
  .dlxh-nav { padding: 12px 26px; }
  .dlxh-bar-right { gap: 22px; }
  .dlxh-util-nav { gap: 20px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 70px; }

  .dlxh-nav { display: none; }

  .dlxh-bar {
    display: grid;
    grid-template-columns: 84px 1fr 84px;
    align-items: center;
    height: 60px;
    padding: 0 16px;
  }

  .dlxh-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px; height: 44px;
    padding: 0 8px;
    grid-column: 1;
  }
  .dlxh-burger span {
    display: block;
    height: 1px;
    background: var(--dlxh-ink);
    transition: width .3s var(--dlxh-ease);
  }
  .dlxh-burger span:nth-child(1) { width: 22px; }
  .dlxh-burger span:nth-child(2) { width: 14px; }

  .dlxh-logo {
    grid-column: 2;
    align-items: center;
    justify-self: center;
  }
  .dlxh-logo-name { font-size: 20px !important; }
  .dlxh-logo-city { display: none; }

  .dlxh-bar-right { display: none; }

  .dlxh-mobile-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    grid-column: 3;
  }
}

@media (min-width: 1025px) {
  .dlxh-mpanel { display: none; }
  .dlxh-burger, .dlxh-mobile-icons { display: none; }
}

@media (max-width: 480px) {
  .dlxh-veil-close { top: 12px; right: 12px; }
  .dlxh-veil-inner { margin-top: 15vh; }
}

/* ==========================================================================
   ACCESSIBILITÉ
   ========================================================================== */
.dlxh-header a:focus-visible,
.dlxh-header button:focus-visible,
.dlxh-veil a:focus-visible,
.dlxh-veil button:focus-visible,
.dlxh-veil input:focus-visible,
.dlxh-mpanel a:focus-visible,
.dlxh-mpanel button:focus-visible {
  outline: 1px solid var(--dlxh-gold);
  outline-offset: 3px;
}
.dlxh-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .dlxh-header, .dlxh-panel, .dlxh-veil, .dlxh-veil-inner,
  .dlxh-mpanel, .dlxh-macc-content, .dlxh-nav-link::after { transition: none !important; }
}
@media print {
  .dlxh-header, .dlxh-veil, .dlxh-mpanel { display: none !important; }
}
