/* Maison Gabrielle header polish for Warehouse + Iqit Mega Menu */
:root {
  --mg-header-bg: rgba(247, 241, 232, .94);
  --mg-header-ink: #1a1a17;
  --mg-header-muted: #746d63;
  --mg-header-line: rgba(26, 26, 23, .12);
  --mg-header-paper: #fbf6ee;
  --mg-header-gold: #8a6a3d;
  --mg-header-serif: "Cormorant Garamond", "Times New Roman", serif;
  --mg-header-sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mg-icon-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a17' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  --mg-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a17' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.6'/%3E%3Cpath d='m16 16 4.1 4.1'/%3E%3C/svg%3E");
  --mg-icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a17' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.2 20.2a7.2 7.2 0 0 0-14.4 0'/%3E%3Ccircle cx='12' cy='8.2' r='4.1'/%3E%3C/svg%3E");
  --mg-icon-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a17' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.8 8.2h10.4l.9 11H5.9l.9-11Z'/%3E%3Cpath d='M9 8.2V6.9a3 3 0 0 1 6 0v1.3'/%3E%3C/svg%3E");
  --mg-icon-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a17' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 5.8a5.2 5.2 0 0 0-7.4 0L12 6.6l-.8-.8a5.2 5.2 0 1 0-7.4 7.4L12 21l8.2-7.8a5.2 5.2 0 0 0 0-7.4Z'/%3E%3C/svg%3E");
}

#header {
  position: sticky;
  top: 0;
  z-index: 1040;
  color: var(--mg-header-ink);
  background: var(--mg-header-bg);
  border-bottom: 1px solid var(--mg-header-line);
  box-shadow: 0 18px 42px rgba(26, 26, 23, .045);
  backdrop-filter: blur(18px);
}

#header .header-banner,
#header .header-nav {
  display: none;
}

#desktop-header .header-top {
  padding: 0 !important;
  background: transparent;
}

#desktop-header-container,
.container-iqitmegamenu,
.iqit-megamenu-container {
  width: min(100%, 1760px);
  max-width: none;
}

#desktop-header {
  position: relative;
  min-height: 78px;
}

#desktop-header-container {
  height: 78px;
  padding: 0 clamp(22px, 4.8vw, 88px);
}

#desktop-header .row.align-items-center {
  min-height: 78px;
}

#desktop-header .col-header-left {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: auto;
  transform: translate(-50%, -50%);
}

#desktop_logo .mg-header-brand,
.col-mobile-logo .mg-header-brand {
  position: relative;
  display: inline-flex;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 58px;
  background: none;
  color: var(--mg-header-ink) !important;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  overflow: visible;
}

#desktop_logo .mg-header-brand::before,
#desktop_logo .mg-header-brand::after,
.col-mobile-logo .mg-header-brand::before,
.col-mobile-logo .mg-header-brand::after {
  display: none;
  content: none;
}

.mg-header-brand__love {
  color: var(--mg-header-ink);
  font-family: var(--mg-header-serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.mg-header-brand__by {
  margin-top: -2px;
  color: var(--mg-header-muted);
  font-family: var(--mg-header-serif);
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.mg-header-brand__name {
  margin-top: 2px;
  color: var(--mg-header-ink);
  font-family: var(--mg-header-sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .42em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

#desktop_logo img,
.col-mobile-logo img {
  width: 1px;
  height: 1px;
  opacity: 0;
}

#desktop-header .col-header-center {
  position: absolute;
  right: clamp(122px, 12vw, 230px);
  top: 50%;
  z-index: 4;
  display: flex;
  justify-content: center;
  width: auto;
  transform: translateY(-50%);
}

#desktop-header #search_widget {
  width: 42px;
}

#desktop-header #search_widget .input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

#desktop-header #search_widget .form-search-control {
  display: none;
}

#desktop-header #search_widget .search-btn {
  width: 44px;
  height: 42px;
  border: 0;
  color: var(--mg-header-ink);
  background: transparent;
}

#desktop-header .header-search-btn-w .dropdown-menu-custom:not(.show),
#desktop-header .header-search-btn-w .dropdown-menu:not(.show) {
  display: none !important;
}

#desktop-header .header-search-btn-w .fullscreen-search,
#desktop-header .header-search-btn-w #fullscreen-search-backdrop {
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

