/* ============================================================
   DALLAS BUTIQUE — CSS Principal da Loja (Tema Dallas Gold)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   VARIÁVEIS CSS
   ============================================================ */
:root {
  --preto:          #0A0A0A;
  --preto-suave:    #141414;
  --preto-card:     #1A1A1A;
  --preto-hover:    #222222;
  --dourado:        #C9A84C;
  --dourado-claro:  #E8C870;
  --dourado-escuro: #A07830;
  --dourado-bg:     rgba(201,168,76,0.08);
  --branco:         #FFFFFF;
  --branco-suave:   #F5F5F0;
  --cinza-texto:    #9A9A9A;
  --cinza-borda:    #2A2A2A;
  --cinza-escuro:   #333333;
  --verde:          #2ECC71;
  --verde-escuro:   #27AE60;
  --vermelho:       #E74C3C;
  --amarelo:        #F39C12;
  --azul:           #3498DB;
  --radius:         6px;
  --radius-lg:      12px;
  --sombra:         0 4px 24px rgba(0,0,0,0.4);
  --sombra-dourada: 0 4px 20px rgba(201,168,76,0.2);
  --transicao:      all 0.3s ease;
}

/* ============================================================
   RESET E BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--preto);
  color: var(--branco-suave);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--dourado); text-decoration: none; transition: var(--transicao); }
a:hover { color: var(--dourado-claro); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

button { cursor: pointer; border: none; outline: none; font-family: inherit; }

input, textarea, select {
  font-family: inherit;
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  color: var(--branco-suave);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: var(--transicao);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--dourado);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.15);
}

select option { background: var(--preto-card); }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--branco);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

.text-gold   { color: var(--dourado); }
.text-gray   { color: var(--cinza-texto); }
.text-center { text-align: center; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.mono        { font-family: 'JetBrains Mono', monospace; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transicao);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--dourado);
  color: var(--preto);
}
.btn-primary:hover {
  background: var(--dourado-claro);
  transform: translateY(-1px);
  box-shadow: var(--sombra-dourada);
}

.btn-outline {
  background: transparent;
  color: var(--dourado);
  border: 1.5px solid var(--dourado);
}
.btn-outline:hover {
  background: var(--dourado-bg);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cinza-texto);
  border: 1px solid var(--cinza-borda);
}
.btn-ghost:hover {
  background: var(--preto-hover);
  color: var(--branco-suave);
}

.btn-danger {
  background: var(--vermelho);
  color: #fff;
}
.btn-danger:hover { background: #c0392b; }

.btn-success {
  background: var(--verde);
  color: #fff;
}
.btn-success:hover { background: var(--verde-escuro); }

.btn-sm   { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg   { padding: 16px 40px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm { max-width: 900px; }
.container-xs { max-width: 600px; }

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--dourado);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-title p { color: var(--cinza-texto); max-width: 560px; margin: 0 auto; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex */
.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-gold    { background: var(--dourado);  color: var(--preto); }
.badge-green   { background: var(--verde);    color: #fff; }
.badge-red     { background: var(--vermelho); color: #fff; }
.badge-yellow  { background: var(--amarelo);  color: #fff; }
.badge-blue    { background: var(--azul);     color: #fff; }
.badge-gray    { background: var(--cinza-escuro); color: var(--cinza-texto); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cinza-borda);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dourado);
  letter-spacing: 3px;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--cinza-texto);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--cinza-texto);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transicao);
}

.nav a:hover, .nav a.active {
  color: var(--dourado);
  border-bottom-color: var(--dourado);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--cinza-texto);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transicao);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover { color: var(--dourado); background: var(--dourado-bg); }

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--dourado);
  color: var(--preto);
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cinza-texto);
  transition: var(--transicao);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--preto-suave);
  z-index: 2000;
  padding: 80px 24px 24px;
  transition: left 0.3s ease;
  border-right: 1px solid var(--cinza-borda);
  overflow-y: auto;
}

.mobile-nav.open { left: 0; }

.mobile-nav a {
  display: block;
  color: var(--cinza-texto);
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--cinza-borda);
  transition: var(--transicao);
}

.mobile-nav a:hover { color: var(--dourado); padding-left: 8px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1999;
  backdrop-filter: blur(2px);
}

.nav-overlay.open { display: block; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1410 50%, #0A0A0A 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: opacity 0.8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 40%, rgba(10,10,10,0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-tag {
  display: inline-block;
  background: var(--dourado-bg);
  border: 1px solid var(--dourado);
  color: var(--dourado);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 span { color: var(--dourado); }

.hero p {
  color: var(--cinza-texto);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Carrossel de banners */
.banner-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,168,76,0.4);
  cursor: pointer;
  transition: var(--transicao);
  border: none;
}

