:root {
  --pt-teal: #0d9488;
  --pt-teal-dark: #0f766e;
  --pt-teal-soft: rgba(13, 148, 136, 0.1);
  --pt-amber: #d97706;
  --pt-red: #e11d48;
  --pt-ink: #1c1917;
  --pt-muted: #78716c;
  --pt-muted-light: #a8a29e;
  --pt-surface: #faf8f5;
  --pt-surface-strong: #f5f2ed;
  --pt-card: rgba(255, 255, 255, 0.9);
  --pt-card-solid: #ffffff;
  --pt-border: rgba(28, 25, 23, 0.08);
  --pt-border-strong: rgba(28, 25, 23, 0.14);
  --pt-shadow: 0 1px 3px rgba(28,25,23,0.06), 0 8px 24px rgba(28,25,23,0.04);
  --pt-radius: 14px;
  --pt-radius-sm: 10px;
  --pt-radius-xs: 8px;
}

/* ── Page reset ──────────────────────────────────────── */
.public-tools-page {
  margin: 0;
  background: #fff;
  color: var(--pt-ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.public-site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-site-inner {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.public-site-main {
  flex: 1;
}

.public-sr-only,
.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;
}

.is-hidden {
  display: none !important;
}

/* ── HERO ────────────────────────────────────────────── */
.public-tools-toolbar-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-teal);
}

.public-tools-toolbar-copy h2 {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* ── TOOLBAR ─────────────────────────────────────────── */
.public-tools-index {
  padding: 18px 0 56px;
}

.public-tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.public-tools-toolbar.is-storefront {
  align-items: flex-end;
}

.public-tools-toolbar-copy h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #2f8a43;
}

.public-tools-toolbar-copy h2 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.public-tools-filter-strip {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 14px;
  border: 1px solid #e7ebe4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.public-tools-filter-strip.is-storefront {
  margin-bottom: 18px;
}

.public-tools-search-row {
  display: flex;
}

.public-tools-search-input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--pt-border);
  border-radius: 10px;
  background: #fff;
  color: var(--pt-ink);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.public-tools-search-input::placeholder {
  color: var(--pt-muted-light);
}

.public-tools-search-input:focus {
  outline: none;
  border-color: var(--pt-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.public-tools-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-tools-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--pt-border);
  border-radius: 999px;
  background: #f8fbf7;
  color: var(--pt-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.public-tools-chip:hover {
  border-color: var(--pt-teal);
  color: var(--pt-teal);
  background: rgba(13, 148, 136, 0.04);
}

.public-tools-chip.is-active {
  background: var(--pt-teal);
  border-color: var(--pt-teal);
  color: #fff;
}

.public-tools-chip span {
  font-size: 11px;
  opacity: 0.72;
}

.public-tools-results {
  margin: 0;
  font-size: 12px;
  color: var(--pt-muted);
  font-weight: 700;
  white-space: nowrap;
}

.public-tools-filter-note {
  margin: 0;
  color: var(--pt-muted);
  font-size: 0.8rem;
}

/* ── GRID ────────────────────────────────────────────── */
.public-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
}

/* ── CARD ────────────────────────────────────────────── */
.public-tool-card {
  min-width: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.18s ease;
}

.public-tool-card:hover {
  transform: translateY(-2px);
}

.public-tool-card-media-wrap {
  display: block;
  text-decoration: none;
}

.public-tool-card-media {
  position: relative;
  /* aspect-ratio: 0.78; */
  overflow: hidden;
  background: #f6f6f3;
  border: 1px solid #edf0ea;
  border-radius: 4px;
}

.public-tool-card-media img {
  width: 100%;
  /* height: 100%; */
  /* object-fit: cover; */
  display: block;
  transition: transform 0.35s ease;
}

.public-tool-card:hover .public-tool-card-media img {
  transform: scale(1.03);
}

.public-tool-discount-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #79a93b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 0;
}

