.jshop h1{
    margin-top: 0px;
}
table.jshop{
    border-collapse: collapse;
    border: 0px;
    width: 100%;	
}
table.jshop td{
    vertical-align: top;
}
#jshop_menu_order{
    margin-bottom: 10px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    border-radius: 0.25rem;
    display: flex;
    justify-content:space-around;
}
.jshop_order_step{
    padding: 4px 2px;
}
.jshop_order_step a{
    text-decoration: underline;
}
.table_order_list {
    background-color: #F5F5F5;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}
.table_order_list .buttons{
    text-align: center;
    padding-top: 10px;
}

.row-fluid, .row-fluid0{
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.row-fluid0{
    margin-right: -5px;
    margin-left: -5px;
}

.row-fluid [class*="sblock"] {
    width: 100%;
    min-height: 28px;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right:15px;
}
.row-fluid0 [class*="sblock"]{
    padding-left: 5px;
    padding-right: 5px;
}
.row-fluid .sblock0{
    width: auto;
}
.row-fluid .sblock2{
    width: 50%;
}
.row-fluid .sblock3{
    width: 33.333%;
}
.row-fluid .sblock4{
    width: 25%;
}
.row-fluid .sblock5{
    width: 20%;
}
.row-fluid .sblock6{
    width: 16.666%;
}
.row-fluid .sblock7{
    width: 14.285%;
}
.row-fluid .sblock8{
    width: 12.5%;
}
.row-fluid .sblock9{
    width: 11.111%;
}
.row-fluid .sblock10{
    width: 10%;
}
.row-fluid .sblock11{
    width: 9.09%;
}
.row-fluid .sblock12{
    width: 8.333%;
}

.jshop_list_category .category, .jshop_list_manufacturer .manufacturer, .jshop_list_vendor .vendor{
    text-align: center;
}
.jshop_list_category .category_name, .jshop_list_manufacturer .manufacturer_name, .jshop_list_vendor .vendor_name{
    font-size: 1.5rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.myorders_block_info{
    margin-bottom: 30px;
}
.myorders_block_info .order_number{
    font-size: 120%;
    margin-bottom: 5px;
}
.myorders_block_info .order_status{
    font-size: 120%;
    margin-bottom: 5px;
}
.myorders_total{
    font-size: 120%;
}
.myorders_total .name{
    font-weight: bold;
}
.myorderinfo .userinfo{
    margin-top: 10px;
    margin-bottom: 20px;
}
.myorderinfo .userbillinfo{
    padding-right: 10px;
    margin-bottom: 10px;
}
.myorderinfo .product_head{
    margin-bottom: 5px;
}
.myorderinfo .order_number{
    font-size: 140%;
}
.myorderinfo .order_items{
    margin-bottom: 20px;
}
.myorderinfo .jshop_subtotal{
    margin-bottom: 20px;
}
.myorderinfo .shipping_block_info{
    margin-bottom: 15px;
}
.myorderinfo .payment_block_info{
    margin-bottom: 15px;
}
.myorderinfo .order_comment{
    margin-bottom: 15px;
}
.myorderinfo .history{
    margin-bottom: 15px;
}
.order_history td{
	padding-right:5px;
}
img.jshop_img_thumb{
    margin-bottom:5px;
    cursor: pointer;
}
.jshop label{
    margin: 0px;
    display: inline-block;
    margin-right: 5px;
}
.jshop input[type="radio"], .jshop input[type="checkbox"]{
    margin: 0px;
}
div.jshop_prod_description{
    padding-top:10px;
    padding-bottom: 10px;
}
div.jshop_prod_attributes{    
    padding-bottom: 10px;
}
div.jshop_prod_attributes .row{
    margin-bottom:5px;
}
div.jshop_prod_attributes select{
    width: 140px;
}
div.jshop_prod_attributes .attributes_title, .prod_free_attribs .name{
    padding-top: 7px;
}
.jshop_subtotal .value{
    text-align: right;
    white-space: nowrap;
    width: 12%;
}
.jshop_subtotal .name{
    padding-right: 10px;
    text-align: right;
    width: 88%;
}
.jshop .total{
    font-weight: bold;
}
.related_header{
    margin-top: 20px;
    border-bottom: 1px solid #999;
    font-weight: bold;
    margin-bottom: 20px;
}
.td_1{
    text-align: left;
    font-weight: bold;
}
.td_2{
    text-align: right;
    font-weight: bold;
}
.jshop_pagination{
    text-align: center;
}
div.jshop_register{
    /*width: 80%;*/
    text-align: left;
    padding: 10px;
    padding-left:0px;
}
#comjshop_register div.jshop_register:first-child{
    padding-top: 0px;
}
div.last_register_block{
    padding-bottom: 0px;
}
.small_header{
    padding-bottom: 5px;
    margin: 0px;
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}
span.jshop_error {
    color:red;
    font-weight: bold;
    font-size: 14px;
    display: block;
}
span.text_pay_without_reg{
    display: block;    
    padding-bottom: 15px;
	padding-top:20px;
}
a.policy {
    text-transform: uppercase;
    color: #000000;
    font-weight: bold;
}
#active_step{
    font-weight: bold;
    padding:0;
    margin:0;
    vertical-align: middle;	
}
p.jshop_cart_attribute{
    padding-left:10px;
    font-style: italic;
    font-size: 0.8rem;
    margin-top:1px;
    margin-bottom:4px;
}
p.jshop_cart_extra_field{
    padding-left:10px;
    font-style: italic;
    font-size: 0.8rem;
    margin-top:1px;
    margin-bottom:4px;
}
.jshop_price{
    color: #950000;
}
span.attr{
    font-weight: bold;
    font-style: italic;
    font-size:10px;
}
.inputbox{
    max-width: 100%;
    background-color: #fefefe;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: .6rem 1rem;
    line-height: 1.5;
}
span.review{
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    display: block;
}
.review_text_not_login{
    margin-top: 10px;
    font-style: italic;
}
textarea.jshop{
    border: 1px solid #b0b1b2; 
}
tr.reviews td{
    padding-bottom:15px;
}
td.reviews{
    padding-left:45px;
}
#mxcpr{
    padding-top:20px;	
    text-align: right;
    display:block;
    font-size: 11px;
}
#mxcpr a{
    font-size: 11px;
}
.jshop_code_prod{
    color: #999;
    font-weight: normal;
    font-size: 12px;
}
.jshop .weightorder{
    text-align: right;
    margin-top: 10px;
}
.jshop .shippingfree{
    text-align: right;
    margin-top: 10px;
}
.jshop .price_prod_qty_list .qty_line{
    padding-left: 5px;
    padding-right: 5px;    
}
.jshop .price_prod_qty_list .qty_price{
    padding-left: 5px;
    font-weight: bold;    
}
.jshop .price_prod_qty_list .qty_price span.per_piece{
    font-weight: normal;
}
.jshop .price_prod_qty_list .qty_price span.base{
    font-weight: normal;
    color: #666;
}
.jshop span.old_price{
    text-decoration: line-through;
    font-style: normal;
}
.jshop .list_product_demo{
    padding-top:10px;
}
.jshop .list_product_demo .download{
    padding-left:5px;
}
.jshop .not_available{
    color: red;
    margin-top:10px;
}
.jshop .available{
    color: #60aa2a;
    margin-top:10px;
}
.productfull .block_available{
    position: relative;
    padding-left: 18px;
}
.productfull .block_available::before{
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 6px;
    left: 0;    
    border-radius: 50%;
}
.productfull .block_available.not_available::before{
    background-color: #dd3232;
}
.productfull .block_available.available::before{
    background-color: #60aa2a;
}
.productfull .jshop_list_product .block_available::before{
    display: none;
}

.jshop_list_product .block_product{
    padding-bottom:15px;
    margin-bottom:25px;
    box-sizing: border-box;
	transition: box-shadow 0.2s;
}
.jshop_list_product .block_product:hover{
    border-radius: 0.40rem;
    box-shadow: 0 1px 5px rgba(1,2,2,.15);
}
.jshop_list_product .oiproduct{
    text-align: center;
}
.jshop_list_product .jshop .old_price{
    color: #999;
    margin-bottom: 5px;
}
.jshop_list_product .jshop .old_price span{
    text-decoration: line-through;
}
.jshop_list_product .jshop .price_extra_info, 
.jshop_list_product .manufacturer_name,
.jshop_list_product .manufacturer_code,
.jshop_list_product .real_ean,
.jshop_list_product .jshop .base_price{
    text-align: center;
    margin-bottom: 5px;
}
.jshop_list_product .product td{
    vertical-align: top;
}
.jshop_list_product .product .image{
    text-align: center;
    margin-bottom: 5px;
}
.jshop_list_product .product .name{
    text-align: center;
    font-size: 18px;
    margin-bottom: 5px;
}
.jshop_list_product .product .review_mark{
    width: 100px;
    margin-left:auto;
    margin-right: auto;
}
.jshop_list_product .product .description{
    padding-bottom: 5px;
    padding-top: 5px;
}
.jshop_list_product .product .buttons{
    text-align: center;
}
.jshop_list_product .product .buttons a{
    margin-top: 5px;
}
.jshop_list_product .product .jshop_price{
    font-size: 1.3rem;
    text-align: center;
}
.jshop_list_product .product div.count_commentar{
}
.jshop_list_product .product .taxinfo{
    font-size:11px;
}
.jshop_list_product .product .plusshippinginfo, .jshop_list_product .product .plusshippinginfo a{
    font-size:11px;
}
.jshop_list_product .list_related .jshop_related{
    margin-bottom: 15px;
}
.jshop_list_product .image_block{
    padding: 2px;
    display: inline-block;
    min-height: 130px;
}
.jshop_list_product .jshop .not_available,.jshop_list_product .jshop .available{
    margin-top:0px;
    margin-bottom: 5px;
    text-align: center;
}
.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;    
}
.jshop .product_label .label_name{
    font-weight: bold;
    color: #950000;
}

.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 .prod_buttons .buttons{
    padding-left:10px;
    display: inline-block;
}
.productfull .qty_in_stock{
    margin-bottom: 10px;
}
.productfull .image_thumb_list .sblock0{
    width: 33.33%;
    max-width: 130px;
}
.jshop_subtotal .plusshippinginfo, .jshop_subtotal .plusshippinginfo a{
    font-size:0.8rem;
}
.jshop_subtotal .free_discount{
    font-size:0.8rem;
}
.jshop_list_manufacturer .manufacturer td{
    vertical-align: top;
}
.jshop_list_manufacturer .manufacturer .image{
    padding-right: 5px;
}
.shipping_weight_to_price{
    margin-left:24px;
    margin-top:5px;
    border: 1px solid #000;
}
.shipping_weight_to_price .weight{
}
.shipping_weight_to_price .price{
    padding-left: 5px;
}
span.prod_attr_img{
    padding-left:5px;
}
span.prod_attr_img img{
    height:41px;
}
.radio_attr_label img{
    width:20px;
    height:20px;
}

/*review*/
.review_header{
    margin-top:20px;
    font-weight: bold;
    border-bottom: 1px solid #999;
}
.review_item{
    border-bottom: 1px dotted #999999;
    padding: 10px;
    padding-left: 0px;
}
.review_user{
    font-weight:bold;
}
.review_time{

}
.review_text{
    padding-top: 2px;
    padding-bottom: 2px;
}
.review_mark{
    color: #333333;
    height: 18px;
}
#jshop_review_write .row{
    margin-bottom: 10px;
}
#jshop_review_write .inputbox{
    width:220px;
}
.stars_no_active{
    height:19px;
    background-image:url(../images/star.png);
    background-repeat: repeat-x;
    background-position: 0px 0px;
}
.stars_active{
    height:19px;
    background-image:url(../images/star.png);
    background-repeat: repeat-x;
    background-position: 0px -19px;
}
.jshop .downlod_order_invoice{
    float:right;
}
.jshop .order_payment_params{
    padding-top:3px;
    font-size: 11px;
}
.vendordetailinfo .name{
    width:130px;
}
.requiredtext{
    padding-bottom: 10px;
    color: #A00;
    font-size:11px;
}
.jshop .input_type_radio{
    margin-right: 10px;
    white-space: nowrap;
    display: inline-block;
}
.jshop_profile_data{
    margin-bottom: 10px;
}
.jshop_profile_data .name{
    font-weight: bold;
}
.jshop_profile_data span{
    font-weight: bold;
}
.jshop_profile_data span.subinfo{
    font-size:10px;
}
.jshop_profile_data .jshop_user_group_info{
    font-size:10px;
}
.jshop .groups_list .title{
    width:150px;
}

/* module categories*/
.jshop_menu_level_0, .jshop_menu_level_0_a{
    margin-top:3px;
    margin-bottom:3px;
}
.jshop_menu_level_1, .jshop_menu_level_1_a{ 
    padding-left: 10px;
    margin-top:3px;
    margin-bottom:3px;    
}

.jshop_menu_level_2, .jshop_menu_level_2_a{
    padding-left: 20px;
    margin-top:3px;
    margin-bottom:3px;    
}
.jshop_menu_level_0_a a, .jshop_menu_level_1_a a, .jshop_menu_level_2_a a{
    font-weight:bold !important;
}
/**/

.label_products .block_item{
    margin-bottom: 10px;
}

.top_rating .block_item{
    margin-bottom: 10px;
}

.bestseller_products .block_item{
    margin-bottom: 10px;
}
.latest_products .block_item{
    margin-bottom: 10px;
}

.random_products .block_item{
    margin-bottom: 10px;
}

