/*
Theme Name: SUPERPET
Theme URI: 
Description: Official LAIKY theme
Author: SUPERPET
Author URI: 
Template: shoptimizer
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

.ratings{ 
  position:relative; 
  margin:25px 0; 
} 
 
span.rat_t{ 
  font-weight:bold; 
  font-size:15px; 
} 
 
.vote-block{ 
  overflow:hidden; 
  margin:0 10px 0 0; 
  padding-bottom:15px; 
  float:left; 
  vertical-align:middle; 
  position:relative; 
} 
.vote-block .rating-info { 
 position: absolute; 
 bottom: -5px; 
 left: 0; 
 font-size: 12px; 
 color: #888; 
} 
.vote-block span.rating-text { 
 font-size: 15px; 
 color: #000; 
 line-height: 20px; 
 display: block; 
 float: left; 
  margin-top: 3px; 
} 
.vote-block .rating { 
 list-style: none; 
 margin: 0 10px 0 0; 
 padding: 0; 
 width: 195px; 
 height: 30px; 
 vertical-align: middle; 
} 
.vote-block .rating li { 
 display: block; 
 width: 39px; 
 height: 31px; 
 float: right; 
 text-indent: -9999px; 
 cursor: pointer; 
} 
.vote-block .rating li:hover, .vote-block .rating li:hover~li { 
 background: url(./assets/img/star.png) 0 -31px; 
 cursor: pointer; 
} 
.vote-block.disabled .rating li.current { 
 display: block; 
 z-index: 10; 
} 
.vote-block .rating li.active, .vote-block .rating li.active~li { 
 background-position: 0 -27px; 
} 
.vote-block li.current { 
 display: none; 
} 
.vote-block ol.show-current { 
 position: relative; 
} 
.vote-block ol.show-current li { 
 cursor: default; 
 z-index: 2; 
 position: relative; 
 font-size: 18px; 
 line-height: 30px; 
 text-align: center; 
 margin: 0 auto; 
 -webkit-border-radius: 30px; 
 border-radius: 30px; 
} 
.vote-block ol.show-current li.current { 
 position: absolute; 
 top: 0; 
 left: 0; 
 display: block; 
 width: 100%; 
 z-index: 1; 
 background-position: 0 0; 
 background-repeat: repeat-x; 
 background-image: url(./assets/img/star.png); 
} 
.vote-block ol.show-current li.current span { 
 display: block; 
 height: 30px; 
 width: 0; 
 background: inherit; 
 background-position: 0px -62px; 
} 
.itemreviewed { 
 font-weight: bold; 
}
.pointer-events-none{
	pointer-events: none !important;
}
/*
.woocommerce-cart-form .qty[type="number"]:not([step="1"]){
	pointer-events: none !important;
}
*/

.shoptimizer-custom-quantity-mini-cart input{
	pointer-events: auto;
}

/* Стили для списка выбора количества */
.change-gty-block{
	margin-bottom: 10px;
}
ul.change-qty {
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    font-weight: 400;
	display:inline;
}

