.mdm-announcement {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  overflow: hidden;
  background: var(--mdm-ink);
  color: var(--mdm-gold-lt);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: transform var(--mdm-ease);
}

body.mdm-theme .mdm-announcement {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 301;
  height: 34px;
  background: var(--c-dark);
  color: var(--c-white);
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

body.mdm-theme .mdm-announcement span {
  display: block;
  width: 100%;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.5s ease;
}

body.mdm-theme .mdm-header {
  position: fixed;
  top: 34px;
  right: 0;
  left: 0;
  z-index: 300;
  height: 68px;
  background: transparent;
  color: var(--c-ink);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.mdm-theme .mdm-header.scrolled,
body.mdm-theme .mdm-header.is-scrolled,
body.mdm-theme:not(.home) .mdm-header {
  background: rgba(253, 250, 245, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--c-border);
  box-shadow: 0 8px 28px rgba(26, 18, 9, 0.06);
}

body.mdm-theme .mdm-header-inner {
  grid-template-columns: 220px 1fr auto;
  min-height: 68px;
  max-width: 1280px;
}

body.mdm-theme .mdm-logo {
  color: var(--c-ink);
}

body.mdm-theme .mdm-brand-svg {
  max-height: 40px;
}

body.mdm-theme .mdm-nav a {
  color: var(--c-ink);
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

body.mdm-theme .mdm-nav-whatsapp,
body.mdm-theme .mdm-drawer-whatsapp {
  color: var(--c-gold) !important;
  font-weight: 700;
}

.mdm-mobile-wa {
  display: none;
}

body.mdm-theme .mdm-nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.mdm-theme .mdm-nav a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-gold);
}

body.mdm-theme .mdm-icon-button {
  border: 0;
  background: transparent;
  color: var(--c-ink);
}

body.mdm-theme .mdm-header-cta {
  min-height: 38px;
  padding-inline: 18px;
  background: var(--c-gold);
  color: var(--c-white);
  font-size: 13px;
}

body.mdm-theme .mdm-mega {
  background: var(--c-bg);
  color: var(--c-ink);
  border-color: var(--c-border);
  box-shadow: 0 18px 50px rgba(26, 18, 9, 0.12);
}

body.mdm-theme .mdm-mega-column strong,
body.mdm-theme .mdm-mega-column a {
  color: var(--c-ink);
}

body.mdm-theme .mdm-mega {
  transform: translate(-50%, -8px);
}

body.mdm-theme .mdm-nav-shop:hover .mdm-mega,
body.mdm-theme .mdm-nav-shop:focus-within .mdm-mega,
body.mdm-theme .mdm-mega.is-open {
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  body.mdm-theme .mdm-announcement {
    display: flex;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  body.mdm-theme .mdm-header {
    top: 34px;
    height: 56px;
    background: rgba(253, 250, 245, 0.97);
    border-bottom: 1px solid var(--c-border);
  }

  body.mdm-theme .mdm-header-inner {
    grid-template-columns: 40px 1fr 84px;
    min-height: 56px;
  }

  body.mdm-theme .mdm-logo-svg {
    width: min(190px, 58vw);
  }

  body.mdm-theme .mdm-mobile-wa {
    display: inline-flex !important;
  }

  body.mdm-theme .mdm-mobile-cart-fixed {
    top: 10px;
    right: 14px;
    border-color: var(--c-gold);
    background: transparent;
    color: var(--c-ink);
  }

  body.mdm-theme .mdm-drawer {
    width: 280px;
    background: var(--c-bg);
    color: var(--c-ink);
  }

  body.mdm-theme .mdm-drawer-nav a {
    color: var(--c-ink);
  }
}

.mdm-announcement.is-hidden {
  transform: translateY(-100%);
}

.mdm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 15, 12, 0.92);
  color: var(--mdm-white);
  backdrop-filter: blur(20px);
  transition: background var(--mdm-ease), border-color var(--mdm-ease);
}

.home .mdm-header:not(.scrolled) {
  margin-bottom: -72px;
  background: linear-gradient(180deg, rgba(18, 15, 12, 0.78), rgba(18, 15, 12, 0));
  border-bottom-color: transparent;
}