.jshop_filters .filter_price{
    padding-right: 5px;
}
.jshop_filters .clear_filter{
    display: block;
    font-size: 10px;
}
.jshop_button_print{
    width: 30px;
    float: right;
    text-align:right;
}
.extra_fields .extra_fields_group{
    font-weight: bold;
    padding-top:3px;
}
.extra_fields div{
}
.filter_characteristic .characteristic_name{
    padding-top:5px;
}
.filter_characteristic .characteristic_group{
    font-weight: bold;
    padding-top:5px;
}
.jshop td.attributes_title {
    width: 100px;
}
.jshop span.attributes_description {
    font-style: italic;
    display: block;
}
.jshop span.freeattribut_description {
    font-style: italic;
    display: block;
}
.jshop span.extra_fields_description {
    font-style: italic;
}
.jshop .prod_attr_img{
    vertical-align: top;
}
.jshop .cart .product_name{
    text-align: left;
}
.cart th.product_name{
    padding-left: 5px;
}
.cart th.jshop_img_description_center{
    width: 20%;
}
.cart th.single_price{
    width: 15%;
}
.cart th.quantity{
    width: 15%;
}
.cart th.total_price{
    width: 15%;
}
.cart th.remove, .cart th.remove_to_cart{
    width: 10%;
}

.jshop .prod_qty_input input{
    width:80px;
	vertical-align: middle;
}
.productfull .image_middle,
.productfull .jshop_oiproduct{
    margin-bottom: 15px;
}
.productfull .manufacturer_name{
    padding-bottom: 10px;
}
.productfull .manufacturer_code{
    padding-bottom: 10px;
}
.productfull .real_ean{
    padding-bottom: 10px;
}
.productfull .prod_free_attribs{
    padding-bottom: 10px;
}
.productfull .price_prod_qty_list{
    margin-bottom: 10px;
}
.productview .button_back{
    padding-top: 10px;
}
.productfull .text_zoom {
    padding-bottom: 5px;
    padding-top: 3px;
}
.productfull .text_zoom img {
    float: left;
    padding-right: 5px;
}
.productfull a.lightbox:hover{
    color:#000 !important;
}
.fielderror{
    background-color: #FDC055 !important;
}
.fielderrormsg{
    display: block;
    padding: 5px 10px;
    border: 1px solid #ffcacd;
    background-color: #ffeeef;
    margin-top: 5px;
    font-size:11px;
    box-sizing: border-box;
}
.jshop_categ{
    margin-bottom: 20px;
}
.attributgr_name{
    font-weight: bold;
}
#table_shippings .shipping_form{
    display: none;    
}
#table_shippings .shipping_form_active{
    display: block;
}
.jshop .order_shipping_params {
    font-size: 11px;
    padding-top: 3px;
}
/*cart table response*/
.mobile-cart {
    display: none;
}
#all, #contentarea, #contentarea2, #all #header{
    width: auto !important;
}
.cart{
    border-collapse: collapse;
    border:1px solid #ccc;
}
.cart th{
    text-align: center;
    background-color: #f5f5f5;
    padding: 1px;
    color: #000;
    border: 1px solid #eee;
}
.cart td{
    text-align: center;
    border: 1px solid #eee;
    padding:7px 5px;
    vertical-align: top;
}
.cart th table{
    border-collapse: collapse;
}
.cart .odd td{
    background-color: #fff;
    color: #000;
}
.cart .even td{
    background-color: #fdfdfd;
    color: #000;
}
.cart .taxinfo{
    display: block;
    font-size:11px;
}
.cart .jshop_code_prod{
    font-size:10px;
}
.cart .manufacturer, .cart .manufacturer_code, .cart .real_ean{
    padding:5px 0px 6px 10px;
    font-size:0.8rem;
    font-style: italic;
}
.cart .list_extra_field{
    padding-top:3px;
}
.cart .cart_reload{
    cursor: pointer;
    display: inline-block;
    background: url(../images/reload.svg) no-repeat center;
    font-size: 1rem;
    padding: 0.6rem 1rem;
}
.icon-refresh:before {
    content: "";
}
.cart .btn{
    margin-bottom: 10px;
}

.wishlish_buttons{
    margin-top:20px;
}
.cart_buttons{
    margin-top:10px;
}
.cart .quantity .inputbox{
    width: 75px;
    margin-bottom: 0px;
}
.cartdescr{
    margin-bottom: 15px;
}
.cart_block_discount{
    margin-top: 35px;
}
.cart_block_discount .inputbox{
    vertical-align: middle;
}
.cart_block_discount .name{
    margin-bottom:5px;
}
#checkout a img{
    margin-bottom: 5px;
}
.login_block{
    margin-bottom: 15px;
}
.login_block .control-elms{
    margin-bottom: 5px;
}
.login_block .rowpasword, .login_block .rowremember, .login_block .rowbutton, .login_block .rowlostpassword{
    margin-bottom: 10px;
}
.login_block .btn, .register_block .btn, .text_pay_without_reg .btn{
    width: 240px;
}
.logintext{
    margin-bottom: 10px;   
}
.pagelogin .register_block .form-horizontal .control-label{
    float: none;
}
.pagelogin .register_block .form-horizontal .controls{
    margin-left: 0px;
}
.pagelogin .register_block .form-horizontal .control-group{
    margin-bottom: 0px;
}
.block_sorting_count_to_page .icon-arrow{
    font-size: 1.2rem;
    padding: 0 0.65rem;
    cursor: pointer;
    background-color: #eaedf0;
    border: 1px solid #ced4da;
    border-bottom-right-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    display: flex;
    align-items: center;
}
.form-horizontal .form_sort_count{
	margin-bottom:15px;
}
.form-horizontal .form_sort_count .control-label{
    text-align: left;
    width: 85px;
    float:left;
}
.form-horizontal .form_sort_count .control-group .controls{
    margin-left: 25px;
    margin-right: 15px;
}
.form-horizontal .form_sort_count .controls .input{
    width: 85px;
}
.form-horizontal .filter_price label{
    display: none;
}
.address_block .form-horizontal .box_button .controls{
    margin-left: 0px;
}
.form-horizontal .other_delivery_adress .controls{
    padding-top: 5px;    
}
.checkout_payment_block #table_payments{
    border-collapse: collapse;
    margin-bottom: 15px;
}
.checkout_payment_block #table_payments .name{
    padding: 5px 0px;
}
.checkout_payment_block #table_payments .jshop_payment_method{
    padding-left: 20px;
}
.checkout_shipping_block #table_shippings{
    border-collapse: collapse;
    margin-bottom: 15px;
}
.checkout_shipping_block #table_shippings .name{
    padding: 5px 0px;
}
.checkout_pfinish_block .checkoutinfo{
    margin: 20px 0px;
}
.pfinish_comment_block{
    width: 100%;
    max-width:325px;
    margin: 0px auto;
}
.pfinish_comment_block .box_button{
    text-align: center;
    margin-top: 10px;
}
.pfinish_comment_block .name{
    text-align: center;
    margin-bottom: 3px;
}
.pfinish_comment_block #order_add_info{
    height:70px;
    width: 100%;
    max-width:320px;
}
.block_rating_hits{
    height:22px;
    margin-bottom: 15px;
}
.block_rating_hits:after{
    content: '';
    display: block;
    clear: both;
}
.block_rating_hits table{
    float:right;
    width: auto;
    border:0px;
}
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
    line-height: 0;
}
.clearfix:after {
    clear: both;
}
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
    line-height: 0;
}
div.clear-cart{
    margin-top: 15px;
    text-align: right;
}
#div_delivery{
    padding-bottom:0px;
}
.jshop_list_product .filter_mob_head{
	display: none;
}

@media (min-width: 768px){
    .form-horizontal .block_sorting_count_to_page .control-label{
        width: 85px;
    }
    .form-horizontal .block_sorting_count_to_page .controls .inputbox{
        width: 100px;
    }

    .form-horizontal .box_products_count_to_page .control-label{
        width: 50px;
    }
    .form-horizontal .box_products_count_to_page.control-group .controls{
        margin-left: 20px;
    }
    .form-horizontal .box_products_count_to_page .controls .inputbox{
        width: 60px;
    }
    .form-horizontal .block_sorting_count_to_page .control-group{
        float:left;
    }
    .form-horizontal .block_sorting_count_to_page .box_products_count_to_page.control-group{
        float:right;
    }
    .form-horizontal .block_sorting_count_to_page:after {
        clear: both;
        content: "";
        display: table;
    }
    .form-horizontal .box_cat_man:after {
        clear: both;
        content: "";
        display: table;
    }
    .form-horizontal .filter_price:after {
        clear: both;
        content: "";
        display: table;
    }
    .form-horizontal .box_price_to .control-label{
        width: 30px;
    }
    .form-horizontal .box_price_to .controls{
        margin-left: 30px;
    }
    .form-horizontal .filters .box_button .controls{
        margin-left: 10px;
    }
    .form-horizontal .box_price_from .control-label{
        width: 30px;
    }
    .form-horizontal .box_price_from .controls{
        margin-left: 40px;
    }
    .form-horizontal .box_category .control-label{
        width: 85px;
    }
    .form-horizontal .box_category .controls{
        margin-left: 65px;
    }
    .box_price_from_to .form-inline{
        display: block;
    }
}

@media (min-width: 980px){
    .form-horizontal .box_price_from .control-label{
        width: 63px;
    }
    .form-horizontal .box_price_from .controls{
        margin-left: 65px;
    }
}

@media(min-width: 768px){
    .mobile-cart-inline{
        display: none;
    }
}

@media (max-width: 767px) {
    .row-fluid .sblock2{
        width: 100%;
    }
    .row-fluid .sblock3{
        width: 100%;
    }
    .row-fluid .sblock4{
        width: 100%;
    }
    .row-fluid .sblock5{
        width: 100%;
    }
    .row-fluid .sblock6{
        width: 100%;
    }
    .row-fluid .sblock7{
        width: 100%;
    }
    .row-fluid .sblock8{
        width: 100%;
    }
    .row-fluid .sblock9{
        width: 100%;
    }
    .row-fluid .sblock10{
        width: 100%;
    }
    .row-fluid .sblock11{
        width: 100%;
    }
    .row-fluid .sblock12{
        width: 100%;
    }
    
    .mobile-cart {
        display: inline-block;
    }    
    #jshop_menu_order{
        display: block;
        background: none;
        border: 0px;
        font-size: 1.5rem;
    }
    .jshop_order_step{
        display: none;
    }
    .jshop_order_step.active{
        display: block;
    }
    .pagelogin .jshop_order_step.active{
        display: none;
    }
    .jshop.cart, .jshop.cart tbody{
        display: block;
        border:0px;
    }
    .jshop.cart tr{
        display: block;
        width: 100%;
        color: black;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    .jshop.cart tr:first-child{
        display: none;
    }
    .jshop.cart tr th{
        display: inline-table;
        width: 100%;     
        line-height: 26px;
        border: none;
        border-bottom: 1px solid #565656;
    }
    .jshop.cart tr td{
        display: block;     
        border: none;
        padding: 5px 0px;
        text-align:center;
    }
    .jshop.cart tr td .data{
        text-align: center;
    }
    .cart .odd td, .cart .even td{
        background-color: #fff;
    }
    .cart .product_name .prodname{
        font-size: 1.2rem;
    }
    .cart .cart_reload{
        margin-left: 5px;
        font-size:1.3rem;
    }
	.cart .single_price .price{
		font-size:1.3rem;
		color: #950000;
	}
	.cart .total_price, .jshop.cart tr td.total_price{
		display: none;
	}
	.cart .quantity .mobile-cart-inline{
		padding-right:5px;
	}
    .jshop_list_product .block_product{
        border-bottom:1px solid #eee;
    }
    .form-horizontal .box_cat_man.d-flex {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .form-horizontal .form_sort_count .control-group .control-label{
        float:none;
    }
    .form-horizontal .form_sort_count .control-group {
        justify-content: space-between;
    }
    .form-horizontal .form_sort_count .control-group .controls{
        margin-left:0px;
        margin-right:0px;
    }
    .form-horizontal .form_sort_count .controls .form-control{
        max-width: 100%;
    }
    .form-horizontal .form_sort_count .box_products_sorting .controls .inputbox {
        flex: 1 1 auto;
    }
    .form-horizontal .form_sort_count .box_products_sorting .controls .inputbox.submit_product_list_filter{    
        width:1%;
    }
    .form-horizontal .form_sort_count .controls {
        margin-right: 0px;
    }
    .form-horizontal .box_price_from_to .form-inline{
        display: block;
    }
    .form-horizontal .box_price_from_to .input-append:first-child{
        margin-bottom: 10px;
        display: block;
    }
    .form-horizontal .form_sort_count .price_ftspace, .form-horizontal .box_products_count_to_page{
        display:none;
    }
    .jshop_list_product .clear_filter{
        font-size:1rem;
        display: block;
        text-align:center;
    }
    .block_rating_hits table{
        float:left;
    }
    .productfull .prod_qty{
        display: block;
    }
    .productfull .prod_qty_input{
        padding-left: 0px;
        margin-top:10px;
        display: block;    
    }
    .productfull .buttons{
        padding-left:0px;
        display: block;
    }
    .productfull .buttons input{
        display: block;
        margin-top:10px;
    }
    .form-horizontal .other_delivery_adress .control-label{
        float: none;
    }
    .jshop_payment_method td, .jshop_payment_method tr{
        display: block;
    }
    .jshop .downlod_order_invoice {
        float: none;
        padding-bottom:10px;
    }
    .form-horizontal .form_sort_count .control-label{
        float:left;
        padding-top:5px;
    }
    .login_block .form-horizontal .control-label{
        float:none;
    }
    .login_block .form-horizontal .controls{
        margin-left:0px;
    }
    .pagelogin .register_block .logintext, .pagelogin .register_block .block_button_register {
        margin-left: 0px;
    }
    .pagelogin .register_block .form-horizontal .controls {
        margin-left: 0px;
    }
    .jshop .prod_qty_input input{
        width: 100%;
        text-align: center;
    }
    .productfull .buttons input{
        width: 100%;
    }
    #jshop_review_write .inputbox, 
    #jshop_review_write .btn{
        width: 100%;
    }
    #list_product_image_middle .image{
        width: 100%;
    }
    .cart_block_discount .inputbox, .cart_block_discount .btn{
        width: 100%;
        margin-top: 10px;
    }
    .login_block .inputbox{
        max-width: 100%;
    }
    .login_block .btn, .register_block .btn, .text_pay_without_reg .btn{
        width: 100%;
    }
    .pagelogin .jshop_register .form-control.inputbox, .pagelogin .jshop_register .form-control.input{
        width:100%;
        max-width:100%;
    }
    .pfinish_comment_block, .pfinish_comment_block #order_add_info{
        max-width: 100%;
    }
    .pfinish_comment_block .box_button .btn{
        width: 100%;
    }
	.jshop_list_product .filter_mob_head{
		display: block;
		padding: 8px 10px;
		background-color: #e9ecef;
		border-radius: 0.25rem;
		cursor:pointer;
		margin-bottom:10px;
		color:#444;
	}
    .jshop_list_product .filter_mob_head span{
        font-size:0.8rem;
        position: relative;
        top:-1px;
        color: #004e72;
    }
	.jshop_list_product .filter_mob_head.active span{
		transform: rotate(90deg);		
		top:2px;
	}
	.jshop_list_product .filters{
		max-height:0px;
		overflow: hidden;
		transition: max-height 0.2s ease;
	}
	.jshop_list_product .filters.active{
		max-height:400px;
	}
}


