/*
Theme Name: The Garden Market
Theme URI: https://example.com
Author: Victoria Ogorodnik
Author URI: https://the-garden.ru
Description: Тема для WooCommerce
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thegardenmarket
*/

*,
*::before,
*::after {
  box-sizing: border-box;
  transition: all 0.2s;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ul[class],
ol[class] {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  display: block;
}

article > * + * {
  margin-top: 1em;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@font-face {
font-family: "Montserrat"; 
src: url("fonts/Montserrat-Bold.ttf") format("truetype");
font-style: normal; 
font-weight: 700;
}

@font-face {
font-family: "Montserrat"; 
src: url("fonts/Montserrat-Regular.ttf") format("truetype");
font-style: normal; 
font-weight: 400;
}

@font-face {
font-family: "Montserrat"; 
src: url("fonts/Montserrat-SemiBold.ttf") format("truetype");
font-style: normal; 
font-weight: 600;
}

@font-face {
font-family: "MsMadi"; 
src: url("fonts/MsMadi-Regular.ttf") format("truetype");
font-style: normal; 
font-weight: 400;
}

body {
	font-family: "Montserrat"; 
}
a {
	color: #03A9F4;
}
main {
	padding:0 10px;
	max-width: 1220px;
	margin: 0 auto;
	min-height: calc(100vh - 280px);
}

.warning_header {
	position: fixed;
    transform: translate(-50%);
    width: fit-content;
    padding: 20px;
    background: #FF9800;
    left: 50%;
    color: #fff;
    top: -350px;
    transition: all 0.2s;
}
.warning_header.open {
    top: 0;
	z-index:2;
}
.warning_header p {
	text-align:center;
	font-weight:600;
}
.warning_header p a {
	color:#fff;
}
.warning_header button {
    margin: 20px auto 0;
    display: block;
    border: none;
    background: #fff;
    height: 40px;
    width: 150px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.warning_header button:hover {
	box-shadow:0 0 5px #0000004d;
}
.woocommerce .woocommerce-breadcrumb {
    font-size: 13px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 50px;
    margin-top: 10px;
}
header .toggle_menu {
	display:none;
}
header .logo_block {}
header .logo {
    font-weight: 400;
    font-family: "MsMadi";
    font-size: 60px;
    line-height: 0;
    color:#000;
    text-decoration:none;
    margin-top: 25px;
    display: block;
    height: 21px;
}
header .logo_block p {
    font-size: 12px;
    max-width: 300px;
}
header.woocommerce-products-header {
    padding: 0;
    gap: 10px;
    margin-bottom: 50px;
    margin-top: 25px;
}
header.woocommerce-products-header h1 {
    font-family: 'Montserrat';
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -1px;
}
header nav {}
header nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav ul li {}
header nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}
@media (max-width:1024px) {
	header .toggle_menu {
	display:block;
	position: fixed;
	width: 30px;
	height: 18px;
	align-self: flex-start;
	top: 32px;
	cursor: pointer;
	right: 10px;
	z-index: 1;
	}
	header .toggle_menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    transition: all 0.3s;
 }
	header .toggle_menu span:nth-child(1) {
    top: 0;
	}
	header .toggle_menu span:nth-child(2) {
    top: calc(50% - 1px);
	}
	header .toggle_menu span:nth-child(3) {
    bottom: 0;
	}
	header .toggle_menu.open span {
    background: #fff;
    top: 50% !important;
    left: 50%;
    width: 80%;
}
	header .toggle_menu.open span:nth-child(1) {transform: translate(-50%) rotate(45deg);}
	header .toggle_menu.open span:nth-child(2) {
    opacity: 0;
}
	header .toggle_menu.open span:nth-child(3) {
    transform: translate(-50%) rotate(-45deg);
}
	header nav {
		position:fixed;
		background:#03a9f4;
		top: -300px;
		left:0;
		width:100%;
		padding: 70px 20px 20px;
		transition: all 0.5s;
	}
	header nav.open {
		top:0;
		z-index: 1;
	}
	header nav ul {
		gap: 15px;
		justify-content:center;
	}
	header nav ul li {
		text-align:center;
		line-height:1.2;
	}
	header nav ul li a {
		color:#fff;
	}
}
/* Ð¡Ñ‚Ñ€ÐµÐ»ÐºÐ¸ Ð´Ð»Ñ Ð³Ð°Ð»ÐµÑ€ÐµÐ¹ */
.swiper_arr {
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    z-index: 1;
    opacity: 0.5;
    box-shadow: 0 0 4px #0000005e;
    transition: all 0.2s;
    cursor: pointer;
}
.swiper_arr:hover {
	opacity: 1;
}
.swiper_arr::before	{
	content: '\2192';
	color: #000;
}
.swiper_arr_prev {
    transform: translateY(-50%) scaleX(-100%);
    left: -13px;
}
.swiper_arr_next {
    right: -13px;
}


/* Ð¡Ñ‚Ñ€Ð°Ð½Ð¸Ñ†Ð° Ð¿Ñ€Ð¾Ð´ÑƒÐºÑ‚Ð° */
.woocommerce-notices-wrapper {}
.woocommerce-notices-wrapper .woocommerce-message {}
.woocommerce-notices-wrapper .woocommerce-message::before {}
.woocommerce-notices-wrapper .woocommerce-message .button {}
.woocommerce-notices-wrapper .woocommerce-message .button:hover {}
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.woocommerce div.product div.summary {
    margin-bottom: 0;
    width: auto;
    float: none;
    flex: 1 0 calc(100% - 530px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.woocommerce div.product .product_title {
    font-weight: 400;
    font-size: 30px;
    line-height: 1.1;
}
.woocommerce div.product form.cart .variations {
    width: fit-content;
}
.woocommerce div.product form.cart::after, .woocommerce div.product form.cart::before {
	display:none;
}
.woocommerce div.product form.cart .variations tr {
    display: flex;
}
.woocommerce div.product form.cart .variations tr th {
    display: flex;
    align-items: center;
}
.woocommerce div.product form.cart .variations label {
    font-weight: 400;
    font-size: 14px;
    padding: 0 10px 0 0;
}
.woocommerce div.product form.cart .variations select {
    min-width: auto;
    border: 1px solid #e8e8e8;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 3px;
}
.woocommerce .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 5px;
}
.woocommerce div.product p.price {
    color: #2196F3;
    font-size: 24px;
}
.woocommerce div.product form.cart {
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0;
}
.woocommerce div.product form.cart div.quantity .qty {
    height: 100%;
    outline: none;
    border: 1px solid #c3c3c3;
    width: 50px;
    padding: 0;
    border-radius: 4px;
}
.woocommerce div.product .product_meta {
    font-size: 14px;
    opacity: 0.7;
}
.woocommerce div.product .product_meta a {
    color: #000;
}
.woocommerce div.product form.cart .button {
    background: #03a9f4;
    font-weight: 400;
    transition: all 0.2s;
}
.woocommerce div.product form.cart .button:hover {
    background: #03a1e8;
}
.product_images {}
.product_images {
	width:100%;
	max-width: 500px;
}
.zoom-image {
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
	object-fit: contain;
	position: absolute;
	top: 50%;
	left: 50%;
}
.product_images .nav {
	width: 100%;
	margin-top: 10px;
	position: relative;
}
.product_images .nav .thumbnail {}
.product_images .nav .thumbnail .img {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 0.8;
    border-radius: 7px;
    background-size: cover !important;
    background-position: center !important;
}
.product_images .image {}
.product_images .image .carousel {position: relative;padding-top: 120%;}
.product_images .image .carousel .image_container {
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    padding-top: 120%;
    pointer-events: none;
}
.product_images .image .carousel .image_container.checked {
    opacity: 1;
    pointer-events: all;
}
.product_images .image .carousel .image_container img {
    border-radius: 10px;
    transform: translateX(-50%) translateY(-50%);
    max-width: none;
}
.product_images .image .carousel .image_container .zoom-image.hovered {
	transform: translateX(-50%) translateY(-50%) scale(2);
}
.product_images .image .arrows {}
.product_images .image .arrows span {}
.product_images .image .arrows span.arr_left {}
.product_images .image .arrows span.arr_right {}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .history {
	display: flex;
    flex-direction: column;
    gap: 20px;
	font-size: 14px;
	max-height:200px;
	overflow:hidden;
	position:relative;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .history.open {
	max-height:10000px;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .history::before {
	content:'';
	position:absolute;
	width:100%;
	height: 185px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
	bottom: 0;
	left: 0;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .history::after {
	content:'Читать полностью';
	font-size:13px;
	text-decoration:underline;
	position:absolute;
	width:fit-content%;
	bottom:20px;
	left:50%;
	transform:translateX(-50%);
	cursor:pointer;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .history.open::before,
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .history.open::after {
	display:none;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description p {
    font-size: 14px;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    max-width: 600px;
    margin: 0;
}
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description ul li {}

.related {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 100%;
}
.related h2 {
    font-weight: 400;
}
.related ul {}
.related ul li {}
.related ul li a {}
.woocommerce ul.products li.product .button {
	background: #03a9f4;
	font-weight: 400;
	transition: all 0.2s;
	color: #fff;
	margin: 10px 0 0;
	border: none;
	width: 100%;
	text-align: center;
}
.woocommerce ul.products li.product .button:hover {
	background: #03a1e8;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {color: #000;font-weight: 400;position: relative;height: 25px;overflow: hidden;order: 1;padding: 0;}
.woocommerce ul.products li.product .woocommerce-loop-product__title::after {
	content: '';
	display:block;
	width: 50px;
	height:40px;
	text-align: right;
	position:absolute;
	color: #000;
	right: 0;
	top: 8px;
	background: linear-gradient(-90deg, #fff, transparent);
}
h2.woocommerce-loop-product__title {}
.woocommerce ul.products li.product .price {
    color: #2196F3;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}
.woocommerce ul.products li.product a img {
    border-radius: 7px;
}
.woocommerce ul.products li.product a.added_to_cart.wc-forward {
	display: none;
}

footer {
    padding: 30px 10px;
    background: #000;
    color: #fff;
    margin-top: 50px;
}
footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
footer .container .copy {
    font-size: 13px;
}
footer .container .copy .logo {
	font-weight: 400;
	font-family: "MsMadi";
	font-size: 60px;
	line-height: 1;
}
footer .container .copy p {}
footer .container .copy p a {
	color:#fff;
}
footer .container .social {
    display: flex;
    gap: 10px;
    flex-wrap:wrap;
    align-content: space-between;
    justify-content: flex-end;
}
footer .container .social a {
    display: block;
    width: 25px;
    height: 25px;
	mask-size: contain;
    background: #fff;
    mask-position: center;
    mask-repeat: no-repeat;
}
footer .container .social a.tg {
	mask-image: url(img/tg.svg);
}
footer .container .social a.vk {
	mask-image: url(img/VK_logo.svg);
}
footer .container .social a.tr {
    mask-image: url(img/threads.svg);   
}
footer .container .social a.btn {
	width:100%;
	background: #03a9f4;
	color:#fff;
	text-decoration:none;
	display:flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}
@media (max-width:768px) {
	footer .container .copy {
		text-align:center;
		margin: 0 auto;
	}
	footer .container .social {
		flex:0 0 100%;
		justify-content: center;
		max-width: 360px;
		margin: 0 auto;
	}
}

.catalog_nav {
    position: fixed;
    left: 0;
    top: 215px;
    padding: 20px;
    background: #45c5ff;
    border-radius: 0 7px 7px 0;
    font-size: 14px;
    z-index: 1;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
.catalog_nav.open {
    transform: translateX(0);
}
.catalog_nav a {
    color: #fff;
    text-decoration: none;
}
.catalog_nav .title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}
.catalog_nav ul.parent {}
.catalog_nav ul.parent li {}
.catalog_nav ul.parent li.has-children {}
.catalog_nav ul.parent li.has-children ul.child {
    margin-left: 15px;
}
.catalog_nav ul.parent li.has-children ul.child li {}
.catalog_nav .menu_cat_btn {
	background: #45c5ff;
	position: absolute;
	padding: 10px 12px 10px 7px;
	right: -32px;
	top: 8px;
	border-radius: 0 5px 5px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.catalog_nav.open .menu_cat_btn {
	padding: 10px 7px 10px 10px;
}
.catalog_nav .menu_cat_btn .icon {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
}
.catalog_nav.open .menu_cat_btn .icon {
	transform: rotate(-135deg);
}

/* cart */
.wc-block-components-button.wp-element-button {
	background:#03A9F4;
}

/* catalog */
.woocommerce .products ul, .woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    padding-top: 25px;
}
.woocommerce .products ul, .woocommerce ul.products::before {
	display:none;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: none;
    margin: 0;
    width: auto;
    flex: 0 0 calc((100% - 60px) / 4);
    border: 1px solid #f2f2f2;
    border-radius: 10px;
    padding: 10px 10px 15px;
    box-shadow: 0 0 10px #00000014;
}
@media (max-width:1199px) {
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	flex: 0 0 calc((100% - 40px) / 3);	
	}
}
@media (max-width:1024px) {
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	flex: 0 0 calc((100% - 20px) / 2);	
	}
}
@media (max-width:768px) {
	.woocommerce ul.products li.product .button {
	font-size:14px;	
	}
}
@media (max-width:520px) {
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	flex: 0 0 100%;	
	}
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #e8e8e8;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 3px;
}
.woocommerce .woocommerce-ordering select option {
    font-size: 12px;
}

/* text_page */
.text_page {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
}
.text_page h1 {}
.text_page h2 {}
.text_page h3 {}
.text_page p {}
.text_page ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}
.text_page ul li {
    position: relative;
    padding-left: 15px;
}
.text_page ul li::before {
	content:'';
	display:block;
	width:3px;
	height:3px;
	background:#000;
	position:absolute;
	left:0;
	top: 10px;
	border-radius: 50%;
}
.text_page ol {}
.text_page ol li {}
.text_page a {}

/* popup */
.popup {
	display:none;
}
.popup.open {
	display:flex;
	position:fixed;
}