#desktop-header .col-header-right {
  position: absolute;
  right: clamp(22px, 4.8vw, 88px);
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: auto;
  color: var(--mg-header-muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

#desktop-header .col-header-right a,
#desktop-header .col-header-right button {
  color: inherit;
}

#desktop-header .col-header-right .dropdown,
#desktop-header .col-header-right .ps-shoppingcart,
#desktop-header .col-header-right .user-info,
#desktop-header .col-header-right .blockcart,
#desktop-header .col-header-right > * {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

#desktop-header .col-header-right .cart-products-count,
#desktop-header .col-header-right .cart-products-count-btn {
  min-width: 16px;
  min-height: 16px;
  color: var(--mg-header-paper);
  background: var(--mg-header-ink);
  border-radius: 999px;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

#desktop-header .col-header-right .cart-preview,
#desktop-header .col-header-right .blockcart,
#desktop-header .col-header-right .ps-shoppingcart a {
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  color: var(--mg-header-ink) !important;
  background: transparent !important;
  border: 0 !important;
}

#desktop-header .col-header-right .cart-preview span:not(.cart-products-count),
#desktop-header .col-header-right .ps-shoppingcart a span:not(.cart-products-count),
#desktop-header .col-header-right .user-info span,
#desktop-header .col-header-right .account span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.iqit-megamenu-container {
  position: absolute;
  left: clamp(22px, 4.8vw, 88px);
  top: 50%;
  z-index: 3;
  width: min(760px, calc(50vw - 130px));
  padding: 0;
  transform: translateY(-50%);
}

#iqitmegamenu-wrapper,
#iqitmegamenu-horizontal,
#cbp-hrmenu {
  background: transparent;
}

#iqitmegamenu-wrapper .container {
  max-width: none;
  padding: 0;
}

#cbp-hrmenu > ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.15vw, 22px);
  margin: 0;
  padding: 0;
  border-top: 0;
}

#cbp-hrmenu .cbp-hrmenu-tab {
  float: none;
  margin: 0;
  border: 0 !important;
}

#cbp-hrmenu .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0 !important;
  color: var(--mg-header-muted);
  font-family: var(--mg-header-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .22s ease;
}

#cbp-hrmenu .cbp-tab-title {
  white-space: nowrap;
}

#cbp-hrmenu .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--mg-header-ink);
  transform: translateX(-50%);
  transition: width .22s ease;
}

#cbp-hrmenu .nav-link:hover,
#cbp-hrmenu .nav-link:focus-visible {
  color: var(--mg-header-ink);
}

#cbp-hrmenu .nav-link:hover::after,
#cbp-hrmenu .nav-link:focus-visible::after {
  width: 34px;
}

#mobile-header {
  background: var(--mg-header-bg);
  border-bottom: 1px solid var(--mg-header-line);
  backdrop-filter: blur(18px);
}

#mobile-header-sticky .container {
  max-width: none;
  padding: 0 16px;
}

.mobile-main-bar {
  min-height: 72px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#mobile-header .row-mobile-header {
  min-height: 72px;
  flex-wrap: nowrap;
  margin-right: 0;
  margin-left: 0;
}

#mobile-header .col-mobile-btn {
  flex: 0 0 42px;
  max-width: 42px;
  min-width: 42px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0;
  padding-left: 0;
}

#mobile-header .col-mobile-logo {
  min-width: 0;
  display: flex;
  justify-content: center;
}

#mobile-header .col-mobile-btn-menu {
  margin-right: 2px;
}

#mobile-btn-search {
  margin-right: auto;
}

#mobile-header .col-mobile-btn-account {
  margin-left: auto;
}

.m-nav-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mg-header-ink);
  transition: color .2s ease, transform .2s ease;
}

.m-nav-btn i {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  color: transparent !important;
  font-size: 0;
  line-height: 1;
}

#mobile-header .m-nav-btn i::before,
#desktop-header #search_widget .search-btn i::before,
#desktop-header .col-header-right i::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#mobile-header .fa-bars::before {
  background-image: var(--mg-icon-menu);
}

#mobile-header .fa-search::before,
#desktop-header #search_widget .fa-search::before,
#desktop-header .col-header-right .fa-search::before,
#desktop-header .header-search-btn .fa-search::before {
  background-image: var(--mg-icon-search);
}

