/*
Theme Name:     Industro Child
Theme URI:      http://wpdemo2.oceanthemes.net/industro/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         Oceanthemes
Author URI:     http://oceanthemes.net/
Version:        1.0
Template:       industro
*/

@import url("../industro/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Кнопка "Заказать" в таблице товаров */
.btn-1 {
    border-radius: 5px;
    padding: 2px 22px 2px 22px;
    display: inline-block;
    margin-bottom: 0;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    font-size: inherit;
    font-weight: bold;
    text-align: center;
    background: #ff704f;
    cursor: pointer;
    border: 1px solid transparent;
    color: #fff;

}

.btn-1:hover {
    background: #ff3300;
    color: #fff;
}
.btn-1:visited {
    color: #fff;
}
/* Скрываем кнопку "В корзину" в таблице товаров */
.wc-product-table .cart .single_add_to_cart_button {
    display: none !important;
}
/* Область заголовка страниц */
.page-header {
    background-size: auto 100% !important;
    min-height: 220px !important;
}
/* Подзаголовок на страницах магазина */
.shop-subtitle {
    font-size: 24px;
    font-weight: bold;
}
/* Страница 404 */
.catalog-list-block {
    list-style: none;
}
.error-404 {
    padding: 0;
}
/* Сайдбар и меню в нём */
@media (min-width: 1230px) {
.primary-sidebar {
    width: 300px;
    margin-right: 20px;
}
}
@media (max-width: 991px) {
.primary-sidebar {
    margin-bottom: 45px;
}
.primary-sidebar .widget ul li {
    display: inline-block;
    vertical-align: top;
    padding: 0 0 20px 20px;
}
.primary-sidebar .widget ul .sub-menu li {
    display: block;
}
}
.primary-sidebar {
    background-color: #fbfbfb;
    border: 1px solid #f7f7f7;
    border-radius: 2px;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.05);
}
.primary-sidebar .widget-title {;
    padding: 10px 0 8px;
    border-bottom: 2px solid #f7f7f7;
    margin: 0 0 10px;
}
.primary-sidebar h4 {
    font-size: 20px;
}
.primary-sidebar .widget {
    margin: 0 0 30px;
}
.primary-sidebar .widget ul li a {
    font-weight: 600;
}
.widget ul .sub-menu {
    margin-top: 5px;
}
.widget ul .sub-menu li {
    list-style: square inside;
    margin-bottom: 0;
    padding: 0;
}
.widget ul .sub-menu li a {
    padding-left: 0;
    font-weight: normal;
}
.main-footer .widget .item-2-col {
    display: inline-block;
    width: 48%;
}
/* Правка некоторых стилей темы */
.content-woocommerce h2 {
    font-size: 28px !important;
}
.content-woocommerce h3 {
    font-size: 24px !important;
}
.popmake-content h2 {
    font-size: 28px !important;
}
.popmake-content h3 {
    font-size: 24px !important;
}
body:not(.single) .site-content:not(.full-content) {
    padding: 70px 0 60px;
}

#site-logo img {
    width: 300px;
    
}
/* Кнопка наверх */
.scrolltop {
  padding: 20px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  border: none;
  text-align: center;
background-color: transparent;
}

/* Поиск и соцсети перенесены в верхнюю строку шапки (между логотипом и контактами) */
.top-header .header-tools {
  float: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 100px;
  margin-left: 24px;
}
.top-header .header-tools .header-search-inline,
.top-header .header-tools .social-list {
  min-height: auto;
  float: none;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.top-header .header-tools .social-list {
  margin-left: 16px;
  padding-left: 16px;
}

/* Всегда открытое компактное поле поиска, встроенное в шапку */
.top-header .header-tools .header-search-inline {
  width: 160px;
}
.top-header .header-tools .header-search-inline .search-form .search-field {
  height: 36px;
  padding: 6px 38px 6px 12px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid #dadbdf;
  border-radius: 4px;
  background-color: #fff;
  color: #0a0f2b;
  -webkit-appearance: none;
  appearance: none;
}
.top-header .header-tools .header-search-inline .search-form .search-field:focus {
  border-color: #ff3300;
  box-shadow: 0 0 0 2px rgba(255, 51, 0, 0.12);
}
/* Кнопка-лупа: используем FA5 (как у бургер-меню), штатный :after темы отключаем */
.top-header .header-tools .header-search-inline .search-form .search-submit {
  width: 38px;
  height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.top-header .header-tools .header-search-inline .search-form .search-submit:after {
  content: none;
}
.top-header .header-tools .header-search-inline .search-form .search-submit i {
  font-size: 15px;
  color: #ff3300;
  line-height: 1;
}

/* Кнопка корзины в шапке (видна на всех страницах) */
.top-header .header-tools .header-cart {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: 16px;
  padding-left: 18px;
  font-size: 19px;
  line-height: 1;
  color: #0a0f2b;
}
.top-header .header-tools .header-cart:before {
  content: "";
  position: absolute;
  left: 0;
  height: 22px;
  width: 1px;
  background: #dadbdf;
}
.top-header .header-tools .header-cart i {
  color: #0a0f2b;
  transition: color 0.2s linear;
}
.top-header .header-tools .header-cart:hover i {
  color: #ff3300;
}
.top-header .header-tools .header-cart .header-cart-count {
  position: absolute;
  top: -9px;
  right: -11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ff3300;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  box-sizing: border-box;
}
.top-header .header-tools .header-cart .header-cart-count.is-empty {
  background: #b4b8c2;
}

/* Освобождаем место в верхней строке, чтобы контакты не переносились */
.top-header .btn-cta {
  margin-left: 24px;
}
.top-header .info-list li {
  margin-right: 22px;
}

/* На мобильных верхние инструменты прячем, как и остальные элементы top-header */
@media (max-width: 991px) {
  .header-layout-2 .header-tools {
    display: none !important;
  }
}

/* Заголовки форм в попапах переведены с h2 на h3 (семантика) —
   размер оставляем как у прежнего h2 (36px), чтобы вид не изменился */
.pum-content h3,
.popmake-content h3 {
  font-size: 36px;
}
/* === Доступность: контраст кнопок (2026-07-29) === */

/* Lighthouse: «Цвета фона и переднего плана недостаточно контрастны».
   Фирменный #ff3300 с белым текстом даёт 3,7:1 при норме 4,5:1.
   Затемняем до #d92a00 (5,0:1) — на глаз почти неотличимо, но проверку
   проходит. Наведение уводим ещё темнее, чтобы эффект сохранился. */
.btn,
.top-header .btn-cta .btn,
button.zakaz,
.zvonok.btn {
  background: #d92a00;
}
.btn:hover,
.top-header .btn-cta .btn:hover,
button.zakaz:hover,
.zvonok.btn:hover {
  background: #b02000;
}
