/* AS_CATALOG_MEGA_QUERY_PREVIEW_V11 — responsive full-tree catalogue. */
.as-mega-v12-workspace,
.as-mega-v12-mobile { display: none; }

@media (min-width: 992px) {
  html.as-mega-tree-v12 .header-v4 { position: relative; z-index: 30; }
  html.as-mega-tree-v12 .header-v4__full-menu.full-menu {
    box-sizing: border-box;
    width: 100%;
    height: auto !important;
    padding: 10px 0 18px;
    overflow: visible;
    background: transparent;
  }
  html.as-mega-tree-v12 .header-v4__full-menu.full-menu > .container {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 0 !important;
    width: min(calc(100% - 32px), 1180px);
    max-width: 1180px;
    height: clamp(380px, calc(100dvh - 200px), 520px) !important;
    min-height: 0;
    margin: 0 auto;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #e2e7ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(29, 36, 45, .15);
  }
  html.as-mega-tree-v12 .full-menu__left {
    box-sizing: border-box;
    display: block !important;
    width: auto !important;
    height: 100% !important;
    min-height: 0;
    padding: 8px 8px 10px !important;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid #e8ebef;
    background: #fbfcfd;
    scrollbar-width: thin;
    scrollbar-color: #cbd2da transparent;
  }
  html.as-mega-tree-v12 .full-menu__left::before,
  html.as-mega-tree-v12 .full-menu__back,
  html.as-mega-tree-v12 .full-menu__right { display: none !important; }
  html.as-mega-tree-v12 .full-menu__left > div[data-category] {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 44px;
    margin: 0 0 2px;
    border-radius: 9px;
    color: #252a30;
    transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
  }
  html.as-mega-tree-v12 .full-menu__left > div[data-category]:hover { background: #f3f5f7; }
  html.as-mega-tree-v12 .full-menu__left > div[data-category].active {
    color: #bf4907;
    background: #fff1e6;
    box-shadow: inset 3px 0 0 #f36c16;
  }
  html.as-mega-tree-v12 .full-menu__left > div[data-category] > a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px 8px 12px !important;
    color: inherit !important;
    font-size: 13.5px;
    font-weight: 550;
    line-height: 1.23;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .full-menu__left > div[data-category] > button {
    position: static !important;
    display: grid !important;
    width: 44px !important;
    min-width: 44px;
    min-height: 44px;
    height: auto !important;
    padding: 0 !important;
    place-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  html.as-mega-tree-v12 .full-menu__left > div[data-category] > button svg {
    width: 6px;
    height: 10px;
  }
  html.as-mega-tree-v12 .full-menu__left > div[data-category].active > button svg path { fill: #f36c16; }

  html.as-mega-tree-v12 .as-mega-v12-workspace {
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-head {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 7px 14px;
    border-bottom: 1px solid #edf0f3;
  }
  html.as-mega-tree-v12 .as-mega-v12-back {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: #f4f6f8;
    color: #252a30;
    cursor: pointer;
  }
  html.as-mega-tree-v12 .as-mega-v12-back:hover { background: #ffede0; color: #bd4908; }
  html.as-mega-tree-v12 .as-mega-v12-back span { font-size: 27px; line-height: 1; }
  html.as-mega-tree-v12 .as-mega-v12-heading {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
  }
  html.as-mega-tree-v12 .as-mega-v12-trail {
    overflow: hidden;
    color: #6f7882;
    font-size: 10.5px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html.as-mega-tree-v12 .as-mega-v12-current {
    overflow: hidden;
    color: #17191c;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html.as-mega-tree-v12 .as-mega-v12-current:hover { color: #bd4908; }
  html.as-mega-tree-v12 .as-mega-v12-brand-switch {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #f36c16;
    border-radius: 9px;
    background: #fff;
    color: #bd4908;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand-switch:hover { background: #fff1e6; }
  html.as-mega-tree-v12 .as-mega-v12-grid,
  html.as-mega-tree-v12 .as-mega-v12-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 9px;
    min-height: 0;
    padding: 13px 14px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd2da transparent;
  }
  html.as-mega-tree-v12 .as-mega-v12-card {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    min-width: 0;
    min-height: 72px;
    overflow: hidden;
    border: 1px solid #e2e7ec;
    border-radius: 11px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  }
  html.as-mega-tree-v12 .as-mega-v12-card:hover {
    border-color: #f5aa79;
    background: #fff8f3;
    box-shadow: 0 4px 12px rgba(37, 43, 50, .05);
  }
  html.as-mega-tree-v12 .as-mega-v12-card--link-only { grid-template-columns: minmax(0, 1fr); }
  html.as-mega-tree-v12 .as-mega-v12-card__link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 70px;
    padding: 8px 8px 8px 10px;
    color: #2c3137;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .as-mega-v12-card__media {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }
  html.as-mega-tree-v12 .as-mega-v12-card__name {
    min-width: 0;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
  }
  html.as-mega-tree-v12 .as-mega-v12-card__count,
  html.as-mega-tree-v12 .as-mega-v12-brand__count {
    min-width: 24px;
    padding: 2px 5px;
    border-radius: 999px;
    background: #f2f4f6;
    color: #69727c;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
  }
  html.as-mega-tree-v12 .as-mega-v12-card__next {
    display: grid;
    width: 44px;
    min-width: 44px;
    min-height: 70px;
    padding: 0;
    place-items: center;
    border: 0;
    border-left: 1px solid #eef1f3;
    background: transparent;
    color: #d9560c;
    cursor: pointer;
  }
  html.as-mega-tree-v12 .as-mega-v12-card__next:hover { background: #ffede0; }
  html.as-mega-tree-v12 .as-mega-v12-chevron { font-size: 25px; line-height: 1; }
  html.as-mega-tree-v12 .as-mega-v12-brand {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 68px;
    padding: 8px 10px;
    border: 1px solid #e2e7ec;
    border-radius: 11px;
    background: #fff;
    color: #292e34;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand:hover { border-color: #f5aa79; background: #fff8f3; }
  html.as-mega-tree-v12 .as-mega-v12-brand__media {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand__media img { width: 100%; height: 100%; object-fit: contain; }
  html.as-mega-tree-v12 .as-mega-v12-brand__media--fallback {
    background: #ffede0;
    color: #bd4908;
    font-size: 16px;
    font-weight: 750;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand__name {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
  }
  html.as-mega-tree-v12 .as-mega-v12-empty {
    grid-column: 1 / -1;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px dashed #d9dee4;
    border-radius: 10px;
    color: #bd4908;
    font-weight: 650;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .as-mega-v12-workspace a:focus-visible,
  html.as-mega-tree-v12 .as-mega-v12-workspace button:focus-visible,
  html.as-mega-tree-v12 .full-menu__left a:focus-visible,
  html.as-mega-tree-v12 .full-menu__left button:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid #b74606 !important;
    outline-offset: -1px;
  }
}

@media (min-width: 992px) and (max-width: 1119px) {
  html.as-mega-tree-v12 .header-v4__full-menu.full-menu > .container {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }
  html.as-mega-tree-v12 .as-mega-v12-grid,
  html.as-mega-tree-v12 .as-mega-v12-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  html.as-mega-tree-v12 .header-v4__full-menu.full-menu > .container {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff;
  }
  html.as-mega-tree-v12 .full-menu__left,
  html.as-mega-tree-v12 .full-menu__right,
  html.as-mega-tree-v12 .full-menu__back { display: none !important; }
  html.as-mega-tree-v12 .as-mega-v12-workspace { display: none !important; }
  html.as-mega-tree-v12 .as-mega-v12-mobile {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__head {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    flex: 0 0 58px;
    min-height: 58px;
    padding: 7px 12px;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__back {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: #f4f6f8;
    color: #252a30;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__back span { font-size: 27px; line-height: 1; }
  html.as-mega-tree-v12 .as-mega-v12-mobile__title,
  html.as-mega-tree-v12 .as-mega-v12-mobile__current {
    grid-column: 2;
    min-width: 0;
    overflow: hidden;
    color: #17191c;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__head > :first-child.as-mega-v12-mobile__title {
    grid-column: 1 / 3;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__brands {
    grid-column: 3;
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid #f36c16;
    border-radius: 9px;
    background: #fff;
    color: #bd4908;
    font-size: 12px;
    font-weight: 700;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__list {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 2px;
    padding: 6px 10px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd2da transparent;
  }
  html.as-mega-tree-v12 .as-mega-v12-row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    min-width: 0;
    min-height: 64px;
    overflow: hidden;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-row--link-only { grid-template-columns: minmax(0, 1fr); }
  html.as-mega-tree-v12 .as-mega-v12-row__link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 64px;
    padding: 7px 4px;
    color: #252a30;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .as-mega-v12-row__media {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-row__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }
  html.as-mega-tree-v12 .as-mega-v12-row__name {
    min-width: 0;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.25;
  }
  html.as-mega-tree-v12 .as-mega-v12-row__count,
  html.as-mega-tree-v12 .as-mega-v12-brand-row__count {
    min-width: 24px;
    padding: 2px 5px;
    border-radius: 999px;
    background: #f2f4f6;
    color: #69727c;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
  }
  html.as-mega-tree-v12 .as-mega-v12-row__next {
    display: grid;
    width: 48px;
    min-width: 48px;
    min-height: 64px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #d9560c;
  }
  html.as-mega-tree-v12 .as-mega-v12-chevron { font-size: 26px; line-height: 1; }
  html.as-mega-tree-v12 .as-mega-v12-brand-row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 64px;
    padding: 7px 4px;
    border-bottom: 1px solid #edf0f3;
    color: #252a30;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand-row__media {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand-row__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand-row__name {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
  }
  html.as-mega-tree-v12 .as-mega-v12-brand__media--fallback {
    background: #ffede0;
    color: #bd4908;
    font-size: 16px;
    font-weight: 750;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile__empty {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #bd4908;
    font-weight: 650;
    text-decoration: none;
  }
  html.as-mega-tree-v12 .as-mega-v12-mobile a:focus-visible,
  html.as-mega-tree-v12 .as-mega-v12-mobile button:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid #b74606 !important;
    outline-offset: -1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.as-mega-tree-v12 .full-menu__left > div[data-category],
  html.as-mega-tree-v12 .as-mega-v12-card { transition: none; }
}
