/* Layout: header, navigation, mobile nav, and footer */

.logo-full {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: var(--r6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(232, 103, 14, .40);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.logo-name {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .05em;
  line-height: 1;
}

.logo-name em {
  color: var(--orange);
  font-style: normal;
}

.logo-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--slate-light);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 3px;
}

.search-wrap {
  position: relative;
  min-width: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--navy-mid);
  border: 1.5px solid rgba(255, 255, 255, .10);
  border-radius: var(--r8);
  height: 48px;
  padding: 0 6px 0 18px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  overflow: hidden;
}

.search-box:focus-within {
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgba(26, 123, 255, .15);
  background: var(--navy-light);
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--f-body);
  font-size: 14px;
  color: #fff;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--slate-light);
}

.search-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, .10);
  margin: 0 10px;
}

.search-cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-light);
  padding: 0 8px;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-cat svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.search-btn {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border: 0;
  border-radius: var(--r6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}

.search-btn:hover {
  background: var(--orange-glow);
}

.search-btn svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hdr-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--r6);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate-light);
  cursor: pointer;
  transition: background .2s, color .2s;
  position: relative;
}

.hdr-btn:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.hdr-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hdr-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdr-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, .08);
}

.hdr-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: #25D366;
  border-radius: var(--r6);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}

.hdr-wa:hover {
  background: #1DB954;
  transform: scale(1.02);
}

.hdr-wa svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

.wa-header-btn {
  display: flex;
}

.nav-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  background: var(--orange);
  border: 0;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .07em;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}

.nav-all:hover {
  background: var(--orange-glow);
}

.nav-all svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.nav-links {
  display: flex;
  align-items: stretch;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, background .2s;
  border-bottom: 2.5px solid transparent;
  position: relative;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border-bottom-color: var(--electric);
}

.nav-link.active {
  color: #fff;
  border-bottom-color: var(--orange);
}

.nav-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  flex-shrink: 0;
  opacity: .7;
}

.nav-link .nav-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--orange);
  color: #fff;
  padding: 1px 6px;
  border-radius: var(--r2);
  margin-left: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-right a {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .02em;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-right a:hover {
  color: #fff;
}

.nav-right a svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 14, 26, .7);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.mega-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0b1d34;
  backdrop-filter: blur(18px);
  border-top: 2px solid var(--orange);
  box-shadow: 0 30px 90px rgba(2, 8, 18, .72);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .25s cubic-bezier(.22, 1, .36, 1), transform .25s cubic-bezier(.22, 1, .36, 1);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

.mega-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 420px;
}

.mega-sidebar {
  border-right: 1px solid rgba(255, 255, 255, .06);
  background: #081729;
}

.mega-sidebar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .18s, border-color .18s;
  position: relative;
}

.mega-sidebar-item:hover,
.mega-sidebar-item.active {
  background: rgba(232, 103, 14, .08);
  border-left-color: var(--orange);
}

.mega-sidebar-item.active .mega-sidebar-label {
  color: #fff;
}

.mega-sidebar-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r6);
  background: rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .18s;
}

.mega-sidebar-item:hover .mega-sidebar-icon,
.mega-sidebar-item.active .mega-sidebar-icon {
  background: var(--orange-pale);
  border: 1px solid rgba(232, 103, 14, .3);
}

.mega-sidebar-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--slate-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .18s;
}

.mega-sidebar-item:hover .mega-sidebar-icon svg,
.mega-sidebar-item.active .mega-sidebar-icon svg {
  stroke: var(--orange);
}

.mega-sidebar-info {
  flex: 1;
  min-width: 0;
}

.mega-sidebar-label {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .04em;
  transition: color .18s;
}

.mega-sidebar-count {
  font-size: 11px;
  color: var(--slate);
  margin-top: 1px;
}

.mega-sidebar-arrow {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, .25);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
  transition: stroke .18s;
}

.mega-sidebar-item:hover .mega-sidebar-arrow,
.mega-sidebar-item.active .mega-sidebar-arrow {
  stroke: var(--orange);
}

.mega-panel {
  display: none;
  padding: 28px 32px;
  flex-direction: column;
  gap: 24px;
}

.mega-panel.active {
  display: flex;
}

.mega-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.mega-panel-title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}

.mega-panel-desc {
  font-size: 13px;
  color: var(--slate-light);
}

.mega-subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mega-sub-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #102642;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r8);
  cursor: pointer;
  transition: background .18s, border-color .18s;
}

.mega-sub-card:hover {
  background: #162f50;
  border-color: rgba(26, 123, 255, .3);
}

.mega-sub-card:hover .mega-sub-name {
  color: #fff;
}

.mega-sub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate);
  flex-shrink: 0;
  transition: background .18s;
}

.mega-sub-card:hover .mega-sub-dot {
  background: var(--orange);
}

.mega-sub-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  transition: color .18s;
}

.mega-sub-count {
  font-size: 11px;
  color: var(--slate);
  margin-left: auto;
  flex-shrink: 0;
}

.mega-featured {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(232, 103, 14, .18), rgba(26, 123, 255, .12));
  border: 1px solid rgba(232, 103, 14, .2);
  border-radius: var(--r8);
  display: flex;
  align-items: center;
  gap: 16px;
}

.mega-featured-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mega-featured-title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.mega-featured-cta {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r4);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
}

.mega-featured-cta:hover {
  background: var(--orange-glow);
}

.mega-featured-cta svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

.site-header.scrolled {
  box-shadow: 0 6px 40px rgba(5, 14, 26, .6);
}

.site-header {
  background: var(--navy);
  border-bottom: 1.5px solid rgba(255, 255, 255, .07);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .3s, background .3s, border-color .3s;
}

.mobile-header {
  display: none;
}

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap.has-custom-logo {
  display: block;
  max-width: 520px;
}

.site-nav {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, .05);
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  height: 50px;
  gap: 0;
}