/*** for joomla 4 ***/
.max-500 {
    max-width: 500px;
}


/* ==========================================================================
   InScale JoomShopping template 1.0.0
   Product lists, manufacturer pages, filters and cards.
   ========================================================================== */

#comjshop.inscale-shop-view,
#comjshop .inscale-product-list {
    --shop-card-min: var(--inscale-shop-card-min, 220px);
    --shop-border: var(--inscale-border, #dde1e5);
    --shop-surface: var(--inscale-surface, #fff);
    --shop-text: var(--inscale-text, #20252a);
    --shop-muted: var(--inscale-muted, #69737d);
    --shop-link: var(--inscale-link, #275c88);
    --shop-accent: var(--inscale-red, #d8453a);
    --shop-primary: var(--inscale-navy, #17324d);
    --shop-radius: var(--inscale-radius, 10px);
    color: var(--shop-text);
}

#comjshop .inscale-shop-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
}

#comjshop .inscale-shop-heading h1 {
    margin: 0;
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
    line-height: 1.12;
}

#comjshop .inscale-shop-heading__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--shop-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#comjshop .inscale-shop-description {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    line-height: 1.58;
}

#comjshop .inscale-shop-description > :last-child {
    margin-bottom: 0;
}

/* Toolbar */
#comjshop .inscale-shop-toolbar {
    margin: 0 0 1.25rem;
    padding: 0;
}

#comjshop .inscale-shop-toolbar .form_sort_count {
    display: grid;
    gap: 0.8rem;
}

#comjshop .inscale-shop-toolbar__primary,
#comjshop .inscale-shop-filters {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.8rem 1rem;
    padding: 0.8rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    box-shadow: 0 2px 10px rgb(15 35 52 / 4%);
}

#comjshop .inscale-shop-toolbar__primary {
    flex-wrap: wrap;
}

#comjshop .inscale-shop-toolbar__field {
    display: grid;
    grid-template-columns: auto minmax(90px, auto);
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    margin: 0;
}

#comjshop .inscale-shop-toolbar__field .control-label {
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--shop-muted);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

#comjshop .inscale-shop-toolbar__field .controls {
    min-width: 0;
    margin: 0;
}

#comjshop .inscale-shop-toolbar select,
#comjshop .inscale-shop-toolbar input[type="text"] {
    width: auto;
    min-width: 82px;
    max-width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0.45rem 2rem 0.45rem 0.65rem;
    color: var(--shop-text);
    background-color: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: max(6px, calc(var(--shop-radius) - 3px));
    box-shadow: none;
}

#comjshop .box_products_sorting select {
    min-width: min(260px, 42vw);
}

#comjshop .box_products_count_to_page {
    margin-left: auto;
}

#comjshop .box_products_count_to_page select {
    width: 82px;
    min-width: 82px;
}

#comjshop .inscale-shop-toolbar__sorting {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

#comjshop .inscale-sort-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    background: var(--shop-primary);
    border: 0;
    border-radius: max(6px, calc(var(--shop-radius) - 3px));
    cursor: pointer;
}

#comjshop .inscale-sort-direction:hover {
    background: color-mix(in srgb, var(--shop-primary) 85%, #fff);
}

#comjshop .inscale-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 42px;
    padding: 0.6rem 0.8rem;
    color: var(--shop-primary);
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    font-weight: 700;
    text-align: left;
}

#comjshop .inscale-shop-filters {
    align-items: center;
    flex-wrap: wrap;
}

#comjshop .inscale-shop-filters__selects {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    min-width: 0;
}

#comjshop .inscale-shop-filters__price {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#comjshop .inscale-price-range {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#comjshop .inscale-price-range input {
    width: 95px;
    min-width: 0;
    padding-right: 0.65rem;
}

#comjshop .inscale-shop-filters__actions {
    display: flex;
    gap: 0.45rem;
}

#comjshop .inscale-shop-filters__actions .btn {
    width: auto;
    min-height: 40px;
    margin: 0;
    white-space: nowrap;
}

/* Grid */
#comjshop .inscale-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--shop-card-min)), 1fr));
    gap: clamp(0.85rem, 1.25vw, 1.25rem);
    align-items: stretch;
}

#comjshop .inscale-product-grid__item {
    min-width: 0;
}

/* Product card */
#comjshop .inscale-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    box-shadow: 0 4px 14px rgb(15 35 52 / 6%);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#comjshop .inscale-product-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--shop-primary) 25%, var(--shop-border));
    box-shadow: 0 10px 24px rgb(15 35 52 / 10%);
}

#comjshop .inscale-product-card__media {
    position: relative;
    min-height: 205px;
    padding: 0.8rem 0.8rem 0;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

#comjshop .inscale-product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    padding: 0.15rem;
}

#comjshop .inscale-product-card__image-link .jshop_img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 190px;
    margin: 0;
    object-fit: contain;
    transition: transform 180ms ease;
}

#comjshop .inscale-product-card:hover .inscale-product-card__image-link .jshop_img {
    transform: scale(1.025);
}

#comjshop .inscale-product-card__no-image {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 49%, #e5e9ec 49%, #e5e9ec 51%, transparent 51%);
}

#comjshop .inscale-product-card__label {
    position: absolute;
    z-index: 2;
    top: 0.65rem;
    left: 0.65rem;
    max-width: 72px;
}

#comjshop .inscale-product-card__label img {
    display: block;
    max-width: 64px;
    max-height: 64px;
}

#comjshop .inscale-product-card__label .label_name {
    display: inline-flex;
    padding: 0.25rem 0.45rem;
    color: #fff;
    background: var(--shop-accent);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

#comjshop .inscale-product-card__rating {
    position: absolute;
    right: 0.7rem;
    bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--shop-muted);
    font-size: 0.72rem;
}

#comjshop .inscale-product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 0.85rem 0.9rem 0.75rem;
}

#comjshop .inscale-product-card__code {
    margin-bottom: 0.28rem;
    overflow: hidden;
    color: var(--shop-muted);
    font-size: 0.74rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#comjshop .inscale-product-card__title {
    min-height: 3.55em;
    margin: 0 0 0.6rem;
    overflow: hidden;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#comjshop .inscale-product-card__title a {
    color: var(--shop-link);
    text-decoration: none;
}

#comjshop .inscale-product-card__title a:hover {
    color: var(--shop-accent);
}

#comjshop .inscale-product-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

#comjshop .inscale-product-card__old-price {
    color: var(--shop-muted);
    font-size: 0.8rem;
    text-decoration: line-through;
}

#comjshop .inscale-product-card__price {
    margin: auto 0 0.7rem;
    color: var(--shop-accent);
    font-size: clamp(1.08rem, 1.4vw, 1.28rem);
    font-weight: 800;
    line-height: 1.15;
}

#comjshop .inscale-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

#comjshop .inscale-product-card__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0.22rem 0.4rem;
    overflow: hidden;
    color: #50606d;
    background: #f1f4f6;
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#comjshop .inscale-product-card__description {
    max-height: 3.8em;
    margin: 0.2rem 0 0.55rem;
    overflow: hidden;
    color: var(--shop-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#comjshop .inscale-product-card .default_price,
#comjshop .inscale-product-card .price_extra_info,
#comjshop .inscale-product-card .manufacturer_code,
#comjshop .inscale-product-card .real_ean,
#comjshop .inscale-product-card .productweight,
#comjshop .inscale-product-card .extra_fields,
#comjshop .inscale-product-card .vendorinfo,
#comjshop .inscale-product-card .qty_in_stock {
    margin-bottom: 0.35rem;
    color: var(--shop-muted);
    font-size: 0.74rem;
}

#comjshop .inscale-product-card .block_available {
    align-self: flex-start;
    margin-bottom: 0.4rem;
    padding: 0.22rem 0.42rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

#comjshop .inscale-product-card .available {
    color: #176b3a;
    background: #e8f5ed;
}

#comjshop .inscale-product-card .not_available {
    color: #8f1d1d;
    background: #fdecec;
}

#comjshop .inscale-product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0 0.9rem 0.9rem;
}

#comjshop .inscale-product-card__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-radius: max(6px, calc(var(--shop-radius) - 3px));
    font-size: 0.86rem;
    font-weight: 700;
}

#comjshop .inscale-product-card__actions .button_buy {
    color: #fff;
    background: var(--shop-primary);
    border-color: var(--shop-primary);
}

#comjshop .inscale-product-card__actions .button_buy:hover {
    color: #fff;
    background: color-mix(in srgb, var(--shop-primary) 86%, #fff);
    border-color: color-mix(in srgb, var(--shop-primary) 86%, #fff);
}

#comjshop .inscale-product-card__actions .button_detail {
    color: var(--shop-primary);
    background: transparent;
    border: 1px solid var(--shop-border);
}

#comjshop .inscale-product-card__actions .button_detail:hover {
    color: var(--shop-primary);
    background: #f1f4f6;
    border-color: color-mix(in srgb, var(--shop-primary) 30%, var(--shop-border));
}

/* Pagination */
#comjshop .inscale-shop-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding: 0.8rem 0.9rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
}

#comjshop .inscale-shop-pagination .pagination {
    margin: 0;
}

#comjshop .inscale-shop-pagination .pagination_result_counter {
    color: var(--shop-muted);
    font-size: 0.84rem;
}

#comjshop .inscale-shop-empty {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 2rem;
    color: var(--shop-muted);
    background: var(--shop-surface);
    border: 1px dashed var(--shop-border);
    border-radius: var(--shop-radius);
    text-align: center;
}

/* Prevent old JoomShopping width classes from affecting the new grid. */
#comjshop .inscale-product-grid .sblock2,
#comjshop .inscale-product-grid .sblock3,
#comjshop .inscale-product-grid .sblock4,
#comjshop .inscale-product-grid .sblock5,
#comjshop .inscale-product-grid .sblock6 {
    width: auto;
    margin: 0;
}

/* Responsive toolbar */
@media (max-width: 767.98px) {
    #comjshop .inscale-filter-toggle {
        display: inline-flex;
    }

    #comjshop .inscale-shop-filters {
        display: none;
    }

    #comjshop .inscale-shop-filters.show,
    #comjshop .inscale-shop-filters.is-open {
        display: flex;
    }

    #comjshop .inscale-shop-toolbar__primary {
        align-items: stretch;
    }

    #comjshop .inscale-shop-toolbar__field {
        grid-template-columns: 1fr;
        align-items: stretch;
        width: 100%;
    }

    #comjshop .box_products_count_to_page {
        margin-left: 0;
    }

    #comjshop .inscale-shop-toolbar select,
    #comjshop .box_products_sorting select,
    #comjshop .box_products_count_to_page select {
        width: 100%;
        min-width: 0;
    }

    #comjshop .inscale-shop-toolbar__sorting {
        width: 100%;
    }

    #comjshop .inscale-shop-toolbar__sorting select {
        flex: 1 1 auto;
    }

    #comjshop .inscale-shop-filters__selects,
    #comjshop .inscale-shop-filters__price,
    #comjshop .inscale-shop-filters__actions {
        width: 100%;
    }

    #comjshop .inscale-shop-filters__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #comjshop .inscale-shop-filters__actions .btn {
        width: 100%;
    }

    #comjshop .inscale-shop-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479.98px) {
    #comjshop .inscale-product-grid {
        --shop-card-min: 165px;
        gap: 0.65rem;
    }

    #comjshop .inscale-product-card__media {
        min-height: 170px;
        padding-inline: 0.55rem;
    }

    #comjshop .inscale-product-card__image-link {
        height: 155px;
    }

    #comjshop .inscale-product-card__image-link .jshop_img {
        max-height: 155px;
    }

    #comjshop .inscale-product-card__body {
        padding: 0.7rem;
    }

    #comjshop .inscale-product-card__actions {
        padding: 0 0.7rem 0.7rem;
    }

    #comjshop .inscale-product-card__meta,
    #comjshop .inscale-product-card__description {
        display: none;
    }
}


/* ==========================================================================
   InScale JoomShopping template 1.1.0 — product detail page
   ========================================================================== */

#comjshop.inscale-product-view {
    --product-border: var(--inscale-border, #dde1e5);
    --product-surface: var(--inscale-surface, #fff);
    --product-text: var(--inscale-text, #20252a);
    --product-muted: var(--inscale-muted, #69737d);
    --product-link: var(--inscale-link, #275c88);
    --product-accent: var(--inscale-red, #d8453a);
    --product-primary: var(--inscale-navy, #17324d);
    --product-radius: var(--inscale-radius, 10px);
    color: var(--product-text);
}

#comjshop .inscale-product-form {
    margin: 0;
}

#comjshop .inscale-product-title {
    margin: 0 0 1rem;
    color: var(--product-text);
    font-size: clamp(1.7rem, 2.4vw, 2.6rem);
    line-height: 1.12;
    text-align: left;
}

#comjshop .inscale-product-title .jshop_code_prod {
    display: inline-block;
    margin-left: 0.45rem;
    color: var(--product-muted);
    font-size: 0.78rem;
    font-weight: 500;
    vertical-align: middle;
}

#comjshop .block_rating_hits {
    margin: -0.45rem 0 1rem;
    color: var(--product-muted);
    font-size: 0.82rem;
}

#comjshop .block_rating_hits table {
    width: auto;
    margin: 0;
}

#comjshop .inscale-product-main {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(1.1rem, 2.2vw, 2rem);
    align-items: start;
    margin: 0;
}

