/*VARIÁVEIS GLOBAIS E ESTILOS DE BASE*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  --primary-color: #03c7f3;
  --secondary-color: #0da4d6;
  --dark-border: #005678;
  --text-color: #000000;
  --white-color: #ffffff;
  --purple-gradient: linear-gradient(90deg, #8a2be2, #c71585);
  --dark-gray: #555555;
  --red-tag: #ff0000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.cupom-images {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px;
    margin-bottom: 25px; 
}

/*CABEÇALHO*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  background-color: var(--primary-color);
  border-bottom: 2px solid var(--dark-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
}

.logo img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.search-container {
  flex-grow: 1;
  margin: 0 20px;
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--dark-border);
  border-radius: 30px;
  font-size: 0.9rem;
  outline: none;
}

.search-container .search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("https://api.iconify.design/material-symbols/search.svg");
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 3px;
}

header nav a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 15px;
}

header nav a:hover {
  color: var(--dark-border);
}

header nav img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
  filter: invert(1);
}

/* Menu Dropdown do Usuário */
.user-menu-container {
  position: relative;
  display: inline-block;
}

.user-dropdown {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 150%;
  background-color: var(--secondary-color);
  min-width: 160px;
  border-radius: 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 100;
  overflow: hidden;
}

.user-dropdown .dropdown-item {
  color: var(--white-color);
  padding: 12px 16px;
  display: block;
  font-size: 0.9rem;
}

.user-dropdown .dropdown-item:hover {
  background-color: #049dc7;
}

.user-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* SEÇÕES PRINCIPAIS E CONTEÚDO*/
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 40px 0;
  color: var(--dark-border);
}

/* Seção Hero */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  margin: 40px auto;
  max-width: 1200px;
  background-color: var(--white-color);
  border-radius: 10px;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.5rem;
  margin: 10px 0 30px;
}

.hero-image img {
  max-width: 400px;
  height: auto;
}

/* CARDS, CARROSSEL E CATÁLOGO*/

.catalog-page {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white-color);
  border-radius: 7px;
  border-bottom: 5px solid #ccc;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition: 1s;
}

.product-card .product-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card .product-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.product-card .product-price {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-card .comprar-button {
  margin-top: auto;
}






/* FORMULÁRIOS (LOGIN/REGISTRO)*/

   .form-page-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.form-page-container h1 {
    font-size: 1.8rem;
    color: var(--dark-border);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left; 
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(3, 199, 243, 0.2);
}

/* Estilo para a mensagem de feedback (sucesso ou erro) */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #e9f7ef; /* Fundo verde claro para sucesso (padrão) */
    color: #155724; /* Texto verde escuro */
    border: 1px solid #c3e6cb;
}

/* O botão .form-button já deve ter estilos, mas garantimos a largura total */
.form-page-container .form-button {
    width: 100%;
    margin-top: 10px;
}

.form-container {
  max-width: 500px;
  margin: 40px auto;
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: 10px;
}

.form-body {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.form-body h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--dark-border);
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 5px 15px;
}

.input-group .icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-user {
  background-image: url("https://api.iconify.design/mdi/account-outline.svg");
}
.icon-email {
  background-image: url("https://api.iconify.design/mdi/email-outline.svg");
}
.icon-lock {
  background-image: url("https://api.iconify.design/mdi/lock-outline.svg");
}
.icon-check {
  background-image: url("https://api.iconify.design/mdi/check-circle-outline.svg");
}
.icon-phone {
  background-image: url("https://api.iconify.design/mdi/phone-outline.svg");
}

.input-group input {
  flex-grow: 1;
  border: none;
  outline: none;
  padding: 10px 0;
  font-size: 1rem;
  background: transparent;
}

.forgot-password {
  margin-top: 15px;
  font-size: 0.9rem;
}

.forgot-password a {
  color: var(--dark-border);
  font-weight: 600;
}

/*BOTÕES*/
.hero-button {
  background: var(--purple-gradient);
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 20px 40px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.comprar-button {
  background: var(--purple-gradient);
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 10px auto 0;
  display: block;
}

.form-button {
  background: var(--purple-gradient);
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

/* RODAPÉ */
.site-footer {
  background-color: var(--dark-border);
  color: var(--white-color);
  padding: 40px 20px 20px;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.8rem;
}

/* NAVEGAÇÃO DE CATEGORIAS */

.categories {
  background-color: var(--white-color);
  padding: 15px 20px;
  border-radius: 7px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.categories nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.categories nav a {
  color: var(--white-color);
  background-color: var(--primary-color);
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 30px;
  transition: background-color 0.3s;
  font-size: 1rem;
}

.categories nav a:hover {
  background-color: var(--secondary-color);
}

/* PÁGINAS DE TEXTO (POLÍTICAS, GUIAS, ETC.)*/

.text-page-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 50px;
  background-color: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-page-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-border);
  margin-bottom: 30px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
}

.text-page-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-border);
  margin-top: 30px;
  margin-bottom: 15px;
}

