/* jh115-v4-dresscode-reconstruct: Archive CDX empty for dresscode/*; wrong bitlate sibling rejected */
:root{--dc-bg:#fff;--dc-muted:#666;--dc-line:#e5e5e5;--dc-accent:#c62828;--dc-accent2:#1565c0;--dc-dark:#222;--dc-soft:#f7f7f7;--dc-ok:#2e7d32}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--dc-bg);color:var(--dc-dark);font:14px/1.45 "Roboto","Open Sans",Arial,Helvetica,sans-serif}
a{color:var(--dc-accent2);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;border:0;vertical-align:middle}
ul{list-style:none;margin:0;padding:0}
.clear,.clearfix{clear:both}
body.loading #foundation{opacity:1}

/* hide chrome that should be modal/hidden */
.webformModal,.webFormDwModal,#webFormDwModal_5,.webformModalContainer,
.webFormModalHeadingExit,.webformModalHideScrollBar{display:none!important}
#webFormMessage_5,.webFormMessage{display:none!important}
#searchResult,#searchOverlap{display:none!important}
.dropdown .drop,.nested{display:none}
.allow-dropdown:hover .drop,.allow-dropdown:hover .nested,.allow-dropdown:focus-within .drop{display:block}

#foundation{min-width:980px}
.limiter{width:980px;margin:0 auto;position:relative}

/* top bar */
#subHeader6{background:#fafafa;border-bottom:1px solid var(--dc-line);padding:10px 0}
#subHeader6 .subTable{display:table;width:100%;table-layout:fixed}
#subHeader6 .subTableColumn{display:table-cell;vertical-align:middle}
#subHeader6 .subTableColumn:nth-child(1){width:28%}
#subHeader6 .subTableColumn:nth-child(2){width:44%}
#subHeader6 .subTableColumn:nth-child(3){width:28%}
#topAuth ul{display:flex;gap:14px;font-size:13px}
#topAuth a{color:var(--dc-muted)}
#topSearch2 .searchContainerInner{display:flex;align-items:center;gap:0;border:1px solid #ccc;border-radius:3px;background:#fff;overflow:hidden}
#topSearch2 .searchContainer{display:flex;flex:1}
#topSearch2 input#searchQuery{width:100%;border:0;padding:10px 12px;font-size:14px;outline:none}
#topSearch2 #goSearch,#topSearch2 button,#topSearch2 .searchColumn:last-child{
  background:var(--dc-accent);color:#fff;border:0;padding:10px 16px;cursor:pointer;min-width:44px}
.subPhones{text-align:right;line-height:1.35}
.subPhones .heading{display:block;font-size:16px;font-weight:700;color:var(--dc-dark)}
.subPhones a{color:var(--dc-accent2);font-size:12px}

/* logo row */
#logo{display:inline-block;margin-right:12px}
#logo img{height:52px;width:auto;max-width:180px;background:linear-gradient(135deg,#c62828,#1565c0);border-radius:6px;padding:4px;object-fit:contain}
#logo span{display:inline-flex;align-items:center;gap:10px}
#logo span::after{content:"РЕЗ-БИ";font-weight:800;font-size:28px;letter-spacing:1px;color:var(--dc-accent);line-height:1}
#topHeading p{margin:6px 0 0;color:var(--dc-muted);font-size:13px;max-width:360px}

/* main nav */
#headerLine3{background:var(--dc-dark);margin:0 0 18px}
#headerLine3 .headerLineMenu ul#subMenu{display:flex;flex-wrap:wrap;gap:0}
#headerLine3 .headerLineMenu li{border-right:1px solid #333}
#headerLine3 .headerLineMenu a{display:block;padding:14px 16px;color:#fff;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.02em}
#headerLine3 .headerLineMenu a:hover{background:var(--dc-accent);text-decoration:none}

/* flush tools under header */
#flushTopCompare,#flushTopwishlist,#flushTopCart,.flushTop{
  display:inline-flex;align-items:center;gap:8px;margin:0 10px 12px 0;padding:8px 12px;background:var(--dc-soft);border:1px solid var(--dc-line);border-radius:4px;font-size:13px;color:var(--dc-muted)}