#comjshop .inscale-product-main > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

/* Gallery */
#comjshop .inscale-product-gallery {
    position: sticky;
    top: 1rem;
    min-width: 0;
}

#comjshop .inscale-product-gallery__stage {
    position: relative;
    min-height: min(520px, 58vw);
    padding: clamp(0.75rem, 1.5vw, 1.25rem);
    overflow: hidden;
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    box-shadow: 0 4px 16px rgb(15 35 52 / 6%);
}

#comjshop .inscale-product-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: min(480px, 54vw);
    color: var(--product-muted);
    text-decoration: none;
}

#comjshop .inscale-product-main-image > img,
#comjshop .inscale-product-main-image .image,
#comjshop .inscale-product-gallery__stage #main_image {
    display: block;
    width: 100%;
    height: min(480px, 54vw);
    max-width: 100%;
    object-fit: contain;
}

#comjshop .inscale-product-main-image .text_zoom {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.55rem;
    color: #fff;
    background: rgb(16 38 58 / 78%);
    border-radius: 999px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}

#comjshop .inscale-product-gallery__stage .product_label {
    position: absolute;
    z-index: 4;
    top: 0.7rem;
    left: 0.7rem;
    max-width: 90px;
}

#comjshop .inscale-product-gallery__stage .product_label img {
    max-width: 72px;
    max-height: 72px;
}

#comjshop .inscale-product-gallery__thumbs {
    margin-top: 0.7rem;
}

#comjshop .inscale-product-gallery__thumbs #list_product_image_thumb {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.15rem 0.05rem 0.35rem;
    scrollbar-width: thin;
}

#comjshop .inscale-product-thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 68px;
    padding: 0.28rem;
    overflow: hidden;
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: max(6px, calc(var(--product-radius) - 3px));
    cursor: pointer;
}

#comjshop .inscale-product-thumb:hover,
#comjshop .inscale-product-thumb.is-active {
    border-color: var(--product-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--product-accent) 18%, transparent);
}

#comjshop .inscale-product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

#comjshop .manufacturer_logo {
    margin-top: 0.8rem;
    text-align: center;
}

#comjshop .manufacturer_logo img {
    max-width: 150px;
    max-height: 75px;
    object-fit: contain;
}

/* Summary */
#comjshop .inscale-product-summary {
    min-width: 0;
    padding: clamp(1rem, 1.7vw, 1.4rem) !important;
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    box-shadow: 0 4px 16px rgb(15 35 52 / 6%);
}

#comjshop .inscale-product-summary > :first-child {
    margin-top: 0;
}

#comjshop .inscale-product-summary :where(
    .prod_url,
    .manufacturer_name,
    .manufacturer_code,
    .real_ean,
    .productweight,
    .prod_base_price,
    .vendorinfo,
    .qty_in_stock,
    .default_price,
    .taxinfo,
    .plusshippinginfo
) {
    margin-bottom: 0.5rem;
    color: var(--product-muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

#comjshop .inscale-product-summary .manufacturer_name span,
#comjshop .inscale-product-summary .manufacturer_code span,
#comjshop .inscale-product-summary .real_ean span {
    color: var(--product-text);
    font-weight: 700;
}

#comjshop .jshop_prod_attributes,
#comjshop .prod_free_attribs,
#comjshop .price_prod_qty_list {
    margin: 0.9rem 0;
    padding: 0.85rem;
    background: #f7f9fa;
    border: 1px solid var(--product-border);
    border-radius: max(6px, calc(var(--product-radius) - 2px));
}

#comjshop .jshop_prod_attributes .row,
#comjshop .prod_free_attribs .row {
    align-items: center;
    margin: 0 0 0.7rem;
}

#comjshop .jshop_prod_attributes .row:last-child,
#comjshop .prod_free_attribs .row:last-child {
    margin-bottom: 0;
}

#comjshop .attributes_title,
#comjshop .prod_free_attribs .name {
    padding: 0;
    color: var(--product-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

#comjshop .jshop_prod_attributes .col-lg-10,
#comjshop .prod_free_attribs .field {
    padding: 0;
}

#comjshop .jshop_prod_attributes select,
#comjshop .prod_free_attribs input,
#comjshop .prod_free_attribs select {
    width: 100%;
    min-height: 42px;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--product-border);
    border-radius: max(6px, calc(var(--product-radius) - 3px));
}

#comjshop .old_price {
    margin-top: 0.4rem;
    color: var(--product-muted);
    font-size: 0.88rem;
}

#comjshop .old_price #old_price {
    text-decoration: line-through;
}

#comjshop .inscale-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.7rem 0 0.5rem;
    color: var(--product-muted);
    font-size: 0.9rem;
}

#comjshop .inscale-product-price #block_price {
    color: var(--product-accent);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 850;
    line-height: 1;
}

#comjshop .inscale-product-summary .extra_fields {
    display: grid;
    gap: 0.35rem;
    margin: 0.8rem 0;
    padding: 0.75rem;
    background: #f7f9fa;
    border-radius: max(6px, calc(var(--product-radius) - 2px));
}

#comjshop .extra_fields_group {
    margin: 0.35rem 0 0.25rem;
    color: var(--product-primary);
    font-weight: 800;
}

#comjshop .extra_fields_el {
    display: grid;
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
    gap: 0.5rem;
    color: var(--product-muted);
    font-size: 0.82rem;
}

#comjshop .extra_fields_value {
    color: var(--product-text);
    font-weight: 600;
}

#comjshop .inscale-product-stock {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0.55rem 0 0.75rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

#comjshop .inscale-product-stock.available {
    color: #176b3a;
    background: #e8f5ed;
}

#comjshop .inscale-product-stock.not_available {
    color: #8f1d1d;
    background: #fdecec;
}

#comjshop .inscale-product-service {
    display: grid;
    gap: 0.48rem;
    margin: 0.85rem 0;
    padding: 0.8rem;
    color: #40515f;
    background: #f3f6f8;
    border: 1px solid var(--product-border);
    border-radius: max(6px, calc(var(--product-radius) - 2px));
    font-size: 0.84rem;
}

#comjshop .inscale-product-service > div {
    display: flex;
    align-items: flex-start;
    gap: 0.48rem;
}

#comjshop .inscale-product-service [class^="icon-"],
#comjshop .inscale-product-service [class*=" icon-"] {
    margin-top: 0.15rem;
    color: var(--product-primary);
}

#comjshop .inscale-product-buybox {
    display: grid;
    grid-template-columns: auto minmax(88px, 115px) minmax(190px, 1fr);
    align-items: end;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--product-border);
}

#comjshop .inscale-product-qty-label {
    align-self: center;
    margin: 0;
    color: var(--product-muted);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

#comjshop .inscale-product-qty-input {
    min-width: 0;
}

#comjshop .inscale-product-qty-input input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 0.55rem 0.7rem;
    text-align: center;
    border: 1px solid var(--product-border);
    border-radius: max(6px, calc(var(--product-radius) - 3px));
}

#comjshop .inscale-product-buttons {
    display: grid;
    grid-template-columns: minmax(150px, 1fr);
    gap: 0.5rem;
}

#comjshop .inscale-product-buttons .btn {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border-radius: max(6px, calc(var(--product-radius) - 3px));
    font-weight: 800;
}

#comjshop .inscale-product-buttons .btn-buy {
    color: #fff;
    background: var(--product-primary);
    border-color: var(--product-primary);
}

#comjshop .inscale-product-buttons .btn-buy:hover {
    background: color-mix(in srgb, var(--product-primary) 86%, #fff);
    border-color: color-mix(in srgb, var(--product-primary) 86%, #fff);
}

#comjshop #jshop_image_loading {
    grid-column: 1 / -1;
}

/* Description and lower content */
#comjshop .inscale-product-description {
    margin-top: 1.35rem;
    padding: clamp(1rem, 1.8vw, 1.5rem);
    overflow-wrap: anywhere;
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    box-shadow: 0 3px 14px rgb(15 35 52 / 5%);
    line-height: 1.62;
}

#comjshop .inscale-product-description:empty {
    display: none;
}

#comjshop .inscale-product-description img,
#comjshop .inscale-product-description iframe,
#comjshop .inscale-product-description video {
    max-width: 100%;
    height: auto;
}

#comjshop .inscale-product-demofiles,
#comjshop .inscale-product-back,
#comjshop .review_header,
#comjshop .review_item,
#comjshop .review,
#comjshop #jshop_review_write,
#comjshop .inscale-product-related {
    margin-top: 1.35rem;
}

#comjshop .inscale-product-back {
    text-align: right;
}

#comjshop .inscale-section-heading,
#comjshop .related_header,
#comjshop .review_header {
    margin: 0 0 0.8rem;
    color: var(--product-text);
    font-size: 1.35rem;
    font-weight: 800;
}

#comjshop .inscale-section-heading h2 {
    margin: 0;
    font-size: inherit;
}

#comjshop .review_item {
    padding: 0.9rem 1rem;
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
}

#comjshop #jshop_review_write {
    padding: 1rem;
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
}

#comjshop #jshop_review_write .row {
    margin-bottom: 0.75rem;
}

#comjshop #jshop_review_write :where(input[type="text"], textarea) {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--product-border);
    border-radius: max(6px, calc(var(--product-radius) - 3px));
}

/* Responsive product detail */
@media (max-width: 991.98px) {
    #comjshop .inscale-product-main {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-product-gallery {
        position: static;
    }

    #comjshop .inscale-product-gallery__stage {
        min-height: 400px;
    }

    #comjshop .inscale-product-main-image,
    #comjshop .inscale-product-main-image > img,
    #comjshop .inscale-product-main-image .image,
    #comjshop .inscale-product-gallery__stage #main_image {
        min-height: 0;
        height: 380px;
    }
}

@media (max-width: 575.98px) {
    #comjshop .inscale-product-title {
        font-size: 1.55rem;
    }

    #comjshop .inscale-product-title .jshop_code_prod {
        display: block;
        margin: 0.35rem 0 0;
    }

    #comjshop .inscale-product-gallery__stage {
        min-height: 285px;
        padding: 0.55rem;
    }

    #comjshop .inscale-product-main-image,
    #comjshop .inscale-product-main-image > img,
    #comjshop .inscale-product-main-image .image,
    #comjshop .inscale-product-gallery__stage #main_image {
        height: 270px;
    }

    #comjshop .inscale-product-thumb {
        flex-basis: 66px;
        width: 66px;
        height: 58px;
    }

    #comjshop .inscale-product-summary {
        padding: 0.85rem !important;
    }

    #comjshop .inscale-product-buybox {
        grid-template-columns: 1fr minmax(84px, 110px);
    }

    #comjshop .inscale-product-buttons {
        grid-column: 1 / -1;
    }

    #comjshop .extra_fields_el {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}


/* ==========================================================================
   InScale JoomShopping template 1.2.0 — cart, wishlist, checkout summary
   ========================================================================== */

#comjshop.inscale-cart-view,
#comjshop.inscale-wishlist-view,
.inscale-checkout-cart {
    --cart-border: var(--inscale-border, #dde1e5);
    --cart-surface: var(--inscale-surface, #fff);
    --cart-text: var(--inscale-text, #20252a);
    --cart-muted: var(--inscale-muted, #69737d);
    --cart-link: var(--inscale-link, #275c88);
    --cart-accent: var(--inscale-red, #d8453a);
    --cart-primary: var(--inscale-navy, #17324d);
    --cart-radius: var(--inscale-radius, 10px);
    color: var(--cart-text);
}

#comjshop .inscale-cart-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
}

#comjshop .inscale-cart-heading h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.1;
}

#comjshop .inscale-cart-heading__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--cart-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#comjshop .inscale-cart-heading__count {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    color: #fff;
    background: var(--cart-primary);
    border-radius: 999px;
    font-weight: 800;
}

#comjshop .inscale-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 355px);
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: start;
}

#comjshop .inscale-cart-items {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
}

#comjshop .inscale-cart-item {
    display: grid;
    grid-template-columns: 110px minmax(210px, 1fr) minmax(105px, 0.42fr) minmax(110px, 0.42fr) minmax(115px, 0.45fr) auto;
    gap: 0.85rem;
    align-items: center;
    min-width: 0;
    padding: 0.85rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
    box-shadow: 0 3px 12px rgb(15 35 52 / 5%);
}

#comjshop .inscale-cart-item__image {
    display: grid;
    place-items: center;
    width: 110px;
    height: 95px;
    padding: 0.3rem;
    overflow: hidden;
    background: #fafbfc;
    border-radius: max(6px, calc(var(--cart-radius) - 3px));
}

#comjshop .inscale-cart-item__image a,
#comjshop .inscale-cart-item__image img {
    display: block;
    width: 100%;
    height: 100%;
}

#comjshop .inscale-cart-item__image img {
    margin: 0;
    object-fit: contain;
}

#comjshop .inscale-cart-item__content {
    min-width: 0;
}

#comjshop .inscale-cart-item__content .prodname,
#comjshop .inscale-wishlist-item__content .prodname,
.inscale-checkout-item__content .prodname {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--cart-link);
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.28;
    text-decoration: none;
}

#comjshop .inscale-cart-item__content .prodname:hover,
#comjshop .inscale-wishlist-item__content .prodname:hover,
.inscale-checkout-item__content .prodname:hover {
    color: var(--cart-accent);
}

#comjshop .inscale-cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.7rem;
    color: var(--cart-muted);
    font-size: 0.75rem;
}

#comjshop .inscale-cart-item__attributes,
#comjshop .inscale-wishlist-item__attributes,
.inscale-checkout-item__attributes {
    margin-top: 0.35rem;
    color: var(--cart-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

#comjshop .inscale-cart-item__content .deliverytime,
.inscale-checkout-item__content .deliverytime {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    color: var(--cart-muted);
    font-size: 0.76rem;
}

#comjshop .inscale-cart-item__single,
#comjshop .inscale-cart-item__quantity,
#comjshop .inscale-cart-item__total {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

#comjshop .inscale-cart-item__label {
    color: var(--cart-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
}

#comjshop .inscale-cart-item__single .price,
#comjshop .inscale-cart-item__total strong {
    color: var(--cart-text);
    font-size: 0.95rem;
    white-space: nowrap;
}

#comjshop .inscale-cart-item__total strong {
    color: var(--cart-accent);
    font-size: 1.04rem;
}

