*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--font-heading: "Crafty Girls", cursive;
	--font-body: "Quicksand", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	--bg-color: #f4f4f9;
	--card-bg: #ffffff;
	--primary-color: #333;
	--limitada-bg: #fff9e6;
	--limitada-border: #ffd700;
	--Black: #211f1e;
	--Green: #4ca23e;
	--Blue: #184d9a;
	--Pink: #f288be;
	--Turquoise: #a4e2e0;
	--Red: #dc0637;
	--Orange: #e96233;
	--Purple: #a795c7;
	--accent-gradient: linear-gradient(135deg, var(--Pink), var(--Purple));
	--descontinuado-bg: #dc3545; /* Vermelho */
	--descontinuado-text: #ffffff; /* Branco */
}
/* Estilos para a Home Page */
.home-content {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    padding: 20px;
}

.profile-avatar {
    font-size: 4rem;
    background: #fff;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(167, 149, 199, 0.2);
}

.profile-section h1 {
    font-size: 2.4rem;
}

.bio-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(167, 149, 199, 0.15);
    line-height: 1.6;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
}

.btn-main {
    background: var(--accent-gradient);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 6px 18px rgba(242, 136, 190, 0.35);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(167, 149, 199, 0.4);
}

html,
body {
	height: 100%;
	margin: 0;
}

body {
	font-family: var(--font-body);
	margin: 0;
	min-height: 100vh;
	display: grid;
	/* Linha 1: Topo (auto), Linha 2: Conteúdo (1fr - estica), Linha 3: Footer (auto) */
	grid-template-rows: auto 1fr auto;
	background: linear-gradient(160deg, #fdf3fa 0%, #f5f2fb 45%, #eef8f7 100%);
	background-attachment: fixed;
}

h1 {
	font-family: var(--font-heading);
	font-weight: normal;
	text-align: center;
	font-size: 3rem;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 40px;
}

/* Grid de 6 espaços (3 colunas em telas grandes) */
.grid-container {
	display: grid;
	grid-template-columns: repeat(6, minmax(200px, 1fr));
	gap: 25px;
	max-width: 1400px;
	padding: 40px 30px;
	margin: 0 auto;
}
/* Cartão */
.card {
	position: relative;
	background: var(--card-bg);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(167, 149, 199, 0.15);
	transition:
		transform 0.3s,
		box-shadow 0.3s;
	display: flex;
	flex-direction: column;
	border-bottom: 8px solid #eadff2; /* A cor da caneta aqui, quando aplicável */
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(167, 149, 199, 0.3);
}

.card.missing {
	opacity: 0.5;
	filter: grayscale(0.8);
	border: 8px solid #333;
}
.card.limitada {
	background: var(--limitada-bg);
	border: 2px solid var(--limitada-border);
	border-bottom-width: 8px;
} /* Fundo amarelado/dourado suave */

.image-container {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #eee;
}
.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.5s;
}

.card:hover .image-container img {
	transform: scale(1.1);
}

.info {
	padding: 20px;
	text-align: center;
}
.nome {
	font-family: var(--font-heading);
	font-weight: normal;
	font-size: 1.5rem;
	color: #2c3e50;
	margin: 0;
}
.numero {
	font-size: 0.9rem;
	color: #7f8c8d;
	margin-top: 8px;
	background: #f0f0f0;
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
}
.mensagem {
	padding-bottom: 8px;
	font-size: 0.9rem;
	color: #2c3e50;
	margin: 0;
}
.empty-state {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 20px auto;
    max-width: 400px;
    color: #666;
    line-height: 1.6;
}

.empty-state i {
    margin-bottom: 15px;
    display: block;
}
.cores-container {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 8px 0;
}
.bola-cor {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid #ddd;
}

.badge-limitada {
	background-color: #ffd700;
	color: #000;
	font-size: 0.7rem;
	font-weight: bold;
	padding: 2px 8px;
	border-radius: 5px;
	display: inline-block;
	margin-bottom: 5px;
	text-transform: uppercase;
}
.nav-container {
	text-align: center;
	margin-bottom: 30px;
}

.btn-coleccao {
	background: var(--accent-gradient);
	color: white;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 25px;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	margin-bottom: 20px;
	transition:
		box-shadow 0.3s,
		transform 0.2s;
	box-shadow: 0 6px 18px rgba(242, 136, 190, 0.35);
	display: inline-block;
}

.btn-coleccao:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 22px rgba(167, 149, 199, 0.4);
}

.ano-lancamento {
	font-size: 0.8rem;
	color: #666;
	display: block;
	margin-top: 5px;
}

.nav-container {
	max-width: 800px;
	margin: 0 auto 30px;
	text-align: center;
}

#inputPesquisa {
	width: 80%;
	padding: 12px 20px;
	border-radius: 25px;
	border: 2px solid #eadff2;
	outline: none;
	font-family: var(--font-body);
	font-size: 1rem;
	margin-bottom: 15px;
	transition: border-color 0.3s, box-shadow 0.3s;
}
#inputPesquisa:focus {
	border-color: var(--Purple);
	box-shadow: 0 0 0 3px rgba(167, 149, 199, 0.2);
}
.filter-options {
	text-align: center;
	margin-bottom: 20px;
}

