:root {
  --bg: #13131D;
  --card: #1a1a2a;
  --surface: #1e1e30;
  --accent: #Ec6820;
  --accent2: #FF6D00;
  --purple: #8568AA;
  --purple2: #9D4EDD;
  --purple-dark: #240046;
  --text: #f5f5f5;
  --muted: #999;
  --border: #2a2a3a;
  --success: #4ade80;
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
body::after { content: ''; position: fixed; top: 55%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 900px; background: url('images/logo-bg.png') center / contain no-repeat; opacity: 0.5; pointer-events: none; z-index: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
header { position: sticky; top: 0; z-index: 100; background: rgba(19,19,29,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: 2px; color: var(--accent); }
.logo img { height: 55px; border-radius: 6px; }
.logo span { color: var(--text); }
nav { display: flex; gap: 24px; align-items: center; }
nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
nav a:hover, nav a.active { color: var(--accent); }
.account-btn { background: none; border: none; cursor: pointer; color: var(--text); font-size: 20px; padding: 4px 8px; }
.account-btn:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; align-items: center; }
.social-links a { color: var(--muted); font-size: 18px; transition: color .2s; }
.social-links a:hover { color: var(--accent); }
.account-menu { display: none; position: absolute; top: 60px; right: 60px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; width: 300px; z-index: 200; }
.account-menu.open { display: block; }
.account-menu h3 { margin-bottom: 12px; font-size: 16px; }
.account-menu input { width: 100%; padding: 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: 14px; margin-bottom: 8px; }
.cart-btn { position: relative; background: none; border: none; cursor: pointer; color: var(--text); font-size: 22px; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #000; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* Hero */
.hero { padding: 40px 0 30px; text-align: center; background: linear-gradient(180deg, rgba(232,93,38,0.08) 0%, rgba(123,63,160,0.06) 40%, transparent 70%); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: var(--muted); max-width: 500px; margin: 0 auto 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: all .2s; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* Categorias */
.categories { padding: 40px 0; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.cat-pill { padding: 10px 24px; border-radius: 50px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: all .2s; }
.cat-pill:hover, .cat-pill.active { background: var(--accent); color: #000; border-color: var(--accent); }

/* Grid de produtos */
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 32px; }
.section-title span { color: var(--accent); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding-bottom: 60px; }
.product-card { background: rgba(26,26,42,0.85); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .3s; cursor: pointer; position: relative; z-index: 1; }
.product-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,93,38,0.1); }
.product-img { width: 100%; aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 48px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 16px; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.product-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-size: 22px; font-weight: 700; color: var(--accent); }
.product-price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.badge-destaque { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #000; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }

/* Modal Produto */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 200; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--card); border-radius: 16px; max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; border: 1px solid var(--border); }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--surface); border: none; color: var(--text); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; z-index: 10; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--muted); overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-details { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.modal-details h2 { font-size: 24px; font-weight: 700; }
.modal-details .price { font-size: 28px; font-weight: 700; color: var(--accent); }
.options-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.options { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-btn { padding: 8px 16px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13px; cursor: pointer; transition: all .2s; }
.opt-btn:hover, .opt-btn.selected { border-color: var(--accent); color: var(--accent); background: rgba(232,93,38,0.1); }
.qty-control { display: flex; align-items: center; gap: 12px; }
.qty-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 18px; cursor: pointer; }
.qty-val { font-size: 18px; font-weight: 600; min-width: 30px; text-align: center; }

/* Carrinho lateral */
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 300; }
.cart-overlay.open { display: block; }
.cart-panel { position: fixed; top: 0; right: -400px; width: 400px; max-width: 100vw; height: 100vh; background: var(--card); border-left: 1px solid var(--border); z-index: 301; transition: right .3s; display: flex; flex-direction: column; }
.cart-panel.open { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-size: 18px; font-weight: 700; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 64px; height: 64px; border-radius: 8px; background: var(--surface); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; }
.cart-item-meta { font-size: 12px; color: var(--muted); }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--accent); }
.cart-item-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; }
.cart-item-remove:hover { color: #f87171; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.cart-total span:last-child { color: var(--accent); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Frete */
.frete-box { display: flex; gap: 8px; margin-top: 8px; }
.frete-box input { flex: 1; padding: 10px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 14px; }
.frete-result { margin-top: 8px; font-size: 13px; color: var(--muted); }
.frete-result .frete-option { padding: 8px 0; display: flex; justify-content: space-between; }

/* Checkout */
.checkout-section { padding: 40px 0; }
.checkout-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select { width: 100%; padding: 12px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 14px; font-family: var(--font); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pix-box { background: var(--surface); border: 1px solid var(--purple); border-radius: var(--radius); padding: 24px; text-align: center; margin: 24px 0; }
.pix-box .pix-key { font-size: 18px; font-weight: 700; color: var(--purple2); margin: 12px 0; word-break: break-all; }
.pix-box .copy-btn { margin-top: 8px; }
.order-summary { background: var(--surface); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.order-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.order-line.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-size: 20px; font-weight: 800; color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
footer h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px; }
footer p, footer a { font-size: 14px; color: var(--muted); }
footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { text-align: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--success); color: #000; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 500; transform: translateY(100px); opacity: 0; transition: all .3s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px; gap: 16px; }
  nav.open { display: flex; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-img { max-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 14px; }
  .product-price { font-size: 18px; }
  .hero { padding: 50px 0 40px; }
  .hero p { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-panel { width: 100vw; }
}
