/*
Theme Name: Mbookshop
Author: Andrei Shindryaev
Author URI: https://10-10-10.ru
Version: 1.0.0
Requires PHP: 5.6
Tested up to: 5.5.2
Template: new-york-business
Text Domain: mbookshop
*/
body {
	font-family: Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}
label {
	display: inline;
}

h1, h2, h3, h4, h5, h6, label, .start-button, .testimonial-title, #main_Carousel .slider-title, .site-title a, .sub-header .title {
    font-family: 'Roboto' !important;
	font-weight: 500 !important;
}
    


input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	border: 1px solid #d7d7d7;
}

a:hover,
a:focus,
.mimi-header-social-icon a:hover,
.mimi-header-social-icon a:focus,
.footer-foreground a:hover,
.footer-foreground a:focus,
.footer-foreground .site-info a:hover,
.footer-foreground .site-info a:focus {
	color: #D0330A;
}

.mimi-header-social-icon li a {
	border-radius: 25px;
}

button,
input[type="button"],
input[type="submit"] {
	background-color: #D0330A;
}

.search-box {
	border: 1px solid #e6e6e6;
}

.search-box:focus,
.search-box:hover {
	box-shadow: 2px 1px 2px #ffffff;
}

#btn-search-category .fa,
#voice-trigger .fa {
	color: #ccc;
	font-size: 21px;
}

.search-form .search-submit {
	border-radius: 24px;

	-webkit-border-radius: 24px;
}

.search-form .search-field {
	border-radius: 24px;

	-webkit-border-radius: 24px;
}

.carousel-navigation a,
#main_Carousel .carousel-indicators li.active {
	background-color: #D0330A;
}

#product_carousal .carousel-indicators li.active {
	background-color: #D0330A;
}

.product-wrapper .badge-wrapper .onsale {
	background-color: #ffd700;
}

.carousel-navigation a {
	border-radius: 24px;
}

.wishlist-contents::before,
.cart-contents::before,
.cart-contents-price {
	color: #fff;
}

.product-navigation > ul > li > a::before {
	color: #D0330A;
}

.wc-button-container a.add_to_cart_button,
.wc-button-container a.product_type_grouped,
.wc-button-container a.product_type_external,
.wc-button-container a.product_type_simple,
.wc-button-container a.product_type_variable {
	background-color: #D0330A;

	color: #fff;

	border: none;
}

.wc-button-container a.add_to_cart_button:hover,
.wc-button-container a.product_type_grouped:hover,
.wc-button-container a.product_type_external:hover,
.wc-button-container a.product_type_simple:hover,
.wc-button-container a.product_type_variable:hover,
.wc-button-container a.add_to_cart_button:focus,
.wc-button-container a.product_type_grouped:focus,
.wc-button-container a.product_type_external:focus,
.wc-button-container a.product_type_simple:focus,
.wc-button-container a.product_type_variable:focus {
	border: none;

	background-color: #fff;

	color: #D0330A;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background-color: #D0330A;
	color: #ffffff;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
nav.woocommerce-MyAccount-navigation ul li.is-active {
	background-color: #D0330A;
	
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background-color: #D0330A;
	opacity: .5;
}


.woocommerce fieldset {
	border: 1px solid #D0330A;
}

span.price {
	font-size: 15px;

	color: #0f0f0f;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #D0330A;
}

.woocommerce legend {
	border: 1px solid #D0330A;
}

.featured-section .section-title::after,
.page-title::after,
.featured-title::after {
	border-bottom: 2px solid #D0330A;
}

ul.header-social-icon li a {
	border-radius: 24px;
}

.footer-widget h2.widget-title::after,
.footer-widget h2.widgettitle::after {
	border-bottom: #D0330A 2px solid;
}

.site-footer {
	background: #f9f9f94f;

	border-top: 2px solid #1da1f2;
}

.scroll-top {
	background: #D0330A;
	z-index: 99999;
	border-radius: 24px;
}

.sticky {
	position: relative;

	border: 1px solid #eeeee5;

	padding-left: 10px;

	box-shadow: -2px -2px 2px 1px #eee;
}

#secondary .widget-title {
	border-bottom: 2px solid #D0330A;
}

.site-header-background {
	background-position: center center;

	background-attachment: fixed;
}

.mini-header {
	border-bottom: 1px solid #f7f7f7;
}

.sub-header {
	background-color: #e18610;
}

.mini-header {
	background-color: #fff;
}

#search-category {
	padding-top: 30px;

	padding-bottom: 30px;
}

.contact-list-top,
.work-hours,
.header-email,
.google-map-link,
.mimi-header-social-icon a {
	color: #121212;
}

.google-map-link,
.work-hours {
	text-transform: capitalize;
}

.yith-wcwl-add-button a.add_to_wishlist {
	padding: 6px 12px;

	background-color: #D0330A;

	color: #fff;

	margin-bottom: 10px;
}

.yith-wcwl-add-button a.add_to_wishlist:focus,
.yith-wcwl-add-button a.add_to_wishlist:hover {
	background-color: #fff;

	color: #D0330A;
}

.woocommerce span.onsale {
	background: #D0330A;
	min-height: unset;
	line-height: unset;
	padding: 0 15px;
	border-radius: 10px;
}

.blog .site-main > article,
.archive .site-main > article,
.search .site-main > article {
	padding: 1em;

	margin-bottom: 2em;

	border: 1px solid #eee;
}

.site-header-background {
	background-position: center top;

	background-size: cover;
}

.cart-contents-count,
.wishlist-contents-count,
.red {
	box-shadow: unset;

	color: #d0330a;
}
.border-red {
    border: 1px solid #d0330a;
    color: #d0330a;
    display: block;
    padding: 10px;
}

.site-footer .container {
	border-bottom: unset;
}

#myBtn {
	font-size: 16px;
}

.more-link {
	color: #D0330A;
}

a.more-link:hover,
a.more-link:focus {
	background-color: unset;

	color: #ffffff;
}