@media (min-width: 901px) {
  .announcement-bar + .site-header {
    top: 42px;
  }

  .site-header {
    background: linear-gradient(180deg, rgba(6, 18, 34, .94) 0%, rgba(7, 21, 39, .90) 100%);
    backdrop-filter: blur(16px);
    border-bottom: 0;
  }

  .site-header > .container {
    max-width: 1520px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .header-top {
    height: 66px;
    grid-template-columns: minmax(190px, 250px) minmax(360px, 1fr) auto;
    gap: 18px;
    padding: 0 18px 0 24px;
    background:
      linear-gradient(180deg, rgba(10, 28, 50, .96) 0%, rgba(10, 29, 52, .90) 100%);
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 26px 26px 18px 18px;
    box-shadow:
      0 16px 36px rgba(4, 11, 23, .18),
      inset 0 1px 0 rgba(255, 255, 255, .05);
  }

  .logo-wrap.has-custom-logo {
    max-width: 250px;
  }

  .logo-full {
    height: 48px;
  }

  .search-box {
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(17, 39, 69, .95) 0%, rgba(15, 36, 64, .88) 100%);
    border-color: rgba(148, 163, 184, .20);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .05),
      0 10px 24px rgba(4, 11, 23, .10);
  }

  .search-box input {
    font-size: 13.5px;
  }

  .search-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .hdr-actions {
    gap: 8px;
  }

  .hdr-btn {
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  }

  .hdr-btn--icon {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .hdr-btn--icon .hdr-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hdr-favorites-btn svg {
    width: 20px;
    height: 20px;
    color: #dbeafe;
  }

  .hdr-favorites-btn:hover svg {
    color: #fff;
  }

  .hdr-badge {
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    border: 2px solid var(--navy);
  }

  .hdr-divider {
    display: none;
  }

  .hdr-wa--compact {
    height: 40px;
    padding: 0 16px;
    border-radius: 14px;
    gap: 8px;
    box-shadow:
      0 12px 28px rgba(37, 211, 102, .18),
      inset 0 1px 0 rgba(255, 255, 255, .16);
  }

  .hdr-wa--compact .hdr-wa-label {
    font-size: 12.5px;
    font-weight: 800;
  }

  .site-nav {
    background: transparent;
    border-top: 0;
  }

  .nav-inner {
    height: 42px;
    padding: 0 10px 0 0;
    background: linear-gradient(180deg, rgba(16, 35, 60, .94) 0%, rgba(13, 31, 54, .94) 100%);
    border: 1px solid rgba(148, 163, 184, .10);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 12px 28px rgba(4, 11, 23, .12);
  }

  .nav-all {
    padding: 0 18px;
    font-size: 12px;
    letter-spacing: .06em;
    border-radius: 0 0 14px 14px;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .08);
  }

  .nav-link {
    padding: 0 15px;
    font-size: 12.5px;
    color: rgba(226, 232, 240, .72);
  }

  .nav-right {
    gap: 16px;
    padding: 0 16px;
  }

  .nav-right a {
    font-size: 11.5px;
    color: rgba(226, 232, 240, .64);
    position: relative;
    padding: 0 0 2px;
  }

  .nav-right a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange) 0%, #ffb86b 100%);
    opacity: 0;
    transform: scaleX(.5);
    transition: opacity .18s ease, transform .18s ease;
  }

  .nav-right a:hover::after,
  .nav-right a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .mega-menu {
    background: #0a1d34;
    border-top-color: rgba(232, 103, 14, .92);
  }

  .site-header.desktop-compact {
    background:
      linear-gradient(180deg, rgba(7, 22, 42, .985) 0%, rgba(10, 28, 50, .975) 100%);
    border-bottom-color: rgba(148, 163, 184, .08);
    box-shadow: 0 18px 44px rgba(5, 14, 26, .34);
    backdrop-filter: blur(18px);
  }

  .site-header.desktop-compact .header-top {
    height: 44px;
    grid-template-columns: minmax(118px, 150px) auto auto;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 0 12px 0 18px;
    border-radius: 20px 20px 12px 12px;
    box-shadow:
      0 12px 26px rgba(4, 11, 23, .16),
      inset 0 1px 0 rgba(255, 255, 255, .04);
  }

  .site-header.desktop-compact .logo-wrap.has-custom-logo {
    max-width: 150px;
  }

  .site-header.desktop-compact .logo-full {
    height: 26px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .16));
  }

  .site-header.desktop-compact .search-wrap {
    justify-self: center;
    width: min(720px, 48vw);
    min-width: 0;
    margin-left: 0;
  }

  .site-header.desktop-compact .search-box {
    width: 100%;
    min-width: min(520px, 44vw);
    height: 36px;
    padding: 0 4px 0 14px;
    border-radius: 999px;
    justify-content: flex-start;
    cursor: text;
    background: rgba(20, 44, 78, .92);
    border-color: rgba(148, 163, 184, .18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .05),
      0 6px 18px rgba(2, 8, 18, .18);
  }

  .site-header.desktop-compact .search-box input,
  .site-header.desktop-compact .search-box .search-divider,
  .site-header.desktop-compact .search-box .search-cat {
    opacity: 1;
    width: auto;
    min-width: 0;
    margin: 0;
    pointer-events: auto;
  }

  .site-header.desktop-compact .search-box .search-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
  }

  .site-header.desktop-compact .hdr-actions {
    gap: 6px;
    justify-self: end;
    align-items: center;
  }

  .site-header.desktop-compact .hdr-btn,
  .site-header.desktop-compact .hdr-wa--compact {
    height: 34px;
    border-radius: 999px;
  }

  .site-header.desktop-compact .site-nav {
    background: linear-gradient(180deg, rgba(13, 32, 56, .98) 0%, rgba(12, 28, 49, .98) 100%);
    border-top-color: rgba(255, 255, 255, .03);
  }

  .site-header.desktop-compact .nav-inner {
    height: 34px;
    align-items: center;
    padding: 0 8px 0 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 22px rgba(4, 11, 23, .12);
  }

  .site-header.desktop-compact .nav-all {
    padding: 0 12px;
    font-size: 10px;
    border-radius: 0 999px 999px 0;
    gap: 8px;
  }

  .site-header.desktop-compact .nav-links {
    display: none;
  }

  .site-header.desktop-compact .nav-link {
    padding: 0 13px;
    font-size: 12px;
  }

  .site-header.desktop-compact .nav-right {
    gap: 10px;
    padding: 0 14px;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header.desktop-compact .nav-right::-webkit-scrollbar {
    display: none;
  }

  .site-header.desktop-compact .nav-right a {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .015em;
    white-space: nowrap;
    color: rgba(226, 232, 240, .74);
  }

  .site-header.desktop-compact .hdr-btn {
    min-width: 34px;
    padding: 0 9px;
    background: rgba(255, 255, 255, .04);
    border-color: rgba(148, 163, 184, .16);
  }

  .site-header.desktop-compact .hdr-btn .hdr-btn-label,
  .site-header.desktop-compact .hdr-account-trigger,
  .site-header.desktop-compact .hdr-btn[href*="/carrito.php"] {
    font-size: 0;
    gap: 0;
  }

  .site-header.desktop-compact .hdr-btn[href*="/carrito.php"] svg,
  .site-header.desktop-compact .hdr-account-trigger svg {
    margin: 0;
  }

  .site-header.desktop-compact .hdr-btn[href*="/carrito.php"]::after {
    content: '';
  }

  .site-header.desktop-compact .hdr-wa--compact {
    padding: 0 13px;
    box-shadow: 0 10px 22px rgba(37, 211, 102, .18);
  }

  .site-header.desktop-compact .hdr-wa--compact .hdr-wa-label {
    font-size: 11.5px;
    font-weight: 800;
  }
}

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 64px 0 0;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.footer-brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand.has-custom-logo .footer-brand-top {
  display: block;
  margin-bottom: 14px;
}

