@charset "UTF-8";
/*@import url("variables.css");*/
/*@import url("fonts.css");*/
/*
s — supercategory
c — category
sc — subcategory
col — color
f — font
o — option
cnt — container

*/
/************************************
Variables
************************************/
:root {
	--col-superdark: #111111;
	--col-dark: #323232;
	--col-semidark: #424242;
	--col-middle: #D2D2CF;
	--col-light: #E2E2E0;
	--col-superlight: #F0F0F0;
	--col-accent: #CB2D2D;
	--col-active: #20905D;
	--col-greenlight: #5B8A5D;
		
	--col-supercat:		 	#164526;
	--col-supercat-f:		#edfab2;
	--col-supercat-lead:	#000000;
	--col-supercat-lead-f: 	#edfab2;
	--col-super-divider: 	#c0d756;
	
	--col-cat:				#006400;
	--col-cat-lead:			#aabfaa;
	--col-cat-lead-f: 		#FFFFFF;
	
	--col-subcat: 			#84B384;
	--col-subcat-lead: 		#d2e7d5;
	--col-subcat-lead-f: 	#FFFFFF;
	
	--col-hover: 			#5ab35a;
	
	--col-alllead: 			#12331D;
	--col-button: 			#454545;
	
	--col-opt: 				#95b0b0;
	--col-opt-divider: 		#627b7c;
	--col-opt-f: 			#000000;
	
	--col-prod-divider: 	#5b8a5d;
	--col-price-f: 			#164526;
	--col-grey: 			#EEEEEE;
	--col-grey-dark: 		#C1C1C1;
	
	--col-note: 			#d2e7d5;
	
	--col-cat-in: 			#00AD1A;

	--width-side: 150px;
	
	/********* Roboto *********/
	--f-fam:  'Roboto', sans-serif;
	--f-fam-s: 'Roboto Slab', serif;
	--f-line-height: normal;
	--f-fam-accent: 'Roboto Slab', serif;
	--f-s-title: 18px;
	--f-w-title: 300;
	--f-fam-legend: 'Roboto Slab', serif;
	--f-s-legend: 14px;
	--f-w-legend: 400;
	--f-fam-label: 'Roboto', sans-serif;
	--f-s-label: 14px;
	--f-w-label: 400;
	--f-fam-value: 'Roboto', sans-serif;
	--f-s-value: 14px;
	--f-w-value: 400;
	--f-fam-category: 'Roboto Slab', serif;
	--f-s-category: 20px;
	--f-w-category: 300;
	--f-fam-lead: 'Roboto', sans-serif;
	--f-s-lead: 14px;
	--f-w-lead: 400;
	--f-fam-name: 'Roboto Slab', serif;
	--f-s-name: 14px;
	--f-w-name: 500;
	--f-fam-desc: 'Roboto', sans-serif;
	--f-s-desc: 12px;
	--f-w-desc: 400;
	--f-fam-head: 'Roboto', sans-serif;
	--f-s-head: 10px;
	--f-w-head: 400;
	--f-fam-price: 'Roboto Slab', serif;
	--f-s-price: 16px;
	--f-w-price: 600;
	--f-fam-btn: 'Roboto', sans-serif;
	--f-s-btn: 14px;
	--f-w-btn: 400;
	--f-fam-opt: 'Roboto', sans-serif;
	--f-s-opt: 12px;
	--f-w-opt: 600;
}

/***********FONTS***************/
.f_title {
	font-family:	var(--f-fam-accent);
	font-size:		var(--f-s-title);
	font-weight:	var(--f-w-title);
}
.f_legend {
	font-family:	var(--f-fam-accent);
	font-size:		var(--f-s-legend);
	font-weight:	var(--f-w-legend);
}
.f_label {
	font-family:	var(--f-fam);
	font-size:		var(--f-s-label);
	font-weight:	var(--f-w-label);
}
.f_value {
	font-family:	var(--f-fam);
	font-size:		var(--f-s-value);
	font-weight:	var(--f-w-value);
}
.f_category {
	font-family:	var(--f-fam-accent);
	font-size:		var(--f-s-category);
	font-weight:	var(--f-w-category);
}
.f_lead {
	font-family:	var(--f-fam);
	font-size:		var(--f-s-lead);
	font-weight:	var(--f-w-lead);
	font-style:		italic;
}
.f_name {
	font-family:	var(--f-fam-accent);
	font-size:		var(--f-s-name);
	font-weight:	var(--f-w-name);
}
.f_desc {
	font-family:	var(--f-fam);
	font-size:		var(--f-s-desc);
	font-weight:	var(--f-w-desc);
}
.f_head {
	font-family:	var(--f-fam);
	font-size:		var(--f-s-head);
	font-weight:	var(--f-w-head);
}
.f_price {
	font-family:	var(--f-fam-accent);
	font-size:		var(--f-s-price);
	font-weight:	var(--f-w-price);
}
.f_btn {
	font-family:	var(--f-fam-btn);
	font-size:		var(--f-s-btn);
	font-weight:	var(--f-w-btn);
}
.f_opt {
	font-family:	var(--f-fam-opt);
	font-size:		var(--f-s-opt);
	font-weight:	var(--f-w-opt);
}
.f_title,
.f_legend,
.f_label,
.f_value,
.f_category,
.f_lead,
.f_name,
.f_desc,
.f_head,
.f_price {
	line-height:	 var(--f-line-height);
}

