* {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	height: 100%;
}

body {
	position: relative;
	min-height: 100%;
	color: #555555;
	background-color: #FFFFFF;
	margin: 0;
	padding-bottom: 100px;
	/* Same height as footer */
}

h1, h2, h3, h4, h5 {
	color: #394352;
}

.content-wrapper {
	max-width: 1050px;
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
}

header {
	border-bottom: 1px solid #EEEEEE;
}

header .content-wrapper {
	display: flex;
}

header h1 {
	/*display: flex;
	flex-grow: 1;
	flex-basis: 0;*/
	font-size: 20px;
	margin: 0;
	/*padding: 24px 0;*/
	padding: 22px 0 27px;
}

header h1 a {
	text-decoration: none;
}

header nav a:hover, header h1 a:hover {
	text-decoration: none !important;
}

header nav {
	display: flex;
	flex-grow: 1;
	flex-basis: 0;
	justify-content: center;
	align-items: center;
}

header nav a {
	text-decoration: none;
	color: #555555;
	padding: 10px 10px;
	margin: 0 10px;
	width: max-content;
}

header nav a:hover {
	border-bottom: 1px solid #aaa;
}

header .link-icons {
	display: flex;
	flex-grow: 1;
	flex-basis: 0;
	justify-content: flex-end;
	align-items: center;
	position: relative;
}

header .link-icons a {
	text-decoration: none;
	color: #394352;
	padding: 0 10px;
}

header .link-icons a:hover {
	color: #4e5c70;
}

header .link-icons a i {
	font-size: 18px;
}

header .link-icons a span {
	display: inline-block;
	text-align: center;
	background-color: #63748e;
	border-radius: 50%;
	color: #FFFFFF;
	font-size: 12px;
	line-height: 16px;
	width: 16px;
	height: 16px;
	font-weight: bold;
	position: absolute;
	top: 22px;
	right: 0;
}

main .featured {
	display: flex;
	flex-direction: column;
	background-image: url(imgs/featured-image.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	height: 500px;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-position: center;
}

main .featured h2 {
	display: inline-block;
	margin: 0;
	max-width: 1050px;
	font-family: Rockwell, Courier Bold, Courier, Georgia, Times, Times New Roman, serif;
	font-size: 68px;
	color: #FFFFFF;
	padding-bottom: 10px;

	-webkit-text-stroke-width: 1.5px;
	-webkit-text-stroke-color: #000000;
	-webkit-text-fill-color: #ffffff;
}

main .featured p {
	display: inline-block;
	margin: 0;
	max-width: 1050px;
	font-size: 28px;
	color: #FFFFFF;

	border-radius: 5px;
	background-color: #bb0606;
	color: #fff;
	line-height: 40px;
	text-align: center;
	height: auto;
	width: fit-content;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 4px;
}

main .recentlyadded h2 {
	display: block;
	font-weight: normal;
	margin: 0;
	padding: 40px 0;
	font-size: 24px;
	text-align: center;
	width: 100%;
	border-bottom: 1px solid #EEEEEE;
}

main .recentlyadded .products, main .products .products-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/*justify-content: space-between;*/
	/*padding: 20px 0 0 0;*/
}

main .recentlyadded .products .product, main .products .products-wrapper .product {
	display: block;
	overflow: hidden;
	text-decoration: none;
	width: 25%;
	padding-bottom: 40px;
}

main .recentlyadded .products .product img, main .products .products-wrapper .product img {
	transform: scale(1);
	transition: transform 1s;
}

main .recentlyadded .products .product .name, main .products .products-wrapper .product .name {
	display: block;
	color: #555555;
	padding: 20px 0 2px 0;
}

main .recentlyadded .products .product .price, main .products .products-wrapper .product .price {
	display: block;
	color: #999999;
}

main .recentlyadded .products .product .rrp, main .products .products-wrapper .product .rrp {
	color: #BBBBBB;
	text-decoration: line-through;
}

