/*
Theme Name:     Storefront Child
Theme URI:      http: //example.com/
Description:    Дочерняя тема для темы Storefront
Author:         Arthur Karimov
Author URI:     http: //example.com/about/
Template:       storefront
Version:        0.1.0
*/



/* Убрал отступ в header на главной */
.home.post-type-archive-product .site-header {
	margin-bottom: 0;
}
/* header Дополнительное меню сверху, поиск скрыл, стиль телефона */
.storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {
    width: 100%;
	padding: 2px 0 0 0;
}
.site-branding {
	position: absolute;
}
.site-branding a {
  outline:none;
}
.site-search {
	display: none;
}
.secondary-navigation li:last-child {
  font-size: 1.618rem;	
  font-weight: 500;
  padding: 0;
}
.secondary-navigation li:last-child a {
  color: #595959!important;
  font-weight: 700;
  border: none!important;
  margin-right: -17px;
}
.secondary-navigation .menu a {
  color: #404040;
  border: 2px solid #5d5d5d;
  border-radius: 15px;
  padding: 5px 1rem;
  margin: 0 0 0 0.6rem;
}
.secondary-navigation ul.menu a:hover {
  transition: 0.25s;
  border: 2px solid #c4c4c4;
}
.secondary-navigation li {
  vertical-align: middle;
}
.menu-item:last-child img {
  display: block;
  float: left;
  padding: 0 10px 0 0;
}
/* Menu - стиль меню */
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
  padding: 1.218em 0.618em;
  *padding: 0.618em 0.618em;
  font-weight: bold;
  font-size: 1.2rem;
}
 .main-navigation ul.menu, .main-navigation ul.nav-menu {
    margin-left: -11px;
}
.site-header .primary-navigation ul.menu li > a:hover {
  transition: 0.25s;
  *border: 1px solid #333;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 10px #000 inset;
  background: #5a5a5a;
  color: #fff;
}
.site-header .primary-navigation ul.menu li > a {
  *border: 1px solid #f0f0f0;
  *box-shadow: 0 0 10px inset;
}
/* header Фон */
.site-header {
  background-color: #f0f0f0;
}
/* Главная header отступ и меню прилепил к верху*/
.home .site-header {
  *padding-top: 1.617924em;
  margin-bottom: 2rem!important;
  background: #fff;
  box-shadow: 0 0 20px;
}
.site-header {
  box-shadow: 0 0 20px;
}
/* Хлебные крошки убрал отступ */
.storefront-breadcrumb {
  margin: 0;
}
/* Главная заголовки с фоном и по центру */
.home h1, h2, h3, h4, h5, h6 {
  *color: #fe8648;
  text-align: center;
  *background: #fe8a4d;
  background: linear-gradient(0deg, rgb(166, 166, 166) 0%, rgb(51, 43, 64) 0%, rgb(189, 189, 189) 100%);
  padding: 0.618rem 0;
  font-weight: 100;
  border-radius: 7px;
}
.home h1, .wp-block-heading {
  text-transform: uppercase;
  *text-shadow: 0 0 10px;
  box-shadow: 0 0 3px #b36400;
  color: #fff;
  padding: 0.618rem;
  font-weight: 100;
}
.woocommerce-loop-product__title {
  background: none;
  padding: 0;
  color: #333;
}
/* Главная убрал отступ "списка товаров" сверху */
.storefront-full-width-content .woocommerce-products-header {
	padding: 1rem 0 0 0;
}
/* Главная "список товаров" стиль и рамка */
.storefront-full-width-content .site-main ul.products li.product {
	border: 1px solid #999;
	box-shadow: 0 0 10px #aaa;
}
.storefront-full-width-content .site-main ul.products li.product:hover {
	border: 1px solid #000;
	box-shadow: 0 0 20px #ccc;
	transition: all 0.15s;
}
ul.products li.product img {
  margin: 0 auto 0.618em!important;
}
ul.products li.product .woocommerce-loop-product__title {
  min-height: 40px;
  padding: 0 4px
}
ul.products li.product .price {
  display: none;
}
.onsale {
  display: none;
}
/* Главная "поиск" рамка */
.site-search form {
	border: 1px solid #000;
}
/* Главная "Преимущества" стиль */
.advantages__list {
  font-size: 0;
  line-height: 0;
  margin: 3rem -20px;
  text-align: center;
  word-spacing: -.36em;
}
.advantages__item {
  font-size: 16px;
  line-height: 1.2;
  display: inline-block;
  width: 20%;
  padding: 0 20px;
  margin: 1rem 0;
  vertical-align: bottom;
  word-spacing: normal;
}
.advantages__item:not(:last-child) {
  position: relative;
}
.advantages__item:not(:last-child)::before {
  position: absolute;
  top: 30%;
  right: -23px;
  width: 46px;
  content: '';
  border-bottom: 1px solid #c8a073;
}
.advantages__item a {
  outline: none;
  text-decoration: none!important;
  color: #5b5b5b;
}
.advantages__item a:hover {
  text-decoration: underline;
}
.advantages__item-top {
  line-height: 60px;
  height: 60px;
  margin-bottom: 27px;
  text-align: center;
}
.advantages__item-top img {
  margin: 0 auto;
}
/* Главная "Каталог товаров" 4 ряда стиль */
.home .site-main ul.products.columns-4 li.product {
    width: 24%;
    margin-right: 1.3%;
}
.addtocartbutton {
  width: 96%;
}
/* Главгая Материалы - каритнка отступ */
.home.page-template-template-fullwidth .hentry .entry-content > .wp-block-cover, .home.page-template-template-fullwidth .hentry .entry-content > .wp-block-image {
  margin-bottom: 0.618rem!important;
}
/* Материалы - таблица стиль */
.hentry .entry-content .wp-block-table td {
  width: 50%;
  padding: 10px;
}
/* Страница товара - размер миниатюр картинок */
.storefront-full-width-content.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 24%;
    float: left;
    margin-right: 1%;
}
/* Страница товара - цена, кнопка, корзина скрыты */
.single-product div.product p.price, .single-product div.product form.cart, .site-header-cart, .storefront-sticky-add-to-cart--slideInDown {
  display: none;
}
/* Подвал "Контакты" стиль */
.footer-widget-2 li img, .footer-widget-3 li img {
  padding: 0 1rem 0 0;
  display: inline-block;
  vertical-align: middle;
}
.footer-widget-4 .widget {
  margin: 0 0 1rem;
}
.site-footer {
  padding: 1.618rem 0;
}
.footer-widgets .wp-block-heading {
  font-size: 1.4rem;
  padding: 0;
}
/* Подвал иконки стиль */
.site-footer {
  background-color: #24242b;
  color: #fff;
}
.contacts-item-icon {
  display: inline;
}
.site-footer a:not(.button):not(.components-button) {
  color: #fff!important;
}
/* Подвал телефоны стиль */
.footer-widget-4 .footer-link {
  font-size: 1.1rem;
  padding: 0 0 0 10px;
  line-height: 1;
}