#btn-search-category {
	background-color: transparent;
}

.entry-footer .edit-link a.post-edit-link {
	background-color: #D0330A;
}

.mimi-header-social-icon a {
	background-color: transparent;
}

.mimi-header-social-icon .fa {
	color: #121212;
}

.contact-list-top a,
.login-register {
	color: #121212;
}

.mini-header {
	padding: 7px 0px;
}

#main_Carousel .start-button {
	background-color: #D0330A;

	color: #fff;

	text-transform: uppercase;

	border: 1px solid #D0330A;

	padding: 12px 20px;

	border-radius: 24px;
}

#main_Carousel a.start-button:hover,
#main_Carousel a.start-button:focus {
	background-color: #ffffff;

	color: #D0330A;

	border: 2px solid #D0330A;
}

.footer-widget .widget-title::before {
	content: "";

	border-left: unset;
}

/***********************

 * Product Navigation  *

 ***********************/

.product-navigation {
	padding: 0;

	margin: 0;

	border: 0;

	line-height: 1;
}

#secondary .widget_bst_product_navigation_widget {
	margin-top: 2em;
}

.product-navigation ul,
.product-navigation ul li,
.product-navigation ul ul {
	list-style: none;

	margin: 0;

	padding: 0;
}

.product-navigation ul {
	position: relative;

	float: left;

	background-color: #fff;

	background-color: #fff;
}

.product-navigation ul li {
	float: left;

	min-height: 0.05em;

	line-height: 1em;

	vertical-align: middle;

	position: relative;

	padding: 0px;

	border-bottom: 1px solid #e4e4e4;
}

#secondary .widget .product-navigation ul li {
	padding: unset;
}

#secondary .widget .product-navigation ul li::before {
	padding-right: unset;

	padding-left: unset;
}

.product-navigation ul li ul {
	position: absolute;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.07);
}

.product-navigation ul li.hover,
.product-navigation ul li:hover {
	position: relative;

	z-index: 510;

	cursor: default;
}

.product-navigation ul ul {
	visibility: hidden;

	position: absolute;

	top: 100%;

	left: 0px;

	z-index: 520;

	width: 100%;

	background-color: #fff;
}

.product-navigation ul ul li {
	float: none;
}

.product-navigation ul ul ul {
	top: 0;

	right: 0;

	background-color: #fff;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.07);
}

.product-navigation ul li:hover > ul {
	visibility: visible;
}

.product-navigation ul ul {
	top: 0;

	left: 100%;
}

.product-navigation ul li {
	float: none;
}

.product-navigation > ul > li > a::before {
	font-family: "fontawesome";

	content: "\f04d";

	font-size: 8px;

	font-style: normal;

	font-weight: 400;

	margin-right: 7px;

	vertical-align: top;

	color: #fed701;
}

.product-navigation .navigation-name a::before {
	content: "\f0c9";

	font-size: 17px;

	font-style: normal;

	font-weight: 400;

	margin-right: 7px;
}

a.category-menu::before {
	content: "\f0c9";

	font-size: 17px;

	font-style: normal;

	font-weight: 400;

	margin-right: 7px;

	font-family: "fontawesome";
}

.product-navigation ul ul {
	margin-top: 0.05em;
}

.product-navigation {
	background: #fff;

	zoom: 1;
}

.product-navigation:before {
	content: "";

	display: block;
}

.product-navigation:after {
	content: "";

	display: table;

	clear: both;
}

.product-navigation a {
	display: block;

	padding: 0.8em 1.3em 0.8em 0.2em;

	text-decoration: none;

	text-transform: capitalize;
}

.product-navigation > ul {
	width: 100%;
}

.product-navigation ul ul {
	width: 13em;
}

.widget .product-navigation ul ul li {
	padding-left: 0px;
	border-bottom: 1px solid #e4e4e4;
}

.product-navigation li {
	position: relative;
}

.product-navigation ul li.has-sub > a:after {
	content: "\f105";

	font-family: "FontAwesome";

	position: absolute;

	right: 1em;
}

.product-navigation ul ul li.first {
	-webkit-border-radius: 0 3px 0 0;

	-moz-border-radius: 0 3px 0 0;

	border-radius: 0 3px 0 0;
}

.product-navigation ul ul li.last {
	-webkit-border-radius: 0 0 3px 0;

	-moz-border-radius: 0 0 3px 0;

	border-radius: 0 0 3px 0;

	border-bottom: 0;
}

.product-navigation ul ul {
}

.product-navigation.align-right {
	float: right;
}

.product-navigation.align-right li {
	text-align: right;
}

.product-navigation.align-right ul li.has-sub > a:before {
	content: "+";

	position: absolute;

	top: 50%;

	left: 15px;

	margin-top: -6px;
}

.product-navigation.align-right ul li.has-sub > a:after {
	content: none;
}

.product-navigation.align-right ul ul {
	visibility: hidden;

	position: absolute;

	top: 0;

	left: -100%;

	z-index: 598;

	width: 100%;
}

.product-navigation.align-right ul ul li.first {
	-webkit-border-radius: 3px 0 0 0;

	-moz-border-radius: 3px 0 0 0;

	border-radius: 3px 0 0 0;
}

.product-navigation.align-right ul ul li.last {
	-webkit-border-radius: 0 0 0 3px;

	-moz-border-radius: 0 0 0 3px;

	border-radius: 0 0 0 3px;
}

.product-navigation.align-right ul ul {
	-webkit-border-radius: 3px 0 0 3px;

	-moz-border-radius: 3px 0 0 3px;

	border-radius: 3px 0 0 3px;
}

.product-navigation-container {
	background-color: transparent;
}

