/* Monaco audit fixes 2026-11-20 (pass 6). */

/* 1. Tablet hamburger drawer is white with white labels. Use a dark panel so existing white labels read. */
@media screen and (min-width: 751px) and (max-width: 1000px) {
  [id*="ms0r9ss8"],
  [id*="ms0r9ss8"] [class*="styleId__root"],
  [class*="hamburger-menu-container"],
  [class*="HamburgerMenuContainer"] {
    background: #0b0f14 !important;
    background-color: #0b0f14 !important;
  }
  [aria-label="Close Site Navigation"],
  [aria-label="Close Site Navigation"] path {
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
  }
  [id*="ms0r9ss8"] a,
  [id*="ms0r9ss8"] .wixui-vertical-menu__item-label,
  [class*="hamburger-menu-container"] a,
  [class*="hamburger-menu-container"] .wixui-vertical-menu__item-label {
    color: #ffffff !important;
    --item-color: 255, 255, 255 !important;
  }
}

/* 3. Keep the whole desktop nav on one row around 1024, including CONTACT, without covering the phone. */
@media screen and (min-width: 751px) and (max-width: 1100px) {
  nav[data-hook="menu-root"] ul,
  nav.wixui-horizontal-menu ul,
  .wixui-horizontal-menu ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  nav[data-hook="menu-root"] li,
  .wixui-horizontal-menu li {
    flex: 0 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .wixui-horizontal-menu__item-label,
  .wixui-menu__item-label,
  nav[data-hook="menu-root"] [data-part="label"] {
    white-space: nowrap !important;
    font-size: 10px !important;
    letter-spacing: 0.02em !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
  nav[data-hook="menu-root"] {
    --menu-items-main-axis-gap: 4px;
    transform: scale(0.9);
    transform-origin: left center;
  }
  [id*="comp-muvz47yu"] {
    margin-left: 4px !important;
    z-index: 2;
  }
  [id*="comp-mv48axsb"] a,
  [id*="comp-mv48axsb"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* 5. Homepage configurator preview is a cropped screen-recording. Show the full frame. */
#comp-muwbhecw video,
#comp-muwbhecw img,
#comp-muwbhecw_video {
  object-fit: contain !important;
  object-position: left center !important;
  background: #0b0f14;
}

/* 6. Footer email must stay on one line. */
a[href="mailto:info@monacoyachtwraps.fr"] {
  white-space: nowrap !important;
  font-size: clamp(11px, 2.55vw, 16px) !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* 7. Keep large mobile headings and Film body copy inside the viewport without locking page scroll.
   Do not force left/width/transform on feature cards or motion headings — that pulled them out of layout. */
@media screen and (max-width: 750px) {
  #comp-muxnljo5,
  #comp-muxn6464,
  #comp-muxlxc1x,
  #comp-mscaym3u,
  #comp-mscare2c {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  #comp-muxn6464 h1,
  #comp-muxnljo5 h1 {
    font-size: clamp(40px, 13vw, 72px) !important;
    line-height: 0.95 !important;
  }
  #comp-mscaym3u {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  #comp-muxf1su7 span,
  #comp-muxf1su91 span,
  #comp-muxf024y span,
  #comp-muxf02501 span {
    letter-spacing: 0.06em !important;
  }
}

/* 1b. On phones, hide the hamburger while the menu is open so it does not stack on the close X. */
@media screen and (max-width: 750px) {
  [aria-label="Menu"][aria-expanded="true"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* 2. Film comparison iframe: keep a real height so the widget cannot collapse. */
#comp-muzfylhd {
  aspect-ratio: auto !important;
}
@media screen and (min-width: 1201px) {
  #comp-muzfylhd { aspect-ratio: 2.55 / 1 !important; height: auto !important; }
}
@media screen and (max-width: 1200px) {
  #comp-muzfylhd {
    aspect-ratio: auto !important;
    min-height: 1320px !important;
    height: 1320px !important;
  }
  #comp-muzfylhd iframe,
  #comp-muzfylhd .vWU4ML {
    height: 1320px !important;
    min-height: 1320px !important;
  }
}
@media screen and (max-width: 750px) {
  #comp-muzfylhd {
    min-height: 1280px !important;
    height: 1280px !important;
  }
  #comp-muzfylhd iframe,
  #comp-muzfylhd .vWU4ML {
    height: 1280px !important;
    min-height: 1280px !important;
  }
}

/* 9. Hide the removed Orange County Instagram icon. */
a[aria-label="Instagram"],
a[data-removed-instagram] {
  display: none !important;
}

/* 9. Empty third timeline bullet under Hours of Operation on Contact. */
#comp-msaxrivh {
  display: none !important;
}

/* 7b. Mobile-only copies: Film CLEAR PPF body starts off-canvas; keep the column in view. */
@media screen and (max-width: 750px) {
  #comp-muyf2mxa {
    left: 12px !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }
  #comp-muz7g7mt,
  #comp-muz7sat1 {
    box-sizing: border-box !important;
    padding-left: 4px !important;
    max-width: calc(100vw - 16px) !important;
  }
}

/* 7c. Mobile Before/After icon row: a Wix motion translateX piles JUST WASH onto NEVER HAVE TO. */
@media screen and (max-width: 750px) {
  #comp-muz3e096,
  #comp-muz3j3s8,
  #comp-muz37qb1,
  #comp-muz3mhe4 {
    transform: none !important;
  }
}