.mdm-header-inner {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.mdm-logo {
  display: inline-flex;
  align-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--mdm-white);
}

.mdm-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.mdm-logo img {
  max-height: 44px;
  width: auto;
}

.mdm-logo-svg {
  width: 210px;
}

.mdm-brand-svg {
  width: 100%;
  height: auto;
}

.mdm-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mdm-nav a,
.mdm-action-link {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mdm-nav a:hover,
.mdm-action-link:hover {
  color: var(--mdm-gold-lt);
}

.mdm-nav-shop {
  position: relative;
}

.mdm-mega {
  position: absolute;
  left: 50%;
  top: calc(100% + 22px);
  display: grid;
  grid-template-columns: repeat(4, 1fr) 260px;
  gap: 18px;
  width: min(100vw - 48px, 1060px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mdm-radius);
  background: rgba(18, 15, 12, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--mdm-ease), transform var(--mdm-ease);
}

.mdm-nav-shop:hover .mdm-mega,
.mdm-nav-shop:focus-within .mdm-mega,
.mdm-mega.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mdm-mega-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.mdm-mega-column strong {
  color: var(--mdm-gold-lt);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.mdm-mega-column a {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0;
  text-transform: none;
}

.mdm-mega-feature {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--mdm-radius);
}

.mdm-mega-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.mdm-mega-feature span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: var(--mdm-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.05;
}

.mdm-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}

.mdm-icon-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mdm-white);
}

.mdm-cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mdm-gold);
  color: var(--mdm-white);
  font-size: 11px;
  font-weight: 800;
}

.mdm-header-cta {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
}

.mdm-mobile-toggle {
  display: none;
}

.mdm-mobile-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.mdm-mobile-cart-fixed {
  display: inline-flex;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  border-color: rgba(201, 147, 43, 0.72);
  background: rgba(201, 147, 43, 0.22);
  color: #fffaf0;
}

.mdm-drawer,
.mdm-drawer-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .mdm-announcement {
    display: none;
  }

  .home .mdm-header:not(.scrolled) {
    margin-bottom: 0;
    background: rgba(18, 15, 12, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .mdm-header {
    background: rgba(18, 15, 12, 0.95);
  }

  .mdm-header::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201, 147, 43, 0.72);
    border-radius: 50%;
    background: rgba(201, 147, 43, 0.14);
    pointer-events: none;
  }

  .mdm-header-inner {
    position: relative;
    grid-template-columns: 40px 1fr 40px;
    min-height: 52px;
    gap: 8px;
  }

  .mdm-logo {
    justify-content: center;
    font-size: 24px;
  }

  .mdm-logo-svg {
    width: min(178px, 54vw);
    justify-self: center;
  }

  .mdm-brand-svg {
    max-height: 36px;
  }

  .mdm-icon-button {
    width: 36px;
    height: 36px;
  }

  .mdm-nav,
  .mdm-actions .mdm-action-link,
  .mdm-actions .mdm-header-cta,
  .mdm-actions .mdm-icon-button:not(.mdm-cart-mobile) {
    display: none;
  }

  .mdm-mobile-toggle {
    display: inline-flex;
  }

  .mdm-actions {
    justify-content: end;
    display: flex;
    min-width: 40px;
  }

  .mdm-actions .mdm-cart-mobile {
    display: none !important;
  }

  .mdm-mobile-cart-fixed {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 2;
    visibility: visible;
    opacity: 1;
    border-color: rgba(201, 147, 43, 0.72);
    background: rgba(201, 147, 43, 0.22);
    color: #fffaf0;
  }

  .mdm-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 109;
    background: rgba(0, 0, 0, 0.54);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--mdm-ease);
  }

  .mdm-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    width: min(88vw, 380px);
    padding: 24px;
    background: var(--mdm-ink);
    color: var(--mdm-white);
    transform: translateX(-100%);
    transition: transform var(--mdm-ease);
  }

  .drawer-open .mdm-drawer {
    transform: translateX(0);
  }

  .drawer-open .mdm-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mdm-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mdm-drawer-nav {
    display: grid;
    gap: 2px;
    margin-top: 34px;
  }

  .mdm-drawer-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
  }

  .mdm-drawer-bottom {
    display: grid;
    gap: 14px;
    margin-top: auto;
  }

  .mdm-drawer-nav details {
    border-bottom: 1px solid rgba(26, 18, 9, 0.10);
  }

  .mdm-drawer-nav summary {
    cursor: pointer;
    padding: 14px 0;
    color: var(--c-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    list-style: none;
  }

  .mdm-drawer-nav summary::-webkit-details-marker {
    display: none;
  }

  .mdm-drawer-nav details a {
    display: block;
    padding: 8px 0 10px 18px;
    border-bottom: 0;
    color: var(--c-muted);
    font-family: Jost, sans-serif;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .mdm-mobile-toggle,
  body.mdm-theme .mdm-mobile-toggle,
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--c-ink);
  }
}

