/* Compact sales navigation inspired by the Fishka interaction pattern. */
header { background:#fff; box-shadow:0 1px 8px rgba(24,28,34,.08); }
.telefon-quick-categories { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; padding:10px 0 14px; }
.telefon-quick-categories a { min-width:0; height:116px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; color:#2f3337; background:#f6f7f8; border:1px solid #eceef0; border-radius:6px; text-decoration:none; transition:border-color .18s,box-shadow .18s,transform .18s; }
.telefon-quick-categories a:hover { color:#dc4242; border-color:#efb1b1; box-shadow:0 5px 14px rgba(32,35,39,.09); transform:translateY(-1px); }
.telefon-quick-categories img { width:76px; height:72px; object-fit:contain; mix-blend-mode:multiply; }
.telefon-quick-categories span { width:100%; padding:0 6px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:center; font-size:14px; font-weight:600; }
.telefon-mobile-actions { align-items:center; gap:5px; }
.telefon-mobile-action { width:38px; height:38px; display:flex; align-items:center; justify-content:center; color:#34383d; border-radius:5px; font-size:20px; }
.telefon-mobile-action--wa { color:#fff; background:#20a66a; }
@media (min-width:992px) {
  header>.container:first-of-type { padding-top:10px; padding-bottom:8px; }
  .header-block { min-height:62px; gap:12px; }
  .header-block__item-logo { flex:0 0 210px; max-width:210px; }
  .header-block__item-search { flex:1 1 420px; max-width:none; }
  .header-block__item-telephone { flex:0 0 auto; }
  header>.container:nth-of-type(2)>.row { display:flex; align-items:center; gap:12px; margin:0; }
  header .main-menu { flex:0 0 170px; padding:0; }
  header .menu-wrapper { width:100%; padding:0; }
  header .menu__header { min-height:44px; border-radius:5px; }
  header #search2 { display:none!important; }
  .telefon-quick-categories { flex:1 1 auto; grid-template-columns:repeat(6,minmax(100px,1fr)); padding-top:8px; }
}
@media (max-width:991px) {
  header>.container:first-of-type { padding-top:8px; padding-bottom:7px; }
  .header-block { display:grid; grid-template-columns:minmax(116px,1fr) auto auto auto; gap:6px; align-items:center; }
  .header-block__item { width:auto!important; padding:0!important; margin:0!important; }
  .header-block__item-logo { min-width:0; }
  .header-logo__img { max-width:135px; max-height:42px; object-fit:contain; }
  .header-block__item-telephone { display:none!important; }
  .telefon-mobile-actions { display:flex!important; }
  .header-block__item-cart { grid-column:4; }
  header>.container:nth-of-type(2) { padding:0 15px 10px; }
  header>.container:nth-of-type(2)>.row { display:grid; grid-template-columns:120px minmax(0,1fr); gap:8px; margin:0; }
  header .main-menu { width:auto; padding:0; }
  header .menu-open { height:44px; display:flex!important; align-items:center; justify-content:center; gap:8px; border-radius:5px; background:#dc4242; color:#fff; }
  header .menu-open__title { display:inline!important; font-size:14px; font-weight:600; }
  header #search2 { display:block!important; width:auto; padding:0; }
  header #search2 .header-search { margin:0; }
  header #search2 input { height:44px; border-radius:5px; background:#f1f2f3; }
  .telefon-quick-categories { grid-column:1/-1; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:4px 0 0; }
  .telefon-quick-categories a { height:106px; }
  .telefon-quick-categories img { width:66px; height:62px; }
  .telefon-quick-categories span { font-size:12px; }
  .fly-menu, .flymenu, .fly-block { display:none!important; }
  body { padding-bottom:0!important; }
}
@media (max-width:360px) {
  .header-block { grid-template-columns:minmax(104px,1fr) auto auto auto; gap:3px; }
  .header-logo__img { max-width:116px; }
  .telefon-mobile-action { width:34px; height:36px; }
}

@media (max-width:991px) {
  header>.container:nth-of-type(2)>.row>.main-menu { grid-column:1!important; grid-row:1!important; width:120px!important; }
  header>.container:nth-of-type(2)>.row>#search2 { grid-column:2!important; grid-row:1!important; width:100%!important; }
  header #search2 .header-search { width:100%!important; }
}

@media (min-width:992px) {
  header .menu-wrapper { position:relative; }
  header .menu1 .menu__collapse { display:none!important; position:absolute!important; top:44px!important; left:0!important; width:280px!important; max-height:70vh!important; overflow-y:auto!important; overflow-x:hidden!important; padding:6px 0!important; background:#fff!important; border:1px solid #e5e7e9!important; border-radius:0 0 6px 6px!important; box-shadow:0 14px 30px rgba(25,29,34,.18)!important; z-index:1100!important; }
  header .menu-wrapper.show .menu__collapse, header .menu-wrapper:hover .menu__collapse, header .menu-wrapper:focus-within .menu__collapse { display:block!important; }
  header .menu1 .menu__level-1-li { position:static!important; width:100%!important; min-height:40px!important; }
  header .menu1 .menu__level-1-a { display:flex!important; align-items:center!important; width:100%!important; min-height:40px!important; padding:8px 34px 8px 14px!important; color:#30343a!important; background:#fff!important; line-height:1.25!important; }
  header .menu1 .menu__level-1-li:hover>.menu__level-1-a { color:#dc4242!important; background:#f7f7f8!important; }
  header .menu1 .menu__level-2 { position:fixed!important; left:calc((100vw - min(1280px, 100vw - 30px))/2 + 280px)!important; top:122px!important; width:min(720px, calc(100vw - 360px))!important; max-height:70vh!important; overflow:auto!important; padding:18px!important; background:#fff!important; border:1px solid #e5e7e9!important; border-radius:0 6px 6px 0!important; box-shadow:12px 14px 30px rgba(25,29,34,.14)!important; z-index:1101!important; }
  header .menu1 .menu__level-2.open { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:8px 18px!important; }
  header .menu1 .menu__level-2-ul { width:auto!important; padding:0!important; }
  header .menu1 .menu__level-2-a { display:block!important; padding:8px 4px!important; color:#30343a!important; font-weight:600!important; line-height:1.3!important; }
  header .menu1 .menu__level-3 { padding:0 4px 8px!important; }
  header .menu1 .menu__level-3-a { display:block!important; padding:5px 0!important; color:#666!important; line-height:1.3!important; }
}

/* Owner-requested compact header and WhatsApp phone action. */
.fly-block__contacts { display:none!important; }
.telefon-header-whatsapp { display:inline-flex!important; align-items:center; gap:8px; color:#30343a!important; text-decoration:none!important; }
.telefon-header-whatsapp .fa-whatsapp { color:#20a66a; font-size:22px; }
.telefon-header-whatsapp:hover span { color:#dc4242; }
@media (min-width:992px) {
  header>.container:first-of-type { padding-top:4px!important; padding-bottom:4px!important; }
  .header-block { min-height:50px!important; }
  .header-logo__img { max-height:48px; width:auto; }
  .header-block__item-account, .header-block__item-wishlist, .header-block__item-compare, .header-block__item-cart { transform:scale(.9); transform-origin:center; }
}

/* Refined category showcase: one clear sales-navigation band. */
header>.container:nth-of-type(2) { background:#f4f5f6; box-shadow:0 0 0 100vmax #f4f5f6; clip-path:inset(0 -100vmax); }
.telefon-quick-categories { gap:12px; padding:12px 0 16px; }
.telefon-quick-categories a { height:126px; background:#fff; border-color:#e7e9ec; box-shadow:0 1px 2px rgba(30,34,39,.04); }
.telefon-quick-categories a:hover { border-color:#e2a0a0; box-shadow:0 8px 20px rgba(30,34,39,.11); }
.telefon-quick-categories img { width:84px; height:78px; mix-blend-mode:normal; }
.telefon-quick-categories span { font-size:14px; color:#30343a; }
@media (max-width:991px) {
  .telefon-quick-categories { gap:9px; padding:6px 0 2px; }
  .telefon-quick-categories a { height:112px; }
  .telefon-quick-categories img { width:72px; height:67px; }
  .telefon-quick-categories span { font-size:12px; }
}


/* Compact impulse-buy carousel on the homepage. */
.home-curated-compact .product-thumb__description,
.home-curated-compact .product-thumb__model,
.home-curated-compact .product-thumb__quick-order,
.home-curated-compact .qty-switch { display:none!important; }
.home-curated-compact .product-thumb__name { display:-webkit-box; min-height:38px; max-height:38px; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:13px; line-height:19px; }
.home-curated-compact .product-thumb__price { margin-top:7px; font-size:16px; }
.home-curated-compact .product-thumb__add-to-cart { width:100%; min-width:0; padding:8px 4px; font-size:12px; }
.home-curated-compact .product-thumb__cart { margin-top:8px; }
@media (min-width:700px) {
  .home-curated-compact .product-thumb { padding:0 7px 12px; }
  .home-curated-compact .product-thumb__image { height:145px!important; min-height:145px!important; margin-bottom:8px; }
  .home-curated-compact .product-thumb__image img { width:100%!important; height:140px!important; max-height:140px!important; object-fit:contain; }
  .home-curated-compact .product-thumb__caption { padding-left:0; padding-right:0; }
  .home-curated-compact .product-thumb__quantity-indicator { font-size:11px; }
  .home-curated-compact .product-thumb__wishlist,
  .home-curated-compact .product-thumb__compare { transform:scale(.82); transform-origin:center; }
}
@media (max-width:699px) {
  .home-curated-compact .product-thumb__description { display:none!important; }
}


/* Fishka-proportioned homepage product cards. */
.home-curated-compact .owl-stage { display:flex; }
.home-curated-compact .owl-item { display:flex; }
.home-curated-compact .product-thumb {
  width:calc(100% - 12px); height:360px; margin:0 6px; padding:0;
  display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border:1px solid #e7eaed; border-radius:8px;
}
.home-curated-compact .product-thumb__image {
  flex:0 0 178px; width:100%; height:178px!important; min-height:178px!important;
  margin:0!important; padding:10px 10px 0;
}
.home-curated-compact .product-thumb__image img {
  width:100%!important; height:158px!important; max-height:158px!important; object-fit:contain;
}
.home-curated-compact .product-thumb__caption {
  flex:1 1 auto; min-height:0; padding:0 14px 14px!important;
  display:flex; flex-direction:column;
}
.home-curated-compact .product-thumb__name {
  display:-webkit-box; min-height:57px; max-height:57px; margin:0 0 8px;
  overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  color:#252b31; font-size:13px; font-weight:500; line-height:19px;
}
.home-curated-compact .product-thumb__quantity-indicator { min-height:16px; margin:0 0 8px; color:#19835b; font-size:11px; line-height:16px; }
.home-curated-compact .product-thumb__price { min-height:31px; margin:auto 0 10px!important; color:#202528; font-size:17px; font-weight:700; }
.home-curated-compact .product-thumb__cart { display:flex; gap:7px; width:100%; margin:0!important; }
.home-curated-compact .product-thumb__add-to-cart,
.home-curated-compact .product-thumb__quick-order {
  display:flex!important; flex:1 1 50%; align-items:center; justify-content:center;
  width:auto!important; height:36px; min-width:0; margin:0!important; padding:0 6px!important;
  border-radius:6px; font-size:12px; line-height:1; white-space:nowrap;
}
.home-curated-compact .product-thumb__quick-order { color:#dc4242; background:#fff; border:1px solid #dc4242; }
.home-curated-compact .product-thumb__wishlist,
.home-curated-compact .product-thumb__compare { top:10px; right:9px; }
@media (max-width:699px) {
  .home-curated-compact .product-thumb { height:342px; }
  .home-curated-compact .product-thumb__image { flex-basis:160px; height:160px!important; min-height:160px!important; }
  .home-curated-compact .product-thumb__image img { height:142px!important; max-height:142px!important; }
  .home-curated-compact .product-thumb__caption { padding:0 9px 10px!important; }
  .home-curated-compact .product-thumb__quick-order { display:none!important; }
}


/* Normalize compact card internals to the Fishka layout. */
.home-curated-compact .product-thumb__option,
.home-curated-compact .product-thumb__rating { display:none!important; }
.home-curated-compact .product-thumb__name { padding:0!important; }
.home-curated-compact .qty-indicator { min-height:16px; margin:0 0 8px!important; color:#19835b; font-size:11px; line-height:16px; }
.home-curated-compact .product-thumb__cart { flex-direction:row!important; flex-wrap:nowrap!important; height:36px!important; min-height:36px!important; }
.home-curated-compact .product-thumb__add-to-cart,
.home-curated-compact .product-thumb__quick-order { flex:1 1 0!important; width:0!important; }

/* Override UniShop cart button width rules inside the homepage card. */
body .home-curated-compact .product-thumb__cart { display:flex!important; flex-flow:row nowrap!important; gap:7px!important; }
body .home-curated-compact .product-thumb__cart > .product-thumb__add-to-cart,
body .home-curated-compact .product-thumb__cart > .product-thumb__quick-order {
  flex:0 1 calc(50% - 4px)!important; width:calc(50% - 4px)!important; max-width:calc(50% - 4px)!important;
}


/* Slightly thinner header bands, owner adjustment. */
@media (min-width:992px) {
  header>.container:first-of-type { padding-top:2px!important; padding-bottom:2px!important; }
  .header-block { min-height:44px!important; }
  .header-logo__img { max-height:42px!important; }
  header .menu__header { min-height:40px!important; }
  .telefon-quick-categories { gap:10px!important; padding:8px 0 10px!important; }
  .telefon-quick-categories a { height:104px!important; }
  .telefon-quick-categories img { width:70px!important; height:64px!important; }
  .telefon-quick-categories span { font-size:13px!important; }
}
@media (max-width:991px) {
  .telefon-quick-categories a { height:102px!important; }
  .telefon-quick-categories img { width:65px!important; height:59px!important; }
}


/* Header AI assistant entry replacing wishlist and compare shortcuts. */
.header-block__item-ai { position:relative; flex:0 0 58px; }
.telefon-ai-entry { position:relative; display:flex; justify-content:center; }
.telefon-ai-entry__button { width:48px; height:48px; padding:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:#cf5550; background:transparent; border:0; cursor:pointer; }
.telefon-ai-entry__icon { width:29px; height:29px; display:flex; align-items:center; justify-content:center; color:#fff; background:#cf5550; border-radius:50%; font-size:14px; box-shadow:0 3px 9px rgba(207,85,80,.24); }
.telefon-ai-entry__label { color:#555d63; font-size:10px; line-height:1; }
.telefon-ai-entry__button:hover .telefon-ai-entry__icon, .telefon-ai-entry__button:focus .telefon-ai-entry__icon { background:#19835b; }
.telefon-ai-promo { position:absolute; top:56px; right:-12px; z-index:1200; width:310px; padding:16px 18px; visibility:hidden; opacity:0; transform:translateY(-5px); color:#30363b; background:#fff; border:1px solid #e3e6e9; border-radius:8px; box-shadow:0 12px 30px rgba(28,34,40,.18); transition:opacity .18s,transform .18s,visibility .18s; }
.telefon-ai-entry.is-visible .telefon-ai-promo { visibility:visible; opacity:1; transform:translateY(0); }
.telefon-ai-promo:before { content:''; position:absolute; top:-7px; right:29px; width:13px; height:13px; background:#fff; border-left:1px solid #e3e6e9; border-top:1px solid #e3e6e9; transform:rotate(45deg); }
.telefon-ai-promo strong { display:block; padding-right:20px; margin-bottom:7px; color:#252b31; font-size:15px; }
.telefon-ai-promo span { display:block; color:#646b71; font-size:12px; line-height:1.5; }
.telefon-ai-promo__close { position:absolute; top:7px; right:7px; width:28px; height:28px; padding:0; color:#8a9095; background:transparent; border:0; }
.telefon-ai-promo__cta { min-height:36px; margin-top:12px; padding:7px 14px; color:#fff; background:#cf5550; border:0; border-radius:6px; font-size:12px; font-weight:700; }
.telefon-ai-promo__cta:hover { background:#b94844; }
.telefon-mobile-action--ai { color:#fff!important; background:#cf5550; border:0; }
@media (max-width:991px) {
  .telefon-mobile-actions { gap:4px; }
  .telefon-mobile-action { width:36px; }
  .telefon-mobile-action--ai { display:flex; }
}
@media (max-width:380px) {
  .telefon-mobile-actions .telefon-mobile-action[aria-label="Личный кабинет"] { display:none; }
}

.telefon-ai-spark { display:block; color:inherit; font-size:19px; font-weight:700; line-height:1; transform:translateY(-1px); }


/* Symmetric right-side header actions. */
@media (min-width:992px) {
  .header-block__item-account,
  .header-block__item-ai,
  .header-block__item-cart {
    order:3!important; flex:0 0 64px!important; width:64px!important; height:48px!important;
    margin:0!important; padding:0!important; transform:none!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
  }
  .header-account, .header-cart, .telefon-ai-entry { width:64px!important; height:48px!important; margin:0!important; display:flex!important; align-items:flex-start!important; justify-content:center!important; }
  .header-account, .header-cart__btn, .telefon-ai-entry__button { position:relative; width:64px!important; height:48px!important; padding:2px 0 0!important; text-align:center; }
  .header-account__icon, .header-cart__icon { font-size:31px!important; line-height:31px!important; }
  .telefon-ai-entry__icon { width:31px!important; height:31px!important; }
  .telefon-ai-entry__label { font-size:10px!important; line-height:12px!important; }
  .header-block__item-account + .header-block__item-ai { margin-left:4px!important; }
  .header-block__item-ai + .header-block__item-cart { margin-left:4px!important; }
  .telefon-ai-promo { top:55px; right:-64px; }
  .telefon-ai-promo:before { right:94px; }
}

@media (min-width:992px) {
  .header-account:after, .header-cart:after {
    top:auto!important; bottom:0!important; left:50%!important; right:auto!important;
    width:auto!important; height:12px!important; transform:translateX(-50%)!important;
    font-size:10px!important; line-height:12px!important; white-space:nowrap!important;
  }
}


/* Keep the desktop catalog fully visible above the hero and product grid. */
@media (min-width:992px) {
  header { position:relative!important; z-index:3000!important; overflow:visible!important; }
  header>.container:nth-of-type(2),
  header>.container:nth-of-type(2)>.row,
  header .main-menu,
  header .menu-wrapper,
  header .menu1 { overflow:visible!important; }
  header .main-menu, header .menu-wrapper, header .menu1 { z-index:3100!important; }
  header .menu1 .menu__collapse {
    top:122px!important; z-index:3110!important;
    max-height:calc(100vh - 250px)!important;
    background:#fff!important; opacity:1!important;
  }
  header .menu1 .menu__level-2 {
    top:232px!important; z-index:3111!important;
    max-height:calc(100vh - 250px)!important;
    background:#fff!important; opacity:1!important;
  }
  main { position:relative; z-index:1; }
}


/* Full-width category background without clipping the dropdown menu. */
header>.container:nth-of-type(2) {
  position:relative!important; isolation:isolate;
  background:transparent!important; box-shadow:none!important; clip-path:none!important;
}
header>.container:nth-of-type(2):before {
  content:''; position:absolute; z-index:-1; top:0; bottom:0; left:50%; right:50%;
  margin-left:-50vw; margin-right:-50vw; background:#f4f5f6; pointer-events:none;
}


/* Solid full-height mobile catalog panel. */
@media (max-width:991px) {
  header .menu-wrapper.show, header .menu-wrapper.open { z-index:5000!important; }
  header .menu1 .menu__collapse {
    position:fixed!important; top:0!important; left:0!important; right:auto!important;
    width:min(92vw,390px)!important; height:100vh!important; height:100dvh!important;
    max-height:none!important; margin:0!important; padding:0 0 24px!important;
    overflow-x:hidden!important; overflow-y:auto!important;
    background:#fff!important; opacity:1!important; z-index:5000!important;
    box-shadow:12px 0 30px rgba(25,30,36,.22)!important;
  }
  header .menu1 .menu__collapse:after {
    content:''; display:block; min-height:80px; background:#fff;
  }
  header .menu1 .menu__level-1-li { background:#fff!important; }
}


/* telefon mobile catalog final stacking fix */
@media (max-width: 991px) {
  header {
    position: relative !important;
    z-index: 6000 !important;
    overflow: visible !important;
    isolation: isolate;
  }

  header .header-block,
  header .main-menu,
  header .menu-wrapper,
  header .menu1 {
    position: relative;
    z-index: 6000 !important;
    overflow: visible !important;
  }

  header .menu1 .menu__collapse {
    z-index: 6100 !important;
    background: #fff !important;
    overscroll-behavior: contain;
  }

  header .menu1 .menu__collapse::before {
    content: "Каталог";
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 52px;
    margin: 0 0 4px;
    padding: 0 56px 0 18px;
    color: #fff;
    background: #d9534f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
  }

  main {
    position: relative;
    z-index: 1;
  }
}


/* telefon mobile catalog viewport alignment */
@media (max-width: 991px) {
  header .menu-wrapper {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }

  header .menu1 {
    left: 0 !important;
    transform: none !important;
  }

  header .menu1 .menu__collapse {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }
}


/* telefon mobile catalog native header */
@media (max-width: 991px) {
  header .menu1 .menu__header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 6200 !important;
    width: min(92vw, 390px) !important;
    min-height: 52px !important;
    padding: 0 14px 0 18px !important;
    color: #fff !important;
    background: #d9534f !important;
  }

  header .menu1 .menu__collapse {
    top: 52px !important;
    height: calc(100dvh - 52px) !important;
  }

  header .menu1 .menu__collapse::before {
    content: none !important;
    display: none !important;
  }

  header .menu1 .menu-close {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }
}


/* telefon mobile catalog open-close state */
@media (max-width: 991px) {
  header .menu-wrapper,
  header .menu-wrapper.new {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    right: auto !important;
    z-index: 7000 !important;
    display: block !important;
    width: 100% !important;
    height: 100dvh !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(25, 28, 31, .42) !important;
    transition: left .18s ease !important;
  }

  header .menu-wrapper.show,
  header .menu-wrapper.new.show {
    left: 0 !important;
  }

  header .menu1,
  header .menu1.new {
    position: relative !important;
    z-index: 7010 !important;
    width: min(92vw, 390px) !important;
    height: 100dvh !important;
    background: #fff !important;
  }

  header .menu1 .menu__header {
    position: absolute !important;
    z-index: 7030 !important;
  }

  header .menu1 .menu__collapse {
    position: absolute !important;
    z-index: 7020 !important;
  }
}


/* telefon mobile catalog clean overlay */
@media (max-width: 991px) {
  body.scroll-disabled header .header-block {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.scroll-disabled header .menu-wrapper {
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* Compact connected desktop mega menu. */
@media (min-width: 992px) {
  header .menu1 > .menu__header {
    display: none !important;
  }

  header .main-menu,
  header .menu-wrapper,
  header .menu1 {
    position: relative !important;
  }

  header .menu1 .menu__collapse {
    top: 0 !important;
    left: 0 !important;
    width: 270px !important;
    max-height: min(680px, calc(100vh - 150px)) !important;
    border-radius: 6px 0 0 6px !important;
    box-shadow: 0 14px 30px rgba(25,29,34,.16) !important;
  }

  header .menu1 .menu__level-2 {
    position: absolute !important;
    top: 0 !important;
    left: 270px !important;
    width: min(700px, calc(100vw - 340px)) !important;
    min-height: 100% !important;
    max-height: min(680px, calc(100vh - 150px)) !important;
    padding: 14px 18px !important;
    border-left: 0 !important;
    border-radius: 0 6px 6px 0 !important;
    box-shadow: 12px 14px 30px rgba(25,29,34,.13) !important;
  }

  header .menu1 .menu__level-2.open {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2px 16px !important;
  }

  header .menu1 .menu__level-2-a {
    padding: 7px 4px !important;
    font-size: 13px !important;
  }
}


/* Keep desktop subcategories beside the scrollable category list. */
@media (min-width: 992px) {
  header .main-menu,
  header .menu-wrapper,
  header .menu1 {
    z-index: 9000 !important;
  }

  header .menu1 .menu__level-2 {
    position: fixed !important;
    top: 110px !important;
    left: max(285px, calc((100vw - 1440px) / 2 + 270px)) !important;
    z-index: 9010 !important;
    min-height: 0 !important;
  }

  .telefon-quick-categories {
    position: relative;
    z-index: 1;
  }
}


/* Remove the theme containing-block offset from the desktop mega menu. */
@media (min-width: 992px) {
  header .menu1 { transform: none !important; }
}