/* layout columns */
#main,.mainContainer,.content{display:block}
.leftColumn,#left,.leftBlock{float:left;width:240px;margin:0 20px 30px 0}
.rightColumn,#right,.centerBlock,.contentRight{overflow:hidden}
.sideBlock{background:#fff;border:1px solid var(--dc-line);border-radius:4px;margin:0 0 16px;padding:12px}
.sideBlock .heading{font-size:15px;font-weight:700;margin:0 0 10px;padding:0 0 8px;border-bottom:2px solid var(--dc-accent)}

/* catalog menu */
.menuItems a.menuLink,.menuLink{display:block;padding:8px 10px;border-bottom:1px solid var(--dc-line);color:var(--dc-dark);font-size:13px}
.menuLink:hover{background:#fff5f5;color:var(--dc-accent);text-decoration:none}
.menuItems .item{position:relative}
.menuItems .icon{display:inline-block;width:18px;height:18px;margin-right:6px;vertical-align:middle;background:#eee;border-radius:2px}

/* product sections */
.heading{font-size:20px;font-weight:700;margin:0 0 14px;color:var(--dc-dark)}
.productTable,.items,.productList{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 24px}
.product,.cItem,.productColImage,.tabloid{background:#fff;border:1px solid var(--dc-line);border-radius:6px;overflow:hidden}
.product{width:calc(25% - 12px);min-width:180px;display:flex;flex-direction:column}
.product .picture,.productColImage,.pictureLink{display:block;aspect-ratio:1;background:var(--dc-soft);text-align:center;padding:10px}
.product .picture img,.picture img{max-height:160px;object-fit:contain}
.product .name,.nameWrap,.name{font-size:13px;line-height:1.35;padding:8px 10px;min-height:3.2em}
.product .price,.price{font-size:16px;font-weight:700;color:var(--dc-accent);padding:0 10px 8px}
.btn-simple,.addCart,.btn-micro{display:inline-block;background:var(--dc-accent);color:#fff!important;border:0;border-radius:3px;padding:8px 12px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none!important;margin:0 10px 12px}
.btn-simple:hover,.addCart:hover{filter:brightness(1.05)}
.markerContainer{position:absolute;top:8px;left:8px}
.marker{background:var(--dc-accent);color:#fff;font-size:11px;padding:2px 6px;border-radius:2px}

/* news / subscribe */
.newsBlock,.subscribe{background:var(--dc-soft);border:1px solid var(--dc-line);border-radius:6px;padding:16px;margin:20px 0}
.formLine{margin:0 0 10px}
.formLine input[type=text],.formLine input[type=email],.inputtext{
  border:1px solid #ccc;border-radius:3px;padding:8px 10px;width:100%;max-width:320px}

/* footer */
#footer,footer,.footer{clear:both;background:#1a1a1a;color:#ccc;padding:28px 0;margin-top:30px;font-size:13px}
#footer a,footer a,.footer a{color:#ddd}
#footer .limiter,.footer .limiter{display:flex;flex-wrap:wrap;gap:24px}

/* utility visibility for index panels */
.panels_white #foundation{background:#fff}
.verticalBlock{display:block}
.subTableColumn .verticalBlock > div{margin:0 0 6px}

/* catalog page list polish */
#catalog,.catalogContainer{overflow:hidden}
.sectionList .item{padding:10px 0;border-bottom:1px solid var(--dc-line)}

@media (max-width:1000px){
  #foundation{min-width:0}
  .limiter{width:auto;padding:0 12px}
  .leftColumn,#left{float:none;width:auto}
  .product{width:calc(50% - 10px)}
}


/* jh115-v4-dresscode-reconstruct round2 polish */
#subHeader6 .subTableColumn:nth-child(1){width:22%}
#subHeader6 .subTableColumn:nth-child(2){width:38%}
#subHeader6 .subTableColumn:nth-child(3){width:40%}
#logo span::after{content:none}
#logo img{height:56px;width:auto;max-width:200px;background:none;padding:0;border-radius:0}
#flushTopCompare,#flushTopwishlist,#flushTopCart,.flushTop{
  float:right;margin:8px 0 8px 8px}
#headerLine3{clear:both}
/* catalog sections as cards */
.limiter .getProductByGroup,.catalog-section-list,.sectionItems{display:flex;flex-wrap:wrap;gap:16px}
.elem,.elem-wrap,.elem-column{display:inline-block;vertical-align:top;width:220px;margin:0 12px 18px 0;border:1px solid #e5e5e5;border-radius:6px;background:#fff;overflow:hidden}
.elem .bg,.elem-wrap .bg{display:block;height:140px;background:#f5f5f5 center/cover no-repeat}
.elem .text-wrap,.elem .descr{padding:10px}
.elem .name,.elem .descr .name{font-weight:600;font-size:14px;min-height:2.6em}
.btn-simple{margin:8px 10px 12px}
/* left catalog cleaner */
#left,.leftBlock,.sideColumn{width:250px}
#main{overflow:hidden;padding-bottom:40px}
.sideBlock .heading{color:#c62828}
/* news list */
.newsList .item,.sideBlock .item{padding:8px 0;border-bottom:1px solid #eee;font-size:13px}
/* hide leftover absolute-offscreen */
[style*="left:-9999px"]{display:none!important}


/* jh115-v4-dresscode-reconstruct round3 layout */
#main.color_white{background:#fff;padding:0 0 40px}
#main > .limiter{display:block}
#main .compliter{display:flex;align-items:flex-start;gap:20px}
#left{float:none;width:260px;flex:0 0 260px}
#right{float:none;flex:1;min-width:0}
#catalogMenuHeading{display:block;background:#c62828;color:#fff!important;padding:12px 14px;border-radius:4px 4px 0 0;font-size:15px;text-decoration:none!important;margin:0}
#catalogMenuHeading ins{display:none}
#leftMenu{border:1px solid #e5e5e5;border-top:0;background:#fff;margin:0 0 16px;padding:0}
#leftMenu > li{border-bottom:1px solid #eee}
#leftMenu .menuLink{display:block;padding:0;color:#222;text-decoration:none}
#leftMenu .tb{display:flex;align-items:center;gap:8px;padding:8px 10px}
#leftMenu .pc img{width:24px;height:24px;object-fit:contain}
#leftMenu .link-title{font-size:13px}
#leftMenu .drop{display:none;position:static;background:#fafafa;padding:6px 8px 10px 36px}
#leftMenu .allow-dropdown:hover > .drop,#leftMenu .eChild:hover > .drop{display:block}
#leftMenu .drop .menuLink{padding:4px 0;font-size:12px;color:#444}
#leftMenu .drop img{max-width:100%;height:auto;margin:0 0 4px;border-radius:3px}
#left .sideBlock,#left .collapsed{margin:0 0 14px}

#promoBlock,#sliderBlock{margin:0 0 18px}
#slider{position:relative;height:280px;border-radius:8px;overflow:hidden;background:#1a237e linear-gradient(135deg,#0d47a1,#b71c1c)}
#slider .slideBox{margin:0;padding:0;height:100%}
#slider .slideBox li{list-style:none;height:100%;position:relative}
#slider .sliderContent{display:block!important;position:absolute;left:40px;bottom:40px;z-index:2;color:#fff}
#slider .bigText{font-size:28px;font-weight:700;line-height:1.2;text-shadow:0 2px 8px rgba(0,0,0,.35)}
#slider .bigText.whiteColor{color:#fff}
#slider .cButton,.cButton{display:inline-block;margin-top:14px;background:#c62828;color:#fff!important;padding:10px 18px;border-radius:4px;text-decoration:none!important;font-weight:600}
#slider .slideBox li > span[data-large],#slider .slideBox li > span[data-normal]{
  display:block;position:absolute;inset:0;background-size:cover;background-position:center;opacity:.85}
#slider .sliderBtnLeft,#slider .sliderBtnRight{display:none}

.index-banners{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 22px}
.elem-column{width:calc(33.333% - 10px);min-width:200px;margin:0}
.elem-wrap{display:block;text-decoration:none!important;color:inherit}
.elem{border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;background:#fff;transition:box-shadow .15s}
.elem:hover{box-shadow:0 6px 18px rgba(0,0,0,.08)}
.elem .bg{height:160px;background-color:#f3f3f3;background-size:cover;background-position:center}
.elem .text-wrap{padding:12px 14px 14px}
.elem .name{font-size:15px;font-weight:700;color:#222;min-height:2.4em}
.elem .btn-simple{margin:8px 0 0}

.popSection{margin:0 0 24px}
.popSection .heading{font-size:20px;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid #c62828}
.productTable{display:flex;flex-wrap:wrap;gap:14px}
.productTable .product{width:calc(25% - 12px)}


/* jh115 round4 header/products */
#subHeader6 .subTable{display:flex;align-items:center;gap:16px}
#subHeader6 .subTableColumn{display:block;width:auto!important;flex:1}
#subHeader6 .subTableColumn:nth-child(1){flex:0 0 220px}
#subHeader6 .subTableColumn:nth-child(2){flex:1}
#subHeader6 .subTableColumn:nth-child(3){flex:0 0 260px;text-align:right}
#logo{order:-1}
#flushTopCompare,#flushTopwishlist,#flushTopCart{float:none;display:inline-flex;margin:4px}
.product .picture img,.productColImage img,.getFastView img{max-height:180px;width:auto;margin:0 auto;display:block}
.productColImage,.picture{min-height:160px;background:#fafafa}
.nameWrap .price, .price{white-space:nowrap}

/* rez-bi-css-20261118
   Product badges were position:absolute against the content .limiter, so every
   «новинка» covered «Каталог товаров». .productTable is the inside of one card;
   the list flex rule was stretching that inner table. Bitlate rules are not in
   this file. */
.tabloid, .item.product { position: relative; height: auto; }
.items.productList {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
.item.product {
  width: calc(33.333% - 8px);
  max-width: 220px;
  min-width: 160px;
  box-sizing: border-box;
  overflow: hidden;
}
.item.product .tabloid {
  border: 0;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}
.item.product .productTable {
  display: block;
  width: 100%;
  height: auto;
}
.item.product .productColImage,
.item.product .productColText {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  float: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.item.product .picture {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: #fafafa;
  padding: 8px;
  box-sizing: border-box;
}
.item.product .picture img {
  width: 100%;
  height: 150px;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.item.product .getFastView {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  display: block;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  background: rgba(255,255,255,.92);
  color: #1565c0;
  padding: 2px 4px;
}
.item.product .name,
.item.product .price {
  display: block;
  width: auto;
  min-height: 0;
  height: auto;
}
.item.product .addCartContainer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 10px 8px;
}
.item.product .addCart img.icon { display: none; }
.item.product .quantityWrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
}
.item.product input.quantity {
  width: 36px;
  border: 0;
  text-align: center;
  padding: 4px 0;
  font-size: 13px;
}
.item.product .minus,
.item.product .plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #333;
  text-decoration: none;
}
.item.product .minus::before { content: "–"; }
.item.product .plus::before { content: "+"; }
.item.product .optional { padding: 0 8px 8px; }
.item.product .optional .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  height: auto;
  margin: 0;
  padding: 2px 0;
}
.item.product .optional .label,
.item.product .optional a.label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: auto;
  font-size: 12px;
  line-height: 1.2;
}
.item.product .optional img.icon,
.item.product .fastBack img,
.item.product .addCompare img,
.item.product .addWishlist img,
.item.product .inStock img {
  width: 16px;
  height: 16px;
  max-width: 16px;
  object-fit: contain;
}
#subHeader6 .subTable { display: flex; align-items: flex-start; gap: 12px; }
#subHeader6 .subTableColumn:nth-child(1) { flex: 1 1 280px; width: auto; min-width: 250px; max-width: 340px; }
#subHeader6 .subTableColumn:nth-child(2) { flex: 0 0 230px; width: auto; min-width: 210px; }
#subHeader6 .subTableColumn:nth-child(3) { flex: 1 1 300px; width: auto; min-width: 260px; }
#topHeading p { max-width: none; }
#topSearch2, #topSearchLine, #topSearchForm { width: 100%; max-width: none; }
#topSearch2 .searchContainerInner,
#topSearch2 .searchContainer,
#topSearch2 .searchColumn:first-child { min-width: 0; flex: 1 1 auto; }
#topSearch2 input#searchQuery { width: 100%; min-width: 0; }
#footer, #footer .rightColumn, #footer td, #rowFooter, #leftFooter { overflow: visible; }
#rowFooter { display: flex; align-items: flex-start; gap: 28px; padding: 8px 24px 0; box-sizing: border-box; }
#leftFooter { flex: 1 1 68%; width: auto; display: block; min-width: 0; }
#rightFooter { flex: 1 1 28%; min-width: 220px; }
#leftFooter .footerRow { display: flex; flex-wrap: wrap; gap: 12px 28px; }
#leftFooter .column { flex: 1 1 150px; min-width: 140px; overflow: visible; }
#footer .heading { color: #fff; font-size: 15px; display: block; margin: 0 0 8px; }
#footer .logo, #rightFooter .logo { float: none; position: static; display: block; margin: 0 0 10px; }
#footer .logo img { height: 36px; width: auto; max-width: 150px; background: transparent; }
img[src*="1674680339_grizly"] { max-width: 40px !important; height: auto !important; }
#footer img[src*="dw.png"], #footerBottom img[src*="dw.png"] { display: none !important; }
img[src*="catalog.subscribe"], img[src*="elementNavIco"], img[src*="/empty.png"] { display: none !important; }
.pictureSlider {
  clear: both;
  width: 680px;
  max-width: calc(100% - 40px);
  height: auto;
  margin: 12px 0 12px max(16px, calc((100% - 980px) / 2 + 280px));
}
.pictureSlider .picture, .pictureSlider img {
  width: auto;
  height: auto;
  max-width: 420px;
  max-height: 360px;
  aspect-ratio: auto;
  overflow: visible;
  display: block;
}
#rightFooter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; }
#footer .logo { flex: 0 0 auto; }
/* banners: one even grid, not tall stacked columns */
.index-banners {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  height: auto !important;
}
.index-banners .elem-column {
  display: contents;
  max-width: none;
  width: auto;
  height: auto;
  flex: none;
}
.index-banners .elem-wrap {
  display: block;
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
}
.index-banners .elem,
.index-banners .bg {
  height: 148px;
  background-size: cover;
  background-position: center;
}
.index-banners .text-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
}
.index-banners .name { color: #fff; font-size: 14px; font-weight: 700; }
.index-banners .btn-simple { margin-top: 6px; }
/* offer tabs in a row */
#homeCatalog .captionList,
#captionCarousel,
#captionCarousel .slideBox {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 6px;
  height: auto !important;
  width: auto !important;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
#captionCarousel .cItem { width: auto !important; min-width: 0; display: inline-flex; }
#captionCarousel .caption a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #222;
  text-decoration: none;
}
#captionCarousel .selected a { background: #c62828; color: #fff !important; border-color: #c62828; }
/* popular categories: two columns, not a stack of pages */
#popSection .items {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: auto !important;
  width: 100%;
}
#popSection .item {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
}
#popSection .item img { max-height: 110px; max-width: 100%; width: auto; object-fit: contain; }
#popSection > a { display: block; font-size: 20px; font-weight: 700; color: #222; margin: 0 0 12px; text-decoration: none; }
/* the bar under the black footer is the same footer, not a second site */
#footerLine {
  background: #111;
  color: #ddd;
  clear: both;
  margin: 0;
  padding: 0;
}
#footerLine .wrapper {
  width: 980px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 8px 0;
  box-sizing: border-box;
}
#footerLine .col, #flushFooterCart { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
#footerLine .item { display: inline-flex; align-items: center; }
#footerLine a { color: #eee; text-decoration: none; font-size: 13px; }
#subHeader6 .subTableColumn:nth-child(2) { min-width: 230px; }
#subHeader6 .subTableColumn:nth-child(2) .heading,
#subHeader6 .subTableColumn:nth-child(2) a { white-space: nowrap; }
#left .sideBlock.banner { display: none !important; }
#footer img[src*="grizly"],
#footer img[src*="dw.png"] { display: none !important; }
#breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  height: auto !important;
}
#breadcrumbs li { display: inline; width: auto !important; }
#catalogLine {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 22px;
  height: auto !important;
}
#catalogLine > .column { width: auto !important; height: auto !important; flex: 0 1 auto; }
#catalogLine .dropDownList { position: relative; height: auto !important; }
#catalogLine .dropDownSelected {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 4px 10px;
  background: #fff;
}
#catalogLine .dropDownItems {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 6;
  min-width: 180px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
#catalogLine .dropDownList:hover .dropDownItems,
#catalogLine .dropDownList:focus-within .dropDownItems { display: block; }
.catalogSubscribeSuccess, .catalogSubscribeError { display: none; }
/* product element is the next block after #main, and #main was as tall as the left menu */
body:has(#catalogElement) #main,
body:has(#catalogElement) #main .limiter,
body:has(#catalogElement) #main .compliter { overflow: visible; }
body:has(#catalogElement) #main .compliter { position: relative; }
body:has(#catalogElement) #left { position: absolute; top: 0; left: 0; width: 260px; }
body:has(#catalogElement) #right { margin-left: 280px; width: auto; float: none; overflow: visible; height: auto; }
body:has(#catalogElement) #foundation > div:has(#catalogElement) {
  width: 700px;
  max-width: calc(100% - 320px);
  margin-left: calc((100% - 980px) / 2 + 280px);
  margin-right: auto;
}
#elementSmallNavigation { display: none; }
#elementNavigation .tabs { display: flex; flex-wrap: wrap; gap: 6px; height: auto !important; }
#elementNavigation .tab { width: auto !important; height: auto !important; }
#elementNavigation .tab a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #222;
  background: #fff;
}
#elementNavigation .tab.active a { background: #c62828; color: #fff; border-color: #c62828; }
#elementNavigation .tab.disabled a { color: #888; }
#elementNavigation .tab img { display: none; }
#tableContainer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  column-gap: 16px;
  align-items: start;
  height: auto !important;
  width: 100%;
}
#elementNavigation { grid-column: 1 / -1; }
#elementContainer { display: contents; }
#browse { grid-column: 1; grid-row: 2; display: block; max-width: 100%; min-width: 0; }
#elementContainer > *:not(#browse) { grid-column: 1 / -1; }
#browse .col, #browse .secondCol, #detailText, .changePropertiesGroup { max-width: 100%; min-width: 0; }
#elementContainer, #browse, .advantagesDetail, .advantagesDetailCarousel { height: auto !important; }
#elementTools { grid-column: 2; grid-row: 2; width: auto; position: static; }
#elementTools .fixContainer { position: static !important; width: auto !important; height: auto !important; }
#smallElementTools { display: none; }
#browse img { width: auto; height: auto; max-width: 220px; max-height: 160px; }
/* popups that the missing stylesheet left in the page flow */
#elementError, .cheaper-product-name, a.hidden, .fast-deliveries-container { display: none; }
#elementTools .qtyBlockContainer { display: inline-flex; align-items: center; }
#elementTools .minus, #elementTools .plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border: 1px solid #ccc; background: #fff;
  text-decoration: none; color: #222;
}
#elementTools .minus::before { content: "−"; }
#elementTools .plus::before { content: "+"; }
#elementTools .qty { width: 36px; height: 22px; text-align: center; }
.advantagesPicture { display: none; }
#elementTools img[src*="fastBack.png"] { display: none; }
#catalogLine .column:has(.viewList) { display: none; }
#footer .email, #footer .email a { white-space: nowrap; }
#topHeading p { white-space: nowrap; }
#subHeader6 { padding: 6px 0 34px; }
#subHeader6 .limiter {
  display: grid;
  grid-template-columns: 156px minmax(260px, 1fr) max-content max-content max-content;
  column-gap: 22px; row-gap: 0; align-items: center;
  width: 980px; max-width: 980px; margin: 0 auto; box-sizing: border-box; padding: 0;
}
#subHeader6 .subTable,
#subHeader6 .subTableColumn:not(:nth-child(3)),
#subHeader6 .subTableColumn:not(:nth-child(3)) .verticalBlock { display: contents; }
#subHeader6 .subTableColumn:nth-child(3) {
  grid-column: 1; grid-row: 2; position: relative; display: flex; align-items: center; align-self: center;
  width: 156px; min-width: 156px; max-width: 156px; height: 36px;
}
#subHeader6 .subTableColumn:nth-child(3) .verticalBlock {
  display: flex; align-items: center; width: 100%; height: 36px;
}
#topAuth {
  grid-column: 1 / -1; grid-row: 1; justify-self: end;
  display: flex; justify-content: flex-end; margin: 0; padding: 0 0 8px;
}
#topAuth ul { display: flex; margin: 0; padding: 0; list-style: none; justify-content: flex-end; gap: 16px; }
#topAuth a { color: #777; font-size: 12px; font-weight: 400; text-decoration: none; }
#geoPosition { display: none; }
#logo { margin: 0; line-height: 0; background: none; border: 0; }
#logo img { display: none; }
#logo span, #logo a { display: flex; align-items: center; height: 36px; background: none; text-decoration: none; }
#logo span::after, #logo a::after {
  content: "РЕЗ-БИ";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 36px;
  letter-spacing: 0.04em;
  color: #c62828;
  background: none;
}
#topSearchLine {
  grid-column: 2; grid-row: 2; align-self: center; justify-self: stretch;
  width: auto; min-width: 0; max-width: none; margin: 0;
}
#topSearchLine, #topSearch2, #topSearchForm,
#topSearch2 .searchContainer, #topSearch2 .searchContainerInner {
  height: 36px; align-items: center;
}
#topSearch2 .searchContainer,
#topSearch2 .searchContainerInner,
#topSearchForm { display: flex; width: 100%; }
#topSearch2 .searchColumn { height: 36px; display: flex; align-items: center; }
#topSearch2 .searchColumn:first-child { flex: 1 1 auto; min-width: 0; }
#topSearch2 .searchColumn:last-child { position: relative; flex: 0 0 auto; }
#topSearch2 #goSearch {
  color: transparent; font-size: 0; width: 64px; min-width: 64px; height: 36px;
  align-self: center; padding: 0; line-height: 36px;
}
#topSearch2 .searchColumn:last-child::after {
  content: "Найти"; position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 14px; line-height: 36px; pointer-events: none;
}
#topSearch2 input#searchQuery {
  width: 100%; height: 36px; align-self: center; box-sizing: border-box; padding: 0 14px;
  line-height: 36px; border-width: 1px;
  font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 400;
}
#subHeader6 .subPhones {
  grid-column: 4; grid-row: 2; justify-self: end; align-self: center;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 1px; margin: 0; line-height: 1.25; text-align: right;
}
#subHeader6 .subPhones .heading {
  display: block; margin: 0; white-space: nowrap; font-size: 14px; font-weight: 700; color: #222;
}
#subHeader6 .subPhones .callBack {
  margin: 2px 0 0; white-space: nowrap; font-size: 12px; font-weight: 400; color: #1a5fb4; text-decoration: none;
}
#subHeader6 .toolsContainer { display: contents; }
#subHeader6 .topCompare, #subHeader6 .topWishlist {
  grid-column: 3; grid-row: 2; justify-self: start;
  display: flex; align-items: center; margin: 0;
}
#subHeader6 .topCompare { align-self: center; margin-bottom: 17px; }
#subHeader6 .topWishlist { align-self: center; margin-top: 17px; }
#subHeader6 .cart { grid-column: 5; grid-row: 2; justify-self: end; align-self: center; margin: 0; }
#flushTopCompare, #flushTopwishlist {
  display: flex; flex-direction: row; align-items: center; gap: 5px; margin: 0; float: none;
  background: none; border: 0; padding: 0; font-size: 12px; font-weight: 400; line-height: 1; white-space: nowrap; color: #444;
}
#flushTopCompare a, #flushTopwishlist a,
#flushTopCompare a.text, #flushTopwishlist a.text,
#flushTopCompare a.link, #flushTopwishlist a.link {
  display: inline-flex; align-items: center; margin: 0; background: none; border: 0; padding: 0;
  color: #444; text-decoration: none; font-size: 12px; font-weight: 400;
}
#flushTopCompare .value, #flushTopwishlist .value { font-size: 13px; font-weight: 700; color: #222; }
#flushTopCompare .label, #flushTopwishlist .label { color: #444; font-weight: 400; }
#flushTopCompare .icon, #flushTopwishlist .icon { display: none; }
#flushTopCart {
  display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; float: none;
  background: #fff; border: 1px solid #c62828; border-radius: 4px; padding: 5px 10px 5px 6px; white-space: nowrap;
}
#flushTopCart .count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  padding: 0 5px; border-radius: 11px; background: #c62828; color: #fff; font-size: 13px; font-weight: 700;
}
#flushTopCart .heading { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; margin: 0; }
#flushTopCart .cartLabel { display: block; font-size: 14px; font-weight: 700; color: #222; }
#flushTopCart .total { display: block; font-size: 12px; font-weight: 400; color: #555; }
#topHeading { position: absolute; top: 40px; left: 0; width: 156px; max-width: 156px; margin: 0; }
#topHeading p {
  white-space: normal; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.3;
  font-weight: 400; color: #555; text-align: left; max-width: 156px; margin: 0;
}
img[src*="cheaper.png"], img[src*="delivery.png"], img[src*="addReviewSmall.png"], img[src*="reviews.png"] { display: none; }
.advantagesItems { display: flex !important; flex-wrap: wrap; gap: 8px; height: auto !important; }
.advantagesItem { flex: 1 1 200px; width: auto !important; height: auto !important; }
#appFastBuy, #requestPrice {
  display: none;
  position: fixed;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: min(480px, calc(100% - 24px));
  max-height: calc(100vh - 80px);
  overflow: auto;
  background: #fff;
  z-index: 80;
  padding: 16px;
}

