@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@1,391&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');
body {
	font-family: 'Georgia', serif;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #fff5f7;
	color: #4a4a4a;
	position: relative;
	overflow-x: hidden;
}

.decorative-shape {
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background-color: #e48e9b;
	z-index: 0;
}

.decorative-shape.top-left {
	top: -150px;
	left: -150px;
}

.decorative-shape.bottom-right {
	bottom: -0px;
	right: 0px;
	border-radius: 150px 0px 0 150px;
}

form {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 30px;
    width: 90%;
    max-width: 600px;
    z-index: 1;
}

form div {
    margin-bottom: 15px;
	z-index: 0;
}

form label {
    display: block;
    font-family: 'Noto Serif Display', serif;
    font-size: 16px;
    color: #31241e;
    margin-bottom: 5px;
	z-index: 0;
}

form input {
    width: 90%;
    padding: 10px;
    border: 1px solid #e48e9b;
    border-radius: 10px;
    font-size: 16px;
    color: #31241e;
	z-index: 0;
    background-color: #f9f9f9;
}

form input:focus {
    outline: none;
    border-color: #c03b4f;
    box-shadow: 0 0 5px rgba(192, 59, 79, 0.5);
	z-index: 0;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: #e48e9b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	z-index: 0;
}

form button:hover {
    background-color: #c03b4f;
	z-index: 0;
}

header {
	width: 100%;
	background-color: #f4bac600;
	color: #f4bac6;
	text-align: center;
	padding: 40px 0;
	position: relative;
	z-index: 1;
}

header h1 {
	margin: 0;
	font-size: 2.8em;
	font-family: 'Georgia', serif;
}

.titulo {
	text-align: center; 
	font-size: 2.8em; 
	font-family: 'Noto Serif Display', serif;
	font-style: italic;
	color:#31241e; 
	margin-top: 20px;
	z-index: 1;
}

.subtitulo {
	text-align: center; 
	font-size: 1.8em; 
	font-family: 'Noto Serif Display', serif;
	font-style: italic;
	color:#31241e; 
	margin-top: 20px;
	z-index: 1;
}

.button-group {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
	z-index: 1;
}

.button-group button {
	background-color: #e48e9b;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.button-group button.selected {
	background-color: #c03b4f;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}


.button-group button:hover {
	background-color: #d37786;
}
.button-group button.selected:hover {
	background-color: #c03b4f;
}

.catalog {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 15px;
	width: 90%;
	max-width: 1200px;
	padding: 15px;
	background-color: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	margin-top: 2px;
	position: relative;
	z-index: 1;
	text-decoration: none !important;
}

.product {
	text-align: center;
	border: 1px solid #e48e9b;
	border-radius: 15px;
	overflow: hidden;
	background-color: #fff;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none !important;
}

.button {
	text-align: center;
	font-family: 'Noto Serif Display', serif;
	border: 1px solid #e48e9b;
	border-radius: 15px;
	overflow: hidden;
	background-color: #fff;
	margin-bottom: 20px;
}

.product:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	text-decoration: none !important;
}

.product img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-bottom: 1px solid #e88f9d;
	cursor: pointer;
	text-decoration: none !important;
}

.product-id {
	padding: 5px 5px;
	font-size: 12px;
	font-family: 'Noto Serif Display', serif;
	font-style: normal;
	color:#31241e;
	text-decoration: none !important;
}

.product-price {
	padding: 5px 5px;
	font-size: 18px;
	font-weight: bold;
	color:#31241e;
	text-decoration: none !important;
}

.product-name {
	padding: 5px 5px;
	font-size: 20px;
	font-weight: bold;
	color: #e88f9d;
	text-decoration: none;
	cursor: default;	
	margin-bottom: 1px;
	margin-top: 1px;
}

.product a {
    text-decoration: none !important;
	}


footer {
	margin-top: 30px;
	text-align: center;
	font-size: 14px;
	color: #888;
	z-index: 1;
}

footer p {
	margin: 5px 0;
	z-index: 2;
}

.social-links {
	margin-top: 10px;
	display: flex;
	justify-content: center;
	gap: 15px;
}

.social-links a {
	text-decoration: none;
	color: #4a4a4a;
	font-size: 24px;
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: #e48e9b;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.modal:target {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo responsivo */
@media (max-width: 768px) {
	header h1 {
		font-size: 2em;
	}

	.catalog {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 10px;
		text-decoration: none !important;
	}
	

	.product-name {
		font-size: 20px;
		text-decoration: none;
	}
	.product-id {
		font-size: 12px;
		text-decoration: none !important;
	}
	.product-price {
		font-size: 18px;
		text-decoration: none !important;
	}
	form {
        padding: 15px;
        width: 90%;
        max-width: 400px;
		z-index: 0;
    }

    form button {
        font-size: 16px;
		z-index: 0;
    }

    form label {
        font-size: 14px;
		z-index: 0;
    }

    form input {
        font-size: 14px;
		z-index: 0;
    }
}

@media (max-width: 480px) {
	header {
		padding: 20px 0;
	}

	header h1 {
		font-size: 1.5em;
	}

	.catalog {
		grid-template-columns: 1fr;
		text-decoration: none !important;
	}

	.product img {
		height: 200px;
		text-decoration: none !important;
	}
	form {
        width: 90%;
        max-width: 400px;
		z-index: 0;
    }

    form button {
        font-size: 14px;
		z-index: 0;
    }

    form input {
        font-size: 14px;
		z-index: 0;
    }
	}
	
.modal a {
		text-decoration: none !important;
		}

/* Estilos para o contêiner do dropdown */
.dropdown-container {
    border-radius: 15px;
    padding: 10px 20px;
    margin-top: 0px;
	font-weight: bolder;
	margin-bottom: 20px;
    max-width: 300px;
    width: 90%;
    z-index: 1;
}

/* Estilo para o próprio dropdown */
.dropdown {
    width: 100%;
    padding: 10px;
    border: 1px solid #e48e9b;
    border-radius: 10px;
    background-color: #f9f9f9;
    color: #31241e;
	text-align: center;
	font-size: 1.3em; 
	font-family: 'Noto Serif Display', serif;
	font-style: normal;
	font-weight: 400;
    cursor: pointer;
}

.dropdown:focus {
    outline: none;
    border-color: #c03b4f;
    box-shadow: 0 0 5px rgba(192, 59, 79, 0.5);
}

.modal {
    display: none; /* Inicialmente escondido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal {
    display: none; /* Inicialmente escondido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 2.0rem;
    cursor: pointer;
}

.modal-content img {
    cursor: pointer; /* Indica que a imagem é clicável */
}