.footer-brand-image {
  display: block;
  width: auto;
  max-width: 260px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-name {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.footer-logo-name em {
  color: var(--orange);
  font-style: normal;
}

.footer-mono {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--slate);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-contact-list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .50);
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.footer-contact-link {
  text-decoration: none;
  color: rgba(255, 255, 255, .74);
  transition: color .2s ease, transform .2s ease;
}

.footer-contact-link:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--r6);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.footer-social:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, .65);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke .2s, fill .2s;
}

.footer-social svg polygon {
  fill: currentColor;
  stroke: none;
}

.footer-social:hover svg {
  stroke: #fff;
  fill: #fff;
  color: #fff;
}

.footer-col-title {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
  transition: background .2s;
}

.footer-links a:hover::before {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, .25);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, .25);
  transition: color .2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, .6);
}

.footer-payment {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pay-badge {
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin-bottom: 26px;
  }

  .footer-menu-group {
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 12px;
  }

  .footer-info-group {
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
    background: transparent;
  }

  .footer-info-group .footer-accordion {
    pointer-events: none;
  }

  .footer-info-group .footer-accordion svg {
    display: none;
  }

  .footer-info-group [data-footer-content] {
    display: flex !important;
  }

  .footer-info-group .footer-links {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .footer-info-group .footer-links a {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .45);
    line-height: 1.35;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

body.detail-embed .announce-bar,
body.detail-embed .site-header,
body.detail-embed .site-footer,
body.detail-embed .wa-float,
body.detail-embed .scroll-top,
body.detail-embed .fav-overlay,
body.detail-embed .toast,
body.detail-embed .breadcrumb-bar,
body.detail-embed .catalog-hero {
  display: none !important;
}

.mobile-nav-overlay,
.mobile-nav-drawer,
.mobile-section-cta,
.footer-accordion {
  display: none;
}

.footer-menu-group .footer-accordion {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
}

.footer-menu-group .footer-accordion svg {
  display: none;
}

@media (max-width: 1023px) {
  .wa-header-btn {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 56px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .header-top {
    grid-template-columns: auto auto;
  }

  .search-wrap {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }

  .site-header {
    background: #08172b;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .site-header > .container {
    padding: 0;
  }

  .mobile-header {
    display: block;
    height: 56px;
    padding: 0;
    background: #08172b;
  }

  .mobile-header-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 16px;
  }

  .mobile-search-row {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 16px;
    background: #08172b;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height .28s ease, opacity .24s ease, padding-top .24s ease, padding-bottom .24s ease, transform .28s ease;
  }

  .mobile-search-row.is-open {
    padding-top: 10px;
    padding-bottom: 12px;
    max-height: 94px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-logo-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
  }

  .mobile-logo-full {
    display: block;
    height: 36px;
    width: auto;
    max-width: min(48vw, 180px);
    object-fit: contain;
  }

  .mobile-logo-name {
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .02em;
    line-height: 1;
  }

  .mobile-logo-name em {
    color: var(--orange);
    font-style: normal;
  }

  .mobile-icon-btn {
    width: 24px;
    height: 56px;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
  }

  .mobile-search-toggle.is-active {
    background: transparent;
    border-color: transparent;
    color: var(--orange);
  }

  .mobile-search-box {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    height: 54px;
    padding: 0 8px 0 16px;
    background: var(--navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-search-box:focus-within {
    background: #152c4a;
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
  }

  .mobile-search-box svg {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2.5;
  }

  .mobile-search-box input {
    min-width: 0;
    width: 100%;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    outline: none;
  }

  .mobile-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .mobile-search-box button {
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border: none;
  }

  .header-top,
  .site-nav > .container,
  .mega-overlay,
  .mega-menu,
  .site-nav {
    display: none;
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 14, 26, .55);
    backdrop-filter: blur(2px);
    z-index: 350;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .mobile-nav-overlay.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 360px);
    background: #0b1d34;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    z-index: 360;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    box-shadow: 20px 0 80px rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav-drawer.open {
    display: block;
    transform: translateX(0);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .mobile-nav-head strong {
    display: block;
    font-family: var(--f-display);
    font-size: 28px;
    line-height: .95;
    letter-spacing: .03em;
    text-transform: uppercase;
  }

  .mobile-nav-head span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.5;
  }

  .mobile-nav-body {
    padding: 16px;
  }

  .mobile-nav-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }

  .mobile-shortcut-card {
    min-width: 0;
    min-height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-weight: 700;
  }

  .mobile-shortcut-card--accent {
    background: var(--orange);
    border-color: var(--orange);
  }

  .mobile-nav-section-title {
    margin: 22px 0 10px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
  }

  .mobile-nav-accordions {
    display: grid;
    gap: 10px;
  }

  .mobile-nav-accordion {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
  }

  .mobile-nav-accordion summary {
    list-style: none;
    padding: 14px 16px;
    cursor: pointer;
    display: grid;
    gap: 4px;
  }

  .mobile-nav-accordion summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-accordion summary span {
    font-family: var(--f-display);
    font-size: 22px;
    line-height: .95;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
  }

  .mobile-nav-accordion summary small {
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
  }

  .mobile-nav-sublist {
    display: grid;
    gap: 2px;
    padding: 0 10px 10px;
  }

  .mobile-nav-sublist a {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
  }

  .mobile-nav-sublist a:first-child {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, .06);
  }

  .mobile-nav-links {
    display: grid;
    gap: 8px;
  }

  .mobile-nav-links a {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, .84);
    font-weight: 600;
  }

  .mobile-section-cta {
    display: flex;
    margin-top: 14px;
  }

  .site-footer {
    padding-top: 28px;
  }

  .footer-brand {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .footer-about {
    max-width: none;
    font-size: 14px;
  }

  .footer-menu-group {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 12px;
  }

  .footer-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-accordion .footer-col-title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 14px;
  }

  .footer-accordion svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, .72);
    fill: none;
    stroke-width: 2.2;
    transition: transform .2s ease;
  }

  .footer-menu-group.is-open .footer-accordion svg {
    transform: rotate(180deg);
  }

  .footer-menu-group [data-footer-content] {
    display: none;
    padding-top: 12px;
  }

  .footer-menu-group.is-open [data-footer-content] {
    display: flex;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-info-group {
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
    background: transparent;
  }

  .footer-info-group .footer-accordion {
    pointer-events: none;
  }

  .footer-info-group .footer-accordion svg {
    display: none;
  }

  .footer-info-group [data-footer-content] {
    display: flex !important;
  }

  .footer-info-group .footer-links {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .footer-info-group .footer-links a {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .45);
    line-height: 1.35;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-payment,
  .footer-legal {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-image {
    height: 46px;
    max-width: 220px;
  }

  .mobile-header-row {
    gap: 8px;
    height: 56px;
  }

  .mobile-header {
    height: 56px;
    background: #08172b;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-search-row {
    top: 56px;
    z-index: 1000;
  }
}

/* FIX: Estructura del Footer */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Template sync: indelco-v2-premium.html */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 64px 0 0;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-name {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.footer-logo-name em {
  color: var(--orange);
  font-style: normal;
}

.footer-mono {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--slate);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .50);
  margin-bottom: 8px;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--r6);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.footer-social:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, .65);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke .2s;
}