main .recentlyadded .products .product:hover img, main .products .products-wrapper .product:hover img {
	transform: scale(1.05);
	transition: transform 1s;
}

main .recentlyadded .products .product:hover .name, main .products .products-wrapper .product:hover .name {
	text-decoration: underline;
}

main>.product {
	display: flex;
	/*padding-top: 10px;*/
}

main>.product>div {
	padding-left: 15px;
}

main>.product h1 {
	font-size: 34px;
	font-weight: normal;
	margin: 0;
	padding: 20px 0 10px 0;
}

main>.product .price {
	display: block;
	font-size: 22px;
	color: #999999;
}

main>.product .rrp {
	color: #BBBBBB;
	text-decoration: line-through;
	font-size: 22px;
	padding-left: 5px;
}

main>.product form {
	display: flex;
	flex-flow: column;
	margin: 40px 0;
}

main>.product form input[type="number"] {
	width: 400px;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	color: #555555;
	border-radius: 5px;
}

main>.product form input[type="submit"] {
	background: #4e5c70;
	border: 0;
	color: #FFFFFF;
	width: 400px;
	padding: 12px 0;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}

main>.product form input[type="submit"]:hover {
	background: #434f61;
}

main>.products h1 {
	display: block;
	font-weight: normal;
	margin: 0;
	padding: 30px 0;
	font-size: 24px;
	text-align: center;
	width: 100%;
}

main>.products .buttons {
	text-align: right;
	padding-bottom: 40px;
}

main>.products .buttons a {
	display: inline-block;
	text-decoration: none;
	margin-left: 5px;
	padding: 12px 20px;
	border: 0;
	background: #4e5c70;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: bold;
	border-radius: 5px;
}

main>.products .buttons a:hover {
	background: #434f61;
}

main .cart h1 {
	display: block;
	font-weight: normal;
	margin: 0;
	padding: 40px 0;
	font-size: 24px;
	text-align: center;
	width: 100%;
}

main .cart table {
	width: 100%;
}

main .cart table thead td {
	padding: 30px 0;
	border-bottom: 1px solid #EEEEEE;
}

main .cart table thead td:last-child {
	text-align: right;
}

main .cart table tbody td {
	padding: 20px 0;
	border-bottom: 1px solid #EEEEEE;
}

main .cart table tbody td:last-child {
	text-align: right;
}

main .cart table .img {
	width: 80px;
}

main .cart table .remove {
	color: #777777;
	font-size: 12px;
	padding-top: 3px;
}

main .cart table .remove:hover {
	text-decoration: underline;
}

main .cart table .price {
	color: #999999;
}

main .cart table a {
	text-decoration: none;
	color: #555555;
}

main .cart table input[type="number"] {
	width: 68px;
	padding: 10px;
	border: 1px solid #ccc;
	color: #555555;
	border-radius: 5px;
}

main .cart .subtotal {
	text-align: right;
	padding: 40px 0;
}

main .cart .subtotal .text {
	padding-right: 40px;
	font-size: 18px;
}

main .cart .subtotal .price {
	font-size: 18px;
	color: #999999;
}

main .cart .buttons {
	text-align: right;
	padding-bottom: 40px;
}

main .cart .buttons input[type="submit"] {
	margin-left: 5px;
	padding: 12px 20px;
	border: 0;
	background: #4e5c70;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 5px;
}

main .cart .buttons input[type="submit"]:hover {
	background: #434f61;
}

main .placeorder h1 {
	display: block;
	font-weight: normal;
	margin: 0;
	padding: 40px 0;
	font-size: 24px;
	text-align: center;
	width: 100%;
}

main .placeorder p {
	text-align: center;
}

footer {
	position: absolute;
	bottom: 0;
	border-top: 1px solid #EEEEEE;
	padding: 20px 0;
	width: 100%;
}



.product-grid {
	/*text-align: center;*/
}

.product>div {
	width: fit-content;
	margin: 0 auto;
	/*background-color: darkseagreen !important;*/
}