/* rez-bi-marker-on-photo */
#browse.mainContainer > .col { position: relative; }
#pictureContainer { position: relative; }
#browse.mainContainer > .col > .markerContainer {
  position: absolute;
  z-index: 6;
  margin: 0;
  width: max-content;
  top: 20px;
  left: calc(8px + max(16px, (100% - 980px) / 2 + 280px));
}
#browse.mainContainer > .col > .wishCompWrap {
  position: absolute;
  z-index: 6;
  top: 12px;
  right: 8px;
  width: max-content;
}
.tabloid { position: relative; }

/* rez-bi-logo-lockup */
#subHeader6 .limiter {
  grid-template-columns: 236px minmax(180px, 1fr) max-content max-content max-content;
}
#subHeader6 .subTableColumn:nth-child(3),
#subHeader6 .subTableColumn:nth-child(3) .verticalBlock {
  display: contents;
}
#subHeader6 #topHeading {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  width: 236px;
  margin: 0;
  z-index: 2;
}
#subHeader6 #topHeading p {
  white-space: normal;
  margin: 0 0 4px;
  color: #8a8a8a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}
#subHeader6 #logo {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
  width: 236px;
  height: 36px;
  margin: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
#subHeader6 #logo span,
#subHeader6 #logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  text-decoration: none;
  background: none;
}
#subHeader6 #logo span::before,
#subHeader6 #logo a::before {
  content: "РБ";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  box-sizing: border-box;
  background: #c62828;
  color: #fff;
  border-radius: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
}
#subHeader6 #logo span::after,
#subHeader6 #logo a::after {
  content: "РЕЗ-БИ";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.06em;
  color: #c62828;
  background: none;
}