.text-page-container p,
.text-page-container li {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.text-page-container ul {
  list-style-position: inside;
  padding-left: 20px;
}

/* IMAGEM EM PÁGINA DE TEXTO */

.text-page-image-container {
  margin: 35px auto;
  max-width: 600px;
  text-align: center;
}

.text-page-image-container img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-page-image-container .image-caption {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* ESTILOS ADICIONAIS DO RODAPÉ*/

.footer-container {
  align-items: flex-start;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--white-color);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-column ul a:hover {
  color: var(--white-color);
  text-decoration: underline;
}

/* Estilo para o texto abaixo dos ícones sociais */
.footer-column .social-text {
  font-size: 0.9rem;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}

/* ITENS DE CONTATO DO RODAPÉ */

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.footer-contact-item img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  margin-right: 10px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: var(--white-color);
  text-decoration: underline;
}

/*PÁGINA DE CUPONS*/

.cupons-page-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.cupons-header {
  text-align: center;
  margin-bottom: 40px;
}

.cupons-header h1 {
  font-size: 2.5rem;
  color: var(--dark-border);
  margin-bottom: 10px;
}

.cupons-header p {
  font-size: 1.1rem;
  color: var(--dark-gray);
}

.cupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.cupom-card {
  background-color: var(--white-color);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cupom-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cupom-info {
  padding: 25px;
}

.cupom-info h3 {
  font-size: 1.5rem;
  color: var(--dark-border);
}

.cupom-info p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin: 10px 0 20px;
}

.cupom-code {
  background-color: #f0f4f8;
  border: 2px dashed var(--secondary-color);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--dark-border);
}

/* Seção de Administrador */
.admin-section {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 15px;
  margin-top: 50px;
}

.admin-section h2,
.admin-section h3 {
  text-align: center;
  color: var(--dark-border);
  margin-bottom: 25px;
}

/* Tabela de Cupons */
.tabela-container {
  margin-top: 40px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table th,
table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table th {
  background-color: #f2f2f2;
  font-weight: 600;
}

.status {
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--white-color);
}

.status.ativo {
  background-color: #28a745;
}

.status.expirado {
  background-color: #dc3545;
}

.acoes a {
  color: var(--secondary-color);
  font-weight: 600;
}
.acoes a:hover {
  text-decoration: underline;
}

/*PÁGINA DO CARRINHO DE COMPRAS */

.cart-page-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.cart-main-content {
  flex: 2;
}

.cart-main-content h1 {
  font-size: 2rem;
  color: var(--dark-border);
  margin-bottom: 20px;
}

.cart-items-list {
  background: var(--white-color);
  border-radius: 15px;
  padding: 10px 30px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details .product-title {
  font-size: 1.1rem;
  margin: 0;
}
.cart-item-details .product-price {
  font-size: 1rem;
  color: var(--dark-gray);
  margin: 5px 0;
}

.cart-item-remove {
  font-size: 0.8rem;
  color: var(--red-tag);
  font-weight: 600;
}
.cart-item-remove:hover {
  text-decoration: underline;
}

.quantity-selector {
  display: flex;
  align-items: center;
}

.quantity-selector button {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  cursor: pointer;
  font-size: 1.2rem;
}

.quantity-selector input {
  width: 40px;
  height: 30px;
  text-align: center;
  border: 1px solid #ccc;
  border-left: none;
  border-right: none;
  font-size: 1rem;
}

.cart-item-subtotal {
  font-weight: 600;
  width: 100px;
  text-align: right;
}

.cart-summary {
  flex: 1; 
  position: sticky; 
  top: 100px;
}

.summary-box {
  background: var(--white-color);
  border-radius: 15px;
  padding: 30px;
}

.summary-box h2 {
  font-size: 1.5rem;
  color: var(--dark-border);
  margin-bottom: 20px;
  text-align: center;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1rem;
}

.summary-total {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* Mensagem de Carrinho Vazio */
.cart-empty {
  background: var(--white-color);
  text-align: center;
  padding: 50px;
  border-radius: 15px;
}
.cart-empty p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* CARRINHO LATERAL */

.side-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-cart-overlay.show {
  visibility: visible;
  opacity: 1;
}

/* O painel do carrinho em si */
.side-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px; 
  height: 100%;
  background-color: var(--white-color);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transform: translateX(100%); 
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.side-cart.show {
  transform: translateX(0); 
}

/* Estilos internos do carrinho lateral */
.side-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.side-cart-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--dark-border);
}

#close-cart-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark-gray);
}

.side-cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.side-cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.side-cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.side-cart-item-details {
  flex-grow: 1;
}

.side-cart-item-details .product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 5px;
}
.side-cart-item-details .product-price {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin: 0;
}

