:root {
  --emv-nav-blue: #0753bb;
  --emv-nav-blue-dark: #043f92;
  --emv-nav-ink: #07152f;
  --emv-nav-muted: #5c6879;
  --emv-nav-line: #d9e4f2;
  --emv-nav-soft: #f0f6ff;
  --emv-nav-shadow: 0 24px 70px rgba(8, 29, 60, 0.17), 0 4px 14px rgba(8, 29, 60, 0.08);
}

@media screen and (min-width: 1024px) {
  #masthead,
  #masthead .site-header-wrapper,
  #masthead .main-navigation {
    overflow: visible !important;
  }

  #masthead .site-header-wrapper {
    position: static !important;
  }

  #masthead .main-navigation {
    position: static !important;
    min-width: 0;
    flex: 1 1 auto;
  }

  .emv-desktop-navigation {
    position: static;
    width: 100%;
    font-family: "Lato", Arial, sans-serif;
  }

  .emv-desktop-navigation a,
  .emv-desktop-navigation button {
    text-transform: none !important;
  }

  .emv-menu-list,
  .emv-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .emv-desktop-navigation .emv-menu-panel ul {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .emv-desktop-navigation .emv-menu-panel li {
    position: relative;
    float: none !important;
    width: auto !important;
  }

  .emv-menu-list {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.25vw, 25px);
    width: 100%;
  }

  .emv-menu-item {
    position: relative;
    flex: 0 0 auto;
  }

  .emv-menu-item--mega {
    position: static !important;
  }

  .emv-top-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 15px 3px 13px !important;
    border: 0 !important;
    background: transparent;
    color: var(--emv-nav-ink) !important;
    font: inherit;
    font-size: clamp(12px, 0.79vw, 15px) !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease;
  }

  .emv-top-link::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 7px;
    left: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--emv-nav-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
  }

  .emv-menu-item:hover > .emv-top-link,
  .emv-menu-item.is-open > .emv-top-link,
  .emv-menu-item.is-current > .emv-top-link {
    color: var(--emv-nav-blue) !important;
  }

  .emv-menu-item:hover > .emv-top-link::after,
  .emv-menu-item.is-open > .emv-top-link::after,
  .emv-menu-item.is-current > .emv-top-link::after {
    transform: scaleX(1);
  }

  .emv-chevron {
    display: inline-block !important;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 180ms ease, margin 180ms ease;
  }

  .emv-menu-item.is-open > .emv-top-link .emv-chevron {
    margin-top: 4px;
    transform: rotate(225deg);
  }

  .emv-menu-panel {
    position: absolute;
    z-index: 999999;
    border: 1px solid rgba(7, 83, 187, 0.12);
    border-radius: 14px;
    background: #fff !important;
    box-shadow: var(--emv-nav-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 170ms ease, transform 190ms ease, visibility 190ms;
  }

  .emv-menu-item:hover > .emv-menu-panel,
  .emv-menu-item.is-open > .emv-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .emv-simple-panel {
    top: 100%;
    left: 50%;
    width: max-content;
    min-width: 250px;
    max-width: 320px;
    max-height: min(72vh, 650px);
    padding: 10px;
    overflow-x: visible;
    overflow-y: auto;
    transform: translate(-50%, 10px);
  }

  .emv-menu-item:hover > .emv-simple-panel,
  .emv-menu-item.is-open > .emv-simple-panel {
    transform: translate(-50%, 0);
  }

  .emv-menu-item:nth-last-child(-n + 2) > .emv-simple-panel {
    right: 0;
    left: auto;
    transform: translateY(10px);
  }

  .emv-menu-item:nth-last-child(-n + 2):hover > .emv-simple-panel,
  .emv-menu-item:nth-last-child(-n + 2).is-open > .emv-simple-panel {
    transform: translateY(0);
  }

  .emv-simple-item {
    position: relative;
  }

  .emv-simple-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100% !important;
    margin: 0 !important;
    padding: 11px 12px !important;
    border-radius: 9px;
    color: var(--emv-nav-ink) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    transition: color 150ms ease, background 150ms ease, transform 150ms ease;
  }

  .emv-simple-link:hover,
  .emv-simple-link:focus-visible {
    background: var(--emv-nav-soft);
    color: var(--emv-nav-blue) !important;
    outline: none;
    transform: translateX(3px);
  }

  .emv-simple-link-arrow {
    color: var(--emv-nav-blue);
    font-size: 18px;
  }

  .emv-simple-nested {
    margin: 2px 0 6px 10px !important;
    padding-left: 8px !important;
    border-left: 1px solid var(--emv-nav-line);
  }

  .emv-simple-nested .emv-simple-link {
    padding: 8px 10px;
    color: var(--emv-nav-muted) !important;
    font-size: 12px;
    font-weight: 600;
  }

  .emv-mega-panel {
    /*
     * The theme leaves 20px below the navigation row inside #masthead.
     * Pull the panel over that internal padding so the pointer never has
     * to cross a dead zone between Repuestos and the mega menu.
     */
    top: calc(100% - 20px);
    left: 50vw;
    width: min(1680px, calc(100vw - 40px));
    max-height: min(calc(100vh - 150px), 780px);
    padding: clamp(20px, 1.7vw, 30px);
    overflow-x: hidden;
    overflow-y: auto;
    transform: translate(-50%, 12px);
  }

  .emv-menu-item:hover > .emv-mega-panel,
  .emv-menu-item.is-open > .emv-mega-panel {
    transform: translate(-50%, 0);
  }

  .emv-mega-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0753bb, #2588ef 55%, #0d63cf);
  }

  .emv-mega-grid {
    display: grid;
    grid-template-columns:
      minmax(0, 0.85fr)
      minmax(0, 0.9fr)
      minmax(0, 0.9fr)
      minmax(0, 0.9fr)
      minmax(0, 1.15fr)
      minmax(0, 0.65fr)
      minmax(0, 1.25fr)
      minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(20px, 1.55vw, 30px) clamp(14px, 1vw, 20px);
  }

  .emv-mega-group {
    min-width: 0;
    white-space: normal !important;
  }

  .emv-mega-title {
    position: relative;
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    width: 100% !important;
    margin: 0 0 5px !important;
    padding: 0 3px 9px !important;
    border-bottom: 2px solid var(--emv-nav-blue);
    color: var(--emv-nav-ink) !important;
    font-size: clamp(14px, 0.78vw, 15.5px) !important;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow-wrap: normal;
    word-break: normal;
    transition: color 150ms ease, border-color 150ms ease;
  }

  .emv-mega-title:hover,
  .emv-mega-title:focus-visible {
    color: var(--emv-nav-blue) !important;
    border-color: #38a0ff;
    outline: none;
  }

  .emv-mega-title-arrow {
    position: absolute;
    top: 1px;
    right: 3px;
    flex: 0 0 auto;
    color: var(--emv-nav-blue);
    font-size: 13px;
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .emv-mega-title:hover .emv-mega-title-arrow,
  .emv-mega-title:focus-visible .emv-mega-title-arrow {
    opacity: 1;
    transform: translate(0, 0);
  }

  .emv-mega-links {
    display: grid !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
    white-space: normal !important;
  }

  .emv-mega-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100% !important;
    margin: 0 !important;
    min-height: 29px;
    padding: 5px 7px !important;
    border-radius: 8px;
    color: #164b96 !important;
    font-size: clamp(12px, 0.69vw, 13.5px) !important;
    font-weight: 700;
    line-height: 1.28;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    transform: translateX(0);
    transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  }

  .emv-mega-link:hover,
  .emv-mega-link:focus-visible {
    background: var(--emv-nav-soft);
    box-shadow: inset 3px 0 0 var(--emv-nav-blue);
    color: var(--emv-nav-blue-dark) !important;
    outline: none;
    transform: translateX(4px);
  }

  .emv-link-arrow {
    flex: 0 0 auto;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .emv-mega-link:hover .emv-link-arrow,
  .emv-mega-link:focus-visible .emv-link-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  .emv-top-link:focus-visible {
    border-radius: 6px;
    outline: 2px solid rgba(7, 83, 187, 0.42);
    outline-offset: 2px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1179px) {
  .emv-menu-list {
    gap: 8px;
  }

  .emv-top-link {
    gap: 6px;
    padding-right: 1px !important;
    padding-left: 1px !important;
    font-size: 11.5px !important;
  }

  .emv-mega-panel {
    width: calc(100vw - 24px);
    padding: 20px;
  }

  .emv-mega-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .emv-mega-title {
    min-height: 42px;
    font-size: 14px !important;
  }

  .emv-mega-link {
    min-height: 27px;
    padding: 4px 7px !important;
    font-size: 11.5px !important;
  }
}

@media screen and (min-width: 1180px) and (max-width: 1599px) {
  .emv-mega-panel {
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .emv-mega-grid {
    grid-template-columns:
      minmax(0, 0.85fr)
      minmax(0, 0.9fr)
      minmax(0, 0.9fr)
      minmax(0, 0.9fr)
      minmax(0, 1.15fr)
      minmax(0, 0.65fr)
      minmax(0, 1.25fr)
      minmax(0, 1.4fr);
    gap: 20px 12px;
  }

  .emv-mega-title {
    min-height: 42px;
    margin-bottom: 5px !important;
    padding-bottom: 8px !important;
    font-size: 13px !important;
  }

  .emv-mega-link {
    min-height: 27px;
    padding: 4px 6px !important;
    font-size: 11.5px !important;
  }
}

@media screen and (max-width: 1023px) {
  .emv-desktop-navigation {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emv-desktop-navigation *,
  .emv-desktop-navigation *::before,
  .emv-desktop-navigation *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* AJAX price-mode state. Higher specificity keeps the live state above the
   legacy server-rendered inline rules while the visitor stays on the page. */
html body.emv-price-mode-pvp ul.products li.product .price,
html body.emv-price-mode-pvp.single-product .product_infos .price,
html body.emv-price-mode-no-price ul.products li.product .price,
html body.emv-price-mode-no-price.single-product .product_infos .price {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

html body.emv-price-mode-pvp ul.products li.product .pvp_price,
html body.emv-price-mode-pvp.single-product .product_infos .pvp_price {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.emv-price-mode-b2b ul.products li.product .price {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.emv-price-mode-b2b.single-product .product_infos .price {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.emv-price-mode-b2b ul.products li.product .pvp_price,
html body.emv-price-mode-b2b.single-product .product_infos .pvp_price,
html body.emv-price-mode-no-price ul.products li.product .pvp_price,
html body.emv-price-mode-no-price.single-product .product_infos .pvp_price {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* --------------------------------------------------------------------------
   Utility top bar — desktop and responsive states
   -------------------------------------------------------------------------- */

.emv-ui-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: currentColor;
}

.emv-ui-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1024px) {
  html body.admin-bar {
    position: relative !important;
  }

  html body.admin-bar #page_wrapper .top-headers-wrapper {
    top: 0 !important;
  }

  html body.admin-bar #page_wrapper .top-headers-wrapper.on_page_scroll {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
  }

  #site-top-bar {
    position: relative !important;
    z-index: 1010 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: linear-gradient(105deg, #001229 0%, #001a3b 58%, #00132d 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
  }

  #site-top-bar .site-top-bar-inner,
  #site-top-bar .site-top-bar-inner > .row,
  #site-top-bar .site-top-bar-inner > .row > .columns,
  #site-top-bar .site-top-bar-inner > .row > [class*="column"],
  #site-top-bar .row,
  #site-top-bar .columns {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #site-top-bar #site-navigation-top-bar,
  #site-top-bar .main-navigation {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #site-top-bar #site-navigation-top-bar > ul,
  #site-top-bar .main-navigation > ul {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1920px !important;
    min-height: 52px !important;
    margin: 0 auto !important;
    padding: 0 clamp(26px, 3.1vw, 60px) !important;
    list-style: none !important;
    white-space: nowrap !important;
  }

  #site-top-bar #site-navigation-top-bar > ul > li,
  #site-top-bar .main-navigation > ul > li {
    position: relative;
    display: flex !important;
    align-items: center !important;
    float: none !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #site-top-bar #site-navigation-top-bar > ul > li.onecode-topbar-login,
  #site-top-bar .main-navigation > ul > li.onecode-topbar-login {
    display: none !important;
  }

  #site-top-bar .emv-tb-spacer {
    flex: 1 1 auto !important;
  }

  #site-top-bar .emv-tb-item > a,
  #site-top-bar .emv-tb-account-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 clamp(13px, 1.08vw, 20px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: -0.005em !important;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease !important;
  }

  #site-top-bar .emv-tb-item--contact:first-child > a {
    padding-left: 0 !important;
  }

  #site-top-bar .emv-tb-item > a:hover,
  #site-top-bar .emv-tb-item > a:focus-visible,
  #site-top-bar .emv-tb-account-trigger:hover,
  #site-top-bar .emv-tb-account-trigger:focus-visible,
  #site-top-bar .emv-tb-item--account.is-open .emv-tb-account-trigger {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    outline: none !important;
  }

  #site-top-bar .emv-tb-item--separated::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 19px;
    background: rgba(255, 255, 255, 0.42);
    content: "";
    transform: translateY(-50%);
  }

  #site-top-bar .emv-tb-item .emv-ui-icon {
    width: 18px;
    height: 18px;
  }

  #site-top-bar .emv-tb-item--contact .emv-ui-icon {
    width: 19px;
    height: 19px;
  }

  #site-top-bar .emv-tb-item--whatsapp .emv-ui-icon {
    width: 20px;
    height: 20px;
  }

  #site-top-bar #site-navigation-top-bar > ul > li.emv-tb-item--price,
  #site-top-bar .main-navigation > ul > li.emv-tb-item--price {
    padding: 0 20px !important;
  }

  .emv-price-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.62);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.005em;
  }

  .emv-price-label {
    transition: color 160ms ease;
  }

  .emv-price-toggle[data-mode="b2b"] .emv-price-label--b2b,
  .emv-price-toggle[data-mode="no-price"] .emv-price-label--b2b,
  .emv-price-toggle[data-mode="pvp"] .emv-price-label--pvp {
    color: #fff;
  }

  .emv-price-toggle-button {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 49px;
    height: 27px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, #0878df, #0793ee);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 3px 10px rgba(0, 99, 205, 0.22);
    cursor: pointer;
  }

  .emv-price-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 19, 45, 0.4);
    transition: transform 180ms ease;
  }

  .emv-price-toggle[data-mode="pvp"] .emv-price-toggle-knob {
    transform: translateX(23px);
  }

  .emv-price-toggle.is-loading {
    opacity: 0.7;
    pointer-events: none;
  }

  .emv-price-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  .emv-language-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 76px;
    min-height: 52px;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.94);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .emv-language-control--desktop:hover,
  .emv-language-control--desktop:focus-visible,
  .emv-language-control--desktop.is-open {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
  }

  .emv-language-control .emv-ui-icon--globe {
    width: 18px;
    height: 18px;
  }

  .emv-language-control .emv-ui-icon--chevron {
    width: 13px;
    height: 13px;
  }

  .emv-language-native,
  .emv-language-native > span,
  .emv-language-native .gt_switcher_wrapper {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .emv-language-native select,
  .emv-language-native .gt_selector {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
  }

  .emv-language-control--desktop .emv-language-native,
  .emv-language-control--desktop .emv-language-native > span,
  .emv-language-control--desktop .emv-language-native .gt_switcher_wrapper,
  .emv-language-control--desktop .emv-language-native .gtranslate_wrapper,
  .emv-language-control--desktop .emv-language-native .gt_container-35qzoi,
  .emv-language-control--desktop .emv-language-native select,
  .emv-language-control--desktop .emv-language-native .gt_selector {
    z-index: -1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .emv-language-control--desktop > .emv-ui-icon--chevron {
    transition: transform 160ms ease;
  }

  .emv-language-control--desktop:hover > .emv-ui-icon--chevron,
  .emv-language-control--desktop:focus-within > .emv-ui-icon--chevron,
  .emv-language-control--desktop.is-open > .emv-ui-icon--chevron {
    transform: rotate(180deg);
  }

  .emv-language-menu {
    position: absolute !important;
    top: calc(100% - 1px) !important;
    right: 0 !important;
    z-index: 1250 !important;
    display: grid !important;
    width: 190px !important;
    max-height: min(360px, calc(100vh - 110px)) !important;
    margin: 0 !important;
    padding: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    visibility: hidden;
    opacity: 0;
    border: 1px solid #dce6f1 !important;
    border-radius: 0 0 12px 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 38px rgba(0, 25, 58, 0.2) !important;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
    gap: 2px !important;
    overscroll-behavior: contain;
  }

  .emv-language-control--desktop:hover .emv-language-menu,
  .emv-language-control--desktop:focus-within .emv-language-menu,
  .emv-language-control--desktop.is-open .emv-language-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .emv-language-option {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #183554 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    transition: background-color 130ms ease, color 130ms ease !important;
  }

  .emv-language-option small {
    color: #8291a3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .emv-language-option:hover,
  .emv-language-option:focus-visible {
    background: #eef6ff !important;
    color: #075bb6 !important;
    outline: none !important;
  }

  .emv-language-option.is-active {
    background: #e7f2ff !important;
    color: #0754ab !important;
  }

  .emv-language-option.is-active small {
    color: #0872cf;
  }

  #site-top-bar .emv-tb-account-trigger .emv-ui-icon--chevron {
    width: 13px;
    height: 13px;
    transition: transform 160ms ease;
  }

  #site-top-bar .emv-tb-item--account.is-open .emv-ui-icon--chevron {
    transform: rotate(180deg);
  }

  #site-top-bar .emv-tb-account-menu {
    position: absolute !important;
    top: calc(100% - 1px) !important;
    right: 0 !important;
    z-index: 1100 !important;
    display: block !important;
    width: 220px !important;
    min-width: 220px !important;
    margin: 0 !important;
    padding: 8px !important;
    visibility: hidden;
    opacity: 0;
    border: 1px solid #dfe7f1 !important;
    border-radius: 0 0 12px 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 38px rgba(0, 25, 58, 0.18) !important;
    list-style: none !important;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  #site-top-bar .emv-tb-item--account:hover .emv-tb-account-menu,
  #site-top-bar .emv-tb-item--account:focus-within .emv-tb-account-menu,
  #site-top-bar .emv-tb-item--account.is-open .emv-tb-account-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #site-top-bar .emv-tb-account-menu li {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #site-top-bar .emv-tb-account-menu a {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    color: #153457 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  #site-top-bar .emv-tb-account-menu a:hover,
  #site-top-bar .emv-tb-account-menu a:focus-visible {
    background: #eaf4ff !important;
    color: #0753bb !important;
    outline: none !important;
  }

  #site-top-bar .emv-tb-button > a {
    min-height: 38px !important;
    margin-left: 10px !important;
    padding: 0 18px !important;
    border-radius: 5px !important;
  }

  #site-top-bar .emv-tb-button--outline > a {
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.02) !important;
  }

  #site-top-bar .emv-tb-button--primary > a {
    border: 1px solid #0877d9 !important;
    background: linear-gradient(135deg, #0877d9, #0063bd) !important;
    box-shadow: 0 6px 16px rgba(0, 97, 194, 0.28) !important;
  }

  html body:not(.logged-in) #page_wrapper #site-top-bar #site-navigation-top-bar > ul > li.emv-tb-button--primary > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    margin-left: 12px !important;
    padding: 0 20px !important;
    border-color: #0877d9 !important;
    border-radius: 5px !important;
    background: linear-gradient(135deg, #0877d9, #0063bd) !important;
    box-shadow: 0 6px 16px rgba(0, 97, 194, 0.28) !important;
    color: #fff !important;
  }

  #site-top-bar .emv-tb-button--outline > a:hover,
  #site-top-bar .emv-tb-button--outline > a:focus-visible {
    background: rgba(255, 255, 255, 0.12) !important;
  }

  #site-top-bar .emv-tb-button--primary > a:hover,
  #site-top-bar .emv-tb-button--primary > a:focus-visible {
    background: linear-gradient(135deg, #1290f4, #0871d2) !important;
  }

  html body:not(.logged-in) #page_wrapper #site-top-bar #site-navigation-top-bar > ul > li.emv-tb-button--primary > a:hover,
  html body:not(.logged-in) #page_wrapper #site-top-bar #site-navigation-top-bar > ul > li.emv-tb-button--primary > a:focus-visible {
    background: linear-gradient(135deg, #1290f4, #0871d2) !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1320px) {
  #site-top-bar #site-navigation-top-bar > ul,
  #site-top-bar .main-navigation > ul {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  #site-top-bar .emv-tb-item > a,
  #site-top-bar .emv-tb-account-trigger {
    gap: 6px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 11.5px !important;
  }

  #site-top-bar #site-navigation-top-bar > ul > li.emv-tb-item--price,
  #site-top-bar .main-navigation > ul > li.emv-tb-item--price {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .emv-price-toggle {
    gap: 6px;
    font-size: 11.5px;
  }

  .emv-price-toggle-button {
    width: 45px;
    height: 26px;
  }

  .emv-price-toggle-knob {
    width: 18px;
    height: 18px;
  }

  .emv-price-toggle[data-mode="pvp"] .emv-price-toggle-knob {
    transform: translateX(19px);
  }

  .emv-language-control {
    min-width: 61px;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 11.5px;
  }
}

