.catalog-breadcrumbs-section{
  padding-top:100px;
  padding-bottom:0;
}

.catalog-section{
  padding:0 0 60px;
  background:rgba(0,0,0,.18);
}

.catalog-layout{
  display:grid;
  grid-template-columns:330px minmax(0,1fr);
  gap:28px;
  align-items:start;
}

.catalog-title{
  font-size:clamp(30px,4vw,40px);
  line-height:1.13;
  letter-spacing:-1.3px;
  margin:14px 0 0;
  font-weight:900;
}

.catalog-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

/* sidebar */

.catalog-sidebar{
  position:sticky;
  top:96px;
}

.catalog-sidebar__box{
  position:relative;
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 120px);
  padding:16px;
  border-radius:28px;
  border:1px solid rgba(145,186,255,.20);
  background:linear-gradient(180deg,rgba(20,54,108,.42),rgba(4,12,28,.72));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.12);
  overflow:hidden;
}

.catalog-sidebar__box h3{
  flex:0 0 auto;
  margin:0 0 12px;
  font-size:19px;
  line-height:1.2;
}

.catalog-sidebar__scroll{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding-right:8px;
  margin-right:-4px;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(84,168,255,.58) transparent;
}

.catalog-sidebar__scroll::-webkit-scrollbar{
  width:5px;
}

.catalog-sidebar__scroll::-webkit-scrollbar-track{
  background:transparent;
  margin:10px 0;
}

.catalog-sidebar__scroll::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:linear-gradient(180deg,#2f7dff,#9b55ff);
  box-shadow:0 0 12px rgba(84,168,255,.35);
}

.catalog-sidebar__scroll::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#66d6ff,#9b55ff);
}

.catalog-tree{
  display:grid;
  gap:7px;
}

.catalog-tree__item{
  display:grid;
  gap:7px;
}

.catalog-tree__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 30px;
  gap:6px;
  align-items:center;
}

.catalog-tree__children{
  display:grid;
  gap:7px;
  overflow:hidden;
  max-height:1400px;
  transition:max-height .35s ease,opacity .25s ease;
}

.catalog-tree__item:not(.is-open) > .catalog-tree__children{
  max-height:0;
  opacity:0;
}

.catalog-tree__toggle,
.catalog-tree__toggle-placeholder{
  width:30px;
  height:30px;
  flex:0 0 auto;
}

.catalog-tree__toggle{
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(145,186,255,.22);
  background:rgba(4,12,28,.62);
  color:#75caff;
  cursor:pointer;
  font-size:14px;
  line-height:1;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.catalog-tree__toggle:hover{
  border-color:rgba(84,168,255,.55);
  box-shadow:0 0 18px rgba(32,120,255,.22);
}

.catalog-tree__item:not(.is-open) > .catalog-tree__row .catalog-tree__toggle{
  transform:rotate(-90deg);
}

.catalog-category{
  min-height:42px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  margin:0;
  border-radius:14px;
  border:1px solid rgba(145,186,255,.16);
  background:rgba(4,12,28,.42);
  color:rgba(255,255,255,.84);
  font-weight:800;
  font-size:13px;
  line-height:1.25;
  transition:.25s ease;
}

.catalog-category span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.catalog-category b{
  min-width:26px;
  height:26px;
  padding:0 7px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(4,12,28,.72);
  color:#75caff;
  font-size:11px;
  line-height:1;
}

.catalog-category:hover,
.catalog-category.is-active{
  color:#fff;
  border-color:rgba(84,168,255,.52);
  background:linear-gradient(90deg,rgba(47,125,255,.54),rgba(155,85,255,.36));
  box-shadow:0 0 24px rgba(32,120,255,.18),inset 0 1px 0 rgba(255,255,255,.16);
}

.catalog-category--all{
  margin-bottom:12px;
}

.catalog-category--sub{
  margin-left:12px;
  font-size:12.5px;
}

.catalog-category--type{
  margin-left:26px;
  font-size:12px;
  opacity:.92;
}

/* mobile category select */

.catalog-mobile-filter{
  display:none;
  margin-bottom:20px;
}

.catalog-mobile-filter__btn{
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(145,186,255,.22);
  background:linear-gradient(180deg,rgba(18,28,62,.84),rgba(6,12,30,.86));
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 24px rgba(32,120,255,.16);
}

.catalog-mobile-filter__btn b{
  color:#75caff;
  transition:transform .25s ease;
}

.catalog-mobile-filter.is-open .catalog-mobile-filter__btn b{
  transform:rotate(180deg);
}

.catalog-mobile-filter__panel{
  display:grid;
  gap:8px;
  max-height:0;
  opacity:0;
  overflow:hidden;
  margin-top:10px;
  padding:0 4px;
  transition:max-height .35s ease,opacity .25s ease;
}

.catalog-mobile-filter.is-open .catalog-mobile-filter__panel{
  max-height:70vh;
  opacity:1;
  overflow:auto;
}

/* cards */

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

.catalog-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(145,186,255,.20);
  background:linear-gradient(180deg,rgb(0 0 0),rgb(4 12 28));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.12);
  transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease;
  display:flex;
  flex-direction:column;
}

