@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap' );

:root {
  --background: hsl(210, 9%, 18%);
  --foreground: hsl(0, 0%, 98%);
  --muted: hsl(210, 6%, 25%);
  --muted-foreground: hsl(215, 4%, 65%);
  --popover: hsl(210, 9%, 18%);
  --popover-foreground: hsl(0, 0%, 98%);
  --card: hsl(210, 6%, 23%);
  --card-foreground: hsl(0, 0%, 98%);
  --border: hsl(215, 6%, 30%);
  --input: hsl(215, 6%, 30%);
  --primary: hsl(46, 85%, 58%);
  --primary-foreground: hsl(210, 9%, 18%);
  --secondary: hsl(210, 6%, 25%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --accent: hsl(210, 6%, 25%);
  --accent-foreground: hsl(0, 0%, 98%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(60, 9.1%, 97.8%);
  --ring: hsl(46, 85%, 58%);
  --radius: 0.5rem;
  
  /* Brand colors */
  --charcoal: hsl(210, 9%, 18%);
  --gold: hsl(46, 85%, 58%);
  --light-gray: hsl(0, 0%, 90%);
  --medium-gray: hsl(215, 4%, 65%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--charcoal);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--gold);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
.main {
  margin-top: 60px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(45, 45, 45, 0.6), rgba(45, 45, 45, 0.6));
  background-size: cover;
  background-position: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-gray);
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--charcoal);
}

.btn-primary:hover {
  background-color: hsl(46, 85%, 50%);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--charcoal);
}

.card.product-card {
  background-color: var(--card); /* mesma cor do site */
  border: 1px solid var(--border); /* bordinha discreta */
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--gold); /* destaque sutil ao passar o mouse */
}

/* IMAGEM */
.card.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* DESCRIÇÃO */
.card-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* mostra 2 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BOTÕES */
.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

/* Botão principal "Ver Detalhes" */
.card-actions .btn-primary {
  flex: 1;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap; /* impede quebra de linha */
  transition: background-color 0.2s ease;
}

.card-actions .btn-primary:hover {
  background-color: hsl(46, 85%, 50%);
}

/* Botão WhatsApp — discreto, pequeno */
.card-actions .btn-secondary {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.card-actions .btn-secondary:hover {
  background: #1ebe57;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .card.product-card img {
    height: 220px;
  }

  .card-actions .btn-primary {
    font-size: 0.9rem;
  }

  .card-actions .btn-secondary {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
}


/* Grid Layout */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {   
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3,
/* Grid Layout para produtos relacionados */
/* Grid Layout para produtos relacionados */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Responsivo */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr); /* antes estava 1fr, agora 2 cards por tela */
  }
}
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr); /* 2 cards por linha */
    gap: 1rem; /* ajuste o espaçamento se quiser */
  }
}



  .card.product-card img {
    height: 180px; /* reduz a altura da imagem */
  }

  .card-actions .btn-primary {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .card-actions .btn-secondary {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr; /* 1 card por linha em telas bem pequenas */
  }

  .card.product-card img {
    height: 160px;
  }

  .card-actions .btn-primary {
    font-size: 0.8rem;
    padding: 5px 0;
  }

  .card-actions .btn-secondary {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
}
/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--gold);
}

/* Footer */
.footer {
  background-color: var(--muted);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Modal Styles */
.modal-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-title {
  color: var(--gold);
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(46, 85%, 50%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--border);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }
}
#size-table {
    /* Mantém espaçamento e largura adequada */
    width: 100%;
}

#size-table table {
    width: 100%;
    border-collapse: collapse;
}

#size-table th, #size-table td {
    padding: 0.5rem;
}



/* Mobile: deixa a tabela rolável e com fonte menor */
@media (max-width: 768px) {
    #size-table table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}


/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--muted-foreground); }
.bg-card { background-color: var(--card); }
.border-gold { border-color: var(--gold); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius); }
.shadow { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
