/*======================================
Theme Name: Irengo shop
Theme URI: https://irengo.ru
Description: shop irengo
Version: 1.0
Author: Mike Kh
Author URI: https://irengo.ru
Template: Divi
======================================*/

/* отсутупы для блога сетка + js код в хедере */
.pa-blog-equal-height .pa-auto-height {
    height: auto !important;
}
.pa-blog-equal-height .pa-auto-margin {
    margin-top: 20px !important;
}

/* Импортируем стили слайдера главной страницы 
@import "css/main-slider.css"; */

/* Мигание для Специальные предложения в меню */
@-webkit-keyframes pulsate {
 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 7px #fff; }
}
@keyframes pulsate {
 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 7px #fff; }
}
#mega-menu-item-292086 {
  color: rgb(245,245,245);
  text-shadow: 0 -1px rgba(0,0,0,.1);
  background: green;
  -webkit-animation: pulsate 1.8s linear infinite;
  animation: pulsate 1.8s linear infinite;
}

/* Убираем цену и подитог в корзине */

tr.woocommerce-cart-form__cart-item td.product-price {
    display: none;
}
tr.woocommerce-cart-form__cart-item td.product-subtotal {
    display: none;
}
th.product-price {
    display: none;
}
th.product-subtotal {
    display: none;
}
.cart_totals h2 {
    display: none;
}


/* Убираем цену в Личном кабинете в заказах */
.woocommerce-orders-table__header-order-total {
    display: none;
}
.woocommerce-orders-table__cell-order-total{
    display: none;
}

/* Убираем цену, подитог, купон в таблице Оформление заказа */

.cart-subtotal {
display: none;
}
.order-total {
display: none;
}
.product-total {
display: none;
}
.cart-discountl {
display: none;
}
.coupon-divi {
display: none;
}

/* Убираем кнопку обновить корзину (убираются все действия из корзины в том числе и купоны) */
table.cart td.actions {
    display: none !important;
}

/* Увеличиваем ширину поля количество в корзине */
.woocommerce .quantity input.qty {
    width: 7.3em;
}

/* Убираем кнопку посмотреть корзину в плагине Side cart */
.xoo-wsc-ft-btn-cart {
    display: none !important;
}

/* Ваш заказ в чекаут делаем скролл таблицы */
.ir-scroll-order-list-checkout {
display: block;
width: 100%;
height: 250px;
overflow: auto;
padding-top: 10px;
padding-left: 10px;
}

/* Цвет уведомлений woo */
.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
    background: #fff;
}
.woocommerce-info a {
    color: #ff0100;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    color: #000 !important;
}


/* Таблица с данными заказа на странице спасибо */

.woocommerce-thankyou-order-received {  
    font-size: 14px !important;
    padding-bottom: 16px !important;
}
.woocommerce-order-overview .woocommerce-thankyou-order-details .order_details {
    font-size: 14px !important;
    padding-bottom: 16px !important;
}

/* Убераем стандартное меню в Мой аккаунт */
.woocommerce-MyAccount-navigation {
display:none;
}
.woocommerce-account .woocommerce-MyAccount-content {
width: 100%;
}

/* Стили для брендов по алфовиту на отдельной странице */
    .tax-title a {
    font-size: 16px;
    font-weight: 400;
    margin: 0px 0px;
    color: black;
}
.taxonomy-list-item {
    margin-bottom: auto;
    display: inline-block;
    width: 33%;
}
#tax-search-filter {
    background-color: #fff;
    border: 1px solid #bbb;
    padding: 12px;
    color: #4e4e4e;
    border-radius: 8px;
}

@media all and (max-width: 768px) {
	.taxonomy-list-item {
    margin-bottom: 2%;
    display: inline-block;
    width: 100%;
    }
}

