/*!
Theme Name: tovarka
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tovarka
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

tovarka is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
:root{
	--cr-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
}


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
	list-style: none;
}

/* Set core root defaults */
html, body {
	scroll-behavior: smooth;
	overscroll-behavior: none;
}


/* Set core body defaults */
body {
	min-height: 100vh;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
video,
object{
	max-width: 100%;
	height: auto;
	display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font: inherit;
}

*::-webkit-input-placeholder {color: inherit; opacity: 1;}
*:-moz-placeholder {color: inherit; opacity: 1;}
*::-moz-placeholder {color: inherit; opacity: 1;}
*:-ms-input-placeholder {color: inherit; opacity: 1;}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

body{
	font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
	background: linear-gradient(90deg, white 21px, transparent 1%) center, linear-gradient(white 21px, transparent 1%) center, black;
	background-size: 22px 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: rgb(33,36,38);
}
h1,h2,h3,h4{
	text-transform: uppercase;
}
h1{
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
}
h2{
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
}
h3{
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}
h4{
	font-size: 18px;
}
h5{
	font-size: 18px;
	font-weight: 300;
}

h1 strong,
h2 strong,
h3 strong,
a{
	color: #007aff;
}

.site-header {
	background: #1c385f;
	color: #fff;
	box-shadow: var(--cr-shadow);
	width: 100%;
}
.site-header a {
	color: #fff;
}

.site-header .container{
	width: 990px;
	max-width: 100%;
	margin: 0 auto;
	padding: 30px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	align-content: center;
	justify-content: space-between;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 10px auto 10px;
}
.site-branding a {
	text-decoration: none;
}
.site-branding h1 {
	margin-bottom: 0;
}
.main-navigation {
	margin: auto;
}
.main-navigation .contact{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.main-navigation .contact a {
	display: flex;
	flex-direction: row;
	text-decoration: none;
	align-items: center;
	align-content: center;
}
 .contact img {
	width: 32px;
	 margin-right: 15px;
}
.main-navigation .description {
	font-weight: 500;
	font-size: 14px;
}
.main-navigation .number{
	font-weight: 700;
}
.title{
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 10px;
}
.title:before,
.title:after{
	content: "";
	height: 3px;
	border-radius: 5px;
	display: inline-block;
	background: #007aff;
	position: absolute;
	bottom: 0;
	left:0;
}
.title:before {
	width: 20px;
}
.title:after{
	left:30px;
	width: 80px;
}


.top-card-wrap{
	background: #1c385f;
}

.content-wrap{
	background: #fff;
	border-radius: 5px;
	width: 480px;
	display: flex;
	flex-direction: column;
}


.header{
	text-align: center;
	padding: 20px 0;
	text-transform: uppercase;
	color: #fff;
}
.subtitle{
	font-size: 14px;
	margin-bottom: 5px;
	color:rgb(131,146,148);
}
.featured-media{
	position: relative;
	overflow: hidden;
}
.featured-media .discount{
	position: absolute;
	right: 0;
	top:0;
	background: rgb(255,41,51);
	color: #fff;
	padding: 4px 30px;
	transform: rotate(45deg) translate(45px, -8px);
}
.pricing-block{
	display: flex;
	line-height: 1;
	box-shadow: var(--cr-shadow);
}
.pricing-block > *{
	width: 50%;
	text-align: center;
	padding: 10px 0;
}
.pricing-block span {
	display: block;
	padding-bottom: 4px;
	font-size: 14px;
}
.pricing-block strong {
	font-size: 34px;
}
.pricing-block small{
	font-size: 24px;
}
.old-price{
	background: #fff;
}
.old-price strong{
	text-decoration: line-through;
	opacity: .8;
}
.new-price{
	color: #fff;
	background-color: #ffb73b;
	background-image: linear-gradient(180deg, #ffb73b 0%, #FF2525 74%);
}
.order-button{

}
.margin20{
	margin: 20px;
}
.margin30{
	margin: 30px;
}
.margin40{
	margin: 40px;
}
.big-button{
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffb73b;
	border-radius: 5px;
	height: 90px;
	font-size: 30px;
	font-weight: 700;
	color: #222;
	text-shadow: 0 1px 0 rgba(255,255,255,.6);
	text-decoration: none;
	box-shadow: var(--cr-shadow);
	border: none;
	text-transform: uppercase;
	width: 100%;
	cursor: pointer;
}
.big-button svg {
	fill: currentColor;
	margin-right: 12px;
	width: 24px;
	height: 24px;
}
.block-title{
	text-align: center;
}
.number-discount{
	box-shadow: var(--cr-shadow);
	background: rgb(239,242,247);
	padding: 30px 0;
	margin: 30px 0;
	text-align: center;
}

.discount-list{
	margin: 10px 0 0 20px;
	padding: 0;
	font-size: 24px;
}
.discount-list li{
	padding: 5px 20px;
	font-weight: 200;
}
.discount-list strong{
	font-weight: 700;
}
.countdown{
	color: #fff;
	text-align: center;
	border-radius: 15px;
	box-shadow: var(--cr-shadow);
	padding: 0 20px 30px 30px;
}
.countdown h4{
	margin-bottom: 20px;
}
.countdown__timer{
	display: flex;
	justify-content: center;
}
.countdown__item{
	padding: 20px 15px;
	margin: 0 15px;
	background: #193255;
	border: #304766 dashed 1px;
	box-shadow: 0 0 0 4px rgba(25,50,85,1);
	border-radius: 5px;
}
.countdown__value{
	font-size: 60px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.countdown__label{
	display: block;
	font-size: 14px;
}

.countdown-text{
	padding-top: 20px;
	font-size: 12px;
}

.presentation{
	margin: 40px 10px 10px;
}
.presentation > * {
	margin-bottom: 15px;
}

.features-block{
	margin: 30px 10px 15px;
}
.feature-item{
	display: flex;
	flex-direction: row;
	background: rgb(239,242,247);
	border-radius: 5px;
	box-shadow: var(--cr-shadow);
	margin-bottom: 20px;
}
.feature-item:nth-of-type(2n){
	flex-direction: row-reverse;
}
.feature-image{
	width: 40%;
}
.feature-text{
	width: 60%;
	padding: 19px;
}
.feature-title{
	padding-bottom: 12px;
}
.feature-description{
	font-size: 14px;
	margin: 0;
}
.specifications .title{
	margin:0 10px 30px
}

.video-presentation,
.rev_item_image{
	border-radius: 15px;
	box-shadow: var(--cr-shadow);
	overflow: hidden;
}

.characteristics__list{
	padding: 0;
	margin: 0;
}

.characteristics__list li {
	padding: 15px 30px 15px 30px;
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: space-between;
}

.characteristics__list li:nth-child(odd) {
	background: rgb(239,242,247);
}

.characteristics__list li b,
.characteristics__list li span{
	display: block;
}

.reviews {
	margin: 0 10px 10px;
}

.reviews .title{
	margin-bottom: 30px;
}

.rev_item{
	background: rgb(239,242,247);
}

.rev_item_image{
	min-width: 100%;
	border-radius: 5px;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.rev-name{
	font-weight: 700;
	margin: 10px 0 10px 0;
	text-align: center;
}

.rev-name::before{
	content: "";
	display: block;
	height: 14px;
	margin-bottom: 8px;
	background: url("img/stars.png") center no-repeat;
}
.rev-text{
	text-align: center;
	padding: 15px
}
.rev-text p{
	font-size: 13px;
}

.swiper-pagination{
	position: relative !important;
	padding-top: 20px;
}

.how-to-get{
	margin: 20px 10px 40px;
}

.step_item{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background: rgb(239,242,247);
}

.step_item:nth-of-type(odd){
	flex-direction: row-reverse;
}
.step_item:nth-of-type(odd) .bg_icon{
	left: 0;
	transform: translate(-50%, -50%);
}

.step_item .image{
	position: relative;
	width: 50%;
}

.step_item .decor{
	overflow: hidden;
	box-shadow: var(--cr-shadow);
	width: 100%;
}
.step_item .bg_icon{
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(50%, -50%);

	width: 64px;
	height: 64px;

	background: rgb(239,242,247);
	border-radius: 100%;
	box-shadow: var(--cr-shadow);

	display: flex;
	align-items: center;
	justify-content: center;

}

.step_item .text {
	padding: 0 10px 0 50px;
	width: 50%;
}
.step_item:nth-of-type(odd) .text{
	padding: 0 50px 0 10px;
}

.step_item .text p {
	font-size: 14px;
}
.list_4{
	padding: 20px 0 0 0;
	margin: 0;
	display: grid;
	grid-template-columns: 50% 50%;
	align-items: stretch;
	gap: 20px 20px;
}
.how-item{
	position: relative;
	text-align: center;
}
.how-item img {
	display: inline-block;
	border-radius: 100%;
	width: 132px;
	padding: 5px;
	background-color: #193255;
}

.how-item span{
	width: 48px;
	height: 48px;
	position: absolute;
	left: 30px;
	top: 0;
	border-radius: 100%;
	display: flex;
	align-content: center;
	justify-content: center;

	background: #FF2525;
	color: #FFFFFF;
	font-size: 30px;
}

.contact-form{
	background: #1c385f;
	color: #fff;
	padding: 20px 0 10px;
}
.products_count{
	padding: 20px 10px;
	line-height: 1.1em;
	text-transform: uppercase;
	color: #fff;
	font-size: 14px;
	text-align: center;
	font-weight: 700;
	background: #193255;
	width: 430px;
	margin: 10px auto 0;
	letter-spacing: 1px;
	border: #304766 dashed 1px;
	box-shadow: 0 0 0 4px rgba(25,50,85,1);
}

.products_count strong{
	color: #ffb73b;
	margin-left: 3px;
	font-size: 18px;
}

.wpcf7-form{
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 20px;
}

.wpcf7-form select,
.wpcf7-form input {
	width: 100%;
	border: #ececec 1px solid;
	font-size: 18px;
	height: 70px;
	text-align: left;
	padding: 0 30px;
	font-weight: 300;
	color: rgb(33,36,38);
	font-family: inherit;
}
.wpcf7-form-control-wrap{
	margin-bottom: 15px;
	width: 100%;
}

.footer .images img{
	border-radius: 5px;
	box-shadow: var(--cr-shadow);
	overflow: hidden;
	margin-bottom: 15px;
	width: 100%;
}
.footer p{
	font-size: 15px;
}
.footer {
	font-size: 12px;
	padding: 20px 0 0;
	text-align: center;
}
.footer-menu{
	list-style: none;
	padding: 0 40px 20px;
	margin: 0;
}
.footer-menu li {
	display: inline;
	padding: 0 5px;
}


/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Pages */
.page #page{
	background: #fff;
	box-shadow: var(--cr-shadow);
	display: flex;
	justify-content: space-around;
	margin-right: auto;
	margin-left: auto;
	max-width: 990px;
	flex-direction: column;
}
#page .page-content{
	padding: 30px;
}

.page-content .entry-header{
	margin-bottom: 40px;
	text-align: center;
}

.goods-catalog{
	padding: 40px 10px 20px 10px;
	display: flex;
	justify-content: space-around;
	margin-right: auto;
	margin-left: auto;
	max-width: 990px;
	flex-wrap: wrap;
}
.goods-catalog .card{
	display: flex;
	flex-direction: column;
	flex-basis: 480px;
	margin-bottom: 30px;
	font-weight: 300;
	border-radius: 5px;
	box-shadow: var(--cr-shadow);
	text-align: center;
}
.goods-catalog .card img {width:100%}
@media (min-width:600px){
	.goods-catalog .card{ flex-basis: 300px; }
}
.card-title {
	font-size: 14px;
	font-weight: 600;

	padding: 5px 10px;
}
.card-title a {
	text-decoration: none;
	color: inherit;
}

.card-price {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
}
.card-price del {
	font-weight: 400;
	margin-right: 10px;
}
.card-price span {
	color: #FF2525;
}

.wpcf7-form.submitting{
	position: relative;

}
.wpcf7-form.submitting:before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #1c385f;
	z-index: 10;
}
.wpcf7-form.submitting:after{
	content: 'Зачекайте будь-ласка. Ваше замовлення обробляється';
	font-size: 30px;
	font-weight: 700;
	position: absolute;
	left:50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 420px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.6);
	z-index: 20;
	text-align: center;
	line-height: 2;
}


.grecaptcha-badge { visibility: hidden; }