/* ================================================================
   WINMEDAL.EU — header-new.css  v2.2
   FIXES: SVG icons gold, logo natural color, mobile single-tile,
   /quotation/ page header layout fix
   ================================================================ */

/* ----------------------------------------------------------------
   CSS VARIABLES
   ---------------------------------------------------------------- */
:root {
  --wm-black:        #0d0d0d;
  --wm-black-soft:   #161616;
  --wm-black-glass:  rgba(13, 13, 13, 0.82);
  --wm-ink:          #1a1a1a;
  --wm-line:         rgba(255, 255, 255, 0.08);
  --wm-line-strong:  rgba(255, 255, 255, 0.18);

  --wm-gold:         #C9A54E;
  --wm-gold-deep:    #a37f2a;
  --wm-gold-light:   #e3bf6c;
  --wm-gold-glow:    rgba(201, 165, 78, 0.35);
  --wm-gold-line:    rgba(201, 165, 78, 0.25);

  --wm-red:          #d32f2f;

  --wm-white:        #ffffff;
  --wm-text-dim:     rgba(255, 255, 255, 0.72);
  --wm-text-mute:    rgba(255, 255, 255, 0.55);

  --wm-header-h:           74px;
  --wm-header-h-scrolled:  62px;

  --wm-z-header:     1000;
  --wm-z-mega:       998;
  --wm-z-overlay:    1050;
  --wm-z-offcanvas:  1100;
  --wm-z-stickycta:  990;
  --wm-z-sheet:      1200;
}


/* ----------------------------------------------------------------
   MAIN HEADER
   ---------------------------------------------------------------- */
.wm-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--wm-z-header);
  background: var(--wm-black);
  border-bottom: 1px solid var(--wm-line);
  height: var(--wm-header-h);
  width: 100%;
  transition: height 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.wm-header.wm-header--scrolled {
  height: var(--wm-header-h-scrolled);
  background: var(--wm-black-glass);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.wm-header-inner {
  max-width: 1440px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


/* ----------------------------------------------------------------
   LOGO — natural colors, no filter
   ---------------------------------------------------------------- */
.wm-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  height: 100%;
  padding: 8px 0;
}

.wm-logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, height 0.3s ease;
}

.wm-logo:hover img {
  transform: scale(1.03);
}

.wm-header--scrolled .wm-logo img {
  height: 42px;
}


/* ----------------------------------------------------------------
   DESKTOP NAV
   ---------------------------------------------------------------- */
.wm-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.wm-nav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.wm-nav > li > a {
  color: var(--wm-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.wm-nav > li > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  background: var(--wm-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.wm-nav > li:hover > a,
.wm-nav > li.wm-active > a {
  color: var(--wm-gold) !important;
}

.wm-nav > li:hover > a::after,
.wm-nav > li.wm-active > a::after {
  transform: scaleX(1);
}

.wm-chevron {
  font-size: 9px;
  opacity: 0.65;
  transition: transform 0.3s ease;
}

.wm-nav > li:hover .wm-chevron {
  transform: rotate(180deg);
  opacity: 1;
}


/* ----------------------------------------------------------------
   STANDARD DROPDOWN
   ---------------------------------------------------------------- */
.wm-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #161616;
  border: 1px solid var(--wm-line-strong);
  border-radius: 12px;
  padding: 8px;
  margin: 0;
  list-style: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.2s;
}

.wm-nav > li:hover > .wm-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wm-dropdown li { list-style: none; }

.wm-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  color: var(--wm-white) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, padding-left 0.2s;
}

.wm-dropdown a:hover {
  background: rgba(201, 165, 78, 0.1);
  color: var(--wm-gold) !important;
  padding-left: 18px;
}

.wm-dropdown-link-all {
  color: var(--wm-gold) !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--wm-line);
  border-radius: 8px 8px 0 0 !important;
  margin-bottom: 4px;
}

.wm-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--wm-red);
  color: var(--wm-white);
  flex-shrink: 0;
}

.wm-badge--new {
  background: var(--wm-gold);
  color: var(--wm-black);
}


/* ----------------------------------------------------------------
   MEGA MENU (Sports)
   ---------------------------------------------------------------- */
.wm-mega {
  position: fixed;
  top: var(--wm-header-h);
  left: 0;
  right: 0;
  background: #161616;
  border-top: 1px solid var(--wm-gold-line);
  border-bottom: 1px solid var(--wm-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  z-index: var(--wm-z-mega);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s ease, visibility 0.25s;
}

body:has(.wm-header--scrolled) .wm-mega {
  top: var(--wm-header-h-scrolled);
}

.wm-nav > li:hover > .wm-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wm-mega-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 32px 32px;
}

.wm-mega-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--wm-gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wm-line);
}

.wm-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 32px;
}

.wm-sport-group { padding: 4px 0; }