.footer-social:hover svg {
  stroke: #fff;
}

.footer-col-title {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
  transition: background .2s;
}

.footer-links a:hover::before {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, .25);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, .25);
  transition: color .2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, .6);
}

.footer-payment {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pay-badge {
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  display: flex;
  align-items: center;
}
/* TANDA40: guided desktop mega menu and app-like mobile drawer. */
.nav-link--category {
  border: 0;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  height: 100%;
  min-height: 42px;
  align-self: stretch;
  background: transparent;
}

.nav-link--category.is-open,
.nav-link--category:focus-visible {
  background: rgba(232, 103, 14, .14);
  color: var(--orange);
  outline: 2px solid rgba(232, 103, 14, .42);
  outline-offset: 2px;
}

.mega-overlay {
  background: rgba(5, 14, 26, .46);
  backdrop-filter: blur(3px);
}

.mega-menu {
  background: #f8fafc;
  color: #0b1d34;
  border-top: 1px solid rgba(232, 103, 14, .45);
  box-shadow: 0 28px 80px rgba(8, 23, 43, .28);
}

.mega-inner {
  background: #fff;
  border: 1px solid rgba(213, 223, 236, .95);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

.mega-sidebar {
  background: #f3f7fb;
  border-right: 1px solid rgba(213, 223, 236, .95);
}

.mega-sidebar-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #10233d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mega-sidebar-item.active,
.mega-sidebar-item:hover,
.mega-sidebar-item:focus-visible {
  background: #fff;
  color: #0f6b7a;
  outline: none;
}

.mega-sidebar-item:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(15, 107, 122, .35);
}

.mega-sidebar-icon {
  background: rgba(15, 107, 122, .1);
  color: #0f6b7a;
}

.mega-sidebar-count,
.mega-panel-desc,
.mega-featured-label {
  color: #64748b;
}

.mega-panel-title,
.mega-sidebar-label,
.mega-featured-title {
  color: #071b36;
}

.mega-subs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.mega-sub-card {
  background: #fff;
  border: 1px solid rgba(213, 223, 236, .92);
  color: #15314f;
  min-height: 48px;
}

.mega-sub-card:hover,
.mega-sub-card:focus-visible {
  border-color: rgba(15, 107, 122, .45);
  background: #f0fdfa;
  color: #0f6b7a;
  outline: none;
}

.mega-sub-card--all {
  border-color: rgba(232, 103, 14, .35);
  background: #fff7ed;
  color: #c94f00;
  font-weight: 900;
}

.mega-sub-dot {
  background: #0f6b7a;
}

.mega-featured {
  background: linear-gradient(135deg, #071b36, #0f6b7a);
  color: #fff;
}

.mega-featured .mega-featured-label,
.mega-featured .mega-featured-title {
  color: #fff;
}

.mega-featured-cta {
  background: #fff;
  color: #0f6b7a;
}

.mobile-nav-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  padding: 0 18px 16px;
}

.mobile-nav-search input {
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding: 0 14px;
  font: inherit;
}

.mobile-nav-search input::placeholder {
  color: rgba(255, 255, 255, .68);
}

.mobile-nav-search button {
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
}

.mobile-nav-search svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.mobile-nav-accordion summary:focus-visible,
.mobile-nav-sublist a:focus-visible,
.mobile-nav-links a:focus-visible,
.mobile-shortcut-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .72);
  outline-offset: 2px;
}

@media (min-width: 901px) {
  .site-header.desktop-compact .nav-links {
    display: flex !important;
  }

  .site-header.desktop-compact .nav-link--category {
    padding-inline: 10px !important;
    font-size: 11.5px !important;
    height: 100% !important;
  }
}

