/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* --- WORDPRESS --- */
.agree {
	display: none !important;
}
.wpcf7 textarea {
	height: 120px;
}
.wpcf7-acceptance {
	height: 1px;
	display: block;
}
/* СТРАНИЦЫ */

/**   ГЛАВНАЯ    */

.img-front {
	width: auto !important;
}

.img-bottom img {
	object-position: bottom;
}

/**   Блог    */
.blog-intro {
	font-size: 3.5rem;
}
.post.type-post .entry-content .wp-block-uagb-container p {
	margin-bottom: 10px;
}
.post.type-post .entry-content .wp-block-uagb-container h2, .post.type-post .entry-content .wp-block-uagb-container h3, .post.type-post .entry-content .wp-block-uagb-container h4 {
	margin-bottom: .2em;
}
.post.type-post .entry-content .wp-block-uagb-container h2 {
	font-size: 3.5rem;
}
.post.type-post .entry-content .wp-block-uagb-container h3 {
	font-size: 2.2rem;
}
.wp-post-image {
	object-fit: cover;
}

/* --- WOOCOMMERCE --- */

/* Общие */

/* Меню */

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu {
	flex-wrap: wrap;
	gap: 20px;
}
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu>.menu-item {
	display: block;
    flex: 1 0 30%;
    opacity: 1;
}
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu>.menu-item:first-child {
    padding-left: inherit;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 50px;
}

/* Каталог */
.ast-sticky-shop-filters {
	padding: unset;
    background: unset;
    box-shadow: unset;
	border: unset;
}
.ast-desktop h1.woocommerce-products-header__title {
	font-size: 68px;
}
.woocommerce-result-count, .woocommerce:has(.peony-delivery-preview) .woocommerce-notices-wrapper {
	display: inline-block;
}
.woocommerce-js a.button.add_to_cart_button {
	background: transparent;
	border: 1px solid var(--ast-global-color-0);
	color: var(--ast-global-color-0);
}
.woocommerce-js a.button.add_to_cart_button:hover {
	background: var(--ast-global-color-0);
	color: var(--ast-global-color-5);
}
.woocommerce .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap .astra-shop-filter-button {
	display: none;
}
button.wc-block-product-filters__open-overlay {
	color: var(--ast-global-color-0);
    background-color: unset;
    border: unset;
}
button.wc-block-product-filters__open-overlay:hover {
	color: var(--ast-global-color-5);
    background-color: var(--ast-global-color-0);
}
.peony-shop-specials {
	clear: both;
	display: flow-root;
	width: 100%;
	margin: 0 0 42px;
	padding: 0 0 28px;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.peony-shop-specials .woocommerce,
.peony-shop-specials-products {
	clear: both;
	width: 100%;
}
.peony-shop-specials-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 32px;
	margin: 0 0 1em;
	padding: 0;
	list-style: none outside;
}
.peony-shop-specials-products li.product {
	display: flex;
	flex-direction: column;
	position: relative;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 1.2em;
	text-align: left;
	list-style: none outside;
	background-color: var(--ast-global-color-5);
	box-shadow: 0 0 0 0 rgba(0,0,0,.1);
	transition: all .3s ease-in-out;
}
.peony-shop-specials-products li.product > :last-child {
	margin-bottom: 0;
}
.peony-shop-specials-products li.product a {
	text-decoration: none;
}
.peony-shop-specials-products li.product a.ast-loop-product__link {
	display: inline-block;
	width: 100%;
}
.peony-shop-specials-products li.product a.woocommerce-loop-product__link {
	position: relative;
	display: block;
	overflow: hidden;
}
.peony-shop-specials-products li.product a img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 .8em;
	box-shadow: none;
}
.peony-shop-specials-products li.product .woocommerce-loop-product__link img {
	margin-bottom: 0;
	backface-visibility: hidden;
	transition: filter .6s, opacity .6s, transform .6s;
}
.peony-shop-specials-products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	margin-bottom: .8em;
}
.peony-shop-specials-products li.product .astra-shop-summary-wrap {
	padding: 0 1.2em;
}
.peony-shop-specials-products li.product .woocommerce-loop-product__title,
.peony-shop-specials-products li.product h2 {
	margin: 0 0 .5em;
	padding: 0;
	font-size: 1em;
	line-height: inherit;
}
.peony-shop-specials-products li.product .price {
	display: block;
	color: var(--ast-global-color-3);
	line-height: 1.3;
	margin-bottom: .5em;
	font-size: .9em;
	font-weight: 700;
}
.peony-shop-specials-products li.product .price del {
	color: inherit;
	opacity: .5;
	display: initial;
}
.peony-shop-specials-products li.product .price ins {
	background: 0 0;
	font-weight: 700;
	display: inline-block;
	text-decoration: inherit;
}
.peony-shop-specials-products li.product .button {
	display: inline-block;
	margin: .5em 0;
	white-space: normal;
}
.peony-shop-specials-products li.product .ast-onsale-card {
	position: absolute;
	top: 1.5em;
	left: 1.5em;
	color: var(--ast-global-color-3);
	background-color: var(--ast-global-color-primary, var(--ast-global-color-5));
	width: fit-content;
	border-radius: 20px;
	padding: .4em .8em;
	font-size: .87em;
	font-weight: 500;
	line-height: normal;
	letter-spacing: normal;
	box-shadow: 0 4px 4px rgba(0,0,0,.15);
	opacity: 1;
	visibility: visible;
	z-index: 4;
}
.peony-shop-specials-products li.product .ast-on-card-button {
	position: absolute;
	right: 1em;
	visibility: hidden;
	opacity: 0;
	transition: all .2s;
	z-index: 5;
	cursor: pointer;
}
.peony-shop-specials-products li.product .ast-on-card-button.ast-onsale-card {
	opacity: 1;
	visibility: visible;
}
.peony-shop-specials-products li.product .astra-shop-thumbnail-wrap:hover .ast-on-card-button:not(.ast-onsale-card) {
	opacity: 1;
	visibility: visible;
}
.peony-shop-specials-products li.product .ast-select-options-trigger {
	top: 1em;
}
.peony-shop-specials::after {
	content: "";
	display: block;
	clear: both;
}
.peony-shop-specials-break {
	clear: both;
	display: block;
	width: 100%;
	height: 1px;
	margin: 0 0 28px;
}
.peony-shop-specials-title {
	margin: 0 0 18px;
	font-size: 24px;
	line-height: 1.25;
}