ul.change-qty li {
    cursor: pointer;
    padding: 0;
    min-width: auto;
    min-height: auto;
    line-height: 1.4;
    display: inline-block;
    margin: 0 5px;
    border-bottom: 1px dotted;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Кнопка стартового набора в шапке */
.col-full-nav .try-button{
	position:relative;
	z-index:auto;
}

.main-header .try-button{
	padding: 5px 7px;
	font-size: 12px;
	position: absolute;
	top: 11px;
	right: 10px;
}

.shoptimizer-myaccount a svg{
	display:none;
}
.shoptimizer-myaccount a:first-child{
	width:25px;
	height:100%;
	background:url(assets/img/paw.svg) no-repeat 50% 50%;
}

.commercekit-sticky-add-to-cart.visible {
	top: 60px;
}

.admin-bar .commercekit-sticky-add-to-cart.visible {
	top: 60px;
}

.site-header .shoptimizer-myaccount .my-account-custom-text{
	display:none;
}

@media (min-width: 992.98px) and (max-width: 1198.98px) {
	.col-full-nav .try-button{
		margin-top: 4px;
		margin-bottom: 6px;
	}
}
@media (min-width: 992px) and (max-width: 1142px) {
	.shoptimizer-myaccount .my-account-custom-text{
		display: none !important;
	}

	.main-navigation ul, .menu-top-bar-container{
		font-size: 90%!important;
	}
	.menu-top-bar-container{
		font-size: 93%!important;
	}
	
}

@media (min-width: 992.98px) {
	.main-header .try-button{
		display:none !important;
	}
	.main-header .site-header-cart{
		display:none !important;
	}
	.sticky-d.header-4 .header-4-container {
		position: sticky !important;
	}
	.header-4 .shoptimizer-myaccount {
		display: flex;
		align-items: center;
	}
	.header-4 .shoptimizer-myaccount .my-account-custom-text{
		margin-left:10px;
	}
}

@media (max-width: 420px) {
	.site-branding button.menu-toggle{
		width:40px !important;
	}
	.site-branding {
		align-items: flex-start !important;
	}
	.custom-logo-link{
		margin-left: 40px;
	}
}

/* Отзывы */
#reviews .commentlist li .comment_container .comment-text {
	width: calc(100% - 70px);
}
.cr-reviews-ajax-reviews .cr-reviews-ajax-comments .cr-ajax-reviews-list .cr-avatar-check{
	z-index:1;
}
.cr-review-form-continue{
	background:#e80f71;
	border-radius:4px;
}
.cr-ajax-reviews-add-review{
	background:transparent;
}
.woocommerce-Reviews-title, .cr-ajax-reviews-cus-images-title, .cr-ajax-search, .cr-count-row{
	display:none !important;
}
@media (max-width: 770px) {
	#reviews .commentlist li .description{
		position: relative;
		left: -70px;
		width: calc(100% + 70px);
	}
	#reviews .commentlist li .cr-comment-images{
		position: relative;
		left: -70px;
		width: calc(100% + 70px);
	}
}

.cr-comment-image-top img, .cr-comment-image-top video {aspect-ratio: 1;}


/* Кнопки зума и закрытия изображения */
@media (max-width: 992.98px) {
	.pswp__top-bar{
		top: 50px;
	}
	.pswp__top-bar .pswp__button--close{
		order:3;
	}
	.pswp__top-bar .pswp__button--fs{
		order:2;
	}
	.pswp__top-bar .pswp__button--zoom{
		order:1;
	}
	.pswp__top-bar .pswp__button--share{
		display:none;
	}
}

#post-820807 .cr-review-form-item{display:none;}
.cr-summary-separator{display:none !important;}


@media (min-width: 992.98px) and (max-width: 1198.98px) {
	.header-4 .col-full-nav {
		width: 100%;
	}
	.header-4 .col-full-nav #site-navigation{
		margin-left: auto;
	}
	.header-4 .col-full-nav .shoptimizer-myaccount{
		margin-left: auto;
	}
	.header-4 .col-full-nav .site-header-cart{
		margin-left:0;
	}
	.col-full-nav .try-button {
		margin-top: 9px;
		margin-bottom: 11px;
	}
}

.woocommerce-checkout .custom-logo-link{
	margin-left: 0;
}

.woocommerce-MyAccount-navigation-link--subscriptions{
	display:none;
}
.woocommerce-MyAccount-navigation-link--my-points a::before{
	mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8C10.3431 8 9 8.89543 9 10C9 11.1046 10.3431 12 12 12C13.6569 12 15 12.8954 15 14C15 15.1046 13.6569 16 12 16M12 8C13.1104 8 14.0799 8.4022 14.5987 9M12 8V7M12 8L12 16M12 16L12 17M12 16C10.8896 16 9.92008 15.5978 9.40137 15M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z' stroke='%234A5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.woocommerce-checkout.min-ck.woocommerce-order-received .shoptimizer-myaccount{
	display: flex;
	align-items: center;
}

/* Детали заказа на странице оплаты */

ul.order_details::after,
ul.order_details::before {
  display:table
}

.woocommerce ul.order_details li {
  padding-bottom:0;
  padding-left:0;
  color:#666;
  font-size:15px;
  text-transform:none
}

.woocommerce ul.order_details {
  margin:0 0
}
.woocommerce ul.order_details li strong {
  color:#111;
  font-size:14px
}

.woocommerce-checkout ul.order_details {
  padding:.6em 0;
  margin-bottom:2em;
  background-color:#f8f8f8;
  text-align:center
}
.woocommerce-checkout ul.order_details li {
  display:inline-block;
  padding:1em 1.618em;
  margin-bottom:0;
  font-size:13px
}

ul.order_details {
  position:relative;
  margin:3.706325903em 0;
  list-style:none
}
ul.order_details::after,
ul.order_details::before {
  display:block;
  position:absolute;
  left:0;
  width:100%;
  height:16px;
  background-size:0 100%,16px 16px,16px 16px;
  content:""
}
ul.order_details::before {
  top:-16px
}
ul.order_details::after {
  top:auto;
  bottom:-16px;
  transform:rotate(180deg)
}
ul.order_details li {
  padding:1em 1.618em;
  font-size:.8em;
  text-transform:uppercase
}
ul.order_details li:first-child {
  padding-top:1.618em
}
ul.order_details li:last-child {
  padding-bottom:1.618em;
  border:0
}
ul.order_details li strong {
  display:block;
  font-size:1.41575em;
  text-transform:none
}

ul#shipping_method li span.amount {
	float: none;
	white-space: nowrap;
}
.woocommerce-additional-fields h3 {
	display: none;
}
#payment .wc_payment_method img {
	display: none;
}