.side-cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.side-cart-footer .form-button {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}
/* Estilo para botão secundário */
.form-button.secondary {
  background: var(--dark-gray);
}

/* PÁGINA MINHAS RESERVAS */
.reservas-page-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.reservas-page-container h1 {
  font-size: 2rem;
  color: var(--dark-border);
  margin-bottom: 20px;
}

.reserva-card {
  background: var(--white-color);
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden; 
}

.reserva-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; 
  gap: 10px;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.reserva-info {
  display: flex;
  flex-direction: column;
}

.numero-reserva {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-border);
}

.data-reserva {
  font-size: 0.8rem;
  color: var(--dark-gray);
}

.reserva-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white-color);
  text-transform: uppercase;
}

.status-pendente {
  background-color: #ffc107;
  color: #333;
}
.status-concluido {
  background-color: #28a745;
}
.status-cancelado {
  background-color: #dc3545;
}

.btn-cancelar {
  background-color: #dc3545;
  color: var(--white-color);
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s ease-in-out;
}

.btn-cancelar:hover {
  background-color: #c82333;
}

.reserva-produtos {
  padding: 10px 20px;
}

.produto-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f1f1f1;
}

.produto-item:last-child {
  border-bottom: none;
}

.produto-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.produto-detalhes {
  flex-grow: 1;
}

.produto-nome {
  font-weight: 600;
  display: block;
}

.produto-qtde {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.produto-preco {
  font-weight: 600;
}

.reserva-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
  font-size: 1.1rem;
  font-weight: 600;
}

.valor-total {
  font-size: 1.3rem;
  color: var(--dark-border);
}

/* Mensagem de quando não há reservas */
.reservas-vazio {
  background: var(--white-color);
  text-align: center;
  padding: 50px;
  border-radius: 15px;
}
.reservas-vazio p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}








#dev-dialog {
  width: 90%;
  max-width: 600px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  padding: 2rem;

  position: fixed;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  animation: fade-in 0.4s ease forwards;
}

#dev-dialog.closing {
  animation: fade-out 0.4s ease forwards;
}

#dev-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

#dev-dialog img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1rem;
}
#dev-dialog h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-border);
}
#dev-dialog p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-gray);
}
#dev-dialog .close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fade-in {
  from {
    opacity: 0;

    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;

    transform: translate(-50%, -50%);
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
}


/* --- Responsividade do Cabeçalho e Menu --- */
@media (max-width: 900px) {
  header {
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 15px 20px;
      height: auto;
  }

  .search-container {
      width: 100%;
      order: 3;
      margin-top: 15px;
  }

  .categories nav {
      justify-content: center;
      flex-wrap: wrap;
      padding: 10px 15px;
  }
}

/* --- Responsividade da Hero Section --- */
@media (max-width: 767px) {
  .hero-section {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
  }

  .hero-text h1 {
      font-size: 2rem;
  }

  .hero-text p {
      max-width: 100%;
      margin-bottom: 30px;
  }

  .hero-image {
      margin-left: 0;
  }
  
.hero-button {
  font-size: 1rem;
  padding: 12px 25px;
  
  display: block;
  width: 80%; 
  max-width: 280px; 
  margin-left: auto; 
  margin-right: auto;
  border-radius: 5px;
}
}



  
/* --- Responsividade da Grade de Produtos --- */
@media (max-width: 900px) {
  .product-grid {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 20px;
  }
}

/* --- Responsividade do Rodapé --- */
@media (max-width: 767px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
  }

  .footer-social {
      justify-content: center;
  }
}



/* ======== NOVOS ESTILOS PARA O CARROSSEL (SWIPER.JS) ======== */

.meu-carrossel {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px; /* Adiciona espaço para os botões de navegação não ficarem colados */
}

/* Garante que os cards dentro dos slides se ajustem corretamente */
.swiper-slide {
  height: auto; /* Permite que a altura seja definida pelo conteúdo */
  display: flex;
  justify-content: center;
}

/* O .product-card agora ocupa 100% da altura do slide para alinhamento */
.swiper-slide .product-card {
  height: 100%;
}

/* Estilização opcional dos botões e paginação do Swiper para combinar com seu site */
.meu-carrossel .swiper-button-prev,
.meu-carrossel .swiper-button-next {
  color: var(--dark-border); /* Usando uma cor do seu tema */
}

.meu-carrossel .swiper-pagination-bullet-active {
  background-color: var(--dark-border); /* Usando uma cor do seu tema */
}

/* Ajustes para telas menores */
@media (max-width: 767px) {
  .meu-carrossel {
    padding: 0 10px; /* Reduz o padding em telas pequenas */
  }

  /* Em telas muito pequenas, os botões padrão do swiper podem ser grandes demais */
  .meu-carrossel .swiper-button-prev,
  .meu-carrossel .swiper-button-next {
    /* Esconde as setas e prioriza o swipe/arrastar */
    display: none;
  }
}