/* TANDA41: category-first ecommerce navigation. */
@media (min-width: 901px) {
  .site-nav {
    background: #25282b;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(0, 0, 0, .26);
  }

  .site-nav .container {
    max-width: 1320px;
  }

  .nav-inner {
    min-height: 58px;
    align-items: stretch;
    gap: 0;
  }

  .nav-right,
  .nav-right[hidden] {
    display: none !important;
  }

  .nav-all {
    min-width: 206px;
    border-radius: 0;
    background: #1d2024;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 900;
  }

  .nav-all svg {
    width: 17px;
    height: 17px;
  }

  .nav-all:hover,
  .nav-all.is-open {
    background: #111827;
    color: #fff;
  }

  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.28) transparent;
  }

  .nav-link--category {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0 17px;
    border-left: 1px solid rgba(255, 255, 255, .06);
    border-radius: 0;
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 7px;
  }

  .nav-link--category svg {
    display: none;
  }

  .nav-link--category::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 3px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: .84;
  }

  .nav-link--category:hover,
  .nav-link--category.active,
  .nav-link--category.is-open,
  .nav-link--category:focus-visible {
    background: #111827;
    color: #fff;
    outline: none;
  }

  .mega-overlay,
  .mega-overlay.open {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .mega-menu {
    top: 100%;
    left: 0;
    right: 0;
    z-index: 500;
    width: min(1120px, calc(100vw - 32px));
    max-height: min(560px, calc(100vh - 150px));
    overflow: auto;
    background: #fff;
    color: #18283b;
    border: 1px solid #d9e2ee;
    border-top: 3px solid #1aa2c4;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 22px 62px rgba(15, 23, 42, .28);
    transform: translateY(-4px);
  }

  .mega-menu.open {
    transform: translateY(0);
  }

  .mega-inner {
    grid-template-columns: 285px minmax(0, 1fr);
    min-height: 360px;
    border: 0;
    border-radius: 0;
    background: #fff;
  }

  .mega-sidebar {
    background: #f5f7fa;
    border-right: 1px solid #d9e2ee;
  }

  .mega-sidebar-item {
    min-height: 48px;
    padding: 11px 15px;
    border-bottom: 1px solid #e4ebf3;
    border-left: 0;
    color: #2a3546;
  }

  .mega-sidebar-item.active,
  .mega-sidebar-item:hover,
  .mega-sidebar-item:focus-visible {
    background: #fff;
    color: #0e7892;
  }

  .mega-sidebar-icon {
    display: none;
  }

  .mega-sidebar-info {
    min-width: 0;
  }

  .mega-sidebar-label {
    color: inherit;
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .mega-sidebar-item.active .mega-sidebar-label,
  .mega-sidebar-item:hover .mega-sidebar-label,
  .mega-sidebar-item:focus-visible .mega-sidebar-label {
    color: #0e7892;
  }

  .mega-sidebar-count {
    margin-top: 2px;
    font-size: 11px;
    color: #7b8798;
  }

  .mega-main {
    padding: 22px 26px 24px;
  }

  .mega-panel {
    gap: 18px;
  }

  .mega-panel-title {
    font-size: 22px;
    font-weight: 900;
    color: #101828;
  }

  .mega-panel-desc {
    max-width: 720px;
    color: #64748b;
    font-size: 13px;
  }

  .mega-subs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .mega-sub-card,
  .mega-sub-card--all {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #26384d;
    box-shadow: none;
    font-weight: 700;
  }

  .mega-sub-card .mega-sub-name,
  .mega-sub-card--all .mega-sub-name {
    color: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
  }

  .mega-sub-card:hover,
  .mega-sub-card:focus-visible,
  .mega-sub-card--all:hover,
  .mega-sub-card--all:focus-visible {
    background: transparent;
    color: #0e93b4;
    text-decoration: underline;
    outline: none;
  }

  .mega-sub-dot {
    width: 5px;
    height: 5px;
    background: #1aa2c4;
  }

  .mega-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
  }

  .mega-product-link {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #fff;
    color: #172033;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .mega-product-link:hover,
  .mega-product-link:focus-visible {
    border-color: rgba(18, 133, 199, .42);
    box-shadow: 0 10px 24px rgba(8, 23, 43, .1);
    transform: translateY(-1px);
  }

  .mega-product-thumb {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #f4f7fb;
    display: grid;
    place-items: center;
    overflow: hidden;
  }

  .mega-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mega-product-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .mega-product-copy small,
  .mega-product-copy em {
    font-style: normal;
    font-size: 11px;
    line-height: 1.15;
  }

  .mega-product-copy small {
    color: #6b7280;
    text-transform: uppercase;
  }

  .mega-product-copy strong {
    color: #172033;
    font-size: 13px;
    line-height: 1.16;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mega-product-copy em {
    color: #1285c7;
    font-weight: 800;
  }

  .mega-featured {
    margin-top: auto;
    border-radius: 8px;
    background: #f0f9fc;
    color: #0f3440;
    border: 1px solid #cceef7;
    padding: 14px 16px;
  }

  .mega-featured .mega-featured-label,
  .mega-featured .mega-featured-title {
    color: #0f3440;
  }

  .mega-featured-cta {
    background: #ff5b00;
    color: #fff;
  }
}

@media (max-width: 1220px) and (min-width: 901px) {
  .nav-all {
    min-width: 170px;
  }

  .nav-link--category {
    padding-inline: 13px;
    font-size: 12.5px;
  }
}

.mobile-nav-links {
  display: none !important;
}


/* TANDA45: Toolmania-style retail header and menu. */
@media (min-width: 901px) {
  .site-header.desktop-compact {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(7, 20, 33, .06);
  }

  .site-header.desktop-compact .header-top {
    display: grid;
    grid-template-columns: 174px 112px minmax(360px, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px 0;
  }

  .site-header.desktop-compact .logo-wrap {
    justify-content: flex-start;
    min-width: 0;
  }

  .site-header.desktop-compact .logo-full {
    width: 156px;
    max-height: 54px;
    object-fit: contain;
  }

  .tm-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 7px;
    background: #00a7df;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 167, 223, .22);
  }

  .tm-menu-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
  }

  .tm-menu-btn:hover,
  .tm-menu-btn:focus-visible,
  .tm-menu-btn.is-open {
    background: #008fc0;
    outline: none;
  }

  .site-header.desktop-compact .search-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .site-header.desktop-compact .search-box {
    height: 48px;
    border: 1px solid #d8e0e8;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
  }

  .site-header.desktop-compact .search-box input {
    font-size: 15px;
    font-weight: 650;
  }

  .site-header.desktop-compact .search-cat {
    min-width: 160px;
    border-left: 1px solid #e5edf4;
  }

  .site-header.desktop-compact .search-btn {
    width: 54px;
    border-radius: 0 7px 7px 0;
    background: #00a7df;
  }

  .site-header.desktop-compact .hdr-actions {
    gap: 8px;
  }

  .site-header.desktop-compact .hdr-btn,
  .site-header.desktop-compact .hdr-wa {
    min-height: 42px;
    border-radius: 7px;
  }

  .site-header.desktop-compact .hdr-btn:not(.hdr-favorites-btn),
  .site-header.desktop-compact .hdr-divider,
  .site-header.desktop-compact a[href*="carrito.php"] {
    display: none !important;
  }

  .site-nav.tm-nav-shell {
    display: block;
    height: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
    z-index: 700;
  }

  .site-nav.tm-nav-shell > .container {
    position: relative;
  }

  .tm-menu-panel {
    position: absolute;
    top: 8px;
    left: 0;
    width: min(1060px, calc(100vw - 32px));
    max-height: min(620px, calc(100vh - 112px));
    overflow: hidden;
    border: 1px solid #d9e3ed;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 20, 33, .24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .16s ease, transform .16s ease;
  }

  .tm-menu-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .tm-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px 0 18px;
    border-bottom: 1px solid #e5edf4;
    background: #f8fafc;
  }

  .tm-menu-head strong {
    color: #071421;
    font-size: 16px;
    font-weight: 900;
  }

  .tm-menu-close {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d9e3ed;
    border-radius: 50%;
    background: #fff;
    color: #071421;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .tm-menu-grid {
    display: grid;
    grid-template-columns: 284px minmax(0, 1fr);
    min-height: 430px;
  }

  .tm-menu-cats {
    max-height: 560px;
    overflow-y: auto;
    border-right: 1px solid #d9e3ed;
    background: #f5f7fa;
  }

  .tm-menu-cat {
    width: 100%;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid #e1e8f0;
    background: transparent;
    color: #26384d;
    text-align: left;
    cursor: pointer;
  }

  .tm-menu-cat.active,
  .tm-menu-cat:hover,
  .tm-menu-cat:focus-visible {
    background: #fff;
    color: #008fc0;
    outline: none;
  }

  .tm-menu-cat-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #e8f7fc;
    color: #00a7df;
  }

  .tm-menu-cat-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
  }

  .tm-menu-cat-label {
    min-width: 0;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.18;
  }

  .tm-menu-cat > svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.4;
  }

  .tm-menu-content {
    max-height: 560px;
    overflow-y: auto;
    padding: 22px 28px 28px;
  }

  .tm-menu-panel-category[hidden] {
    display: none !important;
  }

  .tm-menu-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
  }

  .tm-menu-panel-title h3 {
    margin: 0;
    color: #071421;
    font-size: 21px;
    font-weight: 900;
  }

  .tm-menu-panel-title a,
  .tm-menu-empty a {
    color: #008fc0;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
  }

  .tm-menu-subcolumns {
    columns: 3 190px;
    column-gap: 34px;
    padding-top: 16px;
  }

  .tm-menu-subcol {
    break-inside: avoid;
    display: grid;
    gap: 2px;
    margin-bottom: 12px;
  }

  .tm-menu-subcol a {
    display: block;
    padding: 8px 0;
    color: #25364a;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
  }

  .tm-menu-subcol a:hover,
  .tm-menu-subcol a:focus-visible {
    color: #008fc0;
    text-decoration: underline;
    outline: none;
  }

  .mega-overlay,
  .mega-overlay.open {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .tm-menu-btn,
  .site-nav.tm-nav-shell {
    display: none !important;
  }
}

