/* UX #8068485 - Юзабилити kedrweld.ru (2026) */

/* =========================================================
   1. Хедер и верхняя сервисная панель (п. 3.1.1, 3.1.3)
   ========================================================= */
.kedr-header-topbar {
  background: #141418;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-size: 13px;
}

.kedr-header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding: 4px 0;
  flex-wrap: wrap;
}

.kedr-header-topbar__city {
  display: flex;
  align-items: center;
}

.kedr-header-topbar__hours {
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.kedr-header-topbar__socials.socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.kedr-header-topbar__socials.socials ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kedr-header-topbar__socials.socials li {
  margin: 0;
  display: flex;
}

.kedr-header-topbar__email.header_contact_email_wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  position: relative;
}

.kedr-header-topbar__email .header-contact__mail {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  max-width: none !important;
  width: auto !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.kedr-header-topbar__email.header_contact_email_wrap {
  max-width: none !important;
  width: auto !important;
}

.kedr-header-topbar__email.header_contact_email_wrap:after {
  display: none !important;
  content: none !important;
}

.kedr-header-topbar__email .pop_copy {
  top: calc(100% + 6px) !important;
  bottom: auto !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important;
  white-space: nowrap !important;
  padding: 4px 10px !important;
  border-radius: 3px !important;
  z-index: 9999 !important;
}

.kedr-header-topbar .itp-cities-select-dialog,
.kedr-header-topbar .itp-cities-select-dialog h4,
.kedr-header-topbar .itp-cities-select-dialog .itp-cities-header,
.kedr-header-topbar .itp-cities-select-dialog .itp-cities-list li,
.kedr-header-topbar .itp-cities-select-dialog .itp-cities-list li span,
.kedr-header-topbar .itp-cities-select-dialog .itp-regions-list li,
.kedr-header-topbar .itp-cities-select-dialog input,
.kedr-header-topbar .itp-thiscity {
  color: #111827 !important;
}

.kedr-header-topbar .itp-cities-select-dialog .itp-cities-list li:hover span {
  color: #d97706 !important;
}

.kedr-header-topbar__email .header-contact__mail:hover {
  color: #f0ca00;
}

.kedr-topbar-ico {
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

.kedr-header-topbar__callback.callback-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "EuropeExt", sans-serif;
  color: #f0ca00 !important;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border-bottom: none !important;
  white-space: nowrap;
  padding: 4px 0;
  margin: 0;
  border: none;
  background: transparent;
}

.kedr-header-topbar__callback.callback-header span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kedr-header-topbar__callback.callback-header:hover {
  color: #fde03f !important;
}

.kedr-ux-header .kedr-header-main.page-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.kedr-ux-header .page-header__logo {
  flex: 0 0 auto;
  margin-right: 0;
}

.kedr-ux-header .kedr-header-search-col.col-search {
  flex: 1 1 280px;
  max-width: 400px;
  min-width: 180px;
  margin: 0;
  padding: 0;
}

.kedr-ux-header .kedr-header-search-col .header-search {
  width: 100%;
  margin: 0;
  position: relative !important;
}

.kedr-ux-header .kedr-header-search-col .header-search__close--desktop {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  left: auto !important;
}

.kedr-ux-header .kedr-header-search-col .header-search__input {
  padding-right: 36px !important;
}

.kedr-ux-header .kedr-header-right.page-header__right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 0 1 auto;
  margin-left: auto;
}

.kedr-ux-header .kedr-header-phones {
  margin: 0;
  padding: 0;
}

.kedr-ux-header .kedr-header-phones .header-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}

.kedr-ux-header .kedr-header-phones .header-contact__tel {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  color: #fff;
}

.kedr-ux-header .kedr-header-phones .header-contact__tel:hover {
  color: #f0ca00;
}

.kedr-ux-header .kedr-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.kedr-header-icon-btn.comp_header_custom {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  overflow: visible !important;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.kedr-header-icon-btn.comp_header_custom svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  margin: 0 !important;
}

.kedr-header-icon-btn.comp_header_custom:hover {
  border-color: #f0ca00 !important;
  color: #f0ca00 !important;
}

.kedr-header-icon-btn__count.count {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 5px !important;
  border-radius: 10px !important;
  background: #f0ca00 !important;
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 19px !important;
  text-align: center !important;
  margin: 0 !important;
  display: inline-block !important;
}