/* Сертификаты - стиль */
.home .certificats figure, .page-id-601 .certificats figure {
  box-shadow: 0 0 20px #939393;
  padding: 10px;
  margin: 20px!important;
}
.page-id-601 .certificats figure {
  box-shadow: 0 0 20px #939393;
  padding: 10px;
  width: 45% !important;
}
.home .proizvoditeli figure {
    padding: 1rem!important;
    box-shadow: 0 0 4px #888!important;
}
.site-info {
  padding: 0!important;
  margin-top: -100px;
}
.site-info a {
	*display:none;
}






@media screen and (max-width: 480px) {

/* В моб. Главная h1 стиль */
.home h1 {
  font-size: 2rem;
}
.home h1, .home h2, .home h3 {
  font-size: 1.618rem;
  font-weight: 100;
  border-radius: 7px;
  color: #fff;
  *box-shadow: 0 0 10px #bdbdbd;
  box-shadow: 0 0 3px #b36400;
}
.woocommerce-loop-product__title {
  box-shadow:none!important;
  color: #000!important;
}
/* В моб. 2 товара в строке */
ul.products li.product {
  width: 49%;
  display: inline-block;
  vertical-align: top;
}
ul.products li.product img {
  margin: 0 auto 0.618rem;
}
/* В моб. меню кнопки с рамкой и меню приклеил к верху */
.main-navigation li {
  border-bottom: 1px solid #ccc;
  padding: 0 0.5rem;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 0 15px;
  background-color: #fff;
}
.home .site-content {
  margin-top: 120px;
}
.storefront-breadcrumb {
  margin-top: 100px;
}
/* В моб. слайдер стиль */
.ms-image {
  height: 200px!important;
}
.metaslider .slides img {
  height: 200px!important;
}
/* Главная "список товаров" стиль и рамка */
.storefront-full-width-content .site-main ul.products li.product {
	border: none;
}
/* В моб. Главная "Производители" стиль */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
  width: calc(30% - var(--wp--style--unstable-gallery-gap, 16px)/2);
}
/* В моб. Главная "Преимущества" стиль */
.advantages__list {
  margin: 30px -4px;
}
.advantages__item {
  width: 20%;
  margin-bottom: 0;
  font-size: 10px;
  padding: 4px;
  vertical-align: top;
}
.advantages__item p {
  margin: 0;
}
.advantages__item-top {
  height: 55px;
  margin-bottom: 4px;
}
.advantages__item-top img {
  width: 75%;
}
.advantages__item:not(:last-child)::before {
  display: none;
}
/* В моб. "Каталог товаров" сортировака скрыл отображение */
.storefront-sorting {
  display: none;
}
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    padding: 0.618em 0.618em;
	text-align: center;
}
/* Главная "Каталог товаров" 2 ряда стиль */
.home .site-main ul.products.columns-4 li.product {
  width: 49%;
  margin-right: 0.5%;
  margin-bottom: 10%;
  padding: 2px;
  box-shadow: 0 0 10px #d2d2d2;
}
/* В моб. "Блок товара" стиль */
ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.218em;
  *height: 45px;
  min-height: 70px;
  margin: 0;
}
ul.products li.product .price {
  display: none;
}
.onsale {
  display: none;
}
ul.products li.product .button {
  width: 100%;
}
/* В моб. "Карточка товара" стиль */
.single-product div.product .woocommerce-product-gallery {
  margin-bottom: 0;
}
.single-product div.product p.price {
  display: none;
}
/* В моб. "Нижняя панель" скрыл отображение */
 .storefront-handheld-footer-bar {
  display: none;
}
/* Сертификаты - стиль */
.home .certificats figure {
  padding: 4px!important;
  margin: 8px!important;
}
.site-info {
  margin-top: 0;
}
/* Подвал телефоны стиль */
.footer-widget-4 .footer-link {
  font-size: 1.2rem;
  padding: 0 0 0 10px;
  line-height: 1;
}


}