.woocommerce-checkout #coupon-anchor {
	margin: 10px 0;
}
.woocommerce-checkout #coupon-anchor .ui-widget-content{
	border: 1px solid #d2d6dc;
	border-radius: 4px;
}
.woocommerce-checkout #coupon-anchor form.ui-widget-content{
	border: none;
}
.woocommerce-checkout #coupon-anchor .ui-dialog .ui-dialog-titlebar-close {
	position: absolute;
	right: 0;
	top: 5px;
	display: inline-block;
	background-color: transparent;
	color: var(--e-global-color-primary);
	transition: color .3s;
	width: 25px;
	height: 25px;
	font-size: 0;
}
.woocommerce-checkout .ui-widget-header {
	border: none;
}
.woocommerce-checkout .ui-widget-header span{
	display: none;
}
.woocommerce-checkout #coupon-anchor .ui-dialog .ui-dialog-titlebar-close * {
	pointer-events: none;
}
.woocommerce-checkout #coupon-anchor .ui-dialog .ui-dialog-titlebar-close:hover {
	color: #ccc;
}
.woocommerce-checkout #coupon-anchor .ui-dialog .ui-dialog-titlebar-close::before, .woocommerce-checkout #coupon-anchor .ui-dialog .ui-dialog-titlebar-close::after {
	content: '';
	position: absolute;
	background-color: currentColor;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	rotate: -45deg;
	width: 4px;
	height: 90%;
	border-radius: 2px;
}
.woocommerce-checkout #coupon-anchor .ui-dialog .ui-dialog-titlebar-close::after {
	rotate: 45deg;
}

#order_comments {
	font-family: "Manrope", sans-serif;
	font-weight: 500;
}

@media all and (min-width:993px) {
	body ul.order_details li {
		padding-right:0;
		padding-bottom:0;
		padding-left:0
	}
	/*
	.woocommerce-checkout ul.order_details li {
		display:block;
		text-align:left
	}
	*/
}

@media (max-width:768px) {
	.woocommerce-checkout .site ul.order_details li {
		padding-top:.5em;
		padding-bottom:.5em
	}
	.woocommerce-checkout .site ul.order_details {
		margin-bottom:2em
	}
}

@media (max-width: 992.98px) {
	.commercekit-sticky-add-to-cart.visible,
	.admin-bar .commercekit-sticky-add-to-cart.visible {
		top: auto!important;
		bottom: 0px;
	}
	.col-full-nav .try-button{
		display:none !important;
	}
}

.shoptimizer-mini-cart-wrap{
	z-index:99999;
}

.topbar-wrapper .top-bar{
	z-index:5;
}

.stock-msg{
	display:none;
}

.closest-delivery-date p {
	margin-bottom: 2px;
}

.cgkit-as-variation-price + .sale-item {
  display: none;
}
/*
.product-details-wrapper .cgkit-as-variation-price{
	display:none;
}
*/
@media (max-width: 600px) {
	#tab-title-reviews a{
		display:flex;
		align-items: center;
	}
	#tab-title-reviews a span {
		position: relative;
		top: unset;
		right: unset;
		text-align: center;
		margin-left: 6px;
		bottom: unset;
		margin-top: 2px;
	}
}