/* rez-bi-logo-tagline-row */
#subHeader6 .limiter {
  grid-template-columns: max-content minmax(200px, 1fr) max-content max-content max-content;
}
#subHeader6 #topAuth {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  margin: 0;
  padding: 0;
  z-index: 3;
}
#subHeader6 #topAuth ul { align-items: center; }
#subHeader6 #topAuth a {
  color: #777;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
#subHeader6 #topHeading {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  width: max-content;
  max-width: calc(100% - 180px);
  margin: 0;
  z-index: 3;
}
#subHeader6 #topHeading p {
  white-space: nowrap;
  margin: 0;
  padding: 0;
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
}
#subHeader6 #logo {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
  width: auto;
  height: 36px;
  margin: 0;
}

/* rez-bi-logo-tagline-static */
#subHeader6 #topHeading {
  position: static;
  top: auto;
  left: auto;
  width: max-content;
  max-width: calc(100% - 180px);
}

/* rez-bi-catalog-grid */
#main .compliter { display: flex; align-items: flex-start; gap: 24px; }
#left { flex: 0 0 230px; width: 230px; }
#main .compliter > *:not(#left) { flex: 1 1 auto; min-width: 0; }
#catalogSection .sectionItems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}
#catalogSection .item { min-width: 0; background: none; border: 0; }
#catalogSection .itemContainer { display: flex; flex-direction: column; }
#catalogSection .column,
#catalogSection .column.bigPicture { width: 100%; float: none; }
#catalogSection .bigPicture a { display: block; background: #fafafa; border-radius: 4px; }
#catalogSection .bigPicture img {
  display: block; width: 100%; height: 150px; object-fit: contain; background: #fafafa;
}
#catalogSection .bigTitle {
  display: block; margin: 8px 0 0; font-size: 13px; font-weight: 700;
  line-height: 1.3; color: #222; text-decoration: none;
}
#catalogSection .sectionList { display: none; }
#footerTabsCaption, #footerTabs {
  width: 980px; max-width: calc(100% - 32px); margin-left: auto; margin-right: auto;
}
#footerTabsCaption { margin-top: 28px; }
#footerTabsCaption .item a {
  color: #222; font-size: 18px; font-weight: 700; text-decoration: none;
}
#topProduct .slideBox.productList {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; list-style: none; margin: 0; padding: 0; width: 100%;
}
#topProduct .slideBox > li {
  width: auto !important; margin: 0 !important; float: none !important; list-style: none;
}
#topProduct .tabloid {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid #e5e5e5; border-radius: 6px; background: #fff;
  overflow: hidden; padding: 8px; box-sizing: border-box;
}
#topProduct .specialTime, #topProduct .rating, #topProduct .removeFromWishlist,
#topProduct .getFastView { display: none !important; }
#topProduct .markerContainer { position: absolute; top: 8px; left: 8px; z-index: 2; margin: 0; }
#topProduct .productTable { display: flex; flex-direction: column; gap: 8px; width: 100%; }
#topProduct .productColImage, #topProduct .picture {
  display: block; width: 100%; background: #fafafa; aspect-ratio: auto; min-height: 0; padding: 0;
}
#topProduct .picture img {
  display: block; width: 100%; height: 140px; max-height: 140px; object-fit: contain;
  margin: 0 auto; font-size: 0; color: transparent;
}
#topProduct .name {
  display: block; color: #222; font-size: 13px; line-height: 1.35; text-decoration: none;
  min-height: 2.7em; max-height: 2.7em; overflow: hidden;
}
#topProduct .price {
  display: block; margin: 0; color: #c62828; font-weight: 700; font-size: 14px; text-decoration: none;
}
#rowFooter {
  width: 980px; max-width: calc(100% - 32px); margin: 0 auto;
  display: flex; align-items: flex-start; gap: 28px;
}
#leftFooter { flex: 1 1 auto; min-width: 0; }
#leftFooter .footerRow {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
#rightFooter { flex: 0 0 260px; width: 260px; }
#rightFooter table, #rightFooter tr, #rightFooter td,
#rightFooter .footerRow, #rightFooter .leftColumn, #rightFooter .rightColumn {
  display: block; width: auto; float: none;
}
#footer .footerMenu { margin: 0; padding: 0; list-style: none; }
#footer .footerMenu li { margin: 0 0 6px; display: block; }
#footer .footerMenu a, #footer .footerMenu .selected {
  display: block; color: #ddd; text-decoration: none; line-height: 1.35; font-size: 13px;
}
#footer .heading { color: #fff; }
#footer .telephone, #footer .email, #footer p, #footer .list { margin: 0 0 6px; line-height: 1.4; }
#footerLine .wrapper { flex-wrap: nowrap; white-space: nowrap; }
img[alt*="Digital Web"], img[src*="dw.png"] { display: none !important; }