.product {
	width: fit-content;
	/*margin: 0 auto;*/
	/*background-color: darksalmon !important;*/
}

.left {
	float: left;
}

.right {
	float: right;
}

.red {
	background-color: #bb0606 !important;
}

.msg_ok, .msg_error {
	width: 100%;
	padding: 3px 9px 3px;
	margin: 10px 0;
	border-style: double;
	border-color: #107fa3;
}

.msg_ok {
	background-color: #73fb75;
}

.msg_error {
	background-color: #fb7373;
}

.top_actions {
	margin: 10px 0;
}

.product-right > h1 {
	padding-top: 0 !important;
}

/* products page */

@media only screen and (max-width: 950px) {
	main .recentlyadded .products .product, main .products .products-wrapper .product {
		width: 33% !important;
	}

	body {
		/*background-color: lightblue !important;*/
	}
}

@media only screen and (max-width: 700px) {
	main .recentlyadded .products .product, main .products .products-wrapper .product {
		width: 50% !important;
	}

	body {
		/*background-color: blueviolet !important;*/
	}
}

@media only screen and (max-width: 460px) {
	main .recentlyadded .products .product, main .products .products-wrapper .product {
		width: 100% !important;
	}

	body {
		/*background-color: darkorange !important;*/
	}
}

/* product page */
@media only screen and (max-width: 950px) {
	main>div.product > img {
		max-width: 400px;
		max-height: 400px;
	}
}
@media only screen and (max-width: 850px) {
	main>div.product > img {
		max-width: 300px;
		max-height: 300px;
	}
}
@media only screen and (max-width: 750px) {
	main>div.product > img {
		max-width: 250px;
		max-height: 250px;
	}
}
@media only screen and (max-width: 700px) {
	main>.product form input[type="number"],
	main>.product form input[type="submit"] {
		width: 350px;
	}
}
@media only screen and (max-width: 650px) {
	main>.product form input[type="number"],
	main>.product form input[type="submit"] {
		width: 300px;
	}
}
@media only screen and (max-width: 600px) {
	main>.product form input[type="number"],
	main>.product form input[type="submit"] {
		width: 250px;
	}
}
@media only screen and (max-width: 550px) {
	main>.product form input[type="number"],
	main>.product form input[type="submit"] {
		width: 100%;
	}
	main>div.product {
		display: block;
		text-align: center;
	}
	.product-right > h1 {
		padding-top: 15px !important;
	}
}


.top-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-content-wrapper nav {
    display: flex;
}

.menu-icon {
	display: none;
}


.carrito_form span {
	display: inline-block;
	min-width: 60px;
	margin-right: 5px;
}

.carrito_form form {
	padding: 30px 15px;
}

.carrito_form input[type=text], 
.carrito_form input[type=email], 
.carrito_form input[type=tel] {
	width: 100%;
	margin-bottom: 15px;
}
.carrito_form input[type=submit] {
	margin-top: 20px;
}

/* Responsive styles for smaller screens (e.g., mobile) */
@media only screen and (max-width: 768px) {
	header h1 {
		padding: 24px 0;
	}

    .top-content-wrapper {
        /*flex-direction: column;*/
        text-align: center;
    }

    .top-content-wrapper h1 {
        width: 100%;
    }

	.top-content-wrapper nav {
		z-index: 999999;
        display: flex;
        flex-direction: column; /* Display the navigation links vertically */
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: #333;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
        transform: translateY(-100%); /* Hide the menu off-screen initially */
    }

	.top-content-wrapper nav a {
		color: #ffffff;
	}

    nav.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .link-icons {
        margin-top: 10px;
    }

    /* Styles for the menu icon */
    .menu-icon {
		display: block;
        cursor: pointer;
        font-size: 24px;
        transition: transform 0.3s ease-in-out;
    }

    .menu-icon.open {
        transform: rotate(90deg);
    }

    /* Styles for navigation links */
    nav a {
        padding: 15px;
        color: #fff;
        text-decoration: none;
        display: block;
    }
}