@media screen and (min-width: 48em) {
	#myBtn {
	}

	#sticky-nav {
		background-color: #fff;

		width: 100%;
	}

	#top-menu > .current_page_item > a {
		border-bottom: 3px solid #D0330A;

		color: unset;

		border-radius: 0px;

		background-color: #fff;
	}

	#top-menu > li > a:hover,
	#top-menu > li > a:focus {
		color: #fff;

		background-color: #D0330A;

		border-radius: 1px;
	}

	#top-menu > li ul > li > a:hover,
	#top-menu > li ul > li > a:focus {
		color: #fff;

		background-color: #D0330A;
	}

	.top-menu-layout-2 #top-menu > li > a {
	}

	#sticky-nav.woocommerce-layout {
		border-top: 1px solid #dfdfdf;

		border-bottom: 1px solid #dfdfdf;

		margin-top: 3px;
	}
}

@media screen and (max-width: 48em) {
	.header-banner img {
		width: 100%;
	}

	.main-navigation > div > ul {
		/*text-transform: capitalize;*/
	}

	#top-menu > li > a:hover,
	#top-menu > li > a:focus {
		color: #D0330A;

		background-color: #fff;
	}

	.menu-toggle {
		color: #ffffff;
	}

	.menu-toggle:hover,
	.menu-toggle:focus {
		color: #D0330A;
	}

	.product-navigation ul li ul {
		left: 0%;

		top: 100%;

		width: 100%;
	}

	.product-navigation ul li ul li ul {
		left: 0%;

		top: 100%;

		width: 100%;
	}
}

/* */

.product-wrapper {
	width: 40px;

	position: absolute;

	top: 10px;

	left: 15px;

	display: none;
}

.woocommerce .product-wrapper ul {
	margin-bottom: 0px;
}

.product:hover .product-wrapper {
	display: block;
}

/* */

.woocommerce div.product form.cart {
	margin-bottom: 1em;
}

.entry-summary .product_meta {
	padding-top: 8px;
}

.yith-wcwl-add-to-wishlist {
	margin-top: 10px;

	margin-bottom: 10px;

	position: relative;
}

.yith-wcwl-add-to-wishlist .ajax-loading {
	position: absolute;

	top: 10px;

	left: 0;
}

.yith-wcwl-wishlistaddedbrowse a,
.yith-wcwl-wishlistexistsbrowse a,
.yith-wcwl-add-button a.add_to_wishlist {
	display: inline-block;

	position: relative;

	padding: ;

	font-size: 14px;

	border-radius: ;

	-webkit-transition: all 0.3s ease 0s;

	transition: all 0.3s ease 0s;
}

.woocommerce button.button,
.woocommerce button.button:hover,
.yith-wcwl-wishlistaddedbrowse a,
.yith-wcwl-wishlistexistsbrowse a,
.yith-wcwl-add-button a.add_to_wishlist:hover {
	color: #fff;

	/*border: 1px solid #23232c;*/
}

.entry-summary .yith-wcwl-wishlistexistsbrowse a {
	color: #000000;

	border: 1px solid #dbdbdb;

	display: inline-block;

	padding: 4px;

	border-radius: 3px;
}

/* */

.hidden-title-form button i,
.yith-wcwl-add-button > a i,
.yith-wcwl-wishlist-new button i,
.wishlist-title a.show-title-form i,
.wishlist_table .add_to_cart.button i,
.hidden-title-form a.hide-title-form i,
.wishlist_table .ask-an-estimate-button i,
.wishlist_manage_table tfoot a.create-new-wishlist i,
.wishlist_manage_table tfoot button.submit-wishlist-changes i,
.yith-wcwl-wishlist-search-form button.wishlist-search-button i {
	margin-right: 0;
}

.product-wrapper .yith-wcwl-wishlistaddedbrowse a,
.product-wrapper .yith-wcwl-wishlistexistsbrowse a,
.product-wrapper .yith-wcwl-wishlistexistsbrowse a,
.product-wrapper .yith-wcwl-add-button a.add_to_wishlist {
	padding: 0;

	border: none;

	background: transparent;
}

.product-wrapper .yith-wcwl-add-button a.add_to_wishlist:hover {
	background: transparent;

	border: none;
}

.product-wrapper .yith-wcwl-add-to-wishlist .ajax-loading {
	position: absolute;

	right: -20px;

	top: 0;
}

.product-wrapper ul.product-item-meta.verticle .yith-btn a,
.product-wrapper .product-item-meta .yith-wcwl-add-to-wishlist {
	margin: 0;
}

.product-wrapper ul.product-item-meta.verticle .yith-btn a,
.product-wrapper ul.product-item-meta.verticle .yith-btn a.button {
	font-size: 0;

	position: relative;

	width: 40px;

	height: 40px;

	display: block;

	padding: 0;
}

.product-wrapper ul.product-item-meta.verticle .yith-btn a:before {
	position: absolute;

	z-index: 2;

	width: 100%;

	line-height: 40px;

	left: 0;

	top: 0;

	text-align: center;

	background-color: #fff;

	color: #404040;

	font-family: FontAwesome;

	font-size: 16px;

	-webkit-transition: all 0.4s ease;

	transition: all 0.4s ease;
}

.product-wrapper ul.product-item-meta.verticle .yith-btn .yith-wcwl-add-to-wishlist a::before {
	content: "\f004";
}

.product-wrapper ul.product-item-meta.verticle .yith-btn a.yith-wcqv-button::before {
	content: "\f06e";
}

.product-wrapper ul.product-item-meta.verticle .yith-btn a.compare::before {
	content: "\f042";
}

.product-wrapper ul.product-item-meta.verticle .yith-btn a:hover:before {
	background: #ffcc00;

	color: #fff;
}

.yith-wcwl-wishlistexistsbrowse.show span.feedback {
	display: none;
}

.product-wrapper ul.product-item-meta.verticle .yith-btn .yith-wcwl-wishlistexistsbrowse.show a:before {
	color: #ffffff;
}

/*yith*/

/*yith quick view*/

#yith-quick-view-content div.images {
	width: 55%;
}

#yith-quick-view-content div.summary {
	width: 45%;
}

#yith-quick-view-close {
	color: #202020;
}

/*yith quick view*/

/*yith compare products*/