/* Детали заказа в карточке товара */
.product .summary .commercekit-pdp-sticky-inner__close-button {
	background-color: transparent;
}
/* Детали заказа в карточке товара */

#site-navigation .shoptimizer-mobile-menu{
	display:none;
}

.shoptimizer-cart-wrapper .cart-subtotal{
	display:none;
}

.shoptimizer-cart-wrapper .woocommerce-shipping-totals{
	display:none;
}

/* ЛК пользователя Добавить способ оплаты */
#add_payment_method ul {
	list-style: none;
}
#add_payment_method li img {
	display: none;
}
/* ЛК пользователя Добавить способ оплаты */

/* Поправить z-index меню, чтобы не перекрывался товаром и оверлеем дропдауна*/
/*@media (min-width: 993px) {
  body:has(#commercekit-waitlist-popup-wrap) .header-4-container {
    z-index: 6 !important;
  }
}
*/
.slw_stock_location_selection{
	display:none !important;
}

.cart_totals .closest-delivery-date{
	font-size: 14px;
	margin-bottom: 15px;
}

.yandex-metrika-hidden-form .added_to_cart, .yandex-metrika-hidden-form .add_to_cart_custom_ajax{
	width: 100% !important;
	top: 0;
}

@media (max-width: 992px) {
  .mobile-scroll ul.products {
    width: calc(100% + 15px);
  }
}



.stock-check-message{
	margin-top: 0;
	padding-bottom: 0.85rem;
	display: block !important;
}
.stock-check-message .stock-check{
	color: #f6a02c;
}

.ajax-block-loading{
	background: url('assets/img/loading.svg') no-repeat left center;
	background-size: 20px;
	width: 100%;
	height: 100%;
	display: block;
	padding-left: 24px;
}

/* Убрать иконку замка с кнопок */
#payment .place-order .button::before, .cart-collaterals .checkout-button::before, .widget_shopping_cart .buttons .checkout::before, .wp-element-button.wc-block-cart__submit-button::before, .wp-element-button.wc-block-components-button.wc-block-components-checkout-place-order-button::before {
display:none !important;
}

#loading-overlay {
	width: 100%;
	height: 100%;
	top: 0;
	position: absolute;
	z-index: 999;
	display: none;
}

#loading-overlay img{
	width: 80px;
	height: 80px;
	display: block;
	position: absolute;
	left: calc(50% - 40px);
	top: calc(50% - 40px);
}

.loading-active #loading-overlay{
	display: block;
}

.loading-active .commercekit-pdp-sticky-inner{
	filter: blur(6px);
}

form.loading-active{
	position: relative;
}

#unpaid-order a{
	background: #E80F71;
	padding: 1em;
	color: #fff;
	text-align: center;
	font-size: 1em;
	display: block;
	text-decoration: none !important;
}

@media (max-width: 992px) {
	.main-header .site-branding .custom-logo-link{
		margin-left: 0 !important;
    	left: 40px !important;
		position: relative;
	}
	.main-header .site-branding{
		align-items: start;
	}
	.main-header .site-branding button.menu-toggle{
		width: 30px;
	}
	.main-header .site-branding span.logo {
		margin-left: 0;
	}
}

.payment_method_yookassa_widget p{
	display: none !important;
}

#payment .payment_methods li .payment_box ul.wc-saved-payment-methods {
	margin-left: 24px !important;
	padding-top: 0;
}

#add-order-comments{
	color:var(--e-global-color-primary);text-decoration:underline;cursor:pointer;
}
#add-order-comments:hover{
	text-decoration:none;
}

.product .woocommerce-variation-availability p.stock {
	border-top: none;
}

.woocommerce-variation-availability {
	border-top: 1px solid #e2e2e2;
}
  
/* Контейнер-заглушка */
.shimmer-effect {
	border-radius: 6px;
	background: #e0e0e0;
	position: relative;
	overflow: hidden;
}

/* Анимация */
.shimmer-effect::after {
	content: "";
	position: absolute;
	top: 0;
	left: -150px;
	width: 150px;
	height: 100%;
	background: linear-gradient(
	90deg,
	transparent,
	rgba(255, 255, 255, 0.4),
	transparent
	);
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	100% {
	left: 100%;
	}
}
	
.shimmer-effect span, .shimmer-effect div, .shimmer-effect p, .shimmer-effect button{
	opacity:0 !important;
}

