/* Shared discovery details, using the existing Vigilentis brand and assets. */
:root { --find-blue: #235bea; --find-ink: #152345; --find-yellow: #ffd63d; }
body { background: #f1f6ff; }
.brand { color: var(--find-ink); text-decoration: none; }
.kicker { color: #526a91; font-size: .7rem; font-weight: 800; letter-spacing: .15em; margin: 0 0 10px; }
.section .kicker { color: #526a91; }
.radar-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ffdf60; margin-right: 7px; }
.hero { background: #155ce5; }
body:not(.feed-page) .hero h1 { font-size: clamp(3rem, 5.6vw, 4.6rem); margin: 14px 0 16px; }
body:not(.feed-page) .art { height: 430px; object-fit: contain; }
.hero h1 span { color: #ffdf60; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.hero-actions .cta { margin: 0; }
.hero-secondary { color: white; text-underline-offset: 5px; font-size: .85rem; font-weight: 700; }
.copy { padding: clamp(28px, 3.5vw, 44px); }
.copy p:not(.eyebrow) { max-width: 34ch; font-size: 1rem; line-height: 1.55; }
.art { border-radius: 26px; }
.hunt-bar { margin: 28px 0 12px; }
.hunt-bar form { display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 22px; border: 1px solid #cad9ef; border-radius: 18px; background: white; }
.hunt-bar form > span { font-size: 1.8rem; color: #526a91; }
.hunt-bar input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px 0; font: inherit; color: #152345; }
.hunt-bar button { flex-shrink: 0; background: #235bea; color: white; border: 0; border-radius: 12px; padding: 14px 20px; font: 750 .88rem system-ui, sans-serif; cursor: pointer; }
.budget-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; font-size: .8rem; }
.budget-links > span { color: #526482; margin-right: 4px; }
.budget-links a { color: #254677; background: #e1ebfc; border-radius: 30px; padding: 7px 13px; text-decoration: none; font-weight: 700; }
.section-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > a { white-space: nowrap; font-size: .88rem; }
.finds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.find-card { display: block; position: relative; background: white; border: 1px solid #d6e2f3; border-radius: 24px; padding: 16px 20px 22px; text-decoration: none; color: #152345; transition: transform .18s, border-color .18s; }
.find-card:hover { transform: translateY(-4px); border-color: #235bea; }
.find-image { display: grid; place-items: center; width: 100%; height: 195px; background: white; border-radius: 15px; }
.find-image img { width: 100%; height: 100%; max-height: 195px; object-fit: contain; padding: 12px; }
.find-shop { font-size: .7rem; color: #526482; font-weight: 700; margin: 14px 0 7px; }
.find-card h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 12px; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.find-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.find-price strong { font-size: 1.7rem; font-weight: 850; letter-spacing: -.05em; }
.find-price s { color: #66748a; font-size: .86rem; }
.find-badge { position: absolute; top: 16px; left: 16px; border: 2px solid #ffda32; background: #ffda32; border-radius: 50px; padding: 5px 11px; font-size: .95rem; font-weight: 850; }
.find-badge.hot { border-color: #e2394e; background: #fff0f3; color: #bb2039; }
.finds-fallback { grid-column: 1 / -1; }
.fine-print { color: #62708b; font-size: .75rem; line-height: 1.5; margin-top: 15px; }
.category { display: flex; flex-direction: column; padding: 26px; }
.category h3 { margin: 15px 0 7px; }
.category-label { font-size: .65rem; font-weight: 800; letter-spacing: .12em; color: #536884; }
.category p { margin-bottom: 24px; }
.category a { margin-top: auto; }
.category:nth-child(2) { background: #fffbeb; }
.category:nth-child(3) { background: #f5f0ff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.step-number { display: inline-grid; place-items: center; width: 36px; height: 36px; font-size: .75rem; font-weight: 800; color: #235bea; background: #e8efff; border-radius: 12px; }
.guide .steps h3 { margin-top: 16px; }
.steps p { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* The feed keeps search and saved finds at hand while the cards continue scrolling. */
.feed-page { font-family: ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif; }
.feed-page header { position: sticky; top: 0; z-index: 30; width: 100%; padding: 14px max(24px, calc((100% - 1420px) / 2)); background: #f1f6fff5; border-bottom: 1px solid #dae5f5; gap: 22px; }
.feed-page .wrap:not(header) { max-width: 1420px; }
.feed-page .brand { font-size: 1.65rem; }
.feed-page .brand-mark { width: 52px; height: 52px; }
.feed-page .search-label { width: min(540px, 48%); }
.feed-page .search-label input { border-radius: 14px; }
.feed-page .saved-toggle { border-radius: 14px; white-space: nowrap; }
.feed-page .hero { height: 165px; min-height: 165px; margin-top: 20px; padding: 24px 4%; border-radius: 24px; }
.feed-page .hero-copy { max-width: 61%; }
.feed-page .hero h1 { font-size: clamp(1.9rem, 3.4vw, 3.15rem); letter-spacing: -.04em; }
.feed-eyebrow { font-size: .63rem; font-weight: 800; letter-spacing: .14em; color: #fff0a4; margin: 0 0 12px; }
.feed-page .controls { margin-top: 22px; }
.feed-page .chips { gap: 7px; }
.feed-page .chips button { padding: 9px 20px; font-size: .88rem; background: #e1ebfc; }
.feed-page .chips button[aria-pressed=true] { background: #235bea; }
.feed-page .filter-toggle { font-size: .85rem; border-radius: 12px; padding: 10px 17px; }
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.quick-filters button { background: white; border: 1px solid #d4e0f3; border-radius: 30px; padding: 7px 14px; font-size: .76rem; font-weight: 700; }
.quick-filters button[aria-pressed=true] { color: #15378f; border-color: #235bea; background: #e4edff; }
.quick-filters .quick-hot { color: #bd2840; border-color: #f0bdc6; }
.quick-filters .quick-hot[aria-pressed=true] { background: #ffe9ee; border-color: #cf2946; color: #ad1932; }
.quick-divider { height: 18px; border-left: 1px solid #cedbef; margin: 0 3px; }
.feed-page .feed-head { align-items: center; margin: 25px 0 16px; }
.feed-page .feed-head h2 { font-size: clamp(1.5rem, 2.7vw, 2rem); }
.sort-label { display: flex; align-items: center; gap: 8px; color: #526482; font-size: .76rem; white-space: nowrap; }
.sort-label select { max-width: 175px; font-size: .78rem; color: #20385d; border-radius: 12px; padding: 9px 12px; }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.active-filters[hidden] { display: none; }
.active-filters button { border: 0; border-radius: 10px; background: #e0eafa; color: #244373; padding: 6px 10px; font-size: .73rem; }
.active-filters .clear-filters { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.feed-page .card { border-color: #dce5f3; box-shadow: 0 2px 0 #d9e5f4; border-radius: 20px; }
.feed-page .card-link { padding: 14px; border-radius: 20px; gap: 14px; }
.feed-page .tile { border-radius: 12px; }
.feed-page .meta { color: #526482; font-size: .64rem; }
.feed-page .content h3 { margin-top: 5px; margin-bottom: 14px; line-height: 1.4; }
.feed-page .price strong { font-size: clamp(1.7rem, 2.2vw, 2.25rem); }
.feed-page .favorite { width: 44px; height: 44px; top: 7px; right: 7px; }
.feed-page .badge { font-size: 1.85rem; padding: 2px 13px; margin-top: 12px; }
.feed-page .badge.hot { font-size: 2.15rem; }
.amount-saved { margin-top: 7px; font-size: .73rem; color: #315b46; font-weight: 750; }
.feed-page .card:has(.badge.hot) { border: 2px solid #e64560; }
.empty-state { background: white; border: 1px dashed #b8cbe5; border-radius: 22px; padding: 30px 20px; }
.empty-state img { width: 60px; height: 60px; margin-bottom: 8px; }
.empty-state strong { display: block; font-size: 1.15rem; color: #152345; }
.empty-state p { margin: 8px auto 18px; max-width: 45ch; }
.empty-state button { border: 1px solid #235bea; background: #235bea; color: white; border-radius: 12px; padding: 10px 18px; font-size: .83rem; margin: 3px; }
.empty-state .secondary { background: white; color: #235bea; }
.skeleton { min-height: 235px; background: #fff; border: 1px solid #dce5f3; border-radius: 20px; padding: 20px; display: flex; gap: 18px; }
.skeleton span { display: block; width: 44%; border-radius: 12px; background: #f0f3f9; }
.skeleton div { flex: 1; padding-top: 12px; }
.skeleton i { display: block; height: 14px; border-radius: 5px; background: #edf1f8; margin-bottom: 14px; }
.skeleton i:last-child { width: 65%; height: 32px; margin-top: 35px; background: #fff3c8; }
@media (max-width: 1000px) {
  .steps { gap: 20px; }
  .find-image, .find-image img { height: 155px; max-height: 155px; }
  .find-card { padding: 12px 16px 18px; }
  .feed-page header { gap: 14px; }
  .feed-page .brand { font-size: 1.4rem; }
  .feed-page .brand-mark { width: 46px; height: 46px; }
  .feed-page .brand-tagline { font-size: .6rem; }
}
@media (max-width: 760px) {
  .feed-page .feed { grid-template-columns: 1fr; }
  .feed-page .card-link { grid-template-columns: 40% minmax(0, 1fr); }
  .feed-page .tile { min-height: 190px; }
  .feed-page .content h3 { font-size: 1.05rem; }
  .finds-grid { gap: 12px; }
  .find-card { padding: 12px; }
  .find-price strong { font-size: 1.4rem; }
}
@media (max-width: 650px) {
  .hero-actions { gap: 18px; margin-top: 22px; }
  .hero-secondary { font-size: .8rem; }
  body:not(.feed-page) .art { height: 235px; max-height: 235px; margin-top: 0; }
  .hunt-bar form { gap: 8px; padding-left: 14px; }
  .hunt-bar input { font-size: .85rem; }
  .hunt-bar button { font-size: .78rem; padding: 13px 12px; }
  .budget-links { gap: 7px; font-size: .7rem; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading > a { font-size: .75rem; margin-top: 24px; }
  .finds-grid { grid-template-columns: 1fr; }
  .find-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); column-gap: 18px; padding: 16px; }
  .find-image { grid-row: 1 / 5; height: 160px; }
  .find-image img { height: 160px; max-height: 160px; padding: 4px; }
  .find-shop { margin: 3px 0 7px; }
  .find-card h3 { margin-bottom: 8px; }
  .find-badge { position: static; grid-column: 2; width: max-content; margin-top: 8px; font-size: .8rem; }
  .find-price strong { font-size: 1.65rem; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps p { margin-bottom: 0; }
  .feed-page header { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .feed-page .search-label { width: 100%; }
  .feed-page .search-label input { padding: 10px 14px; font-size: .88rem; }
  .feed-page .saved-toggle { padding: 9px 12px; }
  .feed-page .hero { height: 145px; min-height: 145px; padding: 22px; margin-top: 14px; }
  .feed-page .hero-copy { max-width: 70%; }
  .feed-page .hero h1 { font-size: 1.85rem; }
  .feed-eyebrow { font-size: .55rem; letter-spacing: .09em; }
  .feed-page .toolbar { align-items: center; }
  .feed-page .chips { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .feed-page .chips button { flex: 0 0 auto; font-size: .77rem; padding: 8px 12px; }
  .feed-page .filter-toggle { flex-shrink: 0; }
  .feed-page .filter-toggle { font-size: .78rem; padding: 8px 12px; }
  .quick-filters { gap: 6px; margin-top: 13px; }
  .quick-filters button { padding: 7px 11px; font-size: .7rem; }
  .quick-divider { margin: 0; }
  .sort-label { font-size: 0; gap: 0; }
  .sort-label select { max-width: 150px; font-size: .73rem; padding: 8px; }
  .feed-page .feed-head h2 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .find-card { transition: none; } }