.catalog-card:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  border-radius:inherit;
  padding:2px;
  opacity:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.72),rgba(111,243,255,.95),rgba(47,125,255,.72),rgba(155,85,255,.95),rgba(255,255,255,.72));
  background-size:260% 100%;
  animation:heroBtnBorderFlow 8s linear infinite;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  transition:opacity .35s ease;
}

.catalog-card:hover{
  transform:translateY(-8px) scale(1.012);
  border-color:rgba(84,168,255,.50);
  box-shadow:0 28px 78px rgba(0,40,120,.46),0 0 44px rgba(32,120,255,.22),inset 0 1px 0 rgba(255,255,255,.18);
}

.catalog-card:hover:before{
  opacity:1;
}

.catalog-card__image {
    position: relative;
    z-index: 3;
    height: 250px;
    overflow: hidden;
    background: white;
    border-bottom: 1px solid rgba(145, 186, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-card__image:after{
  content:"";
  position:absolute;
  inset:-40%;
  background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.85) 50%,transparent 60%);
  transform:translateX(-120%) rotate(8deg);
  transition:transform .8s ease;
  pointer-events:none;
}

.catalog-card:hover .catalog-card__image:after{
  transform:translateX(120%) rotate(8deg);
}

.catalog-card__image img{
  position:relative;
  z-index:2;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  transition:.45s ease;
}

.catalog-card:hover .catalog-card__image img{
  transform:scale(1.07) translateY(-4px);
 
}

.catalog-card__body {
    position: relative;
    z-index: 3;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    justify-content: space-between;
}

.catalog-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.catalog-tags span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  color:#75caff;
  background:rgba(4,12,28,.55);
  border:1px solid rgba(84,168,255,.28);
  font-weight:900;
  font-size:12px;
}

.catalog-card h3{
  font-size:21px;
  line-height:1.2;
  margin:0;
}

.catalog-card p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    font-size: 14px;
    height: 100%;
}

.catalog-specs{
  display:grid;
  gap:8px;
  margin-top:auto;
}

.catalog-specs div,
.product-summary-specs div{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(4,12,28,.52);
  border:1px solid rgba(145,186,255,.15);
}

.catalog-specs b,
.product-summary-specs b{
  color:#75caff;
  font-size:12px;
}

.catalog-specs span,
.product-summary-specs span{
  color:rgba(255,255,255,.86);
  font-size:13px;
  text-align:right;
}

.catalog-pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:34px;
}

.catalog-pagination a{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(145,186,255,.22);
  background:rgba(4,12,28,.62);
  color:#fff;
  font-weight:900;
}

.catalog-pagination a.is-active,
.catalog-pagination a:hover{
  background:linear-gradient(90deg,#2f7dff,#9b55ff);
  box-shadow:0 0 24px rgba(32,120,255,.25);
}

.catalog-empty{
  grid-column:1 / -1;
  padding:34px;
  border-radius:28px;
  border:1px solid rgba(145,186,255,.20);
  background:linear-gradient(180deg,rgba(20,54,108,.42),rgba(4,12,28,.72));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.12);
}

.catalog-empty h3{
  font-size:28px;
  margin:0 0 12px;
}

.catalog-empty p{
  color:var(--muted);
  line-height:1.6;
  margin-bottom:22px;
}

/* product page */

.product-page {
    padding-top: 140px;
    padding-bottom: 0px;
}

.product-layout{
  display:grid;
  grid-template-columns:minmax(0,520px) minmax(0,1fr);
  gap:42px;
  align-items:start;
}

