/* ===================================
   ARTSTYLE MENU - ОПТИМИЗИРОВАННЫЙ
=================================== */

/* 1. КОНТЕЙНЕР И ОСНОВНОЕ МЕНЮ */
.artstyle_menu_container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  display: flex;
  align-items: stretch;
}

.artstyle_menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 320px;
  border-right: 1px solid #eee;
  background: #fff;
  z-index: 100;
}

/* 2. ПУНКТЫ ПЕРВОГО УРОВНЯ */
.artstyle_main-cat-item {
  position: static;
}

.artstyle_main-cat-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.artstyle_main-cat-item:hover > .artstyle_main-cat-link,
.artstyle_main-cat-item.is-active > .artstyle_main-cat-link {
  background: #f8f9fa;
  color: #e31e24;
}

.artstyle_cat-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  object-fit: contain;
}

.artstyle_cat-icon-right {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #ccc;
}

/* 3. ПОДМЕНЮ 2 УРОВНЯ (СЕТКА 4 КОЛОНКИ) */
.artstyle_submenu1 {
  display: none;
  position: absolute;
  left: 320px;
  top: 0;
  bottom: 0;
  width: calc(100% - 320px);
  min-height: 100%;
  background: #fff;
  z-index: 9999;
  padding: 25px;
  box-sizing: border-box;
  box-shadow: 15px 0 30px rgba(0,0,0,0.05);
  border-left: 1px solid #eee;
  border-radius: 0 12px 12px 12px;
}

.artstyle_main-cat-item:hover .artstyle_submenu1,
.artstyle_main-cat-item.is-active .artstyle_submenu1 {
  display: block;
}

.artstyle_submenu1_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  align-items: start;
}

/* 4. КАТЕГОРИИ 2 УРОВНЯ */
.artstyle_l2_item,
.artstyle_l2_with_children {
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.artstyle_l2_title {
  font-weight: 600;
  font-size: 16px;
  padding: 12px 16px;
  margin: -16px -16px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.artstyle_l2_title:hover {
  background: #f0f2f5;
}

/* 5. СПИСКИ 3 УРОВНЯ */
.artstyle_l3_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.artstyle_l3_list li {
  margin-bottom: 8px;
}

.artstyle_l3_list a,
.artstyle_l2_no_children_list a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #666;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.2s;
}

.artstyle_l3_list a:hover,
.artstyle_l2_no_children_list a:hover {
  color: #e31e24;
  background: #f0f2f5;
}

/* 6. КАТЕГОРИИ БЕЗ ПОДКАТЕГОРИЙ */
.artstyle_l2_no_children_list {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
  border-left: 3px solid #dee2e6;
}

.artstyle_l2_no_children_list a {
  font-weight: 500;
  color: #495057;
}

/* 7. СЕКЦИЯ "ДОПОЛНИТЕЛЬНО" */
.artstyle_menu_container .other-cats-block {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 20px;
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

.artstyle_menu_container .other-cats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.artstyle_menu_container .other-cats-list a {
  padding: 6px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  color: #444;
}

/* 8. КНОПКА "ЕЩЁ" */
.artstyle_more_btn {
  background: #f0f0f0;
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
  transition: all 0.2s;
}

.artstyle_more_btn:hover {
  background: #e0e0e0;
}

/* 9. ДРУГИЕ ПОДМЕНЮ (3+ УРОВНИ) */
.artstyle_submenu2,
.artstyle_submenu3 {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000;
  min-width: 250px;
  padding: 10px 0;
  border-radius: 0 8px 8px 0;
  border: 1px solid #eee;
}

.artstyle_sub-cat-item:hover .artstyle_submenu2,
.artstyle_sub-sub-cat-item:hover .artstyle_submenu3 {
  display: block;
}

/* 10. ДРАВЕР (МОБИЛЬНОЕ МЕНЮ) */
.artstyle_drawerBody {
  background-color: #fff;
  width: 250px;
  transition: transform 0.3s ease-in-out;
}

/* 11. ФУТЕР МЕНЮ */
.artstyle_static-footer {
  margin-top: 20px;
  text-align: center;
}

.artstyle_static-footer a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* 12. РЕСПОНСИВ */
@media (max-width: 1200px) {
  .artstyle_submenu1 {
    left: 100%;
    width: 600px;
  }
  
  .artstyle_submenu1_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .artstyle_menu {
    width: 100%;
  }
  
  .artstyle_submenu1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
  }
}
/* Заголовки 2 уровня с анимацией */
.artstyle_l2_title {
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  margin: -16px -16px 10px;
  background: #f8f9fa;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  color: #3f3e3e;
  position: relative;
  overflow: hidden;
}

.artstyle_l2_title:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #f0f2f5;
}

/* Список 3 уровня с ограничением 3 пункта */
.artstyle_l3_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.artstyle_l3_list li {
  margin-bottom: 8px;
}

.artstyle_l3_list.limited li:nth-child(n+4) {
  display: none;
}

.artstyle_l3_more {
  display: none;
  margin-top: 10px;
}

.artstyle_l3_list.limited .artstyle_l3_more {
  display: block;
}

.artstyle_l3_more_link {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
}

.artstyle_l3_more_link:hover {
  background: #e9ecef;
  color: #333;
}

/* БЛОК БРЕНДОВ (3 ряд) */
.artstyle_menu_container .brands-row {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  position: relative;
}

.artstyle_menu_container .brands-slider {
  display: flex;
  overflow: hidden;
  gap: 12px;
}

.artstyle_menu_container .brands-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
  font-size: 12px;
  color: #666;
}

.artstyle_menu_container .brands-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.artstyle_menu_container .brands-arrow-left { left: 12px; }
.artstyle_menu_container .brands-arrow-right { right: 12px; }

.artstyle_menu_container .brand-tile {
  flex: 0 0 120px;
  height: 80px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  color: #444;
  text-align: center;
  transition: all 0.2s;
  padding: 8px;
  box-sizing: border-box;
}

.artstyle_menu_container .brand-tile:hover {
  border-color: #e31e24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227,30,36,0.15);
  color: #e31e24;
}

/* Остальные стили без изменений */
.artstyle_menu_container .other-cats-block {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 20px;
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

/* Обновленные стили */
.artstyle_l2_title {
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  margin: -16px -16px 10px;
  background: #f8f9fa;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  color: #3f3e3e;
  position: relative;
}

.artstyle_l2_title:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #f0f2f5;
}

/* Лимит 3 пункта в списке третьего уровня и кнопка "Ещё" */
.artstyle_l3_list.limited li:nth-child(n+4) {
  display: none;
}

.artstyle_l3_more {
  display: none;
  margin-top: 10px;
}

.artstyle_l3_list.limited .artstyle_l3_more {
  display: block;
}

.artstyle_l3_more_link {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
}

.artstyle_l3_more_link:hover {
  background: #e9ecef;
  color: #333;
}

