/* Мета box вариаций в параметрах товара*/
ul.children{padding-left:5px}
.product_sale_type .selector__item{padding:5px 10px; font-size:12.8px;}
.edit_form .product_dimensions{display:flex; flex-direction:row;}
.edit_form .product_dimensions input[type="text"]{width:33.333%}

.product_properties{display:flex}
.product_properties .usam_box{margin:20px 0; max-width:700px;}

.attribute_filter a{margin-right:10px; padding:5px 10px; border-radius:5px}
.attribute_filter a.active{background-color:#fff;}
.section_content{min-height:400px}

.usam-product-shipping-weight-dimensions label{display:inline-block; min-width:60px}
.compat-field-image_size input[type="radio"]{width:auto; margin-right:5px}

.product_discounts{position:relative; background:#fff; border:1px solid #f5f5f5; padding:10px}
.product_discounts strong{font-size:15px;}
.product_discounts__rules{display:flex; flex-direction: column; gap:5px}
.product_discounts table{margin-top:10px}
/*Бонусы товара*/
.block_bonuses .select_bonuses{display:block; float:right;}

.products_items{display:flex; flex-wrap:wrap; margin:-10px; overflow:hidden; }
.products_items__nothing_found{padding:10px}
.products_items__product{margin:10px; width:160px; overflow:hidden; border-radius:5px; position:relative; text-decoration:none; color:#444; position:relative}
.products_items__product .label_product_sold{font-weight:500; font-size:18px; padding:10px; text-transform:uppercase; top:0px; bottom:0px;}
.products_items__title{text-align:center;}
.products_items__thumbnail{position:relative; text-align:center}
.products_items__thumbnail img{border-radius:5px}
.products_items__buttons{position:relative; z-index:999; display:flex; align-items:center; }
.products_items__status{background:#23282d; color:#fff; padding:5px; border-radius:10px; margin:3px; cursor:pointer}
.products_items__remove{cursor:pointer}
.products_items__status_published{background:var(--admin-color2)}
.products_items__like_comment_box{display:flex; align-items:center;}
.products_items__like_comment{background:#23282d; color:#fff; padding:5px; border-radius:10px; display:flex; align-items:center; opacity:1}
.products_items__thumbnail:hover .products_items__info{transform:translateY(0); opacity:1;}
.products_items__info{position:absolute; top:0; bottom:0; left:0; right:0; opacity:0; background:rgba(0, 0, 0, 0.4); display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:10%; transform:translateY(100%); color:#fff; will-change:opacity, transform; transition:opacity .7s ease, transform .5s ease;}


#check_product_availability{margin-top:10px}
/* Sortable product styling*/
table.product_editform{width:100%}
table.widefat .ui-sortable-helper{width:410px; margin-left:-1px; background-color:#FEFEFE}
table.widefat .ui-sortable-helper td, table.widefat .ui-sortable-helper th{border-top:1px solid #DFDFDF; opacity:.4}
.usam-sortable-table-placeholder td, .product-placeholder{border-width:1px; border-style:dashed; z-index:900; border-color:#bbb; background-color:#eaeaea !important; height:38px}

.product_prices .old_price{padding-left:10px}
.product_prices thead .column-price_name{text-align:left}
table.product_prices td{padding:8px 10px;}
.row_important{font-weight:700;}
.row_name{font-size:14px}
.product_prices__bonuses{display:flex; gap:5px; flex-direction: column;}
.product_prices__bonuses_row{display: flex; gap: 5px; align-items: center;}
.product_prices__bonuses_name{width:80px; text-align:end; font-weight: 600;}
.product_prices__bonuses input{width:80px; padding-right:2px}

.open_add_attribute{font-size:12px; margin-left:10px}
.open_attribute_add_option{font-size:12px;}
.attribute_add_option{margin-top:5px}
.edit_attribute{visibility:hidden; font-size:12px; line-height:1; position:absolute; bottom:-15px; right:10px;}
.edit_form__item:hover .edit_attribute{visibility:visible;}
#usam_product_attributes_form .edit_form__item_name{position:relative}

table.product_table{border-color:#ddd;}
table.product_table thead td,
table.product_table tfoot td{background:#f5f5f5;}
table.product_table thead td{text-align:center;}
table.product_table tbody td{border-bottom:1px solid #ddd;}
table.product_table td{vertical-align:middle;}
table.product_table thead td{text-align:center;}
table.product_table tfoot td{background:#f5f5f5; border:none;} 
table.product_table tfoot span{padding:0 5px;}
table.product_table td.table_cel_right{text-align:right}

table.storage_table{max-width:1000px; margin-top:10px}
table.storage_table td{padding:8px 10px;}
table.storage_table thead td{text-align:left;}
table.storage_table tfoot td{text-align:right; font-weight:700; font-size:20px;}
table.storage_table td.right{text-align:right;}
table.storage_table td.left{text-align:left;}
table.storage_table a:hover{text-decoration:underline}
table.storage_table label{padding:0 5px; vertical-align:middle;}
table.storage_table input{width:100%;}
.storage_table .storage_table__number{width:100px; text-align:right;}
.product_property{margin-bottom:5px;}
.product_property input[type="text"]{max-width:100%}
.product_property select{box-sizing:border-box;}
.product_property .units_table_rate .units_table_rate__unit{width:50px;}
.measurement_fields input[type="text"]{width:100%;}
.unit_measure{display:flex; width:100%;}
.unit_measure select{width:100%}

.custom_tabs a{text-decoration:none}
.custom_tabs{display:flex;} 
.custom_tabs__list{width:250px; flex-shrink:0; margin-right:10px; display:flex; flex-direction:column;} 
.custom_tabs__list_item{background:#fff; border-radius:5px; padding:10px 20px 10px 10px; position:relative; cursor:pointer; display:block;}
.custom_tabs__list_item.active{background:#ddd;}
.custom_tabs__list_item.active .custom_tab_global{color:#484848}
.custom_tabs__list_item_delete{position:absolute; right:5px; top:10px; cursor:pointer; visibility:hidden}
.custom_tabs__list_item_confirmation_delete{margin-top:10px; display:flex; gap:10px; justify-content:center;}
.custom_tabs__list_item:hover .custom_tabs__list_item_delete{visibility:visible;}
.custom_tabs__list_item_title_tab{font-weight:600;}
.inactive_tab .custom_tabs__list_item_title_tab{color:#BDBDBD;}
.custom_tab_global{margin-left:5px; color:#BDBDBD; font-size:12px}
.custom_tabs__list_item_title .selector{margin-left:5px;}
.custom_tabs__list_item_edit{visibility:hidden;}
.custom_tabs__list_item:hover .custom_tabs__list_item_edit{visibility:visible;}
.custom_tabs__content{width:100%;}
.custom_tabs__list .selector__item{padding:3px 10px; font-size:12px;}
.custom_tabs__list_item_button{display:flex; gap:10px; flex-direction: column;}
@media only screen and (max-width:782px)
{
	.variations tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell;}
}