@charset "UTF-8";
body .trw-header-wrapper .trw-top-bar {
  background-color: var(--header-bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
}
body .trw-header-wrapper .trw-top-bar .trw-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__left,
body .trw-header-wrapper .trw-top-bar .trw-top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item span {
  color: var(--text-secondary);
  font-weight: 500;
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item i,
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item svg {
  font-size: 13px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
  color: var(--text-secondary);
  fill: var(--text-secondary);
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item img {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
  vertical-align: middle;
  opacity: 0.7;
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
body .trw-header-wrapper .trw-top-bar .trw-top-bar__item a:hover {
  border-bottom-color: var(--primary-color);
  color: var(--text-primary);
}
body .trw-header-wrapper .trw-main-header {
  background-color: var(--header-bg, #0f172a);
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  z-index: 100;
}
body .trw-header-wrapper .trw-main-header .trw-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height, 80px);
}
body .trw-header-wrapper .trw-main-header .trw-main-header__brand {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  max-width: var(--logo-width, 180px);
  /* El contenedor padre limita el ancho máximo */
  width: 100%;
  height: 100%;
  max-height: calc(var(--header-height, 80px) - 20px);
  /* Restringe el alto máximo para evitar desborde vertical */
  overflow: hidden;
  /* Corta cualquier desborde fantasma */
}
body .trw-header-wrapper .trw-main-header .trw-main-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
body .trw-header-wrapper .trw-main-header .trw-main-header__actions .trw-nav__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
  border-right: 1px solid #334155;
}
body .trw-header-wrapper .trw-main-header .trw-logo {
  display: flex;
  align-items: center;
  width: 100%;
  /* Obliga al enlace a ocupar el 100% del contenedor brand */
  max-width: 100%;
  height: 100%;
}
body .trw-header-wrapper .trw-main-header .trw-logo img {
  display: block;
  width: auto;
  /* Ancho automático para respetar la proporción original */
  height: auto;
  /* Alto automático para respetar la proporción original */
  max-width: 100%;
  /* No se sale del ancho de .trw-logo */
  max-height: 100%;
  /* No se sale del alto de .trw-logo */
  object-fit: contain;
  /* Mantiene la proporción perfecta de la imagen sin deformar */
  object-position: left center;
  transition: opacity 0.25s ease;
}
body .trw-header-wrapper .trw-main-header .trw-logo:hover img {
  opacity: 0.8;
}
body .trw-header-wrapper .trw-main-header .trw-nav {
  display: none;
  align-items: center;
  gap: 2px;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0px auto;
  padding: 0px 0px;
  width: 100%;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu > li {
  position: relative;
  margin: 0px auto;
  padding: 10px 0px;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu > li > a.nav-link {
  display: block;
  padding: 8px 14px;
  color: var(--nav-link-color, #e2e8f0);
  text-decoration: none;
  font-size: var(--nav-font-size, 14px);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  border-radius: 6px 6px 0 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu > li > a.nav-link:hover, body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu > li > a.nav-link:focus {
  color: var(--nav-hover-color, #fff);
  border-bottom-color: var(--active-underline, var(--primary-color));
  background: transparent;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu > li > a.nav-link::after {
  display: none;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-nav-menu > li.current-menu-item > a.nav-link {
  color: var(--nav-hover-color, #fff);
  border-bottom-color: var(--active-underline, var(--primary-color));
  font-weight: 600;
}
body .trw-header-wrapper .trw-main-header .trw-nav .trw-caret {
  font-size: 10px;
  margin-left: 4px;
  color: var(--primary-color);
  opacity: 0.8;
}
body .trw-header-wrapper .trw-main-header .trw-nav .has-dropdown > .sub-menu.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--dropdown-bg, #1e293b);
  border: 1px solid #334155;
  border-top: 2px solid var(--primary-color);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}
body .trw-header-wrapper .trw-main-header .trw-nav .has-dropdown > .sub-menu.dropdown-menu a.nav-link {
  padding: 9px 16px;
  font-size: 13px;
  display: block;
  color: var(--dropdown-link-color, #94a3b8);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
body .trw-header-wrapper .trw-main-header .trw-nav .has-dropdown > .sub-menu.dropdown-menu a.nav-link:hover {
  background: var(--dropdown-hover-bg, rgba(2, 132, 199, 0.15));
  color: var(--text-primary);
  border-left-color: var(--primary-color);
}
body .trw-header-wrapper .trw-main-header .trw-nav .has-dropdown:hover > .sub-menu.dropdown-menu, body .trw-header-wrapper .trw-main-header .trw-nav .has-dropdown:focus-within > .sub-menu.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body .trw-header-wrapper .trw-main-header .trw-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  color: #f1f5f9;
  text-decoration: none;
  position: relative;
  transition: background 0.25s ease;
  line-height: 1;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  box-shadow: none;
  font-size: 0;
}
body .trw-header-wrapper .trw-main-header .trw-icon-btn:hover, body .trw-header-wrapper .trw-main-header .trw-icon-btn:focus {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  box-shadow: none;
  outline: 2px solid transparent;
}
body .trw-header-wrapper .trw-main-header .trw-icon-btn img {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.25s ease, filter 0.25s ease;
  font-size: 0;
}
body .trw-header-wrapper .trw-main-header .trw-icon-btn:hover img, body .trw-header-wrapper .trw-main-header .trw-icon-btn:focus img {
  opacity: 1;
  filter: brightness(0) invert(1);
}
body .trw-header-wrapper .trw-main-header .trw-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}
body .trw-header-wrapper .trw-main-header a.trw-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  white-space: nowrap;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease;
  color: #f1f5f9;
  box-shadow: none;
}
body .trw-header-wrapper .trw-main-header a.trw-account-btn .trw-account-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
body .trw-header-wrapper .trw-main-header a.trw-account-btn .trw-account-label {
  font-size: 13px;
  font-weight: 500;
  color: #f1f5f9;
}
body .trw-header-wrapper .trw-main-header a.trw-account-btn:hover, body .trw-header-wrapper .trw-main-header a.trw-account-btn:focus, body .trw-header-wrapper .trw-main-header a.trw-account-btn:visited {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  box-shadow: none;
  text-decoration: none;
  color: #fff;
}
body .trw-header-wrapper .trw-main-header a.trw-account-btn:hover .trw-account-icon, body .trw-header-wrapper .trw-main-header a.trw-account-btn:focus .trw-account-icon, body .trw-header-wrapper .trw-main-header a.trw-account-btn:visited .trw-account-icon {
  opacity: 1;
}
body .trw-header-wrapper .trw-main-header a.trw-account-btn:hover .trw-account-label, body .trw-header-wrapper .trw-main-header a.trw-account-btn:focus .trw-account-label, body .trw-header-wrapper .trw-main-header a.trw-account-btn:visited .trw-account-label {
  color: #fff;
}
body .trw-header-wrapper .trw-main-header button.trw-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  box-shadow: none;
  line-height: 1;
  transition: background 0.25s ease;
}
body .trw-header-wrapper .trw-main-header button.trw-search-toggle:hover, body .trw-header-wrapper .trw-main-header button.trw-search-toggle:focus {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  box-shadow: none;
}
body .trw-header-wrapper .trw-main-header button.trw-search-toggle img {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  font-size: 0;
}
body .trw-header-wrapper .trw-main-header button.trw-search-toggle:hover img {
  opacity: 1;
}
body .trw-header-wrapper .trw-main-header button.trw-search-toggle.is-active img {
  transform: rotate(90deg);
}
body .trw-header-wrapper .trw-main-header .trw-search-panel {
  position: absolute;
  top: 100%;
  right: 24px;
  width: 400px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary-color, #0284c7);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  z-index: 999;
  display: none;
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__form {
  display: flex;
  padding: 12px;
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--primary-color, #0284c7);
  border-right: none;
  border-radius: 7px 0 0 7px;
  font-size: 15px;
  color: #111;
  background: #fff;
  min-width: 0;
  outline: none;
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__input::placeholder {
  color: #9ca3af;
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__input:focus {
  border-color: var(--primary-color, #0284c7);
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__btn {
  padding: 0 16px;
  background: var(--primary-color, #0284c7);
  border: 2px solid var(--primary-color, #0284c7);
  border-left: none;
  border-radius: 0 7px 7px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  flex-shrink: 0;
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__btn img {
  display: block;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__btn:hover {
  background: var(--primary-hover, #0369a1);
  border-color: var(--primary-hover, #0369a1);
}
body .trw-header-wrapper .trw-main-header .trw-search-panel .trw-search-panel__results {
  border-top: 1px solid #e2e8f0;
  max-height: 360px;
  overflow-y: auto;
}
body .trw-header-wrapper .trw-main-header button.trw-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  color: #f1f5f9;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease;
  box-shadow: none;
  min-width: 0;
  min-height: 0;
}
body .trw-header-wrapper .trw-main-header button.trw-hamburger svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}
body .trw-header-wrapper .trw-main-header button.trw-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
body .trw-header-wrapper .trw-main-header button.trw-hamburger.is-open {
  color: #fff;
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
  line-height: 1;
  min-width: 0;
  box-shadow: none;
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary:hover, body .trw-header-wrapper .trw-main-header a.trw-cart-summary:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: #fff;
  box-shadow: none;
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-summary__total {
  color: inherit;
  font-weight: 600;
  display: inline;
  white-space: nowrap;
  flex-shrink: 0;
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-summary__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-summary__icon img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-summary__icon .trw-cart-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  background: #ef4444;
  color: #fff;
  border: 2px solid rgba(0, 0, 0, 0.4);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 2px;
}
body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-summary__icon .trw-cart-badge.trw-cart-badge--hidden {
  display: none;
}
body .trw-header-wrapper .trw-main-header .trw-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--header-bg);
  line-height: 1;
  padding: 2px;
}
body .trw-header-wrapper .trw-main-header .trw-cart-badge.trw-cart-badge--hidden {
  display: none;
}
body .trw-cart-modal {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  right: -360px;
  width: 340px;
  max-width: 90vw;
  height: calc(100% - var(--wp-admin--admin-bar--height, 0px));
  background: var(--cart-modal-bg, #1e293b);
  z-index: 91010;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.5);
  transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--primary-color);
}
body .trw-cart-modal.is-open {
  right: 0;
}
body .trw-cart-modal[hidden] {
  display: flex;
}
body .trw-cart-modal .trw-cart-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #334155;
  background: var(--cart-modal-header-bg, #0f172a);
  flex-shrink: 0;
}
body .trw-cart-modal .trw-cart-modal__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}
body .trw-cart-modal .trw-cart-modal__count {
  font-weight: 400;
  font-size: 13px;
  color: #94a3b8;
}
body .trw-cart-modal .trw-cart-modal__close {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.5);
  cursor: pointer;
  color: #ef4444;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
body .trw-cart-modal .trw-cart-modal__close:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
body .trw-cart-modal .trw-cart-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}
body .trw-cart-modal .trw-cart-modal__body::-webkit-scrollbar {
  width: 5px;
}
body .trw-cart-modal .trw-cart-modal__body::-webkit-scrollbar-track {
  background: #1e293b;
}
body .trw-cart-modal .trw-cart-modal__body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}
body .trw-cart-modal .trw-cart-modal__body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}
body .trw-cart-modal .trw-cart-modal__empty {
  text-align: center;
  padding: 40px 16px;
  color: #94a3b8;
  font-size: 14px;
}
body .trw-cart-modal .trw-cart-modal__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
body .trw-cart-modal .trw-cart-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #334155;
}
body .trw-cart-modal .trw-cart-modal__item:last-child {
  border-bottom: none;
}
body .trw-cart-modal .trw-cart-modal__item-img {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #334155;
}
body .trw-cart-modal .trw-cart-modal__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .trw-cart-modal .trw-cart-modal__item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
body .trw-cart-modal .trw-cart-modal__item-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .trw-cart-modal .trw-cart-modal__item-name:hover {
  color: var(--primary-color);
}
body .trw-cart-modal .trw-cart-modal__item-meta,
body .trw-cart-modal .trw-cart-modal__item-qty {
  font-size: 12px;
  color: #94a3b8;
}
body .trw-cart-modal .trw-cart-modal__item-remove {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  cursor: pointer;
  color: #ef4444;
  padding: 3px 7px;
  font-size: 11px;
  border-radius: 4px;
  transition: 0.25s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}
body .trw-cart-modal .trw-cart-modal__item-remove:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
body .trw-cart-modal .trw-cart-modal__footer {
  border-top: 1px solid #334155;
  padding: 14px 16px;
  background: var(--cart-modal-header-bg, #0f172a);
  flex-shrink: 0;
}
body .trw-cart-modal .trw-cart-modal__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #94a3b8;
}
body .trw-cart-modal .trw-cart-modal__subtotal-amount,
body .trw-cart-modal .trw-cart-modal__subtotal strong {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 16px;
}
body .trw-cart-modal .trw-cart-modal__actions {
  display: flex;
  gap: 8px;
}
body .trw-cart-modal .trw-cart-modal__btn {
  flex: 1;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s ease;
  display: block;
  border: 2px solid transparent;
}
body .trw-cart-modal .trw-cart-modal__btn.trw-cart-modal__btn--primary {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
body .trw-cart-modal .trw-cart-modal__btn.trw-cart-modal__btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
body .trw-cart-modal .trw-cart-modal__btn.trw-cart-modal__btn--secondary {
  background: transparent;
  color: #f1f5f9;
  border-color: #334155;
}
body .trw-cart-modal .trw-cart-modal__btn.trw-cart-modal__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}
body .trw-header-wrapper.trw-header--sticky-enabled.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  animation: trw-slide-down 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
body .trw-header-wrapper.trw-header--sticky-enabled.is-sticky .trw-top-bar {
  display: none;
}
body .trw-header-wrapper.trw-header--sticky-enabled.is-sticky .trw-main-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background-color: #0f172a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
body .trw-header-wrapper.trw-header--sticky-enabled.is-sticky .trw-main-header .trw-container {
  height: 64px;
}
body .trw-header-wrapper.trw-header--sticky-enabled.is-sticky .trw-main-header .trw-main-header__brand {
  max-height: 48px;
  /* Ajusta el alto máximo para el sticky header */
}
body .trw-header-wrapper.trw-header--sticky-enabled.is-sticky .trw-logo img {
  max-width: 140px;
}
body .trw-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 91000;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  backdrop-filter: blur(2px);
}
body .trw-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
body .trw-mobile-menu {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: -300px;
  width: 280px;
  max-width: 85vw;
  height: calc(100% - var(--wp-admin--admin-bar--height, 0px));
  background: var(--mobile-menu-bg, #1e293b);
  z-index: 91010;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 0;
  border-right: 3px solid var(--primary-color);
}
body .trw-mobile-menu.is-open {
  left: 0;
}
body .trw-mobile-menu[hidden] {
  display: block;
}
body .trw-mobile-menu::-webkit-scrollbar {
  width: 5px;
}
body .trw-mobile-menu::-webkit-scrollbar-track {
  background: #1e293b;
}
body .trw-mobile-menu::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}
body .trw-mobile-menu .trw-mobile-menu__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.5);
  cursor: pointer;
  color: #ef4444;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
body .trw-mobile-menu .trw-mobile-menu__close:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
body .trw-mobile-menu .trw-mobile-menu__logo {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #334155;
  background: #0f172a;
}
body .trw-mobile-menu .trw-mobile-menu__logo a {
  display: inline-block;
  line-height: 0;
}
body .trw-mobile-menu .trw-mobile-menu__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0px auto;
  padding: 0px 0px;
  width: 100%;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu > li {
  border-bottom: 1px solid #334155;
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease;
  list-style: none;
  margin: 0px auto;
  padding: 0px 0px;
  width: 100%;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu > li:hover {
  border-left-color: var(--primary-color);
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu > li > a.nav-link {
  padding: 14px 20px;
  border-radius: 0;
  border-bottom: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--mobile-nav-link-color, #f1f5f9);
  background: transparent;
  display: block;
  text-decoration: none;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu > li > a.nav-link:hover {
  background: rgba(2, 132, 199, 0.12);
  color: #fff;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu .sub-menu.dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  border-top: none;
  border-left: 2px solid var(--primary-color);
  padding: 0 0 0 16px;
  margin: 0;
  display: none;
  background: #0f172a;
  list-style: none;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu .sub-menu.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
body .trw-mobile-menu .trw-mobile-menu__nav .trw-nav-menu .has-dropdown.is-open > .sub-menu.dropdown-menu {
  display: block;
}
body .trw-mobile-menu .trw-mobile-menu__cart {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid #334155;
  background: var(--primary-color);
  margin-top: 8px;
  transition: background 0.25s ease;
}
body .trw-mobile-menu .trw-mobile-menu__cart:hover {
  background: var(--primary-hover);
}
body .trw-mobile-menu .trw-mobile-menu__cart img {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
body .trw-header-wrapper .trw-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-statics-shortcode_actions {
  margin: 0;
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-statics-shortcode_actions ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-item {
  margin: 0;
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: 0.25s ease;
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-link:hover {
  border-color: #334155;
  color: #f1f5f9;
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-current-language .wpml-ls-link {
  border-color: #334155;
  background: rgba(255, 255, 255, 0.08);
}
body .trw-header-wrapper .trw-lang-switcher .wpml-ls-display {
  display: none;
}
body .trw-header-wrapper .trw-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.25s ease;
  border: 1px solid #334155;
}
body .trw-header-wrapper .trw-lang-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.2);
}

body.home .trw-header-wrapper.trw-header--sticky-enabled.is-sticky .trw-main-header {
  background-color: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.trw-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.trw-icon-btn:focus-visible,
.trw-hamburger:focus-visible,
.trw-cart-summary:focus-visible,
.trw-search-form__btn:focus-visible,
.trw-search-form__input:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  body .trw-header-wrapper * {
    transition-duration: 0.01ms;
  }
}
@keyframes trw-slide-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@media (min-width: 1025px) {
  body .trw-header-wrapper .trw-main-header .trw-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
  }
  body .trw-header-wrapper .trw-main-header .trw-main-header__brand {
    align-self: center;
  }
  body .trw-header-wrapper .trw-main-header .trw-nav {
    display: flex;
    justify-self: center;
    align-self: center;
  }
  body .trw-header-wrapper .trw-main-header .trw-main-header__actions {
    justify-self: end;
    align-self: center;
  }
  body .trw-header-wrapper .trw-main-header button.trw-hamburger {
    display: none;
  }
  body .trw-header-wrapper .trw-main-header .trw-logo img {
    max-width: 200px;
  }
}
@media (max-width: 1024px) {
  body .trw-header-wrapper .trw-account-btn .trw-account-label {
    display: none;
  }
  body .trw-header-wrapper a.trw-account-btn {
    padding: 6px;
  }
  body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-summary__total {
    display: none;
  }
  body .trw-header-wrapper .trw-main-header a.trw-cart-summary {
    padding: 6px 8px;
    border-color: rgba(255, 255, 255, 0.12);
  }
  body .trw-header-wrapper .trw-main-header a.trw-cart-summary .trw-cart-badge {
    border-color: #0f172a;
  }
}
@media (max-width: 768px) {
  body .trw-header-wrapper .trw-main-header .trw-container {
    height: 64px;
    gap: 8px;
  }
  body .trw-header-wrapper .trw-main-header .trw-icon-btn {
    padding: 5px;
  }
  body .trw-header-wrapper .trw-main-header .trw-icon-btn img {
    width: 20px;
    height: 20px;
  }
  body .trw-header-wrapper .trw-main-header button.trw-search-toggle img {
    width: 20px;
    height: 20px;
  }
  body .trw-header-wrapper .trw-main-header a.trw-account-btn {
    padding: 5px;
  }
  body .trw-header-wrapper .trw-main-header a.trw-account-btn .trw-account-icon {
    width: 20px;
    height: 20px;
  }
  body .trw-header-wrapper .trw-main-header button.trw-hamburger {
    width: 34px;
    height: 34px;
  }
  body .trw-header-wrapper .trw-main-header button.trw-hamburger svg {
    width: 20px;
    height: 20px;
  }
  body .trw-header-wrapper .trw-main-header .trw-cart-summary__icon img {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 480px) {
  .trw-container {
    padding: 0 14px;
  }
  body .trw-header-wrapper .trw-main-header .trw-container {
    height: 58px;
    gap: 4px;
  }
  body .trw-header-wrapper .trw-main-header .trw-icon-btn img {
    width: 18px;
    height: 18px;
  }
  body .trw-header-wrapper .trw-main-header button.trw-search-toggle img {
    width: 18px;
    height: 18px;
  }
  body .trw-header-wrapper .trw-main-header button.trw-hamburger svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Theme sidebar z-index ────────────────────────────────────────────────
   #rh-sidebar-inner is position:fixed on mobile — needs high z-index.
   .rh-shop-sidebar is position:static (CSS grid column) — z-index ignored.
   Theme's own overlay is replaced by #trw-overlay.
   ──────────────────────────────────────────────────────────────────────── */
#rh-sidebar-inner {
  z-index: 91005 !important;
}
.rh-sidebar-overlay {
  display: none !important;
}
