@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --tp-green: #00b67a;
  --tp-green-dark: #049564;
  --tp-lime: #73cf11;
  --tp-yellow: #ffce00;
  --tp-orange: #ff8622;
  --tp-red: #ff3722;
  --tp-blue: #2563eb;
  --tp-blue-hover: #1d4ed8;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --hero: #f4fbf8;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-hover: 0 16px 40px rgba(15, 23, 42, .10);
  --radius: 18px;
  --font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.topbar {
  background: #07131f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.brand img { height: 34px; width: auto; display: block; filter: none; }
.top-search { flex: 1; max-width: 420px; }
.top-search input {
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}
.top-search input:focus { outline: 2px solid rgba(0,182,122,.25); border-color: var(--tp-green); background: #fff; }
.nav { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.nav a, .nav button.link { background: none; border: 0; color: #e2e8f0; cursor: pointer; font-size: 14px; }
.nav a:hover { color: #fff; }

.btn { border: 0; cursor: pointer; border-radius: 999px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .15s ease; }
.btn-blue { background: var(--tp-green); color: #fff; padding: 11px 18px; }
.btn-blue:hover { background: var(--tp-green-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; }
.btn-outline:hover { border-color: #cbd5e1; background: var(--soft); }
.btn-ghost { background: transparent; border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; cursor: pointer; color: var(--body); font-weight: 600; }
.btn-ghost:hover { background: var(--soft); }

.hero {
  background:
    radial-gradient(900px 280px at 10% -10%, rgba(0,182,122,.16), transparent 60%),
    radial-gradient(700px 240px at 100% 0%, rgba(37,99,235,.10), transparent 55%),
    var(--hero);
  text-align: center;
  padding: 88px 20px 96px;
  position: relative;
}
.blob { display: none; }
.hero h1 { margin: 0 auto 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; max-width: 780px; letter-spacing: -0.045em; }
.hero .sub { font-size: 20px; color: var(--body); margin-bottom: 28px; }
.search-pill {
  width: min(620px, 92%);
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid #edf2f7;
  padding: 6px 6px 6px 22px;
}
.search-pill input { flex: 1; border: 0; outline: none; font-size: 16px; padding: 12px 8px; background: transparent; }
.search-pill button { width: 46px; height: 46px; border-radius: 50%; background: var(--tp-green); color: #fff; border: 0; cursor: pointer; font-size: 18px; }
.search-pill button:hover { background: var(--tp-green-dark); }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero-note a { color: var(--tp-green-dark); font-weight: 700; }
.cta-row { display: flex; justify-content: center; margin-top: -22px; position: relative; z-index: 3; }
.cta-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; box-shadow: var(--shadow); }
.cta-pill a { color: var(--tp-green-dark); font-weight: 700; }

.wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 56px 0; }
.section h2 { font-size: 30px; margin: 0 0 24px; letter-spacing: -0.04em; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; text-align: center; }
.cat { background: var(--soft); border: 1px solid transparent; border-radius: 16px; padding: 16px 10px; color: var(--ink); font-size: 13px; font-weight: 600; transition: .15s ease; }
.cat:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat .ico { width: 56px; height: 56px; display:flex; align-items:center; justify-content:center; margin: 0 auto 10px; background:#fff; border-radius:16px; }
.cat .ico img { width: 32px; height: 32px; display:block; }
.cats-icons { grid-template-columns: repeat(6, 1fr); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--card);
  cursor: pointer;
  transition: .18s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #dbe4ee; }
.card-top { display: flex; gap: 12px; align-items: center; }
.card h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.muted { color: var(--muted); font-size: 13px; }
.scoreline { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star-box { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: 11px; }
.s5 { background: var(--tp-green); }
.s4 { background: var(--tp-lime); }
.s3 { background: var(--tp-yellow); color: #191919; }
.s2 { background: var(--tp-orange); }
.s1 { background: var(--tp-red); }
.s0 { background: #dcdce6; color: transparent; }
.label-excellent { color: var(--tp-green); font-weight: 800; }
.label-great { color: #3d9b0d; font-weight: 800; }
.label-average { color: #c7a000; font-weight: 800; }
.label-poor { color: var(--tp-orange); font-weight: 800; }
.label-bad { color: var(--tp-red); font-weight: 800; }

.crumbs { color: var(--muted); font-size: 13px; background: var(--soft); padding: 12px 28px; border-bottom: 1px solid var(--line); }
.company { padding: 32px 0 72px; }
.company-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 28px; }
.company-title { display: flex; gap: 16px; align-items: flex-start; }
.company-title h1 { margin: 4px 0 8px; font-size: 38px; letter-spacing: -0.045em; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: #e8faf2; color: #047857; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.badge.unclaimed { background: #f1f5f9; color: #64748b; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.score-box, .side-card, .review, .panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.score-box { padding: 22px; box-shadow: var(--shadow); position: sticky; top: 88px; }
.big-score { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.bars { margin-top: 10px; }
.bar-row { display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: center; font-size: 13px; margin: 6px 0; }
.bar { height: 8px; background: #eef2f7; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; }
.side-card { padding: 16px; margin-top: 12px; font-size: 14px; color: var(--body); }
.notice { background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 12px 14px; margin: 20px 0; font-size: 14px; }
.reviews-head { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 16px; }
.reviews-head h2 { margin: 0; font-size: 26px; }
.review-list { display: grid; gap: 14px; }
.review { padding: 20px 22px; }
.review-top { display: flex; justify-content: space-between; gap: 12px; }
.who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.review h3 { margin: 12px 0 8px; font-size: 18px; }
.review p { margin: 0; color: var(--body); line-height: 1.6; }

.form { max-width: 680px; padding: 36px 0 72px; }
.form h1 { font-size: 36px; letter-spacing: -0.04em; }
label { display: block; font-weight: 700; margin: 16px 0 6px; }
input[type=text], input[type=password], input[type=email], input[type=search], input[type=url], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; line-height: 1.4; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0,182,122,.2); border-color: var(--tp-green); }
input[type=password] { letter-spacing: .12em; }
textarea { min-height: 160px; }
.star-pick { display: flex; gap: 6px; }
.star-pick button { width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer; color: #fff; font-size: 18px; background: #e2e8f0; }
.star-pick button.on.n1 { background: var(--tp-red); }
.star-pick button.on.n2 { background: var(--tp-orange); }
.star-pick button.on.n3 { background: var(--tp-yellow); color: #191919; }
.star-pick button.on.n4 { background: var(--tp-lime); }
.star-pick button.on.n5 { background: var(--tp-green); }

.footer { background: #0f172a; color: #94a3b8; padding: 36px 0; font-size: 13px; }
.footer b { color: #fff; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

.lang-switch { display:inline-flex; gap:8px; margin-left:8px; padding-left:12px; border-left:1px solid #1f3347; }
.lang-switch a { font-size:12px; font-weight:800; letter-spacing:.04em; opacity:.6; color: #fff; }
.lang-switch a.on { opacity:1; color: #34d399; }

.logo { overflow:hidden; border-radius:14px; display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff; flex-shrink:0; background:#0f172a; }
.logo img { width:100%; height:100%; object-fit:cover; display:block; }
.has-preview { background:#e2e8f0; border:1px solid #e2e8f0; }
.has-logo { background:#fff; }

.admin-nav { display:flex; flex-wrap:wrap; gap:10px 16px; margin: 8px 0 20px; }
.admin-nav a { font-weight:700; font-size:14px; color: var(--body); }
.admin-nav a:hover { color: var(--tp-green-dark); }
.table-wrap { overflow:auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.table { width:100%; border-collapse:collapse; font-size:14px; }
.table th,.table td { text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); vertical-align:top; }
.table th { color:var(--muted); font-weight:700; background: var(--soft); }
.pager { display:flex; align-items:center; gap:12px; margin:18px 0 8px; }

.contact-box { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); font-size:14px; line-height:1.7; }
.contact-box h3 { margin:0 0 8px; font-size:16px; }
.contact-box a { color: var(--tp-green-dark); font-weight: 600; }
.review-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:flex-start; margin-top:12px; }
.review-actions .inline { display:inline; }
.share-box summary { list-style:none; cursor:pointer; }
.share-box summary::-webkit-details-marker { display:none; }
.share-links, .report-form { background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px; margin-top:8px; display:flex; flex-direction:column; gap:8px; min-width:220px; }
.linkish { background:none; border:0; color: var(--tp-green-dark); text-align:left; cursor:pointer; padding:0; font-weight:700; }

.summary-box { margin: 22px 0 0; padding: 20px 22px; background:#f0fdf7; border:1px solid #bbf7d0; border-radius:18px; }
.summary-box h2 { margin:0 0 8px; font-size:18px; }
.summary-box p { margin:0; color:var(--body); line-height:1.65; }

@media (max-width: 980px) {
  .topbar { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .top-search { order: 3; flex: 1 1 100%; max-width: none; }
  .nav { width: 100%; flex-wrap: wrap; gap: 8px 14px; }
  .grid, .cats, .cats-icons { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .score-box { position: static; }
  .hero { padding: 48px 16px 72px; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .top-search { display: none; }
  .grid, .cats { grid-template-columns: 1fr; }
  .cats-icons { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 36px 16px 56px; }
  .wrap { width: calc(100% - 32px); }
  .company-title { flex-direction: column; }
  .company-title h1 { font-size: 28px; }
  .actions { flex-direction: column; align-items: stretch; }
}

.product-card { display:flex; flex-direction:column; gap:10px; cursor:default; }
.product-card .thumb { display:block; aspect-ratio: 1.2 / 1; background:#f8fafc; border-radius:14px; overflow:hidden; }
.product-card .thumb img { width:100%; height:100%; object-fit:contain; background:#fff; }
.thumb-empty { height:100%; display:grid; place-items:center; color:#94a3b8; }
.price-row { display:flex; gap:8px; align-items:baseline; margin:8px 0; }
.price-row.big b { font-size:28px; }
.product-hero { display:grid; grid-template-columns: .9fr 1.1fr; gap:24px; align-items:start; }
.product-media { background:#fff; border:1px solid var(--line); border-radius:18px; padding:16px; }
.product-media img { width:100%; max-height:420px; object-fit:contain; }
.cmp-img { width:80px; height:80px; object-fit:contain; }
@media (max-width: 800px) { .product-hero { grid-template-columns: 1fr; } }

.shop-search { display:flex; gap:8px; margin: 8px 0 18px; }
.shop-search input { flex:1; border:1px solid var(--line); border-radius:999px; padding:12px 16px; }
.cat-chips { display:flex; flex-wrap:wrap; gap:8px; margin: 0 0 22px; }
.chip { border:1px solid var(--line); background:#fff; border-radius:999px; padding:6px 12px; font-size:13px; font-weight:600; }
.chip span { color:var(--muted); font-weight:500; }
.chip.on { background:#07131f; color:#fff; border-color:#07131f; }
.chip.on span { color:#bbf7d0; }
.shop-layout { display:grid; grid-template-columns: 230px 1fr; gap:28px; }
.shop-filters { position:sticky; top:88px; align-self:start; background:var(--soft); border:1px solid var(--line); border-radius:18px; padding:16px; }
.price-filters { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } .shop-filters { position:static; } }

.price-slider { margin: 6px 0 12px; }
.price-values { font-weight:700; font-size:14px; margin-bottom:10px; }
.range-track { position:relative; height:28px; }
.range-track input[type=range] {
  position:absolute; left:0; right:0; width:100%; margin:0; pointer-events:none;
  appearance:none; background:transparent; height:28px;
}
.range-track input[type=range]::-webkit-slider-runnable-track {
  height:6px; background:#dbe4ee; border-radius:99px;
}
.range-track input[type=range]::-webkit-slider-thumb {
  appearance:none; pointer-events:auto; width:20px; height:20px; border-radius:50%;
  background:#00b67a; border:2px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.2); margin-top:-7px; cursor:pointer;
}
.range-track input[type=range]::-moz-range-track { height:6px; background:#dbe4ee; border-radius:99px; }
.range-track input[type=range]::-moz-range-thumb { pointer-events:auto; width:20px; height:20px; border-radius:50%; background:#00b67a; border:2px solid #fff; cursor:pointer; }

.list-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.sort-bar { display:flex; align-items:center; gap:8px; }
.sort-bar select { width:auto; min-width:180px; padding:8px 10px; border-radius:10px; }

.merchant-link { color: var(--tp-green-dark); font-weight:700; }
.merchant-link:hover { text-decoration:underline; }

.shop-intro { color:var(--body); max-width:720px; margin:0 0 16px; }
.crumbs-inline { color:var(--muted); font-size:13px; margin-bottom:8px; }

.footer-grid { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer-grid nav { display:flex; flex-wrap:wrap; gap:14px; }
.footer-grid a { color:#cbd5e1; }
.footer-grid a:hover { color:#fff; }

.cat-tree { display:flex; flex-direction:column; gap:10px; margin: 8px 0 14px; }
.cat-main > a { font-weight:800; font-size:14px; display:block; }
.cat-main > a.on { color:var(--tp-green-dark); }
.cat-main ul { list-style:none; margin:6px 0 0; padding:0 0 0 10px; }
.cat-main li a { display:flex; justify-content:space-between; gap:8px; font-size:13px; color:var(--body); padding:3px 0; }
.cat-main li a.on { color:var(--tp-green-dark); font-weight:700; }
.cat-main li span { color:var(--muted); }

.about { max-width: 760px; }
.about h1 { font-size: clamp(32px,4vw,44px); letter-spacing:-.04em; margin:0 0 12px; }
.about .lead { font-size:22px; font-weight:700; margin:0 0 18px; }
.about p { font-size:18px; line-height:1.7; color:var(--body); }

.principles { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin-top:22px; }
.principles article { background:var(--soft); border:1px solid var(--line); border-radius:16px; padding:18px; }
.principles h3 { margin:0 0 8px; }
.about h2 { margin:32px 0 10px; }

.contact-card { background:var(--soft); border:1px solid var(--line); border-radius:18px; padding:24px; }
.contact-table { width:100%; border-collapse:collapse; margin-top:12px; }
.contact-table th { text-align:left; font-weight:700; padding:8px 16px 8px 0; white-space:nowrap; width:160px; }
.contact-table td { padding:8px 0; }
.contact-table a { font-weight:700; color:var(--tp-green-dark); }

.legal { max-width:820px; }
.legal h1 { font-size:clamp(32px,4vw,44px); margin:0 0 16px; }
.legal h2 { margin:28px 0 10px; }
.legal h3 { margin:18px 0 8px; }
.legal p, .legal li { line-height:1.7; color:var(--body); }
.legal ul { margin:0 0 14px; padding-left:20px; }

.pricing-h { font-size:clamp(32px,4vw,44px); margin:0 0 8px; }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.price-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; display:flex; flex-direction:column; gap:10px; }
.price-card.featured { border-color:#00b67a; box-shadow:0 10px 30px rgba(0,182,122,.12); }
.price-tag { font-size:32px; font-weight:800; letter-spacing:-.03em; }
.price-tag span { display:block; font-size:13px; font-weight:600; color:var(--muted); }
.price-card ul { margin:0 0 8px; padding-left:18px; }
.price-card .btn { margin-top:auto; }
@media (max-width:900px){ .pricing-grid { grid-template-columns:1fr; } }

.plan-badge { display:inline-block; margin-left:6px; background:#00b67a; color:#fff; font-size:11px; font-weight:800; text-transform:uppercase; padding:2px 7px; border-radius:999px; vertical-align:middle; }