#mobile-header .fa-user::before,
#desktop-header .col-header-right .fa-user::before {
  background-image: var(--mg-icon-user);
}

#mobile-header .fa-shopping-bag::before,
#desktop-header .col-header-right .fa-shopping-bag::before,
#desktop-header .col-header-right .fa-shopping-cart::before {
  background-image: var(--mg-icon-bag);
}

#desktop-header .col-header-right .fa-heart::before,
#desktop-header .col-header-right .fa-heart-o::before,
#header .header-nav .fa-heart::before,
#header .header-nav .fa-heart-o::before {
  background-image: var(--mg-icon-heart);
}

#mobile-header .m-nav-btn:hover,
#mobile-header .m-nav-btn:focus-visible,
#desktop-header #search_widget .search-btn:hover,
#desktop-header #search_widget .search-btn:focus-visible,
#desktop-header .col-header-right a:hover,
#desktop-header .col-header-right a:focus-visible {
  color: var(--mg-header-gold) !important;
}

#desktop-header #search_widget .search-btn i,
#desktop-header .col-header-right i {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  color: transparent !important;
  font-size: 0;
  line-height: 1;
}

#mobile-cart-products-count,
.mobile-bag-icon .cart-products-count {
  top: -7px !important;
  right: -8px !important;
  color: var(--mg-header-paper) !important;
  background: var(--mg-header-ink) !important;
  box-shadow: none !important;
}

.m-nav-btn span {
  color: var(--mg-header-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mobile-menu {
  color: var(--mg-header-ink);
  background: var(--mg-header-paper);
}

.mobile-menu__header-wrapper,
.mobile-menu__footer {
  border-color: var(--mg-header-line);
  background: var(--mg-header-bg);
}

.mobile-menu__link {
  color: var(--mg-header-ink);
  font-family: var(--mg-header-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

body#index #header {
  margin-bottom: 0;
}

body#index .mg-announcement {
  position: sticky;
  top: 0;
  z-index: 1050;
}

body#index.mg-has-announcement #header {
  top: 38px;
}

body#index .mg-home {
  margin-top: 0;
}

@media (max-width: 991px) {
  #desktop-header,
  .iqit-megamenu-container {
    display: none;
  }
}

@media (min-width: 992px) {
  #mobile-header {
    display: none;
  }
}

@media (max-width: 560px) {
  body#index.mg-has-announcement #header {
    top: 34px;
  }

  .col-mobile-logo a {
    width: min(190px, 43vw);
    height: 50px;
  }

  .mg-header-brand__love {
    font-size: 24px;
  }

  .mg-header-brand__name {
    font-size: 8px;
    letter-spacing: .28em;
  }

  .m-nav-btn span {
    display: none;
  }

  #mobile-header-sticky .container {
    padding: 0 12px;
  }

  #mobile-header .col-mobile-btn {
    flex-basis: 38px;
    max-width: 38px;
    min-width: 38px;
  }

  .m-nav-btn {
    width: 38px;
    height: 42px;
  }

  .m-nav-btn i,
  #mobile-header .m-nav-btn i::before {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 390px) {
  .col-mobile-logo a {
    width: 160px;
  }

  .mg-header-brand__love {
    font-size: 23px;
  }

  .mg-header-brand__name {
    font-size: 7px;
    letter-spacing: .18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header *,
  #mobile-header * {
    transition: none !important;
  }
}

#desktop-header.desktop-header-style-4 #desktop-header-container > .row {
  position: relative;
  display: block !important;
  min-height: 78px;
  margin-right: 0;
  margin-left: 0;
}

#desktop-header.desktop-header-style-4 .col-header-left {
  position: absolute;
  left: clamp(22px, 4.8vw, 88px);
  top: 50%;
  z-index: 3;
  display: block !important;
  width: min(690px, calc(50vw - 168px));
  max-width: none;
  padding: 0;
  transform: translateY(-50%);
}

#desktop-header.desktop-header-style-4 .col-header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 230px;
  max-width: 230px;
  padding: 0;
  transform: translate(-50%, -50%);
}

#desktop-header.desktop-header-style-4 .col-header-right {
  position: absolute;
  right: clamp(22px, 4.8vw, 88px);
  top: 50%;
  z-index: 4;
  width: auto;
  max-width: none;
  padding: 0;
  transform: translateY(-50%);
}