/* TANDA74: cuenta visible en escritorio cuando cuentas/carrito estan activos. */
@media (min-width: 901px) {
  .site-header .hdr-actions .hdr-account-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .site-header .hdr-actions .hdr-account-menu {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* TANDA46: header/menu aligned to Toolmania reference. */
@media (min-width: 901px) {
  .site-header,
  .site-header.desktop-compact,
  .site-header.scrolled {
    background: #fff !important;
    border-bottom: 1px solid #dfe6ee !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12) !important;
    backdrop-filter: none !important;
    z-index: 5000 !important;
  }

  .site-header > .container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 34px !important;
  }

  .site-header.desktop-compact .header-top,
  .header-top {
    height: 80px !important;
    min-height: 80px !important;
    display: grid !important;
    grid-template-columns: 150px 120px minmax(420px, 1fr) auto !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .site-header.desktop-compact .logo-wrap,
  .logo-wrap {
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    max-width: 150px !important;
  }

  .site-header.desktop-compact .logo-full,
  .logo-full {
    width: 118px !important;
    height: 54px !important;
    max-height: 54px !important;
    object-fit: contain !important;
  }

  .tm-menu-btn {
    width: 120px !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 16px !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    border-radius: 5px 0 0 5px !important;
    background: #ff5a00 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
  }

  .tm-menu-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.5 !important;
  }

  .tm-menu-btn:hover,
  .tm-menu-btn:focus-visible,
  .tm-menu-btn.is-open {
    background: #f05a00 !important;
  }

  .site-header.desktop-compact .search-wrap,
  .search-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .site-header.desktop-compact .search-box,
  .search-box {
    height: 60px !important;
    border: 0 !important;
    border-radius: 0 5px 5px 0 !important;
    background: #e9edf2 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .site-header.desktop-compact .search-box input,
  .search-box input {
    height: 60px !important;
    padding: 0 22px !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: 18px !important;
    font-style: italic !important;
    font-weight: 400 !important;
  }

  .site-header.desktop-compact .search-box input::placeholder,
  .search-box input::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
  }

  .site-header.desktop-compact .search-divider,
  .site-header.desktop-compact .search-cat,
  .search-divider,
  .search-cat {
    display: none !important;
  }

  .site-header.desktop-compact .search-btn,
  .search-btn {
    width: 98px !important;
    height: 60px !important;
    border-radius: 0 5px 5px 0 !important;
    background: #ff5a00 !important;
  }

  .site-header.desktop-compact .search-btn svg,
  .search-btn svg {
    width: 34px !important;
    height: 34px !important;
    stroke-width: 1.8 !important;
  }

  .site-header.desktop-compact .hdr-actions,
  .hdr-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding-left: 34px !important;
    white-space: nowrap !important;
  }

  .site-header.desktop-compact .hdr-btn,
  .site-header.desktop-compact .hdr-wa,
  .hdr-btn,
  .hdr-wa {
    display: inline-flex !important;
    min-height: 54px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #263238 !important;
    padding: 0 !important;
  }

  .site-header.desktop-compact .hdr-divider {
    display: none !important;
  }

  .site-header.desktop-compact .hdr-account-link svg,
  .hdr-account-link svg {
    display: none !important;
  }

  .hdr-account-copy {
    display: grid;
    gap: 0;
    line-height: 1.05;
    color: #353b44;
    font-size: 22px;
    font-weight: 400;
  }

  .hdr-account-copy small,
  .hdr-account-copy strong {
    display: block;
    font-size: 22px;
    line-height: 1.02;
  }

  .hdr-account-copy strong {
    font-weight: 700;
  }

  .hdr-account-copy::after,
  .hdr-account-trigger::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #263238;
  }

  .hdr-account-link {
    align-items: center !important;
    min-width: 132px !important;
  }

  .hdr-favorites-btn {
    width: 52px !important;
    height: 54px !important;
    justify-content: center !important;
    position: relative !important;
  }

  .hdr-favorites-btn .hdr-btn-label {
    display: none !important;
  }

  .hdr-favorites-btn svg {
    width: 34px !important;
    height: 34px !important;
    stroke: #1f2937 !important;
    stroke-width: 1.8 !important;
    fill: none !important;
  }

  .hdr-btn[href*="carrito.php"] {
    width: 58px !important;
    height: 54px !important;
    font-size: 0 !important;
    justify-content: center !important;
    position: relative !important;
  }

  .hdr-btn[href*="carrito.php"] svg {
    width: 42px !important;
    height: 42px !important;
    stroke: #111827 !important;
    stroke-width: 1.8 !important;
    fill: none !important;
  }

  .hdr-badge {
    position: absolute !important;
    top: 4px !important;
    right: 0 !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #ff5a00 !important;
    color: #fff !important;
    display: inline-grid !important;
    place-items: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .hdr-badge[hidden] {
    display: none !important;
  }

  .hdr-wa.hdr-wa--compact {
    height: 54px !important;
    min-width: 116px !important;
    padding: 0 20px !important;
    justify-content: center !important;
    gap: 10px !important;
    border-radius: 7px !important;
    background: #22c55e !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  .hdr-wa.hdr-wa--compact svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #fff !important;
  }

  .site-nav.tm-nav-shell {
    display: block !important;
    position: relative !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    z-index: 5010 !important;
  }

  .site-nav.tm-nav-shell > .container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    position: static !important;
  }

  .mega-overlay,
  .mega-overlay.open {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, .42) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 5005 !important;
    transition: opacity .12s ease !important;
  }

  .mega-overlay.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .tm-menu-panel {
    position: absolute !important;
    top: 0 !important;
    left: 230px !important;
    width: 405px !important;
    max-width: calc(100vw - 260px) !important;
    max-height: calc(100vh - 104px) !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 0 4px 4px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-6px) !important;
    transition: opacity .14s ease, transform .14s ease, width .14s ease !important;
    z-index: 5020 !important;
  }

  .tm-menu-panel.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .tm-menu-panel.open.has-subpanel {
    width: min(1438px, calc(100vw - 260px)) !important;
  }

  .tm-menu-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    padding: 0 22px 0 24px !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: #fff !important;
  }

  .tm-menu-head strong {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    color: #222 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    max-width: 270px !important;
  }

  .tm-service-mark {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #ff5a00 !important;
    color: #fff !important;
    font-size: 0 !important;
    position: relative !important;
  }

  .tm-service-mark::before {
    content: "" !important;
    width: 18px !important;
    height: 26px !important;
    border-radius: 5px !important;
    background: #fff !important;
    display: block !important;
  }

  .tm-menu-close {
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #f3f4f6 !important;
    color: #333 !important;
    font-size: 36px !important;
    line-height: 1 !important;
  }

  .tm-menu-grid {
    display: grid !important;
    grid-template-columns: 405px 0 !important;
    min-height: 0 !important;
  }

  .tm-menu-panel.has-subpanel .tm-menu-grid {
    grid-template-columns: 405px minmax(720px, 1fr) !important;
  }

  .tm-menu-cats {
    max-height: calc(100vh - 194px) !important;
    overflow-y: auto !important;
    padding: 18px 12px 20px !important;
    border-right: 0 !important;
    background: #fff !important;
  }

  .tm-menu-cat {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 24px !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 47px !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #333 !important;
    text-align: left !important;
  }

  .tm-menu-cat:hover,
  .tm-menu-cat:focus-visible,
  .tm-menu-cat.active {
    background: #fff2df !important;
    color: #ff5a00 !important;
  }

  .tm-menu-cat-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2b55a2 !important;
  }

  .tm-menu-cat.active .tm-menu-cat-icon,
  .tm-menu-cat:hover .tm-menu-cat-icon {
    color: #ff5a00 !important;
  }

  .tm-menu-cat-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 1.9 !important;
  }

  .tm-menu-cat-label {
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    text-transform: none !important;
  }

  .tm-menu-cat > svg {
    justify-self: end !important;
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
  }

  .tm-menu-content {
    display: none !important;
    max-height: calc(100vh - 114px) !important;
    overflow-y: auto !important;
    padding: 18px 20px 24px !important;
    border-left: 8px solid #d6dbe1 !important;
    background: #fff !important;
  }

  .tm-menu-panel.has-subpanel .tm-menu-content {
    display: block !important;
  }

  .tm-menu-panel-category[hidden] {
    display: none !important;
  }

  .tm-menu-panel-title {
    min-height: 73px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #2d55a2 !important;
    color: #fff !important;
  }

  .tm-menu-panel-title h3 {
    color: #fff !important;
    font-size: 31px !important;
    font-weight: 800 !important;
  }

  .tm-menu-panel-title a {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .tm-menu-subcolumns {
    columns: 3 240px !important;
    column-gap: 56px !important;
    padding: 30px 28px 18px !important;
    border-bottom: 1px solid #edf0f4 !important;
  }

  .tm-menu-subcol {
    break-inside: avoid !important;
    display: grid !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .tm-menu-subcol a {
    display: block !important;
    padding: 6px 0 !important;
    color: #5b5b5b !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    text-decoration: none !important;
  }

  .tm-menu-subcol a:hover,
  .tm-menu-subcol a:focus-visible {
    color: #ff5a00 !important;
    background: #fff2df !important;
    border-radius: 5px !important;
    padding-left: 14px !important;
    outline: none !important;
    text-decoration: none !important;
  }
}

/* TANDA48: SEDMAC premium compact menu, not Toolmania branding. */
@media (min-width: 901px) {
  .tm-menu-panel {
    left: clamp(160px, 12vw, 220px) !important;
    width: 360px !important;
    max-width: calc(100vw - 220px) !important;
    max-height: calc(100vh - 118px) !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 24px 70px rgba(7, 20, 33, .22) !important;
  }

  .tm-menu-panel.open.has-subpanel {
    width: min(1120px, calc(100vw - 220px)) !important;
  }

  .tm-menu-head {
    height: 68px !important;
    padding: 0 16px 0 20px !important;
    background: #ffffff !important;
  }

  .tm-menu-head strong {
    max-width: 260px !important;
    gap: 14px !important;
    color: #071b36 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
  }

  .tm-menu-logo {
    display: block !important;
    width: 118px !important;
    height: 42px !important;
    object-fit: contain !important;
    object-position: left center !important;
    filter: none !important;
  }

  .tm-menu-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #f3f6fa !important;
    color: #071b36 !important;
    font-size: 30px !important;
  }

  .tm-menu-grid {
    grid-template-columns: 360px 0 !important;
  }

  .tm-menu-panel.has-subpanel .tm-menu-grid {
    grid-template-columns: 360px minmax(620px, 1fr) !important;
  }

  .tm-menu-cats {
    max-height: calc(100vh - 186px) !important;
    padding: 12px 10px 14px !important;
    background: #fbfcfe !important;
  }

  .tm-menu-cat {
    grid-template-columns: 32px minmax(0, 1fr) 18px !important;
    min-height: 42px !important;
    padding: 6px 10px !important;
    gap: 9px !important;
    border-radius: 8px !important;
    color: #18283d !important;
  }

  .tm-menu-cat:hover,
  .tm-menu-cat:focus-visible,
  .tm-menu-cat.active {
    background: rgba(255, 90, 0, .09) !important;
    color: #e85a00 !important;
  }

  .tm-menu-cat-icon {
    width: 26px !important;
    height: 26px !important;
    color: #2d55a2 !important;
  }

  .tm-menu-cat-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .tm-menu-cat-label {
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    overflow: hidden !important;
    color: inherit !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    line-height: 22px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    text-transform: none !important;
  }

  .tm-menu-cat > svg {
    width: 18px !important;
    height: 18px !important;
  }

  .tm-menu-content {
    max-height: calc(100vh - 118px) !important;
    padding: 16px 18px 20px !important;
    border-left: 6px solid #e3e8ef !important;
    background: #fff !important;
  }

  .tm-menu-panel-title {
    min-height: 58px !important;
    padding: 0 20px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #071b36 0%, #123f73 100%) !important;
  }

  .tm-menu-panel-title h3 {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .tm-menu-panel-title a {
    flex: 0 0 auto !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
  }

  .tm-menu-subcolumns {
    columns: auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    gap: 8px 20px !important;
    padding: 20px 18px 14px !important;
  }

  .tm-menu-subcol {
    gap: 6px !important;
    margin-bottom: 0 !important;
  }

  .tm-menu-subcol a {
    display: flex !important;
    align-items: center !important;
    height: 34px !important;
    max-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    color: #48586c !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
  }

  .tm-menu-subcol a span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .tm-menu-subcol a:hover,
  .tm-menu-subcol a:focus-visible {
    padding: 0 10px !important;
    background: rgba(255, 90, 0, .1) !important;
    color: #e85a00 !important;
  }
}

/* TANDA49: menu premium mas compacto y con iconos administrables */
@media (min-width: 901px) {
  .tm-menu-panel {
    left: clamp(148px, 11vw, 205px) !important;
    width: 318px !important;
    max-width: calc(100vw - 205px) !important;
    max-height: calc(100vh - 106px) !important;
    border-radius: 0 0 10px 10px !important;
  }

  .tm-menu-panel.open.has-subpanel {
    width: min(940px, calc(100vw - 205px)) !important;
  }

  .tm-menu-head {
    height: 56px !important;
    padding: 0 12px 0 16px !important;
  }

  .tm-menu-head strong {
    max-width: 226px !important;
    gap: 10px !important;
    font-size: 14px !important;
    line-height: 1.08 !important;
  }

  .tm-menu-logo {
    width: 94px !important;
    height: 34px !important;
  }

  .tm-menu-close {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    font-size: 25px !important;
  }

  .tm-menu-grid {
    grid-template-columns: 318px 0 !important;
  }

  .tm-menu-panel.has-subpanel .tm-menu-grid {
    grid-template-columns: 318px minmax(500px, 1fr) !important;
  }

  .tm-menu-cats {
    max-height: calc(100vh - 162px) !important;
    padding: 8px !important;
  }

  .tm-menu-cat {
    grid-template-columns: 27px minmax(0, 1fr) 15px !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 4px 8px !important;
    gap: 8px !important;
    border-radius: 7px !important;
  }

  .tm-menu-cat-icon {
    width: 23px !important;
    height: 23px !important;
  }

  .tm-menu-cat-icon svg,
  .tm-menu-cat-icon img {
    width: 17px !important;
    height: 17px !important;
  }

  .tm-menu-cat-icon.has-image img {
    display: block !important;
    object-fit: contain !important;
    filter: none !important;
  }

  .tm-menu-cat-label {
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    font-size: 14px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  .tm-menu-cat > svg {
    width: 15px !important;
    height: 15px !important;
  }

  .tm-menu-content {
    max-height: calc(100vh - 106px) !important;
    padding: 12px 14px 16px !important;
    border-left-width: 5px !important;
  }

  .tm-menu-panel-title {
    min-height: 46px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
  }

  .tm-menu-panel-title h3 {
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  .tm-menu-panel-title a {
    font-size: 13px !important;
  }

  .tm-menu-subcolumns {
    gap: 6px 14px !important;
    padding: 14px 10px 10px !important;
  }

  .tm-menu-subcol {
    gap: 4px !important;
  }

  .tm-menu-subcol a {
    height: 28px !important;
    max-height: 28px !important;
    padding: 0 8px !important;
    border-radius: 7px !important;
    font-size: 13.5px !important;
    line-height: 28px !important;
  }

  .tm-menu-subcol a:hover,
  .tm-menu-subcol a:focus-visible {
    padding: 0 8px !important;
  }
}

/* TANDA74-final: mostrar cuenta en escritorio despues de reglas compactas. */
@media (min-width: 901px) {
  .site-header .hdr-actions .hdr-account-link,
  .site-header.desktop-compact .hdr-actions .hdr-account-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .site-header .hdr-actions .hdr-account-menu,
  .site-header.desktop-compact .hdr-actions .hdr-account-menu {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* TANDA94: search button stable color, no orange/blue repaint. */
@media (min-width: 901px) {
  body .site-header .search-btn,
  body .site-header.desktop-compact .search-btn,
  body .site-header .search-box .search-btn,
  body .site-header.desktop-compact .search-box .search-btn {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 60px !important;
    min-height: 60px !important;
    border-radius: 0 5px 5px 0 !important;
    background: #071a2e !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transition: none !important;
  }

  body .site-header .search-btn:hover,
  body .site-header .search-btn:focus-visible,
  body .site-header.desktop-compact .search-btn:hover,
  body .site-header.desktop-compact .search-btn:focus-visible {
    background: #071a2e !important;
    color: #ffffff !important;
  }

  body .site-header .search-btn svg,
  body .site-header.desktop-compact .search-btn svg,
  body .site-header .search-box .search-btn svg,
  body .site-header.desktop-compact .search-box .search-btn svg {
    width: 34px !important;
    height: 34px !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
    fill: none !important;
    stroke-width: 1.9 !important;
  }
}
