
/* ===== Shoppingcore P0-патч — 20.08.2026 ===== */

/* Фикс 1 — убрать логотип способа доставки (стандартная заглушка Bitrix) */
.bx-soa-pp-company-image {
  display: none !important;
}

/* ===== Новая система кнопок: прозрачные, контур, заливка по ховеру ===== */

.catalog-element-purchase-order-button-add {
  background: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  transition: background .15s ease, color .15s ease;
}
.catalog-element-purchase-order-button-add:hover {
  background: #303481 !important;
  color: #fff !important;
}

.catalog-element-purchase-fast .intec-ui-control-button {
  background: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  padding: 13px 28px !important;
  transition: background .15s ease, color .15s ease;
}
.catalog-element-purchase-fast .intec-ui-control-button:hover {
  background: #303481 !important;
  color: #fff !important;
}

/* Фикс 2 — «Оформить заказ» (итог корзины) */
.sale-basket-small-footer-order-button {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  padding: 13px 28px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px !important;
  transition: background .15s ease, color .15s ease;
}
.sale-basket-small-footer-order-button:hover {
  background: #303481 !important;
  color: #fff !important;
}

/* Фикс 2 — «Оформить заказ» (финальная форма /personal/order/make/) */
.btn-order-save.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  padding: 14px 34px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 14px !important;
  transition: background .15s ease, color .15s ease;
}
.btn-order-save.btn-primary:hover {
  background: #303481 !important;
  color: #fff !important;
}

/* Фикс 3 — хлебные крошки на мобильном: горизонтальный скролл вместо переполнения */
@media (max-width: 767px) {
  .c-breadcrumb-mobile-slider .breadcrumb-wrapper-2 {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }
  .c-breadcrumb-mobile-slider .breadcrumb-wrapper-2::-webkit-scrollbar {
    display: none;
  }
  .c-breadcrumb-mobile-slider .breadcrumb-item {
    white-space: nowrap !important;
    flex-shrink: 0;
  }
}

/* ===== Добавка P0 — 21.08.2026: пропущенные состояния кнопок ===== */

/* Состояние "Добавлено" на карточке товара — тот же стиль, что и "В корзину" */
.catalog-element-purchase-order-button-added {
  background: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  transition: background .15s ease, color .15s ease;
}
.catalog-element-purchase-order-button-added:hover {
  background: #303481 !important;
  color: #fff !important;
}

/* Настоящая кнопка "Оформить заказ" в корзине — раньше без единого своего стиля (голый браузерный вид) */
.basket-btn-checkout {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  padding: 13px 28px !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: none !important;
  transition: background .15s ease, color .15s ease;
}
.basket-btn-checkout:hover {
  background: #303481 !important;
  color: #fff !important;
}

/* ===== Добавка v2 — 21.08.2026: поднимаем специфичность, у темы были более сильные правила ===== */

html body .basket-btn-checkout.basket-btn-checkout {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1.5px solid #303481 !important;
  border-radius: 4px !important;
  color: #303481 !important;
  box-shadow: none !important;
}
html body .basket-btn-checkout.basket-btn-checkout:hover {
  background: #303481 !important;
  background-color: #303481 !important;
  color: #fff !important;
}

html body .catalog-element-purchase-order-button-added.catalog-element-purchase-order-button-added {
  background: transparent !important;
  background-color: transparent !important;
  border-color: #303481 !important;
  color: #303481 !important;
}
html body .catalog-element-purchase-order-button-added.catalog-element-purchase-order-button-added:hover {
  background: #303481 !important;
  background-color: #303481 !important;
  color: #fff !important;
}

/* ===== Баннеры категорий на главной: 1 главный + 2x2 (убираем сироту 5-й плитки) — 21.08.2026 ===== */
@media (min-width: 1201px) {
  html body .c-sections-template-3 .widget-items > .widget-item:nth-child(1) {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body .c-sections-template-3 .widget-items > .widget-item:nth-child(2),
  html body .c-sections-template-3 .widget-items > .widget-item:nth-child(3),
  html body .c-sections-template-3 .widget-items > .widget-item:nth-child(4),
  html body .c-sections-template-3 .widget-items > .widget-item:nth-child(5) {
    flex-basis: 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}