#desktop-header.desktop-header-style-4 .col-header-right > .row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
}

#desktop-header.desktop-header-style-4 #iqitmegamenu-wrapper,
#desktop-header.desktop-header-style-4 .container-iqitmegamenu {
  display: block !important;
  width: auto !important;
  max-width: none !important;
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
  flex-wrap: nowrap;
  gap: clamp(22px, 2vw, 38px);
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link {
  min-height: 78px;
  color: #746d63;
  font-size: clamp(17px, 1.45vw, 24px);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: none;
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link::after {
  bottom: 18px;
  background: rgba(26, 26, 23, .32);
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link:hover,
#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link:focus-visible {
  color: var(--mg-header-ink);
}

/* Codex header refinement: larger, cleaner, no framed logo/actions */
:root {
  --mg-header-bg: rgba(252, 248, 240, .9);
  --mg-header-bg-solid: #fcf8f0;
  --mg-header-paper: #fffaf1;
  --mg-header-ink: #171511;
  --mg-header-muted: #62594e;
  --mg-header-soft: #8f8170;
  --mg-header-line: rgba(23, 21, 17, .11);
  --mg-header-gold: #a17b45;
}

#header {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .97), rgba(248, 241, 230, .9)),
    var(--mg-header-bg-solid);
  border-bottom-color: rgba(87, 71, 49, .12);
  box-shadow: 0 16px 42px rgba(51, 42, 30, .075);
}

#header::before,
#header::after,
#desktop_logo .mg-header-brand::before,
#desktop_logo .mg-header-brand::after,
.col-mobile-logo .mg-header-brand::before,
.col-mobile-logo .mg-header-brand::after {
  display: none !important;
  content: none !important;
}

#desktop-header,
#desktop-header-container,
#desktop-header.desktop-header-style-4 #desktop-header-container > .row {
  min-height: 88px;
}

#desktop-header-container {
  height: 88px;
}

#desktop_logo .mg-header-brand,
.col-mobile-logo .mg-header-brand {
  width: 268px;
  height: 66px;
  padding: 0;
}

.mg-header-brand__love {
  font-size: 35px;
  line-height: .94;
}

.mg-header-brand__by {
  margin-top: 0;
  color: var(--mg-header-soft);
  font-size: 12px;
}

.mg-header-brand__name {
  margin-top: 5px;
  color: #2a251d;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .48em;
}

#desktop-header.desktop-header-style-4 .col-header-left {
  width: min(790px, calc(50vw - 178px));
}

#desktop-header.desktop-header-style-4 .col-header-center {
  width: 268px;
  max-width: 268px;
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
  gap: clamp(24px, 2.1vw, 42px);
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link {
  min-height: 88px;
  color: var(--mg-header-muted);
  font-family: var(--mg-header-serif);
  font-size: clamp(23px, 1.42vw, 29px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link::after {
  bottom: 17px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(161, 123, 69, .72), transparent);
}

#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link:hover::after,
#desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link:focus-visible::after {
  width: 66px;
}

#desktop-header.desktop-header-style-4 .col-header-right > .row {
  gap: 16px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#desktop-header .header-btn,
#desktop-header .col-header-right .ps-shoppingcart a,
#desktop-header .col-header-right .cart-preview,
#desktop-header #search_widget .search-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color .22s ease, opacity .22s ease, transform .22s ease;
}

#desktop-header .header-btn:hover,
#desktop-header .header-btn:focus-visible,
#desktop-header .col-header-right .ps-shoppingcart a:hover,
#desktop-header .col-header-right .ps-shoppingcart a:focus-visible,
#desktop-header #search_widget .search-btn:hover,
#desktop-header #search_widget .search-btn:focus-visible {
  color: var(--mg-header-gold) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

#desktop-header #search_widget .search-btn i,
#desktop-header .col-header-right i,
#mobile-header .m-nav-btn i {
  width: 26px;
  height: 26px;
}

#mobile-header .m-nav-btn i::before,
#desktop-header #search_widget .search-btn i::before,
#desktop-header .col-header-right i::before {
  width: 26px;
  height: 26px;
}

#desktop-header .header-search-btn-w .fullscreen-search {
  padding: 28px clamp(18px, 4vw, 72px);
  background: rgba(252, 248, 240, .96);
  backdrop-filter: blur(18px);
}

