@font-face { font-family: Dana; src: url("fonts/DanaFaNum-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Dana; src: url("fonts/DanaFaNum-Bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
:root {
  --ink: #123a3b;
  --muted: #6d8584;
  --line: #d9e9e6;
  --teal: #087f78;
  --teal-soft: #e8f7f4;
  --page: #f5faf9;
  --warning: #8d6b2f;
  --warning-bg: #fff7e7;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 10% 0%, #e4f5f1 0, transparent 34%), var(--page); font-family: Dana, Tahoma, Arial, sans-serif; }
button, input { font: inherit; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.page-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 24px; }
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--teal); font-size: 21px; font-weight: 800; }
.brand-mark strong, .brand-mark small { display: block; }
.brand-mark strong { font-size: 18px; }
.brand-mark small, .header-note { color: var(--muted); font-size: 11px; }
.search-card { padding: clamp(20px, 4vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.9); box-shadow: 0 24px 70px rgba(18,58,59,.08); }
.intro { max-width: 760px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 800; }
h1 { margin: 9px 0 8px; font-size: clamp(24px, 4vw, 38px); line-height: 1.35; }
.intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 2; }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; align-items: center; margin-top: 28px; }
.dropzone { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 16px 18px; border: 1px dashed #85c8c0; border-radius: 17px; background: #fff; cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone:focus-within, .dropzone.dragging { border-color: var(--teal); background: #f4fcfa; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong, .dropzone small { display: block; }
.dropzone strong { font-size: 13px; }
.dropzone > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.dropzone small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.upload-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; color: var(--teal); background: var(--teal-soft); font-size: 26px; font-weight: 700; }
.preview { position: relative; width: 92px; height: 92px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f2f7f6; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview button { position: absolute; top: 5px; inset-inline-end: 5px; display: grid; place-items: center; width: 25px; height: 25px; border: 0; border-radius: 50%; color: white; background: rgba(18,58,59,.8); cursor: pointer; }
.submit-button { min-height: 48px; padding: 0 14px; border: 0; border-radius: 13px; color: white; background: var(--teal); cursor: pointer; font-size: 12px; font-weight: 800; }
.submit-button:hover { background: #056d67; }
.submit-button:disabled { cursor: wait; opacity: .6; }
.status { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--muted); font-size: 11px; }
.status.error { color: #b43d48; }
.provider-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.provider-status span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 99px; color: var(--muted); background: #f0f6f5; font-size: 11px; }
.provider-status i { width: 7px; height: 7px; border-radius: 50%; background: #a6b9b7; }
.provider-status span.ok { color: var(--teal); background: var(--teal-soft); }
.provider-status span.ok i { background: var(--teal); }
.provider-status span.blocked, .provider-status span.unavailable { color: var(--warning); background: var(--warning-bg); }
.provider-status span.blocked i, .provider-status span.unavailable i { background: #c29336; }
.provider-status span.error { color: #b43d48; background: #fff0f1; }
.provider-status span.error i { background: #b43d48; }
.results { margin-top: 30px; }
.results-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.results-heading h2 { margin: 0; font-size: 20px; }
.results-heading span { color: var(--muted); font-size: 11px; }
.results-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.result-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.result-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f2f7f6; }
.result-body { display: flex; min-height: 150px; flex-direction: column; gap: 6px; padding: 12px; }
.result-provider { align-self: flex-start; padding: 3px 7px; border-radius: 99px; color: var(--teal); background: var(--teal-soft); font-size: 9px; font-weight: 800; }
.result-body h3 { display: -webkit-box; overflow: hidden; margin: 0; font-size: 12px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.result-seller { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.result-price { margin-top: auto; font-size: 12px; font-weight: 800; }
.result-price.missing { color: var(--muted); font-weight: 500; }
.result-link { color: var(--teal); font-size: 10px; font-weight: 800; text-decoration: none; }
.result-link:hover { text-decoration: underline; }
.page-footer { padding: 24px 0 34px; color: var(--muted); font-size: 10px; text-align: center; }
@media (max-width: 800px) { .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .page-shell { width: min(100% - 20px, 540px); } .page-header { padding-top: 18px; } .header-note { display: none; } .search-form { grid-template-columns: 1fr; } .preview { width: 100%; height: 180px; } .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