.public-tool-card-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 48px;
  color: var(--pt-teal);
  opacity: 0.3;
}

.public-tool-card-body {
  padding: 8px 2px 0;
}

.public-tool-card-topline {
  display: block;
  margin-bottom: 4px;
}

.public-tool-card-category {
  display: none;
}

.public-tool-card-badge {
  display: none;
}

.public-tool-card-body h2 {
  margin: 0 0 4px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  /* min-height: 34px; */
}

.public-tool-card-body h2 a {
  color: var(--pt-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.public-tool-card-body h2 a:hover {
  color: var(--pt-teal);
}

.public-tool-card-summary {
  display: none;
}

.public-tool-card-meta {
  display: block;
  padding-top: 0;
  border-top: 0;
}

.public-tool-card .tool-card-price-stack {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.92), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.18), transparent 42%);
  border: 1px solid rgba(217, 119, 6, 0.16);
  color: #78716c;
  font-size: 0.78rem;
  line-height: 1.35;
}

.public-tool-card .tool-card-price-stack.coming-soon {
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 42%);
}

.public-tool-card .tool-card-price-topline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.public-tool-card .tool-card-price-main {
  color: #b91c1c;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.public-tool-card .tool-card-price-main.coming-soon {
  color: #92400e;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.public-tool-card .tool-card-price-compare {
  color: #a8a29e;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: line-through;
}

.public-tool-card .tool-card-price-save {
  align-self: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.public-tool-card .tool-card-price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.public-tool-card .tool-card-price-meta span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 119, 6, 0.12);
}

.public-tool-card .tool-card-price-meta strong {
  color: #1c1917;
  font-weight: 400;
  text-decoration: line-through;
}

.public-tool-card .tool-card-price-meta .price-emphasis strong {
  font-weight: 800;
  text-decoration: none;
}

.public-tool-card .tool-card-price-note {
  color: #92400e;
  font-weight: 800;
}

.public-tool-card-cta {
  display: none;
}

.public-tool-card-cta:hover {
  background: var(--pt-teal-dark);
}

.public-tool-card-cta.secondary {
  background: transparent;
  border: 1px solid var(--pt-border);
  color: var(--pt-ink);
}

.public-tool-card-cta.secondary:hover {
  border-color: var(--pt-teal);
  color: var(--pt-teal);
}

/* ── EMPTY STATE ─────────────────────────────────────── */
.public-tools-empty {
  margin-top: 24px;
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--pt-border-strong);
  border-radius: var(--pt-radius);
  background: rgba(255, 255, 255, 0.76);
}

.public-tools-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--pt-teal);
}

.public-tools-empty-icon svg {
  width: 24px;
  height: 24px;
}

.public-tools-empty h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.public-tools-empty p {
  margin: 0;
  color: var(--pt-muted);
  font-size: 0.9rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
.public-site-footer {
  margin-top: 48px;
  border-top: 1px solid #e5eadf;
  background: #fff;
  padding: 22px 0 0;
}

.public-site-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 20px;
}

.public-site-footer-brand p {
  margin: 0;
  color: #606c5c;
  line-height: 1.6;
  font-size: 13px;
}

.public-site-footer-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #e45f2b;
}

.public-site-footer-brand {
  display: grid;
  gap: 10px;
}

.public-site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.public-site-footer-brand a,
.public-site-footer-col a {
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  line-height: 1.6;
  font-weight: 500;
  transition: color 0.15s ease;
}

.public-site-footer-brand a:hover,
.public-site-footer-col a:hover {
  color: var(--pt-teal);
}

.public-site-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

/* ── REMAINING DETAIL PAGES ──────────────────────────── */
.public-page-titlebar {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  background: var(--pt-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.public-page-titlebar .public-site-inner {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.public-page-breadcrumb,
.public-tool-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-page-titlebar a,
.public-page-titlebar strong {
  color: #fff;
}

.public-tool-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding: 28px 0 48px;
}

.public-tool-detail {
  min-width: 0;
}

.public-tool-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--pt-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,248,245,0.94));
  box-shadow: var(--pt-shadow);
}