#desktop-header .header-search-btn-w #search_widget {
  width: min(720px, calc(100vw - 36px));
  margin: 0 auto;
}

#desktop-header .header-search-btn-w #search_widget .input-group {
  width: 100%;
  height: 58px;
  padding: 0 8px 0 22px;
  border: 1px solid rgba(23, 21, 17, .12);
  border-radius: 999px;
  background: var(--mg-header-paper);
  box-shadow: 0 18px 40px rgba(51, 42, 30, .12);
}

#desktop-header .header-search-btn-w #search_widget .form-search-control {
  display: block;
  height: 56px;
  border: 0;
  color: var(--mg-header-ink);
  background: transparent;
  font-family: var(--mg-header-sans);
  font-size: 15px;
}

#desktop-header .header-search-btn-w #search_widget .search-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 999px !important;
  background: var(--mg-header-ink) !important;
}

#desktop-header .header-search-btn-w #search_widget .search-btn i::before {
  filter: invert(1) brightness(2);
}

#mobile-header {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .97), rgba(248, 241, 230, .92)),
    var(--mg-header-bg-solid);
  box-shadow: 0 10px 30px rgba(51, 42, 30, .07);
}

.mobile-main-bar,
#mobile-header .row-mobile-header {
  min-height: 74px;
}

#mobile-header .col-mobile-btn {
  flex-basis: 44px;
  max-width: 44px;
  min-width: 44px;
}

.m-nav-btn {
  width: 44px;
  height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.m-nav-btn:hover,
.m-nav-btn:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.m-nav-btn span {
  font-size: 10px;
}

#search-widget-mobile.dropdown-menu,
#search-widget-mobile.dropdown-content {
  left: 12px !important;
  right: 12px !important;
  width: auto !important;
  min-width: 0;
  margin-top: 10px;
  padding: 12px;
  border: 0;
  border-radius: 18px;
  background: rgba(252, 248, 240, .98);
  box-shadow: 0 22px 46px rgba(51, 42, 30, .15);
}

#search-widget-mobile .input-group {
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 17, .11);
  border-radius: 999px;
  background: var(--mg-header-paper);
}

#search-widget-mobile .form-search-control {
  height: 50px;
  border: 0;
  background: transparent;
  font-size: 15px;
}

#search-widget-mobile .search-btn {
  width: 50px;
  border: 0;
  color: var(--mg-header-paper);
  background: var(--mg-header-ink);
}

.mobile-menu__link {
  padding: 15px 0;
  border-bottom: 1px solid rgba(23, 21, 17, .08);
  font-family: var(--mg-header-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1240px) and (min-width: 992px) {
  #desktop-header.desktop-header-style-4 .col-header-left {
    width: min(650px, calc(50vw - 154px));
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
    gap: 20px;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link {
    font-size: 21px;
  }

  #desktop_logo .mg-header-brand {
    width: 232px;
  }
}

@media (max-width: 560px) {
  .mobile-main-bar,
  #mobile-header .row-mobile-header {
    min-height: 70px;
  }

  .col-mobile-logo .mg-header-brand {
    width: min(184px, 44vw);
    height: 54px;
  }

  .mg-header-brand__love {
    font-size: 27px;
  }

  .mg-header-brand__by {
    font-size: 10px;
  }

  .mg-header-brand__name {
    font-size: 7.5px;
    letter-spacing: .3em;
  }
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  #header,
  #mobile-header,
  #desktop-header .header-search-btn-w .fullscreen-search {
    background: var(--mg-header-bg-solid);
  }
}