/* rez-bi-product-body */
#elementContainer .addCart img.icon { display: none !important; }
#pictureContainer, #pictureContainer .pictureSlider, #pictureContainer .item,
#pictureContainer a.zoom { border: 0; outline: 0; box-shadow: none; background: transparent; }
#elementSmallNavigation .tabs, #elementNavigation .tabs {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: 100%; height: auto;
}
#elementSmallNavigation .tab, #elementNavigation .tab { width: auto; height: auto; float: none; }
#elementSmallNavigation .tab a, #elementNavigation .tab a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 34px; padding: 6px 6px; border: 1px solid #ddd; border-radius: 3px;
  text-decoration: none; font-size: 12px; line-height: 1.2; background: #fff; color: #222;
}
#elementSmallNavigation .tab.active a, #elementNavigation .tab.active a {
  background: #c62828; color: #fff; border-color: #c62828;
}
#elementSmallNavigation .tab.disabled a, #elementNavigation .tab.disabled a { color: #888; background: #fafafa; }
#subscribe.sideBlock .heading { border-bottom: 0; }
#newReview .rating { display: none; }
#similar .items.productList {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%;
}
#similar .item.product { width: auto !important; float: none; margin: 0; }
#similar .tabloid {
  display: flex; flex-direction: column; border: 1px solid #e5e5e5; border-radius: 6px;
  padding: 8px; background: #fff; height: 100%; box-sizing: border-box; position: relative;
}
#similar .specialTime, #similar .rating, #similar .getFastView, #similar .removeFromWishlist { display: none !important; }
#similar .picture img { display: block; width: 100%; height: 140px; object-fit: contain; font-size: 0; }
#similar .name { display: block; color: #222; font-size: 13px; line-height: 1.35; min-height: 2.7em; overflow: hidden; text-decoration: none; }
#similar .price { display: block; color: #c62828; font-weight: 700; margin-top: 6px; text-decoration: none; }
#similar .addCartContainer, #similar .row { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* rez-bi-product-body-2 */
img[src*="incart.png"] { display: none !important; width: 0 !important; height: 0 !important; }
.wishCompWrap .elem { width: auto !important; height: auto !important; margin: 0 !important; border: 0 !important; background: none !important; display: inline-block !important; vertical-align: middle; }
#left img { max-width: 100%; height: auto; }
#pictureContainer img { border: 0 !important; }

/* rez-bi-catalog-strips */
#catalogSection .bigPicture,
#catalogSection .bigPicture a,
#catalogSection .bigPicture img {
  background: transparent;
  height: auto;
}
#catalogSection .bigPicture img {
  display: block;
  width: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: unset;
}
#subscribe .heading,
#subscribe.sideBlock .heading {
  border: 0 !important;
  border-bottom: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}
#subscribe .hidden + .hidden { display: none !important; }
