/* Mega menu + AJAX search */

.tggd-megamenu {
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(13, 40, 72, 0.08);
  overflow: hidden;
}

.tggd-megamenu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5eef8;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.tggd-megamenu__title {
  margin: 0;
  color: #0d2848;
  font-size: 20px;
  font-weight: 800;
}

.tggd-megamenu__viewall {
  color: #1a4f87;
  font-size: 13px;
  font-weight: 700;
}

.tggd-megamenu__body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 14px;
  padding: 12px;
}

.tggd-megamenu__cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tggd-megamenu__group {
  border: 1px solid #e3edf7;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.tggd-megamenu__group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0d2848;
  font-weight: 700;
  margin-bottom: 8px;
}

.tggd-megamenu__group-title img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e4edf8;
  background: #fff;
}

.tggd-megamenu__sub {
  margin: 0;
  padding-left: 14px;
}

.tggd-megamenu__sub-item {
  margin-bottom: 4px;
}

.tggd-megamenu__sub-item a {
  color: #1e3657;
  font-size: 13px;
}

.tggd-megamenu__brands {
  border: 1px solid #dfeaf6;
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tggd-megamenu__brands h4 {
  margin: 0 0 10px;
  color: #0d2848;
  font-size: 15px;
  font-weight: 800;
}

.tggd-megamenu__brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tggd-megamenu__brand-item {
  border: 1px solid #e3edf7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  color: #163457;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.tggd-megamenu__brand-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.tggd-ajax-search {
  position: relative;
  width: 100%;
}

.tggd-ajax-search__form {
  display: flex;
  gap: 8px;
}

.tggd-ajax-search__input {
  flex: 1 1 auto;
  min-height: 42px;
  border: 1px solid #c8daee;
  border-radius: 10px;
  padding: 10px 12px;
  color: #0d2848;
}

.tggd-ajax-search__btn {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #0d2848;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d2848, #1a4f87);
  color: #fff;
  font-weight: 700;
}

.tggd-ajax-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 999;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(13, 40, 72, 0.14);
  max-height: 420px;
  overflow: auto;
}

.tggd-ajax-search__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #edf2f8;
  color: #142f4d;
}

.tggd-ajax-search__item:last-child {
  border-bottom: 0;
}

.tggd-ajax-search__item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #e6eef8;
  border-radius: 8px;
  background: #fff;
}

.tggd-ajax-search__meta-title {
  font-size: 14px;
  font-weight: 700;
  color: #123251;
}

.tggd-ajax-search__meta-price {
  font-size: 13px;
  color: #eb0707;
  margin-top: 3px;
}

.tggd-ajax-search__meta-extra {
  font-size: 11px;
  color: #607896;
  margin-top: 3px;
}

.tggd-ajax-search__empty,
.tggd-ajax-search__loading {
  padding: 12px;
  color: #4f6580;
  font-size: 13px;
}

.tggd-dmx-header {
  position: relative;
  z-index: 40;
}

.tggd-dmx-header__bar {
  display: grid;
  grid-template-columns: auto auto minmax(320px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 0;
  background: linear-gradient(100deg, #081a30 0%, #0d2848 52%, #1d4f83 100%);
  border-bottom: 1px solid #12355e;
}

.tggd-dmx-header__logo img {
  max-height: 42px;
  width: auto;
}

.tggd-dmx-header__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
}

.tggd-dmx-header__menu-icon {
  font-size: 16px;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__input {
  border-radius: 22px;
  border: 0;
  min-height: 42px;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__btn {
  display: none;
}

.tggd-dmx-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tggd-dmx-header__action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.tggd-dmx-header__action:hover,
.tggd-dmx-header__menu-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

.tggd-dmx-header__location {
  background: rgba(244, 179, 0, 0.24);
}

.tggd-dmx-header__mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 8px;
}

.tggd-dmx-header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 34, 0.35);
  z-index: 20;
}

.tggd-shop-discovery {
  margin: 12px 0 10px;
  border: 1px solid #d7e4f2;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(11, 44, 79, 0.06);
}

.tggd-shop-discovery__group {
  padding: 2px 0 10px;
}

.tggd-shop-discovery__group + .tggd-shop-discovery__group {
  border-top: 1px solid #edf2f8;
  padding-top: 10px;
}

.tggd-shop-discovery__label {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.2;
  color: #1a3b5e;
  font-weight: 800;
  text-transform: none;
}

.tggd-shop-discovery__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.tggd-shop-discovery__categories,
.tggd-shop-discovery__brands,
.tggd-shop-discovery__prices {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: max-content;
}