table.compare-list tbody th,
table.compare-list tbody td {
	border-right: 1px solid #e7e7e7;

	border-top: 1px solid #e7e7e7;

	border-bottom: none;

	border-left: none;

	padding: 10px;

	vertical-align: middle;

	width: 155px;
}

table.compare-list tbody tr:last-child th,
table.compare-list tbody tr:last-child td {
	border-bottom: 1px solid #e7e7e7;
}

/*yith compare products*/

/*yith popup message*/

#yith-wcwl-popup-message {
	background: white;

	border: 1px solid #ccc;

	border-radius: 0px;

	-webkit-border-radius: 0px;

	-moz-border-radius: 0px;

	line-height: 50px;

	padding: 15px;

	position: fixed;

	text-align: center;

	top: 10px;

	left: inherit;

	right: 0;

	z-index: 10000;
}

/*******************

 * Product slider  *

 ******************/

.pro-slider-caption.on-left {
	right: 0%;

	left: 0px;

	text-align: left;
}

.pro-slider-caption {
	position: absolute;

	bottom: 0%;

	left: 0%;

	right: 0;

	text-align: center;

	line-height: 1;

	-webkit-transition: all 2000ms;

	-moz-transition: all 2000ms;

	-ms-transition: all 2000ms;

	-o-transition: all 2000ms;

	transition: all 2000ms;

	z-index: 1;

	padding: 20px;
}

.pro-slider-caption p {
	line-height: normal;

	font-size: 20px;
}

.pro-slider-caption .price {
	color: #515050;

	padding-bottom: 10px;

	text-shadow: 2px 2px #ddd;
}

.caption-heading .cap-title {
	font-size: 45px;

	font-weight: 700;

	line-height: normal;

	text-transform: capitalize;

	margin: 0;

	margin-bottom: 0px;

	margin-bottom: 10px;
}

.caption-heading .cap-title a,
.pro-slider-caption .content-desc h4 {
	color: #515050;

	text-shadow: 2px 2px #ddd;
}

.pro-slider-caption .caption-heading {
	-webkit-animation-delay: 0.3s;

	-moz-animation-delay: 0.3s;

	-o-animation-delay: 0.3s;

	animation-delay: 0.3s;
}

/*************************

*  Category list widget  *

*************************/

.category-list-widget .category-meta {
	position: absolute;

	left: 50%;

	top: 50%;

	transform: translate3d(-50%, -50%, 0);

	z-index: 100;

	text-transform: capitalize;

	background-color: rgba(51, 51, 51, 0.55);

	padding: 5px;

	color: white;

	text-align: center;

	font-weight: 600;
}

.category-list-widget .category-meta a {
	color: white;

	font-weight: 600;
}

.category-list-widget {
	margin-bottom: 15px;
}

.category-list-widget img {
	box-shadow: -1px 1px 4px 1px #dfdfdf;
}

/* */

#main_Carousel {
	background-color: #2827278a;
}

.menu-toggle {
	color: #353232;
}

.modal-content {
	background-color: #46434300;

	margin: 15% auto;

	padding: 0px 20px 20px 25px;

	max-width: 600px;

	border-radius: 12px;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: #fff;

	background-color: #D0330A;
}

.modal-content #search-close:focus {
	color: #ffffff;

	background-color: #ff0000;
}

#top-menu .search-submit {
	background-color: transparent;

	color: #ececec;
}

#top-menu .search-field {
	border: 1px solid #ececec;

	width: 100px;

	-webkit-transition: all 0.7s ease 0s;

	-moz-transition: all 0.7s ease 0s;

	-o-transition: all 0.7s ease 0s;

	transition: all 0.7s ease 0s;
}

#top-menu .search-field:focus {
	width: 150px;
}

::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */

	opacity: 0.5; /* Firefox */
}

.product-navigation {
	background: #fff;

	border: 1px solid #D0330A;
}

.product-navigation > ul > li > a::before {
	content: "";

	padding-left: 10px;
}

.product-navigation .navigation-name {
	background-color: #D0330A;
}

.product-navigation .navigation-name a {
	color: #ffffff;
}

.product-navigation .navigation-name a::before {
	color: #ffffff;
}

span.cart-contents-count:before {
	content: "\f290";

	font-family: "fontawesome";

	font-size: 17px;
}

#secondary .widget {
	border: 1px solid #e6e6e6;
	padding: 15px;
	background-color: #fff;
}

#secondary .widget-title {
	border-bottom: 1px solid #e6e6e6;
	margin: 0px -15px 10px;
}

#secondary .widget:not(:last-child) {
	margin-bottom: 1em;
}

#secondary .widget-title {
	font-size: 16px;
}

.my-wishlist {
	list-style: none;
}

.my-wishlist a,
a.cart-contents {
	color: unset;
}

#cart-wishlist-container table {
	margin: 0px auto;
}

#cart-wishlist-container table tr {
	border: 0px;
}

.carousel-indicators li.active {
	border: 1px solid #D0330A;
}

.carousel-indicators li {
	background-color: #dfdfdfe6;

	border: 1px solid #dfdfdfe6;
}

#masthead {
	box-shadow: unset;
}

#masthead.no-searchbar {
	box-shadow: 1px 2px 4px 2px #f0f0f0;
}

#main_Carousel .custom-caption {
	text-align: left;
}

.footer-foreground #today {
	color: #fff;
}

.mimi-header-social-icon a:hover > .fa {
	color: #327cdb;
}

.contact-list-top a:hover {
	color: #327cdb;
}

.product-navigation .navigation-name {
	border-radius: 0px;
}

.col-geo {
	width: 48%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.col-geo__blok {
	display: flex;
	align-items: center;
	padding: 10px;
	border: 2px solid #D0330A;
	box-sizing: border-box;
	border-radius: 5px;
	margin-top: 480px;
	background: #fffdfd;
}
.col-geo__blok2 {
	display: none;
	margin-top: 10px;
}

.col-geo__blok img {
	width: 45px;
}
.col-geo__blok p {
	font-size: 14px;
    line-height: 25px;
    color: #D0330A;
    padding: 0 20px;
    margin: 0;
}
#text-search {
    padding: 0 100px 0 160px;
}
@media screen and (max-width: 900px) {
	.search-cat {
		display: none;
	}
	#text-search {
		padding-left: 10px;
	}
}