@media (min-width: 1025px) {
  .kedr-ux-header .adaptive-buttons {
    display: none !important;
  }
}

.kedr-ux-header .kedr-header-actions .button-cart {
  margin: 0;
  white-space: nowrap;
}

/* =========================================================
   2. Навигационное меню (п. 3.3.1)
   ========================================================= */
.page-header__bottom-cont .main-menu > li:last-child {
  display: inline-block !important;
}

.kedr-menu-products.menu-burger {
  background: #f0ca00 !important;
  color: #0a0a0d !important;
  font-weight: 700;
  padding: 0 18px 0 42px !important;
  height: 38px !important;
  line-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  position: relative !important;
  border-radius: 2px;
}

.kedr-menu-products.menu-burger .menu-burger__line {
  background: #0a0a0d !important;
  left: 14px !important;
  width: 18px !important;
  height: 2px !important;
  margin: 0 !important;
  position: absolute !important;
}

.kedr-menu-products.menu-burger .menu-burger__line:nth-child(1) {
  top: 12px !important;
}
.kedr-menu-products.menu-burger .menu-burger__line:nth-child(2) {
  top: 18px !important;
}
.kedr-menu-products.menu-burger .menu-burger__line:nth-child(3) {
  top: 24px !important;
}

.page-header__bottom .main-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px;
}

.page-header__bottom .main-menu__item {
  flex: 0 0 auto !important;
}

