/* Uliam.com - estilos */
:root {
  --black: #111214;
  --black-2: #1c1d21;
  --orange: #ff9800;
  --orange-2: #ffb21a;
  --orange-dark: #e07800;
  --bg: #f3f3f5;
  --card: #ffffff;
  --text: #1b1b1f;
  --muted: #62636b;
  --line: #e3e3e8;
  --green: #128c3a;
  --wa: #1fa855;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  --header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 16px; }
.only-mobile { display: none !important; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #111; }
.btn-primary:hover { background: var(--orange-2); }
.btn-dark { background: var(--black); color: #fff; }
.btn-outline { background: #fff; color: var(--orange-dark); border: 2px solid var(--orange); }
.btn-outline:hover { background: #fff6e8; }
.icon-btn { background: none; border: 0; padding: 8px; display: inline-grid; place-items: center; font-size: 24px; color: inherit; border-radius: 8px; }
.link-btn { background: none; border: 0; color: var(--orange-dark); text-decoration: underline; font-weight: 700; padding: 0; }

/* ---------- cabeçalho ---------- */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 40; }
.header-top { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; flex: none; }
.logo-cart { font-size: 44px; color: var(--orange); }
.logo-text { display: flex; flex-direction: column; line-height: .95; }
.logo-text b { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.logo-text em { font-style: normal; color: var(--orange); font-size: .8em; }
.logo-text small { font-size: 17px; font-weight: 800; align-self: flex-end; }
.trust-mini { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--orange); font-size: 12px; }
.trust-mini li { display: flex; align-items: center; gap: 6px; }
.trust-mini svg { font-size: 22px; color: var(--orange); }
.search { flex: 1; display: flex; background: #fff; border-radius: 999px; overflow: hidden; min-width: 0; }
.search input { flex: 1; min-width: 0; border: 0; padding: 12px 18px; outline: none; color: #111; background: transparent; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { border: 0; background: var(--orange); width: 58px; display: grid; place-items: center; font-size: 22px; color: #111; border-radius: 999px; margin: 3px; }
.fav-link { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font-size: 14px; position: relative; padding: 6px; border-radius: 8px; }
.fav-link svg { font-size: 24px; }
.fav-link[aria-pressed="true"] { color: var(--orange); }
.fav-count { background: var(--orange); color: #111; font-weight: 800; font-size: 11px; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }

.nav-bar { background: var(--black-2); border-top: 1px solid #2a2b30; }
.nav-inner { display: flex; align-items: center; gap: 24px; }
.all-cats { display: flex; align-items: center; gap: 10px; background: var(--orange); color: #111; border: 0; font-weight: 800; padding: 10px 18px; border-radius: 0 0 10px 10px; }
.all-cats svg { font-size: 20px; }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links button { background: none; border: 0; color: #fff; font-weight: 700; padding: 10px 14px; white-space: nowrap; border-radius: 6px; font-size: 14px; }
.nav-links button:hover, .nav-links button.active { color: var(--orange); }

/* ---------- gaveta ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 320px); background: #fff; z-index: 70; transform: translateX(-102%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; background: var(--black); color: #fff; padding: 12px 12px 12px 16px; }
.drawer-head .logo-text b { font-size: 24px; }
.drawer-links { list-style: none; margin: 0; padding: 8px 0; }
.drawer-links button, .drawer-links a { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: 0; padding: 14px 18px; font-weight: 700; text-decoration: none; font-size: 16px; }
.drawer-links svg { font-size: 22px; color: var(--orange-dark); }
.drawer-links button.active { background: #fff3e0; }
.drawer-foot { border-top: 1px solid var(--line); margin-top: auto; }
.drawer-foot a { font-weight: 500; color: var(--muted); }

/* ---------- banner ---------- */
.hero { position: relative; background: radial-gradient(120% 140% at 70% 30%, #ff9800 0%, #b84a00 30%, #2a0d00 62%, #0d0d0f 100%); color: #fff; min-height: 300px; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder { position: absolute; inset: 14px 14px 14px 46%; border: 2px dashed rgba(255,255,255,.55); border-radius: 12px; display: grid; place-items: center; text-align: center; font-size: 13px; color: rgba(255,255,255,.85); padding: 12px; }
.hero-placeholder code { background: rgba(0,0,0,.35); padding: 1px 5px; border-radius: 4px; }
.hero.has-art .hero-placeholder { display: none; }
/* escurece a área do texto para ele ficar legível sobre a arte */
.hero.has-art .hero-copy { z-index: 2; }
.hero.has-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.7) 30%, rgba(10,10,12,0) 55%); }
@media (max-width: 767px) {
  .hero.has-art::before { background: linear-gradient(180deg, rgba(10,10,12,.8) 0%, rgba(10,10,12,.55) 60%, rgba(10,10,12,.1) 100%); }
}
.ph-mob { display: none; }
@media (max-width: 767px) { .ph-mob { display: inline; } }
.hero-copy { position: relative; padding-top: 36px; padding-bottom: 36px; }
.hero h1 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; font-weight: 900; font-style: italic; letter-spacing: -1px; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.hero h1 span { color: var(--orange-2); }
.hero p { margin: 12px 0 22px; font-size: clamp(16px, 1.7vw, 22px); font-weight: 700; font-style: italic; max-width: 30ch; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.btn-hero { background: var(--orange); color: #111; font-size: 19px; padding: 13px 26px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.btn-hero svg { font-size: 24px; }
.btn-hero:hover { background: var(--orange-2); }

/* ---------- faixa de categorias ---------- */
.cat-strip { margin-top: -22px; position: relative; z-index: 2; }
.cat-list { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.cat-list li { flex: 1; }
.cat-list button { width: 100%; background: var(--card); border: 2px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.cat-list .cat-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 32px; background: linear-gradient(145deg, #232428, #0d0d0f); color: var(--orange); }
.cat-list button:hover { border-color: var(--orange-2); }
.cat-list button.active { border-color: var(--orange); background: #fff7ea; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; margin-top: 22px; margin-bottom: 40px; align-items: start; scroll-margin-top: 130px; }
.filters { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: calc(var(--header-h) + 14px); }
.filters-head { background: var(--black); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 14px; }
.filters-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; padding: 12px 0; }
.filters-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.f-label { font-weight: 800; font-size: 14px; margin-top: 6px; }
.filters select, .filters input[type=number] { width: 100%; border: 1px solid #cfd0d6; border-radius: 6px; padding: 9px 10px; background: #fff; font-size: 14px; }
.price-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.price-row input { min-width: 0; }
.price-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.price-chips button { border: 1px solid var(--line); background: #f7f7f9; border-radius: 999px; padding: 5px 10px; font-size: 12.5px; }
.price-chips button.active { background: var(--orange); border-color: var(--orange); font-weight: 700; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }

/* ---------- seções e cards ---------- */
.sec { margin-bottom: 30px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 24px; display: flex; align-items: center; gap: 8px; }
.sec-head h2 svg { color: var(--orange); font-size: 28px; }
.sec-meta { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.sec-meta a { color: var(--orange-dark); font-weight: 700; }
.sec-more { color: var(--orange-dark); font-weight: 700; font-size: 14px; background: none; border: 0; text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.card-img { display: block; aspect-ratio: 1 / 1; padding: 14px; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.card:hover .card-img img { transform: scale(1.04); }
.rank { position: absolute; top: 10px; left: 10px; background: var(--black); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; z-index: 1; }
.rank b { color: var(--orange-2); }
.store-tag { position: absolute; top: 10px; left: 10px; background: var(--orange); color: #111; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; z-index: 1; }
.fav { position: absolute; top: 6px; right: 6px; z-index: 1; background: rgba(255,255,255,.92); border: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; color: #555; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.fav[aria-pressed="true"] { color: #e3263c; }
.card-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.price { font-size: 22px; font-weight: 800; margin-top: 4px; }
.price-date { font-size: 12px; color: var(--muted); }
.price-now { font-size: 12.5px; color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.price-now svg { vertical-align: -2px; margin-left: 2px; }
.price-now:hover { text-decoration: underline; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.card-actions .btn-primary { flex: 1; padding: 10px 8px; font-size: 14px; line-height: 1.15; text-align: center; }
.wa { flex: none; width: 42px; border-radius: 8px; background: var(--wa); color: #fff; border: 0; display: grid; place-items: center; font-size: 22px; text-decoration: none; }
.wa:hover { filter: brightness(1.08); }

.empty, .loading { background: #fff; border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--black); color: #d8d8de; border-top: 4px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: 26px; padding-top: 30px; padding-bottom: 22px; }
.f-brand p { font-weight: 700; color: #fff; margin: 12px 0 0; }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); }
.f-seal { display: flex; gap: 12px; align-items: flex-start; }
.f-seal svg { font-size: 46px; color: var(--orange); }
.f-seal b { display: block; color: #fff; font-size: 17px; }
.f-seal span { font-size: 13px; }
.disclaimer { border-top: 1px solid #2c2d33; padding-top: 16px; padding-bottom: 22px; font-size: 13px; color: #b7b8c0; }
.disclaimer p { margin: 0 0 8px; }
.disclaimer p:first-child { color: #fff; font-weight: 600; }
.copy { color: #8a8b93; }

/* ---------- extras ---------- */
.to-top { position: fixed; right: 16px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--orange); color: #111; font-size: 24px; display: none; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 30; opacity: 0; transition: opacity .2s; }
.to-top.show { opacity: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); background: var(--black); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .2s; pointer-events: none; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.badge { background: var(--orange); color: #111; border-radius: 999px; font-size: 12px; padding: 0 7px; font-weight: 800; }

/* páginas internas */
.page { max-width: 820px; margin: 28px auto 48px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.page h1 { margin-top: 0; }
.page h2 { font-size: 19px; margin-top: 26px; }
.page a { color: var(--orange-dark); }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
  .trust-mini { display: none; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .only-mobile { display: inline-flex !important; }
  .filters { position: fixed; top: 0; right: 0; bottom: 0; width: min(90vw, 360px); border-radius: 0; z-index: 70; transform: translateX(102%); transition: transform .25s ease; display: flex; flex-direction: column; }
  .filters.open { transform: none; }
  .filters-body { overflow-y: auto; flex: 1; }
  .filters-body .btn { padding: 12px; }
  .toolbar { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -16px 10px; padding: 8px 16px; background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; }
  .result-count { font-size: 13px; color: var(--muted); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .header-top { flex-wrap: wrap; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px; }
  .logo-cart { font-size: 32px; }
  .logo-text b { font-size: 23px; }
  .logo-text small { font-size: 13px; }
  .logo { margin-right: auto; }
  .search { order: 5; flex-basis: 100%; }
  .search input { padding: 10px 14px; font-size: 16px; }
  .search button { width: 48px; }
  .hide-sm { display: none; }
  .nav-bar { display: none; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 26px; padding-bottom: 74px; }
  .hero-placeholder { inset: 8px; place-items: end center; padding-bottom: 30px; font-size: 11px; }
  .ph-desk { display: none; }
  .hero p { margin-bottom: 16px; }
  .btn-hero { font-size: 16px; padding: 11px 20px; }
  .cat-strip { margin-top: -18px; padding: 0; }
  .cat-list { overflow-x: auto; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cat-list::-webkit-scrollbar { display: none; }
  .cat-list li { flex: 0 0 auto; scroll-snap-align: start; }
  .cat-list button { width: 104px; padding: 10px 6px; font-size: 12.5px; }
  .cat-list .cat-ico { width: 44px; height: 44px; font-size: 26px; }
  .layout { margin-top: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-img { padding: 10px; }
  .card-body { padding: 0 10px 10px; }
  .card-title { font-size: 13px; }
  .price { font-size: 18px; }
  .price-date, .price-now { font-size: 11px; }
  .rank, .store-tag { font-size: 10.5px; padding: 3px 7px; top: 8px; left: 8px; }
  .fav { width: 34px; height: 34px; font-size: 19px; }
  .card-actions { gap: 6px; }
  .card-actions .btn-primary { font-size: 12.5px; padding: 9px 4px; line-height: 1.15; }
  .wa { width: 36px; font-size: 19px; }
  .sec-head h2 { font-size: 19px; }
  .to-top { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .page { margin: 16px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
