/* Barracuda Tech, design A «Графит»: cut corners on buttons (prototype .btn) */
.brc-cut, .brc-cut .tn-atom,
.t-catalog__card__btn, .t-catalog__prod-popup__btn, .t706__sidebar-continue {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
/* Product cards: plain rectangles */
.t-catalog__card { clip-path: none !important; }
.t-catalog__card:hover { border-color: #FF5A1F !important; }
.t-catalog__card__btn, .t-catalog__prod-popup__btn { text-transform: uppercase; letter-spacing: .08em; }
/* «Трейд-ин» label: moved by the head script out of the photo; pinned to the card's bottom-left so every card in a row shows it on one line */
.t-catalog__card:has(.brc-mark-moved) { position: relative; }
.t-catalog__card:has(.brc-mark-moved) .t-catalog__card__contentwrapper { padding-bottom: 50px !important; }
.t-catalog__card__mark-wrapper.brc-mark-moved {
  position: absolute !important; top: auto !important; right: auto !important; left: 16px; bottom: 20px;
  display: block; margin: 0 !important;
}
.t-catalog__card__mark {
  display: inline-block !important; position: static !important;
  width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important;
  padding: 5px 8px !important; border-radius: 0 !important; white-space: nowrap;
  font-family: 'Onest', Arial, sans-serif !important; font-size: 10px !important; font-weight: 600 !important;
  line-height: 1 !important; letter-spacing: .08em; text-transform: uppercase;
}
/* Until the script moves it, keep the label out of the photo */
.t-catalog__card__imgwrapper .t-catalog__card__mark-wrapper { display: none; }
/* Catalog page intro: two explicit lines; without the 560px cap the first sentence stays on one line on desktop */
#rec4683802501 .t-section__descr { max-width: none !important; }
/* Header: Onest with a sans fallback while the web font loads */
.t-menu__link-item, .t-menu-base__descr, .t-menu-base__descr a { font-family: 'Onest', Arial, sans-serif !important; }
.t-menu__link-item { transition: color .15s; }
/* Forms: one font for labels, placeholders and the consent checkbox */
.t396 .t-form, .t396 .t-form input, .t396 .t-form textarea, .t396 .t-form .t-input-title,
.t396 .t-form .t-checkbox__control, .t396 .t-form .t-checkbox__labeltext, .t396 .t-form label, .t396 .t-form .t-submit {
  font-family: 'Onest', Arial, sans-serif !important;
}
.t396 .t-form .t-checkbox__control, .t396 .t-form .t-checkbox__labeltext { font-size: 14px !important; line-height: 1.45; }
.t396 .t-form input::placeholder, .t396 .t-form textarea::placeholder { font-family: 'Onest', Arial, sans-serif !important; font-size: 14px; color: #9A9EA5; }
/* Info pages: section tabs (Zero Block group «side») — a hug-width wrap row collapses into a column; stretch it */
.t396 .tn-group:has(a[href="/delivery"]):has(a[href="/contacts"]):has(a[href="/legal"]) { width: 100% !important; }
/* …and on desktop keep the tabs as wide as the 880px content column, so cards and tabs share one edge */
@media (min-width: 1200px) {
  .t396 .tn-group:has(a[href="/delivery"]):has(a[href="/contacts"]):has(a[href="/legal"]) { width: 880px !important; max-width: 880px; }
}
/* Footer links without underline, as in the prototype */
.t396 .tn-atom a[style*="#C9CCD1"] { text-decoration: none; }
.t396 .tn-atom a[style*="#C9CCD1"]:hover { color: #FFFFFF !important; }
/* Home «Сейчас в наличии» (catalog block rec4730454701): cards only — no filters, no «load more» */
#rec4730454701 .t-catalog__filter-wrapper,
#rec4730454701 .js-catalog-load-more-btn,
#rec4730454701 .t-catalog__load-more-btn { display: none !important; }
#rec4730454701 .t-section__title { font-size: 32px; margin-bottom: 28px !important; }
#rec4730454701 .t-section__title a { text-decoration: none; }
#rec4730454701 .t-section__title a:hover { color: #FF5A1F !important; }

/* Barracuda: complete product photos with breathing room for components. */
.t-catalog__card:is([data-product-part-uid*="517114646913"],[data-product-part-uid*="540072996463"],[data-product-part-uid*="408678789523"],[data-product-part-uid*="434931405693"]) .t-catalog__card__imgwrapper {
  background-color: #fff;
}
.t-catalog__card:is([data-product-part-uid*="517114646913"],[data-product-part-uid*="540072996463"],[data-product-part-uid*="408678789523"],[data-product-part-uid*="434931405693"]) .t-catalog__card__bgimg {
  box-sizing: border-box;
  padding: 12%;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-clip: content-box;
}