.page-header__bottom .main-menu__link {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.page-header__bottom.fixed .page-header__bottom-cont {
  gap: 12px !important;
}

.page-header__bottom.fixed .main-menu__link {
  font-size: 13px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.kedr-menu-products.menu-burger:hover {
  background: #fde03f !important;
}

.main-menu__arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 7px;
  margin-bottom: 3px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.main-menu__item--parent:hover .main-menu__arrow {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

.page-header__bottom .main-menu__link.active,
.page-header__bottom .main-menu__link:hover,
.page-header__bottom .sub-menu__link.active {
  color: #f0ca00 !important;
}

/* =========================================================
   3. Футер — кнопка «Заказать звонок» (п. 3.1.4)
   ========================================================= */
.kedr-footer-callback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 11px 22px;
  border: 1px solid #f0ca00;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.kedr-footer-callback-btn:hover {
  background: #f0ca00;
  color: #0a0a0d !important;
}

.footer_contact_email_wrap {
  max-width: none !important;
  width: auto !important;
}

.footer_contact_email_wrap .header-contact__mail {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

.footer_contact_email_wrap:after {
  display: none !important;
  content: none !important;
}

.footer_contact_email_wrap img {
  margin-left: 10px !important;
}

.footer_contact_email_wrap .pop_copy {
  top: calc(100% + 6px) !important;
  bottom: auto !important;
  left: 0 !important;
  width: auto !important;
  white-space: nowrap !important;
  padding: 4px 10px !important;
  border-radius: 3px !important;
  z-index: 20 !important;
}

.kedr-footer-itpanda-link {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kedr-footer-itpanda-link:hover {
  color: #f0ca00 !important;
}

/* =========================================================
   4. Сквозная форма «Остались вопросы?» и модалки (п. 3.2.2, 3.2.3, 3.6.1)
   ========================================================= */
.kedr-questions-block {
  background: #f3f4f6;
  padding: 40px 0;
  border-top: 1px solid #e5e7eb;
}

.kedr-questions-block__card {
  position: relative;
  background: linear-gradient(135deg, #16181f 0%, #232631 100%);
  border-left: 5px solid #f0ca00;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
}

.kedr-questions-block__info {
  flex: 0 0 38%;
}

.kedr-questions-block__badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  background: rgba(240, 202, 0, 0.16);
  border: 1px solid rgba(240, 202, 0, 0.5);
  color: #f0ca00;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kedr-questions-block__title {
  font-family: "EuropeExt", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.kedr-questions-block__subtitle {
  font-family: "PfHighwaySansPro", sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.5;
}

.kedr-questions-form {
  flex: 1 1 auto;
  max-width: 620px;
}

.kedr-questions-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.kedr-questions-form__fields .main-form__line {
  margin: 0;
}

.kedr-questions-form__fields .text-input {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  padding: 0 14px;
  font-size: 14px;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kedr-questions-form__fields .text-input:focus {
  border-color: #f0ca00;
  box-shadow: 0 0 0 2px rgba(240, 202, 0, 0.25);
  outline: none;
}

.kedr-questions-form__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.kedr-questions-form .policy_form_custom .check_text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.kedr-questions-form .policy_form_custom .check_text a {
  color: #f0ca00 !important;
  text-decoration: underline;
  border-bottom: none !important;
}

.kedr-questions-form .policy_form_custom .check_text a:hover {
  color: #fde03f !important;
}

.kedr-ux-modal .policy_form_custom .check_text {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.35;
}

.kedr-ux-modal .policy_form_custom .check_text a {
  color: #6b7280 !important;
  text-decoration: underline;
  border-bottom: none !important;
}

.kedr-ux-modal .policy_form_custom .check_text a:hover {
  color: #111827 !important;
}

.kedr-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 48px;
  padding: 0 28px;
  background: #f0ca00;
  color: #0a0a0d;
  border: none;
  font-family: "EuropeExt", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.kedr-btn-dark:hover {
  background: #fde03f;
  transform: translateY(-1px);
}

.kedr-form-status {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 3px;
}

.kedr-form-status.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.kedr-form-status.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.kedr-modal-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.kedr-modal-product__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 64px;
  background: #fff;
}

.kedr-modal-product__name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

/* =========================================================
   5. Каталог: фильтры, цена, теги, сортировка (п. 3.4)
   ========================================================= */
.catalog-cols__left .bx-filter {
  margin-bottom: 0 !important;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 14px 16px;
}

.catalog-cols__left .bx-filter .bx-filter-title {
  display: none;
}

.catalog-cols__left .bx-filter-parameters-box {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0 !important;
  margin: 0 !important;
}

.catalog-cols__left .bx-filter-parameters-box:last-of-type {
  border-bottom: none;
}

.catalog-cols__left .bx-filter-parameters-box-title {
  text-transform: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  padding: 4px 26px 4px 0 !important;
  cursor: pointer;
}

.catalog-cols__left .bx-filter-parameters-box-title span,
.catalog-cols__left .bx-filter-parameters-box-hint {
  text-transform: none !important;
  font-weight: 600 !important;
  color: #111827 !important;
}

.kedr-ux-header,
.kedr-ux-header .page-header__bottom,
.kedr-ux-header .main-menu__drop,
.kedr-ux-header .catalog-menu,
.kedr-ux-header .menu-drop {
  z-index: 900 !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-filter-parameters-box-title i.fa {
  display: none !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-filter-parameters-box-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 8px 0 0 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-filter-parameters-box-container-block {
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-filter-input-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-ui-slider-track-container {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 6px 0 4px 0 !important;
  padding: 0 8px !important;
  float: none !important;
  box-sizing: border-box !important;
}

.catalog-cols__left .bx-ui-slider-track,
.catalog-cols__left .bx-ui-slider-range,
.catalog-cols__left .bx-ui-slider-pricebar-v,
.catalog-cols__left .bx-ui-slider-pricebar-vn,
.catalog-cols__left .bx-ui-slider-pricebar-vd,
.catalog-cols__left .bx-ui-slider-handle {
  z-index: 2 !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-ui-slider-part {
  display: none !important;
}

.catalog-cols__left .bx-filter-parameters-box--price .bx-filter-input-container input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  height: 36px;
  border: 1px solid #d1d5db;
  padding: 0 10px;
  font-size: 13px;
  color: #111827;
  background: #fff;
}

.catalog-cols__left .bx-ui-slider-track {
  height: 4px !important;
  background: #e5e7eb !important;
  margin-top: 16px;
}

.catalog-cols__left .bx-ui-slider-pricebar-v {
  background: #f0ca00 !important;
  height: 4px !important;
}

.catalog-cols__left .bx-ui-slider-handle {
  width: 14px !important;
  height: 14px !important;
  top: -5px !important;
  background: #f0ca00 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
}

.catalog-cols__left .bx-filter-param-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
}

.catalog-cols__left .bx-filter input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  accent-color: #f0ca00;
  cursor: pointer;
}

.catalog-filter__reset {
  margin: 0 0 26px 0 !important;
  padding: 12px 16px !important;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  display: block;
}

.catalog-filter__reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #111827 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.catalog-filter__reset-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-filter__reset-btn:hover {
  color: #0a0a0d !important;
  border-bottom: none !important;
}

.catalog-filter__reset-btn:hover .catalog-filter__reset-text {
  text-decoration: none;
}

.catalog-filter__reset-icon {
  font-size: 18px;
  line-height: 1;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Теги (п. 3.4.3) */
.kedr-ux-tags.zverushki-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px 0;
}

.kedr-ux-tags .kedr-ux-tag.btn {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 500;
  padding: 7px 14px !important;
  border-radius: 3px !important;
  text-decoration: none;
  margin: 0 !important;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kedr-ux-tags .kedr-ux-tag.btn:hover,
.kedr-ux-tags .kedr-ux-tag.btn.is-active {
  border-color: #f0ca00 !important;
  background: #fef9c3 !important;
  color: #111827 !important;
}

/* Сортировка (п. 3.4.4) */
.catalog-sort {
  background: #f5f5f7;
  padding: 12px 18px;
  margin-bottom: 20px;
  border-radius: 3px;
}

.catalog-sort__desktop {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
}

.catalog-sort__heading {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: #111827;
  margin: 0 !important;
}

.catalog-sort__link {
  font-size: 13px !important;
  text-transform: none !important;
  color: #6b7280 !important;
  text-decoration: none !important;
  padding: 0 0 3px 0 !important;
  margin: 0 !important;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.catalog-sort__link:hover {
  color: #111827 !important;
}

.catalog-sort__link.active {
  color: #111827 !important;
  font-weight: 700;
  border-bottom-color: #f0ca00;
}

.kedr-catalog-seo-moved {
  margin-top: 28px;
}

.kedr-mobile-filter-toggle {
  display: none;
}

/* =========================================================
   6. Карточка товара и превью (п. 3.5)
   ========================================================= */
/* Убираем старую жёлтую косую плашку и глазик с превью-карточек */
.item-tile__wrap:before,
.item-tile__img:before,
.item-tile__img:after,
.item-tile__watch {
  display: none !important;
  content: none !important;
}

.item-tile__plus.kedr-compare-icon {
  transform: none !important;
  background: transparent !important;
  right: 8px !important;
  top: 8px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border-radius: 3px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.item-tile__plus.kedr-compare-icon:after {
  display: none !important;
  content: none !important;
}

.touch-dev .item-tile__plus.kedr-compare-icon {
  transform: none !important;
}

.item-tile__plus.kedr-compare-icon > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6b7280;
  opacity: 1 !important;
  transform: none !important;
}

.item-tile__plus.kedr-compare-icon:hover > span,
.item-tile__plus.kedr-compare-icon.active > span {
  transform: none !important;
  opacity: 1 !important;
  color: #0a0a0d !important;
}

.item-tile__plus.kedr-compare-icon:hover {
  background: #fef08a !important;
}

.item-tile__plus.kedr-compare-icon.active {
  background: #f0ca00 !important;
}

/* CTA-блок карточки товара (п. 3.5.4) */
.kedr-cta-grid {
  width: 100%;
  margin: 14px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kedr-cta-row--primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kedr-cta-row--secondary {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.kedr-cta-btn-cart.btn-type1 {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.kedr-cta-btn-oneclick {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #141418;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.kedr-cta-btn-oneclick:hover {
  background: #2b2b33;
}

.kedr-cta-btn-kp {
  flex: 1 1 auto;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #f0ca00 !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.kedr-cta-btn-kp:hover {
  background: #fef9c3;
  border: 1px solid #f0ca00 !important;
  border-bottom-color: #f0ca00 !important;
}

.kedr-cta-icon-btn {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db !important;
  background: #ffffff;
  color: #374151 !important;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.kedr-cta-icon-btn:hover,
.kedr-cta-icon-btn.active {
  border: 1px solid #f0ca00 !important;
  border-bottom-color: #f0ca00 !important;
  background: #fef9c3;
  color: #111827 !important;
}

/* Вкладки карточки товара (п. 3.5.1, 3.5.2) */
.kedr-product-tabs-wrap {
  margin-top: 32px;
}

.kedr-product-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.kedr-product-tabs__btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 0 12px;
  margin-bottom: -1px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.kedr-product-tabs__btn:hover {
  color: #111827;
}

.kedr-product-tabs__btn.is-active {
  color: #111827;
  border-bottom-color: #f0ca00;
}

.kedr-product-tab-panel {
  display: none;
}

.kedr-product-tab-panel.is-active {
  display: block;
}

.kedr-tab-accordion-head {
  display: none;
}

.kedr-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.kedr-specs-table tr:nth-child(odd) {
  background: #f8fafc;
}

.kedr-specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.kedr-specs-table td:first-child {
  color: #4b5563;
  width: 55%;
}

.kedr-specs-table td:last-child {
  color: #111827;
  font-weight: 600;
}

.kedr-docs-list p {
  margin-bottom: 12px;
}

/* Главный слайдер (защита от выхода текста и кнопки за границы) */
.main-slider .swiper-wrapper {
  align-items: stretch;
}

.main-slider__item {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
}

.main-slider__item > .page-width {
  width: 100%;
  box-sizing: border-box;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.main-slider__row {
  min-height: 400px;
  height: auto !important;
  flex: 1 1 auto;
  padding-top: 0;
  padding-bottom: 45px;
  box-sizing: border-box;
  gap: 16px;
}

.main-slider__title {
  padding-right: 150px;
  box-sizing: border-box;
}

.main-slider__text {
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex: 1 1 auto;
}

.main-slider__text__wrap {
  font-size: 18px;
  line-height: 1.45;
}

.main-slider__text__wrap br + br {
  display: none;
}

.main-slider__name {
  margin-top: auto;
}

/* =========================================================
   7. Адаптив: планшет (<= 1024px / 768px) и мобильный (<= 640px / 375px)
   ========================================================= */
@media (max-width: 1180px) {
  .kedr-header-topbar__hours {
    display: none;
  }
  .kedr-ux-header .kedr-header-search-col.col-search {
    max-width: 260px;
  }
}

@media (max-width: 1024px) {
  body {
    padding: 0 !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .page-wrap {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .kedr-ux-header {
    background: #0a0a0d !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .kedr-ux-header > .page-width {
    padding: 0 12px 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .kedr-header-topbar {
    display: none !important;
  }
  .kedr-ux-header .kedr-header-main.page-header__top {
    padding: 0 !important;
    gap: 10px !important;
    min-height: 60px;
    height: 60px;
    position: relative;
    background: #0a0a0d !important;
  }
  .kedr-ux-header .header-burger {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 6px !important;
    width: 56px !important;
    height: 60px !important;
    flex: 0 0 56px !important;
    background: #f0ca00 !important;
  }
  .kedr-ux-header .page-header__logo {
    flex: 0 1 auto !important;
    min-width: 0;
    width: auto !important;
    overflow: visible !important;
  }
  .kedr-ux-header .page-header__logo img {
    max-height: 28px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
  }
  .mobile-menu {
    top: 60px !important;
  }
  .kedr-ux-header .kedr-header-phones,
  .kedr-ux-header .kedr-header-actions {
    display: none !important;
  }
  .kedr-ux-header .kedr-header-search-col.col-search {
    position: static !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .kedr-ux-header .kedr-header-search-col .header-search {
    display: none;
  }
  .kedr-ux-header .kedr-header-search-col .header-search.opened {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #141418 !important;
    padding: 10px 15px !important;
    z-index: 950 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }
  .kedr-ux-header .kedr-header-search-col .header-search__close--desktop {
    display: none !important;
  }
  .kedr-ux-header .kedr-header-search-col .header-search__close--mobile {
    display: inline-flex !important;
    position: absolute !important;
    right: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .kedr-ux-header .kedr-header-right.page-header__right-col {
    margin-left: auto !important;
    gap: 0 !important;
    flex: 0 0 auto !important;
  }
  .kedr-ux-header .adaptive-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }
  .kedr-ux-header .adaptive-buttons .show-search {
    margin-right: 0 !important;
  }
  .kedr-questions-block__card {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 22px;
    gap: 20px;
  }
  .kedr-questions-block__info {
    flex: none;
  }
  .main-slider {
    margin: 0 0 60px !important;
  }
  .main-slider__row {
    min-height: 400px !important;
    height: auto !important;
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
  .main-slider .slick-dots {
    top: 100% !important;
    bottom: auto !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 991px) {
  .catalog-cols {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .catalog-cols__left,
  .catalog-cols__right {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }
  .kedr-mobile-filter-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    background: #0a0a0d;
    color: #ffffff;
    border: 1px solid #0a0a0d;
    font-family: "EuropeExt", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  .kedr-mobile-filter-toggle__left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .kedr-mobile-filter-toggle svg {
    color: #f0ca00;
    flex: 0 0 auto;
  }
  .kedr-mobile-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #f0ca00;
    color: #0a0a0d;
    font-family: "PfHighwaySansPro", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }
  .kedr-mobile-filter-toggle__arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #f0ca00;
    border-bottom: 2px solid #f0ca00;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -3px;
  }
  .kedr-mobile-filter-wrap.is-open .kedr-mobile-filter-toggle {
    border-color: #f0ca00;
  }
  .kedr-mobile-filter-wrap.is-open .kedr-mobile-filter-toggle__arrow {
    transform: rotate(-135deg);
    margin-top: 3px;
  }
  .kedr-mobile-filter-body {
    display: none;
    margin-top: 10px;
  }
  .kedr-mobile-filter-wrap.is-open .kedr-mobile-filter-body {
    display: block;
  }
  .catalog-cols__left .bx-filter {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 767px) {
  .kedr-ux-tags.zverushki-tags {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .kedr-ux-tags.zverushki-tags::-webkit-scrollbar {
    display: none;
  }
  .kedr-ux-tags .kedr-ux-tag.btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 6px 11px !important;
  }
  .catalog-sort__desktop {
    display: none !important;
  }
  .catalog-sort {
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 640px) {
  .kedr-ux-header .page-header__logo {
    width: 102px !important;
    flex: 0 0 102px !important;
    overflow: hidden !important;
  }
  .kedr-ux-header .page-header__logo img {
    height: 26px !important;
    max-height: 26px !important;
    width: auto !important;
    max-width: none !important;
  }
  .kedr-ux-header .adaptive-buttons {
    gap: 10px !important;
  }
  .kedr-ux-header .adaptive-buttons svg {
    width: 22px !important;
    height: 22px !important;
  }
  .kedr-questions-block__card {
    padding: 22px 16px;
  }
  .kedr-questions-block__title {
    font-size: 18px;
  }
  .kedr-questions-form__fields {
    grid-template-columns: 1fr;
  }
  .main-slider {
    margin: 0 0 52px !important;
  }
  .main-slider__row {
    min-height: 270px !important;
    height: auto !important;
    padding: 14px 0 22px !important;
    gap: 10px !important;
  }
  .main-slider__category {
    margin-bottom: 0 !important;
  }
  .main-slider__title {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 8px !important;
    padding-right: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .main-slider__text {
    width: 58% !important;
    padding: 0 !important;
    gap: 14px !important;
  }
  .main-slider__text__wrap,
  .main-slider__text__wrap * {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  .main-slider__pic {
    width: 42% !important;
    padding: 72px 8px 18px 4px !important;
    align-items: flex-end !important;
  }
  .main-slider__pic img {
    max-height: 170px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  .main-slider__name {
    font-size: 14px !important;
    padding: 9px 12px !important;
  }
  .main-slider .slick-dots {
    margin-top: 12px !important;
  }
  .main-slider .slick-dots li {
    padding: 0 3px !important;
  }
  .main-category .products-categories {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
  }
  .main-category .products-categories__item {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .main-category .products-categories__cont {
    padding: 12px 10px !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  .main-category .products-categories__title {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 10px !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .main-category .main-category-pic {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-category .main-category-pic img {
    max-height: 115px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
  }
  .kedr-questions-form__bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .kedr-btn-dark {
    width: 100%;
  }
  .kedr-cta-row--primary {
    grid-template-columns: 1fr;
  }
  .product_similar_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .item-tile__buttons {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .item-tile__buttons .jq-number {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 96px !important;
    margin-right: 0 !important;
  }
  .item-tile__buttons .jq-number .jq-number__spin {
    width: 24px !important;
  }
  .item-tile__buttons .jq-number input {
    padding: 0 24px !important;
    height: 38px !important;
    font-size: 13px !important;
    text-align: center !important;
  }
  .item-tile__buttons .btn-type1 {
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin-left: 0 !important;
  }
  /* Трансформация вкладок в вертикальный аккордеон на 375px */
  .kedr-product-tabs {
    display: none;
  }
  .kedr-product-tab-panel {
    display: block;
    border-bottom: 1px solid #e5e7eb;
  }
  .kedr-tab-accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111827;
    cursor: pointer;
    text-align: left;
  }
  .kedr-tab-accordion-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-right: 4px;
  }
  .kedr-tab-accordion-head.is-active .kedr-tab-accordion-arrow {
    transform: rotate(-135deg);
  }
  .kedr-product-tab-panel__body {
    display: none;
    padding: 0 0 16px 0;
  }
  .kedr-product-tab-panel.is-active .kedr-product-tab-panel__body {
    display: block;
  }
}
