/* PATA — bright, vivid, modern. One stylesheet for every page.
   Change the colours in :root to restyle the whole site. */

:root {
  /* Surfaces */
  --bg: #f6f7ff;
  --surface: #ffffff;
  --surface-2: #f1f2ff;
  --border: #e2e5fb;
  --border-hi: #a78bfa;

  /* Text */
  --text: #161838;
  --muted: #5b6085;
  --accent: #6d28d9;      /* links, headings accents (readable on white) */
  --accent-2: #0e7490;    /* secondary accent text */

  /* Vivid brand colours */
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --amber: #f59e0b;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet) 50%, var(--pink));
  --grad-strong: linear-gradient(120deg, #0891b2, #7c3aed 50%, #db2777);  /* buttons: white text stays readable */

  /* Status colours */
  --ok-text: #047857; --ok-bg: #ecfdf5; --ok-border: #a7f3d0; --ok-dot: #10b981;
  --bad-text: #be123c; --bad-bg: #fff1f2; --bad-border: #fecdd3; --bad-dot: #f43f5e;
  --warn-text: #92400e; --warn-bg: #fffbeb; --warn-border: #fde68a;

  --radius: 18px;
  --shadow: 0 12px 32px -14px rgba(76, 61, 200, 0.28);
  --glow: 0 0 0 2px rgba(139, 92, 246, 0.35), 0 18px 40px -14px rgba(139, 92, 246, 0.5);
  --display: 'Orbitron', 'Space Grotesk', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(800px 480px at 90% -10%, rgba(236, 72, 153, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 10%, rgba(6, 182, 212, 0.18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(139, 92, 246, 0.14), transparent 60%),
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--pink); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; padding-bottom: 80px; }

.grad-text {
  background: var(--grad-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.12em;
}
.logo:hover { filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.45)); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav .linklike {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav .linklike:hover { color: var(--accent); background: var(--surface-2); }
.nav .hello { color: var(--muted); font-size: 14px; padding: 0 6px; }
.nav .hello strong { color: var(--text); font-weight: 700; }
.inline { display: inline; margin: 0; }
.linklike { font: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: 600 15px/1 var(--body);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 6px -2px rgba(76, 61, 200, 0.15);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { color: var(--accent); border-color: var(--border-hi); box-shadow: var(--glow); transform: translateY(-1px); }
.btn-primary {
  border: none;
  background: var(--grad-strong);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.7);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 34px -8px rgba(219, 39, 119, 0.55); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.nav .btn-primary { color: #fff; padding: 9px 18px; }
.nav .btn-primary:hover { color: #fff; background: var(--grad-strong); }

/* ---------- Hero ---------- */

.hero { padding: 90px 0 60px; text-align: center; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 18px auto 20px;
  max-width: 900px;
}
.hero .lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 620px; margin: 0 auto 34px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat {
  min-width: 150px;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.stat b { display: block; font-family: var(--display); font-size: 28px; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Sections & cards ---------- */

.section { padding-top: 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 6px 0 4px; }
.section-head p { color: var(--muted); margin: 0; max-width: 520px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
a.card { color: var(--text); display: block; }
a.card:hover, .card.lift:hover { color: var(--text); transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--glow); }

.cat-card .media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.cat-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; filter: saturate(1.15); }
.cat-card .media::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--grad);
}
.cat-card:hover .media img { transform: scale(1.06); }
.cat-card .body { padding: 18px 20px 20px; }
.cat-card h3 { font-size: 20px; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.cat-card .foot { display: flex; justify-content: space-between; align-items: center; }
.cat-card .go, .choice .go { color: var(--accent); font-weight: 700; font-size: 14px; transition: transform 0.2s; display: inline-block; }
.cat-card:hover .go, .choice:hover .go { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.chip.live { color: var(--ok-text); background: var(--ok-bg); border-color: var(--ok-border); }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok-dot); }

/* ---------- Category page ---------- */

.banner {
  position: relative;
  margin-top: 32px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  color: #fff;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(22, 24, 56, 0.55), rgba(22, 24, 56, 0) 70%),
    linear-gradient(120deg, rgba(8, 145, 178, 0.82), rgba(124, 58, 237, 0.72) 55%, rgba(219, 39, 119, 0.7));
}
.banner .inner { position: relative; z-index: 1; padding: 32px; width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.banner h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 48px); margin: 8px 0 6px; }
.banner p { color: rgba(255, 255, 255, 0.92); margin: 0; max-width: 520px; }
.banner .eyebrow { color: #fff; }
.banner .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3); }
.banner .chip { color: #fff; background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.45); }
.banner .chip.live::before { background: #6ee7b7; }

.listing { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.listing .top { display: flex; align-items: center; gap: 14px; }
.avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  background: var(--grad-strong);
  box-shadow: 0 8px 18px -8px rgba(124, 58, 237, 0.7);
}
.listing h3 { font-size: 18px; margin: 0; }
.listing .what { color: var(--accent-2); font-size: 14px; font-weight: 600; }
.listing .desc { color: var(--muted); font-size: 14px; margin: 0; }
.meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.meta svg { flex: none; color: var(--pink); }
.listing .btn { margin-top: auto; }

.empty {
  margin-top: 28px;
  padding: 56px 24px;
  text-align: center;
  border-radius: var(--radius);
  border: 2px dashed var(--border-hi);
  background: var(--surface);
}
.empty h2 { font-size: 22px; }
.empty p { color: var(--muted); }

/* ---------- Forms ---------- */

.panel-page { padding-top: 56px; display: flex; justify-content: center; }
.panel {
  width: 100%;
  max-width: 460px;
  padding: 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad);
}
.panel.wide { max-width: 760px; }
.panel h1 { font-family: var(--display); font-size: 28px; margin: 10px 0 8px; }
.panel .sub { color: var(--muted); margin-bottom: 26px; }
.panel .alt { text-align: center; color: var(--muted); margin: 20px 0 0; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.field .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d5d9f5;
  background: #fbfbff;
  color: var(--text);
  font: 15px/1.4 var(--body);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: #9aa0c3; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { resize: vertical; min-height: 90px; }

fieldset { border: none; padding: 0; margin: 0 0 10px; }
legend {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 0;
}
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cols .span { grid-column: 1 / -1; }

.errors {
  list-style: none;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--bad-border);
  background: var(--bad-bg);
  color: var(--bad-text);
  font-size: 14px;
  font-weight: 500;
}
.errors li + li { margin-top: 4px; }
.errors li::before { content: '! '; color: var(--bad-dot); font-weight: 800; }

/* ---------- Sell choice ---------- */

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.choice { padding: 32px; }
.choice .icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-strong);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px -10px rgba(124, 58, 237, 0.7);
}
.choice h2 { font-size: 24px; }
.choice p { color: var(--muted); }

/* ---------- Message / 404 ---------- */

.message { text-align: center; }
.message .code { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: 1; margin-bottom: 10px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.7); padding: 26px 0; color: var(--muted); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  .site-header .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
  .nav { flex-wrap: wrap; gap: 2px; }
  .nav a, .nav .linklike { padding: 6px 10px; }
  .hero { padding: 56px 0 30px; }
  .stat { min-width: 0; flex: 1 1 40%; }
  .panel { padding: 26px 20px; }
  .cols { grid-template-columns: 1fr; }
  .banner .inner { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Listing cards: whole card links to the shop page ---------- */

.h-card { font-size: 18px; margin: 0; }
.h-card a { color: var(--text); }
.h-card a:hover { color: var(--accent); }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.listing .row-btns { display: flex; gap: 10px; margin-top: auto; position: relative; z-index: 1; }
.listing .row-btns .btn { flex: 1; }

/* ---------- Open / closed badge ---------- */

.status {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.status.open { color: var(--ok-text); border-color: var(--ok-border); background: var(--ok-bg); }
.status.open::before { background: var(--ok-dot); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.status.closed { color: var(--bad-text); border-color: var(--bad-border); background: var(--bad-bg); }
.status.closed::before { background: var(--bad-dot); }
.status.sm { padding: 4px 10px; font-size: 12px; }

/* ---------- Shop page ---------- */

.crumbs { margin: 28px 0 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

.shop-head { display: flex; align-items: center; gap: 20px; margin: 26px 0 28px; flex-wrap: wrap; }
.shop-title { flex: 1; min-width: 220px; }
.shop-title h1 { font-family: var(--display); font-size: clamp(28px, 4.5vw, 44px); margin: 6px 0 4px; }
.shop-title .what { color: var(--accent-2); font-weight: 600; margin: 0; }
.avatar.lg { width: 76px; height: 76px; border-radius: 22px; font-size: 32px; }

.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.shop-main, .shop-side { display: flex; flex-direction: column; gap: 20px; }
.shop-side .btn + .btn { margin-top: 10px; }
.card.pad { padding: 24px; }
.h-sm { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.addr { font-style: normal; display: flex; flex-direction: column; margin-bottom: 16px; }
.addr span:first-child { font-size: 17px; font-weight: 600; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

.week { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 12px; }
.week th, .week td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--border); }
.week th { font-weight: 600; color: var(--text); }
.week td { text-align: right; }
.week tr:last-child th, .week tr:last-child td { border-bottom: none; }
.week tr.today th, .week tr.today td { color: var(--accent); font-weight: 800; background: #f3edff; }

/* ---------- Maps ---------- */

.map {
  height: 320px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
  z-index: 0;
}
.map-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.coords { color: var(--accent-2); font-size: 13px; font-weight: 600; }
.leaflet-container { font-family: var(--body); }

/* ---------- Opening-hours picker ---------- */

.hours { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.hours-row {
  display: grid;
  grid-template-columns: 150px 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.hours-row input[type=time] { padding: 8px 10px; background: #fff; color-scheme: light; }
.hours-row .to { color: var(--muted); font-size: 13px; }
.day { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.day input { width: 18px; height: 18px; accent-color: var(--violet); }
.closed-tag { display: none; color: var(--muted); font-size: 13px; }
.hours-row.is-closed { background: #fafaff; }
.hours-row.is-closed input[type=time], .hours-row.is-closed .to { display: none; }
.hours-row.is-closed .closed-tag { display: block; grid-column: 2 / -1; }
.hours-row.is-closed .day span { color: var(--muted); }
legend .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }

@media (max-width: 860px) {
  .shop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hours-row { grid-template-columns: 1fr 1fr; }
  .hours-row .day { grid-column: 1 / -1; }
  .hours-row .to { display: none; }
  .map { height: 260px; }
}

/* ---------- Managing listings ---------- */

.page-head { padding-top: 48px; }
.page-head h1 { font-family: var(--display); font-size: clamp(28px, 4.5vw, 40px); margin: 6px 0 6px; }
.notice {
  padding: 12px 16px; border-radius: 12px; margin: 0 0 20px; font-weight: 600;
  color: var(--ok-text); background: var(--ok-bg); border: 1px solid var(--ok-border);
}
.my-list { display: flex; flex-direction: column; gap: 14px; }
.my-item { display: flex; align-items: center; gap: 18px; padding: 18px 20px; flex-wrap: wrap; }
.my-item .info { flex: 1; min-width: 220px; }
.my-item .what { color: var(--accent-2); font-size: 14px; font-weight: 600; }
.meta-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 14px; }
.my-item .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.chip.warn { color: var(--warn-text); border-color: var(--warn-border); background: var(--warn-bg); }

.btn-danger { color: var(--bad-text); border-color: var(--bad-border); background: var(--bad-bg); }
.btn-danger:hover { color: #fff; background: var(--bad-dot); border-color: var(--bad-dot); box-shadow: 0 10px 24px -10px rgba(244, 63, 94, 0.7); }

.back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.back:hover { color: var(--accent); }
.danger-zone {
  margin-top: 28px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--bad-border); background: var(--bad-bg);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.danger-zone .hint { margin: 4px 0 0; }

/* ---------- Seller-only accounts ---------- */

.buyer-note {
  font-size: 14px; padding: 10px 14px; border-radius: 12px; margin: -10px 0 22px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
}
.buyer-note a { font-weight: 700; white-space: nowrap; }
.hero .lead strong { color: var(--text); }
.seller-cta {
  margin: 8px auto 0; max-width: 560px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.seller-cta p { margin: 0 0 14px; color: var(--muted); }
.seller-cta strong { color: var(--text); }

/* ---------- Icon tiles (categories without a photo) ---------- */

.icon-tile {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, hsl(var(--h) 95% 92%), transparent 60%),
    linear-gradient(135deg, hsl(var(--h) 90% 88%), hsl(calc(var(--h) + 40) 85% 80%));
}
.icon-tile span { font-size: 56px; line-height: 1; filter: drop-shadow(0 6px 10px hsl(var(--h) 60% 40% / 0.3)); }
.cat-card .media .icon-tile span { font-size: 72px; }

/* ---------- Home: category search ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.finder svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--violet); pointer-events: none; }
.finder input {
  padding: 18px 20px 18px 54px;
  font-size: 17px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}
.finder input:focus { box-shadow: var(--glow); }
.finder-hint { color: var(--muted); font-size: 14px; margin: 14px auto 0; max-width: 620px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font: 600 13px/1.2 var(--body);
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.pill:hover { color: var(--pink); border-color: var(--border-hi); box-shadow: var(--glow); }
.pill.lg { padding: 8px 14px; font-size: 14px; color: var(--text); }

/* ---------- Home: grouped services ---------- */

.svc-group { margin-top: 30px; }
.svc-group:first-of-type { margin-top: 0; }
.group-title {
  font-size: 15px; font-weight: 800; letter-spacing: 0.04em;
  margin: 0 0 12px; display: flex; align-items: center; gap: 10px;
}
.group-title::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--border-hi), transparent); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
a.card.svc-tile { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; }
.svc-tile .thumb { flex: none; width: 60px; height: 60px; border-radius: 14px; overflow: hidden; }
.svc-tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-tile .thumb .icon-tile span { font-size: 30px; }
.svc-tile .txt { flex: 1; min-width: 0; }
.svc-tile h4 { font-size: 15px; margin: 0 0 2px; }
.svc-tile p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-tile .chip { flex: none; min-width: 28px; justify-content: center; }
#no-match { margin-top: 0; }

/* ---------- Category page: no-photo banner and related links ---------- */

.banner.no-photo {
  background:
    radial-gradient(circle at 85% 30%, hsl(var(--h) 95% 75% / 0.9), transparent 55%),
    linear-gradient(120deg, #0891b2, #7c3aed 55%, #db2777);
}
.banner.no-photo::after { background: linear-gradient(to top, rgba(22, 24, 56, 0.35), transparent 70%); }
.banner-icon {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  font-size: clamp(90px, 16vw, 170px); line-height: 1;
  filter: drop-shadow(0 16px 30px rgba(22, 24, 56, 0.35));
  z-index: 1;
}
.related { margin-top: 48px; }
.related-list { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 720px) {
  .banner-icon { opacity: 0.35; right: 4%; }
  .finder input { font-size: 15px; padding: 15px 16px 15px 48px; }
}

/* Leave room for the sticky header when jumping to a section. */
section[id] { scroll-margin-top: 90px; }
@media (max-width: 720px) { section[id] { scroll-margin-top: 150px; } }