/* Codex: align header to the couture product-page mockup */
@media (min-width: 992px) {
  #header {
    padding-top: 24px;
    background: #f7f0e6;
    border-bottom: 1px solid rgba(30, 27, 22, .08);
    box-shadow: none;
    backdrop-filter: none;
  }

  #header::before {
    content: "COLLECTION LOVE 2026   +   LIVRAISON OFFERTE DANS LE MONDE ENTIER   +   ESSAYAGE PRIVE SUR RENDEZ-VOUS   +   ATELIER PARIS - MARRAKECH - MILAN   +   NOUVELLE COLLECTION LOVE 2026" !important;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex !important;
    height: 24px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(247, 240, 230, .78);
    background: #171713;
    font-family: var(--mg-header-sans);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .34em;
    line-height: 1;
    white-space: nowrap;
  }

  #header::after {
    display: none !important;
  }

  #desktop-header,
  #desktop-header-container,
  #desktop-header.desktop-header-style-4 #desktop-header-container > .row {
    min-height: 56px;
  }

  #desktop-header-container {
    height: 56px;
    padding-right: clamp(24px, 7vw, 150px);
    padding-left: clamp(24px, 7vw, 150px);
  }

  #desktop_logo .mg-header-brand {
    width: 154px;
    height: 42px;
  }

  .mg-header-brand__love {
    font-size: 22px;
    line-height: .9;
  }

  .mg-header-brand__by {
    margin-top: -1px;
    font-size: 8px;
  }

  .mg-header-brand__name {
    margin-top: 2px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .42em;
  }

  #desktop-header.desktop-header-style-4 .col-header-center {
    width: 154px;
    max-width: 154px;
  }

  #desktop-header.desktop-header-style-4 .col-header-left {
    left: clamp(24px, 7vw, 150px);
    width: min(430px, calc(50vw - 100px));
  }

  #desktop-header.desktop-header-style-4 .col-header-right {
    right: clamp(24px, 7vw, 150px);
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
    gap: clamp(18px, 2vw, 34px);
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link {
    min-height: 56px;
    color: #4b463e;
    font-family: var(--mg-header-sans);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link::after {
    bottom: 11px;
    background: rgba(161, 123, 69, .62);
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link:hover::after,
  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link:focus-visible::after {
    width: 38px;
  }

  #desktop-header.desktop-header-style-4 .col-header-right > .row {
    gap: 8px;
  }

  #desktop-header .header-btn,
  #desktop-header .col-header-right .ps-shoppingcart a,
  #desktop-header .col-header-right .cart-preview,
  #desktop-header #search_widget .search-btn {
    width: 27px;
    min-width: 27px;
    height: 32px;
    min-height: 32px;
  }

  #desktop-header #search_widget .search-btn i,
  #desktop-header .col-header-right i,
  #desktop-header #search_widget .search-btn i::before,
  #desktop-header .col-header-right i::before {
    width: 15px;
    height: 15px;
  }

  #desktop-header .header-search-btn-w #search_widget .search-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  body.page-product #header,
  body.page-category #header {
    position: sticky;
  }
}

@media (max-width: 560px) {
  #mobile-header {
    background: #f7f0e6;
    box-shadow: none;
  }
}

/* ==========================================================================
   MG header v2 — clean centred-logo bar (fixes nav/logo overlap + polish)
   Authoritative desktop layout: nav (left) · logo (centre) · icons (right).
   Uses flexbox instead of overlapping absolute columns, so the brand mark
   stays dead-centre and the menu can never collide with it. 2026-06-07
   ========================================================================== */