.banner-dot.active {
  background: var(--dourado);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   CATEGORIAS
   ============================================================ */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img { transform: scale(1.05); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.category-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.category-link {
  color: var(--dourado);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transicao);
}

.category-card:hover .category-link {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CARD DE PRODUTO
   ============================================================ */
.product-card {
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transicao);
  position: relative;
}

.product-card:hover {
  border-color: var(--dourado);
  transform: translateY(-4px);
  box-shadow: var(--sombra-dourada);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--preto-suave);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  transform: translateY(100%);
  transition: var(--transicao);
}

.product-card:hover .product-card-actions { transform: translateY(0); }

.product-card-body {
  padding: 16px;
}

.product-cat {
  font-size: 0.72rem;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--branco);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dourado);
}

.price-old {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.75rem;
  background: var(--vermelho);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ============================================================
   PRODUTOS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ============================================================
   FILTROS SIDEBAR
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.filters-sidebar {
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
}

.filter-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cinza-borda);
}

.filter-group { margin-bottom: 28px; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  color: var(--cinza-texto);
  font-size: 0.9rem;
  transition: var(--transicao);
}

.filter-option:hover { color: var(--dourado); }

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--dourado);
}

/* Range slider */
.price-range {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.range-inputs {
  display: flex;
  gap: 8px;
}

.range-inputs input {
  padding: 8px 12px;
  font-size: 0.85rem;
}

/* Color swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transicao);
}

.color-swatch.active, .color-swatch:hover {
  border-color: var(--dourado);
  transform: scale(1.15);
}

/* Size buttons */
.size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  min-width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--cinza-texto);
  cursor: pointer;
  transition: var(--transicao);
  background: transparent;
  padding: 0 8px;
}

.size-btn:hover, .size-btn.active {
  border-color: var(--dourado);
  color: var(--dourado);
  background: var(--dourado-bg);
}

.size-btn.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ============================================================
   PÁGINA DE PRODUTO
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 90px;
}

.gallery-main {
  aspect-ratio: 1;
  background: var(--preto-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cinza-borda);
  margin-bottom: 12px;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-main:hover img { transform: scale(1.04); }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--cinza-borda);
  cursor: pointer;
  transition: var(--transicao);
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--dourado);
}

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

.product-info .breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--cinza-texto);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--cinza-texto); }
.breadcrumb a:hover { color: var(--dourado); }
.breadcrumb span { color: var(--cinza-borda); }

.product-sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--cinza-texto);
  margin-bottom: 12px;
}

.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.stock-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.stock-dot.green  { background: var(--verde); }
.stock-dot.yellow { background: var(--amarelo); }
.stock-dot.red    { background: var(--vermelho); }

.product-description {
  color: var(--cinza-texto);
  line-height: 1.8;
  margin-bottom: 28px;
}

.variant-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.variant-group { margin-bottom: 24px; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--preto-hover);
  color: var(--branco-suave);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transicao);
}

.qty-btn:hover { background: var(--dourado); color: var(--preto); }

.qty-input {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--cinza-borda);
  border-right: 1px solid var(--cinza-borda);
  border-radius: 0;
  height: 44px;
  background: var(--preto-card);
}

.product-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-cta .btn { flex: 1; min-width: 180px; }

/* ============================================================
   CARRINHO SIDEBAR
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--preto-suave);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  border-left: 1px solid var(--cinza-borda);
}

.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cinza-borda);
}

.cart-header h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dourado);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--cinza-texto);
}

.cart-empty svg { margin: 0 auto 16px; opacity: 0.3; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cinza-borda);
  align-items: start;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cinza-borda);
  background: var(--preto-card);
}

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

.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: 0.75rem; color: var(--cinza-texto); margin-bottom: 8px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--preto-hover);
  border: 1px solid var(--cinza-borda);
  color: var(--branco-suave);
  font-size: 0.9rem;
  line-height: 1;
}

.cart-item-qty button:hover { background: var(--dourado); color: var(--preto); border-color: var(--dourado); }

.cart-item-price {
  font-weight: 700;
  color: var(--dourado);
  white-space: nowrap;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--cinza-borda);
  background: var(--preto-card);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-total span:first-child { color: var(--cinza-texto); font-size: 0.9rem; }
.cart-total strong { font-size: 1.2rem; color: var(--dourado); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
}

.checkout-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--cinza-borda);
  z-index: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--preto-card);
  border: 2px solid var(--cinza-borda);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cinza-texto);
  transition: var(--transicao);
}

.step.active .step-circle {
  background: var(--dourado);
  border-color: var(--dourado);
  color: var(--preto);
}

.step.done .step-circle {
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  color: var(--cinza-texto);
  text-align: center;
}

.step.active .step-label { color: var(--dourado); font-weight: 600; }

.checkout-card {
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.checkout-card h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cinza-borda);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-error {
  color: var(--vermelho);
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

.form-error.show { display: block; }

/* Order Summary */
.order-summary {
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.order-summary h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cinza-borda);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--cinza-texto);
}

