/* ===== NEON Store Front — Shared Styles ===== */
:root {
  --accent: #238636;
  --accent-contrast: #fff;
  --accent-11: #23863611;
  --bg: #f5f5f5;
  --fg: #232323;
  --muted: #666666;
  --card-bg: #ffffff;
  --border: #e5e5e5;
  --font-body: system-ui, -apple-system, sans-serif;
  --font-display: system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

/* Navbar */
.navbar {
  background: var(--accent);
  min-height: 80px;
  padding: 0 24px;
}
.navbar-brand { color: var(--accent-contrast); }
.navbar .nav-link { color: var(--accent-contrast); font-size: .9rem; }
.navbar .nav-link:hover { opacity: .85; }

/* Cards */
.card {
  background: var(--card-bg);
  color: var(--fg);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Product cards in grids */
.product-card { height: 100%; }
.product-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 110px;
  align-items: center;
  gap: 2px;
  padding: 10px 12px 14px;
}
.product-card .card-body .mt-2 { margin-top: auto !important; }
.product-card .card-title {
  font-size: .9rem;
  height: 34px;
  text-align: center;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .card-img-top {
  height: 250px;
  object-fit: contain;
  background: var(--card-bg);
}
.card-img-wrap { overflow: hidden; }
.card-img-strip { display: flex; transition: transform .5s ease; }
.card-img-strip .card-img-top { flex: 0 0 100%; width: 100%; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.product-card:hover .quick-view-btn { opacity: 1 !important; }

/* Prices */
.price { font-size: 1.3rem; font-weight: 700; color: var(--fg); text-align: center; line-height: 1.2; margin-top: 2px; }
.transfer-price-badge { font-size: .72rem; color: #2e7d32; text-align: center; font-weight: 600; margin-top: 1px; }
.price .currency { font-size: .85rem; font-weight: 400; color: var(--muted); }

/* Badges */
.badge-cart { position: absolute; top: 0; right: 0; font-size: .7rem; transform: translate(50%,-50%); }
.out-of-stock { opacity: .6; pointer-events: none; }
.stock-badge { font-size: .75rem; color: var(--muted); }
.card-variants { justify-content: center; }
.variant-swatch { min-width: 28px; text-align: center; border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; cursor: pointer; background: var(--card-bg); font-size: .72rem; color: var(--fg); transition: all .15s; }
.variant-swatch:hover { border-color: var(--accent); }
.variant-swatch.active { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); font-weight: 600; }
.sold-badge { font-size: .75rem; color: #e53935; }
.new-badge { font-size: .75rem; color: #238636; font-weight: 600; }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Quick view */
.quick-view-btn {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.55); color: #fff;
  border-radius: 50%; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem;
  opacity: 0.6; transition: opacity .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Blur-load images */
.blur-load { opacity: 0; transition: opacity .3s; }
.blur-load.loaded { opacity: 1 !important; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  z-index: 999; text-decoration: none; transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Quantity buttons */
.qty-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border); background: var(--card-bg);
  border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--fg); padding: 0;
}
.qty-btn:hover { filter: brightness(0.95); }
.qty-val { min-width: 28px; text-align: center; font-weight: 600; font-size: 1rem; color: var(--fg); }

/* Cart items (reused in cart + orders) */
.cart-item { background: var(--card-bg); color: var(--fg); border-radius: 12px; padding: 1rem; margin-bottom: .75rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.cart-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }

/* Category title */
.category-title {
  font-size: 1.3rem; font-weight: 600;
  margin: 1.5rem 0 .5rem;
  padding-bottom: .3rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

/* Hero */
.hero {
  position: relative; width: 100%; height: 380px;
  background-size: cover; background-position: center;
  border-radius: 0; margin-bottom: 40px;
  display: flex; align-items: center; justify-content: center;
}
.hero-content { text-align: center; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); padding: 24px; }
.hero-content h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.hero-content p { font-size: 1.2rem; max-width: 600px; }

/* Step indicators (checkout) */
.steps { display: flex; justify-content: center; margin-bottom: 24px; }
.step { display: flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: .85rem; color: var(--muted); }
.step.active { color: var(--accent); font-weight: 600; }
.step.done { color: #28a745; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  border: 2px solid var(--border); background: var(--card-bg); color: var(--fg); flex-shrink: 0;
}
.step.active .step-num { border-color: var(--accent); background: var(--accent); color: #fff; }
.step.done .step-num { border-color: #28a745; background: #28a745; color: #fff; }
.step-divider { width: 40px; height: 2px; background: var(--border); margin: 0 4px; }
.step.active .step-divider, .step.done .step-divider { background: var(--accent); }

/* Payment options */
.payment-option {
  border: 2px solid var(--border); border-radius: 12px;
  padding: 14px 16px; transition: all .15s; color: var(--fg);
}
.payment-option.active { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.2); }
.payment-option:hover { border-color: #999; }

/* Checkout cart item image */
.cart-item-img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); background: var(--card-bg); }

/* Trust bar */
.trust-bar { background: var(--accent-11); padding: 40px 0; margin-top: 24px; }
.trust-bar i.bi { font-size: 2rem; color: var(--accent-contrast); }

/* Responsive */
@media (max-width:768px) {
  .hero { height: 240px; }
  .hero-content h1 { font-size: 1.8rem; }
}

/* Fiscal data */
.fiscal-data img { max-width: 40px !important; width: auto !important; height: auto !important; }