.wm-sport-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--wm-white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.wm-sport-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wm-sport-links li { margin: 0; }

.wm-sport-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 0;
  color: var(--wm-text-dim) !important;
  font-size: 12.5px;
  text-decoration: none !important;
  border-radius: 4px;
  transition: color 0.15s, transform 0.15s;
}

.wm-sport-links a:hover {
  color: var(--wm-gold) !important;
  transform: translateX(3px);
}


/* ----------------------------------------------------------------
   SVG ICONS — gold via currentColor
   The fix: <svg> wrapper sets color, paths use fill="currentColor"
   ---------------------------------------------------------------- */
.wm-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  color: var(--wm-gold);
  fill: var(--wm-gold);
  vertical-align: -2px;
}

.wm-ico path,
.wm-ico circle,
.wm-ico rect {
  fill: currentColor;
}

/* In mobile sub menus, sub a inherits dim text color, override icons */
.wm-mobile-sub a .wm-ico {
  color: var(--wm-gold);
}


/* ----------------------------------------------------------------
   HEADER ACTIONS
   ---------------------------------------------------------------- */
.wm-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wm-btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--wm-line-strong);
  border-radius: 8px;
  color: var(--wm-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wm-btn-catalog:hover {
  border-color: var(--wm-gold);
  color: var(--wm-gold);
}

.wm-btn-catalog .fa-chevron-down {
  font-size: 9px;
  margin-left: 2px;
  transition: transform 0.2s;
}

.wm-btn-catalog.wm-open .fa-chevron-down {
  transform: rotate(180deg);
}

/* PRIMARY CTA — Get a Quote — gold gradient (link) */
a.wm-btn-quote,
.wm-btn-quote {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  background: linear-gradient(135deg, var(--wm-gold) 0%, var(--wm-gold-deep) 100%);
  border: none;
  border-radius: 8px;
  color: var(--wm-black) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--wm-gold-line), 0 8px 24px -8px var(--wm-gold-glow);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}

a.wm-btn-quote:hover,
.wm-btn-quote:hover,
a.wm-btn-quote:focus,
.wm-btn-quote:focus,
a.wm-btn-quote:active,
.wm-btn-quote:active,
a.wm-btn-quote:visited {
  background: linear-gradient(135deg, var(--wm-gold-light) 0%, var(--wm-gold) 100%) !important;
  color: var(--wm-black) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--wm-gold), 0 12px 30px -6px var(--wm-gold-glow);
}

a.wm-btn-quote i,
.wm-btn-quote i {
  color: var(--wm-black) !important;
}


/* ----------------------------------------------------------------
   LANG PILL
   ---------------------------------------------------------------- */
.wm-lang-pill {
  position: relative;
  display: inline-flex;
}

.wm-lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: transparent;
  border: 1px solid var(--wm-line-strong);
  border-radius: 8px;
  color: var(--wm-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wm-lang-pill-btn:hover {
  border-color: var(--wm-gold);
  color: var(--wm-gold);
}

.wm-lang-pill-btn img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.wm-lang-pill-btn .fa-chevron-down {
  font-size: 9px;
  opacity: 0.7;
}

.wm-lang-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #161616;
  border: 1px solid var(--wm-line-strong);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1010;
}

.wm-lang-drop.wm-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wm-lang-drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--wm-white) !important;
  font-size: 13px;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.wm-lang-drop a:hover {
  background: rgba(201, 165, 78, 0.1);
  color: var(--wm-gold) !important;
}

.wm-lang-drop a img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}


/* ----------------------------------------------------------------
   CATALOGUES DROPDOWN
   ---------------------------------------------------------------- */
.wm-catalog-wrap {
  position: relative;
}

.wm-catalog-drop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  background: #161616;
  border: 1px solid var(--wm-gold-line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 1010;
}

.wm-catalog-drop.wm-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wm-catalog-head {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--wm-gold);
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 4px 12px;
}

.wm-catalog-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none !important;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  color: var(--wm-white) !important;
}

.wm-catalog-card + .wm-catalog-card { margin-top: 4px; }

.wm-catalog-card:hover {
  background: rgba(201, 165, 78, 0.06);
  border-color: var(--wm-gold-line);
  transform: translateX(2px);
  color: var(--wm-white) !important;
}

.wm-catalog-thumb {
  flex-shrink: 0;
  width: 42px;
  height: 52px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
}

.wm-catalog-thumb--pdf {
  background: linear-gradient(135deg, var(--wm-gold) 0%, #7a5e1d 100%);
  color: var(--wm-black);
}

.wm-catalog-thumb--flip {
  background: var(--wm-ink);
  border: 1px solid var(--wm-gold);
  color: var(--wm-gold);
}

.wm-catalog-thumb--custom {
  background: linear-gradient(135deg, var(--wm-ink) 0%, var(--wm-black) 100%);
  border: 1px solid var(--wm-line-strong);
  color: var(--wm-white);
}

.wm-catalog-body { flex: 1; min-width: 0; }

.wm-catalog-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--wm-white);
  letter-spacing: 0.01em;
}