/* Плитки брендов */
.artstyle_menu_container .brands-row {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  position: relative;
}

.artstyle_menu_container .brands-slider {
  display: flex;
  overflow: hidden;
  gap: 12px;
}

.artstyle_menu_container .brands-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.artstyle_menu_container .brands-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.artstyle_menu_container .brands-arrow-left {
  left: 12px;
}

.artstyle_menu_container .brands-arrow-right {
  right: 12px;
}

.artstyle_menu_container .brand-tile {
  flex: 0 0 120px;
  height: 80px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  color: #444;
  text-align: center;
  transition: all 0.2s;
  padding: 8px;
  box-sizing: border-box;
}

.artstyle_menu_container .brand-tile:hover {
  border-color: #e31e24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.15);
  color: #e31e24;
}

.artstyle_l2_title {
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  margin: -16px -16px 10px;
  background: #f8f9fa;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  color: #3f3e3e;
  position: relative;
}

.artstyle_l2_title:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #f0f2f5;
}

.artstyle_l3_list.limited li:nth-child(n+4) {
  display: none;
}

.artstyle_l3_more {
  display: none;
  margin-top: 10px;
}

.artstyle_l3_list.limited .artstyle_l3_more {
  display: block;
}

.artstyle_l3_more_link {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
}

.artstyle_l3_more_link:hover {
  background: #e9ecef;
  color: #333;
}

