/* Eastern Sun — каталог в общей 3D-системе главной страницы */
.catalog-page{
  min-height:100vh;
  overflow-x:hidden;
}
.catalog-page>.container-wide{
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:0 32px;
}
.catalog-page .main-nav a.active{
  color:var(--fg);
  background:var(--surface);
  box-shadow:var(--sh-btn);
}
.catalog-page .breadcrumb{
  padding:24px 2px 6px;
  color:var(--subtle);
  font-size:12px;
}
.catalog-page .breadcrumb a{color:var(--muted)}
.catalog-page .catalog-intro{
  grid-template-columns:minmax(270px,.55fr) minmax(720px,1.45fr);
  gap:28px;
  padding:18px 0 28px;
}
.catalog-page .catalog-intro h1{
  margin:0 0 10px;
  color:var(--fg);
  font:800 clamp(34px,3.1vw,48px)/1.05 "Manrope",sans-serif;
  letter-spacing:-.04em;
}
.catalog-page .catalog-intro .sub{
  max-width:380px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.catalog-page .benefits{
  min-height:138px;
  gap:12px;
  padding:22px 280px 22px 24px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  background:var(--surface);
  box-shadow:var(--sh-glass);
}
.catalog-page .benefits::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,var(--surface) 0%,transparent 72%);
}
.catalog-page .benefits .truck{
  right:-18px;
  width:330px;
  opacity:.72;
  filter:saturate(.78) contrast(.92);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 100%);
}
.catalog-page .benefit{
  z-index:2;
  gap:11px;
}
.catalog-page .benefit .icon{
  width:38px;
  height:38px;
  padding:9px;
  border-radius:12px;
  color:var(--navy);
  background:var(--surface-2);
  box-shadow:var(--sh-btn);
}
.catalog-page .benefit b{
  color:var(--fg);
  font-size:12px;
  font-weight:700;
}
.catalog-page .benefit span{
  margin-top:2px;
  color:var(--muted);
  font-size:10px;
}
.catalog-page .catalog-layout{
  grid-template-columns:286px minmax(0,1fr);
  gap:22px;
  padding-bottom:54px;
}
.catalog-page .sidebar-card,
.catalog-page .request-box,
.catalog-page .search-panel,
.catalog-page .product-card{
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--sh-glass);
}
.catalog-page .sidebar-card{
  position:sticky;
  top:94px;
  padding:20px 14px;
  border-radius:28px;
  max-height:calc(100vh - 118px);
  overflow:auto;
  scrollbar-width:thin;
  background:linear-gradient(145deg,#ffffff,#f6f7f9);
  box-shadow:18px 22px 46px rgba(35,45,65,.13),-12px -12px 30px rgba(255,255,255,.95),inset 1px 1px 0 #fff;
}
.catalog-page .sidebar-card h3{
  margin:2px 12px 14px;
  color:var(--fg);
  font:800 15px/1.2 "Manrope",sans-serif;
}
.catalog-page .cat-item{
  width:100%;
  min-height:50px;
  gap:12px;
  padding:0 14px 0 16px;
  border:0;
  border-radius:16px;
  background:transparent;
  color:var(--muted);
  font:500 13.5px/1.3 "Manrope",sans-serif;
  text-align:left;
  cursor:pointer;
  transition:color .18s var(--ease),background-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease);
}
.catalog-page .cat-item:hover{
  color:var(--fg);
  background:linear-gradient(145deg,#ffffff,#f6f7f9);
  transform:none;
}
.catalog-page .cat-item.active{
  color:var(--navy);
  font-weight:600;
  background:linear-gradient(145deg,#ffffff,#f3f5f7);
  box-shadow:var(--sh-btn);
  transform:translateY(-1px);
}
.catalog-page .cat-item .icon{width:16px;height:16px;color:currentColor;opacity:.9}
.catalog-page .cat-item .cat-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.catalog-page .cat-item .count{
  padding:3px 7px;
  border-radius:999px;
  color:var(--subtle);
  background:var(--surface-2);
  font-size:9px;
}
.catalog-page .request-box{
  padding:20px;
  border-radius:var(--r-xl);
  text-align:left;
}
.catalog-page .request-box .rq-ic{
  width:44px;
  height:44px;
  border:0;
  border-radius:14px;
  color:var(--navy);
  background:var(--surface);
  box-shadow:var(--sh-btn);
}
.catalog-page .request-box b{color:var(--fg);font-size:13px}
.catalog-page .request-box p{color:var(--muted);font-size:11px}
.catalog-page .request-box .btn{height:40px;border-radius:13px}
.catalog-page .search-panel{
  position:relative;
  z-index:3;
  gap:8px;
  padding:10px;
  border-radius:22px;
  background:linear-gradient(145deg,#ffffff,#f6f7f9);
}
.catalog-page .search-field,
.catalog-page .select select{
  border:1px solid var(--border);
  background:var(--surface-2);
  color:var(--fg);
  box-shadow:inset 2px 2px 6px rgba(20,27,45,.06),inset -2px -2px 6px rgba(255,255,255,.68);
}
.catalog-page .search-field{
  height:42px;
  padding:0 6px 0 15px;
  border-radius:14px;
}
.catalog-page .search-field input{
  color:var(--fg);
  font:500 12px/1 "Manrope",sans-serif;
}
.catalog-page .search-field input::placeholder{color:var(--subtle)}
.catalog-page .search-field .btn{height:34px;border-radius:10px}
.catalog-page .select{min-width:140px}
.catalog-page .select select{
  height:42px;
  border-radius:14px;
  padding-left:14px;
  font:600 11.5px/1 "Manrope",sans-serif;
}
.catalog-page .select select option{background:var(--surface);color:var(--fg)}
.catalog-page .filter-btn{height:42px;border-radius:14px}
.catalog-page .catalog-toolbar{
  padding:10px 2px 10px;
}
.catalog-page .found{color:var(--muted);font-size:12px}
.catalog-page .found b{color:var(--fg)}
.catalog-page .toolbar-right .select select{height:38px;border-radius:13px}
.catalog-page .view-btn,
.catalog-page .page-btn{
  border:0;
  background:var(--surface);
  color:var(--muted);
  box-shadow:var(--sh-btn);
  cursor:pointer;
  transition:box-shadow .16s var(--ease),transform .16s var(--ease),color .16s var(--ease);
}
.catalog-page .view-btn{
  width:38px;
  height:38px;
  border-radius:12px;
}
.catalog-page .view-btn:hover,
.catalog-page .page-btn:hover{transform:translateY(-1px);box-shadow:var(--sh-btn-hover)}
.catalog-page .view-btn.active,
.catalog-page .page-btn.active{
  color:#fff;
  background:var(--navy);
  box-shadow:var(--sh-btn-navy);
}
.catalog-page .product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.catalog-page .product-card{
  min-width:0;
  padding:12px;
  overflow:hidden;
  border-radius:22px;
  background:linear-gradient(145deg,#ffffff 0%,#fbfcfd 55%,#f5f6f8 100%);
  transition:transform .2s var(--ease),box-shadow .2s var(--ease);
}
.catalog-page .product-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--sh-glass-hover);
}
.catalog-page .p-photo{
  height:auto;
  aspect-ratio:4/3;
  padding:12px;
  overflow:hidden;
  border-radius:14px;
  background:var(--surface-2);
  box-shadow:inset 2px 2px 7px rgba(20,27,45,.06),inset -2px -2px 7px rgba(255,255,255,.64);
}
.catalog-page .p-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .35s var(--ease);
}
.catalog-page .product-card:hover .p-photo img{transform:scale(1.035)}
.catalog-page .p-noimg{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:var(--subtle);
}
.catalog-page .p-noimg .icon{width:34px;height:34px}
.catalog-page .fav{
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:var(--surface);
  color:var(--muted);
  box-shadow:var(--sh-btn);
}
.catalog-page .fav.active{color:#d56868}
.catalog-page .fav.active .icon{fill:currentColor}
.catalog-page .p-sku{
  margin:12px 2px 4px;
  color:var(--subtle);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.catalog-page .product-card h4{
  min-height:42px;
  margin:0 2px 6px;
  overflow:hidden;
  color:var(--fg);
  font:700 13px/1.45 "Manrope",sans-serif;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.catalog-page .p-cat{
  min-height:32px;
  margin:0 2px;
  overflow:hidden;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.catalog-page .p-moq{
  margin:12px 2px 13px;
  color:var(--fg);
  font-size:12px;
  font-weight:800;
}
.catalog-page .product-card>.btn{
  width:100%;
  height:39px;
  margin-top:auto;
  border-radius:13px;
  font-size:11px;
}
.catalog-page .product-grid.list-view{
  display:flex;
  flex-direction:column;
}
.catalog-page .product-grid.list-view .product-card{
  display:grid;
  grid-template-columns:148px minmax(220px,1fr) minmax(130px,.5fr) 160px;
  grid-template-rows:auto auto auto;
  gap:2px 18px;
  align-items:center;
  padding:12px;
}
.catalog-page .product-grid.list-view .p-photo{grid-row:1/4;height:108px;aspect-ratio:auto}
.catalog-page .product-grid.list-view .p-sku{grid-column:2;margin:0}
.catalog-page .product-grid.list-view h4{grid-column:2;min-height:0;margin:0}
.catalog-page .product-grid.list-view .p-cat{grid-column:2;min-height:0;margin:0}
.catalog-page .product-grid.list-view .p-moq{grid-column:3;grid-row:1/4;margin:0}
.catalog-page .product-grid.list-view>.product-card>.btn{grid-column:4;grid-row:1/4;margin:0}
.catalog-page .catalog-empty{
  grid-column:1/-1;
  display:grid;
  place-items:center;
  min-height:260px;
  padding:30px;
  border-radius:var(--r-xl);
  color:var(--fg);
  background:var(--surface);
  box-shadow:var(--sh-glass);
  text-align:center;
}
.catalog-page .catalog-empty span{color:var(--muted);font-size:13px}
.catalog-page .pagination{gap:8px;padding:28px 0 8px}
.catalog-page .page-btn{
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  border-radius:12px;
  font:700 12px/1 "Manrope",sans-serif;
}

/* Тёмная версия */
html[data-theme="dark"] .catalog-page .main-nav a.active,
html[data-theme="dark"] .catalog-page .sidebar-card,
html[data-theme="dark"] .catalog-page .request-box,
html[data-theme="dark"] .catalog-page .search-panel,
html[data-theme="dark"] .catalog-page .product-card,
html[data-theme="dark"] .catalog-page .catalog-empty,
html[data-theme="dark"] .catalog-page .benefits{
  border-color:rgba(255,255,255,.035);
  background:linear-gradient(145deg,#252a31 0%,#22272e 52%,#1d2228 100%);
  box-shadow:var(--sh-glass);
}
html[data-theme="dark"] .catalog-page .benefits::after{
  background:linear-gradient(90deg,#23282f 0%,rgba(35,40,47,.88) 42%,transparent 76%);
}
html[data-theme="dark"] .catalog-page .benefits .truck{
  opacity:.42;
  filter:brightness(.62) saturate(.55) contrast(.92);
}
html[data-theme="dark"] .catalog-page .benefit .icon,
html[data-theme="dark"] .catalog-page .request-box .rq-ic,
html[data-theme="dark"] .catalog-page .cat-item .count,
html[data-theme="dark"] .catalog-page .view-btn,
html[data-theme="dark"] .catalog-page .page-btn,
html[data-theme="dark"] .catalog-page .fav{
  border-color:rgba(255,255,255,.035);
  background:linear-gradient(145deg,#2a3038,#1d2228);
  color:var(--fg);
  box-shadow:var(--sh-btn);
}
html[data-theme="dark"] .catalog-page .cat-item:hover{
  background:#1c2127;
}
html[data-theme="dark"] .catalog-page .cat-item.active{
  color:var(--fg);
  background:linear-gradient(145deg,#2a3038,#1d2228);
  box-shadow:var(--sh-btn);
}
html[data-theme="dark"] .catalog-page .search-field,
html[data-theme="dark"] .catalog-page .select select,
html[data-theme="dark"] .catalog-page .p-photo{
  border-color:rgba(255,255,255,.04);
  background:#191e23;
  color:var(--fg);
  box-shadow:var(--sh-inset);
}
html[data-theme="dark"] .catalog-page .p-photo img{
  filter:brightness(.84) saturate(.82) contrast(.96);
}
html[data-theme="dark"] .catalog-page .view-btn.active,
html[data-theme="dark"] .catalog-page .page-btn.active{
  background:linear-gradient(145deg,#343c46,#20262d);
  color:#fff;
  box-shadow:var(--sh-btn-navy);
}
html[data-theme="dark"] .catalog-page .product-card:hover{
  background:linear-gradient(145deg,#2a3038,#20252c);
  box-shadow:var(--sh-glass-hover);
}
html[data-theme="dark"] .catalog-page .p-moq{color:#eef1f5}

@media(max-width:1280px){
  .catalog-page>.container-wide{padding:0 24px}
  .catalog-page .catalog-intro{grid-template-columns:1fr}
  .catalog-page .catalog-intro .sub{max-width:none}
  .catalog-page .benefits{min-height:124px}
  .catalog-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .catalog-page .catalog-layout{grid-template-columns:1fr}
  .catalog-page .sidebar-card{position:relative;top:auto;max-height:310px}
  .catalog-page aside{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);gap:16px}
  .catalog-page .request-box{margin-top:0}
  .catalog-page .product-grid.list-view .product-card{grid-template-columns:120px minmax(180px,1fr) 140px}
  .catalog-page .product-grid.list-view>.product-card>.btn{grid-column:3;grid-row:2/4}
  .catalog-page .product-grid.list-view .p-moq{grid-column:3;grid-row:1}
}
@media(max-width:760px){
  .catalog-page>.container-wide{padding:0 18px}
  .catalog-page .catalog-intro{padding-top:12px}
  .catalog-page .catalog-intro h1{font-size:34px}
  .catalog-page .benefits{display:grid;grid-template-columns:1fr 1fr;padding:18px}
  .catalog-page .benefits .truck,.catalog-page .benefits::after{display:none}
  .catalog-page .search-panel>*{flex:1 1 100%}
  .catalog-page .search-field{flex-wrap:nowrap}
  .catalog-page .toolbar-right .sort-label{display:none}
  .catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-page .product-grid.list-view .product-card{grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto auto auto}
  .catalog-page .product-grid.list-view .p-photo{grid-row:1/5}
  .catalog-page .product-grid.list-view .p-moq{grid-column:2;grid-row:4}
  .catalog-page .product-grid.list-view>.product-card>.btn{display:none}
  .catalog-page aside{grid-template-columns:1fr}
}
@media(max-width:520px){
  .catalog-page>.container-wide{padding:0 16px}
  .catalog-page .benefits{grid-template-columns:1fr}
  .catalog-page .catalog-toolbar{align-items:flex-start;flex-direction:column}
  .catalog-page .toolbar-right{width:100%;justify-content:space-between}
  .catalog-page .toolbar-right .select{flex:1}
  .catalog-page .product-grid{grid-template-columns:1fr}
  .catalog-page .product-card h4{font-size:14px}
  .catalog-page .p-photo{aspect-ratio:16/11}
}

/* ===== Интро каталога — как на остальных страницах: заголовок, текст, кнопки, ряд преимуществ ===== */
.catalog-page .catalog-intro{display:block;padding:8px 0 16px}
.catalog-page .catalog-intro.std-hero{padding:8px 0 16px}
.catalog-page .catalog-intro .sub{max-width:640px;font-size:15px;margin:0 0 20px}
.catalog-page .catalog-intro .hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.catalog-page .benefits{min-height:0;padding:0;margin-top:18px;border:0;background:none;box-shadow:none;overflow:visible;grid-template-columns:repeat(5,1fr);gap:14px}
.catalog-page .benefits::after{display:none}
.catalog-page .benefit{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-glass);padding:16px 18px}
@media (max-width:1100px){.catalog-page .benefits{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.catalog-page .benefits{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.catalog-page .benefits{grid-template-columns:1fr}}

/* та же ширина, что у остальных страниц (.container = 1200px) */
.catalog-page>.container-wide{max-width:1200px;padding:0 24px}
@media(max-width:760px){.catalog-page>.container-wide{padding:0 18px}}
/* плитки преимуществ той же высоты, что на «Услугах» */
.catalog-page .benefit{padding:22px 18px;gap:14px}
.catalog-page .benefit .icon{width:44px;height:44px;padding:11px;border-radius:14px}
.catalog-page .benefit b{font-size:.95rem}
.catalog-page .benefit span{font-size:.8rem}

.catalog-page .catalog-intro.std-hero .breadcrumb{margin:0 0 26px}
.catalog-page .catalog-intro.std-hero .breadcrumb{padding:0;margin:0 0 26px;font-size:.8rem}

/* ===================== Каталог в стиле кабинета клиента (ck-*) ===================== */
.ck{margin-top:8px}
.ck-head{margin-bottom:14px}
.ck-crumb{display:flex;align-items:center;gap:6px;font-size:.78rem;color:var(--muted);margin-bottom:4px}
.ck-crumb button{border:0;background:none;padding:0;color:var(--muted);cursor:pointer;font:inherit}
.ck-crumb button:hover,.ck-crumb b{color:var(--fg)}
.ck-crumb .sep{color:var(--subtle)}
.ck-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.ck-h1{font:800 clamp(26px,2.4vw,34px)/1.1 "Manrope",sans-serif;letter-spacing:-.03em;margin:0}
.ck-count{font-size:.9rem;color:var(--muted)}
/* панель */
.ck-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}
.ck-search{position:relative;display:flex;align-items:center;width:100%;max-width:320px}
.ck-search .icon{position:absolute;left:14px;width:16px;height:16px;color:var(--subtle);pointer-events:none}
.ck-search input{width:100%;height:44px;border:0;border-radius:14px;padding:0 14px 0 40px;background:var(--surface-2);box-shadow:var(--sh-inset);font:500 14px "Manrope",sans-serif;color:var(--fg);outline:0}
.ck-search input:focus{box-shadow:var(--sh-inset),0 0 0 2px rgba(27,39,64,.08)}
.ck-chip{position:relative;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 30px 0 14px;border-radius:999px;background:linear-gradient(145deg,#fff,#f4f6f8);box-shadow:var(--sh-btn);font:600 13px "Manrope",sans-serif;color:var(--fg);white-space:nowrap;cursor:pointer}
.ck-chip.on{color:var(--navy)}
.ck-chip .icon{position:absolute;right:11px;width:14px;height:14px;color:var(--subtle)}
.ck-chip select{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.ck-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.ck-right .btn.sm{height:36px;padding:0 14px;font-size:13px;gap:6px}
.ck-fav-btn.on{color:var(--navy);box-shadow:var(--sh-btn-hover)}
.ck-fav-btn.on .icon{fill:var(--navy)}
.ck-cart-n{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:linear-gradient(145deg,#f9d980,#e9a93a);color:#1b2740;font-size:.68rem;font-weight:800;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.ck-cart-n.pop{animation:ck-pop .35s var(--ease)}
@keyframes ck-pop{0%{transform:scale(.6)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
.ck-view{display:flex;gap:2px;height:36px;padding:3px;border-radius:999px;background:linear-gradient(145deg,#fff,#f4f6f8);box-shadow:var(--sh-btn)}
.ck-view button{width:30px;border:0;border-radius:999px;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.ck-view button .icon{width:16px;height:16px}
.catalog-page .ck-view button.active,.catalog-page .ck-view button.active .icon{background:var(--navy);color:#fff;box-shadow:var(--sh-btn-navy)}
.catalog-page .ck-view button.active .icon{background:none;box-shadow:none}
/* раскладка */
.ck-layout{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:16px;align-items:start}
.ck-tree{padding:10px}
.ck-node{display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:0 12px;border:0;border-radius:14px;background:none;font:500 13px "Manrope",sans-serif;color:var(--muted);text-align:left;cursor:pointer;transition:background .18s var(--ease),color .18s var(--ease),box-shadow .18s var(--ease)}
.ck-node .icon{width:16px;height:16px;flex:none}
.ck-node>span:not(.ck-chev){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ck-node i{font-style:normal;font-size:11px;color:var(--subtle)}
.ck-node:hover{color:var(--fg);background:linear-gradient(145deg,#fff,#f6f7f9)}
.ck-node.active{color:var(--navy);font-weight:700;background:linear-gradient(145deg,#fff,#f3f5f7);box-shadow:var(--sh-btn)}
.ck-node.sub{height:32px;font-size:12.5px;padding:0 10px}
.ck-chev{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;flex:none !important}
.ck-chev .icon{width:14px;height:14px;color:var(--subtle);transform:rotate(-90deg);transition:transform .18s var(--ease)}
.ck-chev.open .icon{transform:none}
.ck-chev:hover{background:rgba(27,39,64,.05)}
.ck-subs{margin:0 0 4px 20px;padding-left:8px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:2px}
/* плитки категорий */
.ck-tiles{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(6.25rem,1fr));margin-bottom:16px}
.ck-tile{display:grid;grid-template-rows:4.5rem auto;gap:2px;padding:6px;border:0;border-radius:12px;text-align:center;cursor:pointer;color:var(--fg);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.ck-tile:hover{transform:translateY(-3px);box-shadow:var(--sh-glass-hover)}
.ck-tile.active{background:linear-gradient(145deg,#eef4ff,#e3ecfb);box-shadow:var(--sh-glass),inset 0 0 0 1px rgba(60,110,200,.18)}
.ck-tile-media{position:relative;display:grid;place-items:center;height:4.5rem;overflow:hidden;border-radius:12px}
.ck-tile-media>.icon{width:36px;height:36px;padding:9px;border-radius:12px;color:var(--navy);background:linear-gradient(145deg,#fff,#f3f5f7);box-shadow:var(--sh-btn)}
.ck-tile-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:4px;background:transparent}
.ck-tile-name{font-size:.68rem;font-weight:700;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ck-tile-n{justify-self:center;display:inline-grid;place-items:center;height:16px;min-width:24px;padding:0 6px;border-radius:999px;background:var(--surface-2);box-shadow:var(--sh-inset);font-size:.6rem;font-weight:600;color:var(--muted);line-height:1}
/* карточки товаров */
.ck-grid{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){.ck-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:900px){.ck-grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1200px){.ck-grid{grid-template-columns:repeat(5,1fr)}}
.ck-grid.list{grid-template-columns:1fr;gap:8px}
.ck-card{display:flex;flex-direction:column;padding:6px 6px 10px;cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.ck-card:hover{transform:translateY(-3px);box-shadow:var(--sh-glass-hover)}
.ck-card-img{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:#fff;display:grid;place-items:center}
.ck-card-img .ck-ph{width:32px;height:32px;color:var(--subtle)}
.ck-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ck-heart{position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:999px;background:linear-gradient(145deg,#fff,#f3f5f7);box-shadow:var(--sh-btn);color:var(--fg);display:grid;place-items:center;cursor:pointer}
.ck-heart .icon{width:14px;height:14px}
.ck-heart.on .icon{fill:var(--navy);color:var(--navy)}
.ck-card-body{display:flex;flex-direction:column;flex:1;padding:8px 4px 0}
.ck-card-body h4{margin:0;font-size:.78rem;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ck-card-body small{display:flex;align-items:center;gap:4px;margin-top:2px;font-size:.66rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-card-body small .icon{width:12px;height:12px;flex:none}
.ck-price{display:block;margin-top:8px;font-size:.85rem;font-weight:800}
.ck-card-actions{display:flex;align-items:center;gap:6px;margin-top:auto;padding:10px 2px 0}
.ck-card-actions .btn.sm{flex:1;height:24px;padding:0 8px;font-size:.66rem;border-radius:999px}
.ck-ib{width:24px;height:24px;flex:none;border:0;border-radius:999px;background:linear-gradient(145deg,#fff,#f3f5f7);box-shadow:var(--sh-btn);color:var(--fg);display:grid;place-items:center;cursor:pointer;font-size:16px;line-height:1}
.ck-ib .icon{width:12px;height:12px}
.ck-ib.on .icon{fill:var(--navy);color:var(--navy)}
.ck-stock{position:absolute;bottom:6px;left:6px;padding:3px 8px;border-radius:999px;font-size:.62rem;font-weight:700;color:var(--muted);background:linear-gradient(145deg,#fff,#f2f4f7);box-shadow:var(--sh-btn)}
.ck-stock.in{color:var(--navy)}
/* строки списка */
.ck-row{display:flex;align-items:center;gap:10px;padding:4px 8px;cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.ck-row:hover{transform:translateY(-1px);box-shadow:var(--sh-glass-hover)}
.ck-row-img{position:relative;width:44px;height:44px;flex:none;border-radius:6px;background:#fff;display:grid;place-items:center;overflow:hidden}
.ck-row-img .icon{width:16px;height:16px;color:var(--subtle)}
.ck-row-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ck-row-body{flex:1;min-width:0;display:flex;flex-direction:column}
.ck-row-body b{font-size:.8rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-row-body small{font-size:.66rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-row-price{font-size:.8rem;font-weight:800;white-space:nowrap}
.ck-row .ck-ib{width:28px;height:28px}
.ck-empty{padding:48px 24px;text-align:center;display:flex;flex-direction:column;gap:4px;color:var(--muted)}
.ck-empty b{color:var(--fg)}
.ck-pages{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;font-size:.85rem;color:var(--muted)}
.ck-pages .btn.sm{height:34px;padding:0 14px}
/* окно товара */
.ck-modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:16px}
.ck-modal-bg{position:absolute;inset:0;border:0;background:rgba(27,39,64,.3);backdrop-filter:blur(4px)}
.ck-modal-card{position:relative;z-index:1;width:100%;max-width:880px;max-height:92vh;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;padding:0}
.ck-modal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 8px}
.ck-modal-top>div{display:flex;gap:8px}
.ck-modal-top .ck-ib{width:36px;height:36px;font-size:22px}
.ck-modal-top .ck-ib .icon{width:16px;height:16px}
.ck-sku{font:600 .7rem "IBM Plex Mono",monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ck-modal-body{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 20px 20px;min-height:0;overflow:auto}
.ck-gal-main{position:relative;aspect-ratio:1;overflow:hidden;border-radius:16px;background:#fff;box-shadow:var(--sh-inset)}
.ck-gal-main img{width:100%;height:100%;object-fit:cover}
.ck-gal-ph{position:absolute;inset:0;display:grid;place-items:center}
.ck-gal-ph .icon{width:40px;height:40px;color:var(--subtle)}
.ck-gal-prev,.ck-gal-next{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;font-size:22px}
.ck-gal-prev{left:8px}.ck-gal-next{right:8px}
.ck-gal-main .ck-stock{top:10px;left:10px;bottom:auto}
.ck-gal-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.ck-gal-dots button{width:6px;height:6px;border:0;border-radius:999px;background:rgba(27,39,64,.25);cursor:pointer}
.ck-gal-dots button.on{background:var(--navy)}
.ck-info{display:flex;flex-direction:column;min-width:0}
.ck-mtitle{margin:0;font-size:1.1rem;font-weight:700;line-height:1.3}
.ck-mcat{margin:4px 0 0;font-size:.85rem;color:var(--muted)}
.ck-mprice{margin:12px 0 0;font-size:1.5rem;font-weight:800}
.ck-label{margin:16px 0 4px;font-size:.68rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ck-mdesc{margin:0;font-size:.9rem;line-height:1.6}
.ck-specs{margin:0;font-size:.85rem}
.ck-specs>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-top:1px solid var(--border)}
.ck-specs dt{color:var(--muted)}.ck-specs dd{margin:0;font-weight:600;text-align:right}
.ck-mactions{display:flex;gap:8px;margin-top:auto;padding-top:20px}
.ck-mactions .btn{flex:1}
.ck-mactions .btn.on .icon{fill:var(--navy)}
@media(max-width:1000px){.ck-layout{grid-template-columns:1fr}.ck-tree{display:none}.ck-modal-body{grid-template-columns:1fr}}
/* тёмная тема */
html[data-theme="dark"] .ck-search input{background:#1b2026}
html[data-theme="dark"] .ck-chip,html[data-theme="dark"] .ck-view,html[data-theme="dark"] .ck-heart,html[data-theme="dark"] .ck-ib,html[data-theme="dark"] .ck-stock,html[data-theme="dark"] .ck-tile-media>.icon,html[data-theme="dark"] .ck-node.active,html[data-theme="dark"] .ck-node:hover{background:linear-gradient(145deg,#2a3038,#1f2429);color:var(--fg)}
html[data-theme="dark"] .ck-tile.active{background:linear-gradient(145deg,#232c3b,#1b2230)}
html[data-theme="dark"] .ck-card-img,html[data-theme="dark"] .ck-row-img,html[data-theme="dark"] .ck-gal-main{background:#1b2026}
html[data-theme="dark"] .ck-tile-n{background:#1b2026}

/* в корне каталога заголовок раздела не дублируем (он есть в шапке страницы) */
.ck.root .ck-h1{display:none}



/* подсветка кнопок корзины (.es-glow) — общий «огонь» в css/home.css */

/* кнопки каталога на сайте приподнимаются при наведении, как все кнопки сайта */
.ck-ib,.ck-heart,.ck-chip,.ck-view button,.ck-card-actions .btn.sm,.ck-right .btn.sm{transition:transform .18s var(--ease),box-shadow .18s var(--ease),background .18s var(--ease),color .18s var(--ease)}
.ck-ib:hover,.ck-heart:hover,.ck-chip:hover,.ck-right .btn.sm:hover,.ck-card-actions .btn.sm:hover{transform:translateY(-2px);box-shadow:var(--sh-btn-hover)}
.ck-ib:active,.ck-heart:active,.ck-card-actions .btn.sm:active{transform:translateY(1px);box-shadow:var(--sh-inset)}
.ck-view button:hover:not(.active){color:var(--fg);transform:translateY(-1px)}
.ck-node:hover{transform:translateX(2px)}
.ck-node{transition:background .18s var(--ease),color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease)}

.ck-card-actions,.ck-row,.ck-mactions{position:relative;isolation:isolate}

/* дерево категорий на сайте: активный пункт без белого ореола по краю панели */
.ck-node.active{box-shadow:5px 6px 12px rgba(40,50,70,.10),inset 1px 1px 0 rgba(255,255,255,.9)}

/* каталог без <main>: тот же отступ от шапки, что у остальных страниц */
.catalog-page>.container-wide{padding-top:48px}
/* корень каталога: «Каталог · 507 позиций» в одну строку, блок каталога ближе к преимуществам */
.ck{margin-top:0}
.ck-head{margin-bottom:12px}
.ck.root .ck-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.ck.root .ck-crumb{margin:0}
.ck.root .ck-crumb::after{content:"·";color:var(--subtle)}
.ck.root .ck-title{gap:6px}
.catalog-page .catalog-intro.std-hero{padding-bottom:12px}
/* активная плитка категории/подкатегории — как в кабинете клиента: голубая подсветка с тонкой синей кромкой */
.catalog-page .ck-tile.glass.active{background:linear-gradient(145deg,#eef4ff,#e3ecfb);border:1px solid rgba(60,110,200,.22);box-shadow:var(--sh-glass),0 0 0 3px rgba(60,110,200,.06)}
.catalog-page .ck-tile.glass.active .ck-tile-media>.icon{color:#2f6fd6}
.catalog-page .ck-tile.glass.active .ck-tile-n{background:#fff}
html[data-theme="dark"] .catalog-page .ck-tile.glass.active{background:linear-gradient(145deg,#232c3b,#1b2230);border-color:rgba(120,160,230,.18)}

/* карточки каталога: меньше скругление */
.ck-card,.ck-row,.ck-tree{border-radius:14px}
/* увеличенное фото товара */
.ck-zoomable{cursor:zoom-in}
.ck-lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.85)}
.ck-lightbox img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.5);cursor:zoom-out}
.ck-lightbox .ck-ib{position:absolute;width:44px;height:44px;font-size:26px}
.ck-lb-prev{left:16px;top:50%;transform:translateY(-50%)}.ck-lb-next{right:16px;top:50%;transform:translateY(-50%)}.ck-lb-close{top:16px;right:16px}
/* тёмная тема сайта: активные элементы каталога — как в кабинетах: выпуклая тёмная кнопка со светлым текстом */
html[data-theme="dark"] .ck-node.active{color:#fff;background:linear-gradient(145deg,#2a3038,#1f2429);box-shadow:5px 6px 12px rgba(0,0,0,.36),inset 1px 1px 0 rgba(255,255,255,.05)}
html[data-theme="dark"] .ck-node:hover{color:#fff;background:linear-gradient(145deg,#2a3038,#1f2429)}
html[data-theme="dark"] .ck-view button.active,html[data-theme="dark"] .catalog-page .ck-view button.active{background:linear-gradient(145deg,#3a4250,#262c35);color:#fff;box-shadow:4px 5px 10px rgba(0,0,0,.45),inset 1px 1px 0 rgba(255,255,255,.08)}
html[data-theme="dark"] .ck-chip.on{color:#fff}
html[data-theme="dark"] .ck-fav-btn.on{color:#fff}

html[data-theme="dark"] .ck-cart-n{background:linear-gradient(145deg,#f9d980,#e9a93a);color:#1b2740}
.ck-mpage{display:inline-block;margin:6px 0 0;font-size:.8rem;text-decoration:underline;text-underline-offset:3px;opacity:.75}.ck-mpage:hover{opacity:1}

/* избранное: золотое сердце в обеих темах (тёмно-синее сливалось с тёмной кнопкой) */
.ck-heart.on .icon,.ck-ib.on .icon,.ck-fav-btn.on .icon,.ck-mactions .btn.on .icon{fill:#e9a93a;color:#e9a93a}
.ck-fav-btn.on,.ck-mactions .btn.on,html[data-theme="dark"] .ck-fav-btn.on{color:#e9a93a}
