:root {
  --bg: #0b0d0c;
  --surface: #141816;
  --surface-2: #1b1f1c;
  --fg: #f2f4f0;
  --muted: #8b9288;
  --subtle: #6a7168;
  --accent: #3dcf8e;
  --accent-fg: #062016;
  --whatsapp: #25d366;
  --whatsapp-fg: #052012;
  --border: rgb(242 244 240 / 12%);
  --border-strong: rgb(242 244 240 / 22%);
  --sold: #c45c5c;
  --offer: #f0c36a;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; background: var(--bg); color: var(--fg); }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  line-height: 1.5;
  background: var(--bg);
  color: var(--fg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, [role="button"] { cursor: pointer; font: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-fg); }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.wrap-sm { width: min(48rem, calc(100% - 2rem)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgb(11 13 12 / 90%);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 4rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.nav { display: none; align-items: center; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 0.75rem;
  font-size: 0.9rem; color: var(--muted);
}
.nav a:hover, .nav a.is-active { color: var(--fg); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--fg);
}
.mobile-nav {
  display: none; flex-direction: column; padding: 0.5rem 1rem 1rem;
  border-top: 1px solid var(--border);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { height: 48px; display: flex; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 44px; padding: 0 1rem; border-radius: 8px; border: 0;
  font-size: 0.9rem; font-weight: 500; white-space: nowrap;
}
.btn-lg { height: 52px; padding: 0 1.25rem; font-size: 1rem; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: 0 0 0 1px var(--border); }
.btn-wa { background: var(--whatsapp); color: var(--whatsapp-fg); }
.btn-full { width: 100%; }

.hero { position: relative; isolation: isolate; min-height: 70dvh; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 13 12 / 0.55), rgb(11 13 12 / 0.82)); }
.hero-inner {
  position: relative; min-height: 70dvh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 4rem 0;
}
.kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0; }
.hero h1 { margin-top: 0.75rem; font-size: clamp(2rem, 5vw, 3.1rem); max-width: 36rem; }
.hero p.lead { margin: 1rem 0 0; max-width: 32rem; color: rgb(242 244 240 / 80%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.section { padding: 3.5rem 0; }
.section h2 { font-size: 1.5rem; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); font-size: 0.75rem; }

.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 0 0 1px var(--border);
}
.cat-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(11 13 12 / 0.85)); }
.cat-card .txt { position: absolute; inset: auto 0 0; padding: 0.75rem; }
.cat-card h3 { font-size: 1.15rem; }
.cat-card p { margin: 0; font-size: 0.75rem; color: var(--muted); }

.cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.product {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 0 0 1px var(--border);
}
.product.is-sold { opacity: 0.7; }
.product .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product:hover .thumb img { transform: scale(1.03); }
.product.is-sold .thumb img { filter: grayscale(1); }
.product .body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; flex: 1; }
.sku { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); margin: 0; }
.product h3 { font-size: 1rem; margin: 0.25rem 0 0; }
.product h3 a:hover { color: var(--accent); }
.product .short { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.price s { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 0.4rem; }
.badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border-radius: 4px; background: var(--accent); color: var(--accent-fg);
}
.badge-sold { background: var(--sold); color: #fff; }
.row-actions { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.25rem; }
.row-actions .btn { flex: 1; }

.steps { display: grid; gap: 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.step { background: var(--bg); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 0 0 1px var(--border); }
.band { border-block: 1px solid var(--border); background: var(--surface); }
.trust { display: grid; gap: 1rem; margin-top: 1.5rem; }
.trust-card { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 0 0 1px var(--border); }
.trust-card h3 { margin: 0.75rem 0 0; font-size: 1.1rem; }
.trust-card p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }

.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3rem 0; }
.footer p, .footer li { font-size: 0.875rem; color: var(--muted); }
.footer a:hover { color: var(--accent); }
.hours { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.hours span:last-child { color: var(--fg); font-variant-numeric: tabular-nums; }

.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: var(--whatsapp-fg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}
.wa-float:hover { transform: scale(1.05); }

.filters { display: grid; gap: 1rem; margin: 1.5rem 0; }
.filters label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.875rem; }
.filters input, .filters select {
  height: 44px; border-radius: 8px; border: 0; padding: 0 0.75rem;
  background: var(--surface-2); color: var(--fg); box-shadow: 0 0 0 1px var(--border);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  height: 36px; padding: 0 0.8rem; border-radius: 999px; border: 0;
  background: var(--surface); color: var(--muted); box-shadow: 0 0 0 1px var(--border);
  font-size: 0.8rem;
}
.chip.is-on { background: var(--fg); color: var(--bg); box-shadow: none; }

.product-page { display: grid; gap: 2.5rem; padding: 2.5rem 0; }
.gallery img.main { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; background: var(--surface-2); }
.thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.thumbs button { padding: 0; border: 0; background: transparent; border-radius: 8px; overflow: hidden; width: 72px; }
.thumbs img { width: 72px; height: 54px; object-fit: cover; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.spec { background: var(--surface); border-radius: 8px; padding: 0.75rem; box-shadow: 0 0 0 1px var(--border); font-size: 0.875rem; }
.spec dt { color: var(--subtle); }
.spec dd { margin: 0.25rem 0 0; font-weight: 500; }

.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); filter: invert(0.9) hue-rotate(180deg); }
.contact-list { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius); padding: 1rem;
  box-shadow: 0 0 0 1px var(--border);
}
.page-head { padding: 3.5rem 0 1rem; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 0.5rem; }
.store-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.split { display: grid; gap: 2.5rem; padding: 2.5rem 0; }

.imac-explode { position: relative; height: 260vh; background: var(--bg); }
.imac-sticky {
  position: sticky; top: 4rem; height: calc(100dvh - 4rem);
  display: flex; flex-direction: column; overflow: hidden;
}
.imac-copy { text-align: center; padding: 1.25rem 1rem 0; flex-shrink: 0; }
.imac-copy h2 { font-size: 1.35rem; margin-top: 0.25rem; }
.imac-stage { position: relative; flex: 1; min-height: 0; width: min(72rem, 100%); margin: 0 auto; }
.imac-part { position: absolute; left: 0; top: 0; transform-origin: center; }
.imac-part img { width: 100%; height: auto; outline: none; pointer-events: none; filter: drop-shadow(0 16px 24px rgb(0 0 0 / 0.42)); }
.imac-lbl {
  position: absolute; left: 50%; bottom: -1.35rem; transform: translateX(-50%);
  white-space: nowrap; color: var(--muted); font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; pointer-events: none;
}
.imac-cta { text-align: center; padding-bottom: 1.5rem; flex-shrink: 0; }
.imac-cta a { color: var(--accent); height: 44px; display: inline-flex; align-items: center; }
.imac-cta a:hover { text-decoration: underline; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-head a { font-size: 0.9rem; color: var(--accent); }
.section-head a:hover { text-decoration: underline; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .icon-btn.menu { display: none; }
  .mobile-nav, .mobile-nav.is-open { display: none !important; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .product-page { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