/*******************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

body, html {
	-ms-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-o-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	/*text-rendering: optimizeLegibility;*/
	text-rendering: geometricPrecision;
}
/* При обсчете размера бокса учитывать его полный размер, включая border и padding */
* {
	box-sizing: border-box;
    -webkit-user-select: none; // запрещает выделение текста
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
a {
    color: var(--col-accent);
    font-weight: 500;
    text-decoration: none;
}
/*select {
	border: unset;
	border-top: 2px solid var(--col-dark);
	border-bottom: 2px solid var(--col-dark);
	outline: none;
	box-shadow: none;
	border-radius: 0px;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}*/
button {
	font-family:	var(--f-fam);
	font-size:		var(--f-s-btn);
	font-weight:	var(--f-w-btn);
}
body {
    background-color: var(--col-grey);
}
/*************Fonts***********************/
body,
input[type="text"],
input[type="password"],
input[type="submit"],
input[type="button"],
input[type="email"],
input[type="tel"],
form,
textarea {
	font-family: var(--f-fam);
  	font-weight: var(--f-w-value);
  	font-size: var(--f-s-value);
}

input[type="text"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	box-shadow: none;
	border-radius: 0px;
	outline: none;
	/*background-color: yellow;*/
	border: 1px solid var(--col-middle);
}


/********************************************************************/
/* NEW CSS */
/********************************************************************/
.wrap_all_prod {
    display: grid;
    padding: 10px;
    gap: 10px;
    /*grid-template-columns: auto auto auto;*/
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    background-color: var(--col-grey);
}
.wrap_one_prod {
    background-color: white;
    border: 1px solid black;
    padding: 0;
    font-size: 14px;
    text-align: left;
    position: relative;
    /*overflow: auto;*/
}
.wrap_prod_info {
    width: 50%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: none;
    padding: 0px;
    overflow: auto;
}
.prod_code {
    position: relative;
    float: left;
    width: 60px;
	font-family: 'Roboto Slab', serif;
	font-size: 14px;
	font-weight: 600;
	color: /*white*/ var(--col-price-f);
	background-color: /*black*/ var(--col-grey);
    padding: 6px 10px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    text-align: left;
}
.prod_new {
    position: relative;
    float: left;
	font-family: 'Roboto', serif;
	font-size: 16px;
	font-weight: 800;
	color: var(--col-accent);
    padding: 6px 0px;
    text-align: left;
}

.prod_name {
    position: relative;
    font-family: 'Roboto Slab', serif;
	font-size: 14px;
	font-weight: 500;
    margin: 36px 10px 0px 10px;
    /*padding-bottom: 4px;*/
    /*border-bottom: 1px dotted #888888;*/
    /*background-color: red;*/
}
.prod_desc {
    position: relative;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 12px;
	margin: 1px 10px 6px 10px;
}


.table_opt {
	/*position: absolute;
    top: 0px;
    right: 0px;*/
    position: relative;
    float: right;
    width: 100%;
	padding: 0px;
	margin-top: 0px;
    margin-left: 10px;
	border-collapse: collapse;
    background-color: #AABFAA;
    z-index: 1000;
}
.td_opt {
    white-space: nowrap;
	width: 1%;
    font-family: 'Roboto', serif;
    font-size: 12px;
    font-weight: 400;
    vertical-align: middle;
    padding: 6px 0px 6px 10px;
}
.td_price {
	text-align: right;
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 10px 6px 10px;
    vertical-align: middle;
    width: 70px;
    border-right: 1px solid #8EA28E;
}
.td_korzina {
    vertical-align: middle;
    text-align: center;
    padding-top: 4px;
    padding-right: 4px;
}
.td_korzina img {
    object-fit: contain;
    width: 26px;
    height: auto;
    white-space: nowrap;
}
/*.table_opt tr {
    border-top: 1px solid white;
    background-color: #AABFAA;
}*/
/*
.table_opt tr:hover {
    background-color: #8EA28E;
    cursor: pointer;
}
.table_opt tr:focus {
    background-color: #8EA28E;
}
.table_opt tr:active {
    background-color: #8EA28E;
}
*/

.tr_main {
    border-top: 1px solid white; 
    background-color: #AABFAA;
}
.table_opt tr:first-child {
    border-top: none;
}
@media (hover: hover) and (pointer: fine) {
    .table_opt tr:hover {
        /*background-color: #8EA28E;*/
        background-color: red;
        cursor: pointer;
    }
}

.tr_touch_hover {
    /*background-color: #8EA28E;*/
    background-color: red;
}

.hr_undername {
    border: none; /* Убираем стандартную границу */
    color: black;
    border-top: 1px dotted #888888;
    margin-top: 2px;
}

output {
	display: block;
	padding: 1em;
	font-size: 0.75em;
	background: #ddd;
	height: 35em;
	overflow:auto;
	line-height: 1;
    font-family: 'Roboto', serif;
    font-size: 12px;
    font-weight: 400;
    margin: 10px;
}