.product-gallery,
.product-summary,
.product-tabs{
  border-radius:34px;
  border:1px solid rgba(145,186,255,.20);
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(8,22,48,.72));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.12);
}

.product-gallery{
  padding:24px;
}

.product-gallery__main {
    min-height: 430px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: white;
    overflow: hidden;
}

.product-gallery__main img{
  max-width:92%;
  max-height:400px;
  object-fit:contain;
}

.product-gallery__thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:14px;
}

.product-gallery__thumbs button {
    height: 90px;
    border-radius: 16px;
    border: 1px solid rgba(145, 186, 255, .18);
    background: white;
    cursor: pointer;
    overflow: hidden;
}

.product-gallery__thumbs button.is-active{
  border-color:#54a8ff;
  box-shadow:0 0 22px rgba(84,168,255,.35);
}

.product-gallery__thumbs img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.product-summary{
  padding:34px;
}

.product-summary h1 {
    margin: 20px 0 16px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.product-summary p{
  color:var(--muted);
  line-height:1.7;
  font-size:18px;
}

.product-rating{
  display:flex;
  align-items:center;
  gap:10px;
  color:#ffcf5a;
  font-size:22px;
  margin-bottom:16px;
}

.product-rating b{
  color:#fff;
  font-size:16px;
}

.product-summary-specs{
  display:grid;
  gap:10px;
  margin:22px 0 28px;
}

.product-tabs{
  padding:0;
  overflow:hidden;
}

.product-tabs__nav{
  display:flex;
  flex-wrap:wrap;
  border-bottom:1px solid rgba(145,186,255,.18);
  background:rgba(4,12,28,.42);
}

.product-tabs__nav button{
  min-height:62px;
  padding:0 24px;
  border:0;
  border-right:1px solid rgba(145,186,255,.14);
  background:transparent;
  color:rgba(255,255,255,.78);
  font:inherit;
  font-weight:900;
  cursor:pointer;
}

.product-tabs__nav button.is-active,
.product-tabs__nav button:hover{
  color:#fff;
  background:linear-gradient(90deg,rgba(47,125,255,.45),rgba(155,85,255,.30));
}

.product-tabs__panel{
  display:none;
  padding:34px;
  color:rgba(255,255,255,.82);
  line-height:1.72;
}

.product-tabs__panel.is-active{
  display:block;
}

.product-tabs__panel table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  border-radius:18px;
  margin:18px 0;
  background:rgba(4,12,28,.55);
  overflow-x:auto;
  border:#26314b 2px solid;
  display:block;
  scrollbar-width:thin;
  scrollbar-color:rgba(84,168,255,.58) rgba(4,12,28,.45);
}

.product-tabs__panel table::-webkit-scrollbar{
  height:7px;
}

.product-tabs__panel table::-webkit-scrollbar-track{
  background:rgba(4,12,28,.45);
  border-radius:999px;
}

.product-tabs__panel table::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:linear-gradient(90deg,#2f7dff,#9b55ff);
  box-shadow:0 0 12px rgba(84,168,255,.35);
}

.product-tabs__panel table::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(90deg,#66d6ff,#9b55ff);
}

.product-tabs__panel td,
.product-tabs__panel th{
  padding:14px 16px;
  border:1px solid rgba(145,186,255,.18);
  color:rgba(255,255,255,.86);
}

.downloads-list{
  display:grid;
  gap:12px;
}

.downloads-list a{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
  border-radius:18px;
  border:1px solid rgba(145,186,255,.18);
  background:rgba(4,12,28,.55);
}

.downloads-list span{
  color:#75caff;
  font-weight:900;
}

/* adaptive */

