/* STORE_ENGINE_027C42_CATALOG_FILTERS_AND_FULLSCREEN_GALLERY */

/* 027C41's fallback filter box was for the legacy catalog.
   Keep it out of the current catalog to avoid duplicate controls. */
#se027c41-characteristic-filters{display:none!important}

.se027c42-characteristic-filters{
  margin:8px 0 12px;
  border-top:1px solid #e7eaf0;
  border-bottom:1px solid #e7eaf0;
  color:#111827;
}
.se027c42-filter-caption{
  padding:14px 0 8px;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#64748b;
}
.se027c42-filter-group{
  padding:0;
  border-top:1px solid #eef1f5;
}
.se027c42-filter-group:first-of-type{border-top:0}
.se027c42-filter-group summary{
  list-style:none;
  position:relative;
  cursor:pointer;
  padding:14px 22px 14px 0;
  font-size:14px;
  font-weight:800;
  color:#111827;
}
.se027c42-filter-group summary::-webkit-details-marker{display:none}
.se027c42-filter-group summary:after{
  content:'⌄';
  position:absolute;
  right:2px;
  top:13px;
  color:#94a3b8;
  font-size:14px;
}
.se027c42-filter-group[open] summary:after{content:'⌃'}
.se027c42-filter-options{padding:0 0 10px}
.se027c42-filter-option{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:6px 0;
  cursor:pointer;
  font-size:13px;
}
.se027c42-filter-option input{margin:0}
.se027c42-filter-option small{color:#94a3b8}

/* Main product image is explicitly clickable. */
img.se027c42-zoomable{cursor:zoom-in}

/* Full-screen gallery */
html.se027c42-no-scroll,
body.se027c42-no-scroll{overflow:hidden!important}

.se027c42-lightbox{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:none;
  grid-template-columns:minmax(50px,84px) minmax(0,1fr) minmax(50px,84px);
  grid-template-rows:minmax(0,1fr) auto auto;
  align-items:center;
  background:rgba(8,12,20,.96);
  color:#fff;
  touch-action:none;
  user-select:none;
}
.se027c42-lightbox.open{display:grid}
.se027c42-lb-stage{
  grid-column:2;
  grid-row:1;
  min-width:0;
  min-height:0;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:54px 0 12px;
  box-sizing:border-box;
  overflow:hidden;
}
.se027c42-lb-stage img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:96%!important;
  max-height:calc(100vh - 170px)!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.se027c42-lb-close,
.se027c42-lb-prev,
.se027c42-lb-next{
  appearance:none;
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.se027c42-lb-close{
  position:absolute;
  right:16px;
  top:14px;
  z-index:2;
  width:44px;
  height:44px;
  border-radius:50%;
  font-size:32px;
  line-height:38px;
}
.se027c42-lb-prev,
.se027c42-lb-next{
  width:48px;
  height:64px;
  justify-self:center;
  border-radius:14px;
  font-size:48px;
  line-height:50px;
}
.se027c42-lb-prev{grid-column:1;grid-row:1}
.se027c42-lb-next{grid-column:3;grid-row:1}
.se027c42-lb-counter{
  grid-column:1/-1;
  grid-row:2;
  justify-self:center;
  padding:4px 10px 8px;
  font-size:13px;
  color:#dbe2ea;
}
.se027c42-lb-thumbs{
  grid-column:1/-1;
  grid-row:3;
  display:flex;
  justify-content:center;
  gap:8px;
  max-width:100vw;
  overflow-x:auto;
  padding:6px 14px 14px;
  box-sizing:border-box;
}
.se027c42-lb-thumbs button{
  flex:0 0 auto;
  width:58px;
  height:58px;
  padding:2px;
  border:2px solid transparent;
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
.se027c42-lb-thumbs button.active{border-color:#fff}
.se027c42-lb-thumbs img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  background:#fff!important;
  border-radius:6px!important;
}

@media(max-width:720px){
  .se027c42-lightbox{
    grid-template-columns:46px minmax(0,1fr) 46px;
  }
  .se027c42-lb-stage{
    grid-column:1/-1;
    padding:58px 8px 8px;
  }
  .se027c42-lb-stage img{
    max-width:100%!important;
    max-height:calc(100vh - 150px)!important;
  }
  .se027c42-lb-prev,
  .se027c42-lb-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    width:42px;
    height:56px;
    font-size:40px;
    background:rgba(0,0,0,.32);
  }
  .se027c42-lb-prev{left:6px}
  .se027c42-lb-next{right:6px}
  .se027c42-lb-thumbs button{width:50px;height:50px}
}

/* STORE_ENGINE_027C42A_NATIVE_STYLE_CHARACTERISTIC_FILTERS */

/* Remove the separate grey "ХАРАКТЕРИСТИКИ" sub-heading. */
#se027c42-characteristic-filters .se027c42-filter-caption{
  display:none!important;
}

/* The characteristics container is no longer visually a separate subsection. */
#se027c42-characteristic-filters{
  margin:0!important;
  border-top:0!important;
  border-bottom:0!important;
}

/* Each characteristic is styled as a normal main filter row. */
#se027c42-characteristic-filters .se027c42-filter-group{
  position:relative!important;
  margin:0!important;
  padding:0!important;
  border-top:1px solid #e5e7eb!important;
  border-bottom:0!important;
  background:transparent!important;
}

#se027c42-characteristic-filters .se027c42-filter-group summary{
  position:relative!important;
  display:block!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  padding:15px 54px 13px 0!important;
  color:#111827!important;
  font-size:14px!important;
  line-height:18px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-transform:none!important;
  list-style:none!important;
  cursor:pointer!important;
}

#se027c42-characteristic-filters .se027c42-filter-group summary::-webkit-details-marker{
  display:none!important;
}

/* Same black circular visual marker as Category / Brand / Price / Availability. */
#se027c42-characteristic-filters .se027c42-filter-group summary::before{
  content:''!important;
  position:absolute!important;
  right:17px!important;
  top:50%!important;
  width:19px!important;
  height:19px!important;
  margin-top:-10px!important;
  border-radius:50%!important;
  background:#111827!important;
  box-shadow:none!important;
}

/* Small caret after the black circle. */
#se027c42-characteristic-filters .se027c42-filter-group summary::after{
  content:'⌄'!important;
  position:absolute!important;
  right:0!important;
  top:50%!important;
  width:12px!important;
  margin-top:-9px!important;
  color:#94a3b8!important;
  font-size:13px!important;
  line-height:18px!important;
  font-weight:800!important;
  text-align:center!important;
}

#se027c42-characteristic-filters .se027c42-filter-group[open] summary::after{
  content:'⌃'!important;
}

#se027c42-characteristic-filters .se027c42-filter-options{
  padding:0 0 10px 2px!important;
}

#se027c42-characteristic-filters .se027c42-filter-option{
  min-height:32px!important;
  padding:5px 0!important;
  font-size:13px!important;
}

/* Canonical stock after synchronization. */
.se027c6-card [data-se027c42a-stock-status="in"],
.product-card [data-se027c42a-stock-status="in"],
.catalog-card [data-se027c42a-stock-status="in"]{
  color:#15803d!important;
  font-weight:700!important;
}

.se027c6-card [data-se027c42a-stock-status="out"],
.product-card [data-se027c42a-stock-status="out"],
.catalog-card [data-se027c42a-stock-status="out"]{
  color:#94a3b8!important;
}
