@import url("default.css");

.jshop_price{ color: #f84147; }

.jshop_code_prod{ font-size: 14px; }

.jshop_list_product .block_product.uk-card {
	border: 1px solid rgb(0 101 168 / 20%);
	border-radius: 5px;
	margin-bottom: 0;
	padding-bottom: 0;
	padding: 0;
}

.jshop_list_product .block_product:hover,

.jshop_list_category .category .uk-card {cursor: pointer;}

.jshop_list_category .category .uk-card:hover {
	box-shadow: 0 1px 5px rgba(1,2,2,.15);
	transform: translate(1px, 1px);
}

.jshop_list_category .category .jshop_img {width: auto; height: 100px;}

.jshop_list_product .uk-card-small .uk-card-body.uk-card-media-top { padding-top: 0; }

.jshop_list_product .block_product.uk-card .product .image {margin-bottom: 0;}

.jshop_list_category .category, .jshop_list_manufacturer .manufacturer, .jshop_list_vendor .vendor {text-align: left;}

.jshop_list_category .category .image.uk-card-media-top, .jshop_list_manufacturer .manufacturer .image.uk-card-media-top, .jshop_list_vendor .vendor .image.uk-card-media-top {text-align: center;}

.jshop_list_category .category_name, .jshop_list_manufacturer .manufacturer_name, .jshop_list_vendor .vendor_name {
	font-size: 1rem;
	font-weight: 600;
}

.category_name a, .manufacturer_name a, .vendor_name a {color: #333;}
.category_name a:hover, .manufacturer_name a:hover, .vendor_name a:hover {color: var( --link-hover-color );}

figure.image_block.uk-card-media-top {margin-bottom: 0;}

.jshop_list_product .uk-card-small .uk-card-body,
.jshop_list_product .uk-card-small .uk-card-footer {
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
}

.jshop_list_product .product .image.uk-card-media-top {
	margin-bottom: 15px;
}

.jshop_list_product .product .name {
	margin: 10px 0;
	display: table-cell;
	vertical-align: middle;
	align-items: center;
	justify-content: flex-start;
	height: 2.5em;
  overflow: hidden;
	text-overflow: ellipsis;
  font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
}

.jshop_list_product .product .name a{
	color: #000;
	display: block;
	height: 2.5em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jshop_list_product .product .review_mark{ width: 80px; }

.jshop_list_product .product .description {
  font-size: .8em;
	line-height: 1.2;
  text-align: justify;
}
.jshop_list_product .product .description:first-letter {text-transform: capitalize;}

.jshop_list_product .product .buttons a{ margin-top: 0; }

.jshop_list_product .product .jshop_price {
	font-size: 1rem;
	text-align: center;
	font-weight: 500;
	color: #000;
}

.jshop_list_product .list_related .jshop_related { border: 1px solid #f0f0f0; }

.jshop_list_product .image_block {
	padding: 5px 0 0 0;
	display: inline-block;
	min-height: 130px;
}

.jshop_list_product .uk-position-absolute .not_available, .jshop_list_product .uk-position-absolute .available {
  top: 0;
  right: 10px;
  font-weight: 100;
}

.jshop_list_product .box_products_sorting img{cursor: pointer;}

.price_ftspace{
    margin-left: 5px;
    margin-right: 5px;
}
.jshop_list_product .box_price_from{
    padding-right: 3px;
}
.jshop_list_product .clear_filter{
    font-size:10px;
    padding-left: 5px;
}

.jshop .product_label{
    position: absolute;
    margin-left: -5px;
    margin-top: -5px;    
}

.product_label.uk-card-badge {
  background: transparent;
  margin: 0;
  padding: 0;
}
.product_label.uk-card-badge img {
  width: 90px;
  height: auto;
  aspect-ratio: unset;
  transform: translate(15px, 10px);
}

.jshop .product_label .label_name {
  color: var(--accent-color);
}

.image_block button[data-favorite] {
	display: block;
	position: absolute;
	right: 15px;
	top: 15px;
	z-index: 10;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--link-color);
	width: 30px;
	height: 30px;
	line-height: 33px;
	border-radius: 20px;
	text-align: center;
	font-size: 1rem;
	backdrop-filter: brightness(5) grayscale(1) contrast(3);
}

.image_block button[data-favorite]:hover {
	color: var(--link-hover-color);
}

/* Убираем избранное со страницы меню Распродажа */
.com-jshopping:where(.itemid-130, .itemid-125) button[data-favorite] {display: none;}

#product-header.uk-flex {gap: 30px;}

.productfull .old_price{
    color: #999;
    margin-bottom: 5px;
}
.productfull #block_price{
    font-size:18px;
    color: #950000;
}
.productfull .taxinfo{
    font-size:11px;
}
.productfull .plusshippinginfo{    
    font-size:11px;
}
.productfull .plusshippinginfo a{
    font-size:11px;
}
.productfull .prod_buttons {
    margin-top:5px;
}
.productfull div.prod_url{
    text-align: right !important;
}
.productfull .productweight{
    margin-top: 5px;
}
.productfull .extra_fields{
    margin-top: 5px;
}
.productfull .prod_qty{
    display: inline-block;
}
.productfull .prod_qty_input{
    padding-left: 5px;
    display: inline-block;    
}

.productfull .buttons{
    padding-left:10px;
    display: inline-block;
}

span.prod_attr_img img{
    height:32px;
}

.stars_no_active{
    height:16px;
}
.stars_active{
    height:16px;
    background-position: 0px -16px;
}

.extra_fields+.extra_fields,
.extra_fields .block_efg+.block_efg {
    margin-top: 20px;
}

.productfull .button_back{
    padding-top: 10px;
}

.block_product.uk-card .product_prices {
	padding: 10px 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
}

#jshop_list_product.uk-grid>div {width: 100%;}

.jshop_list_product .jshop .old_price,
.jshop_list_product .block_product .old_price {
	color: #ff0200;
	margin-bottom: 0;
	font-size: 1rem;
	text-align: left;
}

.jshop_list_product .jshop .old_price span,
.jshop_list_product .block_product .old_price span {
	text-decoration: line-through;
	text-decoration-color: rgba(0 0 0 / 50%);
	text-decoration-skip-spaces: all;
}


.jshop.address_block .jshop_register .controls .form-control {height: 20px;}
.jshop.address_block .other_delivery_adress {display: none;}
.jshop_block_privacy_statement .control-group {
	display: flex;
	flex-direction: row;
	align-items: normal;
	justify-content: start;
	gap: 10px;
	max-width: 640px;
}

.pfinish_comment_block {max-width: 100%;}
.pfinish_comment_block .name {text-align: left;}
.pfinish_comment_block .box_button {text-align: left; margin-top: 1rem;}

.jshop.checkout_pfinish_block {
	margin-top: 20px;
	border-top: 1px solid;
	padding-top: 20px;
}

.jshop.checkout_pfinish_block .checkoutinfo .bill_address {display: none;}

.pfinish_comment_block>*+* {margin-top: 1rem;}

@media (min-width: 768px){
	
	#jshop_list_product.uk-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

  .form-horizontal .block_sorting_count_to_page .control-label{
    width: auto;
  }
  .form-horizontal .block_sorting_count_to_page .controls .inputbox{
    width: auto;
  }

  .form-horizontal .box_products_count_to_page .control-label{
    width: auto;
  }
  .form-horizontal .box_products_count_to_page.control-group .controls{
    margin-left: 20px;
  }
  .form-horizontal .box_products_count_to_page .controls .inputbox{
    width: auto;
  }
  .form-horizontal .block_sorting_count_to_page .box_products_count_to_page.control-group{
    margin-top: 0;
  }
}

@media (min-width: 968px){
	.address_block .jshop_register {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		align-items: baseline;
	}
	
	#jshop_list_product.uk-grid {grid-template-columns: 1fr 1fr 1fr;}
	
	.jshop.checkout_pfinish_block {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

@media (min-width: 1200px){
	.address_block .jshop_register {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}

	#jshop_list_product.uk-grid {grid-template-columns: 1fr 1fr 1fr 1fr;}
}