.btn-filter,
.btn-link {
	padding: 8px 15px;
	border-radius: 15px;
	border: 1px solid #eadff2;
	background: white;
	cursor: pointer;
	text-decoration: none;
	color: #333;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9rem;
	transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-filter:hover,
.btn-link:hover {
	transform: translateY(-2px);
}

.btn-filter.active {
	background: var(--accent-gradient);
	border-color: transparent;
	color: white;
}

.btn-comprar {
	display: inline-block;
	margin-top: 10px;
	padding: 6px 14px;
	border-radius: 20px;
	background: var(--Purple);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.btn-comprar:hover {
	transform: scale(1.05);
}

.aviso-afiliados {
	font-size: 0.75rem;
	color: #888;
}

.check-container {
	margin-top: 10px;
	font-size: 0.75rem;
	cursor: pointer;
	border-top: 1px solid #eee;
	padding-top: 5px;
}

#status {
	text-align: center;
	font-style: italic;
	color: #666;
}
/* SEARCH */
.search-box {
	max-width: 600px;
	margin: 0 auto 5px auto;
	padding: 0 20px;
}



/* FOOTER */
.creditos {
	margin-top: auto;
	padding: 20px;
	text-align: center;
	border-top: 1px solid #eadff2;
	font-size: 0.9rem;
	color: #666;
	background-color: #fff;
}

.creditos a {
	color: var(--Purple);
	text-decoration: none;
	font-weight: bold;
}

.creditos a:hover {
	text-decoration: underline;
}

/* DESCONTINUADO */
.badge-descontinuado {
	position: absolute;
	top: 10px; /* 10px do topo */
	right: 10px; /* 10px da direita */
	background-color: var(--descontinuado-bg);
	color: var(--descontinuado-text);
	font-size: 0.7rem;
	font-weight: bold;
	padding: 4px 8px;
	border-radius: 5px;
	z-index: 10; /* Garante que fica por cima de outros elementos */
	text-transform: uppercase;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.star-icon {
    position: absolute;
		background-color: white;
		border-radius: 50%;
    top: 10px;
    left: 10px; /* Colocamos à esquerda para não bater no badge de descontinuado que está à direita */
    font-size: 1.2rem;
    z-index: 15;
}

/* Opcional: Efeito no card quando descontinuado */
.card.descontinuado {
	opacity: 0.7; /* Suaviza o card */
	filter: grayscale(0.2); /* Deixa-o ligeiramente a preto e branco */
}

.image-container {
	position: relative;
	width: 100%;
	height: 150px;
}

/* Setas de navegação */
.btn-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 5px 8px;
	z-index: 5;
	border-radius: 50%;
	display: none; /* Escondido por padrão, aparece se houver > 1 imagem */
}

.card:hover .btn-nav {
	display: block;
} /* Só mostra as setas no hover */

.btn-prev {
	left: 5px;
}
.btn-next {
	right: 5px;
}

.btn-nav:hover {
	background: white;
}
.social-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
		align-items: center;
}

.social-links a {
    font-size: 1.5rem;
    color: #666;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
}

/* Cor do Instagram no Hover */
.social-links a[title="Instagram"]:hover {
    color: #E1306C;
    transform: translateY(-3px);
}

/* Cor do TikTok no Hover */
.social-links a[title="TikTok"]:hover {
    color: #000;
    transform: translateY(-3px);
}
/* Cor do Coffee no Hover */
.social-links a[title="coffee"]:hover {
    color: var(--Red);
    transform: translateY(-3px);
}
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(167, 149, 199, 0.15);
    border-bottom: 3px solid transparent;
    border-image: var(--accent-gradient) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
		flex-direction: row;
}

.nav-links a {
    font-family: var(--font-body);
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
		padding: 10px;
}

.nav-links a:hover {
    color: var(--Pink);
}

/* Margem para o conteúdo não ficar colado ao menu */
main, .home-content {
    padding-top: 20px;
}
.nav-links a.active {
    color: var(--Purple);
    border-bottom: 2px solid var(--Pink);
}
.support-section {
    margin-top: 40px;
    padding: 25px;
    background: #fffdf5; /* Um tom creme suave */
    border: 1px dashed #ffd700;
    border-radius: 15px;
    text-align: center;
}

.support-section p {
    margin: 5px 0;
    color: #555;
}

.support-text {
    font-size: 0.9rem;
    margin-bottom: 15px !important;
}

.bmc-button {
    display: inline-block;
    transition: transform 0.3s ease;
		color: var(--Red);
}


.bmc-button:hover {
    transform: scale(1.05);
}
#backToTop {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Escondido por padrão */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(167, 149, 199, 0.35);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(167, 149, 199, 0.45);
}

/* Para o SVG ficar bem centrado */
#backToTop svg {
    width: 30px;
    height: 30px;
}

.color-filter-container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.color-dots {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
		border-color: #fff;
}

.dot.all {
    background: conic-gradient(var(--Black),var(--Black), var(--Green), var(--Orange), var(--Pink), var(--Purple), var(--Red), var(--Turquoise));
}

.dot:hover {
    transform: scale(1.2);
}

.dot:focus-visible {
    outline: 2px solid var(--Purple);
    outline-offset: 2px;
    transform: scale(1.2);
}

.dot.active {
    border-color: var(--Purple);
    transform: scale(1.1);
}

@media (max-width: 1400px) {
	.grid-container {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 600px) {
	.grid-container {
		grid-template-columns: repeat(1, 1fr);
	}
	.nav-links{
		flex-direction: column;
	}
}
