/*
 * Mega Menu v4.3.0
 *
 * :root tokens are written dynamically by PHP (Settings → Mega Menu).
 * Values here are fallbacks only — nothing in this file needs editing
 * to re-skin the menu.
 *
 * Elementor notes:
 * - All list resets use !important to beat Elementor's global ul/li rules.
 * - .mm-shell is positioned by JS after being moved to <body>, so the
 *   initial position:absolute / top / left are overwritten at runtime.
 * - z-index: 999999 beats Elementor's header z-index (9999) and its
 *   sticky-header z-index (99999).
 */

/* ── Tokens (fallbacks) ─────────────────────────────────── */

:root {
  --mm-color-primary:  #AC2A2B;
  --mm-color-accent:   #AC2A2B;
  --mm-color-text:     #333333;
  --mm-color-bg:       #ffffff;
  --mm-color-left-bg:  #f9fafb;
  --mm-color-border:   #eeeeee;
  --mm-font:           'Open Sans', Arial, sans-serif;
  --mm-radius:         7px;
  --mm-heading-case:   uppercase;
}

/* ── Wrapper ─────────────────────────────────────────────── */

.mm-wrap {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 40px;
  font-family: var(--mm-font);
  /* Prevent Elementor column paddings from collapsing the flex layout */
  box-sizing: border-box;
}

/* ── Logo ────────────────────────────────────────────────── */

.mm-logo { flex-shrink: 0; }

.mm-logo a { display: block; line-height: 0; }

.mm-logo img {
  height: 60px !important;
  width: auto !important;
  max-width: 190px !important;
  display: block !important;
  object-fit: contain !important;
}

/* ── Top-level nav ───────────────────────────────────────── */

.mm-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  /* Centre the menu items using auto side-margins only. This never grows
     the wrapper, so nothing the dropdown panel is anchored to can move. */
  flex: 0 1 auto;
  text-align: center;
  gap: clamp(8px, 0.95vw, 20px);     /* v4.2.0: scales so all items fit on one row */
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  flex-wrap: nowrap;
}

/* Reset Elementor's li bullets */
.mm-nav > .mm-item,
.mm-nav > .mm-item::before,
.mm-nav > .mm-item::after {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mm-nav > .mm-item { position: relative; }

.mm-nav > .mm-item > a {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  white-space: nowrap;
  font-size: clamp(13px, 1.15vw, 18px) !important; /* 18px on large screens, scales down to fit */
  font-weight: 700 !important; /* v4.1.7: bolder headings */
  color: #222222 !important; /* top-level menu text */
  background: none !important;
  border: none !important;
  line-height: 1.4;
  font-family: var(--mm-font);
}

.mm-nav > .mm-item:hover > a,
.mm-nav > .mm-item.is-open > a {
  color: var(--mm-color-accent) !important;
}

.mm-arrow {
  font-size: 13px;   /* v4.1.7: larger, more visible */
  opacity: 1;        /* v4.1.7: fully visible */
  font-weight: 700;
  transition: transform .2s;
}

.mm-item.is-open .mm-arrow { transform: rotate(180deg); }

/* ── Dropdown shell (moved to <body> by JS) ─────────────── */

.mm-shell {
  /* Initial state: hidden; JS positions and shows it */
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 80vw;
  background: var(--mm-color-bg);
  z-index: 999999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  border-top: 3px solid var(--mm-color-primary);
}

.mm-drop { display: none; }

/* ── Inner two-column layout ─────────────────────────────── */

.mm-inner {
  display: flex !important;
  min-height: 200px;
}

/* Left column */

.mm-left {
  width: 30%;
  flex-shrink: 0;
  background: var(--mm-color-left-bg) !important;
  border-right: 1px solid var(--mm-color-border);
  padding: 28px 10px 28px 14px !important;
  box-sizing: border-box;
}

.mm-left-heading {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--mm-color-primary) !important;
  text-transform: var(--mm-heading-case);
  margin: 0 0 16px !important;
  padding: 0 !important;
  line-height: 1.3;
  font-family: var(--mm-font);
}