#sertgift1 {
	display: block;
}
#sertgift2 {
	display: none;
	margin: 0 auto;
}

@media screen and (max-width: 786px) {
	#sertgift1 {
		display: none;
	}
	#sertgift2 {
		display: block;
		
	}
}
@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
	.col-geo {
		position: absolute;
		top: 290px;
		width: 100%;
		height: 140px;
	}
	#customer_details {
		position: relative;
	}
	#billing_address_1_field {
		/*margin: 240px 0px 0px 0px;*/
	}
	.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
		width: 100% !important;
	}
}

.topcorner {
	position: fixed;

	top: 60%;
}

a.button.yith-wcqv-button {
	margin-left: 2px;
}

@media (max-width: 359px) {
	.col-geo__blok p {
		font-size: 13px;
		line-height: 17px;
	}
}
.select2-dropdown {
	z-index: 10000 !important;
}
.select2-results__option {
	font-size: 13px !important;
}

h2.red_underlines,
h2.blue_underlines {
	font-size: 24px;
	font-weight: normal !important;
	border-bottom: 1px solid #9b9b9b;
	padding-bottom: 8px;
}
h2.red_underlines span {
	border-bottom: 3px solid #d0330a;
	padding-bottom: 5px;
}

h2.blue_underlines span {
	border-bottom: 3px solid #29abe2;
	padding-bottom: 5px;
}
.trend-novinki a.woocommerce-loop-product__link img {
	/*min-height: 15rem;*/
}
.trend-novinki .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	text-align: center;
	font-weight: normal !important;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -moz-box;
	-moz-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	box-orient: vertical;
	height: 59px;
}
.woocommerce-Price-amount.amount {
	color: #d0330a;
	font-weight: bold;
}
.trend-novinki .woocommerce ul.products li.product span.price,
.woocommerce ul.products li.product .price {
	display: flex;
	font-size: 22px;
	color: #d0330a;
	font-weight: bold;
	flex-grow: 2;
    text-align: start;
	align-items: flex-end;
}
.trend-novinki a.add_to_cart_button {
	font-size: 16px !important;
	text-align: center;
	display: inline-block;
	background-color: #d0330a;
	color: #fff;
	padding: 5px 15px;
	/*margin: 20px 0 60px 0;*/
}
.slug-partners,
.slug-expert {
	font-size: 14px;
	font-weight: 400;
	font-family: Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
	background: #29abe2;
	color: #fff;
	padding: 5px 10px;
	text-transform: uppercase;
	display: none;
}
.slug-expert {
	background: #d0330a;
}
.trend-news .title a {
	font-size: 18px;
	font-weight: 700;
	color: #000 !important;
}
.trend-news .content {
	margin-top: 10px;
	margin-bottom: 20px;
	line-height: 26.77px;
	font-size: 14px;
	color: #000 !important;
}

#voice-trigger {
	border: 0 none;
	color: #000000;
	height: 42px;
	line-height: 21px;
	margin: 0;
	outline: medium none;
	padding: 0;
	position: absolute;
	right: 48px !important;
	top: 1px;
	width: 56px;
	font-size: 21px;
	color: #fff;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	background: transparent;
	color: #ccc;
}
.slug-all {
	display: none;
}
.mobile {
	display: none;
}
.cdek-map .mobile {
    display: block !important;
}
ymaps[style*="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWd"] {
    display: none !important;
}
.slug-covid {
	display: none;
}

@media (max-width: 768px) {
	.desktop {
		display: none;
	}
	.mobile {
		display: block;
		margin: 0 auto 50px auto;
	}
	.woocommerce #content div.product div.images,
	.woocommerce div.product div.images,
	.woocommerce-page #content div.product div.images,
	.woocommerce-page div.product div.images {
		width: 100% !important;
	}
	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.summary {
		width: 100% !important;
	}
	
	.tan {
		display: flex;
		flex-flow: wrap;
	}
	.tan .trend-novinki {
		order: 1;
	}
	.tan .trend-news {
		order: 0;
	}
	
}

#topbanner {
	margin-bottom: 10px;
}

.product-thumbnail img {
	width: 56px;
	margin: 10px;
}
.woocommerce-cart-form__cart-item {
	width: 100%;
	border-collapse: unset;
    margin: 0;
}
.woocommerce-cart-form__cart-item-div {
	margin: 10px 0px;
}
.product-thumbnail {
	width: 76px;
	padding: 0px !important;
}
.product-remove, .product-total {
	width: 15%;
	text-align: right;
	padding-right: 18px !important;
	white-space: nowrap;
}
.product-remove a.remove {
	display: inline-flex;
}
.product-remove a.remove:hover {
	background: none;
}
.product-subtotal {
	text-align: right;
	padding-right: 18px !important;
	float: right;
	
}
.product-name a, .product-name {
	color: #303030 !important;
	font: 18px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
	line-height: 25px;
}
.woocommerce-Price-amount.amount, #typeShipping label div bdi {
	color: #303030 !important;
	font: bold 22px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;

}
.quantity .view {
	color: #303030 !important;
	font: normal 20px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;

}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: right;
    width: 100%;
}
.woocommerce table.shop_table {
	border: 0px;
	margin: 0px;
}
.Subtotal {
	text-align: right;
}
a.alt2 {
	padding: 15px 40px !important;
	border: 2px solid #D0330A !important;
	border-radius: 5px !important;
	margin-top: 10px;
	margin-right: 20px !important;
}
a.button2 {
	background: #FFF;
	color: #D0330A;
	
}
.cart-subtotal th, .cart-subtotal td, .fee td, .fee th, .cart-discount th, .cart-discount td, .woocommerce-shipping-totals th {
	padding: 10px 0px !important;
	border: 0px !important;
	width: 50%;
	font: normal 18px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}
