/* Boost presentation pilot. Only layout; status-badges.css supplies every badge style. */
@media(max-width:1024px){
 .indecor-boost-compact-viewer :is(.fancybox__track,.fancybox__thumbs .carousel__track) {will-change:transform;}
}
/* Boost compact tablets: gallery and thumbnails left, compact information right. */
@media(min-width:540px) and (max-width:1024px){
 html body#main#main:has([data-indecor-boost-pilot]) .sec-product .block-product-2 {
  display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(235px,1fr)!important;
  gap:clamp(10px,1.7vw,18px)!important;align-items:start!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery {
  min-width:0!important;width:100%!important;max-width:100%!important;grid-column:1!important;grid-row:1!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-product-slider__main {
  width:100%!important;height:auto!important;aspect-ratio:.74!important;min-height:0!important;
  max-height:70vh!important;max-height:70svh!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-product-slider__main-img {
  width:100%!important;height:100%!important;object-fit:cover!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-product-slider__dots-wrap {
  max-height:56px!important;margin-top:6px!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-product-slider__dots-wrap :is(.swiper,.swiper-wrapper,.swiper-slide) {
  max-height:56px!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-nav__arr {
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  max-width:32px!important;max-height:32px!important;padding:0!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;
  background:rgba(255,255,255,.55)!important;border:1px solid rgba(255,255,255,.82)!important;border-radius:50%!important;
  box-shadow:0 3px 10px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6)!important;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-nav__arr svg {width:8px!important;height:15px!important;margin:0!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-nav__arr svg path {stroke:#45413b!important;stroke-width:2!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-gallery .block-nav__arr.swiper-button-disabled {opacity:.3!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .sec-product .block-product-content {
  grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  padding:clamp(12px,1.8vw,18px)!important;gap:0!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-heading {display:block!important;margin:0 0 10px!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-heading__eyebrow {font-size:10px!important;line-height:1.4!important;margin:8px 0 4px!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-heading h1 {font-size:clamp(28px,4.4vw,40px)!important;line-height:1.1!important;margin:0 0 8px!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-heading__summary {font-size:12px!important;line-height:1.4!important;margin:0!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-price {font-size:clamp(24px,3.7vw,32px)!important;line-height:1.2!important;margin:12px 0 0!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-actions-row {margin:0!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-purchase-row {position:static!important;margin:0!important;order:0!important;width:100%!important;max-width:none!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-purchase-row .block-product-content__top-left {display:none!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-purchase-row .block-product-content__top-right {width:100%!important;max-width:none!important;flex:1 1 100%!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-purchase-row .block-product-content__info2-btn {width:100%!important;max-width:none!important;margin:0!important;min-height:32px!important;height:auto!important;padding:8px!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-purchase-row .block-product-content__info2-btn span {white-space:nowrap!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-reference-info {margin:12px 0 0!important;display:block!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-reference-spec {display:flex!important;gap:6px!important;padding:7px 0!important;font-size:11.5px!important;line-height:1.4!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-reference-spec > span {width:70px!important;flex:0 0 70px!important;font-size:11px!important;}
 html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-reference-spec > :is(b,.indecor-boost-formats) {width:auto!important;flex:1 1 0!important;min-width:0!important;font-size:11.5px!important;}
}
html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-reference-spec > b {min-width:0;overflow-wrap:anywhere;}
html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-page > .sec-product {
  border-bottom:0!important;padding-bottom:0!important;
}
html body#main#main:has([data-indecor-boost-pilot]) .indecor-collection-page > #sec-products {
  padding-top:24px!important;
}
html body#main#main .indecor-boost-formats {display:block!important;min-width:0;font-weight:600;}
html body#main#main .indecor-boost-formats :is(.indecor-boost-formats__primary,.indecor-boost-formats__extra) {
  display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 4px;
}
html body#main#main .indecor-boost-formats .indecor-collection-format-link {white-space:nowrap;color:#242321!important;font-weight:600!important;}
html body#main#main .indecor-boost-formats :is(a.indecor-collection-format-link,summary) {
  display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;
  padding:2px 6px!important;margin:0!important;border:1px solid rgba(255,255,255,.94)!important;
  border-radius:8px!important;background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.3))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 3px 8px rgba(49,40,29,.1)!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  text-decoration:none!important;line-height:1.35!important;cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
html body#main#main .indecor-boost-formats summary {list-style:none!important;}
html body#main#main .indecor-boost-formats summary::-webkit-details-marker {display:none;}
html body#main#main .indecor-boost-formats :is(a.indecor-collection-format-link,summary):focus-visible {
  outline:2px solid #ac1e24;outline-offset:2px;
}
@media(hover:hover){
 html body#main#main .indecor-boost-formats :is(a.indecor-collection-format-link,summary):hover {
  transform:translateY(-1px);box-shadow:inset 0 1px 0 #fff,0 5px 10px rgba(49,40,29,.16)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body#main#main .indecor-boost-formats :is(a.indecor-collection-format-link,summary) {transition:none;}
}
html body#main#main:has([data-indecor-boost-pilot]) #sec-products .title-offers {scroll-margin-top:100px;}
html body#main#main .indecor-boost-formats .indecor-collection-format-link::before {content:none!important;}
html body#main#main .indecor-boost-formats__details {margin-top:5px;}
html body#main#main .indecor-boost-formats__details summary {cursor:pointer;color:#242321!important;font-size:inherit;line-height:1.4;width:fit-content;}
html body#main#main .indecor-boost-formats__details summary span {color:inherit!important;font-size:inherit!important;}
html body#main#main .indecor-boost-formats__extra {margin-top:6px;}
html body#main#main .indecor-boost-formats__details:not([open]) .indecor-boost-formats__extra {display:none!important;}
html body#main#main .indecor-boost-formats__opened {display:none;}
html body#main#main .indecor-boost-formats__details[open] .indecor-boost-formats__opened {display:inline;}
html body#main#main .indecor-boost-formats__details[open] .indecor-boost-formats__closed {display:none;}
html body#main#main #sec-products [data-indecor-boost-pilot] > .products-el {
  display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__body {
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  height:auto!important;min-height:0!important;min-width:0!important;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__info {
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  min-height:0!important;margin-bottom:0!important;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__title {
  display:block!important;flex:0 0 auto!important;height:auto!important;
  min-height:var(--indecor-boost-title-height,0px)!important;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock {
  margin-top:auto!important;padding-top:10px;padding-bottom:8px;min-height:2.9em;
  box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock .rest {
  margin:0!important;font-size:calc(1em + 1px)!important;line-height:1.4!important;
}
/* Exact existing text colour of the site's "Под заказ" badge. */
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock .rest:is([data-has-free-stock="0"],[data-indecor-availability="unavailable"]) {
  color:#805714!important;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__cost {
  flex:0 0 auto!important;margin-top:0!important;
}
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-compact-price-row {
  flex:0 0 auto!important;margin-top:0!important;
}
/* Reserve room for the existing favourite button; keep the existing pill component unchanged. */
html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__sale.stickers {
  max-width:calc(100% - 52px)!important;
}
/* Long existing labels wrap inside their existing pill instead of exceeding its background. */
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-status-badge {
  white-space:normal!important;text-align:center!important;overflow-wrap:normal!important;
}
@media(max-width:1024px){
 html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-compact-price-row {
  border-top:1px solid #ebe6df!important;padding-top:10px!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-compact-price-row .products-el__cost {
  border-top:0!important;padding-top:0!important;
 }
}
/* Boost compact page: use the phone factory page's full available width. */
@media(max-width:1024px){
 html body#main#main:has([data-indecor-boost-pilot]) #content :is(.wrapper_inner,.container_inner,.right_block,.middle),
 html body#main#main:has([data-indecor-boost-pilot]) #content .middle > .container,
 html body#main#main:has([data-indecor-boost-pilot]) #content .indecor-collection-page,
 html body#main#main:has([data-indecor-boost-pilot]) #content .indecor-collection-page .container {
  box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;
  padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) #sec-products .top_wrapper {
  width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;
 }
 html body#main#main:has([data-indecor-boost-pilot]) #sec-products .block-products {
  width:100%!important;max-width:100%!important;column-gap:12px!important;row-gap:18px!important;
 }
}
@media(max-width:767px){
 html body#main#main:has([data-indecor-boost-pilot]) #sec-products .block-products {
  column-gap:6px!important;row-gap:10px!important;
 }
}
/* Compact Boost cards: larger uncut swatches, denser text, aligned bottom row. */
@media(max-width:767px){
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__title {
  font-size:14.5px!important;line-height:1.25!important;
 }
}
@media(max-width:1024px){
 html body#main#main #sec-products [data-indecor-boost-pilot] > .products-el {
  padding:3px 3px 5px!important;
  --indecor-boost-image-width:98%;--indecor-boost-image-height:98%;
  --indecor-boost-image-turned-width:98cqh;--indecor-boost-image-turned-height:98cqw;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__top {
  aspect-ratio:1.2 / 1!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__topWrap {
  margin-bottom:0!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__body {
  padding:12px 7px 0!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__title {
  margin:0 0 4px!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__info {
  margin-top:0!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__info > p {
  margin:2px 0!important;line-height:1.35!important;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock {
  padding-top:8px;padding-bottom:6px;min-height:2.7em;
 }
 html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-compact-price-row {
  padding-top:8px!important;padding-bottom:0!important;align-items:center!important;
 }
}

/* Preserve every stock adapter's actual HTML, including incoming stock and sale multiples. */
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock :is(p,.indecor-adex-stock){margin:0!important;font-size:calc(1em + 1px)!important;line-height:1.4!important;}
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock[data-availability-positive="0"] :is(p,.indecor-adex-stock){color:#805714!important;}
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-boost-pilot-stock[data-availability-positive="1"] :is(p,.indecor-adex-stock){color:#39754c!important;}
html body#main#main #sec-products [data-indecor-boost-pilot] .indecor-ten-sale-condition{font-size:inherit!important;color:inherit!important;}

/* Keep collection-card status labels closer to the top edge. */
html body#main#main #sec-products [data-indecor-boost-pilot] .products-el__sale.stickers {top:4px!important;}
