/* ========================================
   VARIÁVEIS DE CORES
   ======================================== */
/* Cores principais da marca */
:root {
  /* Cores principais da marca */
  --primary-gold: #c6a35a;
  --secondary-gold: #8e753f;
  --light-gold: #d4b77a;
  --dark-gold: #6b5a30;

  /* Cores neutras */
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f5f5f5;
  --medium-gray: #c4c4c4;
  --dark-gray: #5f5959;

  /* Backgrounds */
  --bg-primary: #fdf5eb;
  /* Mais amarelado, um off-white mais cru que descansa os olhos, combinando com bege/dourado */
  --bg-secondary: rgba(198, 163, 90, 0.1);
  --card-bg: rgba(198, 163, 90, 0.05);
  --input-bg: #ffffff;
  --text-primary: #000000;
  --text-secondary: #5f5959;

  /* Transições */
  --transition-smooth: all 0.3s ease;
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   RESET E CONFIGURAÇÕES GERAIS
   ======================================== */
html,
body {
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: "Darker Grotesque", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

body:not(.login-page):not(.admin-page):not(.order-success) {
  padding-top: 80px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--secondary-gold);
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 1000;
}

.brand-logo img {
  max-width: 100px;
  max-height: 100px;
}

.navbar-menu {
  display: flex;
  gap: 40px;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-item {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  letter-spacing: 1px;
}

.navbar-item:hover {
  color: var(--light-gold);
}

.navbar-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar-icon {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.navbar-icon:hover {
  color: var(--light-gold);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.navbar-toggle:hover span {
  background: var(--light-gold);
}

/* Adicionando estilos para cart badge na navbar */
.cart-icon-wrapper {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
  display: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Barra de busca expansível */
.search-bar {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--secondary-gold);
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-bar.active {
  transform: translateY(0);
  opacity: 1;
}

.search-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 16px 24px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 50px;
  font-size: 16px;
  font-family: "Darker Grotesque", sans-serif;
  color: var(--black);
  transition: var(--transition-smooth);
}

.search-input::placeholder {
  color: var(--dark-gray);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px rgba(198, 163, 90, 0.1);
}

.search-btn,
.search-close {
  width: 50px;
  height: 50px;
  background: var(--primary-gold);
  border: none;
  border-radius: 50%;
  color: var(--black);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.search-btn:hover,
.search-close:hover {
  background: var(--light-gold);
  transform: scale(1.05);
}

/* ========================================
   HERO SECTION - CORRIGIDO PARA DESKTOP E MOBILE
   ======================================== */
.hero-section {
  width: 100%;
  max-width: 1440px;
  /* 100vh - 80px (navbar fixa) = área visível exata abaixo da navbar */
  height: calc(100vh - 80px);
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: 40px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Título centralizado */
.title {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.title img {
  width: 160px;
  height: auto;
}

/* Subtítulo com melhor espaçamento */
.subtitle {
  width: 100%;
  max-width: 900px;
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.4;
  text-align: center;
  color: var(--primary-gold);
  padding: 0 20px;
  margin-bottom: 40px;
}

/* Carrossel corrigido - desktop mostra todos, mobile mostra um */
.products-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  padding: 40px 0;
  margin-bottom: 40px;
}

.carousel-track {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
}

.product-slide {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.product-card {
  width: 220px;
  height: 280px;
  background: linear-gradient(135deg, rgba(198, 163, 90, 0.08) 0%, rgba(198, 163, 90, 0.02) 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(198, 163, 90, 0.15);
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(198, 163, 90, 0.12);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 45px rgba(198, 163, 90, 0.25);
  border-color: var(--primary-gold);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

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

.card-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(198, 163, 90, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.product-card:hover .card-shine {
  opacity: 1;
}

.card-label {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
  position: relative;
  z-index: 2;
}

/* ========================================
   BOTÃO DE COMPRA
   ======================================== */
.cta-button {
  width: 398px;
  max-width: 90%;
  height: 85px;
  background: var(--primary-gold);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(198, 163, 90, 0.3);
}

.cta-button:hover {
  background: var(--secondary-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 163, 90, 0.4);
}

.cart-icon-container {
  width: 70px;
  height: 70px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 30px;
  transition: var(--transition-smooth);
}

.cta-button:hover .cart-icon-container {
  transform: scale(1.1);
  color: var(--secondary-gold);
}

.cta-text {
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: var(--white);
}

/* ===========================
   SOBRE A LOJA — FAST-FASHION EDITORIAL
   =========================== */

.about-section {
  background: #1c1612;
  overflow: hidden;
  border-top: 1px solid rgba(198, 163, 90, 0.15);
}

/* Grid 1:1 — imagem à esquerda sangra a altura total, conteúdo à direita */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  max-width: 1400px;
  margin: 0 auto;
}

/* IMAGEM — LADO ESQUERDO */
/* overflow: hidden necessário para conter o scale do hover */
.about-image-col {
  position: relative;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image-col:hover .about-image {
  transform: scale(1.04);
}

/* CONTEÚDO — LADO DIREITO */
.about-content {
  padding: 80px 80px 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

/* Eyebrow com traço decorativo gerado via ::before — sem elemento extra no HTML */
.about-eyebrow {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c6a35a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* Título dominante: grande e bold — weight 700 combina com DNA da marca
   clamp() vai de 3rem (mobile) a 5rem (desktop largo) sem media query */
.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #f5f0ea;
  font-style: normal;
  margin: 0;
}

/* <em> dentro do título: itálico dourado cria contraste rítmico na última linha */
.about-title em {
  font-style: italic;
  color: #c6a35a;
  font-weight: 600;
}

.about-body {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #9a8870;
  max-width: 38ch;
  margin: 0;
}

/* Stats com divisórias verticais entre os números — padrão editorial de moda */
.about-stats {
  display: flex;
  gap: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(198, 163, 90, 0.2);
  border-bottom: 1px solid rgba(198, 163, 90, 0.2);
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px;
  border-right: 1px solid rgba(198, 163, 90, 0.15);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #c6a35a;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

.stat-label {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5a4e44;
  font-weight: 600;
  display: block;
}

/* Botão retangular com fundo dourado — sem border-radius, sem sombra genérica
   No hover: inverte para outline, cria tensão visual elegante */
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1c1612;
  background: #c6a35a;
  text-decoration: none;
  padding: 16px 36px;
  align-self: flex-start;
  border: 1px solid #c6a35a;
  transition: background 0.25s ease, color 0.25s ease;
}

.about-link::after {
  content: '→';
  transition: transform 0.25s ease;
}

.about-link:hover {
  background: transparent;
  color: #c6a35a;
}

.about-link:hover::after {
  transform: translateX(4px);
}

/* ========================================
   SEÇÃO DE CONTATO
   ======================================== */
.contact {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23ffffff" fill-opacity="0.05"/></svg>') repeat;
  pointer-events: none;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* Botões de contato direto */
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-color: var(--white);
}

.btn-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.btn-icon i {
  font-size: 28px;
  color: var(--white);
}

.contact-btn-instagram .btn-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-btn-whatsapp .btn-icon {
  background: #25D366;
}

.contact-btn-phone .btn-icon {
  background: var(--secondary-gold);
}

.contact-btn:hover .btn-icon {
  transform: scale(1.1) rotate(5deg);
}

.btn-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.btn-label {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-text {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--secondary-gold);
}

/* Seção do formulário */
.form-section {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h3 {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-gold);
  margin-bottom: 10px;
}

.form-header p {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Formulário de contato */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Corrigindo form-group para que labels fiquem acima dos inputs */
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  color: var(--dark-gray);
  font-size: 15px;
  font-weight: 500;
  position: absolute;
  top: 15px;
  left: 17px;
  background: transparent;
  padding: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(198, 163, 90, 0.3);
  border-radius: 10px;
  color: var(--dark-gray);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
  color: rgba(95, 89, 89, 0.5);
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  font-family: "Darker Grotesque", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(198, 163, 90, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group input:not(:placeholder-shown)+label,
.form-group input:focus+label,
.form-group textarea:not(:placeholder-shown)+label,
.form-group textarea:focus+label {
  top: -10px;
  left: 12px;
  font-size: 13px;
  color: var(--primary-gold);
  background: var(--white);
  font-weight: 600;
  padding: 0 5px;
}

/* Botão de envio */
.submit-btn {
  padding: 18px 40px;
  background: var(--primary-gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  min-width: 250px;
  box-shadow: 0 6px 20px rgba(198, 163, 90, 0.3);
}

.submit-btn:hover {
  background: var(--secondary-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(198, 163, 90, 0.5);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn i {
  font-size: 18px;
}

/* ========================================
   FOOTER - MODERN COMPACT DESIGN
   ======================================== */
/* ========================================
   FOOTER - MODERN COMPACT DESIGN
   ======================================== */
.footer {
  background: var(--primary-gold);
  padding: 30px 0 15px;
  /* Reduzido padding superior e inferior */
  border-top: 2px solid var(--secondary-gold);
  border-bottom: 2px solid var(--secondary-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  /* Borda mais suave para tema escuro */
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  max-width: 350px;
}

.footer-logo-img {
  max-width: 140px;
  /* Tamaño original da logo */
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: var(--white);
  font-size: 16px;
  /* Tagline tamanho original */
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  /* Botões originais */
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 18px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--secondary-gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links-wrapper {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .footer-links-wrapper {
    gap: 32px;
    justify-content: flex-start;
    width: 100%;
  }
}

.footer-section h4 {
  color: var(--white);
  font-size: 20px;
  /* Header tamanho original */
  font-weight: 700;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section ul li a,
.footer-section ul li {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  /* Link original */
  transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
  color: var(--secondary-gold);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
}

.footer-bottom p {
  color: var(--white);
  font-size: 13px;
  margin: 0;
}

/* ========================================
   PÁGINA DE LOGIN - COMPLETAMENTE ESTILIZADA
   ======================================== */
.login-message {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-message.error {
  color: #e63946;
  /* vermelho bonito */
}

.login-message.success {
  color: #2a9d8f;
  /* verde bonito */
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 40px 20px;
}

.login-container {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  padding: 60px 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(198, 163, 90, 0.15);
  border: 1px solid rgba(198, 163, 90, 0.1);
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.login-logo img {
  width: 140px;
  height: auto;
}

.login-title {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-gold);
  text-align: center;
  margin-bottom: 10px;
}

.login-subtitle {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Corrigindo login form para labels acima dos inputs */
.login-form .form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-form .form-group label {
  color: var(--dark-gray);
  font-size: 14px;
  font-weight: 600;
  position: static;
  background: transparent;
  padding: 0;
}

.login-form .form-group input {
  width: 100%;
  padding: 18px 20px;
  background: rgba(26, 20, 16, 0.05);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  color: var(--dark-gray);
  font-size: 16px;
  transition: all 0.3s ease;
}

.login-form .form-group input::placeholder {
  color: rgba(95, 89, 89, 0.4);
  opacity: 1;
}

.login-form .form-group input:focus {
  outline: none;
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -10px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  color: var(--dark-gray);
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-gold);
}

.forgot-password {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 600;
}

.forgot-password:hover {
  color: var(--secondary-gold);
  text-decoration: underline;
}

/* Redesenhando área de código de verificação com 6 inputs em 2 linhas */
/* Ajustando verification code inputs para ficarem em linha */
.verification-code-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.verification-input {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  color: #D4AF37;
  transition: all 0.3s ease;
}

.verification-input:focus {
  outline: none;
  border-color: #D4AF37;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.login-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary-gold);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(198, 163, 90, 0.3);
}

.login-btn:hover {
  background: var(--secondary-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 163, 90, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.register-link {
  text-align: center;
  margin-top: 30px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  color: var(--dark-gray);
}

.register-link a {
  color: var(--primary-gold);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.register-link a:hover {
  color: var(--secondary-gold);
  text-decoration: underline;
}

/* ========================================
   PÁGINA ADMINISTRATIVA
   ======================================== */
.admin-page {
  display: flex;
  min-height: 100vh;
  background: #f5f5f5;
}

.admin-sidebar {
  width: 260px;
  background: var(--secondary-gold);
  padding: 30px 0;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.admin-logo {
  padding: 0 30px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.admin-logo img {
  width: 80px;
  height: auto;
}

.admin-menu {
  list-style: none;
}

.admin-menu-item {
  margin-bottom: 5px;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 30px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.admin-menu-link:hover,
.admin-menu-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.admin-menu-link i {
  font-size: 20px;
  width: 24px;
}

.admin-main {
  margin-left: 260px;
  width: calc(100% - 260px);
  padding: 40px;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.theme-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.admin-header-title {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #D4AF37;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-user-name {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #D4AF37;
}

.admin-user-role {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 14px;
  color: #8e753f;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.stat-icon.gold {
  background: var(--primary-gold);
}

.stat-icon.blue {
  background: #3b82f6;
}

.stat-icon.green {
  background: #10b981;
}

.stat-icon.orange {
  background: #f59e0b;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-label {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  color: #8e753f;
  font-weight: 600;
}

.stat-value {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #D4AF37;
}

.admin-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-content-title {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1410;
}

.admin-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  color: #1a1410;
  border: none;
  border-radius: 10px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: rgba(212, 175, 55, 0.1);
}

.admin-table th {
  padding: 15px;
  text-align: left;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 20px 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  color: #1a1410;
}

.admin-table tbody tr {
  transition: var(--transition-smooth);
}

.admin-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.1);
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.action-btn.view {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.action-btn.view:hover {
  background: #8b5cf6;
  color: var(--white);
}

.action-btn.edit {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.action-btn.edit:hover {
  background: #3b82f6;
  color: var(--white);
}

.action-btn.delete {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.action-btn.delete:hover {
  background: #ef4444;
  color: var(--white);
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.product-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.product-item-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #f5f5f5;
}

.product-item-info {
  padding: 20px;
}

.product-item-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1410;
  margin-bottom: 8px;
}

.product-item-category {
  font-size: 14px;
  color: #D4AF37;
  margin-bottom: 16px;
}

.product-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.product-item-price {
  font-size: 20px;
  font-weight: 700;
  color: #D4AF37;
}

.product-item-stock {
  font-size: 13px;
  color: #8e753f;
}

.product-item-actions {
  display: flex;
  gap: 8px;
}

/* Status Badges */
.status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.status-badge.status-paid {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-badge.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.status-badge.status-shipped {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  gap: 12px;
}

.filter-btn {
  padding: 10px 20px;
  background: transparent;
  color: #c4b5a0;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.filter-btn.active {
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  color: #1a1410;
  border-color: transparent;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Corrigindo category-card overflow */
.category-card {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  min-height: 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.category-info {
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.category-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1410;
  margin-bottom: 4px;
}

.category-count {
  font-size: 14px;
  color: #D4AF37;
  margin: 0;
}

.category-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.category-actions .action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.category-actions .action-btn:hover {
  background: #D4AF37;
  color: #1a1410;
}

/* Reports Grid */
#relatorios-section .admin-content {
  background: #ffffff;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.report-card {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.report-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1410;
}

.report-period {
  font-size: 13px;
  color: #8e753f;
}

.report-value {
  font-size: 36px;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 20px;
}

.report-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 20px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #D4AF37 0%, #C4A053 100%);
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  opacity: 0.8;
  transform: translateY(-5px);
}

.report-change {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-change.positive {
  color: #22c55e;
}

.report-change.negative {
  color: #ef4444;
}

.top-products {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
}

.product-rank {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  color: #1a1410;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.product-name {
  flex: 1;
  color: #1a1410;
  font-weight: 600;
}

.product-sales {
  color: #8e753f;
  font-size: 14px;
}

.conversion-stats,
.ticket-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.conversion-item,
.breakdown-item {
  padding: 12px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  text-align: center;
}

.conversion-item span,
.breakdown-item span {
  display: block;
  color: #8e753f;
  font-size: 13px;
  margin-bottom: 8px;
}

.conversion-item strong,
.breakdown-item strong {
  display: block;
  color: #D4AF37;
  font-size: 20px;
  font-weight: 700;
}

.export-section {
  background: #1a1410;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 32px;
}

.export-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.export-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.export-btn {
  padding: 14px 28px;
  background: transparent;
  color: #D4AF37;
  border: 2px solid #D4AF37;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.export-btn:hover {
  background: #D4AF37;
  color: #1a1410;
}

/* Settings */
.settings-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.settings-card {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.settings-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.settings-header i {
  font-size: 28px;
  color: #D4AF37;
}

.settings-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1410;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Correção dos labels nas configurações para não sobrepor conteúdo */
.settings-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-form label {
  color: #1a1410;
  font-size: 14px;
  font-weight: 600;
  position: static;
  top: auto;
  left: auto;
  background: transparent;
}

.settings-input,
.settings-textarea {
  padding: 14px 16px;
  padding-top: 20px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #1a1410;
  font-size: 15px;
  font-family: 'Darker Grotesque', sans-serif;
  transition: all 0.3s ease;
}

.settings-input::placeholder,
.settings-textarea::placeholder {
  color: rgba(26, 20, 16, 0.5);
  opacity: 1;
}

.settings-input:focus,
.settings-textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.settings-save-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  color: #1a1410;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.settings-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.payment-methods,
.notification-settings {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.payment-method,
.notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover,
.notification-item:hover {
  background: rgba(212, 175, 55, 0.1);
}

.payment-method input[type="checkbox"],
.notification-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #D4AF37;
}

.method-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1410;
  font-size: 20px;
}

.payment-method span:not(.method-icon),
.notification-item span {
  color: #1a1410;
  font-size: 16px;
  font-weight: 600;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-content.modal-small {
  max-width: 500px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1410;
}

.modal-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #8e753f;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #D4AF37;
}

.modal-form {
  padding: 32px;
}

.modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}

.modal-form label {
  color: #1a1410;
  font-size: 14px;
  font-weight: 600;
  position: static;
  top: auto;
  left: auto;
  background: transparent;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #1a1410;
  font-size: 15px;
  font-family: 'Darker Grotesque', sans-serif;
  transition: all 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #D4AF37;
  background: #ffffff;
  color: #1a1410;
}

.modal-form input[readonly] {
  background: #f5f5f5;
  color: #8e753f;
  cursor: not-allowed;
}

.modal-form input::placeholder,
.modal-form select::placeholder,
.modal-form textarea::placeholder {
  color: rgba(26, 20, 16, 0.5);
  opacity: 1;
}

.size-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.size-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.size-options label:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #D4AF37;
}

.size-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #D4AF37;
}

.modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.modal-btn-cancel {
  padding: 12px 32px;
  background: transparent;
  color: #8e753f;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn-cancel:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.modal-btn-save {
  padding: 12px 32px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  color: #1a1410;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.modal-btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.modal-btn-delete {
  padding: 12px 32px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.modal-btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.modal-body {
  padding: 32px;
}

.modal-body p {
  color: #1a1410;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.order-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #8e753f;
  font-size: 15px;
}

.detail-value {
  font-weight: 700;
  color: #1a1410;
  font-size: 16px;
}

.pedidos-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 250px;
}

.search-box i {
  position: absolute;
  left: 16px;
  color: #8e753f;
  z-index: 1;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 45px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #1a1410;
  font-size: 15px;
  font-family: 'Darker Grotesque', sans-serif;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #D4AF37;
  background: #ffffff;
  color: #1a1410;
}

.search-box input::placeholder {
  color: rgba(26, 20, 16, 0.5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-recent-orders {
  margin-top: 30px;
}

.dashboard-recent-orders .admin-content-title {
  font-size: 22px;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #D4AF37;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #C4A053;
  gap: 12px;
}

.view-all-link i {
  font-size: 12px;
}

/* ========================================
   DARK THEME STYLES
   ======================================== */
.admin-page.theme-dark {
  background: #1a1410;
}

.admin-page.theme-dark .admin-header {
  background: #2a2520;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .admin-content {
  background: #2a2520;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .admin-content-title {
  color: #fff;
}

.admin-page.theme-dark .stat-card {
  background: #2a2520;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .stat-label {
  color: #c4b5a0;
}

.admin-page.theme-dark .admin-user-role {
  color: #c4b5a0;
}

.admin-page.theme-dark .admin-table td {
  color: #c4b5a0;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .admin-table thead {
  background: rgba(212, 175, 55, 0.05);
}

.admin-page.theme-dark .admin-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.admin-page.theme-dark .product-item {
  background: #1a1410;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .product-item-name {
  color: #fff;
}

.admin-page.theme-dark .product-item-stock {
  color: #c4b5a0;
}

.admin-page.theme-dark .product-item-image {
  background: #0f0c09;
}

.admin-page.theme-dark .category-card {
  background: #1a1410;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .category-name {
  color: #fff;
}

.admin-page.theme-dark .settings-card {
  background: #1a1410;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .settings-header h3 {
  color: #fff;
}

.admin-page.theme-dark .settings-form label {
  color: #c4b5a0;
}

.admin-page.theme-dark .settings-input,
.admin-page.theme-dark .settings-textarea {
  background: #0f0c09;
  color: #fff;
  border-color: rgba(212, 175, 55, 0.2);
}

.admin-page.theme-dark .settings-input::placeholder,
.admin-page.theme-dark .settings-textarea::placeholder {
  color: rgba(196, 181, 160, 0.4);
}

.admin-page.theme-dark .payment-method span:not(.method-icon),
.admin-page.theme-dark .notification-item span {
  color: #fff;
}

.admin-page.theme-dark .modal-content {
  background: #2a2520;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .modal-header h2 {
  color: #fff;
}

.admin-page.theme-dark .modal-close {
  color: #c4b5a0;
}

.admin-page.theme-dark .modal-form label {
  color: #c4b5a0;
}

.admin-page.theme-dark .modal-form input,
.admin-page.theme-dark .modal-form select,
.admin-page.theme-dark .modal-form textarea {
  background: #1a1410;
  color: #fff;
  border-color: rgba(212, 175, 55, 0.2);
}

.admin-page.theme-dark .modal-form input::placeholder,
.admin-page.theme-dark .modal-form select::placeholder,
.admin-page.theme-dark .modal-form textarea::placeholder {
  color: rgba(196, 181, 160, 0.3);
}

.admin-page.theme-dark .modal-form input[readonly] {
  background: #1a1410;
  color: #c4b5a0;
}

.admin-page.theme-dark .modal-btn-cancel {
  color: #c4b5a0;
}

.admin-page.theme-dark .detail-label {
  color: #c4b5a0;
}

.admin-page.theme-dark .detail-value {
  color: #fff;
}

.admin-page.theme-dark .search-box input {
  background: #1a1410;
  color: #fff;
  border-color: rgba(212, 175, 55, 0.2);
}

.admin-page.theme-dark .search-box input:focus {
  background: #1a1410;
  color: #fff;
}

.admin-page.theme-dark .search-box input::placeholder {
  color: rgba(196, 181, 160, 0.3);
}

.admin-page.theme-dark .search-box i {
  color: #c4b5a0;
}

.admin-page.theme-dark #relatorios-section .admin-content {
  background: #2a2520;
}

.admin-page.theme-dark .report-card {
  background: #1a1410;
  border-color: rgba(212, 175, 55, 0.1);
}

.admin-page.theme-dark .report-header h3 {
  color: #fff;
}

.admin-page.theme-dark .product-name {
  color: #fff;
}

.admin-page.theme-dark .product-sales {
  color: #c4b5a0;
}

.admin-page.theme-dark .conversion-item span,
.admin-page.theme-dark .breakdown-item span {
  color: #c4b5a0;
}

.admin-page.theme-dark .view-all-link {
  color: #D4AF37;
}

.admin-page.theme-dark .modal-body p {
  color: #c4b5a0;
}

/* Dark theme alerts */
.admin-page.theme-dark .custom-alert {
  background: #1a1410;
  border-color: rgba(212, 175, 55, 0.3);
}

.admin-page.theme-dark .custom-alert.alert-success {
  background: linear-gradient(135deg, #1a1410 0%, #0f1f0f 100%);
  border-color: rgba(34, 197, 94, 0.4);
}

.admin-page.theme-dark .custom-alert.alert-error {
  background: linear-gradient(135deg, #1a1410 0%, #1f0f0f 100%);
  border-color: rgba(239, 68, 68, 0.4);
}

.admin-page.theme-dark .custom-alert.alert-warning {
  background: linear-gradient(135deg, #1a1410 0%, #1f1f0f 100%);
  border-color: rgba(234, 179, 8, 0.4);
}

.admin-page.theme-dark .custom-alert.alert-info {
  background: linear-gradient(135deg, #1a1410 0%, #0f0f1f 100%);
  border-color: rgba(59, 130, 246, 0.4);
}

.admin-page.theme-dark .custom-alert-title {
  color: #D4AF37;
}

.admin-page.theme-dark .custom-alert-message {
  color: rgba(255, 255, 255, 0.8);
}

.admin-page.theme-dark .custom-alert-close {
  color: rgba(255, 255, 255, 0.5);
}

.admin-page.theme-dark .custom-alert-close:hover {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .pedidos-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

  .admin-header-right {
    flex-direction: column;
    gap: 15px;
  }
}

/* ========================================
   CATALOG PAGE STYLES
   ======================================== */

/* Catalog Hero */
.catalog-hero {
  width: 100%;
  background: var(--bg-primary);
  padding: 20px 20px 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(198, 163, 90, 0.2);
}

.catalog-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.catalog-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0;
  letter-spacing: 2px;
}

.catalog-hero-subtitle {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 20px;
  color: var(--secondary-gold);
  font-weight: 500;
}

/* Catalog Section */
.catalog-section {
  padding: 60px 20px 100px;
  background: var(--white);
}

.catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Filtros Laterais */
.catalog-filters {
  background: var(--white);
  border: 1px solid var(--secondary-gold);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 15px rgba(142, 117, 63, 0.1);
}

.filters-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(198, 163, 90, 0.3);
}

.filter-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn-catalog {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--primary-gold);
  border-radius: 12px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.filter-btn-catalog i {
  font-size: 18px;
  color: var(--primary-gold);
  width: 24px;
  text-align: center;
}

.filter-btn-catalog span:first-of-type {
  flex: 1;
}

.filter-count {
  font-size: 14px;
  color: var(--medium-gray);
  background: rgba(198, 163, 90, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
}

.filter-btn-catalog:hover {
  background: rgba(198, 163, 90, 0.05);
  border-color: var(--primary-gold);
  transform: translateX(4px);
}

.filter-btn-catalog.active {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  color: white;
  border-color: transparent;
}

.filter-btn-catalog.active i,
.filter-btn-catalog.active .filter-count {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

/* Filtro de Preço */
.price-filter,
.sort-filter {
  margin-bottom: 32px;
}

.filter-subtitle {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 16px;
}

.price-range {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 16px;
}

.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-input-group label {
  font-size: 12px;
  color: var(--medium-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-input-group input {
  padding: 10px 12px;
  border: 1px solid var(--primary-gold);
  background: var(--white);
  border-radius: 8px;
  font-size: 14px;
  color: var(--secondary-gold);
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 600;
}

.price-input-group input:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.price-separator {
  display: none;
}

.apply-filter-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.apply-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 163, 90, 0.3);
}

/* Ordenação */
.sort-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--primary-gold);
  border-radius: 10px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-gold);
  background: var(--white);
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary-gold);
}

/* Conteúdo do Catálogo */
.catalog-content {
  min-height: 600px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(198, 163, 90, 0.2);
}

.catalog-results {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  color: var(--secondary-gold);
}

.catalog-results strong {
  color: var(--primary-gold);
  font-weight: 700;
}

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* Grid de Produtos */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

/* Card de Produto do Catálogo */
.catalog-product-card {
  background: var(--white);
  border: 1px solid var(--secondary-gold);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: 0 4px 15px rgba(142, 117, 63, 0.05);
}

.catalog-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(198, 163, 90, 0.2);
  border-color: var(--primary-gold);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  font-family: "Darker Grotesque", sans-serif;
}

.product-badge.new {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.product-badge.sale {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  color: white;
}

.product-badge.best-seller {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  color: white;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--bg-secondary);
  overflow: hidden;
  border-bottom: 1px solid var(--secondary-gold);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.catalog-product-card:hover .product-image {
  transform: scale(1.1);
}

.product-quick-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
}

.catalog-product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-action-btn:hover {
  background: var(--primary-gold);
  color: white;
  transform: scale(1.1);
}

.product-info-catalog {
  padding: 20px;
}

.product-category-label {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name-catalog {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.product-rating i {
  font-size: 14px;
  color: var(--primary-gold);
}

.product-rating span {
  font-size: 13px;
  color: var(--medium-gray);
  margin-left: 6px;
}

.product-price-catalog {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.price {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-gold);
}

.price-old {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--medium-gray);
  text-decoration: line-through;
}
/* Paginação */
.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--primary-gold);
  border-radius: 10px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(198, 163, 90, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  color: white;
  border-color: transparent;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsividade do Catálogo */
@media (max-width: 1024px) {
  .catalog-container {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .catalog-hero-subtitle {
    font-size: 18px;
  }

  .catalog-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-filters {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 85%;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-radius: 0;
  }

  .catalog-filters.active {
    left: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  }

  /* Reaproveitando o overlay do menu hamburger para o filtro também */
  .catalog-filters.active ~ .mobile-menu-overlay,
  body:has(.catalog-filters.active) .mobile-menu-overlay {
    display: block;
    opacity: 1;
    z-index: 999;
  }

  .mobile-filter-toggle {
    display: flex;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .product-image-wrapper {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-image-wrapper {
    height: 320px;
  }
}

/* Breadcrumbs para navegação */
.breadcrumbs {
  background: var(--light-gray);
  padding: 20px 0;
  margin-top: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumbs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
  color: var(--primary-gold);
}

.breadcrumbs i {
  color: rgba(0, 0, 0, 0.3);
  font-size: 10px;
}

.breadcrumbs span {
  color: var(--primary-gold);
  font-size: 14px;
  font-weight: 600;
}

/* Página de detalhes do produto */
.product-detail {
  padding: 60px 0;
  background: var(--white);
}

.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--light-gray);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  transform: scale(1.1);
}

.wishlist-btn.active i {
  color: #ff4757;
}

.product-badge-detail {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-gold);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.thumb:hover,
.thumb.active {
  border-color: var(--primary-gold);
  transform: scale(1.05);
}

.product-info-detail {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.product-category-badge {
  display: inline-block;
  background: var(--light-gray);
  color: var(--primary-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.product-title-detail {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  line-height: 1.2;
}

.product-rating-detail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--primary-gold);
  font-size: 18px;
}

.rating-count {
  color: var(--text-light);
  font-size: 15px;
}

.product-price-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.price-main {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-gold);
  font-family: "Cormorant Garamond", serif;
}

.price-installment {
  font-size: 14px;
  color: var(--text-light);
}

.product-description {
  line-height: 1.7;
  color: var(--text-dark);
  font-size: 16px;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-label {
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
}

.size-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-btn {
  width: 60px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-dark);
}

.size-btn:hover {
  border-color: var(--primary-gold);
}

.size-btn.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--black);
}

.size-guide-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: var(--transition-smooth);
}

.size-guide-link:hover {
  text-decoration: underline;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
}

.qty-btn {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-dark);
}

.qty-btn:hover {
  background: var(--light-gray);
}

.qty-input {
  width: 60px;
  height: 50px;
  border: none;
  border-left: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.qty-input:focus {
  outline: none;
}

.stock-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #28a745;
  font-size: 14px;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn-add-cart,
.btn-buy-now {
  flex: 1;
  padding: 18px 32px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-add-cart {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
  color: var(--black);
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 163, 90, 0.3);
}

.btn-buy-now {
  background: linear-gradient(135deg, var(--black) 0%, #1a1410 100%);
  color: var(--white);
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;
  background: var(--light-gray);
  border-radius: 12px;
  margin-top: 10px;
}

.feature-item-detail {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-item-detail i {
  font-size: 24px;
  color: var(--primary-gold);
}

.feature-item-detail strong {
  display: block;
  color: var(--black);
  margin-bottom: 3px;
  font-size: 15px;
}

.feature-item-detail p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

.product-details-tabs {
  margin-top: 20px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  bottom: -2px;
}

.tab-btn:hover {
  color: var(--primary-gold);
}

.tab-btn.active {
  color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.detail-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-list li {
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
  line-height: 1.6;
}

.detail-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-size: 20px;
}

/* Related products section */
.related-products {
  padding: 60px 0;
  background: var(--light-gray);
}

.products-grid-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-spinner p {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

/* Responsivo para footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .search-bar {
    top: 80px;
  }

  .breadcrumbs {
    margin-top: 80px;
  }

  .product-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-title-detail {
    font-size: 32px;
  }

  .product-actions {
    flex-direction: column;
  }

  .products-grid-related {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ========================================
   RESPONSIVIDADE - TABLET E MOBILE
   ======================================== */
@media (max-width: 900px) {
  .subtitle {
    font-size: 38px;
  }

  /* SOBRE — tablet: grid vira coluna única, imagem já está primeira no DOM */
  .about-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* aspect-ratio 4/5 = proporção retrato padrão de moda no mobile */
  .about-image-col {
    aspect-ratio: 4 / 5;
  }

  .about-image {
    height: 100%;
  }

  .about-content {
    padding: 60px 40px;
    gap: 28px;
  }

  .about-body {
    max-width: 100%;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .form-section {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 40px;
  }

  .settings-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  /*
   * Posição da lupa e outros ícones da navbar no MOBILE
   * Edite os valores abaixo para ajustar do jeito que preferir
   */
  .navbar-icons {
    /* Empurra os ícones (lupa) para a direita, colando com o menu hamburguer */
    margin-left: auto;
    /* Distância entre a lupa e o menu hamburguer (ajuste a gosto) */
    margin-right: 25px;
  }

  .navbar-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: calc(100vh - 80px);
    background: rgba(26, 20, 16, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 40px 30px;
    gap: 20px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-item {
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    text-align: left;
    width: 100%;
  }

  .navbar-toggle {
    display: flex;
    z-index: 1000;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Adicionando overlay para menu mobile */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .navbar-menu.active~.mobile-menu-overlay,
  body:has(.navbar-menu.active) .mobile-menu-overlay {
    display: block;
    opacity: 1;
  }

  /* Ajustando placeholders para mobile - garantir que fiquem visíveis acima dos inputs */
  .form-group {
    position: relative;
    margin-bottom: 24px;
  }

  .form-group label {
    font-size: 13px;
    font-weight: 600;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 18px;
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--black);
    transition: all 0.3s ease;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder,
  .form-group select::placeholder {
    color: rgba(95, 89, 89, 0.5);
    opacity: 1;
  }

  /* Settings form inputs no mobile */
  .settings-input {
    padding: 14px 16px;
    padding-top: 20px;
    font-size: 15px;
  }

  .settings-group label {
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 12px;
    color: var(--light-gold);
    opacity: 1;
    transform: none;
  }

  /* Checkout form no mobile */
  .checkout-form .form-group label {
    top: -20px;
    font-size: 13px;
  }

  .checkout-form input {
    padding: 14px 16px;
  }

  .hero-section {
    height: auto;
    min-height: auto;
    padding: 30px 20px 60px;
  }

  .title img {
    width: 120px;
  }

  .subtitle {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .products-carousel {
    margin-bottom: 30px;
    padding: 20px 0;
  }

  .carousel-track {
    padding: 0;
    gap: 0;
    justify-content: flex-start;
  }

  .product-slide {
    width: 100%;
    min-width: 100%;
  }

  .product-card {
    width: 90%;
    max-width: 300px;
    height: 320px;
    margin: 0 auto;
  }

  .cta-button {
    width: 90%;
    max-width: 350px;
    height: 75px;
  }

  .cta-text {
    font-size: 26px;
  }

  .cart-icon {
    width: 55px;
    height: 55px;
    background-size: 35px;
  }

  .login-container {
    padding: 40px 30px;
  }

  .admin-sidebar {
    width: 70px;
    padding: 20px 0;
  }

  .admin-logo {
    padding: 0 10px 20px;
  }

  .admin-logo img {
    width: 50px;
  }

  .admin-menu-link span {
    display: none;
  }

  .admin-menu-link {
    justify-content: center;
    padding: 18px 10px;
  }

  .admin-main {
    margin-left: 70px;
    width: calc(100% - 70px);
    padding: 20px;
  }

  .admin-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .admin-header-title {
    font-size: 32px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 20px;
    overflow-x: auto;
  }

  .admin-content-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .admin-btn {
    width: 100%;
    justify-content: center;
  }

  .admin-table {
    min-width: 800px;
  }
}

@media (max-width: 480px) {
  .subtitle {
    font-size: 26px;
  }

  .title img {
    width: 100px;
  }

  .product-card {
    width: 95%;
    max-width: 280px;
    height: 300px;
  }

  .cta-button {
    height: 65px;
  }

  .cart-icon-container {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .cta-text {
    font-size: 22px;
  }

  .about-content {
    padding: 48px 24px;
    gap: 24px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 0;
  }

  /* no celular < 480px, stats viram 2 colunas */
  .stat {
    flex: 0 0 50%;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(198, 163, 90, 0.15);
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid rgba(198, 163, 90, 0.15);
  }

  .stat:nth-child(3) {
    border-bottom: none;
  }

  .section-title {
    font-size: 32px;
  }

  .login-container {
    padding: 30px 20px;
  }

  .admin-main {
    padding: 15px;
  }

  .admin-header-title {
    font-size: 28px;
  }
}

/* Custom Alert Styles */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 320px;
  max-width: 400px;
  padding: 20px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: slideInRight 0.3s ease;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.custom-alert.alert-success {
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.custom-alert.alert-success .custom-alert-title {
  color: #16a34a;
}

.custom-alert.alert-error {
  border-color: rgba(239, 68, 68, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.custom-alert.alert-error .custom-alert-title {
  color: #dc2626;
}

.custom-alert.alert-warning {
  border-color: rgba(234, 179, 8, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
}

.custom-alert.alert-warning .custom-alert-title {
  color: #ca8a04;
}

.custom-alert.alert-info {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.custom-alert.alert-info .custom-alert-title {
  color: #2563eb;
}

.custom-alert-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.alert-success .custom-alert-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.alert-error .custom-alert-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.alert-warning .custom-alert-icon {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.alert-info .custom-alert-icon {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.custom-alert-content {
  flex: 1;
}

.custom-alert-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1410;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
  font-family: 'Darker Grotesque', sans-serif;
}

.custom-alert-message {
  font-size: 14px;
  color: #8e753f;
  margin: 0;
  line-height: 1.6;
  font-family: 'Darker Grotesque', sans-serif;
}

.custom-alert-close {
  background: none;
  border: none;
  color: #8e753f;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border-radius: 6px;
}

.custom-alert-close:hover {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
}

/* Cart Page Styles */
.cart-page {
  min-height: 100vh;
  background: var(--bg-primary);
  padding: 120px 20px 80px;
}

.cart-container {
  max-width: 1400px;
  margin: 0 auto;
}

.cart-golden-wrapper {
  background: linear-gradient(135deg, #c6a35a 0%, #8e753f 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(142, 117, 63, 0.4);
  border: 1px solid #d4b77a;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--light-gray);
}

.breadcrumb span {
  color: var(--white);
}

.breadcrumb i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.cart-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure cart items separate visually from the gold background */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  background: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Cart Summary should be inside a white box now to stand out */
.cart-summary {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.cart-item {
  background: var(--white);
  border: 1px solid rgba(198, 163, 90, 0.3);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 24px;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-description {
  font-size: 14px;
  color: var(--dark-gray);
  margin-bottom: 8px;
  max-width: 400px;
  line-height: 1.4;
}

.cart-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.item-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0807;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
}

.item-size,
.item-color {
  font-size: 14px;
  color: var(--dark-gray);
  margin: 4px 0;
}

.item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--primary-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.qty-btn:hover {
  color: var(--dark-gold);
  transform: scale(1.1);
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
}

.item-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-gold);
  min-width: 120px;
  text-align: right;
}

.remove-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.05);
}

.cart-summary {
  background: var(--white);
  border: 1px solid rgba(198, 163, 90, 0.3);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.summary-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--dark-gray);
}

.summary-item span:last-child {
  font-weight: 600;
  color: var(--black);
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-info i {
  color: #D4AF37;
  font-size: 14px;
  cursor: help;
}

.summary-divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.2);
  margin: 20px 0;
}

.summary-total {
  font-size: 20px;
  font-weight: 700;
  color: #D4AF37 !important;
  margin-top: 16px;
}

.summary-total span {
  color: #D4AF37 !important;
}

.coupon-section {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.coupon-input {
  flex: 1;
  padding: 12px 16px;
  background: #0a0807;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}

.coupon-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.coupon-btn {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid #D4AF37;
  border-radius: 8px;
  color: #D4AF37;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.coupon-btn:hover {
  background: #D4AF37;
  color: #0a0807;
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  border: none;
  border-radius: 12px;
  color: #0a0807;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.continue-shopping:hover {
  color: #D4AF37;
}

.payment-methods {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.payment-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-icons {
  display: flex;
  gap: 12px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.4);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #D4AF37;
  color: #0a0807;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

@keyframes slideOutRight {
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .cart-content {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .item-image {
    width: 80px;
    height: 80px;
  }

  .item-quantity,
  .item-price,
  .item-remove {
    grid-column: 2;
  }

  .item-quantity {
    justify-self: start;
  }

  .item-price {
    justify-self: start;
    text-align: left;
  }

  .item-remove {
    justify-self: end;
  }
}

/* Checkout Page Styles */
.checkout-page {
  min-height: 100vh;
  background: #0a0807;
  padding: 120px 20px 80px;
}

.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
}

.checkout-title {
  font-size: 36px;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.step.active {
  opacity: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a1410;
  border: 2px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s;
}

.step.active .step-number {
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  border-color: #D4AF37;
  color: #0a0807;
}

.step span {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.step-line {
  width: 100px;
  height: 2px;
  background: rgba(212, 175, 55, 0.2);
  margin: 0 20px;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

.checkout-form-container {
  background: #1a1410;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 40px;
}

.checkout-section {
  display: none;
}

.checkout-section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: #D4AF37;
}

/* Corrigindo checkout form labels */
.checkout-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-form label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  position: static;
  background: transparent;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  padding: 14px 16px;
  background: #0a0807;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  transition: all 0.2s;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.checkout-form .form-row:has(.cep-btn) {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.cep-btn {
  padding: 14px 24px;
  background: transparent;
  border: 1px solid #D4AF37;
  border-radius: 8px;
  color: #D4AF37;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cep-btn:hover {
  background: #D4AF37;
  color: #0a0807;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.payment-option {
  position: relative;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
}

.option-content {
  padding: 20px;
  background: #0a0807;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.option-content i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.option-content span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.payment-option input:checked+.option-content {
  background: rgba(212, 175, 55, 0.1);
  border-color: #D4AF37;
}

.payment-option input:checked+.option-content i,
.payment-option input:checked+.option-content span {
  color: #D4AF37;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.next-btn,
.finish-btn {
  flex: 1;
  padding: 16px;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  border: none;
  border-radius: 12px;
  color: #0a0807;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.next-btn:hover,
.finish-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.back-btn {
  padding: 16px 32px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  color: #D4AF37;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn:hover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
}

.order-summary {
  background: #1a1410;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
}

.summary-products {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.summary-product {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-product img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #0a0807;
}

.product-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.product-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: #D4AF37;
}

.summary-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-totals .summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.summary-totals .summary-item.total {
  font-size: 20px;
  font-weight: 700;
  color: #D4AF37;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.security-badges {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.badge {
  flex: 1;
  padding: 12px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.badge i {
  color: #D4AF37;
}

@media (max-width: 1024px) {
  .checkout-content {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .checkout-form .form-row {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .checkout-steps {
    flex-direction: column;
    gap: 20px;
  }

  .step-line {
    width: 2px;
    height: 40px;
    margin: 0;
  }
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  background: #0a0807;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.success-container {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.success-animation {
  margin-bottom: 32px;
}

.check-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.check-circle.show {
  transform: scale(1);
}

.check-circle i {
  font-size: 60px;
  color: #0a0807;
}

.success-title {
  font-size: 36px;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.success-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}

.order-details {
  background: #1a1410;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.order-number {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.order-number .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-number .value {
  font-size: 28px;
  font-weight: 700;
  color: #D4AF37;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.info-item i {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4AF37;
  font-size: 18px;
  flex-shrink: 0;
}

.info-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.order-summary-box {
  background: #1a1410;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.order-summary-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-align: left;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: #D4AF37;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.success-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.action-btn {
  flex: 1;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
}

.action-btn.primary {
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  color: #0a0807;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.action-btn.secondary {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
}

.action-btn.secondary:hover {
  background: rgba(212, 175, 55, 0.1);
}

.next-steps {
  background: #1a1410;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  text-align: left;
}

.next-steps h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37 0%, #C4A053 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a0807;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.support-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  text-align: left;
}

.support-message i {
  font-size: 32px;
  color: #D4AF37;
}

.support-message strong {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.support-message p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.support-message a {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 600;
}

.support-message a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .success-title {
    font-size: 28px;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
  }

  .success-actions {
    flex-direction: column;
  }

  .support-message {
    flex-direction: column;
    text-align: center;
  }
}

/* Delivery Tracking Page */
.delivery-page {
  background: #f7f4ef;
  color: #2b211c;
  min-height: 100vh;
}

.delivery-hero {
  padding: 100px 20px 40px;
  text-align: center;
}

.delivery-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #b18c5d;
  margin-bottom: 12px;
}

.delivery-hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero-text {
  font-size: 18px;
  color: rgba(43, 33, 28, 0.7);
}

.delivery-simple {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.delivery-card-simple {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(29, 21, 15, 0.08);
}

.simple-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(43, 33, 28, 0.6);
  margin-bottom: 4px;
}

.simple-header strong {
  font-size: 24px;
}

.simple-updated {
  font-size: 14px;
  color: rgba(43, 33, 28, 0.6);
}

.simple-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px dashed rgba(43, 33, 28, 0.15);
  border-radius: 16px;
  background: #fdfaf5;
  flex-wrap: wrap;
}

.tracking-code {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 4px 0 0;
}

.copy-btn-light {
  border: none;
  border-radius: 999px;
  background: #2b211c;
  color: #fff;
  padding: 14px 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.copy-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(43, 33, 28, 0.2);
}

.correios-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 16px;
  background: #d4af37;
  color: #2b211c;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.correios-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.35);
}

.delivery-tips {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 16px 35px rgba(29, 21, 15, 0.06);
}

.delivery-tips h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.delivery-tips ul {
  list-style: disc;
  padding-left: 20px;
  color: rgba(43, 33, 28, 0.8);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 640px) {
  .delivery-hero h1 {
    font-size: 28px;
  }

  .simple-code-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .copy-btn-light,
  .correios-btn {
    width: 100%;
    justify-content: center;
  }
}

/* User Menu Dropdown */
.user-menu {
  position: relative;
  cursor: pointer;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 250px;
  z-index: 1000;
  margin-top: 10px;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-info {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.user-info strong {
  display: block;
  color: #333;
  margin-bottom: 5px;
}

.user-info span {
  font-size: 0.85rem;
  color: #666;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.user-dropdown a:hover {
  background: #f8f9fa;
}

.user-dropdown a i {
  color: var(--primary-gold);
  width: 20px;
}

/* ========================================
   MODAL DE PRODUTO
   ======================================== */
.product-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.product-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.product-modal-overlay.active .product-modal {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: #555;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--primary-gold);
  color: var(--white);
}

/* Layout principal: galeria | info */
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 0;
}

/* ------- GALERIA ------- */
.modal-gallery {
  position: relative;
  display: flex;
  flex-direction: row;
  background: #f2ede8;
  overflow: hidden;
}

.modal-zoom-badge {
  position: absolute;
  top: 14px;
  left: 98px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  z-index: 2;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  user-select: none;
}

.modal-zoom-badge:hover { background: rgba(255, 255, 255, 1); }

.modal-zoom-badge i {
  font-size: 13px;
  color: var(--primary-gold);
}

.modal-thumbnails-strip {
  width: 82px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 52px 0 12px 10px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.modal-thumb {
  width: 64px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb.active {
  border-color: var(--primary-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.modal-image-main {
  flex: 1;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.modal-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#modalImagePlaceholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e0d8;
  color: #aaa;
  font-size: 20px;
}

/* ------- PAINEL INFO ------- */
.modal-info {
  padding: 32px 28px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-title-underline {
  width: 38px;
  height: 2px;
  background: var(--primary-gold);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.modal-price-block {
  margin-bottom: 18px;
}

.modal-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 4px;
}

.modal-installments {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-installments i {
  color: #bbb;
  font-size: 14px;
  cursor: help;
}

.modal-divider {
  border: none;
  border-top: 1px solid #ececec;
  margin: 14px 0;
  flex-shrink: 0;
}

.modal-size-guide {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-decoration: none;
  margin-top: 8px;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
  transition: opacity 0.2s;
}

.modal-size-guide:hover { opacity: 0.7; }

.modal-cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.add-to-cart-btn-modal {
  flex: 1;
  background: var(--primary-gold);
  color: var(--white);
  border: none;
  padding: 15px 20px;
  border-radius: 50px;
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.add-to-cart-btn-modal:hover {
  background: var(--secondary-gold);
  transform: translateY(-2px);
}

.modal-wishlist-btn {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #aaa;
  transition: border-color 0.2s, color 0.2s;
}

.modal-wishlist-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* ------- BENEFÍCIOS ------- */
.modal-benefits-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 14px 24px;
  background: #faf8f5;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-item i {
  font-size: 20px;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.benefit-item div {
  display: flex;
  flex-direction: column;
}

.benefit-item strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.2px;
}

.benefit-item span {
  font-size: 11px;
  color: #999;
}

.benefit-divider {
  width: 1px;
  height: 34px;
  background: #ddd;
  margin: 0 12px;
}

/* ------- BARRA DE SEGURANÇA ------- */
.modal-security-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  background: #faf8f5;
  border-top: 1px solid #eee;
  font-size: 10px;
  font-weight: 700;
  color: #999;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.modal-security-bar i {
  color: #bbb;
  font-size: 11px;
}

.sec-sep { color: #ccc; }

/* ------- RESPONSIVO (mobile) ------- */
@media (max-width: 768px) {

  /* Overlay: alinha ao bottom para efeito bottom-sheet */
  .product-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  /* Modal: full width, sobe da base da tela */
  .product-modal {
    width: 100%;
    max-width: 100%;
    max-height: 96vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(40px);
  }

  .product-modal-overlay.active .product-modal {
    transform: translateY(0);
  }

  /* Botão fechar: canto superior direito da galeria */
  .modal-close-btn {
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
  }

  /* Body: coluna — galeria em cima, info embaixo */
  .modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  /* Galeria: imagem full-width, altura fixa */
  .modal-gallery {
    height: 54vw;
    max-height: 340px;
    min-height: 220px;
    flex-shrink: 0;
    position: relative;
  }

  /* Imagem ocupa toda a galeria */
  .modal-image-main {
    position: absolute;
    inset: 0;
    min-height: unset;
  }

  /* Zoom badge: canto superior esquerdo da imagem */
  .modal-zoom-badge {
    left: 14px;
    top: 12px;
    font-size: 10px;
  }

  /* Miniaturas: tira HORIZONTAL na base da imagem */
  .modal-thumbnails-strip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    flex-direction: row;
    padding: 0;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .modal-thumbnails-strip::-webkit-scrollbar { display: none; }

  .modal-thumb {
    width: 72px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
  }

  /* Info: scrollable, ocupa o espaço restante */
  .modal-info {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 20px 16px;
    position: relative; /* para o coração absoluto */
  }

  .modal-info h3 {
    font-size: 24px;
    padding-right: 48px; /* espaço para o botão coração */
  }

  .modal-title-underline { margin-bottom: 14px; }

  /* Coração: canto superior direito do painel info */
  .modal-wishlist-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    /* Remove do modal-cta-row pelo position absolute */
  }

  /* Botão CTA ocupa toda a largura */
  .modal-cta-row {
    gap: 0;
  }

  .add-to-cart-btn-modal {
    border-radius: 12px;
  }

  /* Benefícios: ícone em cima do texto, 3 colunas */
  .modal-benefits-bar {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 14px 10px;
    text-align: center;
  }

  .benefit-item {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .benefit-item i { font-size: 22px; }

  .benefit-item strong { font-size: 11px; }

  .benefit-item span { font-size: 10px; }

  .benefit-divider { display: none; }

  .modal-security-bar { font-size: 9px; letter-spacing: 0.8px; }
}

/* ========================================
   MODAL DYNAMIC COLORS & SIZES
   ======================================== */
.modal-colors-wrapper {
  margin: 0 0 6px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.colors-title {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.colors-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1.5px #ccc;
  transition: transform 0.2s, box-shadow 0.2s;
}

.color-box:hover {
  transform: scale(1.12);
}

.color-box.active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary-gold);
  transform: scale(1.1);
}

/* Categoria não exibida no novo design */
.modal-category { display: none; }

/* Seção de tamanhos no modal */
.modal-sizes-wrapper {
  margin: 0 0 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sizes-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Variantes no admin — linha de cor + foto */
.variant-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.variant-row .variant-cor-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--medium-gray);
  background: var(--input-bg);
  font-family: inherit;
  font-size: 14px;
}

.variant-file-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--primary-gold);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: background 0.2s;
}

.variant-file-btn:hover {
  background: var(--secondary-gold);
}

.remove-variant-btn {
  background: none;
  border: 1px solid #cc0000;
  color: #cc0000;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.remove-variant-btn:hover {
  background: #cc0000;
  color: #fff;
}

.add-variant-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.add-variant-btn:hover {
  background: var(--primary-gold);
  color: var(--white);
}

/* ========================================
   SKELETON LOADER — catálogo
   ======================================== */
@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-card-skeleton {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s infinite;
  border-radius: 4px;
}

.skeleton-image {
  width: 100%;
  height: 280px;
  border-radius: 0;
}

.skeleton-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-text          { height: 13px; }
.skeleton-text.short    { width: 38%; }
.skeleton-text.long     { width: 78%; }
.skeleton-text.medium   { width: 56%; }

/* ========================================
   BOTÃO "ADICIONAR" NOS CARDS DO CATÁLOGO
   ======================================== */
.catalog-product-card {
  display: flex;
  flex-direction: column;
}

.product-info-catalog {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-price-catalog {
  flex: 1;
}

.catalog-add-btn {
  margin: 8px 14px 14px;
  background: var(--primary-gold);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.2s, transform 0.15s;
}

.catalog-add-btn:hover {
  background: var(--secondary-gold);
  transform: translateY(-1px);
}

/* ========================================
   TOAST — ADICIONADO AO CARRINHO
   ======================================== */
.cart-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #1a1a1a;
  color: #fff;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 99999;
  pointer-events: none;
  white-space: nowrap;
}

.cart-toast i { color: var(--primary-gold); }

.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   PÁGINA DO CARRINHO
   ======================================== */
.cart-page {
  min-height: calc(100vh - 80px);
  padding: 40px 0 80px;
}

.cart-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.cart-golden-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #999;
}

.breadcrumb a {
  color: var(--primary-gold);
  font-weight: 600;
  text-decoration: none;
}

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

.breadcrumb i { font-size: 10px; }

.cart-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 32px;
}

/* Layout: itens (esq) + resumo (dir) */
.cart-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* ── Itens ── */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #faf8f5;
  border-radius: 14px;
  padding: 16px;
}

.item-image {
  width: 90px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 22px;
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-name {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
}

.item-attrs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.item-attrs span {
  font-size: 13px;
  color: #777;
}

.item-cor-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.item-size-tag {
  background: #eee;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px !important;
  font-weight: 700;
  color: #555 !important;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}

.item-quantity button {
  width: 30px;
  height: 30px;
  background: var(--white);
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.item-quantity button:hover {
  border-color: var(--primary-gold);
  background: rgba(198,163,90,0.08);
}

.item-quantity span {
  min-width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.item-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-gold);
  white-space: nowrap;
}

.item-remove-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.item-remove-btn:hover { color: #e74c3c; }

/* Estado vazio */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #bbb;
}

.cart-empty i {
  font-size: 52px;
  margin-bottom: 16px;
  display: block;
}

.cart-empty p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* ── Resumo ── */
.cart-summary {
  background: #faf8f5;
  border-radius: 16px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
}

.summary-item .shipping-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.summary-item .shipping-info i {
  color: #bbb;
  font-size: 13px;
  cursor: help;
}

.summary-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 16px 0;
}

.summary-total {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--black) !important;
  margin-bottom: 20px;
}

.summary-total-val { color: var(--primary-gold); }

.checkout-btn {
  width: 100%;
  background: #25d366;
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  transition: background 0.2s, transform 0.15s;
}

.checkout-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-gold);
  text-decoration: none;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}

.continue-shopping:hover { opacity: 0.7; }

.payment-methods {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.payment-title {
  font-size: 12px;
  color: #aaa;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.payment-icons {
  display: flex;
  gap: 12px;
  font-size: 26px;
  color: #bbb;
}

/* ── Fix modal mobile: imagem sem corte ── */
@media (max-width: 768px) {
  .modal-image-main img {
    object-fit: contain;
  }

  .modal-gallery {
    height: 52vh;
    max-height: 400px;
    min-height: 240px;
    background: #f2ede8;
  }
}

/* ── Carrinho responsivo ── */
@media (max-width: 768px) {
  .cart-golden-wrapper {
    padding: 24px 16px;
  }

  .cart-content {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px;
  }

  .item-image {
    width: 70px;
    height: 85px;
  }

  .cart-title { font-size: 28px; }
}

/* ========================================
   CARRINHO — REDESIGN v2
   ======================================== */

/* Título + "Continuar comprando" na mesma linha */
.cart-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 16px;
}

/* Underline dourado após o título */
.cart-title {
  margin-bottom: 0;
}
.cart-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-gold);
  margin-top: 8px;
  border-radius: 2px;
}

/* Nota de segurança abaixo do título */
.cart-security-note {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.cart-security-note i { color: var(--primary-gold); font-size: 12px; }

/* Botão outline "Continuar comprando" — canto superior direito */
.continue-shopping-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--primary-gold);
  border-radius: 50px;
  color: var(--primary-gold);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  align-self: center;
}
.continue-shopping-top:hover {
  background: var(--primary-gold);
  color: var(--white);
}

/* Checkout: dourado com cadeado */
.checkout-btn {
  background: var(--primary-gold);
}
.checkout-btn:hover {
  background: var(--secondary-gold);
  transform: translateY(-1px);
}

/* Nota "Ambiente 100% seguro" abaixo do botão */
.cart-secure-checkout {
  text-align: center;
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.cart-secure-checkout i { color: var(--primary-gold); }

/* Underline dourado no "Resumo do Pedido" */
.summary-title { margin-bottom: 6px; }
.summary-title-line {
  width: 36px;
  height: 3px;
  background: var(--primary-gold);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* "Calcular" frete em dourado */
.summary-calcular {
  color: var(--primary-gold);
  font-weight: 600;
  cursor: pointer;
}

/* Barra de benefícios — base do card */
.cart-benefits-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}
.cart-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  justify-content: center;
}
.cart-benefit i {
  font-size: 26px;
  color: var(--primary-gold);
  flex-shrink: 0;
}
.cart-benefit strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}
.cart-benefit span {
  font-size: 13px;
  color: #888;
}
.cart-benefit-divider {
  width: 1px;
  height: 40px;
  background: #e0e0e0;
}

/* Responsividade da barra de benefícios */
@media (max-width: 768px) {
  .cart-title-area {
    flex-direction: column;
    gap: 12px;
  }
  .continue-shopping-top {
    align-self: flex-start;
    font-size: 13px;
    padding: 8px 16px;
  }
  .cart-benefits-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cart-benefit-divider { display: none; }
  .cart-benefit { padding: 0; justify-content: flex-start; }
}

/* ========================================
   MODAL MOBILE — CORREÇÃO DE LAYOUT
   Thumbnails abaixo da imagem (sem sobreposição)
   ======================================== */
@media (max-width: 768px) {
  /* Modal com scroll único no container */
  .product-modal {
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Gallery: coluna — imagem (order 1) em cima, thumbnails (order 2) embaixo */
  .modal-gallery {
    height: auto;
    min-height: unset;
    flex-direction: column;
    overflow: visible;
    position: relative;
  }

  /* Imagem: tamanho fixo, fluxo normal (não mais absolute) */
  .modal-image-main {
    position: relative;
    inset: unset;
    height: 52vw;
    max-height: 300px;
    min-height: 200px;
    flex-shrink: 0;
    order: 1;
  }

  /* Thumbnails: tira horizontal abaixo da imagem, tamanho fixo */
  .modal-thumbnails-strip {
    position: static;
    order: 2;
    flex-direction: row;
    width: 100%;
    padding: 8px 12px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f5f0ea;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    scrollbar-width: none;
    box-sizing: border-box;
  }

  .modal-thumbnails-strip:empty { display: none; }

  /* Thumbnails: tamanho fixo 60x60, não crescem */
  .modal-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  /* Info: sem overflow próprio, o modal faz o scroll */
  .modal-info {
    overflow-y: visible;
    flex: none;
    min-height: auto;
  }
}

