.qtcmm-header,
.qtcmm-header * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.qtcmm-header {
  --qtcmm-black: #08090b;
  --qtcmm-text: #17191d;
  --qtcmm-muted: #6b7280;
  --qtcmm-line: #e8eaed;
  --qtcmm-soft: #f6f7f8;
  position: relative;
  z-index: 99990;
  width: 100%;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--qtcmm-text);
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, .08);
}

.qtcmm-header--sticky {
  position: sticky;
  top: 0;
}

body.admin-bar .qtcmm-header--sticky {
  top: 32px;
}

.qtcmm-shell {
  width: min(100% - 40px, 1380px);
  margin: 0 auto;
}

.qtcmm-announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  background: var(--qtcmm-black);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.qtcmm-announcement .qtcmm-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.qtcmm-announcement a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qtcmm-mainbar {
  background: #fff;
}

.qtcmm-mainbar-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.qtcmm-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.qtcmm-logo img {
  display: block;
  width: min(var(--qtcmm-logo-width, 150px), 210px);
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.qtcmm-search {
  position: relative;
  width: 100%;
  min-width: 0;
}

.qtcmm-search input[type="search"] {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 52px 0 18px;
  border: 1px solid #dfe3e7;
  border-radius: 999px;
  background: #f8f9fa;
  color: var(--qtcmm-text);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.qtcmm-search input[type="search"]:focus {
  border-color: rgba(17, 24, 39, .32);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, .06);
}

.qtcmm-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--qtcmm-black);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.qtcmm-search button svg {
  width: 18px;
  height: 18px;
}

.qtcmm-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 430px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--qtcmm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .16);
}

.qtcmm-search-result {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  color: var(--qtcmm-text);
  text-decoration: none;
}

.qtcmm-search-result:hover,
.qtcmm-search-result:focus {
  background: var(--qtcmm-soft);
}

.qtcmm-search-result img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

.qtcmm-search-result strong,
.qtcmm-search-result small {
  display: block;
}

