/*
Theme Name: МедСтандарт

WooCommerce styles override
*/

.products {
	display: grid;
	grid-gap: 35px 50px;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	list-style: none;
}
ul.products li.product {
    width: 100%;
    margin: 0;
}
.product_item {
	display: flex;
	flex-direction: column;
  	line-height: 1.2;
}
.plt-wrapper {
	margin: 10px 0px 20px;
}
.pl-title {
  	font-size: 17px;
  	font-weight: 700;
  	color: var(--color-blue);
  	word-break: break-word;
}
.pl-info {
  	font-size: 15px;
  	color: #898989;
  	flex-grow: 1;
  	margin-bottom: 20px;
}
.pl-add_to_cart .btn {
	display: block;
}
.pl-add_to_cart .added_to_cart {
	display: none;
}
.pl-image {
    height: 200px;
    display: block;
    position: relative;
}
.pl-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.woocommerce-pagination {
	margin: 50px 0px 25px;
}
.page-numbers {
	display: flex;
	gap: 10px;
	list-style: none;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}
.page-numbers .prev,
.page-numbers .next {
	display: none;
}
.page-numbers a {
	color: var(--color-blue);
}
.page-numbers a:hover {
	color: var(--color-lightblue);
}
.page-numbers span.current {
	color: var(--color-lightblue);
	text-decoration: underline;
}


.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}
.product-type-simple {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0px 0px 55px;
}
.single_add_to_cart_button {
	width: 100%;
}
.product__add_to_cart .btn {
	margin-top: 10px;
	width: 100%;
}
.product__add_to_cart .quantity {
	display: none;
}
.product__add_to_cart form.cart ~ button {
	display: none;
}
.product-image {
	flex-basis: 300px;
	flex-shrink: 0;
}
.product-summary {
	color: #959595;
	flex-shrink: 1;
    flex-basis: calc(100% - 320px);
}
.product-summary h2 {
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.product__title {
	font-size: 20px;
	color: var(--color-blue);
	margin-bottom: 10px;
}
.product__rating {
	margin-bottom: 25px;
}
.product__tab {
	padding: 30px 0px;
	border-top: 2px solid #e1e1e1;
}
.product-related {
	flex-basis: 100%;
	border-top: 2px solid var(--color-blue);
	padding: 30px 0px 0px;
}
.product-related h2 {
	color: var(--color-blue);
	font-size: 22px;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 30px;
}




/**/
.search .site-main {
	margin: 15px 0px 80px;
}
.page-header {
	color: var(--color-blue);
	margin-bottom: 20px;
	text-align: center;
}



/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: var(--color-lightblue);
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: #404040;
	text-indent: 0;
	opacity: 0.25;
}

p.stars a:hover ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars:hover a::before {
	content: "\53";
	color: var(--color-lightblue);
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: var(--color-lightblue);
	opacity: 1;
}

p.stars.selected a.active ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: var(--color-lightblue);
	opacity: 1;
}

