:root {
  --lj-primary: #1a6b9a;
  --lj-primary-dark: #0d4f75;
  --lj-accent: #2ecc71;
  --lj-danger: #e74c3c;
  --lj-text: #1f2937;
  --lj-muted: #6b7280;
  --lj-border: #e5e7eb;
  --lj-bg: #f8fafc;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Instrument Sans', system-ui, sans-serif; color: var(--lj-text); background: var(--lj-bg); }
a { color: inherit; }
img { max-width: 100%; }

/* Header */
.lj-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--lj-border); height: 64px; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.lj-logo { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 800; color: var(--lj-primary); text-decoration: none; white-space: nowrap; }
.lj-logo i { font-size: 1.3rem; }
.lj-nav { display: flex; align-items: center; gap: 0; white-space: nowrap; }
.lj-nav a { color: var(--lj-text); text-decoration: none; font-size: .88rem; font-weight: 500; padding: .4rem .7rem; border-radius: 6px; transition: .15s; }
.lj-nav a:hover, .lj-nav a.active { color: var(--lj-primary); background: #f0f7ff; }
.lj-search-form { display: flex; border: 1px solid var(--lj-border); border-radius: 8px; overflow: hidden; }
.lj-search-input { flex: 1; border: none; outline: none; padding: .4rem .75rem; font-size: .85rem; background: transparent; }
.lj-search-btn { background: var(--lj-primary); color: #fff; border: none; padding: .4rem .75rem; cursor: pointer; }
.lj-cart-icon { position: relative; color: var(--lj-text); text-decoration: none; display: flex; align-items: center; }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--lj-danger); color: #fff; font-size: .6rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.lj-account-btn { display: flex; align-items: center; gap: .3rem; color: var(--lj-text); text-decoration: none; font-size: .85rem; font-weight: 500; }
.lj-account-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lj-hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--lj-text); padding: .3rem; }
.lj-mobile-drawer { position: fixed; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--lj-border); z-index: 99; transform: translateY(-105%); transition: transform .25s; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.lj-mobile-drawer.open { transform: translateY(0); }
.lj-mobile-drawer a, .lj-mobile-drawer button { display: block; padding: .65rem 1rem; font-size: .9rem; color: var(--lj-text); text-decoration: none; border-bottom: 1px solid var(--lj-border); }

/* Layout */
.lj-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.lj-section { padding: 2.5rem 0; }

/* Section title */
.lj-section-title { font-size: 1.3rem; font-weight: 800; border-left: 4px solid var(--lj-primary); padding-left: .75rem; margin: 0 0 1.5rem; color: var(--lj-text); }