.cart-subtotal td, .fee td, .cart-discount td, .woocommerce-shipping-totals td {
	padding-right: 20px !important;
	text-align: right;
	border: 0px !important;
}


@media (max-width: 600px) {
	a.alt2 {
		width: 100%;
		display: block; 
		text-align: center;
	}
	.product-name a, .product-name {
		color: #303030 !important;
		font: 14px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
		line-height: 139%;
	}
	.col-geo__blok {
		display: none;
	}
	
	.col-geo__blok2 {
		display: flex;
	}
	
	.cart-subtotal th, .cart-subtotal td, .fee td, .fee th, .cart-discount th, .cart-discount td, .woocommerce-shipping-totals th {
		width: 100%; 
	}
	.woocommerce table.shop_table td {
		padding: 9px 5px !important;
	}
}
.product-quantity {
	float: left;
}
.product-quantity small {
	background: #D0330A;
    border-radius: 4px;
    color: #FFF;
    padding: 2px 5px;
    font-weight: bold !important;
}

.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
	width: 49.5%;
}
.newcheckout select {
	padding: 0.7em;
}

.select2-container--default .select2-selection--single {
	height: 42px !important;
	padding: 7px 4px;
	border: 1px solid #BEC1C1;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	margin-top: 5px !important;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	border: 1px solid #BEC1C1 !important;
}
.newceckout-header {
	display: flex;
	margin: 40px 0;
}
.newceckout-header h3 {
	margin: 0px 10px !important;
	font: normal 24px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}
.order-total th, .order-total td .woocommerce-Price-amount.amount
 {
	color: #D0330A !important;
	font: normal 24px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px 0px !important;
}
.order-total td, .fee td {
	text-align: right;
}


#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
	background: none;
}

.shipping td {
	padding-right: 0px !important;
}
  
  
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
	position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 0px;
    margin: 0 0 1em 0;
    border-radius: 2px;
    line-height: 1.5;
    background-color: transparent;
    color: #9B9B9B;
	font: normal 14px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}
.woocommerce-privacy-policy-text {
	color: #9B9B9B !important;
	font: normal 14px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}
.woocommerce-privacy-policy-text a {
	text-decoration: underline;
}
.woocommerce form .form-row label{
	line-height: normal !important;
}
  
 #shipping_method li, #typeShipping li {
	width: 100%;
	text-align: left;
	padding: 0px;
	color: #7C7F80;
	font: normal 14px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
	position: relative;
	display: inline-block;
	list-style: none outside;
}

#typeShipping label span {
	margin-left: unset;
}
#typeShipping label div {
	flex: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

input[type="radio"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.woocommerce ul#shipping_method {
	padding: 0 3px;
}
  
  input[type="radio"]+label span, input[type="hidden"]+label span {
	  margin-left: auto;
  }
  /* для элемента label связанного с #shipping_method input[type="radio"] */
  input[type="radio"]+label, input[type="hidden"]+label {
    display: inline-flex !important;
    align-items: center;
    user-select: none;
	padding: 20px;
	width: 100%;
	border: 1px solid #BEC1C1;
	box-sizing: border-box;
	border-radius: 4px;
	line-height: normal;
  }
  /* создание в label псевдоэлемента  before со следующими стилями */
  input[type="radio"]+label::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #BEC1C1;
    border-radius: 50%;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    /*background-size: 50% 50%;*/
  }
  /* стили при наведении курсора на радио */
  input[type="radio"]:not(:disabled):not(:checked)+label:hover::before  { 
    border-color: #D0330A;
  }

  /* стили для активной радиокнопки (при нажатии на неё) */
  input[type="radio"]:not(:disabled):active+label::before { 
    background-color: #D0330A;
    border-color: #BEC1C1;
  }
  /* стили для радиокнопки, находящейся в фокусе */
  input[type="radio"]:focus+label::before {
    /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
  }
  /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
  input[type="radio"]:focus:not(:checked)+label::before {
    border-color: #BEC1C1;
  }
  /* стили для радиокнопки, находящейся в состоянии checked */
  input[type="radio"]:checked+label::before { 
    border-color: #BEC1C1;
    background-color: #FFF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3e%3ccircle cx='0' cy='0' r='7' fill='%23d0330a'/%3e%3c/svg%3e");
  }
  input[type="radio"]:checked+label, input[type="hidden"]+label {
	  border: 1px solid #D0330A;
	  display: block; 	  
  }
  /* стили для радиокнопки, находящейся в состоянии disabled */
  input[type="radio"]:disabled+label::before {
    background-color: #e9ecef;
  } 
#media_image-6 {
	padding-bottom: 10px !important;
    padding-top: 10px !important;
}
#media_video-3 {
	padding: 0px !important;
}
	#media_video-3 .mejs-container {
		margin-bottom: 0px;
	}

.wooccm-field-wooccm11 h3 
{   
    font: normal 14px Roboto !important;
	margin-top: 0px;
}

.promoblock {
	margin: 40px 0;
}
#billing_country_field {
	
}
#billing_apartment_field, #billing_postcode_field {
	/*position: absolute;*/
    top: -9999px;
    left: -9999px; 
	
}
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 280px ;
}
.woocommerce .woocommerce-ordering {
	max-width: none;
}
.redtext {
	color: #C04122;
}
.redbackground {
	background: #C04122;
	color: #FFF;
	padding: 5px; 
}
.discount-products li {
		border: 1px solid #DFDFDF;
		width: 45% !important;
		padding: 15px !important;
		line-height: 28px;
	}
main {
	line-height: 28px;
}

.woocommerce table.shop_attributes th {
    width: 190px;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border-color: #cfc8d8;
}

@media (min-width: 1024px) {
	.discount-products li {
		border: 1px solid #DFDFDF;
		width: 30% !important;
		margin: 5px !important;
		padding: 15px !important;
	}
}
@media (max-width: 600px) {
	.discount-products li {
		border: 1px solid #DFDFDF;
		width: 100% !important;
		padding: 15px !important;
	}
}
ul.redbullet {list-style: none;}