@media screen and (max-width: 1023px) {
  #site-top-bar {
    display: none !important;
  }

  .site-tools-non-logged {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
  }

  .site-tools-non-logged .btn-1,
  .site-tools-non-logged .btn-2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }

  .site-tools-non-logged .btn-2 {
    order: 1;
    border: 1px solid #0a67bd !important;
    background: #fff !important;
    color: #0753a8 !important;
  }

  .site-tools-non-logged .btn-1 {
    order: 2;
    border: 1px solid #0871ce !important;
    background: linear-gradient(135deg, #0879dd, #0061b9) !important;
    box-shadow: 0 5px 14px rgba(0, 91, 182, 0.16) !important;
    color: #fff !important;
  }

  #sc-mobile-menu-wrapper .emv-mobile-utility,
  .emv-mobile-utility {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 18px 24px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    background: linear-gradient(180deg, #f5f9fe 0%, #fff 32%) !important;
    box-shadow: none !important;
    color: #102a48 !important;
  }

  #sc-mobile-menu-wrapper .emv-mobile-utility::before,
  .emv-mobile-utility::before {
    display: none !important;
    content: none !important;
  }

  .emv-mobile-utility-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
  }

  .emv-mobile-utility-heading > span {
    color: #081f3b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }

  .emv-mobile-utility-heading > small {
    color: #6d7e92;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .emv-mobile-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
  }

  .emv-mobile-card,
  .emv-mobile-guest-actions > a,
  .emv-mobile-logout {
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  .emv-mobile-card {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    min-width: 0;
    min-height: 62px;
    padding: 12px 13px !important;
    border: 1px solid #dfe9f4 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(16, 55, 94, 0.07) !important;
    color: #102f53 !important;
  }

  .emv-mobile-card .emv-ui-icon {
    width: 23px;
    height: 23px;
    color: #0875d1;
  }

  .emv-mobile-card > span:not(.emv-ui-icon):not(.emv-mobile-card-arrow) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
  }

  .emv-mobile-card small,
  .emv-mobile-control-card > small {
    color: #75869a;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.045em;
  }

  .emv-mobile-card strong {
    overflow: hidden;
    color: #102f53;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .emv-mobile-card--contact strong {
    font-size: 11px;
    letter-spacing: -0.02em;
  }

  .emv-mobile-card--contact {
    gap: 8px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .emv-mobile-card--contact .emv-ui-icon {
    width: 20px;
    height: 20px;
  }

  .emv-mobile-card--primary {
    margin-bottom: 10px;
    border-color: #076dca !important;
    background: linear-gradient(135deg, #0877d9, #005eb5) !important;
    box-shadow: 0 8px 20px rgba(0, 91, 182, 0.2) !important;
  }

  .emv-mobile-card--primary .emv-ui-icon,
  .emv-mobile-card--primary small,
  .emv-mobile-card--primary strong,
  .emv-mobile-card--primary .emv-mobile-card-arrow {
    color: #fff !important;
  }

  .emv-mobile-card-arrow {
    margin-left: auto;
    color: #0a6fc8;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
  }

  .emv-mobile-control-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(112px, 0.65fr);
    gap: 10px;
    margin-bottom: 10px;
  }

  .emv-mobile-control-card,
  .emv-mobile-language-row {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid #dfe9f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(16, 55, 94, 0.07);
  }

  .emv-mobile-control-card .emv-price-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: #76889c;
    font-size: 10px;
    font-weight: 800;
  }

  .emv-mobile-control-card .emv-price-label {
    transition: color 160ms ease;
  }

  .emv-mobile-control-card .emv-price-toggle[data-mode="b2b"] .emv-price-label--b2b,
  .emv-mobile-control-card .emv-price-toggle[data-mode="no-price"] .emv-price-label--b2b,
  .emv-mobile-control-card .emv-price-toggle[data-mode="pvp"] .emv-price-label--pvp {
    color: #0753a4;
  }

  .emv-mobile-control-card .emv-price-toggle-button {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #0879dc;
    box-shadow: inset 0 1px 2px rgba(0, 29, 61, 0.2);
  }

  .emv-mobile-control-card .emv-price-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 22, 50, 0.3);
    transition: transform 180ms ease;
  }

  .emv-mobile-control-card .emv-price-toggle[data-mode="pvp"] .emv-price-toggle-knob {
    transform: translateX(18px);
  }

  .emv-price-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
  }

  .emv-mobile-control-card .emv-language-control,
  .emv-mobile-language-row .emv-language-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    color: #0e3d70;
    font-size: 13px;
    font-weight: 800;
  }

  .emv-mobile-control-card .emv-language-control .emv-ui-icon,
  .emv-mobile-language-row .emv-language-control .emv-ui-icon {
    width: 18px;
    height: 18px;
    color: #0875d1;
  }

  .emv-language-native,
  .emv-language-native > span,
  .emv-language-native .gt_switcher_wrapper {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .emv-language-native select,
  .emv-language-native .gt_selector {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
  }

  .emv-mobile-card--account {
    margin-bottom: 8px;
  }

  .emv-mobile-account-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 13px;
  }

  .emv-mobile-account-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 7px;
    border-radius: 9px;
    background: #eef5fc;
    color: #22507f !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
  }

  .emv-mobile-logout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #fff;
    color: #4e6278 !important;
    font-size: 12px;
    font-weight: 800;
  }

  .emv-mobile-logout .emv-ui-icon {
    width: 18px;
    height: 18px;
  }

  .emv-mobile-language-row {
    min-height: 61px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .emv-mobile-language-row > span {
    color: #576d84;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .emv-mobile-guest-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .emv-mobile-guest-actions > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 49px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
  }

  .emv-mobile-guest-login {
    border: 1px solid #0a68be;
    background: #fff;
    color: #0759aa !important;
  }

  .emv-mobile-guest-register {
    border: 1px solid #086dc7;
    background: linear-gradient(135deg, #0879dd, #0061b9);
    box-shadow: 0 8px 20px rgba(0, 91, 182, 0.18);
    color: #fff !important;
  }

  .emv-mobile-guest-actions .emv-ui-icon {
    width: 19px;
    height: 19px;
  }
}

@media screen and (max-width: 374px) {
  .site-tools-non-logged {
    gap: 5px !important;
  }

  .site-tools-non-logged .btn-1,
  .site-tools-non-logged .btn-2 {
    min-height: 30px !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 8.5px !important;
  }

  .emv-mobile-contact-grid,
  .emv-mobile-control-grid {
    grid-template-columns: 1fr;
  }

  .emv-mobile-account-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emv-price-toggle-knob,
  .emv-tb-account-menu {
    transition-duration: 0.01ms !important;
  }
}

/* Desktop header — blue visual system, aligned with the redesigned top bar. */
@media screen and (min-width: 1024px) {
  #masthead.site-header {
    height: 88px !important;
    min-height: 88px !important;
    padding: 0 !important;
    border-top: 1px solid rgba(133, 211, 255, 0.35) !important;
    border-bottom: 1px solid rgba(0, 29, 81, 0.28) !important;
    background: linear-gradient(102deg, #07509f 0%, #075bb8 48%, #0570d8 100%) !important;
    box-shadow: 0 2px 7px rgba(2, 31, 75, 0.18) !important;
  }

  #masthead > .row,
  #masthead > .row > .columns {
    width: 100% !important;
    max-width: none !important;
    height: 88px !important;
    min-height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #masthead .site-header-wrapper {
    display: flex !important;
    align-items: center !important;
    width: calc(100% - 32px) !important;
    max-width: 1754px !important;
    height: 88px !important;
    min-height: 88px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #masthead .site-branding {
    display: flex !important;
    flex: 0 0 clamp(96px, 5.75vw, 110px) !important;
    align-items: center !important;
    width: clamp(96px, 5.75vw, 110px) !important;
    height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #masthead .site-branding > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
  }

  #masthead .site-logo,
  #masthead .sticky-logo {
    width: 100% !important;
    max-width: 110px !important;
    height: auto !important;
    max-height: 49px !important;
    object-fit: contain !important;
    content: url("https://emovedistribution.com/wp-content/uploads/2022/11/emove-blanco-logotipo.png") !important;
  }

  #masthead .search-bar {
    position: relative !important;
    display: flex !important;
    flex: 0 1 clamp(280px, 23.2vw, 445px) !important;
    align-items: center !important;
    width: clamp(280px, 23.2vw, 445px) !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 0 0 clamp(24px, 2.45vw, 47px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(223, 241, 255, 0.47) !important;
    border-radius: 999px !important;
    background: rgba(2, 36, 91, 0.18) !important;
    box-shadow: inset 0 1px 1px rgba(0, 18, 55, 0.12) !important;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease !important;
  }

  #masthead .search-bar:hover,
  #masthead .search-bar:focus-within {
    border-color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(1, 31, 78, 0.27) !important;
    box-shadow: 0 0 0 3px rgba(83, 190, 255, 0.12), inset 0 1px 1px rgba(0, 18, 55, 0.12) !important;
  }

  #masthead .search-bar .search-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 52px 0 19px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    font-family: "Lato", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 44px !important;
    box-shadow: none !important;
  }

  #masthead .search-bar .search-input::placeholder {
    color: rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
  }

  #masthead .search-bar .spf-header-clear {
    display: none !important;
  }

  #masthead .search-bar .search-button {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    z-index: 2 !important;
    display: block !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
  }

  #masthead .search-bar .search-button::before {
    content: "" !important;
    position: absolute !important;
    top: 8px !important;
    left: 7px !important;
    width: 14px !important;
    height: 14px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
  }

  #masthead .search-bar .search-button::after {
    content: "" !important;
    position: absolute !important;
    top: 21px !important;
    left: 20px !important;
    width: 8px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #fff !important;
    transform: rotate(45deg) !important;
    transform-origin: left center !important;
  }

  #masthead .main-navigation {
    display: block !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
    width: auto !important;
    min-width: 0 !important;
    height: 88px !important;
    margin: 0 0 0 clamp(22px, 3vw, 58px) !important;
    padding: 0 !important;
  }

  #masthead .emv-desktop-navigation,
  #masthead .emv-menu-list {
    height: 88px !important;
    min-height: 88px !important;
  }

  #masthead .emv-menu-list {
    justify-content: flex-start !important;
    gap: clamp(8px, 2.55vw, 49px) !important;
  }

  #masthead .emv-top-link {
    min-height: 88px !important;
    padding: 1px 0 0 !important;
    color: #fff !important;
    font-family: "Lato", Arial, sans-serif !important;
    font-size: clamp(12px, 0.83vw, 16px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.012em !important;
    text-shadow: 0 1px 1px rgba(0, 28, 75, 0.16) !important;
  }

  #masthead .emv-top-link::after {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: #5bc9ff !important;
  }

  #masthead .emv-menu-item:hover > .emv-top-link,
  #masthead .emv-menu-item.is-open > .emv-top-link,
  #masthead .emv-menu-item.is-current > .emv-top-link {
    color: #fff !important;
  }

  #masthead .emv-chevron {
    width: 7px !important;
    height: 7px !important;
    margin-top: -4px !important;
    border-width: 0 2px 2px 0 !important;
    border-style: solid !important;
    border-color: #fff !important;
  }

  #masthead .emv-menu-item.is-open > .emv-top-link .emv-chevron {
    margin-top: 4px !important;
  }

  #masthead .emv-mega-panel {
    top: 100% !important;
  }

  #masthead .shopkeeper-child-site-tools {
    display: flex !important;
    flex: 0 0 clamp(150px, 9.8vw, 188px) !important;
    align-items: center !important;
    align-self: stretch !important;
    width: clamp(150px, 9.8vw, 188px) !important;
    height: 88px !important;
    margin: 0 0 0 clamp(12px, 1vw, 20px) !important;
    padding: 0 !important;
  }

  #masthead .site-tools-logged-in,
  #masthead .site-tools-not-logged-in {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #masthead .site-tools-logged-in > li,
  #masthead .site-tools-not-logged-in > li {
    position: relative !important;
    display: flex !important;
    flex: 1 1 50% !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #masthead .site-tools-logged-in > li:first-child,
  #masthead .site-tools-not-logged-in > li:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  #masthead .site-tools-logged-in > li + li,
  #masthead .site-tools-not-logged-in > li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
  }

  #masthead .tools_button {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  #masthead .tools_button_icon {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    filter: drop-shadow(0 1px 1px rgba(0, 31, 79, 0.15)) !important;
    transition: transform 160ms ease, opacity 160ms ease !important;
  }

  #masthead .tools_button_icon img {
    display: none !important;
  }

  #masthead .my_account_icon .tools_button_icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12.1a4.55 4.55 0 1 0 0-9.1 4.55 4.55 0 0 0 0 9.1Zm0 1.9c-5.05 0-8 2.55-8 5.05C4 20.55 7.6 21 12 21s8-.45 8-1.95C20 16.55 17.05 14 12 14Z'/%3E%3C/svg%3E") !important;
  }

  #masthead .shopping-bag-button .tools_button_icon {
    width: 29px !important;
    height: 29px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.3 8.2h13.4l-.8 12.2H6.1L5.3 8.2Z'/%3E%3Cpath d='M8.7 8.2V6.6a3.3 3.3 0 0 1 6.6 0v1.6'/%3E%3C/svg%3E") !important;
  }

  #masthead .tools_button:hover .tools_button_icon,
  #masthead .tools_button:focus-visible .tools_button_icon {
    opacity: 0.86 !important;
    transform: translateY(-1px) scale(1.04) !important;
  }

  #masthead .shopping-bag-button .shopping_bag_items_number {
    position: absolute !important;
    top: -4px !important;
    right: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 29px !important;
    width: 29px !important;
    height: 29px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #0870d5 !important;
    border-radius: 999px !important;
    background: #14b9ec !important;
    color: #fff !important;
    font-family: "Lato", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    box-shadow: 0 2px 5px rgba(0, 30, 76, 0.18) !important;
    box-sizing: border-box !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  #masthead .site-header-wrapper {
    width: calc(100% - 24px) !important;
  }

  #masthead .search-bar {
    flex-basis: clamp(250px, 23vw, 294px) !important;
    width: clamp(250px, 23vw, 294px) !important;
    margin-left: 22px !important;
  }

  #masthead .main-navigation {
    margin-left: 18px !important;
  }

  #masthead .emv-menu-list {
    gap: clamp(6px, 0.75vw, 10px) !important;
  }

  #masthead .emv-top-link {
    font-size: clamp(11px, 0.96vw, 12.25px) !important;
  }

  #masthead .shopkeeper-child-site-tools {
    flex-basis: 132px !important;
    width: 132px !important;
    margin-left: 8px !important;
  }

  #masthead .shopping-bag-button .shopping_bag_items_number {
    right: 1px !important;
  }
}