.tggd-category-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dae6f4;
  border-radius: 12px;
  padding: 5px 10px 5px 6px;
  background: #fff;
  color: #133458;
  min-height: 42px;
  white-space: nowrap;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.tggd-category-card:hover,
.tggd-category-card.is-active {
  border-color: #2c63a5;
  background: #edf5ff;
  color: #0d2848;
  text-decoration: none;
}

.tggd-category-card__thumb {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e5edf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tggd-category-card__thumb img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tggd-category-card__name {
  font-size: 13px;
  line-height: 1.15;
  font-weight: 700;
}

.tggd-category-card__count {
  display: none;
}

.tggd-brand-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #dde8f5;
  border-radius: 10px;
  padding: 5px 10px;
  background: #fff;
  color: #173a5d;
  font-size: 13px;
  font-weight: 700;
  min-height: 40px;
  white-space: nowrap;
}

.tggd-brand-chip__thumb {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5edf8;
}

.tggd-brand-chip__thumb img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tggd-brand-chip__name {
  font-size: 13px;
  line-height: 1;
}

.tggd-brand-chip:hover,
.tggd-brand-chip.is-active,
.tggd-price-chip:hover,
.tggd-price-chip.is-active {
  background: #edf5ff;
  color: #eb0707;
  border-color: #eb0707;
  text-decoration: none;
}

.tggd-price-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e5f3;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 12px;
  background: #fff;
  color: #eb0707;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tggd-shop-filterbar {
  margin-top: 12px;
  margin-bottom: 24px;
  border: 1px solid #d9e6f4;
  border-radius: 14px;
  background: #fff;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(13, 40, 72, 0.07);
}

.tggd-shop-filters-form,
.tggd-shop-filters-form * {
  box-sizing: border-box;
}

.tggd-shop-filters-form button,
.tggd-shop-filters-form input,
.tggd-shop-filters-form select {
  font-family: "Roboto DMX Local", "Roboto", Arial, sans-serif;
}

.tggd-shop-filters-form button {
  width: auto;
  border: 0;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.tggd-shop-filters-form input[type="text"],
.tggd-shop-filters-form input[type="number"] {
  width: 100%;
  min-width: 0;
  margin: 0;
  box-shadow: none;
}

.tggd-shop-filters-form .tggd-filter-apply,
.tggd-shop-filters-form .tggd-filter-reset,
.tggd-shop-filters-form .tggd-filter-open,
.tggd-shop-filters-form .tggd-quick-chip,
.tggd-shop-filters-form .tggd-modal-chip,
.tggd-shop-filters-form .tggd-filter-modal__btn,
.tggd-shop-filters-form .tggd-filter-modal__close {
  width: auto;
  margin: 0;
  line-height: 1;
}

.tggd-shop-filterbar__row {
  display: grid;
  gap: 10px;
}

.tggd-shop-filterbar__quick {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  min-width: 0;
}

.tggd-filter-open {
  min-height: 36px;
  border: 1px solid #6f8fce;
  border-radius: 8px;
  background: #fff;
  color: #3b66c0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  flex: 0 0 auto;
  margin-right: 20px;
}

.tggd-filter-open:hover {
  background: #f4f7ff;
  border-color: #6f8fce;
}

.tggd-filter-open__icon {
  width: 15px;
  height: 15px;
  border: 2px solid #6b88c8;
  border-radius: 4px;
  position: relative;
  transform: rotate(45deg);
}

.tggd-filter-open__icon::before {
  content: "";
  width: 2px;
  height: 8px;
  background: #6b88c8;
  position: absolute;
  left: 5px;
  top: 9px;
  border-radius: 2px;
}

.tggd-filter-open__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.tggd-shop-filterbar__quick-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  min-width: 0;
  scrollbar-width: none;
  border-left: 1.5px solid #e4ecf6;
  padding-left: 20px;
}

.tggd-shop-sortbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #edf2f8;
  flex-wrap: wrap;
}

.tggd-shop-sortbar__title {
  color: #8899b0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  flex: 0 0 auto;
  letter-spacing: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.tggd-shop-sortbar__main {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 6px;
}

.tggd-shop-sortbar__item {
  position: relative;
  padding-left: 16px;
}

.tggd-shop-sortbar__item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #c8d4e4;
  transform: translateY(-50%);
}

.tggd-shop-sortbar__item:first-child {
  padding-left: 0;
}

.tggd-shop-sortbar__item:first-child::before {
  display: none;
}

.tggd-shop-sortbar__item--price {
  position: relative;
}

.tggd-shop-sortbar__link {
  border: 0;
  background: transparent;
  color: #5c6e88;
  font-size: 13.5px;
  font-weight: 500;
  padding: 4px 0;
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}