.button.product_type_variable.add_to_cart_button {
	padding-right: 12px;
	padding-left: 12px;
}
/* Карточка товара */
.woocommerce-js div.product div.summary .woocommerce-product-details__short-description :last-child {
    margin-top: 1.5em !important;
}	
.ast-single-product-payments {
	margin-top: 2em;
}
.entry-summary .variations_form {
	margin-top: 20px;
}

/* ЧЕКАУТ */

.peony-delivery-preview{
	margin: 0 0 22px;
	padding: 18px 0;
	border-top: 1px solid rgba(0,0,0,.08);
	border-bottom: 1px solid rgba(0,0,0,.08);
  }
  
  .peony-delivery-title{
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.25;
	margin-bottom: 30px;
	font-weight: 600;
  }
  
  .peony-delivery-item{
	border: 1px solid var(--ast-global-color-0);
	border-radius: 12px;
	padding: 8px 12px;
    display: table-cell;
  }
  
  .peony-delivery-item p{
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
	color: rgba(0,0,0,.68);
  }
  
  .peony-delivery-note{
	margin: 14px 0 0;
	font-size: 12.5px;
	color: rgba(0,0,0,.62);
  }
  .peony-zip-error{
	font-size: 12px;
	text-align: center;
	color: #cf5252;
  }

  .entry-content .woocommerce-error {
	flex: 100%;
  }
@media (max-width: 768px) {
	/* Каталог */
	.ast-left-sidebar #content > .ast-container {
		flex-direction: column;
	}
	#secondary {
		display: none;
    }
	.ast-header-break-point.ast-woocommerce-shop-page-modern-style ul.products {
		margin-top: 0;
	}
	.ast-header-break-point .ast-shop-toolbar-container {
		position: relative;
		float: right;
		z-index: 99;
		margin-top: -60px;
	}
	.ast-flyout-filter, .astra-off-canvas-sidebar-wrapper, .astra-off-canvas-sidebar-wrapper *, .ast-flyout-filter * {
		will-change: auto !important;
		transition: none !important;
		animation: none !important;
	}
	.woocommerce-products-header {
		display: inline-block;
	  }
	.woocommerce ul.products, .woocommerce-page ul.products {
		column-gap: 12px;
	}
	.woocommerce-js a.button {
		font-size: 12px;
	}
	.woocommerce .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap .astra-shop-filter-button {
		display: flex;
	}
	.peony-shop-specials-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 24px;
	}
	.peony-shop-specials-products li.product a.button {
		padding: 10px;
	}
	.popup-collection .woocommerce ul.products {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 14px;
		margin: 0;
		padding: 0 4px 12px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}
	.popup-collection .woocommerce ul.products li.product {
		float: none !important;
		flex: 0 0 76% !important;
		width: 76% !important;
		max-width: 76% !important;
		margin: 0 !important;
		scroll-snap-align: start;
	}
}