.public-tool-detail-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  /* border: 1px solid rgba(28, 25, 23, 0.06); */
  border-radius: 20px;
  /* background: linear-gradient(180deg, #f8fbf7, #f2efe9); */
  /* aspect-ratio: 1 / 1; */
}

.public-tool-detail-media img {
  width: 100%;
  /* height: 100%; */
  /* object-fit: cover; */
  display: block;
  border-radius: 20px;
}

.public-tool-discount-badge.is-detail {
  left: 16px;
  top: 16px;
  width: 54px;
  height: 54px;
  font-size: 12px;
}

.public-tool-card-fallback.is-large {
  min-height: 100%;
  font-size: 64px;
}

.public-tool-detail-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.public-tool-detail-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.public-tool-detail-kicker,
.public-tool-detail-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-tool-detail-kicker {
  background: rgba(13, 148, 136, 0.1);
  color: var(--pt-teal);
}

.public-tool-detail-state {
  background: rgba(28, 25, 23, 0.06);
  color: var(--pt-ink);
}

.public-tool-detail-state.is-owned,
.public-tool-detail-state.is-free {
  background: rgba(13, 148, 136, 0.12);
  color: var(--pt-teal);
}

.public-tool-detail-state.is-paid {
  background: rgba(217, 119, 6, 0.12);
  color: var(--pt-amber);
}

.public-tool-detail-state.is-coming-soon {
  background: rgba(225, 29, 72, 0.1);
  color: var(--pt-red);
}

.public-tool-detail-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.04;
  color: var(--pt-ink);
}

.public-tool-detail-summary {
  margin: 0 0 16px;
  max-width: 62ch;
  color: #57534e;
  font-size: 0.98rem;
  line-height: 1.72;
}

.public-tool-detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--pt-muted);
  font-size: 13px;
}

.public-tool-detail-rating a {
  color: var(--pt-teal);
  text-decoration: underline;
}

.public-tool-detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.public-tool-detail-price strong {
  color: var(--pt-ink);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.public-tool-detail-price span {
  color: #a8a29e;
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 700;
}

.public-tool-detail-sold {
  margin: 0 0 18px;
  color: #78716c;
  font-weight: 600;
}

.public-tool-detail-benefits {
  margin: 0 0 18px;
  padding: 18px 20px;
  list-style: none;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--pt-ink);
  line-height: 1.65;
  font-size: 14px;
}

.public-tool-detail-benefits li {
  position: relative;
  padding-left: 18px;
}

.public-tool-detail-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pt-teal);
}

.public-tool-detail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.public-tool-detail-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.08);
  color: #57534e;
  font-size: 12px;
  font-weight: 700;
}

.public-tool-detail-actions,
.public-tool-promo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.public-tool-primary-action,
.public-tool-secondary-action,
.public-tool-promo-apply {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
}

.public-tool-primary-action {
  background: linear-gradient(135deg, var(--pt-teal), var(--pt-teal-dark));
  color: #fff;
  border: 0;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.18);
}

.public-tool-primary-action:hover {
  transform: translateY(-1px);
}

.public-tool-primary-action.is-disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.public-tool-secondary-action {
  background: #fff;
  color: var(--pt-ink);
  border: 1px solid var(--pt-border);
}

.public-tool-secondary-action:hover {
  border-color: var(--pt-teal);
  color: var(--pt-teal);
}

.public-tool-promo-apply {
  background: var(--pt-ink);
  color: #fff;
  border: 0;
}

.public-tool-promo-box {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.public-tool-promo-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pt-ink);
}

.public-tool-promo-row input {
  min-height: 44px;
  flex: 1;
  padding: 0 14px;
  border: 1px solid var(--pt-border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.public-tool-status,
.public-tool-promo-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--pt-muted);
  font-size: 13px;
}