.qtcmm-search-result strong {
  overflow: hidden;
  color: var(--qtcmm-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qtcmm-search-result small {
  margin-top: 4px;
  color: var(--qtcmm-muted);
  font-size: 12px;
  font-weight: 700;
}

.qtcmm-search-status {
  padding: 18px 12px;
  color: var(--qtcmm-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.qtcmm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qtcmm-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px;
  border-radius: 12px;
  color: var(--qtcmm-text);
  text-decoration: none;
  transition: background .2s ease;
}

.qtcmm-action:hover {
  background: var(--qtcmm-soft);
}

.qtcmm-action svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.qtcmm-action > span,
.qtcmm-cart-copy {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.qtcmm-cart-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qtcmm-cart-copy small {
  color: var(--qtcmm-muted);
  font-size: 10px;
  font-weight: 700;
}

.qtcmm-cart-icon-wrap {
  position: relative;
  display: inline-flex;
}

.qtcmm-cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.qtcmm-navrow {
  border-top: 1px solid #f0f1f2;
  border-bottom: 1px solid var(--qtcmm-line);
  background: #fff;
}

.qtcmm-navrow-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.qtcmm-nav {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.qtcmm-brand-trigger,
.qtcmm-extra-menu > li > a {
  position: relative;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 15px;
  color: #22252a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}

.qtcmm-brand-trigger::after,
.qtcmm-extra-menu > li > a::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: -1px;
  left: 15px;
  height: 2px;
  background: var(--qtcmm-black);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.qtcmm-brand-trigger:hover::after,
.qtcmm-brand-trigger.is-active::after,
.qtcmm-extra-menu > li > a:hover::after {
  transform: scaleX(1);
}

.qtcmm-brand-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.qtcmm-brand-trigger.is-active svg {
  transform: rotate(180deg);
}

.qtcmm-brand-trigger em,
.qtcmm-mobile-brand-toggle em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f0f1f3;
  color: #34383e;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qtcmm-extra-menu,
.qtcmm-mobile-extra-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qtcmm-extra-menu {
  display: flex;
  align-items: stretch;
}

/* Protege el menú de los colores hover/focus del tema (sin azul). */
.qtcmm-header .qtcmm-brand-trigger:hover,
.qtcmm-header .qtcmm-brand-trigger:focus,
.qtcmm-header .qtcmm-brand-trigger:active,
.qtcmm-header .qtcmm-extra-menu > li > a:hover,
.qtcmm-header .qtcmm-extra-menu > li > a:focus,
.qtcmm-header .qtcmm-extra-menu > li > a:active {
  background: transparent !important;
  color: #22252a !important;
}

.qtcmm-header .qtcmm-search-result:hover,
.qtcmm-header .qtcmm-search-result:focus,
.qtcmm-header .qtcmm-product-name:hover,
.qtcmm-header .qtcmm-product-name:focus,
.qtcmm-header .qtcmm-product-panel-head a:hover,
.qtcmm-header .qtcmm-product-panel-head a:focus,
.qtcmm-header .qtcmm-view-all:hover,
.qtcmm-header .qtcmm-view-all:focus {
  color: var(--qtcmm-text) !important;
}

.qtcmm-header .qtcmm-category-trigger:hover,
.qtcmm-header .qtcmm-category-trigger:focus,
.qtcmm-header .qtcmm-category-trigger.is-active {
  background: var(--qtcmm-black) !important;
  color: #fff !important;
}

.qtcmm-header .qtcmm-product-cta:hover,
.qtcmm-header .qtcmm-product-cta:focus,
.qtcmm-header .qtcmm-product-cta:active {
  background: #202226 !important;
  color: #fff !important;
}

.qtcmm-header a:focus-visible,
.qtcmm-header button:focus-visible,
.qtcmm-header input:focus-visible {
  outline: 2px solid #111827 !important;
  outline-offset: 2px;
}

.qtcmm-mega-stage {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.qtcmm-mega-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  border-bottom: 1px solid var(--qtcmm-line);
  background: #fff;
  opacity: 0;
  box-shadow: 0 24px 48px rgba(17, 24, 39, .12);
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.qtcmm-mega-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.qtcmm-mega-layout {
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
}

.qtcmm-mega-categories {
  padding: 32px 22px 30px 0;
  border-right: 1px solid var(--qtcmm-line);
}

.qtcmm-mega-brand-head {
  margin-bottom: 18px;
}

.qtcmm-mega-brand-head span,
.qtcmm-product-panel-head span {
  display: block;
  margin-bottom: 6px;
  color: #8b929c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.qtcmm-mega-brand-head strong {
  display: block;
  color: var(--qtcmm-black);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.qtcmm-category-trigger {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 3px 0;
  padding: 0 12px;
  border-radius: 10px;
  color: #3d4249;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.qtcmm-category-trigger:hover,
.qtcmm-category-trigger.is-active {
  background: var(--qtcmm-black);
  color: #fff;
  transform: translateX(3px);
}

.qtcmm-category-trigger svg,
.qtcmm-view-all svg,
.qtcmm-product-panel-head a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.qtcmm-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0 10px;
  color: var(--qtcmm-black);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.qtcmm-mega-products {
  position: relative;
  min-width: 0;
  padding: 28px 0 30px 30px;
}

.qtcmm-product-panel {
  display: none;
}

.qtcmm-product-panel.is-active {
  display: block;
  animation: qtcmmFade .18s ease;
}

@keyframes qtcmmFade {
  from { opacity: .35; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.qtcmm-product-panel-head {
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.qtcmm-product-panel-head h3 {
  margin: 0;
  color: var(--qtcmm-black);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.qtcmm-product-panel-head a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #343940;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.qtcmm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.qtcmm-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--qtcmm-line);
  border-radius: 16px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.qtcmm-product-card:hover {
  border-color: #d5d9de;
  box-shadow: 0 16px 30px rgba(17, 24, 39, .08);
  transform: translateY(-3px);
}

.qtcmm-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .72;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8f9fa;
  text-decoration: none;
}

.qtcmm-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 13px;
  object-fit: contain;
  transition: transform .28s ease;
}

.qtcmm-product-card:hover .qtcmm-product-image img {
  transform: scale(1.04);
}

.qtcmm-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qtcmm-product-copy {
  padding: 13px;
}

.qtcmm-product-name {
  min-height: 34px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--qtcmm-text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qtcmm-product-price {
  min-height: 22px;
  margin-top: 8px;
  color: var(--qtcmm-black);
  font-size: 13px;
  font-weight: 900;
}

.qtcmm-product-price del {
  margin-right: 5px;
  color: #9aa0a8;
  font-size: 10px;
  font-weight: 700;
}

.qtcmm-product-price ins {
  color: inherit;
  text-decoration: none;
}

.qtcmm-product-cta {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--qtcmm-black);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.qtcmm-empty-products {
  grid-column: 1 / -1;
  min-height: 170px;
  display: grid;
  place-items: center;
  border: 1px dashed #d7dbe0;
  border-radius: 16px;
  color: var(--qtcmm-muted);
  font-size: 13px;
  font-weight: 700;
}

.qtcmm-mobile-toggle,
.qtcmm-mobile-drawer,
.qtcmm-mobile-backdrop {
  display: none;
}

body.qtcmm-mobile-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .qtcmm-mainbar-inner {
    gap: 24px;
  }

  .qtcmm-action > span:not(.qtcmm-cart-icon-wrap),
  .qtcmm-cart-copy {
    display: none;
  }

  .qtcmm-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qtcmm-product-grid .qtcmm-product-card:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 1024px) {
  body.admin-bar .qtcmm-header--sticky {
    top: 32px;
  }

  .qtcmm-shell {
    width: min(100% - 24px, 1380px);
  }

  .qtcmm-mainbar-inner,
  .qtcmm-mainbar-inner--simple {
    min-height: 64px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .qtcmm-mainbar-inner::after {
    content: "";
    width: 42px;
    height: 42px;
    grid-column: 3;
  }

  .qtcmm-logo {
    grid-column: 2;
    justify-content: center;
  }

  .qtcmm-logo img {
    width: min(var(--qtcmm-logo-width, 150px), 132px);
    max-height: 40px;
  }

  .qtcmm-mainbar-inner > .qtcmm-search,
  .qtcmm-navrow,
  .qtcmm-mega-stage,
  .qtcmm-action--account,
  .qtcmm-action--cart,
  .qtcmm-cart-copy {
    display: none !important;
  }

  .qtcmm-actions {
    display: none !important;
  }

  .qtcmm-mobile-toggle {
    width: 42px;
    height: 42px;
    grid-column: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #e5e7eb !important;
    border-radius: 50%;
    background: #fff !important;
    color: var(--qtcmm-black) !important;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .05);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .qtcmm-mobile-toggle:hover,
  .qtcmm-mobile-toggle:focus,
  .qtcmm-mobile-toggle:active {
    border-color: #cfd3d8 !important;
    background: #f5f6f7 !important;
    color: var(--qtcmm-black) !important;
  }

  .qtcmm-mobile-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--qtcmm-black);
  }

  .qtcmm-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: block;
    visibility: hidden;
    background: rgba(3, 7, 18, .54);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .qtcmm-mobile-backdrop.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .qtcmm-mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    width: min(94vw, 420px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 22px 22px 0;
    background: #f6f7f8;
    box-shadow: 24px 0 60px rgba(2, 6, 23, .22);
    transform: translate3d(-105%, 0, 0);
    transition: transform .26s cubic-bezier(.22, .8, .25, 1);
    will-change: transform;
  }

  .qtcmm-mobile-drawer.is-open {
    transform: translate3d(0, 0, 0);
  }

  .qtcmm-mobile-head {
    min-height: 68px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    border-bottom: 1px solid var(--qtcmm-line);
    background: #fff;
  }

  .qtcmm-mobile-logo {
    display: inline-flex;
    align-items: center;
  }

  .qtcmm-mobile-logo img {
    display: block;
    width: 126px;
    max-height: 40px;
    object-fit: contain;
  }

  .qtcmm-mobile-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 1px solid #e5e7eb !important;
    border-radius: 50%;
    background: #fff !important;
    color: var(--qtcmm-black) !important;
    font-size: 29px;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .04);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .qtcmm-mobile-close:hover,
  .qtcmm-mobile-close:focus,
  .qtcmm-mobile-close:active {
    border-color: #cfd3d8 !important;
    background: #f3f4f5 !important;
    color: var(--qtcmm-black) !important;
  }

  .qtcmm-mobile-search {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    padding: 12px 14px;
    border-bottom: 1px solid var(--qtcmm-line);
    background: #fff;
  }

  .qtcmm-search--mobile input[type="search"] {
    height: 46px;
    padding-left: 16px;
    border-color: #dfe2e6 !important;
    background: #f5f6f7 !important;
    color: var(--qtcmm-text) !important;
  }

  .qtcmm-search--mobile input[type="search"]:focus {
    border-color: #9ca3ad !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .07) !important;
  }

  .qtcmm-search--mobile button,
  .qtcmm-search--mobile button:hover,
  .qtcmm-search--mobile button:focus,
  .qtcmm-search--mobile button:active {
    background: var(--qtcmm-black) !important;
    color: #fff !important;
  }

  .qtcmm-search--mobile .qtcmm-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: auto;
    max-height: min(54vh, 430px);
    border-radius: 16px;
  }

  .qtcmm-mobile-content {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px max(24px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .qtcmm-mobile-brand {
    margin: 8px 0;
    overflow: hidden;
    border: 1px solid #e4e6e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(17, 24, 39, .035);
  }

  .qtcmm-mobile-brand-toggle {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 14px;
    border: 0 !important;
    background: #fff !important;
    color: var(--qtcmm-black) !important;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .qtcmm-mobile-brand-toggle:hover,
  .qtcmm-mobile-brand-toggle:focus,
  .qtcmm-mobile-brand-toggle:active,
  .qtcmm-mobile-brand-toggle[aria-expanded="true"] {
    background: #f4f5f6 !important;
    color: var(--qtcmm-black) !important;
  }

  .qtcmm-mobile-brand-toggle > span {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .qtcmm-mobile-brand-toggle > svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    transition: transform .2s ease;
  }

  .qtcmm-mobile-brand-toggle[aria-expanded="true"] > svg {
    transform: rotate(180deg);
  }

  .qtcmm-mobile-brand-content {
    padding: 12px 12px 14px;
    border-top: 1px solid #eceef0;
    background: #fff;
  }

  .qtcmm-mobile-direct-head,
  .qtcmm-mobile-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 2px 11px;
  }

  .qtcmm-mobile-direct-head > span {
    color: #747b85;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .qtcmm-mobile-direct-head a,
  .qtcmm-mobile-category-head a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #333840 !important;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
    text-decoration: none !important;
  }

  .qtcmm-mobile-direct-head a:hover,
  .qtcmm-mobile-direct-head a:focus,
  .qtcmm-mobile-category-head a:hover,
  .qtcmm-mobile-category-head a:focus {
    color: #111827 !important;
  }

  .qtcmm-mobile-direct-head svg,
  .qtcmm-mobile-category-head svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .qtcmm-mobile-category + .qtcmm-mobile-category {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eceef0;
  }

  .qtcmm-mobile-products {
    display: grid;
    grid-auto-columns: minmax(164px, 52%);
    grid-auto-flow: column;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .qtcmm-mobile-products::-webkit-scrollbar {
    display: none;
  }

  .qtcmm-product-card--mobile {
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .qtcmm-product-card--mobile:hover {
    transform: none;
  }

  .qtcmm-product-card--mobile .qtcmm-product-image {
    aspect-ratio: 1 / .76;
  }

  .qtcmm-product-card--mobile .qtcmm-product-image img {
    padding: 10px;
  }

  .qtcmm-product-card--mobile .qtcmm-product-copy {
    padding: 10px;
  }

  .qtcmm-product-card--mobile .qtcmm-product-name,
  .qtcmm-product-card--mobile .qtcmm-product-name:hover,
  .qtcmm-product-card--mobile .qtcmm-product-name:focus {
    min-height: 32px;
    color: var(--qtcmm-text) !important;
    font-size: 11px;
  }

  .qtcmm-product-card--mobile .qtcmm-product-price {
    min-height: 20px;
    margin-top: 6px;
    font-size: 12px;
  }

  .qtcmm-product-card--mobile .qtcmm-product-cta,
  .qtcmm-product-card--mobile .qtcmm-product-cta:hover,
  .qtcmm-product-card--mobile .qtcmm-product-cta:focus,
  .qtcmm-product-card--mobile .qtcmm-product-cta:active {
    min-height: 34px;
    width: 100%;
    margin-top: 8px;
    background: var(--qtcmm-black) !important;
    color: #fff !important;
  }

  .qtcmm-mobile-swipe-hint {
    margin: 2px 2px 0;
    color: #8a9098;
    font-size: 10px;
    font-weight: 700;
  }

  .qtcmm-mobile-empty {
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px dashed #d9dde2;
    border-radius: 12px;
    color: #747b85;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }

  .qtcmm-mobile-view-all,
  .qtcmm-mobile-view-all:hover,
  .qtcmm-mobile-view-all:focus,
  .qtcmm-mobile-view-all:active {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    border: 1px solid var(--qtcmm-black) !important;
    border-radius: 999px;
    background: #fff !important;
    color: var(--qtcmm-black) !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
  }

  .qtcmm-mobile-view-all:active {
    background: #f1f2f3 !important;
  }

  .qtcmm-mobile-extra-menu {
    padding: 4px 2px 0;
  }

  .qtcmm-mobile-extra-menu li {
    margin: 8px 0;
    overflow: hidden;
    border: 1px solid #e4e6e9;
    border-radius: 14px;
    background: #fff;
  }

  .qtcmm-mobile-extra-menu li + li {
    border-top: 1px solid #e4e6e9;
  }

  .qtcmm-mobile-extra-menu a,
  .qtcmm-mobile-extra-menu a:hover,
  .qtcmm-mobile-extra-menu a:focus,
  .qtcmm-mobile-extra-menu a:active {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #fff !important;
    color: var(--qtcmm-black) !important;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none !important;
  }

  .qtcmm-mobile-extra-menu a:active {
    background: #f4f5f6 !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar .qtcmm-header--sticky {
    top: 46px;
  }
}

@media (max-width: 520px) {
  .qtcmm-shell {
    width: min(100% - 18px, 1380px);
  }

  .qtcmm-mainbar-inner,
  .qtcmm-mainbar-inner--simple {
    min-height: 60px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .qtcmm-mainbar-inner::after,
  .qtcmm-mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .qtcmm-logo img {
    width: min(var(--qtcmm-logo-width, 150px), 116px);
  }

  .qtcmm-announcement {
    min-height: 32px;
    padding: 5px 0;
    font-size: 10px;
  }

  .qtcmm-announcement .qtcmm-shell {
    gap: 8px;
  }

  .qtcmm-mobile-drawer {
    width: min(95vw, 400px);
    border-radius: 0 18px 18px 0;
  }

  .qtcmm-mobile-products {
    grid-auto-columns: minmax(158px, 70%);
  }

  .qtcmm-product-card--mobile .qtcmm-product-image {
    aspect-ratio: 1 / .72;
  }
}

@media (max-width: 370px) {
  .qtcmm-mobile-products {
    grid-auto-columns: minmax(154px, 80%);
  }

  .qtcmm-mobile-brand-toggle {
    min-height: 54px;
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qtcmm-header *,
  .qtcmm-header *::before,
  .qtcmm-header *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* v1.1.0: encabezado sin cuenta ni carrito */
@media (min-width: 1025px) {
  .qtcmm-mainbar-inner--simple {
    grid-template-columns: auto minmax(320px, 1fr);
  }
}
