:root {
  --white: #ffffff;
  --off-white: #fafaf8;
  --bg-warm: #f7f5f2;
  --border: #e7e5e0;
  --border-strong: #d4d1cc;
  --ink: #0a0a0a;
  --ink-2: #1f1f1f;
  --ink-3: #525252;
  --ink-4: #8a8a8a;
  --orange: #F26A21;
  --orange-dark: #d85a15;
  --orange-soft: #fff4ec;
  --orange-line: #fddcc3;
  --green: #2e8a3c;
  --red: #c4321f;
  --yellow: #e8a317;
  --shadow-sm: 0 1px 2px rgba(10,10,10,0.04);
  --shadow-md: 0 4px 14px rgba(10,10,10,0.08);
  --shadow-lg: 0 16px 40px rgba(10,10,10,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Inter", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-warm); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, select { font-family: inherit; font-size: inherit; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { background: var(--ink); color: #d4d1cc; font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-accent { color: var(--orange); font-weight: 500; }

/* ============================================================
   HEADER
   ============================================================ */
.header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.menu-btn { display: none; padding: 8px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 1px; color: var(--ink); }
.logo-text span { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--ink-3); margin-top: 2px; }

.search { flex: 1; display: flex; align-items: center; background: var(--bg-warm); border: 1.5px solid var(--border); border-radius: var(--radius-md); position: relative; transition: border-color .15s; }
.search:focus-within { border-color: var(--orange); background: var(--white); }
.search-icon { position: absolute; left: 14px; color: var(--ink-4); }
.search input { flex: 1; background: none; border: none; outline: none; padding: 12px 14px 12px 44px; font-size: 14px; }
.search-btn { background: var(--ink); color: var(--white); padding: 8px 22px; margin: 4px; border-radius: 6px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; transition: background .15s; }
.search-btn:hover { background: var(--orange); }

.header-actions { display: flex; gap: 4px; flex-shrink: 0; }
.header-action { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-md); transition: background .15s; }
.header-action:hover { background: var(--bg-warm); }
.action-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.action-label { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.5px; }
.action-sub { font-size: 13px; font-weight: 600; color: var(--ink); }
.cart-btn { background: var(--orange-soft); border: 1.5px solid var(--orange-line); }
.cart-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.cart-btn:hover .action-label, .cart-btn:hover .action-sub { color: var(--white); }
.cart-icon-wrap { position: relative; color: var(--orange); }
.cart-btn:hover .cart-icon-wrap { color: var(--white); }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--ink); color: var(--white); font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ============================================================
   CATEGORIES BAR
   ============================================================ */