.public-tool-status.is-success,
.public-tool-promo-status.is-success {
  color: var(--pt-teal);
}

.public-tool-status.is-error,
.public-tool-promo-status.is-error {
  color: var(--pt-red);
}

.public-tool-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 108px;
}

.public-tool-sidebar-box,
.public-tool-detail-facts {
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px;
  box-shadow: var(--pt-shadow);
}

.public-tool-sidebar-box h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pt-teal);
}

.public-tool-sidebar-box p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: #57534e;
}

.public-tool-sidebar-box strong {
  display: block;
  margin-bottom: 14px;
  color: var(--pt-ink);
}

.public-tool-sidebar-box a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--pt-border);
  border-radius: 12px;
  color: var(--pt-ink);
  font-weight: 700;
  text-decoration: none;
}

.public-tool-sidebar-box a:hover {
  border-color: var(--pt-teal);
  color: var(--pt-teal);
}

.public-tool-service-list {
  display: grid;
  gap: 10px;
}

.public-tool-service-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.public-tool-service-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--pt-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.public-tool-service-item strong {
  margin: 0 0 2px;
  color: var(--pt-ink);
}

.public-tool-service-item p {
  margin: 0;
  color: #78716c;
  font-size: 12px;
  line-height: 1.5;
}

.public-tool-detail-facts {
  display: grid;
  gap: 12px;
}

.public-tool-detail-facts span {
  display: block;
  color: var(--pt-muted);
  font-size: 12px;
  font-weight: 600;
}

.public-tool-detail-facts strong {
  color: var(--pt-ink);
}

.public-tool-detail-body {
  margin-top: 22px;
  padding: 24px 28px 28px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--pt-shadow);
}

.public-tool-tabbar {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--pt-border);
}

.public-tool-tabbar span {
  padding: 0 0 10px;
  color: var(--pt-ink);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.public-tool-tabbar span:first-child {
  color: var(--pt-teal);
  border-bottom: 2px solid var(--pt-teal);
}

.public-tool-richtext {
  color: var(--pt-ink);
  line-height: 1.75;
  font-size: 0.97rem;
}

.public-tool-richtext h1,
.public-tool-richtext h2,
.public-tool-richtext h3 {
  color: var(--pt-ink);
  letter-spacing: -0.03em;
}

.public-tool-richtext p,
.public-tool-richtext ul,
.public-tool-richtext ol {
  color: #44403c;
}

.public-tool-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.public-tool-richtext iframe,
.public-tool-richtext .ql-video {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--pt-radius-sm);
}

.public-related-tools {
  margin-top: 28px;
  padding: 24px 28px 28px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--pt-shadow);
}

.public-related-tools-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pt-border);
}

.public-related-tools h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pt-ink);
}

.public-tool-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: #64748b;
  font-size: 13px;
}

.public-tool-detail-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(28, 25, 23, 0.08);
}

.public-tool-detail-meta-row strong {
  color: #1f2937;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1080px) {
  .public-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-site-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .public-tool-detail-shell {
    grid-template-columns: 1fr;
  }

  .public-tool-sidebar {
    position: static;
  }

  .public-tool-detail-hero {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .public-site-inner {
    width: min(calc(100vw - 20px), 1180px);
  }

  .public-tools-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .public-tools-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .public-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .public-tool-detail-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .public-tool-detail-media {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .public-tool-detail-body,
  .public-related-tools {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .public-tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .public-tool-card-body {
    padding: 8px 2px 0;
  }

  .public-tool-detail-copy h1 {
    font-size: 1.8rem;
  }

  .public-tool-detail-actions,
  .public-tool-promo-row {
    flex-direction: column;
    align-items: stretch;
  }

  .public-tool-primary-action,
  .public-tool-secondary-action,
  .public-tool-promo-apply {
    width: 100%;
    text-align: center;
  }
}