#comjshop .inscale-cart-item .taxinfo,
#comjshop .inscale-cart-item .basic_price {
    color: var(--cart-muted);
    font-size: 0.68rem;
}

#comjshop .inscale-cart-quantity {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

#comjshop .inscale-cart-quantity input {
    width: 68px;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0.4rem 0.45rem;
    text-align: center;
    border: 1px solid var(--cart-border);
    border-radius: max(6px, calc(var(--cart-radius) - 3px));
}

#comjshop .inscale-cart-refresh {
    display: inline-grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    background: var(--cart-primary);
    border: 0;
    border-radius: max(6px, calc(var(--cart-radius) - 3px));
    cursor: pointer;
}

#comjshop .inscale-cart-item__remove .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: auto;
    min-height: 40px;
    padding: 0.45rem 0.6rem;
    white-space: nowrap;
}

#comjshop .inscale-cart-item__remove .btn span:last-child {
    display: none;
}

#comjshop .inscale-cart-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
}

#comjshop .inscale-cart-tools .btn {
    width: auto;
}

#comjshop .shippingfree,
#comjshop .cartdescr {
    padding: 0.8rem 0.9rem;
    background: #f3f7f4;
    border: 1px solid #d6e7da;
    border-radius: var(--cart-radius);
    color: #315c3d;
}

#comjshop .shippingfree {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

#comjshop .cartdescr {
    color: var(--cart-text);
    background: var(--cart-surface);
    border-color: var(--cart-border);
}

#comjshop .inscale-cart-summary {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
    box-shadow: 0 5px 18px rgb(15 35 52 / 7%);
}

#comjshop .inscale-cart-summary h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

#comjshop .jshop_subtotal {
    width: 100%;
    margin: 0;
    border: 0;
}

#comjshop .jshop_subtotal tr {
    border: 0;
    border-bottom: 1px solid #edf0f2;
}

#comjshop .jshop_subtotal tr:last-child {
    border-bottom: 0;
}

#comjshop .jshop_subtotal td {
    padding: 0.62rem 0;
    border: 0;
    background: transparent;
}

#comjshop .jshop_subtotal .name {
    color: var(--cart-muted);
    text-align: left;
}

#comjshop .jshop_subtotal .value {
    color: var(--cart-text);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

#comjshop .jshop_subtotal .discount .value {
    color: #176b3a;
}

#comjshop .jshop_subtotal .total td {
    padding-top: 0.85rem;
    color: var(--cart-text);
    font-size: 1.05rem;
    font-weight: 800;
}

#comjshop .jshop_subtotal .total .value {
    color: var(--cart-accent);
    font-size: 1.3rem;
}

#comjshop .jshop_subtotal .plusshipping td,
#comjshop .jshop_subtotal .free_discount td {
    color: var(--cart-muted);
    font-size: 0.75rem;
    text-align: right;
}

#comjshop .inscale-cart-actions {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

#comjshop .inscale-cart-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 46px;
    margin: 0;
    font-weight: 800;
}

#comjshop .inscale-cart-actions .btn-success {
    color: #fff;
    background: var(--cart-primary);
    border-color: var(--cart-primary);
}

#comjshop .inscale-cart-discount {
    max-width: 520px;
    margin-top: 1rem;
    padding: 0.9rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
}

#comjshop .inscale-cart-discount label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--cart-muted);
    font-weight: 700;
}

#comjshop .inscale-cart-discount form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}

#comjshop .inscale-cart-discount input {
    min-height: 42px;
    margin: 0;
}

#comjshop .inscale-cart-empty {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 2rem;
    color: var(--cart-muted);
    background: var(--cart-surface);
    border: 1px dashed var(--cart-border);
    border-radius: var(--cart-radius);
    text-align: center;
}

#comjshop .inscale-cart-empty > [class^="icon-"],
#comjshop .inscale-cart-empty > [class*=" icon-"] {
    font-size: 2rem;
}

#comjshop .inscale-cart-empty h2 {
    margin: 0.4rem 0 0.8rem;
}

/* Wishlist */
#comjshop .inscale-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 0.9rem;
}

#comjshop .inscale-wishlist-item {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.85rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
    box-shadow: 0 3px 12px rgb(15 35 52 / 5%);
}

#comjshop .inscale-wishlist-item__image {
    display: grid;
    place-items: center;
    width: 105px;
    height: 105px;
    padding: 0.3rem;
    background: #fafbfc;
    border-radius: max(6px, calc(var(--cart-radius) - 3px));
}

#comjshop .inscale-wishlist-item__image a,
#comjshop .inscale-wishlist-item__image img {
    display: block;
    width: 100%;
    height: 100%;
}

#comjshop .inscale-wishlist-item__image img {
    margin: 0;
    object-fit: contain;
}

#comjshop .inscale-wishlist-item__content {
    min-width: 0;
}

#comjshop .inscale-wishlist-item__price {
    display: block;
    margin-top: 0.55rem;
    color: var(--cart-accent);
    font-size: 1.08rem;
}

#comjshop .inscale-wishlist-item__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
}

#comjshop .inscale-wishlist-item__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 42px;
    margin: 0;
}

#comjshop .inscale-wishlist-navigation {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: 1rem;
}

#comjshop .inscale-wishlist-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: auto;
}

/* Read-only checkout cart */
.inscale-checkout-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
    gap: 1rem;
    align-items: start;
}

.inscale-checkout-cart__items {
    display: grid;
    gap: 0.65rem;
}

.inscale-checkout-item {
    display: grid;
    grid-template-columns: 88px minmax(180px, 1fr) minmax(95px, 0.4fr) minmax(60px, 0.22fr) minmax(105px, 0.42fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.72rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
}

.inscale-checkout-item__image {
    display: grid;
    place-items: center;
    width: 88px;
    height: 78px;
    padding: 0.25rem;
    background: #fafbfc;
    border-radius: max(6px, calc(var(--cart-radius) - 3px));
}

.inscale-checkout-item__image img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

.inscale-checkout-item__content {
    min-width: 0;
    font-size: 0.76rem;
}

.inscale-checkout-item__price,
.inscale-checkout-item__qty,
.inscale-checkout-item__total {
    display: grid;
    gap: 0.2rem;
}

.inscale-checkout-item__price span,
.inscale-checkout-item__qty span,
.inscale-checkout-item__total span {
    color: var(--cart-muted);
    font-size: 0.68rem;
}

.inscale-checkout-item__total strong {
    color: var(--cart-accent);
}

.inscale-checkout-cart__summary {
    position: sticky;
    top: 1rem;
    padding: 0.9rem;
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);
}

.inscale-checkout-cart__summary .weightorder,
.inscale-checkout-cart__summary .cartdescr {
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
}

/* Order step navigator */
#jshop_menu_order {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0;
    overflow-x: auto;
}

#jshop_menu_order .jshop_order_step {
    position: relative;
    flex: 1 0 125px;
    min-width: 125px;
    padding: 0.62rem 0.75rem;
    color: var(--cart-muted);
    background: #eef1f3;
    border-radius: max(6px, calc(var(--cart-radius) - 3px));
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

#jshop_menu_order .jshop_order_step.active,
#jshop_menu_order .jshop_order_step.step_active,
#jshop_menu_order .jshop_order_step.current {
    color: #fff;
    background: var(--cart-primary);
}

@media (max-width: 1199.98px) {
    #comjshop .inscale-cart-item {
        grid-template-columns: 100px minmax(190px, 1fr) minmax(95px, 0.38fr) minmax(105px, 0.4fr);
    }

    #comjshop .inscale-cart-item__total {
        grid-column: 3;
    }

    #comjshop .inscale-cart-item__remove {
        grid-column: 4;
    }

    .inscale-checkout-cart {
        grid-template-columns: 1fr;
    }

    .inscale-checkout-cart__summary {
        position: static;
    }
}

@media (max-width: 991.98px) {
    #comjshop .inscale-cart-layout {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-cart-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    #comjshop .inscale-cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 0.7rem;
    }

    #comjshop .inscale-cart-item__image {
        width: 92px;
        height: 86px;
    }

    #comjshop .inscale-cart-item__single,
    #comjshop .inscale-cart-item__quantity,
    #comjshop .inscale-cart-item__total,
    #comjshop .inscale-cart-item__remove {
        grid-column: 2;
    }

    #comjshop .inscale-cart-item__single,
    #comjshop .inscale-cart-item__quantity,
    #comjshop .inscale-cart-item__total {
        grid-template-columns: minmax(92px, auto) 1fr;
        align-items: center;
    }

    #comjshop .inscale-cart-item__remove .btn span:last-child {
        display: inline;
    }

    #comjshop .inscale-cart-discount form > div {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-wishlist-navigation {
        flex-direction: column;
    }

    #comjshop .inscale-wishlist-navigation .btn {
        justify-content: center;
        width: 100%;
    }

    .inscale-checkout-item {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .inscale-checkout-item__image {
        width: 76px;
        height: 70px;
    }

    .inscale-checkout-item__price,
    .inscale-checkout-item__qty,
    .inscale-checkout-item__total {
        grid-column: 2;
        grid-template-columns: minmax(90px, auto) 1fr;
    }
}

@media (max-width: 479.98px) {
    #comjshop .inscale-wishlist-grid {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-wishlist-item {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    #comjshop .inscale-wishlist-item__image {
        width: 86px;
        height: 90px;
    }

    #comjshop .inscale-wishlist-item__actions {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   InScale JoomShopping template 1.3.0 — checkout flow
   ========================================================================== */

#comjshop.inscale-checkout-view,
#comjshop.inscale-checkout-finish {
    --checkout-border: var(--inscale-border, #dde1e5);
    --checkout-surface: var(--inscale-surface, #fff);
    --checkout-text: var(--inscale-text, #20252a);
    --checkout-muted: var(--inscale-muted, #69737d);
    --checkout-link: var(--inscale-link, #275c88);
    --checkout-accent: var(--inscale-red, #d8453a);
    --checkout-primary: var(--inscale-navy, #17324d);
    --checkout-radius: var(--inscale-radius, 10px);
    color: var(--checkout-text);
}

#comjshop .inscale-checkout-heading {
    margin: 0 0 1rem;
}

#comjshop .inscale-checkout-heading__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--checkout-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#comjshop .inscale-checkout-heading h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.1;
}

#comjshop .inscale-checkout-heading p:last-child {
    max-width: 72ch;
    margin: 0.45rem 0 0;
    color: var(--checkout-muted);
}

/* Steps */
#jshop_menu_order.inscale-checkout-steps {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding: 0.25rem 0 0.4rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

#jshop_menu_order.inscale-checkout-steps .jshop_order_step {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 0 150px;
    min-width: 150px;
    padding: 0.65rem 0.75rem;
    color: var(--checkout-muted);
    background: #edf1f3;
    border: 1px solid transparent;
    border-radius: max(6px, calc(var(--checkout-radius) - 3px));
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
}

#jshop_menu_order.inscale-checkout-steps .inscale-checkout-step__number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    color: var(--checkout-muted);
    background: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
}

#jshop_menu_order.inscale-checkout-steps .jshop_order_step.active,
#jshop_menu_order.inscale-checkout-steps .jshop_order_step.step_active,
#jshop_menu_order.inscale-checkout-steps .jshop_order_step.current {
    color: #fff;
    background: var(--checkout-primary);
    border-color: var(--checkout-primary);
}

#jshop_menu_order.inscale-checkout-steps .jshop_order_step.active .inscale-checkout-step__number,
#jshop_menu_order.inscale-checkout-steps .jshop_order_step.step_active .inscale-checkout-step__number,
#jshop_menu_order.inscale-checkout-steps .jshop_order_step.current .inscale-checkout-step__number {
    color: var(--checkout-primary);
}

/* Shared panels */
#comjshop .inscale-checkout-panel,
#comjshop .inscale-checkout-confirm,
#comjshop .inscale-checkout-review__card {
    background: var(--checkout-surface);
    border: 1px solid var(--checkout-border);
    border-radius: var(--checkout-radius);
    box-shadow: 0 4px 16px rgb(15 35 52 / 6%);
}

#comjshop .inscale-checkout-panel {
    max-width: none;
    padding: clamp(0.9rem, 1.7vw, 1.35rem);
}

/* Address form */
#comjshop .inscale-checkout-form {
    margin: 0;
}

#comjshop .inscale-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    margin: 0;
}

#comjshop .inscale-address-grid--delivery {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--checkout-border);
}

#comjshop .inscale-address-grid .control-group,
#comjshop .inscale-checkout-consent .control-group,
#comjshop .inscale-delivery-toggle {
    min-width: 0;
    margin: 0;
}

#comjshop .inscale-address-grid .control-label,
#comjshop .inscale-checkout-consent .control-label,
#comjshop .inscale-delivery-toggle .control-label {
    width: auto;
    margin: 0 0 0.35rem;
    padding: 0;
    float: none;
    color: var(--checkout-muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

#comjshop .inscale-address-grid .control-label span,
#comjshop .inscale-checkout-consent .control-label span {
    color: var(--checkout-accent);
}

#comjshop .inscale-address-grid .controls,
#comjshop .inscale-checkout-consent .controls,
#comjshop .inscale-delivery-toggle .controls {
    min-width: 0;
    margin: 0;
}

#comjshop .inscale-address-grid :where(
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea
) {
    width: 100%;
    max-width: none;
    min-height: 43px;
    margin: 0;
    padding: 0.5rem 0.65rem;
    color: var(--checkout-text);
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: max(6px, calc(var(--checkout-radius) - 3px));
    box-shadow: none;
}

#comjshop .inscale-address-grid .controls:has(#street_nr) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 0.32fr);
    gap: 0.5rem;
}