@media (min-width: 981px) {
  .mdm-mobile-cart-fixed {
    display: none;
  }
}

/* OMC light header override */
body.mdm-theme .mdm-announcement {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 301;
  height: 34px;
  background: var(--c-dark);
  color: var(--c-white);
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

body.mdm-theme .mdm-header {
  position: fixed;
  top: 34px;
  right: 0;
  left: 0;
  z-index: 300;
  height: 68px;
  background: transparent;
  color: var(--c-ink);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.mdm-theme .mdm-header.scrolled,
body.mdm-theme .mdm-header.is-scrolled,
body.mdm-theme:not(.home) .mdm-header {
  background: rgba(253, 250, 245, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--c-border);
  box-shadow: 0 8px 28px rgba(26, 18, 9, 0.06);
}

body.mdm-theme .mdm-header-inner {
  grid-template-columns: 220px 1fr auto;
  min-height: 68px;
  max-width: 1280px;
}

body.mdm-theme .mdm-logo,
body.mdm-theme .mdm-nav a,
body.mdm-theme .mdm-icon-button {
  color: var(--c-ink);
}

body.mdm-theme .mdm-nav a {
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

body.mdm-theme .mdm-nav a:hover {
  border-bottom-color: var(--c-gold);
}

body.mdm-theme .mdm-icon-button {
  border: 0;
  background: transparent;
}

body.mdm-theme .mdm-header-cta {
  min-height: 38px;
  padding-inline: 18px;
  background: var(--c-gold);
  color: var(--c-white);
  font-size: 13px;
}

body.mdm-theme .mdm-mega {
  background: var(--c-bg);
  color: var(--c-ink);
  border-color: var(--c-border);
  box-shadow: 0 18px 50px rgba(26, 18, 9, 0.12);
}

body.mdm-theme .mdm-mega-column strong,
body.mdm-theme .mdm-mega-column a {
  color: var(--c-ink);
}

@media (max-width: 980px) {
  body.mdm-theme .mdm-announcement {
    display: flex;
  }

  body.mdm-theme .mdm-header {
    top: 34px;
    height: 56px;
    background: rgba(253, 250, 245, 0.98);
    border-bottom-color: var(--c-border);
  }

  body.mdm-theme .mdm-logo {
    color: var(--c-ink);
  }

  body.mdm-theme .mdm-header-inner {
    grid-template-columns: 40px 1fr 84px;
    min-height: 56px;
  }

  body.mdm-theme .mdm-logo-svg {
    width: min(190px, 58vw);
  }

  body.mdm-theme .mdm-mobile-cart-fixed {
    top: 10px;
    right: 14px;
    color: var(--c-ink);
  }
}

@media (max-width: 980px) {
  body.mdm-theme.home .mdm-header:not(.scrolled),
  body.mdm-theme.home .mdm-header:not(.is-scrolled),
  body.mdm-theme .mdm-header {
    top: 34px;
    height: 56px;
    margin-bottom: 0;
    background: rgba(253, 250, 245, 0.98);
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 8px 24px rgba(26, 18, 9, 0.06);
    backdrop-filter: blur(12px);
  }

  body.mdm-theme.home .mdm-header:not(.scrolled)::after {
    content: none;
  }

  body.mdm-theme.home .mdm-logo,
  body.mdm-theme.home .mdm-icon-button,
  body.mdm-theme.home .mdm-mobile-cart-fixed {
    color: var(--c-ink);
  }

  body.mdm-theme .mdm-mobile-cart-fixed {
    display: none !important;
    position: fixed;
    top: 43px;
    right: 18px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-white);
    visibility: visible;
    opacity: 1;
    z-index: 1000;
  }

  body.mdm-theme .mdm-mobile-cart-fixed svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke: currentColor;
  }

  body.mdm-theme .mdm-mobile-cart-fixed .mdm-cart-count {
    top: -5px;
    right: -5px;
  }

  body.mdm-theme .mdm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
  }

  body.mdm-theme .mdm-actions .mdm-cart-mobile {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-white);
  }

  body.mdm-theme .mdm-actions .mdm-mobile-wa {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(37, 211, 102, 0.45);
    border-radius: 50%;
    background: #25D366;
    color: var(--c-white);
  }

  body.mdm-theme.home .mdm-header::before,
  body.mdm-theme .mdm-header::before {
    content: none;
    position: fixed;
    top: 52px;
    right: 26px;
    z-index: 1001;
    width: 18px;
    height: 18px;
    border: 2px solid var(--c-ink);
    border-top-width: 3px;
    border-radius: 2px 2px 5px 5px;
    pointer-events: none;
  }

  body.mdm-theme.home .mdm-header::after,
  body.mdm-theme .mdm-header::after {
    content: none;
    position: fixed;
    top: 47px;
    right: 31px;
    z-index: 1001;
    width: 8px;
    height: 9px;
    border: 2px solid var(--c-ink);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    pointer-events: none;
  }
}

