@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --black: #111111;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --bg: #fff;
  --bg-soft: #f6f6f4;
  --green: #2fa84a;
  --green-dark: #246332;
  --gold: #e4d2a4;
  --navy: #2d4050;
  --star: #f5b301;
  --danger: #c0392b;
  --header-h: 72px;
  --max: 1360px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Plus Jakarta Sans", Inter, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  min-width: 320px;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* Topbar */
.topbar {
  background: var(--navy);
  color: #fff;
  height: 42px;
}
.topbar-inner {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}
.timer {
  display: flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.flip {
  background: #111;
  color: #fff;
  min-width: 18px;
  height: 22px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12);
}
.timer i { font-style: normal; opacity: .85; padding: 0 1px; }
.off-pill {
  background: var(--gold);
  color: #1a1a1a;
  border-radius: 4px;
  padding: 2px 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.search {
  display: flex;
  align-items: center;
  height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  background: #f1f1f1;
  width: 220px;
  flex-shrink: 0;
  gap: 8px;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  min-width: 0;
}
.search input::placeholder { color: #9a9a9a; }
.search svg { width: 16px; height: 16px; color: #555; flex-shrink: 0; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 4px;
}
.header-nav > a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-item { position: relative; }
.nav-item > button, .nav-item > a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-item > button svg { width: 9px; height: 9px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-first {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #111;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-first svg { width: 16px; height: 16px; }
.icon-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.icon-btn svg { width: 18px; height: 18px; }
.login-label { white-space: nowrap; }
.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cart-btn svg { width: 20px; height: 20px; stroke: #fff; }
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #111;
  color: #fff;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.badge.show { display: flex; }
.mega {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  padding: 28px;
  min-width: 720px;
  z-index: 60;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: block; }
.nav-item:hover .mega.cols, .nav-item:focus-within .mega.cols { display: grid; }
.header-nav .nav-item .mega { left: 0; transform: none; }
.mega.cols { grid-template-columns: 220px 1fr; gap: 28px; }
.mega-simple { min-width: 280px; padding: 16px 0; }
.mega-simple a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}
.mega-simple a:hover { background: var(--bg-soft); }
.mega-side img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.mega-side p { font-size: 12px; color: var(--muted); }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
}
.mega-grid h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mega-grid a { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 13px; }
.mega-grid a:hover { color: var(--green); }
.tag-novo {
  background: var(--gold);
  color: #111;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

/* Categories */
.cats {
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--line);
}
.cats-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.cat {
  flex: 0 0 108px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}
.cat .thumb {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid #eee;
}
.cat img { width: 100%; height: 100%; object-fit: cover; }
.cat.active .thumb { outline: 2px solid var(--black); outline-offset: 2px; }
.cat.novo { position: relative; }
.cat .tag-novo { position: absolute; top: 0; right: 12px; }

.freight {
  display: none;
}

.hero {
  display: block;
  background: #3a8fd4;
  line-height: 0;
}
.hero img,
.hero picture {
  width: 100%;
  display: block;
}
.hero img {
  height: auto;
}

/* Listing */
.listing { padding: 28px 0 64px; }
.listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}
.listing-head h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.toolbar { display: flex; gap: 10px; }
.tool {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13px;
  background: #fff;
}
.tool svg { width: 16px; height: 16px; }
.tool:hover { border-color: #111; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.card { display: flex; flex-direction: column; min-width: 0; cursor: pointer; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media img { transition: transform .35s ease; }
.card-media {
  position: relative;
  background: #f7f7f5;
  aspect-ratio: 1;
  margin-bottom: 12px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wish {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  z-index: 2;
}
.wish svg { width: 18px; height: 18px; }
.wish:hover svg { fill: var(--danger); stroke: var(--danger); }

.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  color: var(--star);
  font-size: 12px;
}
.stars span { color: var(--muted); font-weight: 600; }
.stars .s { letter-spacing: -1px; }

.card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.25;
  min-height: 36px;
}
.sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 4px 0 6px;
  min-height: 28px;
}
.size {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.box-opt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.prices { margin: 8px 0 10px; min-height: 44px; }
.from {
  color: #9a9a9a;
  text-decoration: line-through;
  font-size: 13px;
}
.to {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sold {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #888;
  padding-top: 8px;
}

.cta {
  width: 100%;
  height: 44px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 12px;
  text-transform: uppercase;
  margin-top: auto;
}
.cta.buy {
  background: var(--ink);
  color: #fff;
}
.cta.discount {
  background: var(--green);
  color: #fff;
}
.cta.discount:hover { background: var(--green-dark); }
.cta.wait {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.cta:hover { opacity: 0.92; }
.subscribe {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-height: 32px;
}

/* Drawers / modals */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 80;
  display: none;
}
.overlay.open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 90;
  transform: translateX(110%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.drawer-b { padding: 24px 22px; flex: 1; overflow: auto; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-weight: 700; letter-spacing: 0.06em; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.cart-item img { width: 72px; height: 72px; object-fit: contain; background: var(--bg-soft); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 24px; height: 24px; border: 1px solid #ddd; }
.drawer-f { padding: 16px 22px 24px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; }
.frete-msg { font-size: 12px; margin-bottom: 14px; }
.frete-msg b { color: var(--green); }
.checkout {
  display: block;
  text-align: center;
  background: var(--black);
  color: #fff;
  padding: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.panel {
  position: fixed;
  z-index: 90;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  display: none;
}
.panel.open { display: block; }
.filter-panel {
  top: 180px;
  left: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 22px;
  border-radius: 8px;
}
.sort-panel {
  top: 180px;
  right: 24px;
  width: 240px;
  padding: 8px 0;
  border-radius: 8px;
}
.sort-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 18px;
  font-size: 13px;
}
.sort-panel button:hover, .sort-panel button.active { background: var(--bg-soft); font-weight: 700; }
.filter-panel h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin: 16px 0 10px; }
.price-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; }
input[type="range"] { width: 100%; }
.checks label { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 13px; }
.filter-actions { display: flex; gap: 8px; margin-top: 18px; }
.filter-actions button {
  flex: 1;
  height: 42px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.filter-actions .apply { background: #111; color: #fff; }
.filter-actions .clear { border: 1px solid #111; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.footer { background: #111; color: #fff; padding: 56px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.footer a { display: block; font-size: 13px; color: #cfcfcf; padding: 5px 0; }
.footer a:hover { color: #fff; }
.news p { color: #cfcfcf; font-size: 13px; margin: 8px 0 14px; }
.news form { display: flex; }
.news input {
  flex: 1;
  height: 44px;
  padding: 0 12px;
  border: 0;
}
.news button {
  background: var(--gold);
  color: #111;
  padding: 0 16px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal {
  border-top: 1px solid #2a2a2a;
  padding-top: 18px;
  font-size: 11px;
  color: #9a9a9a;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hamb { display: none; }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 0 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a, .mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  border-bottom: 1px solid #f2f2f2;
}

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .login-label, .hide-md { display: none; }
  .header-nav { display: none; }
  .hamb { display: flex; }
  .btn-first { display: none; }

  .header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: auto;
    padding: 10px 0 12px;
    gap: 10px 8px;
  }
  .hamb {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }
  .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .logo img { height: 24px; }
  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    gap: 4px;
  }
  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .wrap { width: calc(100% - 24px); }
  .topbar { height: auto; }
  .topbar-inner {
    height: auto;
    min-height: 42px;
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .topbar-left, .topbar-right { white-space: nowrap; }
  .flip { min-width: 16px; height: 20px; font-size: 12px; }

  .search input { font-size: 16px; }
  .icon-btn { padding: 8px; min-width: 40px; min-height: 40px; justify-content: center; }
  .cart-btn { width: 40px; height: 40px; }

  .mobile-nav { padding-bottom: 8px; }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; }

  .listing { padding: 18px 0 48px; }
  .listing-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }
  .listing-head h1 { font-size: 22px; }
  .toolbar { width: 100%; }
  .toolbar .tool {
    flex: 1;
    justify-content: center;
    min-height: 44px;
  }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .card h3 { font-size: 11px; min-height: 0; }
  .sub { min-height: 0; font-size: 10px; }
  .prices { min-height: 0; margin: 6px 0 8px; }
  .to { font-size: 15px; }
  .from { font-size: 12px; }
  .cta {
    height: auto;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 10px;
    line-height: 1.2;
  }
  .wish { width: 32px; height: 32px; top: 6px; right: 6px; }
  .stars { font-size: 11px; }

  .hero { background: #3a8fd4; }
  .hero img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .cats { padding: 12px 0 4px; }
  .cat { flex: 0 0 84px; font-size: 11px; }
  .cat .thumb { width: 60px; height: 60px; }
  .cats-row { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cats-row::-webkit-scrollbar { display: none; }

  .filter-panel,
  .sort-panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(80vh, 560px);
    overflow: auto;
    border-radius: 16px 16px 0 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .sort-panel { width: 100%; }
  .sort-panel button { min-height: 44px; }

  .footer { padding: 40px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .news form { width: 100%; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom)); width: calc(100% - 32px); text-align: center; }
}

@media (max-width: 520px) {
  .topbar-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal { flex-direction: column; gap: 6px; }
  .drawer-h, .drawer-b, .drawer-f { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 380px) {
  .grid { gap: 14px 8px; }
  .cta { font-size: 9px; letter-spacing: 0.04em; }
}
