#av-custom-header {
  font-family: 'Georgia', serif;
  background: 
#f0ece3;
  border-bottom: 1px solid 
#c8bfaa;
  width: 100%;
  box-sizing: border-box;
}
#av-custom-header .av-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
}
#av-custom-header .av-icon {
  color: 
#5a4e3c;
  text-decoration: none;
  min-width: 32px;
  display: flex;
  align-items: center;
}
#av-custom-header .av-title-block {
  text-align: center;
  flex: 1;
}
#av-custom-header h1 {
  font-family: 'Georgia', serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  color: 
#2c2416 !important;
  text-transform: uppercase !important;
  margin: 0 0 3px !important;
}
#av-custom-header .av-subtitle {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: 
#7a6a52;
  font-style: italic;
  text-transform: uppercase;
  margin: 0;
}
#av-custom-header .av-strip {
  position: relative;
  height: 70px;
  display: flex;
  overflow: hidden;
  border-top: 1px solid 
#c8bfaa;
  border-bottom: 1px solid 
#c8bfaa;
}
#av-custom-header .av-strip img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: saturate(0.75) brightness(0.9);
}
#av-custom-header .av-strip-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-style: italic;
  color: #fff;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.4);
  letter-spacing: 0.08em;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}
#av-custom-header .av-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 7px 32px;
  background: 
#ede8de;
  border-top: 1px solid 
#d9d0c0;
}
#av-custom-header .av-nav a {
  font-family: 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #5a4e3c;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  transition: color 0.4s ease !important;
}

#av-custom-header .av-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #2c2416;
  transition: width 0.4s ease, left 0.4s ease !important;
}

#av-custom-header .av-nav a:hover {
  color: #2c2416 !important;
}

#av-custom-header .av-nav a:hover::after {
  width: 100% !important;
  left: 0 !important;
}
/* Masquer le header original du thème */
.site-header, header.entry-header { display: none !important; }

/* ─── Hamburger ───────────────────────────────────────────── */
#av-custom-header .av-hamburger {
  display          : none;
  flex-direction   : column;
  justify-content  : center;
  gap              : 5px;
  background       : none;
  border           : none;
  cursor           : pointer;
  padding          : 6px;
  min-width        : 32px;
}


.av-hamburger span {
  display          : block;
  width            : 22px;
  height           : 1.5px;
  background       : #5a4e3c;
  transition       : transform 0.3s ease, opacity 0.3s ease;
  transform-origin : center;
}

/* Croix quand ouvert */
.av-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.av-hamburger.is-open span:nth-child(2) { opacity: 0; }
.av-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {

  #av-custom-header .av-hamburger {
    display : flex;
  }

  #av-custom-header .av-nav {
    flex-direction  : row;
    justify-content : flex-end;
    padding         : 6px 16px;
    position        : relative;
  }

  #av-custom-header .av-nav-links {
    display         : none;
    position        : absolute;
    top             : 100%;
    left            : 0;
    right           : 0;
    flex-direction  : column;
    align-items     : center;
    gap             : 0;
    background      : #ede8de;
    border-bottom   : 1px solid #d9d0c0;
    z-index         : 999;
    padding         : 0.5rem 0 1rem;
  }

  #av-custom-header .av-nav-links.is-open {
    display : flex;
  }

  #av-custom-header .av-nav-links a {
    padding : 0.6rem 2rem;
    width   : 100%;
    text-align : center;
  }

  #av-custom-header .av-strip {
    height : 48px;
  }

  .av-strip-name {
    font-size : 16px !important;
  }
}

@media (min-width: 769px) {
  #av-custom-header .av-nav-links {
    display : flex !important;
    gap     : 32px;
  }
}