/* =========================
   RESET BASE
========================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #1b1b1b;
}

/* =========================
   HEADER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(to bottom, #000 77%, transparent);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.icons-header{
      width: 30px;
    height: auto;
}

.logo-header{
      width: 200px;
    height: auto;
}

nav a {
  color: white;
  margin-left: 10px;
  text-decoration: none;
}

/* =========================
   BOTÕES (UNIFICADO)
========================= */
.btn {
  display: inline-block;
  text-decoration: none;
  background: black;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn:hover {
  background: #333;
  transform: scale(1.05);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   SLIDER PRODUTOS
========================= */
.produto-section {
  margin: 40px auto;
}

.slider {
  overflow: hidden;
  padding: 40px 0 35px;
  background: linear-gradient(180deg, #fff7f0 0%, #fdf6f1 100%);
  border-top: 1px solid rgba(217, 4, 41, 0.12);
  border-bottom: 1px solid rgba(217, 4, 41, 0.12);
}

.produtos {
  display: flex;
  gap: 24px;
  padding: 24px;
  overflow-x: auto;
  scroll-behavior: auto;
  cursor: grab;
}

.produtos:active {
  cursor: grabbing;
}

/* esconder scrollbar */
.produtos::-webkit-scrollbar {
  display: none;
}

.produto {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  padding: 22px 18px;
  border-radius: 20px;
  min-width: 240px;
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  position: relative;
}

.produto .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #d90429;
  color: white;
  font-size: 0.75rem;
  padding: 7px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.produto .preco {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 14px 0 8px;
  color: #111;
}

.produto-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.produto-buttons button {
  min-width: 135px;
  padding: 12px 14px;
}

.btn-add {
  background: #111;
}

.btn-buy {
  background: #d90429;
}

.btn-buy:hover {
  background: #b30020;
}

.produto:hover {
  transform: scale(1.05);
}

.produto button {
  margin-top: 10px;
  background: black;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.produto-detalhe{
  display: flex;
  justify-content: center;
}

.produto-imagem{
  width: 300px;
  height: 300px;
}
/* =========================
   PRODUTO DETALHE (UPGRADE)
========================= */

.produto-detalhe {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.produto-img-box {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.produto-img-box img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  transition: 0.3s;
}

.produto-img-box img:hover {
  transform: scale(1.05);
}

.produto-info {
  flex: 1;
}

.produto-info h1 {
  margin: 10px 0;
  font-size: 2rem;
}

.categoria {
  font-size: 0.9rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.descricao {
  margin: 15px 0;
  color: #444;
}

.preco-area {
  margin: 20px 0;
}

.preco {
  font-size: 1.8rem;
  font-weight: bold;
}

/* loading e erro */
.loading {
  text-align: center;
  font-size: 1.2rem;
}

.erro {
  text-align: center;
  color: red;
}

/* responsivo */
@media (max-width: 900px) {
  .produto-detalhe {
    flex-direction: column;
    text-align: center;
  }
}
/* =========================
   COVER SECTION (UPGRADE)
========================= */
.cover-section {
  background: radial-gradient(circle at 70% 30%, #1a1a1a, #000);
  color: white;
}

.cover-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cover-text {
  max-width: 480px;
}

.cover-text span {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0.6;
  font-size: 0.75rem;
}

.cover-text h2 {
  margin: 20px 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;

  background: linear-gradient(90deg, #fff, #aaa);

  /* compatibilidade */
  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.cover-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* botão mais estiloso */
.cover-text .btn {
  background: white;
  color: black;
  border-radius: 999px;
  font-weight: 600;
}

.cover-text .btn:hover {
  background: #ddd;
  transform: scale(1.05);
}

/* imagem mais integrada */
.cover-image {
  position: relative;
}

.cover-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
}

/* glow leve atrás da imagem */
.cover-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(40px);
}

.moletons-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #0a0f14;
  border-radius: 0;
}

.moletons-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* =========================
   FEATURED
========================= */
.featured-models {
  background: #fff;
  padding: 60px 20px;
}

.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  background: #111;
  color: white;
  padding: 24px;
  border-radius: 24px;
}

/* =========================
   MODEL SECTION
========================= */
.model-section {
  background: #f7f7f7;
  padding: 80px 20px;
}

.model-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.model-copy h2 {
  margin: 20px 0;
}

.model-image img {
  width: 100%;
  border-radius: 24px;
}

/* =========================
   CARRINHO
========================= */
.carrinho-section {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  gap: 20px;
}
#lista-container {
  flex: 1;
}

#sidebar {
  width: 250px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

#acoes-gerais {
  width: 100%;
  text-align: center;
}

#lista-carrinho {
  max-height: 400px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
}

#lista-carrinho li {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

#lista-carrinho span {
  flex: 1;
}

#lista-carrinho button {
  background: red;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
}

/* =========================
   ANIMAÇÕES DE SCROLL
========================= */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-60px);
  }
}

@keyframes slideOutToRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(60px);
  }
}

.reveal {
  opacity: 0;
}

.reveal.visible {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.reveal.hidden {
  animation: slideOutToLeft 0.8s ease-out forwards;
}

.reveal:nth-child(even).visible {
  animation: slideInFromRight 0.8s ease-out forwards;
}

.reveal:nth-child(even).hidden {
  animation: slideOutToRight 0.8s ease-out forwards;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 900px) {
  .cover-inner,
  .model-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-inner {
    grid-template-columns: 1fr;
  }

  section {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
  }
}