/*
 * Liquidation cards inside regular product-category archives.
 * The CRM's compact card was previously limited to Promociones and Home,
 * leaving the same products oversized when they appeared in another category.
 */
@media screen and (min-width: 1024px) {
  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product {
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 11px 10px !important;
    padding: 14px !important;
    border-radius: 13px !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product > .product_thumbnail_wrapper {
    padding: 4px !important;
    border-radius: 12px !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product > .woocommerce-loop-product__title {
    min-height: clamp(48px, 3vw, 58px) !important;
    padding: 0 0 10px !important;
    font-size: clamp(13px, 0.84vw, 16px) !important;
    line-height: 1.2 !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-badges--loop {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.42fr) !important;
    gap: 6px !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-badge,
  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-urgency {
    min-width: 0 !important;
    min-height: clamp(28px, 1.68vw, 32px) !important;
    padding: 7px 5px !important;
    border-radius: 8px !important;
    font-size: clamp(8px, 0.48vw, 9px) !important;
    line-height: 1 !important;
    white-space: normal !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-urgency {
    gap: 4px !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-urgency svg {
    width: clamp(12px, 0.74vw, 14px) !important;
    height: clamp(12px, 0.74vw, 14px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-price-panel--loop {
    padding: clamp(10px, 0.64vw, 12px) 0 !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-before,
  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-before span {
    font-size: clamp(10px, 0.63vw, 12px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-before del,
  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-before del * {
    font-size: clamp(12px, 0.79vw, 15px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-now {
    gap: clamp(4px, 0.37vw, 7px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-now__label {
    font-size: clamp(11px, 0.73vw, 14px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-now ins,
  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-now ins * {
    font-size: clamp(22px, 1.47vw, 28px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-percent {
    min-width: clamp(38px, 2.31vw, 44px) !important;
    min-height: clamp(28px, 1.68vw, 32px) !important;
    padding: 6px 5px !important;
    border-radius: 8px !important;
    font-size: clamp(11px, 0.73vw, 14px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-saving,
  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-saving * {
    font-size: clamp(8.5px, 0.53vw, 10px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-saving {
    min-height: clamp(25px, 1.58vw, 30px) !important;
    margin-top: 9px !important;
    padding: 5px 7px !important;
    gap: 5px !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product .emv-liquidation-saving svg {
    width: clamp(12px, 0.74vw, 14px) !important;
    height: clamp(12px, 0.74vw, 14px) !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product > .quantity.custom {
    height: clamp(32px, 2vw, 38px) !important;
    min-height: 0 !important;
    border-radius: 8px !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product > .add_to_cart_button.ajax_add_to_cart {
    min-height: clamp(32px, 2vw, 38px) !important;
    padding: 7px 6px !important;
    font-size: clamp(9px, 0.53vw, 10px) !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  body.archive.tax-product_cat.woocommerce-js ul.products > li.product.emv-crm-liquidation-product > .emv-loop-product-sku {
    font-size: clamp(9px, 0.58vw, 11px) !important;
  }
}

/* GTranslate nests translated strings in <font> elements. Keep those wrappers
 * typographically transparent so translated liquidation labels cannot grow. */
body.woocommerce-js .emv-liquidation-card font,
body.woocommerce-js .emv-liquidation-badges font,
body.woocommerce-js .emv-liquidation-price-panel font,
#searchPopover .emv-liquidation-search-card font {
  display: inline !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-align: inherit !important;
  text-decoration: inherit !important;
  text-transform: inherit !important;
  white-space: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

body.woocommerce-js .emv-liquidation-badge font,
body.woocommerce-js .emv-liquidation-urgency font {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body.woocommerce-js .emv-liquidation-urgency > span {
  display: inline !important;
  min-width: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
}