/* Reset Elementor list styles inside the left column */
.mm-left ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mm-left ul li {
  list-style: none !important;
  margin: 0 0 4px !important;
  padding: 7px 10px !important;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  transition: background .15s, opacity .15s;
  line-height: 1.4;
}

.mm-left ul li::before,
.mm-left ul li::after { display: none !important; } /* Elementor bullet pseudo */

.mm-left ul li:hover,
.mm-left ul li.is-active {
  background: var(--mm-color-primary) !important;
  opacity: .9;
}

.mm-left ul li a {
  display: block !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--mm-color-primary) !important;
  font-family: var(--mm-font) !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.4;
}

.mm-left ul li:hover a,
.mm-left ul li.is-active a {
  color: #fff !important;
}

/* Right column */

.mm-right {
  flex: 1;
  padding: 28px 18px !important;
  box-sizing: border-box;
  border-left: 1px solid var(--mm-color-border);
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  overflow: hidden; /* prevent content overflow on small viewports */
}

/* ── Panel ───────────────────────────────────────────────── */

.mm-panel { display: none; }

.mm-panel-top {
  display: flex !important;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.mm-img {
  width: 150px !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: var(--mm-radius) !important;
  border: 2px solid var(--mm-color-primary) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.mm-panel-body { flex: 1; min-width: 180px; }

.mm-panel-title {
  display: block !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--mm-color-primary) !important;
  text-transform: var(--mm-heading-case);
  font-family: var(--mm-font) !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: none !important;
  line-height: 1.3;
}

.mm-panel-title:hover { color: var(--mm-color-accent) !important; }

.mm-panel-desc {
  font-size: 14px !important;
  color: var(--mm-color-text) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* No call-to-action buttons inside panels (e.g. "Shop Now") */
.mm-panel-desc .wp-block-buttons,
.mm-panel-desc .wp-block-button,
.mm-panel-desc .elementor-button-wrapper,
.mm-panel-desc .elementor-button,
.mm-panel-desc button,
.mm-panel-desc a.button,
.mm-panel-desc a.btn,
.mm-panel-desc a[class*="button"],
.mm-panel-desc a[class*="btn"] { display: none !important; }

/* Paragraph reset inside panel descriptions */
.mm-panel-desc p { margin: 0 0 .6em !important; }
.mm-panel-desc p:last-child { margin-bottom: 0 !important; }

/* ── Bottom link row ─────────────────────────────────────── */

.mm-panel-bottom {
  border-top: 1px solid var(--mm-color-border);
  padding-top: 14px !important;
  margin-top: 4px;
}

.mm-bottom-heading {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: var(--mm-heading-case);
  color: var(--mm-color-primary) !important;
  border-bottom: 2px solid var(--mm-color-primary);
  margin: 0 0 10px !important;
  padding: 0 0 4px !important;
  font-family: var(--mm-font);
}

.mm-link-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mm-link-list li {
  width: 50%;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mm-link-list li::before,
.mm-link-list li::after { display: none !important; }

.mm-link-list li a {
  display: block !important;
  padding: 3px 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--mm-color-primary) !important;
  text-decoration: none !important;
  font-family: var(--mm-font) !important;
  background: none !important;
}

.mm-link-list li a:hover {
  color: var(--mm-color-accent) !important;
}

/* ── Clickable affordances (hover effects + icons) ────────────
 * Goal: first-time visitors can tell at a glance what is clickable.
 * Chevrons/arrows are drawn with CSS borders (no icon font needed)
 * and inherit the link colour via currentColor.
 * ────────────────────────────────────────────────────────── */

:root {
  /* Slightly darker shade of the accent for hover states */
  --mm-color-hover: #8f2223; /* fallback */
  --mm-color-hover: color-mix(in srgb, var(--mm-color-accent) 82%, #000000);
}

/* All clickable links: pointer cursor + smooth transitions */
.mm-nav > .mm-item > a,
.mm-left ul li a,
.mm-panel-title,
.mm-link-list li a {
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, background-color .18s ease;
}

/* Visible keyboard focus */
.mm-nav > .mm-item > a:focus-visible,
.mm-left ul li a:focus-visible,
.mm-panel-title:focus-visible,
.mm-link-list li a:focus-visible {
  outline: 2px solid var(--mm-color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 1. Top-level menu: animated underline slides in on hover / open */
.mm-nav > .mm-item > a { position: relative; }

.mm-nav > .mm-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--mm-color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.mm-nav > .mm-item:hover > a::after,
.mm-nav > .mm-item.is-open > a::after,
.mm-nav > .mm-item > a:focus-visible::after {
  transform: scaleX(1);
}

/* Dropdown caret gets more visible on hover */
.mm-nav > .mm-item:hover .mm-arrow,
.mm-nav > .mm-item.is-open .mm-arrow { opacity: 1; }

/* 2. Left column: full-width row with a chevron icon on the right */
.mm-left ul li a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mm-left ul li a::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  margin-right: 4px;
  transition: transform .18s ease, opacity .18s ease, margin .18s ease;
}

.mm-left ul li:hover a::after,
.mm-left ul li.is-active a::after {
  opacity: 1;
  margin-right: 0;
  transform: translateX(2px) rotate(45deg);
}

/* 3. Panel title: arrow icon + underline on hover */
.mm-panel-title {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

.mm-panel-title::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.mm-panel-title:hover {
  color: var(--mm-color-hover) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.mm-panel-title:hover::after { transform: translateX(4px) rotate(45deg); }

/* 4. Bottom links: arrow icon, nudge, underline and darker colour on hover */
.mm-link-list li a {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.mm-link-list li a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .6;
  transition: transform .18s ease, opacity .18s ease;
}

.mm-link-list li a:hover {
  color: var(--mm-color-hover) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.mm-link-list li a:hover::before {
  opacity: 1;
  transform: translateX(2px) rotate(45deg);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .mm-nav > .mm-item > a,
  .mm-nav > .mm-item > a::after,
  .mm-left ul li a,
  .mm-left ul li a::after,
  .mm-panel-title,
  .mm-panel-title::after,
  .mm-link-list li a,
  .mm-link-list li a::before { transition: none !important; }
}

/* ── Black Friday left-column item ──────────────────────────
 * Added v4.1.7 — the "Black Friday Specials" entry in the
 * left sub-item list gets a dark promotional treatment so it
 * immediately stands out from the other category links.
 * ────────────────────────────────────────────────────────── */

.mm-left-item--black-friday {
  background: #111111 !important;
  border-radius: 5px 0 0 5px;
  margin-bottom: 6px !important;
  border-left: 3px solid #c9a227 !important;
}

.mm-left-item--black-friday a {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}

.mm-left-item--black-friday:hover,
.mm-left-item--black-friday.is-active {
  background: #1e1e1e !important;
  opacity: 1 !important;
}

.mm-left-item--black-friday:hover a,
.mm-left-item--black-friday.is-active a {
  color: #c9a227 !important;
}

/* Star icon that precedes "Black Friday Specials" */
.mm-bf-star {
  color: #c9a227;
  font-size: 11px;
  flex-shrink: 0;
  margin-right: 2px;
  line-height: 1;
}

.mm-left-item--black-friday a::after {
  border-color: #c9a227 !important;
  opacity: 1 !important;
}

/* ── Highlighted top-level items (v4.2.0) ─────────────────────
 * Only "Shop" (solid red button) and "Sale Items" (red outline
 * button) stand out; every other item is plain bold text.
 *
 * Every selector here starts with ".mm-nav > .mm-item.<class>"
 * so it out-ranks the base ".mm-nav > .mm-item > a" rule, which
 * also uses !important. (In v4.1.7 the base rule won, so Shop lost
 * its background/padding and its text vanished on hover.)
 * ────────────────────────────────────────────────────────── */

/* Shop: solid red button */
.mm-nav > .mm-item.mm-item--shop > a {
  background: var(--mm-color-primary) !important;
  color: #ffffff !important;
  padding: .42em .9em !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(172, 42, 43, .30);
  letter-spacing: .02em;
}

.mm-nav > .mm-item.mm-item--shop:hover > a,
.mm-nav > .mm-item.mm-item--shop.is-open > a,
.mm-nav > .mm-item.mm-item--shop > a:focus-visible {
  background: var(--mm-color-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(172, 42, 43, .40);
}

.mm-nav > .mm-item.mm-item--shop .mm-arrow { color: inherit !important; }

/* Sale Items: red outline button that fills red on hover */
.mm-nav > .mm-item.mm-item--sale > a {
  background: transparent !important;
  color: var(--mm-color-primary) !important;
  border: 2px solid var(--mm-color-primary) !important;
  padding: .3em .8em !important;
  border-radius: 6px !important;
  letter-spacing: .02em;
}

.mm-nav > .mm-item.mm-item--sale:hover > a,
.mm-nav > .mm-item.mm-item--sale > a:focus-visible {
  background: var(--mm-color-primary) !important;
  color: #ffffff !important;
}

/* No sliding underline on the button-styled items */
.mm-nav > .mm-item.mm-item--shop > a::after,
.mm-nav > .mm-item.mm-item--sale > a::after,
.mm-nav > .mm-item.mm-item--black-friday > a::after { display: none !important; }

/* ── Black Friday item ───────────────────────────────────────
 * With an image set (Settings → Mega Menu) the image is the badge:
 * no wrapper styling, just a gentle lift on hover. Without an image
 * the title shows as plain bold text like the other items.
 * ────────────────────────────────────────────────────────── */

.mm-nav > .mm-item.mm-item--black-friday > a:has(.mm-bf-nav-img) {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  transition: transform .18s ease !important;
}

.mm-nav > .mm-item.mm-item--black-friday:hover > a:has(.mm-bf-nav-img) {
  transform: scale(1.05);
}

/* ── Black Friday Specials panel ─────────────────────────────
 * Added v4.1.7 — panels whose linked sub-item title contains
 * "Black Friday" receive this class and are styled with a
 * promotional dark theme. The image, title, description, and
 * bottom links are all re-coloured for high contrast on dark.
 * ────────────────────────────────────────────────────────── */

.mm-panel--black-friday {
  background: #111111 !important;
  border-radius: 8px;
  padding: 20px !important;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* "SPECIALS" badge in the top-right corner */
.mm-panel--black-friday::before {
  content: "SPECIALS";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--mm-color-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: var(--mm-font);
  z-index: 1;
}

/* Gold/accent stripe along the top */
.mm-panel--black-friday::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c9a227 0%, var(--mm-color-primary) 100%);
}

.mm-panel--black-friday .mm-panel-top {
  align-items: center;
}

.mm-panel--black-friday .mm-img {
  border-color: #c9a227 !important;
  width: 160px !important;
  height: 160px !important;
  border-radius: 6px !important;
}

.mm-panel--black-friday .mm-panel-title {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}

.mm-panel--black-friday .mm-panel-title:hover {
  color: #c9a227 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.mm-panel--black-friday .mm-panel-title::after {
  border-color: #c9a227;
}

.mm-panel--black-friday .mm-panel-desc {
  color: #cccccc !important;
}

.mm-panel--black-friday .mm-panel-bottom {
  border-top-color: #333333 !important;
  margin-top: 12px;
}

.mm-panel--black-friday .mm-bottom-heading {
  color: #c9a227 !important;
  border-bottom-color: #c9a227 !important;
}

.mm-panel--black-friday .mm-link-list li a {
  color: #eeeeee !important;
  font-weight: 600 !important;
}

.mm-panel--black-friday .mm-link-list li a:hover {
  color: #c9a227 !important;
}

.mm-panel--black-friday .mm-link-list li a::before {
  border-color: #c9a227;
  opacity: 0.8;
}

/* ── Error message ───────────────────────────────────────── */

.mm-error {
  padding: 10px 14px;
  background: #fff3f3;
  border: 1px solid #f5a5a5;
  border-radius: 4px;
  color: #c0392b;
  font-size: 13px;
}

/* ── Mobile / tablet (≤1199px) — v4.3.0 ───────────────────────
 * Header: logo on the left, hamburger on the right. The theme's
 * search / account / basket icons are hidden and appear at the
 * bottom of the drawer instead (Settings → Mega Menu → Mobile Menu).
 *
 * JS tags the Elementor containers around the menu:
 *   .mm-hdr-chain  containers that hold the menu → stretch full width
 *   .mm-hdr-side   the sibling holding the logo  → left, natural width
 *   .mm-hdr-icons  the sibling holding the icons → hidden
 * and moves the drawer + overlay to <body> (the header containers set
 * z-index 7/20, which would otherwise trap the drawer under the page).
 * ────────────────────────────────────────────────────────── */

/* Hidden on desktop */
.mm-toggle,
.mm-overlay,
.mm-nav > .mm-drawer-head,
.mm-nav > .mm-drawer-foot,
.mm-sub-toggle,
.mm-mobile-sub { display: none !important; }

body.mm-lock { overflow: hidden !important; }

@media (max-width: 1199px) {

  /* ── Header layout ─────────────────────────────────────── */
  .mm-hdr-chain {
    --width: auto !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .mm-hdr-side {
    --width: auto !important;
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .mm-hdr-side .elementor-element {
    --container-widget-width: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
  }
  .mm-hdr-side img {
    height: 58px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
  }
  .mm-hdr-icons { display: none !important; }

  .mm-wrap {
    width: 100% !important;
    gap: 0 !important;
    justify-content: flex-end !important;
  }

  /* ── Hamburger ─────────────────────────────────────────── */
  .mm-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 46px !important;
    height: 46px !important;
    padding: 0 11px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .08) !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: box-shadow .2s ease, transform .2s ease;
  }
  .mm-toggle:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .12) !important; }
  .mm-toggle:active { transform: scale(.96); }
  .mm-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: #1f1f1f;
    border-radius: 2px;
  }
  .mm-toggle span:nth-child(2) { background: var(--mm-color-primary); } /* all three lines the same length */
  .mm-toggle:focus-visible { outline: 2px solid var(--mm-color-primary); outline-offset: 2px; }

  /* Desktop dropdown never shows here */
  .mm-shell { display: none !important; }

  /* ── Overlay ───────────────────────────────────────────── */
  .mm-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, .48);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .mm-overlay.is-open { opacity: 1; visibility: visible; }

  /* ── Drawer (slides in from the right) ─────────────────── */
  .mm-nav {
    position: fixed !important;
    top: 0;
    right: 0;
    left: auto !important;
    bottom: 0;
    width: min(360px, 88vw);
    z-index: 999999;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    text-align: left;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px 0 0 18px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .34s cubic-bezier(.22, .61, .36, 1), visibility .34s;
  }
  .mm-nav.is-drawer-open { transform: none; visibility: visible; }

  /* Head: logo + close */
  .mm-nav > .mm-drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none !important;
    margin: 0 !important;
    padding: 18px 18px 14px 22px !important;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
  }
  .mm-nav > .mm-drawer-head::before,
  .mm-nav > .mm-drawer-head::after { display: none !important; }
  .mm-drawer-logo { display: block; line-height: 0; min-height: 1px; }
  .mm-drawer-logo img { height: 44px !important; width: auto !important; max-width: 200px !important; object-fit: contain; }
  .mm-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f4f4f5 !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: #1f1f1f !important;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  .mm-close:hover { background: #e9e9eb !important; transform: rotate(90deg); }

  /* Rows */
  .mm-nav > .mm-item {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 12px !important;
    border-bottom: 1px solid #f2f2f2;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .mm-nav.is-drawer-open > .mm-item { opacity: 1; transform: none; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(2) { transition-delay: .06s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(3) { transition-delay: .09s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(4) { transition-delay: .12s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(5) { transition-delay: .15s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(6) { transition-delay: .18s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(7) { transition-delay: .21s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(8) { transition-delay: .24s; }
  .mm-nav.is-drawer-open > .mm-item:nth-child(n+9) { transition-delay: .27s; }

  .mm-nav > .mm-item > a {
    flex: 1 1 auto;
    min-height: 54px;
    padding: 14px 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: .005em;
    white-space: normal;
    border-radius: 10px !important;
  }
  .mm-nav > .mm-item > a:hover { color: var(--mm-color-primary) !important; }
  .mm-nav > .mm-item > a::after { display: none !important; }
  .mm-nav > .mm-item .mm-arrow { display: none !important; }

  /* Shop + Sale keep their button look, sized for the drawer */
  .mm-nav > .mm-item.mm-item--shop > a,
  .mm-nav > .mm-item.mm-item--sale > a {
    flex: 0 1 auto;
    min-height: 0;
    margin: 10px 0 !important;
    padding: 9px 20px !important;
    font-size: 15px !important;
    border-radius: 999px !important;
  }
  .mm-nav > .mm-item.mm-item--shop > a:hover,
  .mm-nav > .mm-item.mm-item--sale:hover > a { color: #ffffff !important; }
  .mm-nav > .mm-item.mm-item--black-friday > a:has(.mm-bf-nav-img) { padding: 8px 0 !important; }
  .mm-nav > .mm-item .mm-bf-nav-img { height: 46px !important; }

  /* Accordion toggle */
  .mm-sub-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background: #f4f4f5 !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .2s ease;
  }
  .mm-sub-toggle:hover { background: #e9e9eb !important; }
  .mm-sub-toggle span {
    width: 8px;
    height: 8px;
    border-right: 2px solid #1f1f1f;
    border-bottom: 2px solid #1f1f1f;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
  }
  .mm-item.is-expanded > .mm-sub-toggle { background: var(--mm-color-primary) !important; }
  .mm-item.is-expanded > .mm-sub-toggle span { border-color: #ffffff; transform: translateY(2px) rotate(-135deg); }

  /* Sub-menu */
  .mm-item.is-expanded > .mm-mobile-sub { display: block !important; }
  .mm-mobile-sub {
    width: 100%;
    list-style: none !important;
    margin: 2px 0 12px !important;
    padding: 6px !important;
    background: #f7f7f8;
    border-radius: 12px;
    animation: mm-sub-in .25s ease both;
  }
  @keyframes mm-sub-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  .mm-mobile-sub li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
  .mm-mobile-sub li::before,
  .mm-mobile-sub li::after { display: none !important; }
  .mm-mobile-sub a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.35;
    color: #333333 !important;
    text-decoration: none !important;
    background: none !important;
    border-radius: 8px;
    font-family: var(--mm-font);
    transition: background .15s ease, color .15s ease;
  }
  .mm-mobile-sub a:hover,
  .mm-mobile-sub a:focus-visible { background: #ffffff !important; color: var(--mm-color-primary) !important; }

  /* Category rows: link on the left, expand button on the right (only when it has sub-links) */
  .mm-mobile-sub > .mm-msub-item {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 8px;
  }
  /* Text takes the remaining width (basis 0) and wraps onto two lines when long,
     so the arrow always stays on the right of the text, never underneath it */
  .mm-mobile-sub > .mm-msub-item > a {
    flex: 1 1 0% !important;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .mm-mobile-sub > .mm-msub-item > .mm-msub-list { flex: 0 0 100%; }
  .mm-mobile-sub > .mm-msub-item.is-open { background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
  .mm-mobile-sub > .mm-msub-item.is-open > a { color: var(--mm-color-primary) !important; font-weight: 600 !important; }

  .mm-msub-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px !important;
    height: 36px !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .2s ease;
  }
  .mm-msub-toggle:hover { background: rgba(0, 0, 0, .05) !important; }
  .mm-msub-toggle span {
    width: 7px;
    height: 7px;
    border-right: 1.8px solid #555555;
    border-bottom: 1.8px solid #555555;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease, border-color .2s ease;
  }
  .mm-msub-item.is-open > .mm-msub-toggle span {
    border-color: var(--mm-color-primary);
    transform: translateY(2px) rotate(-135deg);
  }

  /* Third-level links */
  .mm-msub-list {
    display: none !important;
    width: 100%;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 10px 10px 14px !important;
  }
  .mm-msub-item.is-open > .mm-msub-list { display: block !important; animation: mm-sub-in .22s ease both; }
  .mm-msub-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-left: 2px solid #eeeeee;
  }
  .mm-msub-list li::before,
  .mm-msub-list li::after { display: none !important; }
  .mm-mobile-sub .mm-msub-list a {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    border-radius: 0 6px 6px 0;
  }
  .mm-mobile-sub .mm-msub-list a:hover,
  .mm-mobile-sub .mm-msub-list a:focus-visible { color: var(--mm-color-primary) !important; background: #fafafa !important; }
  .mm-msub-list li:has(a:hover) { border-left-color: var(--mm-color-primary); }

  /* ── Footer: search / account / basket ─────────────────── */
  .mm-nav > .mm-drawer-foot {
    display: block !important;
    list-style: none !important;
    margin: auto 0 0 !important;           /* pushed to the bottom */
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom)) !important;
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #ffffff;
    border-top: 1px solid #efefef;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, .04);
  }
  .mm-nav > .mm-drawer-foot::before,
  .mm-nav > .mm-drawer-foot::after { display: none !important; }

  .mm-drawer-search {
    display: none;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px !important;
    padding: 4px 4px 4px 16px;
    background: #f4f4f5;
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: border-color .2s ease;
  }
  .mm-drawer-foot.is-searching .mm-drawer-search { display: flex; animation: mm-sub-in .22s ease both; }
  .mm-drawer-search:focus-within { border-color: var(--mm-color-primary); background: #ffffff; }
  .mm-drawer-search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 15px !important;
    color: #1f1f1f !important;
    font-family: var(--mm-font);
  }
  .mm-drawer-search button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--mm-color-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
  }
  .mm-drawer-search svg,
  .mm-act-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mm-drawer-search button svg { width: 18px; height: 18px; stroke-width: 2.2; }

  .mm-drawer-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mm-act {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px !important;
    margin: 0 !important;
    min-height: 64px;
    background: #f7f7f8 !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    color: #1f1f1f !important;
    text-decoration: none !important;
    font-family: var(--mm-font);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .15s ease;
  }
  .mm-act:hover,
  .mm-act:focus-visible,
  .mm-act[aria-expanded="true"] { background: #fbeeee !important; color: var(--mm-color-primary) !important; }
  .mm-act:active { transform: scale(.97); }
  .mm-act-icon { position: relative; display: inline-flex; line-height: 0; }
  .mm-act-icon svg { width: 22px; height: 22px; }
  .mm-act-label {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
  }
  .mm-cart-count {
    position: absolute;
    top: -7px;
    right: -11px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--mm-color-primary);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #f7f7f8;
  }
  .mm-cart-count[data-count="0"] { display: none; }
}

@media (max-width: 767px) {
  .mm-hdr-side img { height: 46px !important; }
  .mm-logo img { height: 46px !important; }
  .mm-toggle { width: 44px !important; height: 44px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mm-nav, .mm-overlay, .mm-nav > .mm-item, .mm-sub-toggle span, .mm-close, .mm-mobile-sub, .mm-drawer-search { transition: none !important; animation: none !important; }
}