@media (min-width: 992px) {
  /* Row becomes a real flex bar; the empty displayTop column is dropped */
  #desktop-header.desktop-header-style-4 #desktop-header-container > .row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 64px;
  }
  #desktop-header.desktop-header-style-4 #desktop-header-container > .row > .col-12 {
    display: none !important;
  }

  #desktop-header,
  #desktop-header-container,
  #desktop-header.desktop-header-style-4 #desktop-header-container > .row {
    min-height: 64px;
  }
  #desktop-header-container {
    height: 64px;
    padding-right: clamp(28px, 5vw, 96px);
    padding-left: clamp(28px, 5vw, 96px);
  }

  /* Three flex zones — equal side flex keeps the logo perfectly centred */
  #desktop-header.desktop-header-style-4 .col-header-left {
    position: static !important;
    left: auto;
    top: auto;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: none !important;
  }
  #desktop-header.desktop-header-style-4 .col-header-center {
    position: static !important;
    left: auto;
    top: auto;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
  }
  #desktop-header.desktop-header-style-4 .col-header-right {
    position: static !important;
    right: auto;
    top: auto;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transform: none !important;
  }

  /* Neutralise the mega-menu's own absolute positioning inside the nav zone */
  #desktop-header.desktop-header-style-4 .col-header-left .container-iqitmegamenu,
  #desktop-header.desktop-header-style-4 .col-header-left #iqitmegamenu-wrapper {
    position: static !important;
    left: auto;
    top: auto;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }

  /* Nav typography — refined, tracked uppercase (couture register) */
  #desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
    flex-wrap: nowrap !important;
    gap: clamp(20px, 2.2vw, 40px) !important;
    justify-content: flex-start;
  }
  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link,
  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link .cbp-tab-title {
    min-height: 64px;
    font-family: var(--mg-header-sans) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #3f3a32 !important;
  }

  /* Brand mark — a touch larger for presence */
  #desktop_logo .mg-header-brand {
    width: auto !important;
    min-width: 160px;
    height: 48px !important;
  }
  .mg-header-brand__love { font-size: 28px !important; line-height: .92; }
  .mg-header-brand__by { font-size: 9px !important; margin-top: 0; }
  .mg-header-brand__name { font-size: 8px !important; letter-spacing: .46em !important; margin-top: 3px; }

  /* Action icons — larger and evenly spaced (search / account / cart) */
  #desktop-header.desktop-header-style-4 .col-header-right > .row { gap: 6px !important; }
  #desktop-header .col-header-right .header-btn,
  #desktop-header .col-header-right .ps-shoppingcart a,
  #desktop-header .col-header-right .cart-preview,
  #desktop-header .col-header-right #search_widget .search-btn {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
  #desktop-header .col-header-right #search_widget .search-btn i,
  #desktop-header .col-header-right i,
  #desktop-header .col-header-right #search_widget .search-btn i::before,
  #desktop-header .col-header-right i::before {
    width: 19px !important;
    height: 19px !important;
  }
}

/* Mid-desktop: shrink the nav so it never crowds the centred logo */
@media (min-width: 992px) and (max-width: 1339px) {
  #desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
    gap: clamp(12px, 1.6vw, 22px) !important;
  }
  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link,
  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link .cbp-tab-title {
    font-size: 10px !important;
    letter-spacing: .1em !important;
  }
  #desktop_logo .mg-header-brand { min-width: 140px !important; }
  .mg-header-brand__love { font-size: 25px !important; }
}

/* MG header v3 — final alignment pass, cache-busted 2026-06-07 */
@media (min-width: 992px) {
  #header {
    padding-top: 26px;
    background: rgba(247, 240, 230, .96);
    border-bottom-color: rgba(30, 27, 22, .1);
  }

  #header::before {
    height: 26px;
    font-size: 8px;
    letter-spacing: .36em;
  }

  #desktop-header,
  #desktop-header-container,
  #desktop-header.desktop-header-style-4 #desktop-header-container > .row {
    min-height: 72px !important;
  }

  #desktop-header-container {
    height: 72px !important;
    padding-right: clamp(32px, 5.8vw, 108px) !important;
    padding-left: clamp(32px, 5.8vw, 108px) !important;
  }

  #desktop-header.desktop-header-style-4 #desktop-header-container > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(22px, 3vw, 46px);
  }

  #desktop-header.desktop-header-style-4 .col-header-left,
  #desktop-header.desktop-header-style-4 .col-header-center,
  #desktop-header.desktop-header-style-4 .col-header-right {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
    transform: none !important;
  }

  #desktop-header.desktop-header-style-4 .col-header-left {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
  }

  #desktop-header.desktop-header-style-4 .col-header-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #desktop-header.desktop-header-style-4 .col-header-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    height: 72px;
  }

  #desktop-header.desktop-header-style-4 .col-header-left .container-iqitmegamenu,
  #desktop-header.desktop-header-style-4 .col-header-left #iqitmegamenu-wrapper,
  #desktop-header.desktop-header-style-4 .col-header-left #iqitmegamenu-horizontal,
  #desktop-header.desktop-header-style-4 .col-header-left #cbp-hrmenu {
    position: static !important;
    display: flex !important;
    align-items: center;
    height: 72px;
    width: auto !important;
    max-width: 100% !important;
    transform: none !important;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
    height: 72px;
    gap: clamp(18px, 2vw, 34px) !important;
    align-items: center !important;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link {
    min-height: 72px !important;
    height: 72px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    padding: 0 !important;
    color: #38342d !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    letter-spacing: .2em !important;
    line-height: 1 !important;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .cbp-tab-title {
    display: inline-flex;
    align-items: center;
    height: 72px;
    line-height: 1;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link::after {
    bottom: 18px !important;
    background: rgba(161, 123, 69, .72);
  }

  #desktop_logo .mg-header-brand {
    width: 184px !important;
    min-width: 184px !important;
    height: 58px !important;
  }

  .mg-header-brand__love {
    font-size: 31px !important;
    line-height: .9 !important;
  }

  .mg-header-brand__by {
    margin-top: 1px !important;
    font-size: 9px !important;
  }

  .mg-header-brand__name {
    margin-top: 4px !important;
    font-size: 8px !important;
    letter-spacing: .5em !important;
  }

  #desktop-header.desktop-header-style-4 .col-header-right > .row {
    height: 72px;
    display: inline-flex !important;
    align-items: center;
    gap: 12px !important;
  }

  #desktop-header .header-btn,
  #desktop-header .col-header-right .ps-shoppingcart a,
  #desktop-header .col-header-right .cart-preview,
  #desktop-header #search_widget .search-btn {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  #desktop-header #search_widget .search-btn i,
  #desktop-header .col-header-right i,
  #desktop-header #search_widget .search-btn i::before,
  #desktop-header .col-header-right i::before {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  #desktop-header-container {
    padding-right: 28px !important;
    padding-left: 28px !important;
  }

  #desktop-header.desktop-header-style-4 #desktop-header-container > .row {
    column-gap: 18px;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu > ul {
    gap: 14px !important;
  }

  #desktop-header.desktop-header-style-4 #cbp-hrmenu .nav-link {
    font-size: 9px !important;
    letter-spacing: .12em !important;
  }

  #desktop_logo .mg-header-brand {
    width: 162px !important;
    min-width: 162px !important;
  }
}

