:root {
  color-scheme: dark;
  --bg: #0a0f10;
  --surface: #0f1718;
  --surface-soft: #111d1b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eff7f4;
  --muted: rgba(239, 247, 244, 0.58);
  --subtle: rgba(239, 247, 244, 0.4);
  --mint: #9ae6c8;
  --mint-bright: #b8f3dc;
  --ink: #08241d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(154, 230, 200, 0.35); outline-offset: 2px; }
.shell { width: min(1440px, 100%); margin: 0 auto; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(10, 15, 16, 0.92); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; min-width: 0; gap: 0.75rem; }
.brand-mark { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; place-items: center; border-radius: 0.75rem; background: var(--mint); color: var(--ink); font-size: 1.35rem; font-weight: 800; box-shadow: 0 0 32px rgba(154, 230, 200, 0.18); }
.eyebrow { margin: 0; color: var(--mint); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.19em; }
.eyebrow-with-icon { display: flex; align-items: center; gap: 0.4rem; }
.brand h1 { margin: 0.14rem 0 0; overflow: hidden; color: var(--text); font-size: 1rem; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.reference { margin: 0; border: 1px solid var(--line); border-radius: 0.7rem; background: rgba(255, 255, 255, 0.04); padding: 0.42rem 0.65rem; color: var(--muted); font-size: 0.74rem; }
.page { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 1.5rem; background: radial-gradient(ellipse at top right, rgba(58, 170, 137, 0.24), transparent 42%), linear-gradient(125deg, #111d1b 0%, #0d1415 58%, #101717 100%); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); }
.hero-copy { max-width: 42rem; }
.hero h2 { margin: 0.48rem 0 0; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.18; letter-spacing: -0.03em; }
.hero-copy > p:not(.eyebrow) { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.count-card { align-self: end; min-width: 10.5rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(0, 0, 0, 0.16); padding: 0.8rem 1rem; text-align: right; }
.count-card strong { display: block; color: #fff; font-size: 1.55rem; line-height: 1.05; }
.count-card span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.74rem; }
.search-field { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--line-strong); border-radius: 1rem; background: rgba(0, 0, 0, 0.22); padding: 0 0.72rem 0 1rem; color: var(--mint); }
.search-field > span { font-size: 1.45rem; line-height: 1; }
.search-field input { width: 100%; min-width: 0; height: 3.5rem; border: 0; background: transparent; color: #fff; font-size: 1rem; }
.search-field input::placeholder { color: rgba(255, 255, 255, 0.36); }
.controls-card, .results-card { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); }
.controls-card { padding: clamp(1rem, 2.5vw, 1.3rem); }
.control-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.view-tabs { display: flex; gap: 0.25rem; border-radius: 0.7rem; background: rgba(255, 255, 255, 0.05); padding: 0.25rem; }
.tab { border: 0; border-radius: 0.5rem; background: transparent; padding: 0.55rem 0.85rem; color: var(--muted); font-size: 0.86rem; }
.tab.is-active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.result-summary { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; color: var(--muted); font-size: 0.84rem; }
.text-button { border: 0; background: transparent; padding: 0.2rem; color: var(--mint); font-size: 0.8rem; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.2rem; }
.filter-grid label { display: block; min-width: 0; }
.filter-grid label > span { display: block; margin: 0 0 0.32rem 0.15rem; color: var(--subtle); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }
select { width: 100%; height: 2.65rem; border: 1px solid var(--line-strong); border-radius: 0.65rem; background: rgba(255, 255, 255, 0.035); padding: 0 0.7rem; color: rgba(255, 255, 255, 0.82); font-size: 0.87rem; }
select option { background: #13201e; color: #fff; }
.results-card { overflow: hidden; }
.results-list { display: block; }
.catalog-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6.7rem, auto); gap: 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); padding: 1rem; transition: background 150ms ease; }
.catalog-item:last-child { border-bottom: 0; }
.catalog-item:hover { background: rgba(255, 255, 255, 0.025); }
.item-main { min-width: 0; border: 0; background: transparent; padding: 0; color: inherit; text-align: left; }
.badges { display: flex; flex-wrap: wrap; gap: 0.38rem; }
.badge { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03); padding: 0.2rem 0.43rem; color: rgba(255, 255, 255, 0.68); font-size: 0.65rem; line-height: 1.15; }
.type-emagrecedor { border-color: rgba(243, 132, 232, 0.28); background: rgba(243, 132, 232, 0.1); color: #ffd4f9; }
.type-peptideo, .type-gh { border-color: rgba(94, 234, 212, 0.28); background: rgba(94, 234, 212, 0.1); color: #c9fff6; }
.type-testosterona { border-color: rgba(125, 211, 252, 0.28); background: rgba(125, 211, 252, 0.1); color: #d7f3ff; }
.type-trembolona { border-color: rgba(251, 191, 36, 0.28); background: rgba(251, 191, 36, 0.1); color: #fff0bd; }
.type-default { border-color: rgba(154, 230, 200, 0.26); background: rgba(154, 230, 200, 0.09); color: #d3ffeb; }
.item-title { margin: 0.55rem 0 0; color: #fff; font-size: 0.96rem; font-weight: 650; line-height: 1.28; }
.item-main:hover .item-title { color: #aaf0d3; }
.item-subtitle { display: -webkit-box; overflow: hidden; margin: 0.32rem 0 0; color: rgba(255, 255, 255, 0.49); font-size: 0.83rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.item-meta { margin: 0.75rem 0 0; color: rgba(255, 255, 255, 0.52); font-size: 0.73rem; line-height: 1.4; }
.item-side { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 0.7rem; text-align: right; }
.price-label { margin: 0; color: rgba(255, 255, 255, 0.38); font-size: 0.61rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.price { margin: 0.2rem 0 0; color: var(--mint-bright); font-size: 0.96rem; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.item-actions { display: flex; gap: 0.2rem; }
.icon-button { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border: 0; border-radius: 0.55rem; background: transparent; color: rgba(255, 255, 255, 0.55); font-size: 1.2rem; line-height: 1; }
.icon-button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.icon-button.is-favorite { color: #fda4af; }
.icon-button.is-compared { background: rgba(154, 230, 200, 0.12); color: var(--mint-bright); }
.state-panel { display: grid; min-height: 18rem; place-items: center; align-content: center; padding: 2rem; text-align: center; }
.state-panel h3 { margin: 0.85rem 0 0; color: #fff; font-size: 1rem; }
.state-panel p { max-width: 24rem; margin: 0.35rem 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.state-icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--mint); font-size: 1.25rem; font-weight: 700; }
.spinner { width: 1.8rem; height: 1.8rem; border: 3px solid rgba(154, 230, 200, 0.18); border-top-color: var(--mint); border-radius: 50%; animation: spin 0.8s linear infinite; }
footer { padding: 2rem 0; color: rgba(255, 255, 255, 0.36); font-size: 0.73rem; }
.primary-button, .secondary-button { border: 0; border-radius: 0.65rem; padding: 0.65rem 0.9rem; font-weight: 750; }
.primary-button { background: var(--mint); color: var(--ink); }
.primary-button:hover { background: var(--mint-bright); }
.secondary-button { margin-top: 1rem; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: #fff; }
.small { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
.compare-bar { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid rgba(154, 230, 200, 0.25); border-radius: 1rem; background: rgba(17, 32, 29, 0.96); padding: 0.7rem 0.75rem 0.7rem 1rem; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); backdrop-filter: blur(18px); }
.compare-bar p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.84rem; }
.compare-bar p strong { color: var(--mint-bright); }
.compare-bar > div { display: flex; align-items: center; gap: 0.15rem; }
.dialog { width: min(38rem, calc(100% - 2rem)); max-height: min(46rem, calc(100vh - 2rem)); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 1.25rem; background: #10191a; color: #fff; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.65); }
.dialog::backdrop { background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(2px); }
.wide-dialog { width: min(68rem, calc(100% - 2rem)); }
.dialog-content { position: relative; max-height: inherit; overflow: auto; padding: 2rem; }
.dialog-close { position: absolute; top: 0.85rem; right: 0.85rem; }
.dialog-heading h2 { margin: 0.4rem 0 0; font-size: 1.45rem; }
.dialog-heading p:not(.eyebrow) { margin: 0.4rem 0 1.2rem; color: var(--muted); font-size: 0.88rem; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-right: 2rem; }
.detail-title { margin: 1rem 0 0; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.03em; }
.detail-commercial { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255, 255, 255, 0.035); padding: 1rem; }
.detail-grid span { display: block; color: rgba(255, 255, 255, 0.38); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.detail-grid strong { display: block; margin-top: 0.35rem; color: rgba(255, 255, 255, 0.84); font-size: 0.86rem; line-height: 1.35; }
.detail-grid .price-value { color: var(--mint-bright); }
.detail-description { margin-top: 1.5rem; }
.detail-description p:first-child { margin: 0; color: rgba(255, 255, 255, 0.42); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.detail-description p:last-child { margin: 0.6rem 0 0; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; line-height: 1.6; white-space: pre-line; }
.detail-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.5rem; }
.detail-actions .secondary-button { margin-top: 0; }
.comparison-wrap { overflow-x: auto; padding-bottom: 0.3rem; }
.comparison-table { width: 100%; min-width: 40rem; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; font-size: 0.83rem; }
.comparison-table th, .comparison-table td { border-bottom: 1px solid rgba(255, 255, 255, 0.07); padding: 0.8rem; vertical-align: top; text-align: left; }
.comparison-table th:not(:first-child), .comparison-table td { border-left: 1px solid rgba(255, 255, 255, 0.07); }
.comparison-table thead th { background: rgba(255, 255, 255, 0.035); }
.comparison-table thead th:first-child { width: 9.5rem; color: rgba(255, 255, 255, 0.45); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.comparison-table tbody th { color: rgba(255, 255, 255, 0.52); font-size: 0.72rem; font-weight: 650; }
.comparison-table tbody td { color: rgba(255, 255, 255, 0.78); line-height: 1.45; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.comparison-product { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.4rem; }
.comparison-product strong { color: #fff; font-size: 0.86rem; line-height: 1.25; }
.comparison-product span { display: block; margin-top: 0.25rem; color: rgba(255, 255, 255, 0.45); font-size: 0.7rem; font-weight: 400; }
.comparison-product .icon-button { flex: 0 0 auto; }
.toast { position: fixed; bottom: 5.5rem; left: 50%; z-index: 40; transform: translateX(-50%); border: 1px solid var(--line-strong); border-radius: 0.7rem; background: #1b2927; padding: 0.65rem 0.85rem; color: #fff; font-size: 0.82rem; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
.is-hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 850px) {
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .header-inner { min-height: 68px; }
  .reference { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1rem; border-radius: 1.25rem; }
  .count-card { justify-self: start; align-self: auto; min-width: 0; text-align: left; }
  .control-top { align-items: flex-start; flex-direction: column; }
  .result-summary { justify-content: flex-start; }
  .filter-grid { grid-template-columns: 1fr; }
  .catalog-item { grid-template-columns: minmax(0, 1fr) minmax(5.8rem, auto); gap: 0.55rem; padding: 0.9rem; }
  .item-title { font-size: 0.9rem; }
  .item-subtitle { font-size: 0.78rem; }
  .item-meta { font-size: 0.69rem; }
  .price { font-size: 0.86rem; }
  .item-side { gap: 0.5rem; }
  .compare-bar { right: 0.75rem; bottom: 0.75rem; left: 0.75rem; }
  .dialog { width: min(100% - 1rem, 38rem); }
  .dialog-content { padding: 1.35rem; }
  .detail-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
