/* kc-shop-bar.css — нижняя кнопка магазина на /dushevye/ и /izdeliya-iz-rehau/ (26.11.2026).
   Точная копия вида кнопки /catalog/ (configurator/.../kc-action-bar.css): те же классы, размеры, цвета, значки.
   Логика — /local/templates/kcstroy/js/kc-shop-bar.js. Меняете вид здесь — поменяйте и в kc-action-bar.css. */
.kc-action-bar {
  position: fixed; z-index: 9990; left: 50%; bottom: 24px; transform: translate(-50%, 0);
  transition: opacity .22s ease, transform .22s ease, visibility .22s; font-family: "KC Manrope", Arial, sans-serif;
}
.kc-action-bar:not(.is-on) { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 18px); }
.kc-action-btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 22px;
  min-width: 380px; min-height: 62px; padding: 12px 24px 12px 26px; border-radius: 9px;
  background: #182630; border: 1px solid #e3c28e; color: #e3c28e;
  box-shadow: 0 12px 32px rgba(8, 14, 20, .38); transition: background-color .18s;
}
.kc-action-btn:hover { background: #22384a; }
.kc-action-btn:focus-visible { outline: 2px solid #e3c28e; outline-offset: 3px; }
.kc-action-text { flex: 1 1 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; min-width: 0; white-space: nowrap; }
.kc-action-main { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.kc-action-sub { font-size: 15px; font-weight: 500; color: #f3f6f8; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; }
.kc-action-sub:empty { display: none; }
.kc-action-ico {
  flex: 0 0 24px; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--kc-ico) center / contain no-repeat; mask: var(--kc-ico) center / contain no-repeat;
}
.kc-action-bar[data-step="1"] { --kc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3v26M6.5 19.5 16 29l9.5-9.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kc-action-bar[data-step="2"], .kc-action-bar[data-step="3"] { --kc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 16h26M19.5 6.5 29 16l-9.5 9.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kc-action-bar[data-step="1"][data-dir="up"] .kc-action-ico { transform: rotate(180deg); }
.kc-action-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
@media (max-width: 760px) {
  .kc-action-bar {
    left: 0; right: 0; bottom: 0; transform: none;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #182630; border-top: 1px solid #2f4250;
  }
  .kc-action-bar:not(.is-on) { transform: translateY(100%); }
  .kc-action-btn { width: 100%; min-width: 0; min-height: 54px; padding: 10px 18px 10px 20px; gap: 14px; box-shadow: none; }
  .kc-action-main { font-size: 15px; }
  .kc-action-sub { font-size: 14px; }
  .kc-action-ico { flex-basis: 22px; width: 22px; height: 22px; }
  html.kc-action-on body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  html.kc-action-on .b24-widget-button-wrapper { bottom: 88px !important; transition: bottom .22s; }
}
@media (max-width: 360px) {
  .kc-action-text { gap: 10px; }
  .kc-action-main { font-size: 14px; }
  .kc-action-sub { font-size: 13px; }
}
/* свои нижние полосы страниц больше не нужны — одна кнопка, как на /catalog/ */
html body .rh-mobilebar, html body .sh-mbar, html body .sh-mbar:not([hidden]) { display: none !important; }
@media (max-width: 900px) {
  html body .rh-page .rh-demo-link { padding-bottom: 0; }
  html.kc-action-on body .rh-chat { bottom: calc(90px + env(safe-area-inset-bottom)); }
  html body .rh-notice { bottom: 90px; }
}
/* душевые, карточки цен: «В корзину» в одну строку на телефоне */
@media (max-width: 760px) {
  html body #prices .ds2-buy { white-space: nowrap; gap: 12px; padding-left: 16px; padding-right: 16px; justify-content: space-between; }
  html body #prices .ds2-buy::after { width: 32px; flex: 0 0 32px; }
}