ul.redbullet li {
    list-style-type: none;
    position: relative;    /* It's needed for setting position to absolute in the next rule. */
}

ul.redbullet li::before {
    content: '•';
	color: #C04122;
    position: absolute;
    left: -0.5em;          /* Adjust this value so that it appears where you want. */
    font-size: 2.2em;      /* Adjust this value so that it appears what size you want. */
}
.cart-container .fa-shopping-bag:before {
	padding-right: 5px;
}
.cart-container b {
	font-size: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: auto !important;
    margin-top: 40px;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: left;
    width: 68%;
    margin-left: 40px;
    margin-top: 40px;
}
.woocommerce-Address-title a {
    text-decoration: underline;
    color: #D0330A;
}
.woocommerce table.shop_table td {

}
.woocommerce-checkout #payment ul.payment_methods {
    padding-left: 0px;
    padding-right: 0px;
}

.subAccountBlock .regBtn {
	display: none;
}

@media (max-width: 1090px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        margin-left: 0px;
        margin-top: 0px;
        width: 100%;
    }
    nav.woocommerce-MyAccount-navigation ul {
        max-width: 100% !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-top: 20px;
    }

	#cart-wishlist-container table {
		width: 100%;
		
	}
}

.glsr-review {
    border: 1px solid #CCCCCB;
    padding: 10px;
}
.glsr-review-avatar img {
    border-radius: 50%;
}
.glsr-review-rating {
    margin-left: auto;
}
.glsr .glsr-reviews, .glsr .glsr-reviews-wrap {
    grid-gap: 1rem  !important;
    display: grid;
    gap: 1rem !important;
}
label.glsr-label-email,
label.glsr-label-text,
label.glsr-label-textarea,
label.glsr-label-rating {
    display: none !important; 
}
.glsr-twentyseventeen {
    margin-bottom: 60px;
}
#l0b0zutn {
    margin-bottom: 0px;
}
.glsr-review-date {
    font-size: 12px;
    line-height: 12px;
    font-style: italic;
}

.woocommerce-thankyou-order-received {
    text-align: center;
    margin: 50px auto;
    font-size: 27px;
}
.custom-thankyou-page table.shop_table {
   border: 1px solid rgba(0,0,0,.1);
    border-bottom-width: 2px;
    border-right-width: 2px;
    text-align: left;
    width: 100%;
    border-radius: 5px;
    padding: 6px 12px;
}
.custom-thankyou-page table.shop_table .product-total {
    width: 40%;
}
.custom-thankyou-page table.shop_table td:last-child {
    text-align: right;
}
.custom-thankyou-page table.shop_table .product-name a {
    float: left;
    width: 85%;
}
.custom-thankyou-page table.shop_table .product-quantity {
    float: right;
}
#secondary .widget_media_image {
	padding: 0px;
}
.woocommerce ul.order_details li {
	padding-left: 1em;
	margin-bottom: 10px;
}
.account-links, .account-links a {
	color: #d0330a;
}
.widget_recently_viewed_products ul.product_list_widget li {
    margin-bottom: 20px;
}
.widget_recently_viewed_products ul.product_list_widget li a {
    min-height: 105px;
	font-weight: unset;
	line-height: normal;
}

.widget_recently_viewed_products .woocommerce-Price-amount.amount {
	color: #303030 !important;
	font: bold 18px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
	
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: unset;
	text-align: start;
	margin: 0; /* Убираем внешний отступ */
    -webkit-line-clamp: 3; /* Число отображаемых строк */
    display: -webkit-box; /* Включаем флексбоксы */
    -webkit-box-orient: vertical; /* Вертикальная ориентация */
    overflow: hidden; /* Обрезаем всё за пределами блока */
	padding-bottom: 0;
    margin-bottom: 15px;
}
tr {
    border-top: 1px solid #eee;
}
.woocommerce ul.products {
    margin: 0 0 1em;
    padding: 0;
    list-style: none outside;
    clear: both;
    display: flex;
    flex-wrap: wrap;
	gap: 40px 5px;
	justify-content: space-between;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	margin: 0px;
	padding: 10px;
	width: 24%;
	border: 1px solid #f3f3f3;
}
.woocommerce ul.products li.product:hover, .woocommerce-page ul.products li.product:hover {
	-webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}
.woocommerce ul.products li.product a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.woocommerce ul.products li.product a img {
    max-height: 250px;
	padding-top: 20px;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	flex-grow: 2;
	padding: 10px;
}
.woocommerce ul.products::before {
    content: " ";
    display: none;
}
.woocommerce div.product div.images .flex-control-thumbs {
	margin-top: 20px;
}
@media (min-width: 1090px) {
	#menu-item-307 .sub-menu {
		display: flex !important;
		flex-wrap: wrap;
		flex-direction: row;
		width: 100%;
		min-width: 980px;
		justify-content: flex-start;
		align-items: stretch;
	}
	#menu-item-307 .sub-menu li {
		display: flex;
	}
}
@media (max-width: 1080px) {
	.search-results #secondary, .search-results #sertgift2 {
		display: none;
	}
	.ttt-pnwc-notice .button {
		float: unset;
		display: block !important;
		margin-bottom: 10px !important;
	}
	.mini-header {
		font-size: 14px;
	}
	.nopadding {
		padding: 0px;
	}
	.navigation-top {
		position: absolute;
		margin-top: -142px;
		width: 97%;
		border: 1px solid #eee;
	}
	.mobile-top-menu {
		display: flex !important; 
		justify-content: space-between;
	}
}
@media (max-width: 840px) {
	
	
	#sidebarContent {
		background-color: rgba(255, 255, 255, 0.1);
	}
}
ul.products li.product span.price, .woocommerce ul.products li.product .price {
	align-items: start;
    flex-direction: column;
}
.summary .price del {
	margin-right: 10px;
}
.flex {
	display: flex !important;
	flex-direction: row;
    align-items: flex-start;
}
.product_list_widget * {
	float: unset;
}