#comjshop .inscale-address-grid .invalid,
#comjshop .inscale-address-grid .form-control.invalid {
    border-color: #b42b2b;
    box-shadow: 0 0 0 3px rgb(180 43 43 / 10%);
}

#comjshop .inscale-delivery-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0.8rem;
    background: #f4f7f8;
    border: 1px solid var(--checkout-border);
    border-radius: max(6px, calc(var(--checkout-radius) - 2px));
}

#comjshop .inscale-delivery-toggle .control-label {
    margin: 0;
    color: var(--checkout-text);
}

#comjshop .inscale-delivery-toggle .controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#comjshop .inscale-delivery-toggle input[type="radio"] {
    margin: 0 0.1rem 0 0.35rem;
}

#comjshop .inscale-checkout-consent {
    margin-top: 1rem;
    padding: 0.8rem;
    background: #f7f9fa;
    border-radius: max(6px, calc(var(--checkout-radius) - 2px));
}

#comjshop .inscale-checkout-consent .control-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

#comjshop .inscale-checkout-consent .control-label {
    order: 2;
    margin: 0;
}

#comjshop .inscale-checkout-consent .controls {
    order: 1;
}

#comjshop .inscale-checkout-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

#comjshop .inscale-checkout-submit {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--checkout-border);
}

#comjshop .inscale-checkout-submit .controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
}

#comjshop .inscale-checkout-submit .requiredtext {
    margin-right: auto;
    color: var(--checkout-muted);
    font-size: 0.78rem;
}

/* Shipping and payment options */
#comjshop .inscale-checkout-choice-form {
    margin: 0;
}

#comjshop .inscale-checkout-options {
    display: grid;
    gap: 0.75rem;
}

#comjshop .inscale-checkout-option {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: max(7px, calc(var(--checkout-radius) - 1px));
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#comjshop .inscale-checkout-option.is-active {
    border-color: var(--checkout-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--checkout-primary) 12%, transparent);
}

#comjshop .inscale-checkout-option > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#comjshop .inscale-checkout-option > label {
    display: grid;
    grid-template-columns: 26px auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin: 0;
    padding: 0.9rem;
    cursor: pointer;
}

#comjshop .inscale-checkout-option__radio {
    display: block;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #aab4bc;
    border-radius: 999px;
}

#comjshop .inscale-checkout-option.is-active .inscale-checkout-option__radio {
    border: 6px solid var(--checkout-primary);
}

#comjshop .inscale-checkout-option__image img {
    display: block;
    width: 58px;
    height: 42px;
    object-fit: contain;
}

#comjshop .inscale-checkout-option__main {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

#comjshop .inscale-checkout-option__main > strong {
    color: var(--checkout-text);
    font-size: 0.98rem;
}

#comjshop .inscale-checkout-option__main :where(
    .shipping_descr,
    .shipping_delivery,
    .shipping_delivery_date,
    .payment_description,
    .payment_price
) {
    color: var(--checkout-muted);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
}

#comjshop .inscale-checkout-option__price {
    color: var(--checkout-accent);
    font-size: 1rem;
    white-space: nowrap;
}

#comjshop .inscale-checkout-option__form {
    margin: 0 0.9rem 0.9rem;
    padding: 0.8rem;
    background: #f5f7f8;
    border-radius: max(6px, calc(var(--checkout-radius) - 3px));
}

#comjshop .inscale-checkout-option__form:empty {
    display: none;
}

#comjshop .inscale-checkout-option__form :where(input, select, textarea) {
    max-width: 100%;
}

#comjshop .shipping_weight_to_price {
    width: auto;
    margin: 0 0.9rem 0.9rem;
    color: var(--checkout-muted);
    font-size: 0.75rem;
}

#comjshop .shipping_weight_to_price td {
    padding: 0.2rem 0.5rem 0.2rem 0;
    border: 0;
}

#comjshop .inscale-checkout-next {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

#comjshop .inscale-checkout-next .btn {
    width: auto;
    min-width: 180px;
    min-height: 46px;
    margin: 0;
    padding: 0.65rem 1rem;
    color: #fff;
    background: var(--checkout-primary);
    border-color: var(--checkout-primary);
    border-radius: max(6px, calc(var(--checkout-radius) - 3px));
    font-weight: 800;
}

/* Preview */
#comjshop .inscale-checkout-preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
    gap: 1rem;
    align-items: start;
}

#comjshop .inscale-checkout-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

#comjshop .inscale-checkout-review__card {
    padding: 0.9rem;
}

#comjshop .inscale-checkout-review__card h2 {
    margin: 0 0 0.5rem;
    color: var(--checkout-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#comjshop .inscale-checkout-review__card address,
#comjshop .inscale-checkout-review__card > strong,
#comjshop .inscale-checkout-review__card > span {
    display: block;
    margin: 0;
    color: var(--checkout-text);
    font-style: normal;
    line-height: 1.55;
}

#comjshop .inscale-checkout-review__card address span {
    display: block;
    color: var(--checkout-muted);
}

#comjshop .inscale-checkout-confirm {
    position: sticky;
    top: 1rem;
    padding: 1rem;
}

#comjshop .inscale-checkout-confirm .name {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--checkout-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

#comjshop .inscale-checkout-confirm textarea {
    width: 100%;
    min-height: 115px;
    padding: 0.65rem;
    border: 1px solid var(--checkout-border);
    border-radius: max(6px, calc(var(--checkout-radius) - 3px));
    resize: vertical;
}

#comjshop .inscale-checkout-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.8rem;
    color: var(--checkout-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

#comjshop .inscale-checkout-checkbox input {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin: 0.1rem 0 0;
}

/* Finish */
#comjshop.inscale-checkout-finish {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--checkout-surface);
    border: 1px solid var(--checkout-border);
    border-radius: var(--checkout-radius);
    box-shadow: 0 5px 18px rgb(15 35 52 / 7%);
    text-align: center;
}

#comjshop .inscale-checkout-finish__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: #176b3a;
    background: #e7f5ec;
    border-radius: 999px;
    font-size: 2.25rem;
}

#comjshop.inscale-checkout-finish h1 {
    margin: 0.8rem 0 0.45rem;
}

#comjshop .inscale-checkout-finish__content {
    max-width: 680px;
    color: var(--checkout-muted);
}

.inscale-payment-iframe {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--checkout-border, #dde1e5);
    border-radius: var(--checkout-radius, 10px);
}

.inscale-payment-iframe iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-height: 500px;
}

@media (max-width: 991.98px) {
    #comjshop .inscale-checkout-preview-layout {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-checkout-confirm {
        position: static;
    }
}

@media (max-width: 767.98px) {
    #comjshop .inscale-address-grid,
    #comjshop .inscale-checkout-review {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-delivery-toggle {
        align-items: flex-start;
        flex-direction: column;
    }

    #comjshop .inscale-checkout-option > label {
        grid-template-columns: 24px minmax(0, 1fr) auto;
    }

    #comjshop .inscale-checkout-option__image {
        display: none;
    }

    #comjshop .inscale-checkout-option__price {
        grid-column: 3;
    }
}

@media (max-width: 479.98px) {
    #comjshop .inscale-checkout-submit .controls,
    #comjshop .inscale-checkout-next {
        align-items: stretch;
        flex-direction: column;
    }

    #comjshop .inscale-checkout-submit .requiredtext {
        margin-right: 0;
    }

    #comjshop .inscale-checkout-submit .btn,
    #comjshop .inscale-checkout-next .btn {
        width: 100%;
    }

    #comjshop .inscale-checkout-option > label {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    #comjshop .inscale-checkout-option__price {
        grid-column: 2;
    }
}


/* ==========================================================================
   InScale JoomShopping template 1.4.0
   Categories, manufacturers, account and orders
   ========================================================================== */

#comjshop.inscale-taxonomy-view,
#comjshop.inscale-account-view,
#comjshop.inscale-auth-view,
#comjshop.inscale-logout-view,
#comjshop.inscale-account-register,
#comjshop.inscale-account-edit,
#comjshop.inscale-account-groups,
#comjshop.inscale-orders-view,
#comjshop.inscale-order-detail {
    --aux-border: var(--inscale-border, #dde1e5);
    --aux-surface: var(--inscale-surface, #fff);
    --aux-text: var(--inscale-text, #20252a);
    --aux-muted: var(--inscale-muted, #69737d);
    --aux-link: var(--inscale-link, #275c88);
    --aux-accent: var(--inscale-red, #d8453a);
    --aux-primary: var(--inscale-navy, #17324d);
    --aux-radius: var(--inscale-radius, 10px);
    color: var(--aux-text);
}

/* Categories and manufacturers */
#comjshop .inscale-taxonomy-heading,
#comjshop .inscale-account-heading {
    margin: 0 0 1rem;
}

#comjshop .inscale-taxonomy-heading__eyebrow,
#comjshop .inscale-account-heading__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--aux-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#comjshop .inscale-taxonomy-heading h1,
#comjshop .inscale-account-heading h1,
#comjshop.inscale-account-register > h1,
#comjshop.inscale-account-edit > h1,
#comjshop.inscale-account-groups > h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.1;
}

#comjshop .inscale-taxonomy-description {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    line-height: 1.62;
}

#comjshop .inscale-taxonomy-description > :last-child {
    margin-bottom: 0;
}

#comjshop .inscale-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1rem;
}

#comjshop .inscale-taxonomy-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    margin-bottom: 1.25rem;
}

#comjshop .inscale-taxonomy-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: 0 4px 14px rgb(15 35 52 / 6%);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

#comjshop .inscale-taxonomy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgb(15 35 52 / 10%);
}

#comjshop .inscale-taxonomy-card__image {
    display: grid;
    place-items: center;
    height: 175px;
    padding: 0.8rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

#comjshop .inscale-taxonomy-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
}

#comjshop .inscale-taxonomy-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 0.9rem;
}

#comjshop .inscale-taxonomy-card__title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    line-height: 1.3;
}

#comjshop .inscale-taxonomy-card__title a {
    color: var(--aux-link);
    text-decoration: none;
}

#comjshop .inscale-taxonomy-card__title a:hover {
    color: var(--aux-accent);
}

#comjshop .inscale-taxonomy-card__description {
    max-height: 4.4em;
    margin-bottom: 0.75rem;
    overflow: hidden;
    color: var(--aux-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#comjshop .inscale-taxonomy-card__action,
#comjshop .inscale-taxonomy-card__links {
    margin-top: auto;
}

#comjshop .inscale-taxonomy-card__action,
#comjshop .inscale-taxonomy-card__links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 42px;
}

#comjshop .inscale-taxonomy-card__links {
    display: grid;
    gap: 0.5rem;
}

#comjshop .inscale-taxonomy-card__links .manufacturer_url {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: var(--aux-muted);
    font-size: 0.76rem;
}

#comjshop .inscale-category-products {
    margin-top: 1rem;
}

/* Account dashboard */
#comjshop .inscale-account-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.68fr) minmax(360px, 1.32fr);
    gap: 1rem;
    align-items: start;
}

#comjshop .inscale-account-profile {
    padding: 1rem;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: 0 4px 14px rgb(15 35 52 / 6%);
}

#comjshop .inscale-account-profile__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 0.65rem;
    color: var(--aux-primary);
    background: #edf2f5;
    border-radius: 999px;
    font-size: 1.55rem;
}

#comjshop .inscale-account-profile .name {
    margin: 0 0 0.8rem;
    font-size: 1.25rem;
}

#comjshop .inscale-account-profile__details {
    display: grid;
    gap: 0;
    margin: 0;
}

#comjshop .inscale-account-profile__details > div {
    display: grid;
    grid-template-columns: minmax(95px, 0.72fr) minmax(0, 1.28fr);
    gap: 0.7rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #edf0f2;
}

#comjshop .inscale-account-profile__details > div:last-child {
    border-bottom: 0;
}

#comjshop .inscale-account-profile__details dt {
    color: var(--aux-muted);
    font-size: 0.78rem;
}

#comjshop .inscale-account-profile__details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 650;
}

#comjshop .inscale-account-profile__details .subinfo {
    display: block;
    color: var(--aux-muted);
    font-size: 0.72rem;
    font-weight: 400;
}

#comjshop .jshop_user_group_info {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
}

#comjshop .inscale-account-actions {
    display: grid;
    gap: 0.7rem;
}

#comjshop .inscale-account-action {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    min-height: 78px;
    padding: 0.85rem;
    color: var(--aux-text);
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: 0 3px 12px rgb(15 35 52 / 5%);
    text-decoration: none;
}

#comjshop .inscale-account-action:hover {
    color: var(--aux-text);
    border-color: color-mix(in srgb, var(--aux-primary) 35%, var(--aux-border));
    box-shadow: 0 7px 18px rgb(15 35 52 / 8%);
}

#comjshop .inscale-account-action > [class^="icon-"]:first-child,
#comjshop .inscale-account-action > [class*=" icon-"]:first-child {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--aux-primary);
    background: #eef2f5;
    border-radius: 999px;
}

#comjshop .inscale-account-action strong,
#comjshop .inscale-account-action small {
    display: block;
}

#comjshop .inscale-account-action small {
    margin-top: 0.2rem;
    color: var(--aux-muted);
    font-size: 0.75rem;
}

#comjshop .inscale-account-action--logout {
    color: #812525;
}

/* Login */
#comjshop .inscale-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

#comjshop .inscale-auth-card {
    padding: clamp(1rem, 2vw, 1.4rem);
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: 0 4px 14px rgb(15 35 52 / 6%);
}

#comjshop .inscale-auth-card .small_header {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

#comjshop .inscale-auth-card .logintext {
    margin: 0 0 1rem;
    color: var(--aux-muted);
}

#comjshop .inscale-auth-form {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

#comjshop .inscale-auth-form .control-elms {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

#comjshop .inscale-auth-form label {
    color: var(--aux-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

#comjshop .inscale-auth-form input[type="text"],
#comjshop .inscale-auth-form input[type="password"] {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--aux-border);
    border-radius: max(6px, calc(var(--aux-radius) - 3px));
}

#comjshop .inscale-auth-form .rowbutton .btn,
#comjshop .inscale-auth-card .block_button_register .btn,
#comjshop .inscale-guest-checkout .btn {
    width: 100%;
    min-height: 44px;
    margin: 0;
}

