/* ==========================================================================
   DOCE BRILHO SEMIJOIAS E ACESSÓRIOS - DESIGN SYSTEM & LUXURY CART DRAWER
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta de Cores */
  --bg-primary: #FAFAFA;
  --bg-secondary: #F5F0EB;
  --bg-card: #FFFFFF;
  --bg-dark: #121212;
  
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --text-light: #999999;
  
  --gold-primary: #D4AF37;
  --gold-secondary: #C5A059;
  --gold-light: #F4E8C1;
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  
  --accent-nude: #E8DFD8;
  --accent-rose: #E5C3C6;
  --accent-red: #D9534F;
  --accent-green: #2E7D32;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  
  /* Tipografia */
  --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Sombras & Efeitos */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-blur: blur(16px);
  
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset Basico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px;
  touch-action: manipulation;
}

@media (min-width: 993px) { body { padding-bottom: 0; } }

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
button { cursor: pointer; border: none; outline: none; background: none; font-family: var(--font-body); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.text-gold { color: var(--gold-secondary); }
.text-muted { color: var(--text-muted); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }
.section-padding { padding: 4rem 0; }
.text-center { text-align: center; }

/* Top Bar */
.top-bar {
  background-color: var(--text-main);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 0.5rem 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-item span { color: var(--gold-primary); }

/* Header */
/* Header Luxuoso Dark com Contraste Perfeito para Logo Branca */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1A1A1A;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-normal);
}

.navbar { display: flex; justify-content: space-between; align-items: center; height: 75px; }