/* Скругления для поиска в меню */
.aws-container .aws-search-field {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}
.aws-container .aws-search-form .aws-search-btn.aws-form-btn {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

body.woocommerce-checkout .et_pb_wc_checkout_payment_info_0 .woocommerce-order p {
    font-size: 20px!important;
}
.woocommerce ul.order_details li {
    font-size: 15px!important;
}

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db #et-boc .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
html .et-db #et-boc .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    html .et-db #et-boc .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}
/* 3 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db #et-boc .three-col-mob .et_pb_column {
        width:29.6667% !important;
    }
    html .et-db #et-boc .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    html .et-db #et-boc .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* Выпадающее меню */
.nav li ul {
	width: 330px;
}

.et-menu li li a {
    padding: 4px 4px;
    width: 290px;
}

.nav li li a {
	font-size: 15px !important;
}

/* Колонки для портфолио */
/* 2 Column Portfolio */
@media (min-width: 981px) {
.two-column-portfolio .et_pb_grid_item {
width: 47.25%!important;
margin-right: 5.5%!important;
}
 
.two-column-portfolio .et_pb_grid_item:nth-child(3n) {
margin-right: 5.5%!important;
}
 
.two-column-portfolio .et_pb_grid_item:nth-child(2n) {
margin-right: 0!important;
}
 
.two-column-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
clear: none!important;
}
 
.two-column-portfolio .et_pb_grid_item.first_in_row {
clear: unset;
}
}
/* 3 Column Portfolio */
@media (min-width: 981px) {
    .three-column-portfolio .et_pb_grid_item {
        width: 29.66%!important;
        margin-right: 5.5%!important;  
    }
  
    .three-column-portfolio .et_pb_grid_item:nth-child(3n) {
        margin-right: 0!important;
    }
  
    .three-column-portfolio.et_pb_grid_item:nth-child(4n) {
        margin-right: 5.5%!important;
    }
  
    .three-column-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
        clear: none!important;
    }
    .three-column-portfolio .et_pb_grid_item.first_in_row {
        clear: unset;
    }
}

/* краткое описание портфолио */
.et_pb_portfolio_excerpt {
    text-align: center;
}

/* 2 колонки товаров на мобильном */

@media only screen and (max-width: 712px)
{
.woocommerce-page ul.products li.product:nth-child(n) {   
  width: 50%!important;
  padding: 10px !Important;
}
}
@media only screen and (max-width: 712px)
{
#sidebar .et_pb_widget {
    display: none;
}
}

/* отступ для виджета вывод катгорий товаров */
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {
    margin: 4px 0 4px 16px !important;
}

/* стили для страницы новости */
.newsdesign a.more-link {
    font-size: 12px;
    color: #71818c !important;
    font-weight: 400;
    margin-top: 10px;
    float: none;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 10px;
    background-color: #f7f9fb;
    border: 1px solid #e9eff5;
}
 
.newsdesign a.more-link:hover {
color: #20292f;
}

.pa-blog-image-16-9 .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}
.pa-blog-image-16-9 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}
.pa-blog-equal-height .et_pb_ajax_pagination_container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	column-gap: 0.8em
}

.pa-blog-equal-height .et_pb_ajax_pagination_container article {
	padding: 1em;
	border-radius: 10px;
	border: 2px solid blue
}

.pa-blog-equal-height .et_pb_ajax_pagination_container div {
	grid-column: 1 / -1;
}

.pa-blog-equal-height .et_pb_post div.post-content a.more-link {

	bottom: 10px
}

.pa-blog-equal-height .post-content {
	padding-bottom: 4.5em;
}

@media all and (max-width: 980px) {
	.pa-blog-equal-height .et_pb_ajax_pagination_container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media all and (max-width: 768px) {
	.pa-blog-equal-height .et_pb_ajax_pagination_container {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* 5 строчек названия товара на странице магазина, остальное обрезаем*/
.woocommerce ul.products li.product .woocommerce-loop-category__title,.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 1em;
    height: 5em !important;
    overflow: hidden !important;
}

/* 5 columns on desktop  5 колонок товара на десктопе*/
@media all and (min-width:1024px) {
  [class*=woocommerce] ul.products li.product {
      width: 16.96%!important;
      margin: 0 3.8% 2.992em 0!important;
      clear: none!important;
  } 
  [class*=woocommerce] ul.products li.product:nth-child(5n) {
    margin-right:0px!important;
  }
  [class*=woocommerce] ul.products li.product:nth-child(5n+1) {
    clear: both!important;
  }
}

/* Счетчик количества товаров у категорий */
.woocommerce-loop-category__title mark.count {
    background: none;
    font-size: 0.8em;
    color: #000;
    opacity: 0.6;
}

/* увеличиваем ширину сайдбара*/
@media screen and (min-width: 981px) {
    #sidebar {
        width: 32%!important;
    }
    #left-area {
        width: 68%!important;
    }
}
.et_left_sidebar #main-content .container:before {
    left: 32.875% !important;
}
.et_left_sidebar #sidebar {
    padding-right: 5px;
}