#comjshop .inscale-auth-checkbox {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem !important;
}

#comjshop .inscale-auth-checkbox input {
    width: 19px;
    height: 19px;
    margin: 0;
}

#comjshop .inscale-guest-checkout {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--aux-border);
}

#comjshop .inscale-guest-checkout .small_header {
    margin: 0;
    font-size: 0.92rem;
}

/* Registration and edit forms */
#comjshop.inscale-account-register,
#comjshop.inscale-account-edit,
#comjshop.inscale-account-groups {
    max-width: none;
}

#comjshop.inscale-account-register > .inscale-account-heading__eyebrow,
#comjshop.inscale-account-edit > .inscale-account-heading__eyebrow {
    margin-top: 0;
}

#comjshop .inscale-account-form {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: 0 4px 14px rgb(15 35 52 / 6%);
}

#comjshop .inscale-account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

#comjshop .inscale-account-form-grid .control-group {
    min-width: 0;
    margin: 0;
}

#comjshop .inscale-account-form-grid .control-label {
    width: auto;
    margin: 0 0 0.35rem;
    padding: 0;
    float: none;
    color: var(--aux-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: left;
}

#comjshop .inscale-account-form-grid .control-label span {
    color: var(--aux-accent);
}

#comjshop .inscale-account-form-grid .controls {
    min-width: 0;
    margin: 0;
}

#comjshop .inscale-account-form-grid :where(
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea
) {
    width: 100%;
    max-width: none;
    min-height: 43px;
    margin: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--aux-border);
    border-radius: max(6px, calc(var(--aux-radius) - 3px));
}

#comjshop .inscale-account-form-grid .controls:has(#street_nr),
#comjshop .inscale-account-form-grid .controls:has(#d_street_nr) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 0.32fr);
    gap: 0.5rem;
}

#comjshop .inscale-account-form-grid input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

#comjshop .inscale-account-form-submit {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--aux-border);
}

#comjshop .inscale-account-form-submit .controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin: 0;
}

#comjshop .inscale-account-form-submit .requiredtext {
    margin-right: auto;
    color: var(--aux-muted);
    font-size: 0.78rem;
}

/* Orders */
#comjshop .inscale-orders-list {
    display: grid;
    gap: 0.8rem;
}

#comjshop .inscale-order-card {
    overflow: hidden;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: 0 3px 12px rgb(15 35 52 / 5%);
}

#comjshop .inscale-order-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    padding: 0.75rem 0.9rem;
    color: #fff;
    background: var(--aux-primary);
}

#comjshop .inscale-order-card__header > div {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

#comjshop .inscale-order-card__header span {
    color: rgb(255 255 255 / 72%);
    font-size: 0.72rem;
}

#comjshop .inscale-order-card__body {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(150px, 0.45fr) auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.9rem;
}

#comjshop .inscale-order-card__body dl {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

#comjshop .inscale-order-card__body dl > div {
    display: grid;
    grid-template-columns: minmax(105px, 0.55fr) minmax(0, 1.45fr);
    gap: 0.5rem;
}

#comjshop .inscale-order-card__body dt,
#comjshop .inscale-order-card__body .products > span {
    color: var(--aux-muted);
    font-size: 0.76rem;
}

#comjshop .inscale-order-card__body dd {
    margin: 0;
    font-weight: 650;
}

#comjshop .inscale-order-card__body .products {
    display: grid;
    gap: 0.25rem;
}

#comjshop .inscale-order-card__price {
    color: var(--aux-accent);
    font-size: 1.05rem;
}

#comjshop .inscale-order-card__body .buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: auto;
    min-height: 42px;
    margin: 0;
}

#comjshop .inscale-orders-total {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.9rem;
    padding: 0.85rem;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
}

#comjshop .inscale-orders-total .name {
    color: var(--aux-muted);
}

#comjshop .inscale-orders-total .price {
    color: var(--aux-accent);
    font-size: 1.25rem;
}

#comjshop .inscale-account-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 2rem;
    color: var(--aux-muted);
    background: var(--aux-surface);
    border: 1px dashed var(--aux-border);
    border-radius: var(--aux-radius);
    text-align: center;
}

/* Order detail — style stock structure without replacing its business logic */
#comjshop.inscale-order-detail {
    display: grid;
    gap: 0.8rem;
}

#comjshop.inscale-order-detail > :where(
    .order_number,
    .order_status,
    .order_date,
    .order_total
) {
    padding: 0.7rem 0.85rem;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: max(6px, calc(var(--aux-radius) - 2px));
}

#comjshop.inscale-order-detail .order_total span {
    color: var(--aux-accent);
    font-weight: 800;
}

#comjshop .inscale-order-detail__addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 0;
}

#comjshop .inscale-order-detail__addresses > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

#comjshop .inscale-order-detail__addresses table,
#comjshop .inscale-data-table {
    width: 100%;
    margin: 0;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--aux-radius);
    overflow: hidden;
}

#comjshop .inscale-order-detail__addresses td,
#comjshop .inscale-data-table td,
#comjshop .inscale-data-table th {
    padding: 0.55rem 0.7rem;
    border: 0;
    border-bottom: 1px solid #edf0f2;
}

#comjshop .inscale-order-detail__addresses tr:last-child td,
#comjshop .inscale-data-table tr:last-child td {
    border-bottom: 0;
}

#comjshop .inscale-order-detail__addresses td:first-child {
    color: var(--aux-muted);
}

#comjshop .inscale-order-detail__products-heading {
    margin-top: 0.4rem;
    padding: 0.75rem 0.85rem;
    color: #fff;
    background: var(--aux-primary);
    border-radius: var(--aux-radius) var(--aux-radius) 0 0;
}

#comjshop .inscale-order-detail__items {
    overflow-x: auto;
    margin-top: -0.8rem;
}

#comjshop .inscale-order-detail__items .inscale-data-table {
    min-width: 720px;
    border-radius: 0 0 var(--aux-radius) var(--aux-radius);
}

/* Logout */
#comjshop .inscale-logout-card {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 2rem;
    background: var(--aux-surface);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    text-align: center;
}

#comjshop .inscale-logout-card__icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    color: var(--aux-primary);
    background: #edf2f5;
    border-radius: 999px;
    font-size: 1.8rem;
}

#comjshop .inscale-logout-card h1 {
    margin: 0.7rem 0 0.2rem;
}

#comjshop .inscale-logout-card p {
    margin: 0 0 0.8rem;
    color: var(--aux-muted);
}

@media (max-width: 991.98px) {
    #comjshop .inscale-account-layout,
    #comjshop .inscale-auth-grid {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-order-card__body {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    #comjshop .inscale-order-card__body .users {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    #comjshop .inscale-account-form-grid,
    #comjshop .inscale-order-detail__addresses {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-order-card__body {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-order-card__body .users,
    #comjshop .inscale-order-card__body .products,
    #comjshop .inscale-order-card__body .buttons {
        grid-column: auto;
    }

    #comjshop .inscale-order-card__body .buttons .btn {
        justify-content: center;
        width: 100%;
    }

    #comjshop .inscale-account-form-submit .controls {
        align-items: stretch;
        flex-direction: column;
    }

    #comjshop .inscale-account-form-submit .requiredtext {
        margin-right: 0;
    }

    #comjshop .inscale-account-form-submit .btn {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    #comjshop .inscale-taxonomy-grid,
    #comjshop .inscale-taxonomy-grid--compact {
        grid-template-columns: 1fr;
    }

    #comjshop .inscale-taxonomy-card {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
    }

    #comjshop .inscale-taxonomy-card__image {
        height: 100%;
        min-height: 130px;
    }

    #comjshop .inscale-taxonomy-card__action,
    #comjshop .inscale-taxonomy-card__links {
        grid-column: 1 / -1;
    }

    #comjshop .inscale-account-profile__details > div,
    #comjshop .inscale-order-card__body dl > div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}


/* ==========================================================================
   InScale JoomShopping template 1.4.1
   Manufacturer cards and checkout without registration
   ========================================================================== */

/* Override inherited stock manufacturer typography. */
#comjshop .jshop_list_manufacturer .inscale-manufacturer-card .manufacturer_name {
    position: static;
    z-index: auto;
    margin: 0 0 0.5rem;
    font-size: 0.98rem;
    line-height: 1.3;
    text-align: center;
}

#comjshop .inscale-manufacturer-grid {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
}

#comjshop .inscale-manufacturer-card {
    min-height: 285px;
}

#comjshop .inscale-manufacturer-card__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    min-height: 150px;
    padding: 1rem;
    overflow: hidden;
    background: #fff;
}

#comjshop .inscale-manufacturer-card__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 118px;
    margin: 0;
    object-fit: contain;
}

#comjshop .inscale-manufacturer-card__image.is-placeholder img {
    max-width: 72px;
    max-height: 72px;
    opacity: 0.5;
}

#comjshop .inscale-manufacturer-card__body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    padding: 0.8rem;
    background: var(--aux-surface);
    border-top: 1px solid var(--aux-border);
    text-align: center;
}

#comjshop .inscale-manufacturer-card .inscale-taxonomy-card__description {
    text-align: left;
}

#comjshop .inscale-manufacturer-card .inscale-taxonomy-card__links {
    width: 100%;
}

#comjshop .inscale-manufacturer-card .inscale-taxonomy-card__links .btn {
    min-height: 40px;
    padding: 0.48rem 0.6rem;
    color: var(--aux-primary);
    background: #fff;
    border: 1px solid var(--aux-primary);
    font-size: 0.8rem;
    line-height: 1.2;
}

#comjshop .inscale-manufacturer-card .inscale-taxonomy-card__links .btn:hover {
    color: #fff;
    background: var(--aux-primary);
}

#comjshop .inscale-auth-intro {
    max-width: 70ch;
    margin: 0.45rem 0 0;
    color: var(--aux-muted);
}

#comjshop .inscale-auth-grid--no-registration {
    grid-template-columns: minmax(320px, 620px);
    justify-content: center;
}

#comjshop .inscale-auth-grid--no-registration.has-guest-checkout {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    justify-content: stretch;
}

#comjshop .inscale-auth-card {
    position: relative;
}

#comjshop .inscale-auth-card__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 0.7rem;
    color: var(--aux-primary);
    background: #edf2f5;
    border-radius: 999px;
    font-size: 1.3rem;
}

#comjshop .inscale-auth-card--guest {
    border-color: color-mix(in srgb, var(--aux-primary) 35%, var(--aux-border));
}

#comjshop .inscale-auth-card--guest > .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 46px;
    margin: 0;
    font-weight: 800;
}

#comjshop .inscale-auth-card--existing .rowbutton .btn {
    color: var(--aux-primary);
    background: #fff;
    border: 1px solid var(--aux-primary);
}

@media (max-width: 767.98px) {
    #comjshop .inscale-auth-grid--no-registration.has-guest-checkout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479.98px) {
    #comjshop .inscale-manufacturer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #comjshop .inscale-manufacturer-card {
        display: flex;
        min-height: 250px;
    }

    #comjshop .inscale-manufacturer-card__image {
        height: 120px;
        min-height: 120px;
    }

    #comjshop .inscale-manufacturer-card__image img {
        max-height: 92px;
    }

    #comjshop .inscale-manufacturer-card .inscale-taxonomy-card__links {
        grid-column: auto;
    }

    #comjshop .inscale-manufacturer-card .inscale-taxonomy-card__links .btn {
        font-size: 0.74rem;
    }
}


/* ==========================================================================
   InScale JoomShopping template 1.4.2
   Category cards: isolate content from legacy JoomShopping positioning
   ========================================================================== */

#comjshop .jshop_list_category.inscale-taxonomy-grid {
    align-items: stretch;
}

#comjshop .jshop_list_category .inscale-category-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 285px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
    background: var(--aux-surface, #fff) !important;
    border: 1px solid var(--aux-border, #dde1e5) !important;
    border-radius: var(--aux-radius, 10px) !important;
}

#comjshop .jshop_list_category .inscale-category-card__image {
    position: relative !important;
    inset: auto !important;
    z-index: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 170px;
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    margin: 0 !important;
    padding: 0.75rem !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%) !important;
    transform: none !important;
}

#comjshop .jshop_list_category .inscale-category-card__image img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 148px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    transform: none !important;
}

#comjshop .jshop_list_category .inscale-category-card__image.is-placeholder img {
    max-width: 78px !important;
    max-height: 78px !important;
    opacity: 0.52;
}

