
.main-container {
    display: flex;
}

.sidebar {
    background-color: #f4f4f4;
    transition: width 0.3s ease; 
}
@media screen and (min-width: 768px) {
	.sidebar {
		width: 250px;
	}
	.sidebar.compressed {
		width: 50px;
	}
	.form_part {
		border-bottom: 1px grey solid;
	}
}
@media screen and (max-width: 768px) {
	.sidebar {
		height: max-content;
		width: 100%;
	}
	.sidebar.compressed {
		height: 50px; 
	}
	.main-container {flex-wrap: wrap;}
}
.hiddenImageContainer {
    display: none;
    position: absolute;
    background-color: #fff; /* Background color to ensure contrast */
    z-index: 1; /* Ensure it appears above other content */
}
.hiddenImageContainer img {	
	width: 100px;
	height: auto;
}
.color-buttons {
	width: 220px;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-button {
   width: 30px;
    height: 30px;
    border: 1px solid #000;
	border-radius: 30px;
    box-sizing: border-box;
    cursor: pointer;
}
#menu-filter .color-button p{
	font-size: 12px;
    position: relative;
    top: 100%;
    line-height: normal;
	align-items: center;
    justify-content: center;
}

.filter_form {
	display: flex;
	flex-wrap: wrap;
}

.filter_form.hidden {
    opacity: 0; /* Hide the form */
    pointer-events: none; /* Disable pointer events to prevent interaction */
}
.form_part {
	
	padding:0 10px 12px 20px;	
}
.filter-toggle{
	background: url(../img/filter.png) no-repeat center;
    background-size: 25px;
    width: 39px;
    margin: 7px;
    height: 39px;
	box-shadow: 0px 3px 3px 0px rgba(0,0,0, 0.3);
}
.selected-color {
    border: 2px solid #000; /* Add a black border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Add a shadow */
}
label:hover .hiddenImageContainer {
    display: block;
}
.goods {
	display: flex;
    flex-wrap: wrap;
	align-items: flex-end;
}
.slide {
	outline:none;
	/*height: 400px;*/
	width: max-content;
	display: flex;
	vertical-align: top;
	position: relative;
	z-index: 1001;
}
.slide2	{
	margin: 25px 15px 55px 15px;
}
.slide .name {	
    /*width: 100%;
    height: 60px;*/
    padding-left: 20px;
    text-align: left;
    font-family: oswald, serif;
    font-weight: 600;
    /*font-size: 14pt;*/
    z-index: 1002;
    color: #800C0C;
    transition: all .3s;
	display: flex;
    flex-direction: column-reverse;
}
.slide .name:hover {
	color:#454545;
	background: #fff;
	transition: all .3s;
}

.inner {
	padding: 0;
    position: relative;
    /* width: 200px; */
    height: 260px;
    background: #fff;
    box-shadow: 1px 3px 8px 0px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    transition: all .2s;
    overflow: hidden;
    display: flex;
    justify-content: center;}

.inner:hover {
	box-shadow:1px 3px 4px 0px rgba(0,0,0, 0.1); 
	transition: all .2s;
}
.inner_img {
	width: 200px;
    height: 202px;
    position: absolute;
    top: 4%;
    z-index: 1003;
    box-shadow: 1px 3px 1px 0px rgba(0, 0, 0, 0.3);
}
.inner .price_label {
	background: #FFFFFF;
    position: absolute;
   	bottom: 5%;
    margin: auto;
    padding: 0 10px 3px 15px;
    z-index: 1004;
    box-shadow: 1px 3px 5px 0px rgba(0, 0, 0, 0.2);
    font-family: oswald, serif;
    font-weight: 400;
    font-size: 10pt;
	width: 75%;
}
.price_text{	
	position: relative;
	font-family: oswald, serif;
	font-weight: 600;
	font-size:13pt;
	margin: 0;
	padding:0 5px 0 0px ;
}
.weight_text{	
	font-family: oswald, serif;
	font-weight: 400;
	font-size:10pt;
	margin: 0;
	padding:0 5px 10px 0px ;
}
.slide .btn {	
	position: absolute;
	bottom: 7%;
	right: 2%;
	padding: 8px 20px;
	color: #FFFFFF;
	text-align: center;
	font-family: oswald, serif;
	font-weight: 400;
	font-size:16pt;
	background: #C5203E;
	text-decoration: none;
	box-shadow:0px 4px 7px 0px rgba(0,0,0, 0.7); 
	z-index: 2005;
	transition: all .1s;
}
.slide .btn :hover{		
	background: #800017;
	box-shadow:0px 4px 1px 0px rgba(0,0,0, 0.1); 
	transition: all .1s;
}
.star {
	position: absolute;
	top:5px;
	left:20px;
	color:#FFC418;
	font-size: 25pt;	
	z-index: 2005;
}
.goods .slide {
	margin: 25px 10px !important; 
	width: 200px; 
	display: block;
}

@media screen and (max-width: 768px) {
	.goods {width: 100%; align-content: center; } 
	
	/*.inner {width: 330px !important; height: 220px;}*/
	.slide .name {width: 320px;}
	/*.inner_img {width:270px ;height:180px;}*/
	.price_text{font-size: 14pt;}
	.weight_text{font-size: 10pt;}
	.slide .btn {font-size: 15pt; padding: 6px 14px;}	
	.star {	font-size: 18pt;	}
}

.button {
	background: #9B9B9B; 
	border: 1px solid #424242;
	color: black;
	padding: 2px 5px;
	border-radius: 5px;
	cursor: pointer;
	margin: 0 7px;
	vertical-align: middle;
	line-height: 1.5;
}

#new_manufacturer{display: none;}
#new_type{display: none;}
#new_domain{display: none;}
#new_prisklass{display: none;}
#new_eco{display: none;}
#new_prisklass{display: none;}
textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  resize: none;
}
.col-75 input[type=text], select, textarea {width: 100%;
}
input[type=text], select, textarea {
  
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}


label {
	padding: 0px 12px 0px 0;
    display: inline-block;
    line-height: 45px;
}
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
	display: flex;
	align-items: center;
    min-height: 40px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}