@media(max-width:1200px){
  .catalog-layout{
    grid-template-columns:300px minmax(0,1fr);
  }

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

@media(max-width:1100px){
  .catalog-layout,
  .product-layout{
    grid-template-columns:1fr;
  }

  .catalog-sidebar{
    display:none;
  }

  .catalog-mobile-filter{
    display:block;
  }

  .catalog-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .catalog-breadcrumbs-section{
    padding-top:86px;
  }

  .catalog-section{
    padding-bottom:48px;
  }

  .catalog-grid{
    grid-template-columns:1fr;
  }

  .catalog-card__image{
    height:220px;
  }

  .catalog-card__body{
    padding:20px;
  }

  .catalog-title{
    font-size:30px;
  }

  .product-page{
    padding-top:110px;
  }

  .product-gallery,
  .product-summary{
    padding:22px;
    border-radius:26px;
  }

  .product-gallery__main{
    min-height:300px;
  }

  .product-tabs__nav{
    display:grid;
    grid-template-columns:1fr;
  }

  .product-tabs__nav button{
    border-right:0;
    border-bottom:1px solid rgba(145,186,255,.14);
  }

  .product-tabs__panel{
    padding:22px;
    overflow:auto;
  }
}
.product-gallery__main{
  position:relative;
  width:100%;
  border:0;
  cursor:zoom-in;
}

.product-gallery__zoom{
  position:absolute;
  right:18px;
  top:18px;
  z-index:5;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(145,186,255,.28);
  background:rgba(4,12,28,.72);
  color:#75caff;
  font-size:28px;
  opacity:0;
  transform:translateY(-6px) scale(.92);
  transition:.25s ease;
  box-shadow:0 0 26px rgba(32,120,255,.24);
}

.product-gallery__main:hover .product-gallery__zoom{
  opacity:1;
  transform:none;
}

.product-gallery__thumbs{
  display:flex;
  gap:12px;
  margin-top:14px;
  overflow-x:auto;
  padding-bottom:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(84,168,255,.58) rgba(4,12,28,.35);
}

.product-gallery__thumbs::-webkit-scrollbar{
  height:6px;
}

.product-gallery__thumbs::-webkit-scrollbar-track{
  background:rgba(4,12,28,.35);
  border-radius:999px;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:linear-gradient(90deg,#2f7dff,#9b55ff);
  box-shadow:0 0 12px rgba(84,168,255,.35);
}

.product-gallery__thumbs button{
  flex:0 0 calc((100% - 36px) / 4);
}

.product-lightbox{
  position:fixed;
  inset:0;
  z-index:150;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.28s ease;
}

.product-lightbox.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.product-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(1,5,14,.82);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.product-lightbox__dialog{
  position:relative;
  z-index:2;
  width:min(1100px,100%);
  height:min(760px,82vh);
  border-radius:34px;
  border:1px solid rgba(145,186,255,.22);
  background:
    radial-gradient(circle at 78% 0%,rgba(32,120,255,.24),transparent 36%),
    linear-gradient(135deg,rgba(255,255,255,.10),rgba(8,22,48,.82) 48%,rgba(4,12,28,.96));
  box-shadow:
    0 24px 90px rgba(0,40,120,.45),
    inset 0 1px 0 rgba(255,255,255,.16),
    0 0 60px rgba(32,120,255,.22);
  overflow:hidden;
  transform:translateY(18px) scale(.96);
  transition:.28s ease;
}

.product-lightbox.is-open .product-lightbox__dialog{
  transform:none;
}

.product-lightbox__image {
    width: 100%;
    height: 100%;
    display: flex;
    place-items: center;
    padding: 10px 10px;
    background: white;
    justify-content: center;
    align-items: center;
}

.product-lightbox__image img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.product-lightbox__close,
.product-lightbox__arrow{
  position:absolute;
  z-index:5;
  border:1px solid rgba(145,186,255,.26);
  background:rgba(4,12,28,.72);
  color:#fff;
  cursor:pointer;
  box-shadow:0 0 24px rgba(32,120,255,.22);
  transition:.25s ease;
}

.product-lightbox__close{
  top:18px;
  right:18px;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:30px;
  line-height:1;
}

.product-lightbox__arrow {
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    border-radius: 999px;
    color: #75caff;
    font-size: 44px;
    line-height: 1;
}

.product-lightbox__arrow--prev{
  left:18px;
}

.product-lightbox__arrow--next{
  right:18px;
}

.product-lightbox__close:hover,
.product-lightbox__arrow:hover{
  border-color:rgba(84,168,255,.62);
  box-shadow:0 0 34px rgba(32,120,255,.34);
}

@media(max-width:700px){
  .product-gallery__thumbs button{
    flex-basis:88px;
  }

  .product-lightbox{
    padding:12px;
  }

  .product-lightbox__dialog{
    height:74vh;
    border-radius:24px;
  }

  .product-lightbox__image{
    padding:58px 18px 72px;
  }

  .product-lightbox__arrow{
    top:auto;
    bottom:14px;
    transform:none;
    width:52px;
    height:52px;
    font-size:42px;
  }
}