#commentform {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 20px;
	    grid-template-areas:
		"n n"
		"r r"
		"i e"
		"c c"
		"s s";
}
.comment-notes {
	grid-area: n;
}
.comment-form-rating {
	grid-area: r;
}
.comment-form-comment {
	grid-area: c;
}
.comment-form-author {
	grid-area: i;
}
.comment-form-email {
	grid-area: e;
}
.comment-form-cookies-consent {
	display: none;
}
.form-submit {
	grid-area: s;
	text-align: right;
}
.comment-form label {
	display: block;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
	display: block;
	width: 100%;
	background: #EBEBEB;
	border: none;
	outline: none;
	padding: 5px 10px;
}
.comment-form textarea {
	resize: none;
}
.required {
	color: #f00;
	text-decoration: none;
}
.woocommerce-noreviews {
	margin-top: 20px;
}
.comment-reply-title {
	margin-bottom: 20px;
	display: block;
}
.commentlist {
	list-style: none;
	margin-top: 20px;
}
.commentlist > li:not(:last-of-type) {
	margin-bottom: 20px;
}
.comment_container {
	display: grid;
	grid-template-columns: 50px 1fr;
	grid-gap: 10px 20px;
	    grid-template-areas:
		"i a"
		"c c";
}
.comment__avatar {
	grid-area: i;
}
.comment__author {
	grid-area: a;
	align-self: center;
}
.woocommerce-review__author {
	display: block;
	color: var(--color-blue);
	font-size: 15px;
}
.woocommerce-review__published-date {
	font-size: 12px;
}
.comment__text {
	grid-area: c;
}
/* Cart */
.woocommerce-cart-form__contents {
	width: 100%;
}
.cart_item {
	display: flex;
	gap: 20px;
	padding: 10px 0px;
}
.cart_item:not(:last-of-type) {
	border-bottom: 2px solid #EBEBEB;
}
.cart_item .product-thumbnail img {
	max-width: 90px;
}
.cart_item .product-name {
	flex-grow: 1;
}
.cart_item .product-name a {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 25px;
	color: var(--color-blue);
}
.cart_item .product-quantity input {
	border: none;
	outline: none;
	font-size: 16px;
	font-weight: 700;
	max-width: 60px;
	text-decoration: underline;
	text-align: right;
	color: var(--color-blue);
}
.cart_item .product-quantity {
	margin-right: 20px;
	margin-left: 40px;
	align-self: center;
}
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity input[type=number] {
  -moz-appearance: textfield;
}
.ci-title {
	color: #898989;
	font-size: 15px;
	margin-bottom: 10px;
}
.ci-value {
	color: var(--color-blue);
	font-weight: 700;
	text-align: right;
}
.product-price {
	flex-basis: 80px;
    flex-shrink: 0;
	align-self: center;
}
.cart_item .product-remove a {
	font-size: 24px;
    line-height: 15px;
	font-weight: 700;
	color: var(--color-lightblue);
}
.cart_item .product-remove a:hover {
	color: var(--color-blue);
}
.ci-quantity {
	display: flex;
	align-items: center;
	gap: 10px;
}
.prq-arrows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}
.prq-plus {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 7px 8px 7px;
	border-color: transparent;
	transition: all 0.3s ease;
	cursor: pointer;
	border-bottom-color: var(--color-lightblue);
}
.prq-plus:hover {
	border-bottom-color: var(--color-blue);
}
.prq-minus {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 7px 0px 7px;
	border-color: transparent;
	transition: all 0.3s ease;
	cursor: pointer;
	border-top-color: var(--color-lightblue);
}
.prq-minus:hover {
	border-top-color: var(--color-blue);
}
.wc-proceed-to-checkout {
	margin-top: 15px;
	text-align: right;
}
.wc-proceed-to-checkout .btn {
	display: inline-block;
}
.woocommerce-cart article.page,
.woocommerce-checkout article.page {
	margin: 10px 0 130px;
}
.woocommerce-cart h1,
.woocommerce-checkout h1 {
	text-align: center;
	text-transform: uppercase;
	color: var(--color-blue);
	font-size: 24px;
	margin-bottom: 30px;
}
.cart-emtpy-header {
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	color: #ffffff;
	line-height: 1;
	padding: 15px;
	margin: -60px 0px 30px;
	background: var(--color-lightblue);
	text-transform: uppercase;
	position: relative;
}
.return-to-shop {
	margin-top: 20px;
	text-align: center;
}
.form-actions {
    display: none;
}
/* Checkout */
.optional {
	display: none;
}
form.woocommerce-checkout {
	padding: 30px 50px 50px;
	border: 5px solid var(--color-lightblue);
	max-width: 600px;
	width: 100%;
	margin: 0px auto;
}
form.woocommerce-checkout h3 {
	display: none;
}
form.woocommerce-checkout label {
	display: block;
	color: #959595;
	margin-top: 20px;
}
form.woocommerce-checkout input[type="text"],
form.woocommerce-checkout input[type="tel"],
form.woocommerce-checkout input[type="email"],
form.woocommerce-checkout textarea {
	display: block;
	width: 100%;
	background: #EBEBEB;
	border: none;
	outline: none;
	padding: 10px;
}
form.woocommerce-checkout textarea {
	resize: none;
	height: 95px;
}
.buyer-wrap .woocommerce-input-wrapper label {
	display: inline-block;
	margin: 0px 10px 0px 5px;
}
form.woocommerce-checkout #place_order {
	margin: 30px 0px 0px auto;
    display: block;
}
.woocommerce-additional-fields__field-wrapper:after {
    content: "Поля, обязательные для заполнения, отмечены звездочкой";
    display: block;
    margin-top: 20px;
    color: #959595;
}

/* Breadcrumbs */
.nav-links {
	display: flex;
	gap: 20px;
	justify-content: center;
	color: var(--color-blue);
	font-size: 12px;
	margin: 50px 0px 20px;
}
.woocommerce-breadcrumb {
	color: var(--color-blue);
	font-size: 12px;
	margin: 15px 0px 20px;
}
.nav-links a,
.woocommerce-breadcrumb a {
	color: inherit;
}
.nav-links a:hover,
.woocommerce-breadcrumb a:hover {
	color: var(--color-lightblue);
}
.nav-links span:not(.dots),
.woocommerce-breadcrumb span:not(.dots) {
	text-decoration: underline;
	color: var(--color-lightblue);
}
.nav-links .prev,
.nav-links .next {
	display: none;
}

/* filters */
.wc-filters {
	display: flex;
	gap: 40px;
	margin: 20px 0px 40px;
}
.wc-filters select {
	border: none;
	outline: none;
	cursor: pointer;
	color: #898989;
	padding-right: 25px;
	border-bottom: 1px solid var(--color-lightblue);
	background-image: url(images/arrow-select.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	-moz-appearance: none;
    -webkit-appearance: none;
}
.wc-filters select::-ms-expand {
  display: none;
}
.woof_redraw_zone {
	display: flex;
	gap: 25px;
}
.woof_container {
	flex: 1;
}


.no-results {
	padding: 40px 0 60px;
}

#billing_country_field, #order_review {
	display: none;
}