.product_list_widget .woocommerce-Price-amount.amount {
    color: #303030 !important;
    font: bold 16px Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

.product_list_widget del {
    opacity: .5;
	margin-right: 5px;
}
.woocommerce ul.products li.product .onsale {
    margin: 0.5em 0.5em 0 0;
}

.banners {
	display: flex;
	gap: 50px;
	align-items: center;
}
.banners > * {
	border: 1px solid #DFDFDF;
	margin-bottom: 15px;
}

.banners a {
	display: block;
}
.banners .mob {
	display: none;
}

@media (max-width: 1090px) {
	.hidden-xs {
		display: none!important;
	}
	.visible-xs {
		display: flex!important;
		justify-content: space-between;
		align-items: center;
	}
}
@media (max-width: 1087px) {
	.subAccountBlock {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;		
	}
	.subAccountBlock .regBtn {
		display: block;
		font-size: 12px;
		font-weight: bold;
		text-transform: uppercase;
	}
}
@media (min-width: 1090px) {
	.hidden-xs {
		display: block!important;
	}
	.visible-xs {
		display: none!important;
	}
}
@media (max-width: 500px) {
	.navigation-top {
		width: 93%;
	}
	
	.banners {
		gap: 10px;
		flex-direction: column;
	}
	
	.banners .mob {
		display: block;
		width: 100%;
	}
	.banners .mob img {
		width: 100%;
	}
	.banners .nomob {
		display: none;
	}
}
#billing_country_field, #billing_country_field *,
#billing_city_field *,
#billing_postamat_field, #billing_postamat_field * {
	display: none;
	width: 0px;
	position: absolute;
}
#address_for_pvz div{
	border-radius: 4px;
    color: #FFF;
    padding: 5px 15px;
    cursor: pointer;
    line-height: 30px;
	background: #28a745;
	margin: 0 0 10px 0;
}

.custom-thankyou-page .address, .custom-thankyou-page section.woocommerce-customer-details:nth-of-type(2) {
	display: none ;
}

#billing_address_1_field .optional {
	display: none;
}

#order_review.onlyLocal #shipping_method li:not(:has(#shipping_method_0_local_pickup2)) {
	display: none;
}
#order_review.onlyDelivery #shipping_method li:has(#shipping_method_0_local_pickup2),
#order_review.noMoscow #shipping_method li:has(#shipping_method_0_flat_rate4) {
	display: none;
}

.wc-button-container .added_to_cart.wc-forward, .woocommerce a.added_to_cart {
    content: "\f06e";
	flex-direction: row !important;
    justify-content: center !important;
    gap: 10px;
}

.select2-container .select2-selection--multiple {
    line-height:: 26px !important;
}

@media screen and (min-width: 68em) {
    .main-navigation a {
        padding: 0.8em 0.7em;
    }
	#primary {
        z-index: 1;
    }
    
}
@media screen and (max-width: 48em) {
    #primary {
        z-index: 1;
    }
    .subscribe .fields {
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 68em) {
    .main-navigation a {
        padding: 0.8em 0.7em;
    }
}


/* Общие настройки карточки */
.events-slider {
  padding-bottom: 60px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%; /* Карточка занимает 100% высоты своего слайда */
}

/* Двойные картинки сверху */
.event-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.event-card__images img {
  width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: cover;
  border: 1px solid #e5e5e5;
}

/* Текстовый контент */
.event-card__date {
  color: #e04e1b;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
}

.event-card__title {
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  margin: 0 0 16px 0;
  font-weight: 600;
}

.event-card__location {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 24px;
  height: calc(1.2em * 3); 
}

.event-card__location span {
  display: block;
}
.event-card__location .city {
	font-weight: 400px;
}

/* Кнопка "Подробнее" */
.event-card__btn {
  width: 250px;
  margin: auto !important;
    display: flex !important;
    justify-content: center;
}

/* Кастомные стрелки навигации */
.slider-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-navigation .swiper-button-prev,
.slider-navigation .swiper-button-next {
  position: static; /* Отменяем абсолютное позиционирование Swiper */
  width: 40px;
  height: 40px;
  background-color: #d83a00;
  color: #fff;
  margin: 0;
  border-radius: 3px;
}

.slider-navigation .swiper-button-prev::after,
.slider-navigation .swiper-button-next::after {
  font-size: 18px; /* Уменьшаем размер стандартных стрелочек Swiper */
  font-weight: bold;
}

.slider-navigation .swiper-button-prev:hover,
.slider-navigation .swiper-button-next:hover {
	background-color: #dcd7e2;
    text-decoration: none;
    background-image: none;
    color: #515151;
}
.stend-single {
	display: flex;
	gap: 20px;
	justify-content: center;
}
.stend-single img {
	max-height: 230px;
	max-width: 360px;
	
}

.events-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.events-slider .swiper-slide {
  height: auto; /* Позволяет слайдам растягиваться под максимальный в ряду */
}



/* Ограничение названия строго до 3 строк с обрезанием (clip) */
.event-card__title {
  /* Эффект трех строк */
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
  
  /* Фиксируем высоту под 3 строки, чтобы карточки не прыгали, 
     если в названии всего 1 или 2 строки */
  height: calc(1.2em * 3); 
}

/* Кнопка всегда прижата к низу карточки */
.event-card__btn {
  margin-top: auto; 
}

/* Опционально: можно слегка приглушить прошедшие карточки, чтобы визуально отделить их */
.swiper-slide.is-past {
  opacity: 0.75;
}

.subscribe {
    background-color: #e9e9e9;
    padding: 10px 20px;
    margin-bottom: 40px;
}
.subscribe h2 {
    margin: 0px;
}
.subscribe .fields {
    display: flex;
    gap: 15px;
}
.subscribe .wpcf7-list-item {
    margin: 0;
}