.mdm-logo img {
  background: transparent !important;
  mix-blend-mode: multiply;
}

body.is-homepage .mdm-header:not(.scrolled) {
  background: rgba(253, 250, 245, 0.86) !important;
  border-bottom-color: rgba(234, 224, 208, 0.72) !important;
  box-shadow: 0 10px 32px rgba(26, 18, 9, 0.08) !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

body.is-homepage .mdm-header.scrolled {
  background: rgba(253, 250, 245, 0.97) !important;
  border-bottom: 1px solid var(--c-border) !important;
  box-shadow: 0 8px 28px rgba(26, 18, 9, 0.06) !important;
  backdrop-filter: blur(14px) !important;
}

body.is-homepage .mdm-header:not(.scrolled) .mdm-logo,
body.is-homepage .mdm-header:not(.scrolled) .mdm-icon-button,
body.is-homepage .mdm-header:not(.scrolled) .mdm-nav a {
  color: var(--c-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

body.is-homepage .mdm-header:not(.scrolled) .mdm-nav a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-gold);
}

body.is-homepage .mdm-header:not(.scrolled) .mdm-logo img {
  filter: none;
  mix-blend-mode: multiply;
}

body.is-homepage .mdm-header.scrolled .mdm-logo img {
  filter: none;
  mix-blend-mode: multiply;
}

@media (max-width: 980px) {
  body.is-homepage .mdm-header:not(.scrolled) {
    background: rgba(253, 250, 245, 0.97) !important;
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-border) !important;
    box-shadow: 0 8px 24px rgba(26, 18, 9, 0.06) !important;
    backdrop-filter: blur(12px) !important;
  }

  body.is-homepage .mdm-header:not(.scrolled) .mdm-header-inner {
    min-height: 54px;
  }

  body.is-homepage .mdm-header:not(.scrolled) .mdm-logo-svg {
    width: min(178px, 54vw);
    transform: none;
  }

  body.is-homepage .mdm-header:not(.scrolled) .mdm-logo {
    color: var(--c-ink);
  }

  body.is-homepage .mdm-header:not(.scrolled) .mdm-brand-svg {
    max-height: 34px;
  }

  body.is-homepage .mdm-header:not(.scrolled) .mdm-mobile-toggle {
    color: var(--c-ink);
    transform: none;
  }

  body.is-homepage .mdm-header:not(.scrolled) .mdm-mobile-cart-fixed {
    top: 42px;
    transform: scale(0.92);
  }
}