.wm-catalog-meta {
  font-size: 11px;
  color: var(--wm-text-mute);
  margin-top: 2px;
}

.wm-catalog-arrow {
  color: var(--wm-text-mute);
  font-size: 12px;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.wm-catalog-card:hover .wm-catalog-arrow {
  color: var(--wm-gold);
  transform: translateX(2px);
}


/* ----------------------------------------------------------------
   HAMBURGER
   ---------------------------------------------------------------- */
.wm-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--wm-line-strong);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: border-color 0.2s;
}

.wm-hamburger:hover { border-color: var(--wm-gold); }

.wm-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--wm-white);
  border-radius: 1px;
  transition: all 0.3s ease;
}


/* ----------------------------------------------------------------
   PAGE OVERLAY
   ---------------------------------------------------------------- */
.wm-page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: calc(var(--wm-z-mega) - 1);
  pointer-events: none;
}

.wm-page-overlay.wm-active {
  opacity: 1;
  visibility: visible;
}


/* ================================================================
   MOBILE OFFCANVAS DRAWER
   ================================================================ */
.wm-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: calc(var(--wm-z-offcanvas) - 1);
}

.wm-offcanvas-overlay.wm-active {
  opacity: 1;
  visibility: visible;
}

.wm-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--wm-black);
  border-left: 1px solid var(--wm-gold-line);
  z-index: var(--wm-z-offcanvas);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.wm-offcanvas.wm-open { transform: translateX(0); }

.wm-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wm-line);
  flex-shrink: 0;
  background: var(--wm-black);
}

.wm-offcanvas-header img {
  height: 42px;
  width: auto;
  display: block;
}

.wm-offcanvas-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--wm-line-strong);
  border-radius: 8px;
  color: var(--wm-white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.wm-offcanvas-close:hover {
  border-color: var(--wm-gold);
  color: var(--wm-gold);
}


/* TWO CTA TILES — Catalogues + Get a Quote */
.wm-mobile-actions-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--wm-line);
}

.wm-tile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10px;
  border-radius: 12px;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wm-tile:active { transform: scale(0.97); }

.wm-tile--catalog {
  background: var(--wm-ink);
  border: 1px solid var(--wm-gold-line);
  color: var(--wm-white) !important;
}

.wm-tile--catalog:hover {
  border-color: var(--wm-gold);
  color: var(--wm-white) !important;
}

.wm-tile--quote {
  background: linear-gradient(135deg, var(--wm-gold) 0%, var(--wm-gold-deep) 100%) !important;
  color: var(--wm-black) !important;
  box-shadow: 0 8px 20px -6px var(--wm-gold-glow);
}

.wm-tile--quote:hover {
  background: linear-gradient(135deg, var(--wm-gold-light) 0%, var(--wm-gold) 100%) !important;
  color: var(--wm-black) !important;
}

.wm-tile-icon {
  font-size: 18px;
  margin-bottom: 6px;
}

.wm-tile--catalog .wm-tile-icon { color: var(--wm-gold); }
.wm-tile--quote .wm-tile-icon { color: var(--wm-black) !important; }

.wm-tile-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wm-tile-sub {
  font-size: 10px;
  opacity: 0.65;
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wm-tile--quote .wm-tile-sub { opacity: 0.75; }


/* MOBILE NAV */
.wm-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}

.wm-mobile-nav > li {
  border-bottom: 1px solid var(--wm-line);
}

.wm-mobile-nav > li:last-child { border-bottom: none; }

.wm-mobile-nav > li > a,
.wm-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: var(--wm-white) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s, padding-left 0.2s;
}

.wm-mobile-nav > li > a:hover,
.wm-mobile-toggle:hover,
.wm-mobile-toggle.wm-open {
  color: var(--wm-gold) !important;
  padding-left: 28px;
}

.wm-mobile-toggle .fa-chevron-down {
  font-size: 11px;
  opacity: 0.6;
  transition: transform 0.3s;
}

.wm-mobile-toggle.wm-open .fa-chevron-down {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--wm-gold);
}

.wm-mobile-sub {
  max-height: 0;
  overflow: hidden;
  background: var(--wm-black-soft);
  transition: max-height 0.4s ease;
}

.wm-mobile-sub.wm-open { max-height: 2500px; }

.wm-mobile-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px 11px 36px;
  color: var(--wm-text-dim) !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: color 0.15s, padding-left 0.15s;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wm-mobile-sub a:hover {
  color: var(--wm-gold) !important;
  padding-left: 42px;
}

.wm-mobile-sport-title {
  padding: 12px 24px 6px 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--wm-gold);
  text-transform: uppercase;
  border-top: 1px solid var(--wm-line);
}