.artstyle_menu_container .other-cats-block {
  grid-column: span 3;
  margin-top: 20px;
  padding: 20px;
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

.artstyle_menu_container .other-cats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.artstyle_menu_container .other-cats-list a {
  padding: 6px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  color: #444;
}

.artstyle_menu_container .brands-row {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  position: relative;
}

.artstyle_menu_container .brands-slider {
  display: flex;
  overflow: hidden;
  gap: 12px;
}

.artstyle_menu_container .brands-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.artstyle_menu_container .brands-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.artstyle_menu_container .brands-arrow-left {
  left: 12px;
}

.artstyle_menu_container .brands-arrow-right {
  right: 12px;
}

.artstyle_menu_container .brand-tile {
  flex: 0 0 120px;
  height: 80px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  color: #444;
  text-align: center;
  transition: all 0.2s;
  padding: 8px;
  box-sizing: border-box;
}

.artstyle_menu_container .brand-tile:hover {
  border-color: #e31e24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.15);
  color: #e31e24;
}

/* ===================================
   PATCH 2026-01-07 (ArtStyle Menu)
   1) Убрали background у заголовков 2 уровня
   2) "Дополнительно" — плитки по центру + стрелки прокрутки
=================================== */

/* 1) Заголовок 2 уровня без background */
.artstyle_l2_title{background:transparent;}
.artstyle_l2_title:hover{background:transparent;}

/* 2) "Дополнительно" как горизонтальные плитки со стрелками */
/* Убираем текст "Дополнительно" + фон контейнера — остаются только плитки */
.artstyle_menu_container .other-cats-title{display:block;text-align:center;font-weight:600;font-size:13px;line-height:1.2;letter-spacing:.02em;margin:0 0 12px;color:#111827;}
.artstyle_menu_container .other-cats-block{background:transparent;border:0;padding:0;}

.artstyle_menu_container .other-cats-slider{position:relative;}
.artstyle_menu_container .other-cats-viewport{position:relative;z-index:1;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:2px 52px 6px;}
.artstyle_menu_container .other-cats-viewport::-webkit-scrollbar{display:none;}
.artstyle_menu_container .other-cats-viewport{scrollbar-width:none;}
.artstyle_menu_container .other-cats-list{display:flex;flex-wrap:nowrap;gap:12px;list-style:none;padding:0;margin:0;align-items:stretch;justify-content:center;min-width:100%;}
.artstyle_menu_container .other-cats-list li{flex:0 0 auto;}
.artstyle_menu_container .other-cats-list a{min-width:190px;height:48px;padding:10px 16px;background:#fff;border:1px solid #e9ecef;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#3f3e3e;text-decoration:none;box-sizing:border-box;transition:all .2s ease;}
.artstyle_menu_container .other-cats-list a:hover{border-color:#e31e24;color:#e31e24;transform:translateY(-2px);box-shadow:0 6px 20px rgba(227,30,36,.12);}
.artstyle_menu_container .other-cats-arrow{position:absolute;z-index:10;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.95);border:1px solid #e9ecef;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:all .2s ease;color:#666;}
.artstyle_menu_container .other-cats-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.06);box-shadow:0 4px 12px rgba(0,0,0,.14);}
.artstyle_menu_container .other-cats-arrow:disabled{opacity:.35;cursor:default;transform:translateY(-50%);box-shadow:none;}
.artstyle_menu_container .other-cats-arrow.is-hidden{display:none;}
.artstyle_menu_container .other-cats-arrow-left{left:10px;}
.artstyle_menu_container .other-cats-arrow-right{right:10px;}
.artstyle_menu_container .other-cats-arrow-icon{width:18px;height:18px;}
@media (max-width:768px){.other-cats-list a{min-width:160px;height:46px}.other-cats-viewport{padding-left:48px;padding-right:48px}}

/* ===================================
   PATCH 2026-01-07 (ArtStyle Menu) #2
   1) "По бренду" — плитки со стрелками (как "Дополнительно")
   2) 3 уровень с 4 уровнем — плюсик и раскрытие вниз
   3) Заголовки 2 уровня одинаковой высоты
=================================== */

/* 3) Одинаковая высота заголовков 2 уровня */
.artstyle_l2_title{height:72px;box-sizing:border-box;display:flex;align-items:center;overflow:hidden;line-height:1.2;}

/* 1) Блок "По бренду" во всю ширину сетки */
.artstyle_menu_container .other-cats-block{grid-column:1 / -1;}
.artstyle_l2_item--brands{grid-column:1 / -1;margin-bottom:18px;}

/* 2) Плюсик у 3 уровня и список 4 уровня */
.artstyle_l3_row{display:flex;align-items:center;gap:8px;}
.artstyle_l3_row>a{flex:1;min-width:0;}

.artstyle_l4_toggle{flex:0 0 auto;width:34px;height:34px;border:1px solid #e9ecef;background:#fff;border-radius:8px;cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:center;transition:all .2s ease;color:#666;}
.artstyle_l4_toggle:hover{border-color:#e31e24;color:#e31e24;}
.artstyle_l4_toggle::before,.artstyle_l4_toggle::after{content:'';position:absolute;left:50%;top:50%;background:currentColor;transform:translate(-50%,-50%);border-radius:1px;}
.artstyle_l4_toggle::before{width:12px;height:2px;}
.artstyle_l4_toggle::after{width:2px;height:12px;}
.artstyle_l3_item.is-open .artstyle_l4_toggle::after{height:0;}

.artstyle_l4_list{list-style:none;margin:6px 0 0;padding:0 0 0 14px;border-left:2px solid #eef1f4;display:none;}
.artstyle_l3_item.is-open>.artstyle_l4_list{display:block;}
.artstyle_l4_list li{margin:6px 0 0;}
.artstyle_l4_list a{padding:8px 12px;font-size:12px;}

/* 2026-01-07 (доп.патч) — премиальный фрейм + внутренняя прокрутка */
.artstyle_menu_container{padding:0;background:rgba(255,255,255,.98);border:1px solid rgba(15,23,42,.08);box-shadow:0 26px 70px rgba(15,23,42,.10);border-radius:18px;overflow:hidden;max-height:calc(100vh - 220px);}
.artstyle_menu{background:transparent;box-shadow:none;border:0;border-radius:0;padding:18px 14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(15,23,42,.22) rgba(15,23,42,.06);}
.artstyle_menu::-webkit-scrollbar{width:8px;}
.artstyle_menu::-webkit-scrollbar-track{background:rgba(15,23,42,.06);border-radius:10px;}
.artstyle_menu::-webkit-scrollbar-thumb{background:rgba(15,23,42,.22);border-radius:10px;border:2px solid rgba(255,255,255,.98);}
.artstyle_submenu1{background:transparent;box-shadow:none;border:0;border-left:1px solid rgba(15,23,42,.06);border-radius:0;padding:18px 22px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--primary-color,#E30613) rgba(15,23,42,.06);}
.artstyle_submenu1::-webkit-scrollbar{width:10px;}
.artstyle_submenu1::-webkit-scrollbar-track{background:rgba(15,23,42,.06);border-radius:10px;}
.artstyle_submenu1::-webkit-scrollbar-thumb{background:var(--primary-color,#E30613);border-radius:10px;border:2px solid rgba(255,255,255,.98);}
.artstyle_submenu1::-webkit-scrollbar-thumb:hover{background:var(--primary-color-hover,#C70511);}

/* Наведение/актив у главных категорий — фирменный акцент */
.artstyle_main-cat-link{padding:12px 14px;border-radius:12px;font-weight:500;color:#0f172a;}
.artstyle_main-cat-item:hover>.artstyle_main-cat-link,.artstyle_main-cat-item.is-active>.artstyle_main-cat-link{background:rgba(227,6,19,.06);color:var(--primary-color,#E30613);}
.artstyle_cat-icon-right{color:rgba(15,23,42,.25);}

/* Заголовок "Выбрать по бренду" по центру */
.artstyle_l2_item--brands .artstyle_l2_title{justify-content:center;text-align:center;}

/* Плитки (доп.категории/бренды) — тоньше и премиальнее */
.artstyle_menu_container .other-cats-list a{background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.06);}
.artstyle_menu_container .other-cats-list a:hover{border-color:rgba(227,6,19,.45);box-shadow:0 14px 34px rgba(15,23,42,.10);}
.artstyle_menu_container .other-cats-arrow{background:rgba(255,255,255,.92);border:1px solid rgba(15,23,42,.12);box-shadow:0 10px 22px rgba(15,23,42,.08);}
.artstyle_menu_container .other-cats-arrow:hover{border-color:rgba(227,6,19,.45);}

/* ===================================
   PATCH 2026-01-07 (ArtStyle Menu) #3
   1) Иконка слева у категорий 1 уровня (фирменная красная)
   2) Красная стрелка справа появляется только при наведении/активе
   3) Плюсик (3 уровень с 4 уровнем) — стиль как на референсе
=================================== */

/* 1) Иконка слева у главных категорий */
.artstyle_main-cat-link{gap:12px;}
.artstyle_main-cat-link::before{content:'';width:18px;height:18px;flex:0 0 18px;display:inline-block;opacity:.95;margin-left:2px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h5'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}

/* 2) Стрелка справа: показываем только при hover/active */
.artstyle_cat-icon-right{margin-left:auto;opacity:0;transform:translateX(-6px);transition:opacity .18s ease,transform .18s ease,color .18s ease;}
.artstyle_main-cat-item:hover>.artstyle_main-cat-link .artstyle_cat-icon-right,
.artstyle_main-cat-item.is-active>.artstyle_main-cat-link .artstyle_cat-icon-right{opacity:1;transform:translateX(0);color:var(--primary-color,#E30613);}

/* 3) Плюсик у 3 уровня (есть 4 уровень) — маленький квадрат с плюсом */
.artstyle_l4_toggle{width:18px;height:18px;border-radius:2px;border:1px solid #d1d5db;background:#fff;color:#9ca3af;box-shadow:none;}
.artstyle_l4_toggle:hover{border-color:#9ca3af;color:#6b7280;}
.artstyle_l4_toggle::before{width:10px;height:2px;border-radius:0;}
.artstyle_l4_toggle::after{width:2px;height:10px;border-radius:0;}

/* ===================================
   PATCH 2026-01-07 (ArtStyle Menu) #4
   Заголовки 2 уровня: превью-картинка + фирменный текст + стрелка (как референс)
=================================== */

.artstyle_l2_title{display:flex;align-items:center;gap:14px;padding:14px 18px;margin:0 0 12px;background:transparent;border-radius:14px;border:1px solid transparent;text-decoration:none;color:var(--primary-color,#E30613);font-weight:500;font-size:18px;line-height:1.15;height:72px;box-sizing:border-box;}
.artstyle_l2_text{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.artstyle_l2_thumb{width:46px;height:46px;flex:0 0 46px;border-radius:10px;overflow:hidden;background:rgba(15,23,42,.06);box-shadow:0 10px 22px rgba(15,23,42,.10);}
.artstyle_l2_thumb img{width:100%;height:100%;display:block;object-fit:cover;}
.artstyle_l2_thumb--ph{background:linear-gradient(135deg,rgba(227,6,19,.10),rgba(15,23,42,.06));}
.artstyle_l2_arrow{width:20px;height:20px;flex:0 0 auto;color:rgba(15,23,42,.35);}
.artstyle_l2_title:hover{border-color:rgba(227,6,19,.28);background:rgba(227,6,19,.03);}
.artstyle_l2_title:hover .artstyle_l2_arrow{color:var(--primary-color,#E30613);}
.artstyle_l2_title:hover .artstyle_l2_text{opacity:.95;}

/* Центровой заголовок ("Выбрать по бренду") — без превью/стрелки */
.artstyle_l2_title--center{justify-content:center;text-align:center;}
.artstyle_l2_title--center .artstyle_l2_thumb,
.artstyle_l2_title--center .artstyle_l2_arrow{display:none;}
.artstyle_l2_title--center .artstyle_l2_text{-webkit-line-clamp:2;text-decoration:none;}

/* ===================================
   PATCH 2026-01-07 (ArtStyle Menu) #5
   1) 1 уровень: вместо псевдо-иконки выводим картинку категории + стрелку (как в референсе)
   2) 2 уровень: возвращаем прежний стиль заголовков (без картинок/стрелок)
=================================== */

/* 1) 1 уровень: картинка категории */
.artstyle_main-cat-link::before{content:none;}
.artstyle_main-cat-link{display:flex;align-items:center;gap:12px;font-size:15px;}
.artstyle_main-cat-thumb{width:26px;height:26px;flex:0 0 26px;border-radius:7px;overflow:hidden;background:rgba(15,23,42,.06);border:1px solid rgba(15,23,42,.10);box-sizing:border-box;}
.artstyle_main-cat-thumb img{width:100%;height:100%;display:block;object-fit:cover;}
.artstyle_main-cat-thumb--ph{background:linear-gradient(135deg,rgba(227,6,19,.10),rgba(15,23,42,.06));border-color:rgba(15,23,42,.08);}
.artstyle_main-cat-name{flex:1;min-width:0;}

/* 2) 2 уровень: назад к классическому заголовку (но сохраняем одинаковую высоту) */
.artstyle_l2_title{display:flex;align-items:center;gap:0;padding:12px 16px;margin:-16px -16px 10px;background:transparent;border-radius:0;border:0;box-shadow:none;color:#0f172a;text-decoration:none;font-weight:600;font-size:16px;line-height:1.2;height:72px;box-sizing:border-box;}
.artstyle_l2_title:hover{background:transparent;border-color:transparent;color:#0f172a;}
.artstyle_l2_text{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-decoration:none;}
.artstyle_l2_thumb,.artstyle_l2_arrow{display:none;}
.artstyle_l2_title--center .artstyle_l2_text{-webkit-line-clamp:2;}


/* ===================================
   PATCH 2026-01-07 (ArtStyle Menu) #8
   1 уровень: превью-картинка категории вместо иконки слева
=================================== */
.artstyle_menu_container .artstyle_main-cat-link::before{content:none;display:none;}
.artstyle_menu_container .artstyle_main-cat-thumb{width:34px;height:34px;flex:0 0 34px;border-radius:10px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:rgba(15,23,42,.04);border:1px solid rgba(15,23,42,.10);box-sizing:border-box;}
.artstyle_menu_container .artstyle_main-cat-thumb .l-image-box{width:100%;height:100%;}
.artstyle_menu_container .artstyle_main-cat-img{width:100%;height:100%;display:block;object-fit:cover;}
.artstyle_menu_container .artstyle_main-cat-img_dummy{width:24px;height:24px;display:block;}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #9
   1) 1 уровень: только картинка (без "иконки" при загрузке)
   2) Шрифт как просил: 13px + letter-spacing 2.5px
   3) Левый блок чуть шире, чтобы 2 слова влезали
=================================== */

/* переменная ширины только для этого меню, чтобы не влиять на тему */
.artstyle_menu_container{--artstyle_menu_w:360px;}

/* ширина левого списка + корректировка оффсета подменю */
.artstyle_menu_container .artstyle_menu{width:var(--artstyle_menu_w);}
.artstyle_menu_container .artstyle_submenu1{left:var(--artstyle_menu_w);width:calc(100% - var(--artstyle_menu_w));}

/* типографика 1 уровня */
.artstyle_menu_container .artstyle_main-cat-link{font-size:13px;}
.artstyle_menu_container .artstyle_main-cat-name{font-size:13px;letter-spacing:2.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* Если картинка не загрузилась и мы переключили на плейсхолдер (ph) — не показываем "битую" иконку */
.artstyle_menu_container .artstyle_main-cat-thumb--ph{background:rgba(15,23,42,.04);}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #12
   1) Левое меню чуть шире
   2) Картинка без "иконки" при загрузке: показываем img только после onload
   3) Типографика 1 уровня: 13px + letter-spacing 2.5px
=================================== */

/* чуть шире, чтобы 2 слова чаще помещались */
.artstyle_menu_container{--artstyle_menu_w:400px;}

/* img скрыт до загрузки, чтобы не было эффекта "сначала иконка, потом картинка" */
.artstyle_menu_container .artstyle_main-cat-thumb{position:relative;}
.artstyle_menu_container .artstyle_main-cat-img{opacity:0;transition:opacity .18s ease;}
.artstyle_menu_container .artstyle_main-cat-thumb.is-loaded .artstyle_main-cat-img{opacity:1;}
.artstyle_menu_container .artstyle_main-cat-thumb--ph .artstyle_main-cat-img{opacity:0;}

/* типографика 1 уровня */
.artstyle_menu_container .artstyle_main-cat-link{font-size:13px;}
.artstyle_menu_container .artstyle_main-cat-name{font-size:13px;letter-spacing:2.5px;white-space:normal;line-height:1.15;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #14
   1) Ширина левого блока по ТЗ: 355px (через переменную)
   2) Само окно меню чуть шире, чтобы 3 колонки в сетке стабильно влезали
   3) На десктопе фиксируем 3 колонки (без «падения» в 2)
=================================== */

.artstyle_menu_container{--artstyle_menu_w:355px;max-width:1260px;}
.artstyle_menu_container .artstyle_menu{width:var(--artstyle_menu_w);}
.artstyle_menu_container .artstyle_submenu1{left:var(--artstyle_menu_w);width:calc(100% - var(--artstyle_menu_w));padding:18px 20px;}

@media (min-width: 1024px){
  .artstyle_menu_container .artstyle_submenu1_grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #15
   1) Типографика заголовков 2 уровня + меньше отступ до списка
   2) Типографика 3 уровня (ряд) как в ТЗ
   3) Плюсик слева, фирменный красный + линия раскрытия красная с «затуханием»
   4) Кнопка «Показать ещё» в фирменном красном стиле
=================================== */

/* 1) L2 заголовок */
.artstyle_menu_container .artstyle_l2_title{color:#424748;font-weight:600;font-size:13px;margin:-16px -16px 0;padding:4px 16px;height:54px;background:transparent;}
.artstyle_menu_container .artstyle_l2_title:hover{background:transparent;}

/* 2) L3 типографика */
.artstyle_menu_container .artstyle_l3_row{position:relative;display:flex;align-items:center;min-height:24px;padding-left:22px;}
.artstyle_menu_container .artstyle_l3_row .artstyle_l3_link{display:block;flex:1;min-width:0;font-size:12px;line-height:10px;letter-spacing:1.3px;color:#424748;padding:8px 10px;border-radius:8px;text-decoration:none;transition:background .15s ease,color .15s ease;}
.artstyle_menu_container .artstyle_l3_row .artstyle_l3_link:hover{background:rgba(227,6,19,.06);color:var(--primary-color,#E30613);}

/* 3) Плюсик слева (как в рефе: квадрат + тонкий плюс, но фирменным красным) */
.artstyle_menu_container .artstyle_l4_toggle{position:absolute;left:0;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:2px;border:1px solid currentColor;background:#fff;color:var(--primary-color,#E30613);cursor:pointer;transition:opacity .2s ease,border-color .2s ease,color .2s ease;}
.artstyle_menu_container .artstyle_l4_toggle::before,.artstyle_menu_container .artstyle_l4_toggle::after{content:'';position:absolute;left:50%;top:50%;background:currentColor;transform:translate(-50%,-50%);}
.artstyle_menu_container .artstyle_l4_toggle::before{width:8px;height:1px;}
.artstyle_menu_container .artstyle_l4_toggle::after{width:1px;height:8px;transition:height .18s ease;}
.artstyle_menu_container .artstyle_l3_item.is-open .artstyle_l4_toggle::after{height:0;}
.artstyle_menu_container .artstyle_l4_toggle:hover{opacity:.92;}

/* Линия раскрытия 4 уровня: красная, при открытии «затухает» */
.artstyle_menu_container .artstyle_l4_list{border-left:2px solid rgba(227,6,19,.55);transition:border-color .22s ease;}
.artstyle_menu_container .artstyle_l3_item.is-open>.artstyle_l4_list{border-left-color:rgba(227,6,19,.18);}

/* 4) Кнопка «Показать ещё» (без background в обычном и hover) */
.artstyle_menu_container .artstyle_l3_more_link{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;padding:6px 0;margin-top:8px;border:0;border-radius:0;background:transparent;color:var(--primary-color,#E30613);font-weight:600;font-size:13px;text-decoration:none;transition:opacity .18s ease,color .18s ease,text-decoration-color .18s ease;}
.artstyle_menu_container .artstyle_l3_more_icon{width:14px;height:14px;flex:0 0 14px;}
.artstyle_menu_container .artstyle_l3_more_link:hover{background:transparent;opacity:.85;color:var(--primary-color,#E30613);text-decoration:underline;}

/* Совместимость: если где-то ещё используется artstyle_more_btn */
.artstyle_menu_container .artstyle_more_btn{background:transparent;border:0;color:var(--primary-color,#E30613);border-radius:0;}
.artstyle_menu_container .artstyle_more_btn:hover{background:transparent;opacity:.85;color:var(--primary-color,#E30613);}

/* =========================
   18) Ровные ряды L2 + размещение брендов во 2 ряду
========================= */
.artstyle_menu_container .artstyle_submenu1_grid{align-items:stretch;}
@media (min-width: 1200px){
  .artstyle_menu_container .artstyle_submenu1_grid{grid-template-columns:repeat(3,minmax(250px,1fr));}
}
.artstyle_menu_container .artstyle_submenu1_grid>.artstyle_l2_item{height:100%;display:flex;flex-direction:column;}
.artstyle_menu_container .artstyle_submenu1_grid>.artstyle_l2_item>.artstyle_l3_list{flex:1 1 auto;}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #19
   1) «Показать ещё»: выравнивание слева (старт там же, где начинается плюсик)
   2) Плитки «Дополнительные категории/бренды»: без box-shadow + фирменный красный
   3) Вместо 3 серых линий под ячейками — один аккуратный разделитель под 1 рядом
   4) Стрелки слайдера: красный фон + белая стрелка
=================================== */

/* 0) Базовый бокс для L2-ячейки (чтобы отрицательные отступы заголовков работали предсказуемо) */
.artstyle_menu_container .artstyle_submenu1_grid>.artstyle_l2_item{padding:16px;box-sizing:border-box;border-bottom:0;margin:0;}
.artstyle_menu_container .artstyle_submenu1_grid>.artstyle_l2_item.other-cats-block{padding:18px 20px;}

/* 1) «Показать ещё» — слева */
.artstyle_menu_container .artstyle_l3_more_link{display:inline-flex;justify-content:flex-start;align-items:center;padding-left:0;margin-left:0;text-align:left;}

/* 2) Плитки «Дополнительные категории/бренды» */
.artstyle_menu_container .other-cats-list a{
  padding:5px 11px;
  background:#fff;
  border:1px solid #efe3e4;
  border-radius:3px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:400;
  color:#cd1818;
  text-decoration:none;
  box-sizing:border-box;
  box-shadow:rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition:transform .2s ease;
}
.artstyle_menu_container .other-cats-list a:hover{
  background:#fff;
  border-color:#efe3e4;
  color:#cd1818;
  box-shadow:rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transform:translateY(-2px);
}

/* 3) Разделитель под первым рядом */
.artstyle_menu_container .artstyle_row_divider{grid-column:1 / -1;position:relative;height:18px;margin:0;}
.artstyle_menu_container .artstyle_row_divider::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:100%;
  height:1px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(227,6,19,0), rgba(227,6,19,1), rgba(227,6,19,0));
  transform:translateY(-50%) scaleX(0);
  transform-origin:center;
  opacity:.92;
  box-shadow:0 0 10px rgba(227,6,19,.22);
  transition:transform .28s ease;
}
.artstyle_main-cat-item:hover .artstyle_row_divider::before,
.artstyle_main-cat-item.is-active .artstyle_row_divider::before{transform:translateY(-50%) scaleX(1);}

/* 4) Стрелки в слайдерах — красные + белая иконка */
.artstyle_menu_container .other-cats-arrow{background:#e30613;border:1px solid #e30613;color:#fff;box-shadow:none;}
.artstyle_menu_container .other-cats-arrow:hover{opacity:.92;}


/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #22
   1) Убрали декоративные разделительные линии между рядами (row_divider)
   2) "Дополнительные категории" — без заголовка (на всякий случай скрываем title)
=================================== */
.artstyle_menu_container .artstyle_row_divider{display:none;}
.artstyle_menu_container .artstyle_row_divider::before{display:none;}
.artstyle_menu_container .other-cats-title{display:none;}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #23
   1) Минимальные вертикальные отступы между рядами (бренды/доп.категории)
   2) Стрелки обоих слайдеров на одном уровне по X (одинаковые внутренние отступы)
   3) artstyle_menu_container: border-radius 3px
=================================== */

/* 3) Чуть более строгий радиус, как просил */
.artstyle_menu_container{border-radius:3px;}

/* 1) Уменьшаем расстояние между рядами сетки (первый ряд → бренды → доп.категории) */
.artstyle_menu_container .artstyle_submenu1_grid{row-gap:12px;}

/* «Показать ещё» уходит в самый низ ячейки — визуально убираем большой пустой отступ сверху следующего ряда */
.artstyle_menu_container .artstyle_l2_item{display:flex;flex-direction:column;}
.artstyle_menu_container .artstyle_l2_item .artstyle_l3_more_link{margin-top:auto;}

/* 2) Одинаковые внутренние отступы у обоих слайдер-блоков → стрелки стоят на одной вертикали */
.artstyle_menu_container .artstyle_submenu1_grid>.other-cats-block{padding:0 16px;margin:0;box-sizing:border-box;}

/* Убираем лишний отступ между «брендом» и следующим блоком плиток */
.artstyle_menu_container .artstyle_l2_item--brands{margin-bottom:0;}

/* Внутри слайдеров минимизируем вертикальные отступы */
.artstyle_menu_container .other-cats-viewport{padding-top:0;padding-bottom:0;}

/* Подравниваем размер/позиционирование стрелок (на всякий случай) */
.artstyle_menu_container .other-cats-arrow{left:auto;right:auto;}
.artstyle_menu_container .other-cats-arrow-left{left:10px;}
.artstyle_menu_container .other-cats-arrow-right{right:10px;}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #24
   1) «По бренду»: плитки только с картинкой (без текста)
   2) «Доп.категории»: плитки с превью слева + текст справа (вариант 5)
=================================== */

.artstyle_menu_container .other-cats-thumb{width:28px;height:28px;border-radius:6px;overflow:hidden;flex:0 0 28px;background:#f6f7f8;display:flex;align-items:center;justify-content:center;}
.artstyle_menu_container .other-cats-thumb.is-ph{background:#f0f2f5;}
.artstyle_menu_container .other-cats-img{display:block;width:100%;height:100%;object-fit:cover;}

/* По бренду: компактные плитки только с логотипом/картинкой (чуть меньше ~-20%) */
.artstyle_menu_container .other-cats-block--brands .other-cats-list{gap:8px;}
.artstyle_menu_container .other-cats-block--brands .other-cats-list a{min-width:46px;width:46px;flex:0 0 46px;height:38px;padding:0;justify-content:center;}
.artstyle_menu_container .other-cats-block--brands .other-cats-thumb{width:28px;height:28px;border-radius:7px;}
.artstyle_menu_container .other-cats-block--brands .other-cats-img{object-fit:contain;}

/* Дополнительные категории: превью слева + текст */
.artstyle_menu_container .other-cats-link--media{justify-content:flex-start;gap:10px;min-width:210px;}
.artstyle_menu_container .other-cats-name{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #25
   Tiles like "categories-compact": image left + text right (premium cards)
   Applies to: other-cats-block--others (Доп.категории)
=================================== */

.artstyle_menu_container .other-cats-block--others .other-cats-list{
  gap: 8px;
}

.artstyle_menu_container .other-cats-block--others .other-cats-link--media{
  min-width: 224px;
  height: 45px;
  padding: 6px 12px 6px 8px;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #efe3e4;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.artstyle_menu_container .other-cats-block--others .other-cats-link--media:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15,23,42,.09);
  border-color: #f1d7d9;
}

.artstyle_menu_container .other-cats-block--others .other-cats-thumb{
  width: 58px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: #f6f7f8;
  flex: 0 0 auto;
}

.artstyle_menu_container .other-cats-block--others .other-cats-thumb.is-ph{
  background: #f0f2f5;
}

.artstyle_menu_container .other-cats-block--others .other-cats-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artstyle_menu_container .other-cats-block--others .other-cats-name{
  font-size: 13px;
  font-weight: 500;
  color: #424748;
  letter-spacing: 1.1px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #26
   "По бренду" + "Доп.категории": плитки в разметке 1:1 как categories-compact
   (c-category-compact + l-categories-compact__item)
   ВАЖНО: нейтрализуем старые правила .other-cats-list a, чтобы не ломали новые <a>.
=================================== */

/* Сброс старых правил для ссылок внутри новых плиток */
.artstyle_menu_container .other-cats-list a.c-category-compact__link,
.artstyle_menu_container .other-cats-list a.c-category-compact__link_image{
  min-width:auto;
  width:auto;
  height:auto;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  display:inline;
  align-items:initial;
  justify-content:initial;
  font-size:inherit;
  font-weight:inherit;
  color:inherit;
  text-decoration:none;
  box-sizing:border-box;
  transition:none;
  transform:none;
}
.artstyle_menu_container .other-cats-list a.c-category-compact__link_image{display:block;}
.artstyle_menu_container .other-cats-list a.c-category-compact__link:hover,
.artstyle_menu_container .other-cats-list a.c-category-compact__link_image:hover{transform:none;}

/* Лэйаут плиток внутри слайдеров */
.artstyle_menu_container .other-cats-list li{flex:0 0 auto;}
.artstyle_menu_container .other-cats-block .l-categories-compact__item{padding:0;}

/* Уменьшаем расстояние между плитками (минимум разумный) */
.artstyle_menu_container .other-cats-block .other-cats-list{gap:8px;}

/* Визуал плитки (утончённо/премиально, в фирменной гамме) */
.artstyle_menu_container .other-cats-block .c-category-compact{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:45px;
  padding:6px 12px 6px 8px;
  background:#fff;
  border:1px solid #efe3e4;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.artstyle_menu_container .other-cats-block .c-category-compact:hover{
  transform:translateY(-2px);
  border-color:rgba(227,6,19,.18);
  box-shadow:0 14px 32px rgba(15,23,42,.10);
}

/* Превью (как в примере) */
.artstyle_menu_container .other-cats-block .c-category-compact__image-box{flex:0 0 auto;}
.artstyle_menu_container .other-cats-block .c-category-compact__link_image{
  width:58px;
  height:32px;
  border-radius:8px;
  overflow:hidden;
  background:#f6f7f8;
}
.artstyle_menu_container .other-cats-block .c-category-compact__link_image.is-ph{background:#f0f2f5;}
.artstyle_menu_container .other-cats-block .c-category-compact__image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Текст */
.artstyle_menu_container .other-cats-block .c-category-compact__name{
  font-size:12px;
  line-height:1.2;
  color:#424748;
  letter-spacing:1.3px;
}

/* Чуть разные минимальные ширины, чтобы бренды/доп.категории выглядели ровно (уменьшено ~-20%) */
.artstyle_menu_container .other-cats-block--brands .l-categories-compact__item{min-width:180px;}
.artstyle_menu_container .other-cats-block--others .l-categories-compact__item{min-width:230px;}

@media (max-width: 768px){
  .artstyle_menu_container .other-cats-block--brands .l-categories-compact__item{min-width:170px;}
  .artstyle_menu_container .other-cats-block--others .l-categories-compact__item{min-width:210px;}
}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #28
   1) Плитки: ещё ~-10% (компактнее)
   2) Отступы между плитками: margin у .l-categories-compact__item (5px/11px)
   3) Тень мягче
   4) Стрелки: по центру плитки
=================================== */

/* 2) Отступы между плитками — просил именно margin у item */
.artstyle_menu_container .other-cats-block .other-cats-list{gap:0;}
.artstyle_menu_container .other-cats-block .l-categories-compact__item{margin-right:5px;margin-bottom:11px;}
.artstyle_menu_container .other-cats-block .other-cats-list li:last-child .l-categories-compact__item{margin-right:0;}

/* 1+3) Компактнее + мягкая тень */
.artstyle_menu_container{--as_other_tile_h:45px;}
.artstyle_menu_container .other-cats-block .c-category-compact{
  height:var(--as_other_tile_h);
  min-height:var(--as_other_tile_h);
  gap:10px;
  padding:6px 12px 6px 8px;
  border-radius:12px;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
}
.artstyle_menu_container .other-cats-block .c-category-compact:hover{
  box-shadow:0 12px 24px rgba(15,23,42,.07);
}

.artstyle_menu_container .other-cats-block .c-category-compact__link_image{
  width:58px;
  height:32px;
  border-radius:8px;
}

/* Чуть компактнее текст */
.artstyle_menu_container .other-cats-block .c-category-compact__name{font-size:12px;letter-spacing:1.3px;}

/* Минимальные ширины тоже поджимаем ~-10% */
.artstyle_menu_container .other-cats-block--brands .l-categories-compact__item{min-width:180px;}
.artstyle_menu_container .other-cats-block--others .l-categories-compact__item{min-width:230px;}
@media (max-width: 768px){
  .artstyle_menu_container .other-cats-block--brands .l-categories-compact__item{min-width:170px;}
  .artstyle_menu_container .other-cats-block--others .l-categories-compact__item{min-width:210px;}
}

/* 4) Стрелки ровно по центру плитки (а не по центру «плитка+отступ снизу») */
.artstyle_menu_container .other-cats-arrow{top:calc(var(--as_other_tile_h)/2);transform:translateY(-50%);} 

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #30
   1) Плитки в слайдерах: высота 65px
   2) Убираем тень у плиток полностью
   3) Стрелки остаются по центру плитки (через переменную высоты)
=================================== */

.artstyle_menu_container{--as_other_tile_h:65px;}

.artstyle_menu_container .other-cats-block .c-category-compact{
  height:var(--as_other_tile_h);
  min-height:var(--as_other_tile_h);
  box-shadow:none;
}

.artstyle_menu_container .other-cats-block .c-category-compact:hover{
  box-shadow:none;
}

/* ===================================
   PATCH 2026-01-08 (ArtStyle Menu) #35
   1) Разделительная линия между вертикальным меню и контентом (без псевдо-оверлеев)
   2) Стрелка в вертикальном меню: всегда видна (серая), при hover/active — фирменная красная
   3) Fix: при ограничении списка 3 уровня не скрываем вложенные категории 4 уровня
=================================== */

/* 1) Разделитель */
.artstyle_menu_container .artstyle_menu{
  border-right:1px solid rgba(15,23,42,.08);
}

/* 2) Стрелка: всегда видна серая, без сдвигов */
.artstyle_menu_container .artstyle_cat-icon-right{
  opacity:1;
  transform:none;
  color:rgba(15,23,42,.22);
}
.artstyle_menu_container .artstyle_main-cat-item:hover>.artstyle_main-cat-link .artstyle_cat-icon-right,
.artstyle_menu_container .artstyle_main-cat-item.is-active>.artstyle_main-cat-link .artstyle_cat-icon-right{
  color:var(--primary-color,#E30613);
}

/* 3) Лимит 3-го уровня: прячем только элементы 3 уровня, но не трогаем 4 уровень */
.artstyle_menu_container .artstyle_l3_list.limited > li:nth-child(n+4){
  display:none;
}
.artstyle_menu_container .artstyle_l3_list.limited .artstyle_l4_list > li{
  display:list-item;
}
/* ===============================
   ARTSTYLE MENU: FOOTER LINKS
=============================== */
.artstyle_submenu_footer{position:sticky;bottom:0;z-index:5;display:flex;justify-content:center;gap:14px;flex-wrap:wrap;padding:14px 18px;background:rgba(255,255,255,.98);border-top:1px solid rgba(15,23,42,.06);}
.artstyle_submenu_footer_link{min-width:140px;padding:12px 22px;border-radius:3px;background:var(--primary-color,#E30613);color:#fff;font-weight:600;font-size:13px;letter-spacing:1px;line-height:1;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:transform .18s ease,filter .18s ease;}
.artstyle_submenu_footer_link:hover{transform:translateY(-1px);filter:brightness(.96);}
.artstyle_submenu_footer_link:active{transform:translateY(0);filter:brightness(.92);}

/* ArtStyle submenu footer buttons (icons list) */
.artstyle_submenu_footer{padding:12px 14px;}
.artstyle_submenu_footer_list{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;list-style:none;margin:0;padding:0;}
.artstyle_submenu_footer_list li{margin:0;}
.artstyle_submenu_footer_list a{display:flex;align-items:center;gap:10px;font-size:13px;border-radius:5px;border:1px solid #ffe3e5;padding:8px;font-weight:100;text-decoration:none;margin-top:5px;color:#333;background-image:linear-gradient(to bottom,#fff,#fbf9f9);box-shadow:rgba(50,50,93,.25) 0 2px 5px -1px,rgba(0,0,0,.3) 0 1px 3px -1px;transition:box-shadow .18s ease;}
.artstyle_submenu_footer_list a:hover{box-shadow:none;}
.artstyle_submenu_footer_list a:active{box-shadow:none;}
.artstyle_submenu_footer_list a span{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;background:transparent;flex:0 0 auto;}
.artstyle_submenu_footer_list a span img{display:block;max-width:18px;max-height:18px;height:auto;width:auto;}
/* more room for sticky footer with 2 rows */
.artstyle_submenu1_grid{padding-bottom:128px;}


/* reserve space so content doesn't hide under sticky footer */
.artstyle_submenu1_grid{padding-bottom:74px;}

/* ===============================
   ARTSTYLE MENU: QUICKLINKS (outside #artstyle-nav)
   Требования:
   - прилегают снизу к блоку меню (эффект "растут из него")
   - без изменения размеров/текста на hover
   - на hover/active слегка "проваливаются" вниз как 3D
=============================== */
.artstyle_nav_quicklinks{max-width:1260px;margin:-1px auto 0;padding:0 10px 14px;box-sizing:border-box;position:relative;z-index:2;}
.artstyle_nav_quicklinks_row{display:flex;justify-content:space-between;align-items:stretch;gap:12px;}
.artstyle_nav_quicklinks_group{display:flex;align-items:stretch;gap:12px;}
/* Левый блок начинается там, где начинается правая часть (после вертикального меню) */
.artstyle_nav_quicklinks_group--left{margin-left:var(--artstyle_menu_w,355px);}

.artstyle_nav_quicklink{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;width:130px;height:35px;padding:0 16px;border-radius:0 0 11px 11px;background:var(--primary-color,#E30613);color:#fff;text-decoration:none;font-size:13px;letter-spacing:2px;transform:translateY(0);box-shadow:rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;}
.artstyle_nav_quicklink:before{content:"";width:18px;height:18px;flex:0 0 18px;background:center/contain no-repeat;}
.artstyle_nav_quicklink--contacts:before{background-image:url(/images/icons/contakt_icon_menu.png);}
.artstyle_nav_quicklink--delivery:before{background-image:url(/images/icons/dostavoch_icon_menu.png);}
.artstyle_nav_quicklink--about:before{background-image:url(/images/icons/o_nas_icon_menu.png);}
.artstyle_nav_quicklink--payment:before{background-image:url(/images/icons/oplatata_icon_menu.png);}

.artstyle_nav_quicklink:hover{filter:brightness(.98);transform:translateY(1px);box-shadow:rgba(50, 50, 93, 0.22) 0px 10px 22px -6px, rgba(0, 0, 0, 0.25) 0px 6px 12px -10px;}
.artstyle_nav_quicklink:active{transform:translateY(2px);box-shadow:none;}
.artstyle_nav_quicklink:focus-visible{outline:2px solid rgba(227,6,19,.35);outline-offset:2px;}

@media (max-width:1200px){
  .artstyle_nav_quicklinks{padding:12px 10px 14px;}
  .artstyle_nav_quicklinks_group--left{margin-left:var(--artstyle_menu_w,355px);}
}
@media (max-width:980px){
  .artstyle_nav_quicklinks_row{flex-wrap:wrap;}
  .artstyle_nav_quicklinks_group--left{margin-left:0;}
  .artstyle_nav_quicklink{width:auto;min-width:calc(50% - 6px);flex:1;}
}

/* footer внутри подменю больше не используем — убираем запас снизу */
.artstyle_menu_container .artstyle_submenu1_grid{padding-bottom:0;}

/* ===============================
   ARTSTYLE MENU: CENTER PLACEHOLDER (no active category)
   =============================== */
.artstyle_menu_placeholder{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;padding:22px;box-sizing:border-box;transition:opacity .18s ease;will-change:opacity;}
.artstyle_menu_placeholder-inner{text-align:center;max-width:520px;}
.artstyle_menu_placeholder-title{color:#424748;font-size:23px;font-weight:500;letter-spacing:2px;line-height:1.15;text-transform:lowercase;}
.artstyle_menu_placeholder-actions{display:flex;justify-content:center;gap:14px;margin-top:18px;}
.artstyle_menu_placeholder-action{width:46px;height:46px;border-radius:999px;border:1px solid #e9ecef;background:#fff;display:flex;align-items:center;justify-content:center;color:#424748;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,color .18s ease,border-color .18s ease;box-shadow:0 8px 22px rgba(15,23,42,.06);}
.artstyle_menu_placeholder-action svg{width:20px;height:20px;display:block;}
.artstyle_menu_placeholder-action:hover{transform:translateY(-1px);border-color:#ffe3e5;color:var(--primary-color,#E30613);box-shadow:0 12px 26px rgba(15,23,42,.08);}
.artstyle_menu_placeholder-action:active{transform:translateY(0);box-shadow:0 8px 22px rgba(15,23,42,.06);}

/* hide placeholder when any category is active */
.artstyle_menu_container.is-has-active .artstyle_menu_placeholder{opacity:0;pointer-events:none;}

/* ===============================
   PATCH 2026-01-08 (ArtStyle Menu) #16
   Оверлей открытия меню (бургер): только область меню, без белого фона на всю страницу
   + центрирование заголовка и вынос быстрых кнопок СНАРУЖИ блока меню
=============================== */
.artstyle_nav_overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding:76px 14px 24px;box-sizing:border-box;background:rgba(51, 51, 53, 0.84);backdrop-filter:saturate(120%) blur(2px);-webkit-backdrop-filter:saturate(120%) blur(2px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility 0s linear .18s;}
.artstyle_nav_overlay.is-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .18s ease;}
.artstyle_nav_panel{width:100%;max-width:1260px;display:flex;flex-direction:column;align-items:stretch;transform:translateY(-6px);transition:transform .18s ease;will-change:transform;}
.artstyle_nav_overlay.is-open .artstyle_nav_panel{transform:translateY(0);}

.artstyle_nav_panel_inner{--artstyle_menu_w:355px;background:rgba(255,255,255,.98);border:1px solid rgba(15,23,42,.08);box-shadow:0 26px 70px rgba(15,23,42,.10);border-radius:0 0 5px 5px;overflow:hidden;}
.artstyle_nav_header{position:relative;display:flex;align-items:center;justify-content:center;padding:18px 56px;border-bottom:1px solid rgba(15,23,42,.06);}
.artstyle_nav_title{font-size:15px;font-weight:600;letter-spacing:2px;color:#0f172a;text-align:center;text-transform:uppercase;}
.artstyle_nav_close{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:10px;border:1px solid rgba(15,23,42,.10);background:rgba(255,255,255,.92);color:#0f172a;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease;}
.artstyle_nav_close:hover{opacity:.9;box-shadow:0 10px 18px rgba(2,6,23,.10);}
.artstyle_nav_close:active{transform:translateY(-50%) scale(.98);box-shadow:none;}
.artstyle_nav_body{padding:0;}

/* общую обводку/тень держим на panel_inner, само меню делаем "чистым" */
.artstyle_nav_panel_inner .artstyle_menu_container{max-width:none;background:transparent;border:0;box-shadow:none;border-radius:0;}

/* быстрые ссылки — СНАРУЖИ panel_inner, но визуально "пришиты" к низу */
.artstyle_nav_panel > .artstyle_nav_quicklinks{max-width:none;margin:-1px 0 0;}

html.artstyle_nav_is-open{overflow:hidden;}

@media (max-width:980px){
  .artstyle_nav_overlay{padding:64px 10px 18px;}
  .artstyle_nav_header{padding:16px 50px;}
}

/* ===============================
   ARTSTYLE MENU: UX POLISH
   - Sync state for normal/floating toggles is in menu.js
   - Scroll lock when overlay is open
   - Micro-animations (floating header + overlay)
=============================== */
html.artstyle_scroll_lock{overflow:hidden;overscroll-behavior:none;}
html.artstyle_scroll_lock body{overscroll-behavior:none;}

/* Floating header: make transitions smoother (theme controls show/hide) */
.c-header-floating.artstyle-floating{transition:background-color .18s ease,box-shadow .18s ease,transform .22s ease,opacity .22s ease;will-change:transform,opacity;}

@media (prefers-reduced-motion:reduce){
  .artstyle_nav_overlay,
  .artstyle_nav_panel,
  .artstyle_nav_quicklink,
  .artstyle_menu_placeholder,
  #lidecorStyleDevHeader .lidecorStyle_topbar,
  .c-header-floating.artstyle-floating{transition:none;}
}

/* ===================================
   FIX 2026-01-14 (ArtStyle Menu)
   Горизонтальные списки плиток (бренды/доп.категории):
   при переполнении (overflow) центрирование делает первые элементы "недоступными".
   JS добавляет .is-overflow на .other-cats-block.
=================================== */
.artstyle_menu_container .other-cats-block.is-overflow .other-cats-list{
  justify-content:flex-start;
  min-width:max-content;
}