/* Hero */
.lj-hero { position: relative; height: 420px; overflow: hidden; background: var(--lj-primary); }
.lj-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .5s; }
.lj-hero-slide.active { opacity: 1; }
.lj-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.lj-hero-title { color: #fff; font-size: 2.2rem; font-weight: 800; margin: 0 0 .5rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.lj-hero-sub { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0 0 1.25rem; }
.lj-hero-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: .15s; }
.lj-hero-nav:hover { background: rgba(255,255,255,.35); }
.lj-hero-prev { left: 1rem; }
.lj-hero-next { right: 1rem; }
.lj-hero-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; }
.lj-hero-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: .15s; }
.lj-hero-dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.prod-card { background: #fff; border: 1px solid var(--lj-border); border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,107,154,.15); }
.prod-thumb { width: 100%; height: 100%; object-fit: contain; display: block; }
.prod-info { padding: .75rem; flex: 1; }
.prod-nome { font-size: .85rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .4rem; line-height: 1.4; }
.prod-preco { font-size: 1.05rem; font-weight: 800; color: var(--lj-primary); }
.prod-preco-promo { font-size: .78rem; color: #9ca3af; text-decoration: line-through; }
.prod-btn { width: 100%; background: var(--lj-primary); color: #fff; border: none; border-radius: 6px; padding: .45rem; font-size: .82rem; cursor: pointer; font-weight: 600; transition: background .15s; display: flex; align-items: center; justify-content: center; gap: .3rem; }
.prod-btn:hover { background: var(--lj-primary-dark); }

/* Buttons */
.lj-btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--lj-primary); color: #fff; border: none; border-radius: 8px; padding: .5rem 1.1rem; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.lj-btn:hover { background: var(--lj-primary-dark); transform: translateY(-1px); }
.lj-btn-outline { background: transparent; color: var(--lj-primary); border: 2px solid var(--lj-primary); }
.lj-btn-outline:hover { background: #f0f7ff; }

/* Forms */
.lj-form-label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .25rem; color: var(--lj-text); }
.lj-form-control { width: 100%; border: 1px solid var(--lj-border); border-radius: 8px; padding: .5rem .75rem; font-size: .88rem; color: var(--lj-text); background: #fff; transition: border-color .15s; outline: none; }
.lj-form-control:focus { border-color: var(--lj-primary); box-shadow: 0 0 0 3px rgba(26,107,154,.1); }
.lj-form-select { width: 100%; border: 1px solid var(--lj-border); border-radius: 8px; padding: .5rem .75rem; font-size: .88rem; background: #fff; outline: none; cursor: pointer; }

/* Alerts */
.lj-alert { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.25rem; border-radius: 8px; font-size: .88rem; }
.lj-alert-success { background: #e8f5e9; color: #2d6a4f; border: 1px solid #a5d6a7; }
.lj-alert-error   { background: #fce8e8; color: #991b1b; border: 1px solid #fca5a5; }
.lj-alert-info    { background: #e8f4fd; color: #1e40af; border: 1px solid #93c5fd; }

/* Breadcrumb */
.lj-breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--lj-muted); }
.lj-breadcrumb a { color: var(--lj-primary); text-decoration: none; }

/* Product detail */
.lj-produto-detail { display: grid; grid-template-columns: 420px 1fr; gap: 2rem; align-items: start; }
.lj-produto-img-wrap { background: #fff; border: 1px solid var(--lj-border); border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.lj-produto-img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.lj-produto-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #d1d5db; font-size: 5rem; }

/* Checkout grid */
.lj-checkout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }

/* Filters sidebar */
.lj-filters-sidebar {}

/* Footer */
.lj-footer { background: #1a2b3c; padding: 3rem 0 0; margin-top: 3rem; }
.lj-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; }
.lj-footer-brand { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 800; color: #fff; }
.lj-footer-brand i { color: var(--lj-accent); }
.lj-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.4); }

/* Badge */
.badge { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.badge-success  { background: #dcfce7; color: #166534; }
.badge-danger   { background: #fee2e2; color: #991b1b; }
.badge-warning  { background: #fef3c7; color: #92400e; }
.badge-info     { background: #dbeafe; color: #1e40af; }
.badge-purple   { background: #f3e8ff; color: #6b21a8; }
.badge-secondary{ background: #f1f5f9; color: #475569; }
.badge-esgotado { background: #f1f5f9; color: #6b7280; }
.badge-promo    { background: #fee2e2; color: #991b1b; }

/* Stars */
.lj-stars { color: #f59e0b; letter-spacing: .05em; font-size: .88rem; }

/* Cart table */
.lj-cart-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.lj-cart-table th { text-align: left; padding: .6rem .75rem; border-bottom: 2px solid var(--lj-border); font-size: .8rem; color: var(--lj-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lj-cart-table td { padding: .75rem; border-bottom: 1px solid var(--lj-border); vertical-align: middle; }

/* Responsive */
@media (max-width: 900px) {
  .lj-nav { display: none; }
  .lj-hamburger { display: block; }
  .lj-search-form { display: none; }
  .lj-produto-detail { grid-template-columns: 1fr; }
  .lj-checkout-grid { grid-template-columns: 1fr; }
  .lj-filters-sidebar { display: none; }
  .lj-footer-grid { grid-template-columns: 1fr 1fr; }
  .lj-hero { height: 280px; }
  .lj-hero-title { font-size: 1.5rem; }
  .lj-hero-overlay { padding: 1.5rem; }
}
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .lj-footer-grid { grid-template-columns: 1fr; }
  .lj-hero { height: 220px; }
}