.catbar { background: var(--ink); color: var(--white); border-bottom: 3px solid var(--orange); }
.catbar-inner { display: flex; align-items: stretch; height: 44px; gap: 4px; }
.catbar-all { display: flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--orange); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: var(--white); }
.catbar-links { display: flex; flex: 1; overflow-x: auto; }
.catbar-link { padding: 0 16px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; font-size: 13.5px; color: var(--white); white-space: nowrap; transition: color .15s; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.catbar-link:hover, .catbar-link.active { color: var(--orange); border-bottom-color: var(--orange); }
.catbar-promo { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 12px; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--white); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; padding: 40px 24px; }
.hero-main { display: flex; flex-direction: column; justify-content: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--orange); padding: 6px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; width: fit-content; }
.hero-main h1 { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0; }
.hero-main h1 em { color: var(--orange); font-style: normal; }
.hero-main p { font-size: 15px; color: var(--ink-3); max-width: 560px; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 32px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: var(--white); padding: 14px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; transition: background .15s, transform .1s; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { padding: 14px 24px; border-radius: var(--radius-md); border: 1.5px solid var(--border-strong); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; background: var(--white); transition: border-color .15s; }
.btn-ghost:hover { border-color: var(--ink); }
.hero-stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-stats span { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero-card { position: relative; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-card-promo { background: var(--orange-soft); border: 1.5px solid var(--orange-line); }
.hero-card-dark { background: var(--ink); color: var(--white); }
.hero-card-tag { position: absolute; top: 16px; right: 16px; background: var(--orange); color: var(--white); padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 700; font-family: var(--font-display); letter-spacing: 0.5px; }
.hero-card-tag-dark { position: absolute; top: 16px; right: 16px; background: var(--orange); color: var(--white); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.hero-card-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--orange); text-transform: uppercase; margin-bottom: 8px; }
.hero-card-dark .hero-card-label { color: var(--orange); }
.hero-card-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.1; margin-bottom: 12px; }
.hero-card-price { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--ink); }
.hero-card-price span { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 6px; font-family: var(--font-sans); }
.hero-card-price-dark { font-size: 13px; color: #d4d1cc; }

/* ============================================================
   LAYOUT SHOP
   ============================================================ */
.shop { padding: 32px 0 60px; }
.shop-inner { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 128px; align-self: flex-start; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 4px; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.sidebar-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
.sidebar-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.cat-tree { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cat-tree-root { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; text-align: left; transition: background .12s; }
.cat-tree-root:hover { background: var(--bg-warm); }
.cat-tree-root.active { background: var(--ink); color: var(--white); }
.cat-tree-root.active .cat-count { color: var(--orange); }
.cat-tree-label { display: inline-flex; align-items: center; gap: 6px; }
.cat-count { font-size: 11px; color: var(--ink-4); font-variant-numeric: tabular-nums; font-weight: 500; }
.cat-sub { list-style: none; padding: 4px 0 4px 20px; border-left: 1.5px solid var(--border); margin-left: 12px; margin-top: 4px; }
.cat-tree-sub { width: 100%; display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 4px; font-size: 12.5px; color: var(--ink-3); text-align: left; transition: all .12s; }
.cat-tree-sub:hover { background: var(--bg-warm); color: var(--ink); }
.cat-tree-sub.active { color: var(--orange); font-weight: 600; }

.brand-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.brand-check, .promo-check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 0; font-size: 13px; user-select: none; }
.brand-check input, .promo-check input { display: none; }
.brand-box { width: 16px; height: 16px; border: 1.5px solid var(--border-strong); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: transparent; flex-shrink: 0; transition: all .12s; }
.brand-check input:checked + .brand-box, .promo-check input:checked + .brand-box { background: var(--orange); border-color: var(--orange); color: var(--white); }
.brand-label { font-weight: 500; }
.sidebar-more { font-size: 12px; color: var(--orange); font-weight: 600; margin-top: 8px; }
.sidebar-more:hover { text-decoration: underline; }

.price-slider input[type=range] { width: 100%; accent-color: var(--orange); }
.price-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.price-labels strong { color: var(--ink); }

.sidebar-cta { display: flex; align-items: center; gap: 12px; background: #25d366; color: var(--white); padding: 14px 16px; border-radius: var(--radius-md); cursor: pointer; transition: transform .12s; }
.sidebar-cta:hover { transform: translateY(-2px); }
.sidebar-cta strong { display: block; font-size: 13px; font-weight: 700; }
.sidebar-cta span { font-size: 11px; opacity: 0.9; }

/* ============================================================
   MAIN (TOOLBAR + GRID)
   ============================================================ */
.main-content { min-width: 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.toolbar-info { font-size: 13px; color: var(--ink-3); }
.toolbar-info strong { color: var(--ink); font-weight: 600; }
.toolbar-controls { display: flex; gap: 8px; align-items: center; }
.toolbar-sort { padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--white); font-size: 13px; font-weight: 500; }
.view-toggle { display: flex; background: var(--bg-warm); border-radius: 6px; padding: 3px; gap: 2px; }
.view-toggle button { padding: 6px 10px; border-radius: 4px; color: var(--ink-4); }
.view-toggle button.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.density-toggle { display: flex; gap: 4px; }
.density-toggle button { padding: 6px 10px; border: 1px solid var(--border); border-radius: 4px; background: var(--white); font-size: 12px; font-weight: 600; color: var(--ink-3); font-family: var(--font-mono); }
.density-toggle button.active { border-color: var(--ink); color: var(--ink); background: var(--bg-warm); }

/* Active filter chips */
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--white); padding: 4px 8px 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.filter-chip button { color: var(--orange); display: flex; }
.clear-all { padding: 4px 10px; font-size: 12px; color: var(--ink-3); font-weight: 500; text-decoration: underline; }

/* GRID */
.product-grid { display: grid; gap: 12px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* PRODUCT CARD */
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.product-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.product-img-wrap { position: relative; aspect-ratio: 1; background: var(--bg-warm); overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-tag-promo, .product-tag-new, .product-tag-top { position: absolute; top: 8px; padding: 3px 7px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; font-family: var(--font-display); }
.product-tag-promo { left: 8px; background: var(--orange); color: var(--white); }
.product-tag-new { left: 8px; top: 34px; background: var(--ink); color: var(--white); }
.product-tag-top { left: 8px; top: 34px; background: var(--yellow); color: var(--ink); }
.product-fav { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink-3); transition: all .15s; }
.product-fav:hover { color: var(--red); border-color: var(--red); }

.product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-4); font-weight: 600; }
.product-brand { color: var(--orange); }
.product-sku { font-family: var(--font-mono); }
.product-name { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }

.product-pricing { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; padding-top: 8px; border-top: 1px dashed var(--border); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; }
.price-label, .price-label-w { font-size: 10px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.price-varejo { font-size: 12px; color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-row-wholesale .price-label-w { color: var(--orange); }
.box-hint { font-size: 9px; color: var(--ink-4); text-transform: none; letter-spacing: 0; font-weight: 500; }
.price-wholesale { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.product-stock { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; }
.stock-dot.ok { background: var(--green); }
.stock-dot.low { background: var(--yellow); }
.stock-dot.crit { background: var(--red); }

.product-action { margin-top: auto; padding-top: 4px; }
.btn-add { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--ink); color: var(--white); padding: 9px 12px; border-radius: 6px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; transition: background .15s; }
.btn-add:hover { background: var(--orange); }

.qty-stepper { display: flex; align-items: stretch; background: var(--orange); border-radius: 6px; overflow: hidden; }
.qty-stepper button { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; color: var(--white); transition: background .15s; }
.qty-stepper button:hover { background: var(--orange-dark); }
.qty-stepper span { flex: 1; text-align: center; padding: 8px 0; color: var(--white); font-weight: 700; font-size: 12px; letter-spacing: 0.5px; font-family: var(--font-mono); }
.qty-stepper.small { border-radius: 4px; }
.qty-stepper.small button { flex-basis: 24px; }
.qty-stepper.small span { padding: 4px 0; font-size: 11px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10,10,10,0.5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100vw; background: var(--white); transform: translateX(100%); transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 70; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer-header h3 { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.drawer-count { color: var(--orange); }
.drawer-close { padding: 6px; color: var(--ink-3); }
.drawer-close:hover { color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.drawer-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; color: var(--ink-4); gap: 12px; }
.drawer-empty p { font-weight: 600; color: var(--ink-2); font-size: 15px; }
.drawer-empty span { font-size: 13px; }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--bg-warm); }
.cart-item-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-meta { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-4); font-weight: 600; }
.cart-item-brand { color: var(--orange); }
.cart-item-sku { font-family: var(--font-mono); }
.cart-item-name { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; gap: 8px; }
.cart-item-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.cart-item-price span { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-item-price small { font-size: 10px; color: var(--ink-4); }
.cart-item-trash { padding: 6px; color: var(--ink-4); }
.cart-item-trash:hover { color: var(--red); }

.drawer-footer { border-top: 1px solid var(--border); padding: 18px 22px; background: var(--bg-warm); }
.totals { margin-bottom: 14px; }
.totals-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; color: var(--ink-3); }
.totals-row.discount { color: var(--green); font-weight: 500; }
.totals-row.total { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; font-size: 14px; color: var(--ink); }
.totals-row.total strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.btn-whatsapp { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: var(--white); padding: 14px; border-radius: var(--radius-md); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; transition: background .15s; }
.btn-whatsapp:hover { background: #1fb455; }
.drawer-continue { width: 100%; margin-top: 8px; padding: 10px; font-size: 12px; }
.drawer-note { text-align: center; font-size: 11px; color: var(--ink-4); margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #a8a5a0; padding: 48px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2a2a2a; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 16px; background: var(--white); padding: 10px 14px; border-radius: 8px; display: block; }
.footer-brand h4 { font-family: var(--font-display); color: var(--white); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.footer-social { display: flex; gap: 8px; }
.footer-social button { width: 36px; height: 36px; border-radius: 50%; background: #2a2a2a; color: #d4d1cc; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.footer-social button:hover { background: var(--orange); color: var(--white); }
.footer-col h5 { color: var(--white); font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; transition: color .12s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 12px; color: #6a6a6a; }
.footer-bottom strong { color: var(--white); }

/* WhatsApp Float */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); z-index: 50; transition: transform .15s; }
.wa-float:hover { transform: scale(1.1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .product-grid.cols-6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .shop-inner { grid-template-columns: 240px 1fr; }
  .product-grid.cols-5, .product-grid.cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-main h1 { font-size: 42px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}
@media (max-width: 768px) {
  .only-mobile { display: flex !important; }
  .topbar-right { display: none; }
  .header-inner { height: 64px; gap: 12px; flex-wrap: wrap; }
  .search { order: 10; width: 100%; flex-basis: 100%; }
  .action-text { display: none; }
  .logo img { height: 40px; }
  .logo-text { display: none; }
  .catbar-links { display: none; }
  .catbar-all { width: 100%; justify-content: center; }
  .catbar-promo { display: none; }
  .shop-inner { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .product-grid.cols-4, .product-grid.cols-5, .product-grid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-main h1 { font-size: 32px; }
  .hero-side { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cart-drawer { width: 100%; }
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel { position: fixed; bottom: 24px; left: 24px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 80; overflow: hidden; width: 300px; font-size: 13px; }
.tweaks-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--ink); color: var(--white); }
.tweaks-header h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.tweaks-header button { color: var(--white); }
.tweaks-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; max-height: 60vh; overflow-y: auto; }
.tweak { display: flex; flex-direction: column; gap: 6px; }
.tweak-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); }
.tweak-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-pill { padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 4px; font-size: 12px; font-weight: 500; background: var(--white); cursor: pointer; transition: all .12s; }
.tweak-pill.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tweak-color { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: all .12s; }
.tweak-color.active { border-color: var(--ink); transform: scale(1.12); }
.tweak input[type=range] { width: 100%; accent-color: var(--orange); }
.tweak-switch { display: flex; justify-content: space-between; align-items: center; }
.tweak-switch input { display: none; }
.switch-track { width: 36px; height: 20px; background: var(--border-strong); border-radius: 10px; position: relative; cursor: pointer; transition: background .15s; }
.switch-track::before { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: var(--white); border-radius: 50%; transition: transform .15s; }
.tweak-switch input:checked + .switch-track { background: var(--orange); }
.tweak-switch input:checked + .switch-track::before { transform: translateX(16px); }

/* Dark mode */
body.dark { --bg-warm: #111111; --white: #1a1a1a; --off-white: #1a1a1a; --ink: #fafaf8; --ink-2: #e7e5e0; --ink-3: #a8a5a0; --ink-4: #6a6a6a; --border: #2a2a2a; --border-strong: #3a3a3a; --orange-soft: rgba(242, 106, 33, 0.1); --orange-line: rgba(242, 106, 33, 0.3); }
body.dark .header { background: #1a1a1a; }
body.dark .footer { background: #000; }
body.dark .product-card { background: #1a1a1a; }
body.dark .btn-ghost { background: #1a1a1a; color: var(--ink); }
body.dark .hero { background: #1a1a1a; }
body.dark .hero-card-promo { background: rgba(242, 106, 33, 0.08); }

/* ── PRODUCT MODAL ─────────────────────────────────────────── */
.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white, #fff);
  border-radius: 12px;
  width: min(860px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  z-index: 501;
}
.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gray-100, #f4f4f4);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background .15s;
}
.product-modal-close:hover { background: var(--gray-300, #ccc); }
.product-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}
.product-modal-img {
  position: relative;
  background: var(--gray-100, #f4f4f4);
  border-radius: 12px 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal-img img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}
.product-modal-info {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-modal-cat {
  font-size: 11px;
  background: var(--gray-100, #f4f4f4);
  color: var(--gray-700, #444);
  padding: 2px 8px;
  border-radius: 10px;
}
.product-modal-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black, #0a0a0a);
}
.product-modal-prices {
  background: var(--gray-100, #f4f4f4);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-modal-price-row.highlight {
  padding-top: 8px;
  border-top: 1px solid var(--gray-300, #ccc);
}
.price-save {
  font-size: 11px;
  background: #fff5f0;
  color: var(--orange, #F26A21);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.product-modal-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.product-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.modal-stepper {
  width: 100%;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--gray-100, #f4f4f4);
  border-radius: 8px;
}
.modal-btn-add {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}
.modal-btn-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #25d366;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.modal-btn-wpp:hover { background: #1da855; }
@media (max-width: 640px) {
  .product-modal-inner { grid-template-columns: 1fr; }
  .product-modal-img { border-radius: 12px 12px 0 0; max-height: 220px; }
}

/* ── PRODUCT MODAL BACKDROP ────────────────────────────────── */
.pmodal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 500;
}
.product-modal { z-index: 501; }

/* ── MODAL DESCRIÇÃO ───────────────────────────────────────── */
.product-modal-desc {
  font-size: 13px;
  color: var(--gray-700, #444);
  line-height: 1.6;
  max-height: 140px;
  overflow-y: auto;
  padding: 10px 12px;
  background: var(--gray-100, #f4f4f4);
  border-radius: 6px;
  border-left: 3px solid var(--orange, #F26A21);
}
.product-modal-desc p { margin-bottom: 6px; }
.product-modal-desc p:last-child { margin-bottom: 0; }
.product-modal-desc strong { color: var(--black, #0a0a0a); }

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing {
  min-height: 100vh;
  background: var(--black, #0a0a0a);
  display: flex;
  flex-direction: column;
}
.landing-header {
  background: var(--black, #0a0a0a);
  border-bottom: 2px solid var(--orange, #F26A21);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.landing-logo { height: 42px; width: auto; }
.landing-header-text h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white, #fff);
  margin: 0;
}
.landing-header-text p { font-size: 12px; color: #888; margin: 0; }
.landing-wpp {
  margin-left: auto;
  background: #25d366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.landing-wpp:hover { background: #1da855; }

.landing-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 48px 32px;
  flex-wrap: wrap;
}

/* ── Auth Card ─────────────────────────────────────────────── */
.landing-auth { width: 360px; flex-shrink: 0; }
.auth-card {
  background: var(--white, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.auth-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
}
.auth-tabs button {
  flex: 1;
  padding: 14px;
  border: none;
  background: #f8f8f8;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  color: #888;
  transition: all .15s;
}
.auth-tabs button.active {
  background: var(--white, #fff);
  color: var(--orange, #F26A21);
  border-bottom: 2px solid var(--orange, #F26A21);
  margin-bottom: -2px;
}
.auth-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-field { display: flex; flex-direction: column; gap: 5px; }
.auth-field label { font-size: 12px; font-weight: 600; color: #555; }
.auth-field input {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.auth-field input:focus { border-color: var(--orange, #F26A21); }
.auth-error {
  background: #fff0f0;
  color: #c0392b;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  border-left: 3px solid #c0392b;
}
.auth-submit {
  background: var(--orange, #F26A21);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 15px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .15s;
  margin-top: 4px;
}
.auth-submit:hover:not(:disabled) { background: #d45a14; }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.auth-footer {
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.auth-footer a { color: var(--orange, #F26A21); font-weight: 600; text-decoration: none; }

/* ── Featured Products ─────────────────────────────────────── */
.landing-featured { flex: 1; min-width: 280px; max-width: 560px; }
.landing-featured-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white, #fff);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.landing-featured-title svg { color: var(--orange, #F26A21); }
.landing-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.landing-card {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, transform .15s;
}
.landing-card:hover { border-color: var(--orange, #F26A21); transform: translateY(-2px); }
.landing-card-img {
  position: relative;
  background: #111;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.landing-card-img img { width: 100%; height: 100%; object-fit: contain; }
.landing-card-body { padding: 10px 12px; }
.landing-card-sku { font-size: 10px; color: #666; font-family: monospace; }
.landing-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white, #fff);
  margin: 4px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.landing-card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.landing-card-price strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange, #F26A21);
}

/* ── Footer ────────────────────────────────────────────────── */
.landing-footer {
  padding: 16px 32px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── HERO FEATURED ─────────────────────────────────────────── */
.hero-featured {
  background: var(--black, #0a0a0a);
  padding: 16px 20px;
  border-bottom: 1px solid #222;
}
.hero-featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hero-featured-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white, #fff);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-featured-title svg { color: var(--orange, #F26A21); }
.hero-featured-sub { font-size: 11px; color: #666; }
.hero-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 900px) { .hero-featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hero-featured-grid { grid-template-columns: repeat(2, 1fr); } }

.hero-feat-card {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.hero-feat-card:hover { border-color: var(--orange, #F26A21); transform: translateY(-2px); }
.hero-feat-img {
  position: relative;
  background: #111;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.hero-feat-img img { width: 100%; height: 100%; object-fit: contain; }
.hero-feat-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.hero-feat-sku { font-size: 10px; color: #555; font-family: monospace; }
.hero-feat-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--white, #fff);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-feat-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange, #F26A21);
  margin: 3px 0;
}
.hero-feat-action { margin-top: 4px; }