#comjshop .jshop_list_category .inscale-category-card__body,
#comjshop .jshop_list_category .category_info.inscale-category-card__body {
    position: static !important;
    inset: auto !important;
    z-index: 2;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 112px;
    margin: 0 !important;
    padding: 0.72rem 0.75rem 0.75rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--aux-text, #20252a) !important;
    background: var(--aux-surface, #fff) !important;
    border-top: 1px solid var(--aux-border, #dde1e5);
    text-align: center !important;
    transform: none !important;
}

#comjshop .jshop_list_category .inscale-category-card .category_name,
#comjshop .jshop_list_category .inscale-category-card__title {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: block !important;
    min-height: 2.6em;
    margin: 0 0 0.55rem !important;
    padding: 0 !important;
    overflow: hidden;
    color: var(--aux-link, #275c88) !important;
    background: transparent !important;
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    transform: none !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#comjshop .jshop_list_category .inscale-category-card .category_name a,
#comjshop .jshop_list_category .inscale-category-card__title a {
    position: static !important;
    display: inline !important;
    color: var(--aux-link, #275c88) !important;
    background: transparent !important;
    text-decoration: none !important;
}

#comjshop .jshop_list_category .inscale-category-card__description {
    position: static !important;
    max-height: 2.9em;
    margin: -0.15rem 0 0.55rem !important;
    overflow: hidden;
    color: var(--aux-muted, #69737d) !important;
    background: transparent !important;
    font-size: 0.73rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    transform: none !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#comjshop .jshop_list_category .inscale-category-card__action {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 38px !important;
    margin: auto 0 0 !important;
    padding: 0.42rem 0.55rem !important;
    color: var(--aux-primary, #17324d) !important;
    background: #fff !important;
    border: 1px solid var(--aux-primary, #17324d) !important;
    border-radius: max(6px, calc(var(--aux-radius, 10px) - 3px)) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transform: none !important;
}

#comjshop .jshop_list_category .inscale-category-card__action:hover {
    color: #fff !important;
    background: var(--aux-primary, #17324d) !important;
}

#comjshop .inscale-taxonomy-grid--compact .inscale-category-card {
    min-height: 250px;
}

#comjshop .inscale-taxonomy-grid--compact .inscale-category-card__image {
    flex-basis: 145px;
    height: 145px !important;
    min-height: 145px !important;
}

#comjshop .inscale-taxonomy-grid--compact .inscale-category-card__image img {
    max-height: 123px !important;
}

@media (max-width: 479.98px) {
    #comjshop .jshop_list_category.inscale-taxonomy-grid,
    #comjshop .jshop_list_category.inscale-taxonomy-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #comjshop .jshop_list_category .inscale-category-card {
        display: flex !important;
        min-height: 245px;
    }

    #comjshop .jshop_list_category .inscale-category-card__image {
        flex-basis: 128px;
        height: 128px !important;
        min-height: 128px !important;
        padding: 0.55rem !important;
    }

    #comjshop .jshop_list_category .inscale-category-card__image img {
        max-height: 108px !important;
    }

    #comjshop .jshop_list_category .inscale-category-card__body {
        min-height: 112px;
        padding: 0.58rem !important;
    }

    #comjshop .jshop_list_category .inscale-category-card .category_name,
    #comjshop .jshop_list_category .inscale-category-card__title {
        font-size: 0.78rem !important;
    }

    #comjshop .jshop_list_category .inscale-category-card__action {
        font-size: 0.7rem !important;
    }
}

/* INSCALE_META_DISPLAY_CSS_101
   InScale Product Meta Display Fix 1.0.1
   ========================================================================== */

#comjshop .inscale-product-card__facts,
#comjshop_list_product .inscale-product-card__facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.24rem;
    width: 100%;
    margin: 0 0 0.5rem;
}

#comjshop .inscale-product-card__fact,
#comjshop_list_product .inscale-product-card__fact {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    padding: 0.18rem 0.36rem;
    overflow: hidden;
    border: 1px solid #dce3e8;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#comjshop .inscale-product-card__fact--scale,
#comjshop_list_product .inscale-product-card__fact--scale {
    color: #17324d;
    background: #edf4f8;
}

#comjshop .inscale-product-card__fact--code,
#comjshop_list_product .inscale-product-card__fact--code {
    color: #4e5963;
    background: #f4f5f6;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco,
        Consolas, "Liberation Mono", monospace;
}

#comjshop .inscale-product-card__fact--type,
#comjshop_list_product .inscale-product-card__fact--type {
    color: #8f2a22;
    background: #fff1ef;
    border-color: #f0d1cd;
}

#comjshop .extra_fields_el.inscale-type-field,
#comjshop .extra_fields_el.inscale-scale-field {
    align-items: center;
}

#comjshop .inscale-type-field .extra_fields_description,
#comjshop .inscale-scale-field .extra_fields_description {
    display: none;
}

#comjshop .inscale-type-field .extra_fields_value,
#comjshop .inscale-scale-field .extra_fields_value {
    font-weight: 700;
}

@media (max-width: 620px) {
    #comjshop .inscale-product-card__facts,
    #comjshop_list_product .inscale-product-card__facts {
        gap: 0.18rem;
    }

    #comjshop .inscale-product-card__fact,
    #comjshop_list_product .inscale-product-card__fact {
        padding: 0.16rem 0.3rem;
        font-size: 0.61rem;
    }
}

/* InScale JoomShopping Stage 3.1 catalog cards:begin */
/*
 * Stage 3.1 — product list visual system.
 *
 * Kept intentionally CSS-only.
 * The selectors cover the standard JoomShopping list markup
 * and the Bootstrap-card variants already used by the InScale branch.
 */

/* ---------- Card shell ---------- */

.jshop_list_product .product,
.jshop_list_product .block_product,
.jshop_list_product .card,
.jshop_list_products .product,
.jshop_list_products .block_product,
.jshop_list_products .card,
.list_products .product,
.list_products .block_product,
.list_products .card,
.jshopping_products .product,
.jshopping_products .block_product,
.jshopping_products .card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(23 50 77 / 12%);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 10px rgb(16 38 58 / 5%);
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.jshop_list_product .product:hover,
.jshop_list_product .block_product:hover,
.jshop_list_product .card:hover,
.jshop_list_products .product:hover,
.jshop_list_products .block_product:hover,
.jshop_list_products .card:hover,
.list_products .product:hover,
.list_products .block_product:hover,
.list_products .card:hover,
.jshopping_products .product:hover,
.jshopping_products .block_product:hover,
.jshopping_products .card:hover {
  border-color: rgb(23 50 77 / 22%);
  box-shadow: 0 7px 20px rgb(16 38 58 / 9%);
  transform: translateY(-1px);
}

/*
 * Many JoomShopping templates keep content in an inner product div.
 * Make it a vertical card without touching the Bootstrap grid wrapper.
 */
.jshop_list_product .product,
.jshop_list_product .block_product,
.jshop_list_products .product,
.jshop_list_products .block_product,
.list_products .product,
.list_products .block_product,
.jshopping_products .product,
.jshopping_products .block_product {
  display: flex;
  flex-direction: column;
}

/* ---------- Product image ---------- */

.jshop_list_product .image_block,
.jshop_list_products .image_block,
.list_products .image_block,
.jshopping_products .image_block,
.jshop_list_product .product_image,
.jshop_list_products .product_image,
.list_products .product_image,
.jshopping_products .product_image,
.jshop_list_product .card-img-top,
.jshop_list_products .card-img-top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  margin: 0;
  padding: 14px;
  background: #f5f7f8;
  border-bottom: 1px solid rgb(23 50 77 / 8%);
}

.jshop_list_product .image_block a,
.jshop_list_products .image_block a,
.list_products .image_block a,
.jshopping_products .image_block a,
.jshop_list_product .product_image a,
.jshop_list_products .product_image a,
.list_products .product_image a,
.jshopping_products .product_image a {
  display: flex;
  width: 100%;
  min-height: 160px;
  align-items: center;
  justify-content: center;
}

.jshop_list_product .image_block img,
.jshop_list_products .image_block img,
.list_products .image_block img,
.jshopping_products .image_block img,
.jshop_list_product .product_image img,
.jshop_list_products .product_image img,
.list_products .product_image img,
.jshopping_products .product_image img,
.jshop_list_product img.jshop_img,
.jshop_list_products img.jshop_img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
}

/* ---------- Labels ---------- */

.jshop_list_product .product_label,
.jshop_list_products .product_label,
.list_products .product_label,
.jshopping_products .product_label {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 9px;
  margin: 0;
}

.jshop_list_product .product_label .label_name,
.jshop_list_products .product_label .label_name,
.list_products .product_label .label_name,
.jshopping_products .product_label .label_name {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 3px;
  background: #e74a3b;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Text content ---------- */

.jshop_list_product .name,
.jshop_list_products .name,
.list_products .name,
.jshopping_products .name,
.jshop_list_product .product_name,
.jshop_list_products .product_name,
.list_products .product_name,
.jshopping_products .product_name {
  margin: 0;
  padding: 14px 14px 5px;
  color: #1f2b36;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.28;
}

.jshop_list_product .name a,
.jshop_list_products .name a,
.list_products .name a,
.jshopping_products .name a,
.jshop_list_product .product_name a,
.jshop_list_products .product_name a,
.list_products .product_name a,
.jshopping_products .product_name a {
  color: inherit;
  text-decoration: none;
}

.jshop_list_product .name a:hover,
.jshop_list_products .name a:hover,
.list_products .name a:hover,
.jshopping_products .name a:hover,
.jshop_list_product .product_name a:hover,
.jshop_list_products .product_name a:hover,
.list_products .product_name a:hover,
.jshopping_products .product_name a:hover {
  color: #275c88;
}

/* code / manufacturer / weight / delivery and similar secondary rows */
.jshop_list_product .manufacturer_code,
.jshop_list_product .product_code,
.jshop_list_product .manufacturer_name,
.jshop_list_product .product_weight,
.jshop_list_product .deliverytime,
.jshop_list_products .manufacturer_code,
.jshop_list_products .product_code,
.jshop_list_products .manufacturer_name,
.jshop_list_products .product_weight,
.jshop_list_products .deliverytime,
.list_products .manufacturer_code,
.list_products .product_code,
.list_products .manufacturer_name,
.list_products .product_weight,
.list_products .deliverytime,
.jshopping_products .manufacturer_code,
.jshopping_products .product_code,
.jshopping_products .manufacturer_name,
.jshopping_products .product_weight,
.jshopping_products .deliverytime {
  margin: 0;
  padding: 2px 14px;
  color: #72808c;
  font-size: .78rem;
  line-height: 1.35;
}

/* ---------- Description ---------- */

.jshop_list_product .description,
.jshop_list_products .description,
.list_products .description,
.jshopping_products .description,
.jshop_list_product .short_description,
.jshop_list_products .short_description,
.list_products .short_description,
.jshopping_products .short_description {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  padding: 0 14px;
  color: #64727d;
  font-size: .82rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* ---------- Price ---------- */

.jshop_list_product .jshop_price,
.jshop_list_products .jshop_price,
.list_products .jshop_price,
.jshopping_products .jshop_price,
.jshop_list_product .price,
.jshop_list_products .price,
.list_products .price,
.jshopping_products .price {
  margin: auto 0 0;
  padding: 14px 14px 5px;
  color: #17324d;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.jshop_list_product .old_price,
.jshop_list_products .old_price,
.list_products .old_price,
.jshopping_products .old_price,
.jshop_list_product .product_old_price,
.jshop_list_products .product_old_price,
.list_products .product_old_price,
.jshopping_products .product_old_price {
  padding: 0 14px;
  color: #8a949c;
  font-size: .78rem;
}

.jshop_list_product .old_price span,
.jshop_list_products .old_price span,
.list_products .old_price span,
.jshopping_products .old_price span,
.jshop_list_product .product_old_price span,
.jshop_list_products .product_old_price span,
.list_products .product_old_price span,
.jshopping_products .product_old_price span {
  text-decoration: line-through;
}

/* ---------- Buttons ---------- */

.jshop_list_product .buttons,
.jshop_list_products .buttons,
.list_products .buttons,
.jshopping_products .buttons,
.jshop_list_product .product_buttons,
.jshop_list_products .product_buttons,
.list_products .product_buttons,
.jshopping_products .product_buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 0;
  padding: 8px 14px 14px;
}

.jshop_list_product .buttons .btn,
.jshop_list_products .buttons .btn,
.list_products .buttons .btn,
.jshopping_products .buttons .btn,
.jshop_list_product .product_buttons .btn,
.jshop_list_products .product_buttons .btn,
.list_products .product_buttons .btn,
.jshopping_products .product_buttons .btn,
.jshop_list_product .button_buy,
.jshop_list_products .button_buy,
.list_products .button_buy,
.jshopping_products .button_buy {
  width: 100%;
  min-height: 38px;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 700;
}

/*
 * Primary shop action.
 * Covers Bootstrap btn-primary and common JoomShopping buy-button classes.
 */
.jshop_list_product .buttons .btn-primary,
.jshop_list_products .buttons .btn-primary,
.list_products .buttons .btn-primary,
.jshopping_products .buttons .btn-primary,
.jshop_list_product .button_buy,
.jshop_list_products .button_buy,
.list_products .button_buy,
.jshopping_products .button_buy {
  border-color: #17324d;
  background: #17324d;
  color: #fff;
}

.jshop_list_product .buttons .btn-primary:hover,
.jshop_list_products .buttons .btn-primary:hover,
.list_products .buttons .btn-primary:hover,
.jshopping_products .buttons .btn-primary:hover,
.jshop_list_product .button_buy:hover,
.jshop_list_products .button_buy:hover,
.list_products .button_buy:hover,
.jshopping_products .button_buy:hover {
  border-color: #214b70;
  background: #214b70;
}

/* secondary "details" type actions */
.jshop_list_product .buttons .btn-outline-secondary,
.jshop_list_products .buttons .btn-outline-secondary,
.list_products .buttons .btn-outline-secondary,
.jshopping_products .buttons .btn-outline-secondary,
.jshop_list_product .product_link,
.jshop_list_products .product_link,
.list_products .product_link,
.jshopping_products .product_link {
  border-color: rgb(23 50 77 / 17%);
  background: #fff;
  color: #47647d;
}

/* ---------- Misc ---------- */

.jshop_list_product .review_mark,
.jshop_list_products .review_mark,
.list_products .review_mark,
.jshopping_products .review_mark {
  padding-right: 14px;
  padding-left: 14px;
}

.jshop_list_product .not_available,
.jshop_list_products .not_available,
.list_products .not_available,
.jshopping_products .not_available {
  margin: 6px 14px 0;
  color: #a2483d;
  font-size: .8rem;
}

/* Keep product rows/cards visually even where Bootstrap wrappers are used. */
.jshop_list_product > [class*="col-"],
.jshop_list_products > [class*="col-"],
.list_products > [class*="col-"],
.jshopping_products > [class*="col-"] {
  margin-bottom: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {
  .jshop_list_product .image_block,
  .jshop_list_products .image_block,
  .list_products .image_block,
  .jshopping_products .image_block,
  .jshop_list_product .product_image,
  .jshop_list_products .product_image,
  .list_products .product_image,
  .jshopping_products .product_image {
    min-height: 160px;
  }

  .jshop_list_product .image_block img,
  .jshop_list_products .image_block img,
  .list_products .image_block img,
  .jshopping_products .image_block img,
  .jshop_list_product .product_image img,
  .jshop_list_products .product_image img,
  .list_products .product_image img,
  .jshopping_products .product_image img {
    max-height: 190px;
  }
}
/* InScale JoomShopping Stage 3.1 catalog cards:end */