@media (max-width: 991px) {
  #mobile-header {
    position: relative;
    z-index: 1040;
  }

  .mobile-main-bar,
  #mobile-header .row-mobile-header {
    min-height: 76px;
  }

  #mobile-header-sticky .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  #mobile-header .col-mobile-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    flex: 0 0 auto;
    padding-right: 4px;
    padding-left: 4px;
    transform: translate(-50%, -50%);
  }

  .col-mobile-logo .mg-header-brand {
    width: min(198px, 46vw) !important;
    height: 56px !important;
  }

  #mobile-header .col-mobile-btn {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 390px) {
  #mobile-header-sticky .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  #mobile-header .col-mobile-btn {
    flex-basis: 36px;
    max-width: 36px;
    min-width: 36px;
  }

  .m-nav-btn {
    width: 36px;
  }

  .col-mobile-logo .mg-header-brand {
    width: min(162px, 43vw) !important;
  }
}

/* ==========================================================================
   MG cart-panel fix (2026-06-08)
   The header icon-button rules above size EVERY anchor inside `.ps-shoppingcart`
   (`.ps-shoppingcart a { width:44px; height:44px; min-width:38px; display:inline-flex }`).
   That selector also matches the open cart dropdown panel (`#blockcart-content`):
   the product-image link and the Commander/Panier `.btn` links collapsed into
   42x42 squares and overlapped, so the opened cart looked empty.
   Reset anchors/buttons inside the panel. Two IDs + appended last => wins over
   every responsive override without touching the toggle button styling.
   ========================================================================== */
#desktop-header .col-header-right #blockcart-content a,
#mobile-header #blockcart-content a,
#sticky-cart-wrapper #blockcart-content a {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  display: inline !important;
}

#desktop-header .col-header-right #blockcart-content .product-image a,
#mobile-header #blockcart-content .product-image a,
#sticky-cart-wrapper #blockcart-content .product-image a {
  display: block !important;
}

#desktop-header .col-header-right #blockcart-content .product-image img,
#mobile-header #blockcart-content .product-image img,
#sticky-cart-wrapper #blockcart-content .product-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
}

#desktop-header .col-header-right #blockcart-content .cart-buttons .btn,
#mobile-header #blockcart-content .cart-buttons .btn,
#sticky-cart-wrapper #blockcart-content .cart-buttons .btn {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

#desktop-header .col-header-right #blockcart-content .remove-from-cart,
#mobile-header #blockcart-content .remove-from-cart,
#sticky-cart-wrapper #blockcart-content .remove-from-cart {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}