.add-to-auto-orders-button-container{
	margin-top: 15px;
}
.add-to-auto-orders-button-container button {
	width: 100%;
}

.product-type-simple .add-to-auto-orders-button-container{
	padding-top: 15px;
	clear: both;
}

/* Иконки соцсетей в топбаре */
.top-bar-with-social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}

.top-bar-right .custom-html-widget .textwidget {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}

.top-bar-right .textwidget.custom-html-widget {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}

.top-bar-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.top-bar-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	transition: transform 0.2s ease;
}

.top-bar-social__link:hover,
.top-bar-social__link:focus {
	transform: translateY(-1px);
}

.top-bar-social__link img {
	width: 30px;
	height: 30px;
	display: block;
}

.top-bar-with-social .widget {
	margin-bottom: 0;
}

.related-wrapper .star-rating { display: none !important; }

.up-sells ul.products li.product .woocommerce-loop-product__title{
	font-size: 1em;
	font-weight: 400;
	font-family: inherit;
	text-align: center;
}

.up-sells ul.products li.product .price{
	text-align: center;
}

@media (max-width: 992px) {
	.upsells.products ul.products {
		width: 100%;
		display: grid;
		overflow-x: hidden;
		grid-template-columns: repeat(2,minmax(10px,1fr));
		column-gap: 20px;
		row-gap: 30px;
		margin-left: 0;
		padding: 0;
	}
}

@media (max-width: 767px) {
	.upsells.products ul.products li.product {
	  display: flex !important;
	  flex-direction: column !important;
	  padding: 0 !important;
	  height: 100%;
	  width: 100%;
	  margin-bottom: 0;
	}
}

@media (max-width: 992px) {
	.upsells.products ul.products li.product .woocommerce-card__header{
	  box-shadow: none;
	  padding: 0;
	}
}

#coupon-anchor .woocommerce-message{
	margin-bottom: 0 !important;
}
#coupon-anchor .ui-dialog-titlebar-close{
	top: 12px !important;
}

#add_user_address_field ._field__list{
    border: 1px solid #eceaea;
    z-index: 3;
}
#add_user_address_field ._field__list li{
    padding: 8px 10px;
    border-bottom: 1px solid #eceaea;
}

.not-logged-in #mobile-autoorder-link{
	display:none !important;
}
.change-city{
	position: absolute;
	z-index: 999;
	top: 50px;
	background: #fff;
	padding: 15px;
	box-shadow: 2px 8px 23px 3px rgba(0,0,0,0.2);
}
.admin-bar .change-city{
	top: 82px;
}
.change-city div{
	margin-top: 5px;
}
#change-city-yes{
	font-size: 15px;
  color: #fff;
}
#change-city-no{
	background: #f7f7f7;
	font-size: 15px;
	margin-left: 10px;
	color:#000;
}
.change-city span{
color: var(--e-global-color-primary);
display:block;
cursor:pointer;
}
.change-city span:hover{
color: var(--e-global-color-accent);
}
.change-city p{
	font-weight:bold;
	margin-bottom:5px;
}

.products .product:has(.button[disabled]){
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

#billing_address_1_field, #billing_address_2_field{display:none !important;}

/* Фиксируем кнопку оформления заказа внизу экрана на мобильных */
@media (max-width: 992px) {
	.woocommerce-checkout form.woocommerce-checkout {
		padding-bottom: 90px;
	}

	.woocommerce-checkout #payment .place-order {
		position: static;
		padding-bottom: 0;
		background: transparent;
		box-shadow: none;
	}

	.woocommerce-checkout #payment .place-order #place_order {
		position: fixed;
		left: 0;
		right: 0;
		bottom: env(safe-area-inset-bottom);
		z-index: 9999;
		width: 100%;
		border-radius: 0;
		border: 15px solid #fff;
		margin-bottom: 0;
		height: 85px !important;
		box-shadow: 0 -12px 31px rgba(0,0,0,0.08);
	}
}

/* Фиксируем кнопку оформления заказа в корзине на мобильных */
@media (max-width: 992px) {
	.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
		position: fixed;
		left: 0;
		right: 0;
		bottom: env(safe-area-inset-bottom);
		z-index: 9999;
		width: 100%;
		border-radius: 0;
		border: 15px solid #fff;
		margin-bottom: 0;
		height: 85px !important;
		box-shadow: 0 -12px 31px rgba(0,0,0,0.08);
	}
}