.logo-brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; transition: var(--transition-fast); }
.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
  transition: var(--transition-fast);
}
.logo-text-group { display: flex; flex-direction: column; justify-content: center; }
.logo-title {
  font-size: 1.55rem;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.logo-subtitle {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 3px;
  font-weight: 600;
}

.nav-menu { display: flex; gap: 2.2rem; list-style: none; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: var(--gold-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.action-btn {
  position: relative;
  font-size: 1.2rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.action-btn:hover { background-color: rgba(212, 175, 55, 0.2); color: var(--gold-primary); }

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold-primary);
  color: #121212;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box-wrap { position: relative; display: flex; align-items: center; }
.search-input {
  width: 0;
  opacity: 0;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  transition: var(--transition-normal);
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.search-box-wrap.active .search-input { width: 180px; opacity: 1; padding-right: 2.2rem; }
.search-box-wrap #searchToggle {
  position: absolute;
  right: 0;
  background: transparent !important;
  z-index: 5;
}

/* Hero & Background Video Commercial */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg, #FBF8F5 40%, #EDE6DF 100%);
  overflow: hidden;
}
.hero-content { max-width: 580px; z-index: 2; position: relative; }
.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-subtitle::before { content: ''; display: inline-block; width: 35px; height: 1px; background: var(--gold-secondary); }
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.2rem; font-weight: 500; }
.hero-description { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; font-weight: 300; }

/* Video Background Hero Section - Redesign de Luxo */
.hero-section-video {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0d0d0d;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.hero-video-wrapper video,
#heroVideoBg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85) contrast(1.08);
  transform: scale(1.03); /* Evita falhas de borda no looping */
  transition: transform 0.5s ease;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Overlay Dramático & Harmônico para Leitura Perfeita */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(15, 15, 20, 0.72) 0%, rgba(15, 15, 20, 0.45) 50%, rgba(15, 15, 20, 0.88) 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  backdrop-filter: blur(1px);
  z-index: 2;
  pointer-events: none !important;
}

/* Conteúdo Hero Sobreposto */
.hero-container-video {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.hero-content-video {
  max-width: 820px;
  margin: 0 auto;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-video .hero-subtitle {
  color: var(--gold-light);
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content-video .hero-subtitle::before {
  background: var(--gold-primary);
}

.hero-content-video .hero-title {
  color: #FFFFFF;
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
  font-weight: 600;
}

.hero-content-video .hero-description {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 2.4rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold-sparkle {
  background: var(--gold-gradient);
  color: #121212;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transition: var(--transition-normal);
}

.btn-gold-sparkle:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
  color: #000;
}

.btn-glass-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.btn-glass-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.btn-glass-gold {
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--gold-primary);
  color: #FFFFFF !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition-normal);
}

.btn-glass-gold:hover {
  background: var(--gold-primary);
  color: #121212 !important;
  border-color: var(--gold-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-glass-gold:hover .text-gold {
  color: #121212 !important;
}

@media (max-width: 768px) {
  .hero-section-video { min-height: 75vh; }
  .hero-content-video .hero-title { font-size: 2.3rem; }
  .hero-content-video .hero-description { font-size: 0.95rem; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--text-main);
  color: #FFFFFF;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--gold-secondary); color: #FFF; transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-normal);
}

.hero-image-wrap {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 580px;
  height: 80%;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #FFF;
}
.hero-image { width: 100%; height: 100%; object-fit: cover; }

.section-header { margin-bottom: 2.5rem; display: flex; flex-direction: column; align-items: center; }
.section-tag { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-secondary); margin-bottom: 0.5rem; font-weight: 600; }
.section-title { font-size: 2.2rem; margin-bottom: 0.8rem; }
.section-divider { width: 50px; height: 2px; background: var(--gold-secondary); }

.categories-section { padding: 3rem 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.category-card { position: relative; height: 280px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: #FFF;
}
.category-card-title { font-size: 1.3rem; color: #FFF; margin-bottom: 0.2rem; }
.category-card-count { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-primary); }

.filter-tabs { display: flex; gap: 0.8rem; margin-bottom: 2.5rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filter-tab.active, .filter-tab:hover { background: var(--text-main); color: #FFF; border-color: var(--text-main); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.8rem; }
.product-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}

.product-thumb { position: relative; aspect-ratio: 4/5; overflow: hidden; background-color: var(--bg-secondary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.product-thumb .img-secondary { position: absolute; top: 0; left: 0; opacity: 0; }
.product-card:hover .img-secondary { opacity: 1; }

.product-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.product-badge { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 20px; background: var(--text-main); color: #FFF; }
.product-badge.badge-gold { background: var(--gold-secondary); }

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.wishlist-btn.active { color: #D9534F; background: #FFF; }

.quick-add-btn {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 0.85rem;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}
.product-card:hover .quick-add-btn { bottom: 0; }

.product-info { padding: 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-category { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.2rem; }
.product-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.product-rating { display: flex; align-items: center; gap: 3px; font-size: 0.7rem; color: var(--gold-primary); margin-bottom: 0.6rem; }

.product-price-row { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; }
.price-current { font-size: 1.15rem; font-weight: 700; color: var(--text-main); }
.price-old { font-size: 0.8rem; text-decoration: line-through; color: var(--text-light); margin-left: 0.3rem; }
.price-installments { font-size: 0.7rem; color: var(--gold-secondary); display: block; }

/* ==========================================================================
   REDESIGN DE LUXO DO CARRINHO OVERLAY & DRAWER (TIFFANY & CO / FARFETCH STYLE)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 3001;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
}
.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

/* Cabeçalho do Carrinho com Linha de Ouro */
.cart-header {
  padding: 1.4rem 1.6rem;
  background: #FAFAFA;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}
.cart-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #BF953F, #FCF6BA, #B38728);
}

.cart-title {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Botão de Fechar Sacola Reformulado */
.close-drawer-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-main);
  transition: var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.close-drawer-btn:hover,
.close-drawer-btn:active {
  background: var(--text-main);
  color: var(--gold-secondary);
  border-color: var(--text-main);
  transform: rotate(90deg) scale(1.08);
}

@media (max-width: 768px) {
  .cart-header {
    padding: 1.1rem 1.2rem;
  }
  
  .cart-title {
    font-size: 1.2rem;
  }

  .close-drawer-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    background: #F5F0EB;
    border-color: rgba(212, 175, 55, 0.3);
  }
}

/* Barra de Progresso Dinâmica de Frete Grátis */
.free-shipping-bar-wrap {
  background: #F5F0EB;
  padding: 0.8rem 1.8rem;
  border-bottom: 1px solid var(--border-light);
}
.free-shipping-text {
  font-size: 0.78rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4AF37, #C5A059);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Lista de Produtos do Carrinho de Luxo */
.cart-body {
  padding: 1.5rem 1.8rem;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.cart-item-thumb {
  width: 85px;
  height: 105px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}
.cart-item-title {
  font-size: 0.95rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.cart-item-specs {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.cart-item-price-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-secondary);
  margin-bottom: 0.6rem;
}

/* Controles de Quantidade Elegantes */
.cart-qty-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: #FAFAFA;
  padding: 2px 6px;
}
.qty-pill-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}
.qty-pill-btn:hover {
  background: var(--text-main);
  color: #FFF;
}
.qty-pill-value {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.remove-item-btn {
  color: var(--text-light);
  font-size: 0.95rem;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.remove-item-btn:hover {
  color: var(--accent-red);
  background: #FEE2E2;
}

/* Footer do Carrinho com Resumo e Checkout Reluzente */
.cart-footer {
  padding: 1.5rem 1.8rem;
  background: #FAFAFA;
  border-top: 1px solid var(--border-light);
}

.shipping-promo-box {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}
.shipping-promo-box label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.shipping-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shipping-input-group input {
  flex: 1;
  height: 40px;
  min-width: 0;
  padding: 0 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
  background: #FFF;
  color: var(--text-main);
  box-sizing: border-box;
}
.shipping-input-group input:focus {
  border-color: var(--gold-primary);
}
.shipping-input-group button {
  height: 40px;
  padding: 0 1rem;
  background: var(--text-main);
  color: #FFF;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
  transition: var(--transition-fast);
}
.shipping-input-group button:hover {
  background: var(--gold-secondary);
  color: #FFF;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.cart-summary-line.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

/* Botão de Finalizar Compra com Brilho Shimmer Gold */
.btn-checkout-gold {
  width: 100%;
  padding: 1.1rem;
  background: #1A1A1A;
  color: #FFFFFF;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.btn-checkout-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  transition: 0.6s;
}
.btn-checkout-gold:hover::before {
  left: 100%;
}
.btn-checkout-gold:hover {
  background: var(--gold-secondary);
  color: #FFF;
  box-shadow: var(--shadow-gold);
}

/* Botão Voltar / Continuar Comprando */
.btn-continue-shopping {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 8px;
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-continue-shopping:hover,
.btn-continue-shopping:active {
  border-color: var(--gold-primary);
  color: var(--text-main);
  background: rgba(212, 175, 55, 0.08);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Botão de Fechar Modal Estilizado & Destacado */
.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.85);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  line-height: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.close-modal-btn:hover {
  background: var(--gold-secondary);
  color: #121212;
  transform: scale(1.1) rotate(90deg);
  border-color: var(--gold-primary);
}

/* Modal Content Grid Layout */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  padding: 2.2rem;
}

.product-modal-thumb {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}

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

.product-modal-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.product-modal-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-weight: 300;
}

.product-modal-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.4rem;
}

.product-modal-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end; /* Abre como Sheet na parte inferior em celulares */
  }

  .modal-container {
    border-radius: 24px 24px 0 0;
    max-height: 88vh;
  }

  .close-modal-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.75);
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.5rem 1.2rem 2.5rem 1.2rem;
  }

  .product-modal-title {
    font-size: 1.35rem;
  }

  .product-modal-price {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }
}

.toast-container {
  position: fixed;
  bottom: 85px;
  right: 15px;
  left: 15px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--text-main);
  color: #FFF;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-left: 4px solid var(--gold-secondary);
}

.site-footer { background-color: var(--bg-dark); color: #E5E5E5; padding: 4rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #777; }

/* Barra de Navegação Mobile Estilo App Nativo */
.mobile-bottom-nav {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2500;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.45rem 0;
}

.mobile-bottom-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.2rem 0.5rem;
  transition: var(--transition-fast);
}

.mobile-nav-item i {
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--gold-secondary);
}

.mobile-nav-item.active i {
  transform: translateY(-2px);
}

.mobile-nav-badge {
  position: absolute;
  top: -2px;
  right: 6px;
  background: var(--gold-secondary);
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .container { padding: 0 0.75rem; }
  .mobile-bottom-nav { display: block !important; }
  body { padding-bottom: 70px !important; }
  .top-bar { display: none; }
  .site-header { height: 62px; }
  .navbar { height: 62px; gap: 0.4rem; justify-content: space-between; }
  
  .logo-brand { align-items: center; gap: 0.4rem; flex-shrink: 1; min-width: 0; }
  .brand-logo-img { height: 34px; }
  .logo-title { font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; }
  .logo-subtitle { font-size: 0.42rem; letter-spacing: 0.12em; margin-top: 1px; white-space: nowrap; }

  .nav-actions { gap: 0.3rem; flex-shrink: 0; }
  .action-btn { width: 34px; height: 34px; font-size: 1.05rem; }
  .badge-count { width: 16px; height: 16px; font-size: 0.58rem; top: 1px; right: 1px; }

  /* Busca responsiva em tela cheia (Overlay no Header) para Mobile/Tablet */
  .search-box-wrap.active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1C1712; /* Cor de fundo do header */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  }
  .search-box-wrap.active .search-input {
    width: 100% !important;
    max-width: calc(100% - 48px);
    opacity: 1;
    display: block;
    height: 38px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    color: #FFF;
    font-size: 0.9rem;
  }
  .search-box-wrap.active #searchToggle {
    position: relative;
    right: auto;
    color: var(--gold-primary);
    z-index: 1001;
  }

  .nav-menu { display: none; }
  .hero-section { min-height: 55vh; padding: 2.5rem 0; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-subtitle { justify-content: center; }
  .hero-title { font-size: 2.1rem; }
  .hero-image-wrap { display: none; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .category-card { height: 190px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .product-info { padding: 0.8rem; }
  .product-name { font-size: 0.85rem; }
  .price-current { font-size: 0.98rem; }
  .quick-add-btn { position: relative; bottom: 0; margin-top: 0.5rem; border-radius: 6px; padding: 0.55rem; font-size: 0.68rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  .cart-drawer { max-width: 100%; }
  .cart-body {
    padding: 1rem 1.2rem;
    gap: 1rem;
    flex: 1 1 auto;
    min-height: 150px;
    -webkit-overflow-scrolling: touch;
  }
  .cart-item-card {
    grid-template-columns: 65px 1fr auto;
    gap: 0.8rem;
    padding-bottom: 0.9rem;
  }
  .cart-item-thumb {
    width: 65px;
    height: 80px;
  }
  .cart-item-title {
    font-size: 0.85rem;
  }
  .cart-item-price-main {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  .cart-footer {
    padding: 1rem 1.2rem;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    max-height: 52vh;
    overflow-y: auto;
  }
  .shipping-promo-box {
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.6rem;
  }
  .cart-summary-line {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }
  .btn-checkout-gold {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    margin-top: 0.8rem;
  }
}

@media (max-width: 415px) {
  .container { padding: 0 0.5rem; }
  .logo-brand { gap: 0.3rem; }
  .brand-logo-img { height: 28px; }
  .logo-title { font-size: 0.92rem; letter-spacing: 0.02em; }
  .logo-subtitle { font-size: 0.38rem; letter-spacing: 0.08em; }
  .nav-actions { gap: 0.2rem; }
  .action-btn { width: 31px; height: 31px; font-size: 0.92rem; }
}

/* ==========================================================================
   COMPONENT DE PROGRESSO DE PEDIDOS DE ELITE (STEPPER RESPONSIVO)
   ========================================================================== */
.order-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
  padding: 0 1rem;
}

.order-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.88rem;
  transition: var(--transition-normal);
}

.step-info {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.step-date {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 1px;
}

/* Estados do Stepper */
.step.completed .step-dot {
  background: var(--gold-secondary);
  border-color: var(--gold-secondary);
  color: #FFF;
}
.step.completed .step-title {
  color: var(--text-main);
}

.step.active .step-dot {
  border-color: var(--gold-secondary);
  color: var(--gold-secondary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
.step.active .step-title {
  color: var(--gold-secondary);
}

/* Responsividade do Stepper (Vertical no Mobile) */
@media (max-width: 768px) {
  .order-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-left: 0.5rem;
    margin: 1.5rem 0;
  }
  
  .order-stepper::before {
    top: 10px;
    bottom: 10px;
    left: 28px;
    width: 2px;
    height: auto;
    right: auto;
  }
  
  .step {
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    flex: none;
    width: 100%;
  }
  
  .step-dot {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }
  
  .step-info {
    margin-top: 0;
  }
}
