/*
Theme Name:     Avtostil
Template:       astra
*/

:root {
	--ast-global-color-4: #f9f9f9;
}

/* кнопка добавить в избранное */
.wishsuite-button {
	justify-content: center;
}
/* -------------------------- */

/* кнопка показать пароль */
.show-password-input, .show-password-input:focus, .show-password-input:hover {
	background-color: transparent;
	border-radius: 0;
	border: 0;
	color: var(--wc-form-color-text, #000);
	cursor: pointer;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 10px;
	position: absolute;
	right: 0.7em;
	text-decoration: none;
	top: 50%;
	transform: translateY( -50% );
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
	-webkit-font-smoothing: inherit;
	box-shadow: none;
	display: flex;
}

.woocommerce form .password-input, .woocommerce-page form .password-input {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.woocommerce form .password-input input[type=password], .woocommerce-page form .password-input input[type=password] {
	padding-right: 2.5rem;
}

.woocommerce form .show-password-input::after, .woocommerce-page form .show-password-input::after {
	font-family: dashicons;
	speak: never;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	content: "\f177";
	text-decoration: none;
}

.woocommerce form .show-password-input.display-password::after, .woocommerce-page form .show-password-input.display-password::after {
	content: "\f530";
}
/* -------------------------- */

/* кнопки количества */
.woocommerce-js .quantity .minus, .woocommerce-js .quantity .plus {
	text-decoration: none;
}
/* -------------------------- */

/* поле поиска по сайту */
.ast-header-search {
	flex: 1;
}
.ast-inline-search {
	width: 100%;
}
.ast-header-search form.search-form .search-field, .ast-header-search .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
	width: 100%;	
}

.header-widget-area[data-section="sidebar-widgets-header-widget-3"] {
	display: flex;
    flex: 1;
}

.header-widget-area[data-section="sidebar-widgets-header-widget-3"] > section {
	flex: 1;
}
/* -------------------------- */

/* цена продукта */
.product-price {
	text-wrap: nowrap;
}
/* -------------------------- */

/* сумма продукта */
.product-subtotal {
	text-wrap: nowrap;
}
/* -------------------------- */

/* кнопка в оформить заказ и корзине */
.woocommerce-cart .wc-proceed-to-checkout {
	display: flex;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-page.woocommerce-checkout #payment #place_order {
	font-size: 1.1em;
    line-height: 1.8em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    width: auto;
    float: left;
}
/* -------------------------- */

.ast-back-to-cart a {
	float: left;
}

/* заголовки в контактной форме */
.wpcf7-form label {
    font-size: 16px;
    font-weight: normal;
}
/* -------------------------- */

/* @media (max-width: 1240px) {
	ul.mega-sub-menu {
		width: 100vw !important;
	}
} */

/* подкатегории */

.product-cats {
	width: 100%;
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin-left: 1rem !important;
	overflow-x: hidden;
	overflow-y: visible;
}

.flickity-prev-next-button:disabled {
  display: none;
}

/* 
 * ul.product-cats::scrollbar-track {
  background: transparent;
} 
*/
.product-cats .category {
	display: flex;
	align-items: center;
	overflow: visible;
/* 	margin-right: 1.0rem; */
/* 	margin-top: 0.5rem;
	margin-bottom: 0.5rem; */
	
}

.product-cats .category a {
	overflow: visible;
	padding: 1rem;
	border-radius: 4px;
	box-shadow: 0 1px 4px #00000029;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

.carousel-cell {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}

.product-cats .category h2 {
	font-size: 1rem;
	font-weight: 400;
	margin: 0px;
	text-wrap: nowrap;
}
.flickity-enabled {
	display: block;
}
.flickity-slider {
/* 	margin-left: 1rem;
	margin-right: 1rem; */
/* 	padding: -20px;
	overflow: visible; */
}

.flickity-button {
	background-color: #fff !important;
	opacity: 1 !important;
	box-shadow: 0 0px 15px #00000029;
}

.flickity-prev-next-button {
	width: 32px !important;
	height: 32px !important;
	padding: 10px;
}

.flickity-button:hover {
	background-color: #fff !important;
	opacity: 1 !important;
	color: #333;
}

.flickity-button:active {
	background-color: #fff !important;
	opacity: 1 !important;
	color: #333;
}

div.category.carousel-cell.is-selected h2 a {
	color: #111;
	background-color: #f5f6f9;
}

div.category.carousel-cell h2 a:hover {
	color: #111;
	background-color: #f5f6f9;
}

/* ---------------------------------- */

/* .ast-article-post .post-thumb-img-content img {
	aspect-ratio: unset;	
} */

.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	border-radius: 0;
	border: 0;
}

.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder {
	font-style: normal;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    background-color: var(--ast-global-color-5);
	color: var(--ast-global-color-3);
}
.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path {
	fill: inherit;	
}
.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
	content: none;	
}