/* Lux Models - Layout Dourado + Carrossel + Cortina Dourada Animada */

body {
  background-color: #000;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

body.menu-open { overflow: hidden; }

/* ===== HEADER ===== */
.header-lux {
  position: relative;
  z-index: 1000;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0 0;
  border-bottom: 3px solid #d4af37;
  background: linear-gradient(180deg, #000 0%, #111 100%);
}

.logo-center { text-align: center; margin-bottom: 10px; }
.logo-img { height: 100px; filter: drop-shadow(0 0 6px #d4af37); }

/* ===== BOTÕES LOGIN / ASSINE ===== */
.top-buttons {
  position: absolute;
  top: 35px;
  right: 50px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.btn-lux {
  background-color: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.btn-lux:hover { background-color: #d4af37; color: #000; }

/* ===== MENU DE CATEGORIAS (DESKTOP) ===== */
.lux-categories {
  width: 100%;
  background: linear-gradient(90deg, #b8860b, #d4af37, #b8860b);
  text-align: center;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  margin-bottom: 25px;
}

.cat-link {
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 18px;
  display: inline-block;
  transition: color 0.3s;
}
.cat-link:hover { color: #fff; }

/* ===== ÍCONE MENU MOBILE ===== */
.menu-toggle {
  position: absolute;
  left: 15px;
  top: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #d4af37;
  border-radius: 3px;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1){ transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2){ opacity: 0; }
.menu-toggle.active span:nth-child(3){ transform: rotate(-45deg) translate(6px, -6px); }

/* ===== MENU CORTINA DOURADA (MOBILE) ===== */
@media (max-width: 768px) {
  .lux-categories { display: none; }

  .lux-categories.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #d4af37 0%, #b8860b 100%);
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    box-shadow: 0 4px 12px rgba(212,175,55,0.4);
    padding: 15px 25px;
    animation: slideDown 0.35s ease forwards;
    z-index: 2000;
    overflow: hidden;
  }

  .lux-categories.open::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 65%);
    transform: skewX(-20deg);
    animation: shineMove 3s linear infinite;
    pointer-events: none;
  }

  @keyframes shineMove {
    from { left: -60%; }
    to { left: 120%; }
  }

  .lux-categories.open .cat-link {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 10px 0;
    text-shadow: 0 0 3px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    display: block;
  }

  .lux-categories.open .cat-link:hover { color: #fff; }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .logo-img { height: 80px; }
  .top-buttons { flex-direction: column; gap: 8px; justify-content: center; padding-right: 0; }
  .btn-lux { width: 80%; margin: 0 auto; }
}

/* ===== PRODUTOS ===== */
.produtos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 30px 20px 60px;
}
.produto-card {
  background: #111;
  border: 2px solid #d4af37;
  border-radius: 10px;
  width: 220px;
  text-align: center;
  box-shadow: 0 0 15px rgba(212,175,55,0.2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.produto-card:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(212,175,55,0.6); }
.produto-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 2px solid #d4af37;
  border-radius: 8px 8px 0 0;
}
.produto-card h3 { color: #d4af37; font-size: 16px; margin: 10px 0 15px; }

/* ===== CARROSSEL ===== */
.carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #d4af37;
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
}
.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
  touch-action: pan-y pan-x;
}
.carousel-track::-webkit-scrollbar { height: 0; width: 0; }
.carousel-slide {
  flex: 0 0 auto;
  min-width: 255px;
  scroll-snap-align: start;
}
.carousel-slide img {
  display: block;
  width: 255px;
  height: 385px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.3);
  transition: transform .3s ease, box-shadow .3s ease;
}
.carousel-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
}
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.carousel-controls button {
  pointer-events: all;
  background: rgba(0,0,0,.6);
  color:#ffd700;
  border: 1px solid #d4af37;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 20px;
  cursor: pointer;
  transition: .3s;
}
.carousel-controls button:hover { background:#d4af37; color:#000; }

/* Mobile: oculta as setas */
@media (max-width: 768px) {
  .carousel-controls { display: none !important; }
}

/* ====== NOVO BLOCO: GRID DUPLO PARA CELULAR ====== */
@media (max-width: 768px) {
  .grid-lux, .produtos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .grid-lux .card-lux,
  .produtos-container > div {
    width: 46vw !important;
    padding: 5px !important;
    border-radius: 8px !important;
  }
  .grid-lux .card-lux img,
  .produtos-container img {
    width: 100% !important;
    height: 68vw !important;
    border-radius: 6px !important;
  }
}