.tggd-shop-sortbar__link:hover {
  color: #2051c8;
}

.tggd-shop-sortbar__link.is-active,
.tggd-shop-sortbar__item.is-active > .tggd-shop-sortbar__link {
  color: #2051c8;
  font-weight: 700;
}

.tggd-shop-sortbar__caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.tggd-shop-sortbar__link[aria-expanded="true"] .tggd-shop-sortbar__caret {
  transform: translateY(1px) rotate(-135deg);
}

.tggd-shop-sortbar__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 18px;
  z-index: 30;
  min-width: 180px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #dfe7f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(13, 40, 72, 0.14);
}

.tggd-shop-sortbar__menu-link {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f7f9fc;
  color: #213b5a;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 0 10px;
}

.tggd-shop-sortbar__menu-link:hover,
.tggd-shop-sortbar__menu-link.is-active {
  background: #eaf2ff;
  color: #1a4fa8;
}

.tggd-shop-filterbar__quick-brands::-webkit-scrollbar {
  display: none;
}

.tggd-quick-chip {
  min-height: 34px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #f7f8fb;
  color: #2f3f56;
  font-weight: 700;
  padding: 0 10px;
  white-space: nowrap;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tggd-quick-chip--brand {
  min-width: 78px;
  justify-content: center;
  padding: 0 6px;
}

.tggd-quick-chip:hover {
  text-decoration: none;
}

.tggd-quick-chip__thumb {
  width: 56px;
  height: 22px;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tggd-quick-chip__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tggd-quick-chip__text {
  font-size: 13px;
  line-height: 1;
}

.tggd-quick-chip:hover,
.tggd-quick-chip.is-active {
  border-color: #92a9d4;
  background: #eef2fb;
  color: #1f3f76;
}

.tggd-shop-filterbar__row--top {
  display: none !important;
}

.tggd-filter-attrs-hidden {
  display: none !important;
}

.tggd-shop-filterbar__row--bottom {
  display: none !important;
}

.tggd-filter-select {
  position: relative;
  min-width: 0;
}

.tggd-filter-select__label {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #6b7a90;
  pointer-events: none;
}

.tggd-filter-select__trigger {
  width: 100%;
  min-height: 44px;
  padding: 18px 42px 8px 12px;
  border: 1px solid #c7daee;
  border-radius: 10px;
  background: #fff;
  color: #0d2848;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  position: relative;
  justify-content: flex-start;
}

.tggd-filter-select__trigger:focus {
  outline: none;
  border-color: #0d2848;
  box-shadow: 0 0 0 3px rgba(13, 40, 72, 0.12);
}

.tggd-filter-select__value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tggd-filter-select__caret {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #5f7390;
  border-bottom: 2px solid #5f7390;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.tggd-filter-select.is-open .tggd-filter-select__caret {
  transform: translateY(-25%) rotate(-135deg);
  border-color: #0d2848;
}

.tggd-filter-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 25;
  display: grid;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #d6e3f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(13, 40, 72, 0.16);
}

.tggd-filter-select__option {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d6e3f1;
  border-radius: 10px;
  background: #fff;
  color: #16385d;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.tggd-filter-select__option:hover,
.tggd-filter-select__option.is-active {
  border-color: #7ea9dd;
  background: #edf5ff;
  color: #0d2848;
}

.tggd-filter-select__option[hidden] {
  display: none !important;
}

.tggd-filter-control {
  min-height: 44px;
  border: 1px solid #c7daee;
  border-radius: 10px;
  color: #0d2848;
  background: #fff;
}

.tggd-filter-apply,
.tggd-filter-reset {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.tggd-filter-apply {
  border: 1px solid #0d2848;
  background: linear-gradient(135deg, #0d2848 0%, #1d4f83 100%);
  color: #fff;
}

.tggd-filter-reset {
  border: 1px solid #d2e0ef;
  background: #f4f8fd;
  color: #0d2848;
}

.tggd-filter-modal[hidden] {
  display: none;
}

.tggd-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.tggd-filter-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 31, 0.45);
}

.tggd-filter-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d9e4f3;
  box-shadow: 0 26px 58px rgba(9, 18, 30, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tggd-shop-filters-form .tggd-filter-modal__panel {
  width: min(980px, calc(100vw - 28px));
}

.tggd-filter-modal__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 18px;
  border-bottom: 1px solid #e9eff7;
  position: relative;
}

.tggd-filter-modal__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #1b2f49;
  letter-spacing: -0.02em;
}

.tggd-filter-modal__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #d7e1f0;
  border-radius: 12px;
  min-height: 40px;
  padding: 0 14px;
  background: #f7f9fd;
  color: #1f3450;
  font-weight: 600;
  font-size: 14px;
}

