@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg-main: #030712;
  --surface: #0b0f19;
  --surface-card: #0e1424;
  --surface-subtle: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-active: rgba(16, 185, 129, 0.5);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-subtle: rgba(16, 185, 129, 0.1);
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  
  --amber: #f59e0b;
  --rose: #f43f5e;
  --blue: #3b82f6;

  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  --shadow-elevated: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
  --radius-card: 18px;
  --radius-btn: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 7, 18, 0.82);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-wrap:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.28));
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 34px;
    max-width: 170px;
  }
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #030712;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.brand-title span {
  color: var(--accent);
}

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

.lang-selector {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--accent);
  color: #030712;
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Upsell Box in Checkout */
.upsell-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.upsell-box:hover {
  border-color: #f59e0b;
}

.upsell-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.upsell-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.upsell-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #10b981;
  cursor: pointer;
}

.upsell-details {
  flex-grow: 1;
  cursor: pointer;
}

.upsell-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.upsell-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.upsell-pricing {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

.upsell-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 12px;
  margin-right: 6px;
}

.upsell-new-price {
  color: #34d399;
  font-size: 15px;
}

.upsell-badge-off {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.btn-ghost {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-hover);
}

/* Hero Section */
.hero {
  padding: 48px 20px 24px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Guarantees bar */
.guarantees {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.guarantee-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

.guarantee-tag span {
  color: var(--accent);
}

/* Search & Categories */
.controls-bar {
  max-width: 1240px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.search-box-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px;
}

.search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 15px;
  padding: 14px 18px 14px 44px;
  border-radius: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Category Tabs */
.categories-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.categories-nav::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cat-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--border-hover);
}

.cat-tab.active {
  background: var(--accent);
  color: #030712;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* Catalog Grid */
.catalog-section {
  max-width: 1240px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

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

.catalog-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.catalog-count {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* Product Card */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  background: var(--surface-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.15);
}

.product-card.featured {
  border-color: rgba(16, 185, 129, 0.4);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-cat-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}

.stock-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stock-in {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.stock-low {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.stock-out {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 38px;
}

.product-pricing-wrap {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.price-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.price-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.price-value span {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.btn-buy {
  width: 100%;
  background: var(--accent-gradient);
  border: none;
  color: #030712;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-buy:disabled {
  background: #1e293b;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Modal / Drawer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0b0f19;
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

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

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.btn-close {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.modal-body {
  padding: 24px;
}

/* Form inputs in Modal */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-label span {
  color: var(--accent);
}

.form-input {
  width: 100%;
  background: #030712;
  border: 1px solid var(--border);
  color: #ffffff;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* PIX Screen in Modal */
.pix-container {
  text-align: center;
}

.pix-qr-img {
  width: 210px;
  height: 210px;
  margin: 16px auto;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.pix-code-box {
  background: #030712;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #cbd5e1;
  word-break: break-all;
  max-height: 80px;
  overflow-y: auto;
  margin-bottom: 14px;
  text-align: left;
}

.btn-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.btn-copy.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

/* Polling Status Pulse */
.polling-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #38bdf8;
  margin-top: 18px;
  padding: 8px;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 8px;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Success Card */
.success-screen {
  text-align: center;
}

.success-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin: 0 auto 16px;
  box-shadow: 0 0 25px var(--accent-glow);
}

.credentials-display {
  background: #030712;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #34d399;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 16px 0;
  line-height: 1.5;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.actions-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.btn-whatsapp-share {
  background: #25d366;
  color: #030712;
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-whatsapp-share:hover {
  filter: brightness(1.1);
}

.btn-whatsapp-support {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-whatsapp-support:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer-main {
  border-top: 1px solid var(--border);
  padding: 40px 20px 80px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Language Selector */
.lang-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  background: var(--accent);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

/* Upsell Box (Order Bump) */
.upsell-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1.5px dashed rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.upsell-box:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.upsell-box.selected {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.upsell-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #030712;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.upsell-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.upsell-checkbox-wrap {
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.upsell-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #10b981;
  cursor: pointer;
  border-radius: 6px;
}

.upsell-info {
  flex: 1;
}

.upsell-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.upsell-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.upsell-old-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.upsell-new-price {
  font-size: 15px;
  font-weight: 800;
  color: #10b981;
}

.upsell-discount-tag {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.upsell-desc {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 4px;
  line-height: 1.4;
}

/* Product Brand Logo & Header Row */
.product-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 10px 0;
}

.product-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.product-card:hover .product-brand-icon {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.product-brand-icon svg, .product-brand-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Featured Auto-sliding Carousel */
.carousel-section {
  max-width: 1240px;
  margin: 0 auto 36px;
  padding: 0 20px;
  position: relative;
}

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

.carousel-badge-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
}

.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrow {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(14, 20, 36, 0.95) 0%, rgba(3, 7, 18, 0.98) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .carousel-slide {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 18px;
  }
}

.carousel-slide-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.carousel-slide-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.carousel-slide-icon svg, .carousel-slide-icon img {
  width: 38px;
  height: 38px;
}

.carousel-slide-info h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.carousel-slide-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 520px;
}

.carousel-slide-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .carousel-slide-right {
    width: 100%;
    justify-content: space-between;
  }
}

.carousel-slide-pricing {
  text-align: right;
}

@media (max-width: 768px) {
  .carousel-slide-pricing {
    text-align: left;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 24px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Out of Stock / "Em Reposição" */
.stock-badge.stock-reposition {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.btn-reposition {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.btn-reposition:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Priority Screen (Contingência quando fornecedor sem saldo/em reposição) */
.priority-screen {
  text-align: center;
  padding: 10px 0;
}

.priority-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid #f59e0b;
  color: #f59e0b;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.3);
}

.priority-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
  font-size: 13px;
  color: #fde68a;
  line-height: 1.5;
  text-align: left;
}

/* Modal de Detalhes do Produto & Compartilhamento WhatsApp */
.product-detail-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.product-detail-brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.product-detail-brand-icon svg,
.product-detail-brand-icon img {
  width: 36px;
  height: 36px;
}

.product-detail-info {
  flex-grow: 1;
}

.product-detail-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-detail-price-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.product-detail-price-main {
  font-size: 26px;
  font-weight: 800;
  color: #10b981;
}

.product-detail-price-main span {
  font-size: 15px;
  color: #34d399;
  font-weight: 600;
}

.product-detail-desc-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow-y: auto;
}

.product-detail-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

@media (max-width: 480px) {
  .product-detail-perks {
    grid-template-columns: 1fr;
  }
}

.product-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 8px;
}

.product-perk-item span {
  font-size: 16px;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-detail-buy {
  width: 100%;
  background: var(--accent-gradient);
  border: none;
  color: #030712;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-detail-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.btn-whatsapp-share {
  width: 100%;
  background: #25d366;
  border: none;
  color: #030712;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-whatsapp-share:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}