.summary-item span:last-child { color: var(--branco-suave); }

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-top: 8px;
  border-top: 1px solid var(--cinza-borda);
  font-weight: 700;
}

.summary-total span:first-child { font-size: 1rem; }
.summary-total span:last-child { font-size: 1.3rem; color: var(--dourado); }

/* ============================================================
   PAGAMENTO PIX
   ============================================================ */
.pix-container {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.pix-card {
  background: var(--preto-card);
  border: 1px solid var(--dourado);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--sombra-dourada);
}

.pix-logo {
  margin: 0 auto 24px;
}

.pix-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dourado);
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.pix-qr {
  width: 220px;
  height: 220px;
  margin: 24px auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-qr img { width: 100%; height: 100%; }

.pix-code {
  background: var(--preto);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--cinza-texto);
  word-break: break-all;
  line-height: 1.6;
  text-align: left;
}

.pix-timer {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  margin-bottom: 12px;
}

.pix-timer strong { color: var(--amarelo); font-size: 1rem; }

.timer-bar {
  height: 4px;
  background: var(--cinza-borda);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.timer-fill {
  height: 100%;
  background: linear-gradient(to right, var(--dourado), var(--amarelo));
  border-radius: 2px;
  transition: width 1s linear;
}

.pix-steps {
  text-align: left;
  background: var(--preto);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
}

.pix-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--cinza-texto);
}

.pix-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dourado-bg);
  border: 1px solid var(--dourado);
  color: var(--dourado);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   CONFIRMAÇÃO DE PAGAMENTO
   ============================================================ */
.confirm-card {
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.confirm-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(46,204,113,0.1);
  border: 2px solid var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: popIn 0.5s ease forwards;
}

@keyframes popIn {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}

.toast {
  background: var(--preto-card);
  border-left: 4px solid var(--dourado);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--sombra);
  animation: slideInRight 0.3s ease;
  font-size: 0.875rem;
}

.toast.success { border-color: var(--verde); }
.toast.error   { border-color: var(--vermelho); }
.toast.warning { border-color: var(--amarelo); }

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--preto-suave);
  border-top: 1px solid var(--cinza-borda);
  margin-top: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
}

.footer-brand .logo-name { font-size: 1.6rem; margin-bottom: 4px; }
.footer-brand p { color: var(--cinza-texto); font-size: 0.875rem; margin-top: 12px; line-height: 1.7; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--cinza-texto);
  font-size: 0.875rem;
  padding: 5px 0;
  transition: var(--transicao);
}

.footer-col a:hover { color: var(--dourado); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--cinza-borda);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--cinza-texto);
  flex-wrap: wrap;
  gap: 12px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--preto-hover);
  border: 1px solid var(--cinza-borda);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinza-texto);
  transition: var(--transicao);
}

.social-link:hover {
  background: var(--dourado-bg);
  border-color: var(--dourado);
  color: var(--dourado);
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--preto-card) 25%, var(--preto-hover) 50%, var(--preto-card) 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.p-16  { padding: 16px; }
.p-24  { padding: 24px; }

.hidden  { display: none !important; }
.visible { display: block !important; }

.divider {
  height: 1px;
  background: var(--cinza-borda);
  margin: 24px 0;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cinza-borda);
  border-top-color: var(--dourado);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ============================================================
   ÁREA DO CLIENTE
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.account-sidebar {
  background: var(--preto-card);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dourado);
  color: var(--preto);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cinza-texto);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transicao);
  margin-bottom: 4px;
}

.account-nav a:hover, .account-nav a.active {
  background: var(--dourado-bg);
  color: var(--dourado);
}

/* Status badges pedido */
.status-pending    { background: rgba(243,156,18,.15); color: #F39C12; }
.status-confirmed  { background: rgba(52,152,219,.15); color: #3498DB; }
.status-processing { background: rgba(155,89,182,.15); color: #9B59B6; }
.status-shipped    { background: rgba(230,126,34,.15); color: #E67E22; }
.status-delivered  { background: rgba(46,204,113,.15); color: #2ECC71; }
.status-cancelled  { background: rgba(231,76,60,.15);  color: #E74C3C; }
.status-refunded   { background: rgba(127,140,141,.15); color: #7F8C8D; }
.status-paid       { background: rgba(46,204,113,.15); color: #2ECC71; }
.status-failed     { background: rgba(231,76,60,.15);  color: #E74C3C; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .shop-layout  { grid-template-columns: 220px 1fr; }
  .footer-main  { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 24px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: fixed; left: -100%; top: 0; height: 100vh; z-index: 2000; border-radius: 0; width: 280px; transition: left 0.3s ease; overflow-y: auto; }
  .filters-sidebar.open { left: 0; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-overlay { background: rgba(10,10,10,0.8); }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-main { grid-template-columns: 1fr; }
  .cart-sidebar { max-width: 100%; }
  .container { padding: 0 16px; }
  .checkout-card { padding: 20px; }
  .pix-card { padding: 24px 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}
