
/* PRODUCTS SCREEN */
.products-table {
	margin-left: auto;
	margin-right: auto;
	border-width: 1px;
	border-style: solid;
	border-radius: 5px;
	border-color: #9d0a0b;
}

.products-image {
	width: 60%;
}
.products-name {
    color: #9d0a0b;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
}
.products-description {
    color: #333333;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
}

/* CART SCREEN */
.cart-image {
	width: 100px;
}
.cart-name {
    color: #000000;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
}
.cart-price {
    color: #444444;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
	text-align: left;
}
.cart-total {
    color: #555555;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
	text-align: center;
}
.cart-button{
	padding: 25px;
	text-align: center;
}
.cart-error {
    color: #555555;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
	text-align: center;
	padding: 50px;
}

/* CHECK-OUT SCREEN */
.check-out-form {
	width: 320px;
	max-width: 600px;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	border-width: 2px;
	border-style: solid;
	border-radius: 5px;
	padding: 0px;
}
.check-out-field {
	margin-top: 20px;
	margin-left: 20px;
	border-width: 0px;
	border-style: solid;
	border-radius: 5px;
}

label {
	display: block;
}

input[type=text].field, input[type=email].field, input[type=date].field, input[type=password].field, textarea.field, select.field {
    border-width: 1px 1px 1px 1px;
    border-color: #d2d2d2;
    border-radius: 2px;
    background-color: #dddddd;
    font-size: 15px;
	height: 15px;
	width: 280px;
	outline: 0;
    border: 1px solid #d2d2d2;
    color: #747474;
    padding: 20px;
    box-sizing: border-box;	
}

.red {
	color: red;
}

/* POPUP with sizes image */
.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	border: 2px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px;
	z-index: 1000;
}

.popup img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

@media (max-width: 600px) {
	.popup img {
		max-width: 80%; /* Redueix la mida de la imatge al 80% de l'amplada del contenidor */
	}

	.popup {
		width: 90%; /* Ajusta l'amplada del pop-up en pantalles petites */
		padding: 10px;
	}
}

.popup .close-btn {
	background-color: red;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 10px;
}

.popup .close-btn:hover {
	background-color: darkred;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.open-btn {
	padding: 10px 20px;
	background-color: blue;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.open-btn:hover {
	background-color: darkblue;
}

/* Cart icon */
.fixed-icon {
	position: fixed;
	top: 230px;
	right: 10px;
	z-index: 1000;
	background-color: #007bff; /* Color de fons (opcional) */
	color: white;
	border-radius: 20%;
	padding: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombra per donar-li estil */
}

.fixed-icon:hover {
	background-color: #0056b3; /* Canvia el color al passar el cursor */
}

.fixed-icon i {
	font-size: 24px; /* Mida de la icona */
}


/* ORDER LIST SCREEN */
.list-table {
	border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #d2d2d2;
    border-radius: 5px;
}

tr:nth-child(even) {
	background-color: #f2f2f2; /* Color de fons per a files imparells */
}
tr:nth-child(odd) {
	background-color: #d9ebf9; /* Color de fons per a files parells */
}

td {
	text-align: left;
}

/* Style for filter form. */
.checkbox-container {
	display: inline-block;
}
.checkbox-container input {
	vertical-align: middle;
}
.checkbox-container label {
	vertical-align: middle;
	margin-left: 8px; /* Espai entre el checkbox i el text */
	display: inline;
}