.tggd-filter-modal__body {
  overflow-y: auto;
  padding: 18px 18px 12px;
  background: #fff;
}

.tggd-filter-modal__section {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #edf2f8;
}

.tggd-filter-modal__label {
  margin-bottom: 12px;
  color: #213b5a;
  font-size: 16px;
  font-weight: 800;
}

.tggd-filter-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.tggd-modal-chip {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  background: transparent;
  color: #1f3a5e;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tggd-modal-chip__thumb {
  width: 22px;
  height: 22px;
  border: 1px solid #e0e8f2;
  border-radius: 6px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tggd-modal-chip__thumb img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.tggd-modal-chip__text {
  font-size: 13px;
  line-height: 1;
}

.tggd-modal-chip:hover,
.tggd-modal-chip.is-active {
  background: #eaf2ff;
  color: #133e78;
}

.tggd-filter-modal__section--brands .tggd-modal-chip--brand {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

.tggd-filter-modal__section--brands .tggd-modal-chip--brand.is-active {
  background: transparent;
  color: #335fb3;
}

.tggd-filter-modal__section--brands .tggd-modal-chip__thumb {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.tggd-filter-modal__section--brands .tggd-modal-chip__text {
  font-size: 13px;
}

.tggd-modal-chip[hidden] {
  display: none !important;
}

.tggd-filter-modal__range {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 10px;
}

.tggd-filter-modal__foot {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid #e9eff7;
  padding: 14px 16px;
  background: #fff;
}

.tggd-filter-modal__btn {
  min-height: 42px;
  min-width: 180px;
  border-radius: 8px;
  font-weight: 700;
}

.tggd-filter-modal__btn--reset {
  border: 1px solid #ef7f7f;
  background: #fff;
  color: #da4b4b;
}

.tggd-filter-modal__btn--apply {
  border: 1px solid #4c7ed0;
  background: #4d7fda;
  color: #fff;
}

.tggd-filter-modal__btn--apply:hover {
  background: #3f72d1;
  border-color: #3f72d1;
}

.tggd-filter-modal__btn--reset:hover {
  background: #fff6f6;
}

body.tggd-filter-modal-open {
  overflow: hidden;
}

.tggd-dmx-header__mega-panel .tggd-megamenu {
  z-index: 30;
  position: relative;
}

.tggd-dmx-header__brand-suggest {
  background: #f4f8fd;
  border-bottom: 1px solid #d7e3f1;
  padding: 8px 12px;
}

.tggd-dmx-header__core-menu {
  background: #ffffff;
  border-bottom: 1px solid #dbe7f3;
  padding: 8px 12px;
}

.tggd-core-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.tggd-core-menu__list .menu-item {
  margin: 0;
  flex: 0 0 auto;
}

.tggd-core-menu__list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d9e6f3;
  border-radius: 999px;
  background: #f7faff;
  color: #113252;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tggd-core-menu__list a:hover {
  background: #0d2848;
  border-color: #0d2848;
  color: #fff;
  text-decoration: none;
}

.tggd-brand-suggest-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tggd-brand-suggest-row__label {
  color: #0d2848;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.tggd-brand-suggest-row__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d4e2f1;
  border-radius: 999px;
  background: #fff;
  color: #17395c;
  padding: 4px 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.tggd-brand-suggest-row__item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
}

.tggd-brand-suggest-row__item:hover {
  background: #0d2848;
  border-color: #0d2848;
  color: #fff;
  text-decoration: none;
}

/* Header v2 - DMX-like compact + icon top-body */
.tggd-dmx-header {
  border-bottom: 1px solid #d6e2ef;
  background: #fff;
}

.tggd-dmx-header__bar {
  display: grid;
  grid-template-areas: "logo menu search actions";
  grid-template-columns: auto auto minmax(340px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(120deg, #081a30 0%, #0d2848 58%, #1d4f83 100%);
  border-bottom: 1px solid #123a66;
}

.tggd-dmx-header__logo { grid-area: logo; }
.tggd-dmx-header__menu-btn { grid-area: menu; }
.tggd-dmx-header__search-wrap { grid-area: search; }
.tggd-dmx-header__actions { grid-area: actions; }

.tggd-dmx-header__logo img {
  max-height: 40px;
  width: auto;
}

.tggd-dmx-header__menu-btn {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  padding: 0 10px;
  color: #fff;
  font-weight: 700;
}

.tggd-dmx-header__menu-icon {
  font-size: 18px;
  line-height: 1;
}

.tggd-dmx-header__menu-text {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tggd-dmx-header__actions {
  display: inline-flex;
  gap: 8px;
}

.tggd-dmx-header__action--icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  justify-content: center;
  font-size: 18px;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__input {
  border-radius: 10px;
  border: 1px solid #d1dff0;
  min-height: 40px;
  padding: 8px 12px;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__btn {
  display: inline-flex;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 14px;
}

.tggd-ajax-search__suggest-wrap {
  padding: 10px;
}

.tggd-ajax-search__suggest-title {
  color: #234463;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.tggd-ajax-search__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tggd-ajax-search__hint {
  border: 1px solid #d4e2f0;
  border-radius: 999px;
  background: #f5f9ff;
  color: #153656;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.tggd-ajax-search__hint:hover {
  background: #0d2848;
  border-color: #0d2848;
  color: #fff;
}

.tggd-ajax-search__recent {
  display: grid;
  gap: 6px;
}

.tggd-ajax-search__recent-item {
  color: #1b3d5f;
  font-size: 13px;
  font-weight: 600;
}

.tggd-dmx-header__top-body {
  background: #f3f7fc;
  border-top: 1px solid #dbe7f2;
  border-bottom: 1px solid #dbe7f2;
  padding: 10px 12px;
}

.tggd-top-body {
  overflow: hidden;
}

.tggd-top-body__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.tggd-top-body__item {
  background: #fff;
  border: 1px solid #d9e6f3;
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  color: #122f4c;
  display: grid;
  gap: 6px;
}

.tggd-top-body__item:hover {
  border-color: #0d2848;
  box-shadow: 0 8px 14px rgba(13, 40, 72, 0.12);
  text-decoration: none;
}

.tggd-top-body__thumb {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tggd-top-body__thumb img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tggd-top-body__name {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .tggd-dmx-header__bar {
    grid-template-areas: "logo menu search actions";
    grid-template-columns: auto auto minmax(240px, 1fr) auto;
  }

  .tggd-megamenu__body {
    grid-template-columns: 1fr;
  }

  .tggd-megamenu__cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tggd-shop-filterbar__quick {
    flex-wrap: nowrap;
    margin-bottom: 14px;
  }

  .tggd-filter-open {
    min-height: 36px;
    padding: 0 12px;
    margin-right: 16px;
  }

  .tggd-shop-filterbar__quick-brands {
    gap: 8px;
    padding-left: 16px;
  }

  .tggd-shop-sortbar {
    gap: 8px;
    padding-top: 12px;
  }

  .tggd-shop-sortbar__title {
    font-size: 12.5px;
  }

  .tggd-shop-sortbar__link {
    font-size: 13px;
  }

  .tggd-quick-chip {
    min-height: 34px;
  }

  .tggd-quick-chip--brand {
    min-width: 72px;
  }

  .tggd-quick-chip__thumb {
    width: 48px;
    height: 20px;
  }

  .tggd-filter-modal__title {
    font-size: 24px;
  }

  .tggd-top-body__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tggd-dmx-header {
    --tggd-mobile-sticky-top: 0px;
  }

  body.admin-bar .tggd-dmx-header {
    --tggd-mobile-sticky-top: 46px;
  }

  .tggd-dmx-header__bar {
    grid-template-areas:
      "logo . actions"
      "menu search search";
    grid-template-columns: auto 1fr auto;
    border-radius: 0;
    margin: 0;
    padding: 8px;
    position: sticky;
    top: var(--tggd-mobile-sticky-top);
    z-index: 70;
    box-shadow: 0 8px 20px rgba(10, 28, 52, 0.22);
  }

  .tggd-dmx-header__menu-btn {
    min-height: 36px;
    border-radius: 8px;
    padding: 0 8px;
    justify-content: center;
  }

  .tggd-dmx-header__menu-text {
    font-size: 10px;
  }

  .tggd-dmx-header__search-wrap .tggd-ajax-search__input {
    min-height: 36px;
    border-radius: 8px;
    font-size: 13px;
  }

  .tggd-dmx-header__search-wrap .tggd-ajax-search__dropdown {
    z-index: 71;
  }

  .tggd-dmx-header__search-wrap .tggd-ajax-search__btn {
    min-height: 36px;
    border-radius: 8px;
  }

  .tggd-dmx-header__action--icon {
    width: 36px;
    height: 36px;
    min-height: 36px;
    font-size: 16px;
  }

  .tggd-dmx-header__mega-panel {
    margin: 8px;
    width: calc(100% - 16px);
  }

  .tggd-dmx-header__brand-suggest {
    display: none;
  }

  .tggd-dmx-header__core-menu {
    display: none;
  }

  .tggd-brand-suggest-row__label {
    display: none;
  }

  .tggd-megamenu__cats {
    grid-template-columns: 1fr;
  }

  .tggd-shop-discovery {
    padding: 10px;
  }

  .tggd-shop-filterbar__quick {
    margin-bottom: 12px;
  }

  .tggd-filter-open {
    min-height: 34px;
    padding: 0 10px;
    margin-right: 12px;
  }

  .tggd-shop-filterbar__quick-brands {
    gap: 6px;
    padding-left: 12px;
  }

  .tggd-shop-sortbar {
    align-items: flex-start;
    gap: 6px;
    padding-top: 12px;
  }

  .tggd-shop-sortbar__title {
    width: 100%;
    font-size: 12px;
  }

  .tggd-shop-sortbar__main {
    width: 100%;
    row-gap: 8px;
  }

  .tggd-shop-sortbar__item {
    padding-left: 14px;
  }

  .tggd-shop-sortbar__item::before {
    left: 5px;
  }

  .tggd-shop-sortbar__link {
    font-size: 12.5px;
  }

  .tggd-shop-sortbar__menu {
    left: 10px;
    min-width: 164px;
  }

  .tggd-filter-open__text {
    font-size: 12.5px;
  }

  .tggd-quick-chip {
    min-height: 32px;
    padding: 0 6px;
  }

  .tggd-quick-chip--brand {
    min-width: 64px;
  }

  .tggd-quick-chip__thumb {
    width: 44px;
    height: 18px;
  }

  .tggd-category-card {
    min-height: 38px;
    padding: 4px 8px 4px 6px;
    gap: 6px;
  }

  .tggd-category-card__thumb,
  .tggd-brand-chip__thumb {
    width: 24px;
    height: 24px;
  }

  .tggd-category-card__thumb img,
  .tggd-brand-chip__thumb img {
    width: 18px;
    height: 18px;
  }

  .tggd-brand-chip,
  .tggd-price-chip {
    min-height: 36px;
    font-size: 12px;
  }

  .tggd-filter-select__menu {
    max-height: 260px;
  }

  .tggd-filter-modal__panel {
    width: calc(100vw - 14px);
    max-height: calc(100vh - 14px);
  }

  .tggd-filter-modal__head {
    padding: 12px;
    justify-content: flex-start;
  }

  .tggd-filter-modal__title {
    font-size: 20px;
  }

  .tggd-filter-modal__close {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .tggd-filter-modal__body {
    padding: 12px 12px 10px;
  }

  .tggd-filter-modal__label {
    font-size: 15px;
  }

  .tggd-modal-chip {
    min-height: 36px;
    font-size: 12px;
    padding: 0 10px;
  }

  .tggd-modal-chip__text {
    font-size: 12px;
  }

  .tggd-filter-modal__range {
    grid-template-columns: 1fr;
  }

  .tggd-filter-modal__foot {
    padding: 12px;
  }

  .tggd-filter-modal__btn {
    min-width: 140px;
    min-height: 40px;
  }

  .tggd-dmx-header__top-body {
    padding: 8px;
  }

  .tggd-top-body__grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tggd-top-body__item {
    min-width: 88px;
    padding: 7px 6px;
  }

  .tggd-top-body__thumb img {
    width: 34px;
    height: 34px;
  }

  .tggd-top-body__name {
    font-size: 11px;
  }

  .tggd-megamenu__group-title {
    margin-bottom: 4px;
  }

  .tggd-megamenu__group .tggd-megamenu__sub {
    display: none;
    padding-left: 12px;
  }

  .tggd-megamenu__group.is-open .tggd-megamenu__sub {
    display: block;
  }
}

/* Header Focus v3 */
.tggd-dmx-header {
  background: #ffffff;
  border-bottom: 1px solid #d8e4f0;
  padding: 6px 8px 0;
}

.tggd-dmx-header__bar {
  display: flex !important;
  width: min(1170px, calc(100% - 16px));
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: linear-gradient(110deg, #081a30 0%, #0d2848 55%, #1a4c80 80%);
}

.tggd-dmx-header__logo {
  flex: 0 0 172px;
  width: 172px;
  height: 70px;
  display: flex;
  align-items: center;
}

.tggd-dmx-header__logo img {
  width: 172px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.tggd-dmx-header__menu-btn {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.tggd-dmx-header__menu-icon {
  font-size: 18px;
  line-height: 1;
}

.tggd-dmx-header__menu-text {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
}

.tggd-dmx-header__menu-text-mobile {
  display: none;
}

.tggd-dmx-header__menu-mobile-inline {
  display: none;
}

.tggd-dmx-header__search-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__form {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__input {
  min-height: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid #d6e2ef;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
}

.tggd-dmx-header__search-wrap .tggd-ajax-search__btn {
  display: none !important;
}

.tggd-dmx-header__actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tggd-dmx-header__action--icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.tggd-icon-user,
.tggd-icon-cart {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #d8e9ff;
  border-radius: 50%;
  position: relative;
}

.tggd-icon-user::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border: 2px solid #d8e9ff;
  border-radius: 50%;
  background: transparent;
}

.tggd-icon-cart {
  border-radius: 4px;
  border-width: 2px;
}

.tggd-icon-cart::before,
.tggd-icon-cart::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 5px;
  height: 5px;
  border: 2px solid #d8e9ff;
  border-radius: 50%;
}

.tggd-icon-cart::before {
  left: 0;
}

.tggd-icon-cart::after {
  right: 0;
}

.tggd-dmx-header__brand-suggest,
.tggd-dmx-header__core-menu {
  display: none;
}

.tggd-dmx-header__top-body {
  background: #ffffff;
  width: 1170px;
  margin: 0 auto 2px;
  border: 0;
  padding: 6px 16px 8px;
}

.tggd-top-body__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}

.tggd-top-body__item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 6px 4px;
  gap: 4px;
}

.tggd-top-body__thumb img {
  width: 28px;
  height: 28px;
}

.tggd-top-body__name {
  font-size: 10px;
  font-weight: 700;
  color: #143557;
}

@media (max-width: 1024px) {
  .tggd-dmx-header {
    padding: 4px 6px 0;
  }

  .tggd-dmx-header__bar {
    gap: 8px;
    margin: 0 4px;
  }

  .tggd-dmx-header__logo {
    flex-basis: 128px;
    width: 128px;
    height: 52px;
  }

  .tggd-dmx-header__logo img {
    width: 128px;
    height: 52px;
  }

  .tggd-dmx-header__search-wrap .tggd-ajax-search__form {
    min-height: 40px;
  }

  .tggd-dmx-header__search-wrap .tggd-ajax-search__input {
    min-height: 40px;
    height: 40px;
    font-size: 15px;
  }

  .tggd-top-body__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tggd-dmx-header {
    --tggd-mobile-sticky-top: 0px;
    padding: 4px 0 0;
  }

  body.admin-bar .tggd-dmx-header {
    --tggd-mobile-sticky-top: 46px;
  }

  .tggd-dmx-header__bar {
    display: grid !important;
    grid-template-areas:
      "logo . actions"
      "menu search search";
    grid-template-columns: auto 1fr auto;
    row-gap: 8px;
    column-gap: 8px;
    padding: 8px;
    margin: 0;
    border-radius: 0;
    margin-bottom: 2px;
  }

  .tggd-dmx-header__logo {
    grid-area: logo;
    width: 90px;
    height: 30px;
    flex-basis: 90px;
  }

  .tggd-dmx-header__logo img {
    width: 90px;
    height: 30px;
  }

  .tggd-dmx-header__actions {
    grid-area: actions;
    justify-self: end;
  }

  .tggd-dmx-header__menu-btn {
    grid-area: menu;
    min-height: 36px;
    height: 36px;
    padding: 2px 10px;
    justify-content: center;
    gap: 1px;
    border-radius: 7px;
  }

  .tggd-dmx-header__menu-icon {
    font-size: 18px;
    line-height: 1;
  }

  .tggd-dmx-header__menu-text {
    display: none;
  }

  .tggd-dmx-header__menu-text-mobile {
    display: none;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
  }

  .tggd-dmx-header__menu-icon,
  .tggd-dmx-header__menu-text {
    display: none;
  }

  .tggd-dmx-header__menu-mobile-inline {
    display: inline-block;
    text-align: center;
    line-height: 1;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #ffffff;
  }

  .tggd-dmx-header__menu-mobile-icon {
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
  }

  .tggd-dmx-header__menu-mobile-label {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  .tggd-dmx-header__search-wrap {
    grid-area: search;
    width: 100%;
  }

  .tggd-dmx-header__search-wrap .tggd-ajax-search__input {
    min-height: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
  }

  .tggd-dmx-header__action--icon {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .tggd-dmx-header__top-body {
    padding: 1px 8px 5px;
  }

  .tggd-top-body__grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }

  .tggd-top-body__item {
    min-width: 72px;
  }

  .tggd-top-body__thumb img {
    width: 24px;
    height: 24px;
  }

  .tggd-top-body__name {
    font-size: 9px;
  }
}

/* Mega menu behavior v4: desktop hover + mobile full-screen */
.tggd-dmx-header__menu-btn {
  cursor: pointer;
}

.tggd-dmx-header__mega-panel {
  position: fixed;
  top: 84px;
  left: 12px;
  width: min(980px, calc(100vw - 24px));
  margin: 0;
  z-index: 120;
}

.tggd-dmx-header__mega-panel[hidden] {
  display: none !important;
}

.tggd-dmx-header__mega-mobile-head {
  display: none;
}

.tggd-dmx-header__mega-scroll {
  max-height: min(74vh, 680px);
  overflow: auto;
}

.tggd-megamenu {
  border-radius: 10px;
}

.tggd-megamenu__layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 0;
  min-height: 430px;
}

.tggd-megamenu__parents {
  border-right: 1px solid #e1ebf5;
  background: linear-gradient(180deg, #e6edf8 0%, #dde7f5 100%);
}

.tggd-megamenu__parent-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.tggd-megamenu__parent-item {
  margin: 0;
}

.tggd-megamenu__parent-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: #102f50;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  justify-content: flex-start;
}

.tggd-megamenu__parent-name,
.tggd-megamenu__child-title,
.tggd-megamenu__child-name {
  text-transform: lowercase;
  text-align: left;
}

.tggd-megamenu__parent-name {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

.tggd-megamenu__parent-name::first-letter,
.tggd-megamenu__child-title::first-letter,
.tggd-megamenu__child-name::first-letter {
  text-transform: uppercase;
}

.tggd-megamenu__parent-btn:hover,
.tggd-megamenu__parent-btn.is-active {
  background: #f7fbff;
  color: #0a3b6e;
}

.tggd-megamenu__parent-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #dce8f4;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.tggd-megamenu__parent-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tggd-megamenu__children {
  padding: 12px 14px 14px;
  background: #fff;
}

.tggd-megamenu__child-panel {
  display: none;
}

.tggd-megamenu__child-panel.is-active {
  display: block;
}

.tggd-megamenu__child-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tggd-megamenu__child-title {
  margin: 0;
  color: #0d2848;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
  text-align: left;
}

.tggd-megamenu__child-viewall {
  color: #1a4f87;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: none;
  line-height: 1.2;
}

.tggd-megamenu__child-viewall:hover {
  color: #0d3f73;
  text-decoration: underline;
}

.tggd-megamenu__child-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.tggd-megamenu__child-card {
  color: #123355;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  align-content: start;
  min-width: 0;
}

.tggd-megamenu__child-thumb {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid #e1ebf6;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tggd-megamenu__child-thumb img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.tggd-megamenu__child-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tggd-megamenu__child-card--level-3 .tggd-megamenu__child-name,
.tggd-megamenu__child-card--level-4 .tggd-megamenu__child-name {
  font-weight: 600;
}

.tggd-megamenu__child-card:hover {
  color: #0d3f73;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .tggd-megamenu__child-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .tggd-megamenu__layout {
    min-height: 420px;
  }

  .tggd-megamenu__child-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tggd-dmx-header__mega-panel {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    border-radius: 0;
  }

  .tggd-dmx-header__mega-mobile-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border-bottom: 1px solid #dbe7f3;
    background: #eef3fb;
  }

  .tggd-dmx-header__mega-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #5c5f64;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .tggd-dmx-header__mega-scroll {
    max-height: none;
    height: calc(100vh - 38px);
    overflow: auto;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: calc(100vh - 38px);
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__header {
    display: none;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__layout {
    grid-template-columns: minmax(108px, 34%) minmax(0, 66%);
    min-height: calc(100vh - 38px);
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__parents {
    border-right: 1px solid #dbe7f3;
    background: linear-gradient(180deg, #e6edf8 0%, #dde7f5 100%);
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__parent-btn {
    padding: 10px 10px;
    gap: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__parent-icon {
    display: none;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__children {
    padding: 10px 12px;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-head {
    margin-bottom: 8px;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-title {
    font-size: 16px;
    text-transform: none;
    text-align: left;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-viewall {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: flex-start;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-thumb {
    width: 48px;
    height: 48px;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-thumb img {
    width: 44px;
    height: 44px;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__child-name {
    font-size: 12px;
    font-weight: 500;
    text-align: left;
  }

  .tggd-dmx-header__mega-scroll .tggd-megamenu__brands {
    display: none;
  }

  body.tggd-mega-open-mobile {
    overflow: hidden;
  }
}