.wm-mobile-sub > .wm-mobile-sport-title:first-child { border-top: none; }


/* DRAWER FOOTER */
.wm-offcanvas-footer {
  background: #000;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--wm-text-dim);
  border-top: 1px solid var(--wm-line);
  flex-shrink: 0;
}

.wm-offcanvas-footer > a {
  color: var(--wm-text-dim) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wm-offcanvas-footer > a:hover { color: var(--wm-gold) !important; }

.wm-offcanvas-langs {
  display: flex;
  gap: 6px;
}

.wm-offcanvas-langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  border: 1px solid var(--wm-line);
  border-radius: 4px;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
}

.wm-offcanvas-langs a:hover {
  border-color: var(--wm-gold);
  transform: scale(1.05);
}

.wm-offcanvas-langs a.wm-current { border-color: var(--wm-gold); }

.wm-offcanvas-langs img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}


/* ================================================================
   MOBILE BOTTOM SHEET — Catalogues
   ================================================================ */
.wm-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: calc(var(--wm-z-sheet) - 1);
}

.wm-sheet-overlay.wm-active {
  opacity: 1;
  visibility: visible;
}

.wm-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--wm-black);
  border-top: 1px solid var(--wm-gold-line);
  border-radius: 20px 20px 0 0;
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
  z-index: var(--wm-z-sheet);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

.wm-sheet.wm-open { transform: translateY(0); }

.wm-sheet-handle {
  width: 44px;
  height: 4px;
  background: var(--wm-line-strong);
  border-radius: 2px;
  margin: 4px auto 14px;
}

.wm-sheet-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--wm-gold);
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 4px 14px;
  text-align: center;
}


/* ================================================================
   STICKY BOTTOM CTA — mobile
   ================================================================ */
.wm-mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--wm-black-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--wm-gold-line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  z-index: var(--wm-z-stickycta);
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.wm-mobile-sticky-cta a,
.wm-mobile-sticky-cta button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
}

.wm-sticky-catalog {
  background: rgba(255, 255, 255, 0.06);
  color: var(--wm-white) !important;
  border: 1px solid var(--wm-line-strong) !important;
}

.wm-sticky-quote {
  background: linear-gradient(135deg, var(--wm-gold) 0%, var(--wm-gold-deep) 100%) !important;
  color: var(--wm-black) !important;
  text-transform: uppercase;
  box-shadow: 0 4px 14px -4px var(--wm-gold-glow);
}

.wm-sticky-quote:hover,
.wm-sticky-quote:focus,
.wm-sticky-quote:active,
.wm-sticky-quote:visited {
  background: linear-gradient(135deg, var(--wm-gold-light) 0%, var(--wm-gold) 100%) !important;
  color: var(--wm-black) !important;
}


/* ================================================================
   FIX FOR /quotation/ AND OTHER PAGE TEMPLATES
   The theme's .page-dark wrapper uses `display:flex` from Bootstrap
   on some templates, breaking lang dropdown flow. This forces
   our header to always render correctly regardless of page.
   ================================================================ */
.wm-header,
.wm-header-inner,
.wm-header-actions,
.wm-lang-pill,
.wm-lang-drop,
.wm-catalog-drop {
  box-sizing: border-box;
}

.wm-header * {
  box-sizing: border-box;
}

/* Prevent theme global styles from hijacking dropdown links */
.wm-lang-drop a,
.wm-catalog-card,
.wm-dropdown a,
.wm-sport-links a,
.wm-mobile-sub a {
  background-image: none !important;
}

/* Prevent breadcrumbs section from pushing content under header on quotation/contact */
.breadcrumd-section {
  position: relative;
  z-index: 1;
}


/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 1280px) {
  .wm-nav > li > a {
    padding: 10px 10px;
    font-size: 12.5px;
  }
  .wm-header-inner {
    padding: 0 24px;
    gap: 16px;
  }
  .wm-mega-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .wm-nav,
  .wm-btn-catalog,
  a.wm-btn-quote,
  .wm-btn-quote {
    display: none !important;
  }

  .wm-hamburger { display: flex; }

  .wm-mobile-sticky-cta { display: grid; grid-template-columns: 1fr;  }

  body { padding-bottom: 70px; }

  /* Logo bigger on mobile - more visible */
  .wm-logo img { height: 46px; }
}

@media (max-width: 640px) {
  .wm-header-inner {
    padding: 0 14px;
    gap: 8px;
  }

  .wm-logo img { height: 42px; }

  .wm-lang-pill-btn {
    padding: 6px 8px;
    font-size: 11px;
  }

  .wm-lang-pill-btn span { display: none; }
}

@media (max-width: 1100px) {
  .fb-customerchat,
  .fb_dialog {
    bottom: 80px !important;
  }
}