/* ==========================================================================
   Facilicom — Google Search-inspired global layout
   ========================================================================== */

:root {
  --g-bg: #ffffff;
  --g-ink: #202124;
  --g-ink-soft: #3c4043;
  --g-muted: #5f6368;
  --g-mute-2: #70757a;
  --g-border: #dfe1e5;
  --g-divider: #ebebeb;
  --g-link: #1a0dab;
  --g-link-visited: #681da8;
  --g-url: #006621;
  --g-blue: #4285f4;
  --g-blue-strong: #1a73e8;
  --g-blue-hover: #1669e4;
  --g-red: #ea4335;
  --g-yellow: #fbbc05;
  --g-green: #34a853;
  --g-chip: #e8f0fe;
  --g-chip-ink: #1967d2;
  --g-btn-bg: #f8f9fa;
  --g-btn-bg-hover: #f1f3f4;
  --g-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  --g-shadow-soft: 0 1px 6px rgba(32, 33, 36, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.g-body {
  min-height: 100vh;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--g-ink);
  background: var(--g-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

/* ── Wordmark ─────────────────────────────────────────────────────────── */
.g-wordmark {
  font-family: "Product Sans", "Google Sans", Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  display: inline-block;
}
.g-wordmark--xl { font-size: clamp(3.5rem, 9vw, 5.75rem); }
.g-wordmark--sm { font-size: 1.45rem; }
.g-wordmark__b { color: var(--g-blue); }
.g-wordmark__r { color: var(--g-red); }
.g-wordmark__y { color: var(--g-yellow); }
.g-wordmark__g { color: var(--g-green); }

/* ── SERP Header ──────────────────────────────────────────────────────── */
.g-header {
  border-bottom: 1px solid var(--g-border);
  background: var(--g-bg);
}
.g-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.g-header__logo { text-decoration: none; }
.g-header__nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  align-items: center;
}
.g-header__link {
  position: relative;
  color: var(--g-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  letter-spacing: 0.01em;
}
.g-header__link:hover { color: var(--g-ink); }
.g-header__link.is-active {
  color: var(--g-blue-strong);
}
.g-header__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.85rem;
  height: 3px;
  background: var(--g-blue-strong);
  border-radius: 3px 3px 0 0;
}

/* ── Main wrapper ─────────────────────────────────────────────────────── */
.g-main {
  flex: 1;
  width: 100%;
}
.g-body--home .g-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem;
}
.g-body--serp .g-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 3rem;
}

/* ── Home search (Bootstrap-based) ────────────────────────────────────── */
.home-search .form-select {
  background-color: #fff;
  border-color: var(--g-border);
  font-size: 0.88rem;
  color: var(--g-ink);
}
.home-search .form-select:focus {
  border-color: var(--g-blue);
  box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.15);
}
.home-search .form-label {
  font-size: 0.7rem;
  color: var(--g-muted);
}

/* Pill-shaped search bar around Bootstrap input-group */
.home-search__bar {
  border-radius: 1.75rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.18s ease;
}
.home-search__bar:hover,
.home-search__bar:focus-within {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28) !important;
}
.home-search__bar .input-group-text {
  color: var(--g-muted);
  border-color: var(--g-border);
  padding-left: 1.1rem;
  padding-right: 0.3rem;
  background: #fff;
}
.home-search__bar .form-control {
  font-size: 1rem;
  color: var(--g-ink);
  cursor: text;
  background: #fff;
  box-shadow: none !important;
}
.home-search__bar .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--g-border);
}
.home-search__bar .btn {
  margin: 0.35rem 0.35rem 0.35rem 0.5rem;
  border-radius: 999px !important;
  background: var(--g-blue-strong);
  border-color: var(--g-blue-strong);
  font-weight: 500;
}
.home-search__bar .btn:hover {
  background: #1557b0;
  border-color: #1557b0;
}

.home-search__summary {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-height: 100%;
}

/* ── Home hero ────────────────────────────────────────────────────────── */
.g-home {
  width: 100%;
  max-width: 860px;
  text-align: center;
  position: relative;
}
.g-home__logo { display: inline-block; margin-bottom: 1.5rem; }
.g-home__tagline {
  margin: 0 0 1.85rem;
  color: var(--g-muted);
  font-size: 0.95rem;
}
.g-home__hint {
  margin: 1.4rem 0 0;
  font-size: 0.84rem;
  color: var(--g-muted);
}
.g-home__hint a {
  color: var(--g-link);
  text-decoration: none;
}
.g-home__hint a:hover { text-decoration: underline; }

.g-live-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.55rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(66, 133, 244, 0.10);
  color: var(--g-blue-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.g-live-update-pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--g-green);
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.25);
}

.g-live-update-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.g-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  margin-left: 0.4rem;
  padding: 0.04rem 0.42rem;
  border-radius: 999px;
  color: var(--g-mute-2);
  font-size: 0.78rem;
  line-height: 1.45;
  background: transparent;
  transition: background-color 0.55s ease, color 0.55s ease, transform 0.55s ease, box-shadow 0.55s ease;
}

.g-count-badge::before {
  content: "(";
  margin-right: 0.05rem;
}

.g-count-badge::after {
  content: ")";
  margin-left: 0.05rem;
}

.g-count-badge.is-updated {
  animation: gCountPulse 4.8s ease 1;
}

@keyframes gCountPulse {
  0% {
    background: rgba(66, 133, 244, 0.28);
    color: var(--g-blue-strong);
    box-shadow: 0 0 0 1px rgba(66, 133, 244, 0.18), 0 8px 18px rgba(66, 133, 244, 0.16);
    transform: translateY(-2px) scale(1.04);
  }
  32% {
    background: rgba(52, 168, 83, 0.18);
    color: var(--g-blue-strong);
    box-shadow: 0 0 0 1px rgba(52, 168, 83, 0.14), 0 6px 16px rgba(52, 168, 83, 0.12);
    transform: translateY(-1px) scale(1.01);
  }
  100% {
    background: transparent;
    color: var(--g-mute-2);
    box-shadow: none;
    transform: translateY(0) scale(1);
  }
}

.g-home-toast {
  position: absolute;
  top: -1.25rem;
  left: 0;
  width: min(340px, calc(100% - 1rem));
  padding: 0.95rem 1rem;
  border: 1px solid rgba(66, 133, 244, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(32, 33, 36, 0.14);
  text-align: left;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.g-home-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.g-home-toast.is-hidden {
  opacity: 0;
  transform: translateX(32px);
  pointer-events: none;
}

.g-home-toast__eyebrow {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g-blue-strong);
}

.g-home-toast__title {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--g-link);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.g-home-toast__title:hover {
  text-decoration: underline;
}

.g-home-toast__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  color: var(--g-ink-soft);
  font-size: 0.85rem;
}

.g-home-toast__age {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--g-muted);
  font-size: 0.78rem;
}

.g-latest-toast-wrap {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  left: auto;
  z-index: 45;
  pointer-events: none;
}

.g-home-toast--floating {
  position: relative;
  top: auto;
  left: auto;
  width: min(340px, calc(100vw - 2.7rem));
}

/* ── Search pill ──────────────────────────────────────────────────────── */
.g-search {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem 1.35rem 1.1rem;
  background: #fff;
  border: 1px solid var(--g-border);
  border-radius: 1.6rem;
  box-shadow: var(--g-shadow-soft);
  text-align: left;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.g-search:hover,
.g-search:focus-within {
  border-color: rgba(223, 225, 229, 0);
  box-shadow: var(--g-shadow);
}
.g-search--compact {
  padding: 0.95rem 1.1rem 0.85rem;
  margin-bottom: 1.5rem;
}
.g-search__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.4rem 0.85rem;
}
.g-search__field { display: flex; flex-direction: column; gap: 0.2rem; }
.g-search__field--wide {
  grid-column: 1 / -1;
}
.g-search__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--g-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.g-search__select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--g-border);
  padding: 0.45rem 1.4rem 0.45rem 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--g-ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%235f6368'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  cursor: pointer;
  outline: none;
  border-radius: 0;
}
.g-search__select:focus { border-bottom-color: var(--g-blue); }
.g-search__select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-image: none;
}
.g-search__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  cursor: text;
}
.g-search__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
  margin-top: 0.1rem;
  border-top: 1px solid var(--g-divider);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--g-btn-bg);
  border: 1px solid var(--g-btn-bg);
  color: var(--g-ink-soft);
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0.3rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.g-btn:hover {
  background: var(--g-btn-bg-hover);
  border-color: #dadce0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #202124;
}
.g-btn--primary {
  background: var(--g-blue-strong);
  border-color: var(--g-blue-strong);
  color: #fff;
}
.g-btn--primary:hover {
  background: var(--g-blue-hover);
  border-color: var(--g-blue-hover);
  color: #fff;
  box-shadow: 0 1px 3px rgba(66, 133, 244, 0.35);
}

.g-status {
  color: var(--g-muted);
  font-size: 0.8rem;
  min-height: 1rem;
  text-align: center;
  margin-top: 0.25rem;
}

.g-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.75rem;
}

.g-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--g-border);
  border-radius: 999px;
  background: #fff;
  color: var(--g-ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.g-pagination__link:hover {
  border-color: var(--g-blue-strong);
  color: var(--g-blue-strong);
  box-shadow: var(--g-shadow-soft);
}

.g-pagination__link.is-active {
  background: var(--g-blue-strong);
  border-color: var(--g-blue-strong);
  color: #fff;
}

.g-pagination__link--nav {
  padding-inline: 0.95rem;
}

.g-consent {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1080;
  display: flex;
  justify-content: center;
}

.g-consent__card {
  width: min(100%, 860px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--g-border);
  border-radius: 1rem;
  box-shadow: var(--g-shadow);
}

.g-consent__copy {
  max-width: 640px;
}

.g-consent__title {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.g-consent__text {
  margin: 0;
  color: var(--g-ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.g-consent__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── Crumbs / URL trail ───────────────────────────────────────────────── */
.g-crumbs {
  color: var(--g-muted);
  font-size: 0.82rem;
  margin: 0 0 0.65rem;
}
.g-crumbs a { color: var(--g-muted); text-decoration: none; }
.g-crumbs a:hover { text-decoration: underline; }
.g-crumbs__sep {
  margin: 0 0.35rem;
  color: #bdc1c6;
}

/* ── SERP meta ────────────────────────────────────────────────────────── */
.g-serp-meta {
  color: var(--g-muted);
  font-size: 0.82rem;
  margin: 0.35rem 0 1.25rem;
}

/* ── SERP layout (results + knowledge panel) ──────────────────────────── */
.g-serp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (min-width: 980px) {
  .g-serp-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* ── Result block ─────────────────────────────────────────────────────── */
.g-result {
  margin: 0 0 1.65rem;
  max-width: 660px;
}
.g-result__url {
  color: var(--g-ink-soft);
  font-size: 0.82rem;
  line-height: 1.3;
  display: block;
}
.g-result__url-trail { color: var(--g-mute-2); }
.g-result__title {
  margin: 0.1rem 0 0.2rem;
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.32;
}
.g-result__title a {
  color: var(--g-link);
  text-decoration: none;
}
.g-result__title a:hover { text-decoration: underline; }
.g-result__title a:visited { color: var(--g-link-visited); }
.g-result__desc {
  color: #4d5156;
  font-size: 0.9rem;
  line-height: 1.58;
  margin: 0.15rem 0 0;
}
.g-result__meta {
  color: var(--g-muted);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.95rem;
}
.g-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  border: 1px solid transparent;
}
.g-meta-chip--category {
  background: #eef4ff;
  color: #1659c0;
  border-color: #d5e4ff;
}
.g-meta-chip--state {
  background: #fff4e5;
  color: #9a4d00;
  border-color: #ffe0b2;
}
.g-meta-chip--region {
  background: #eefaf1;
  color: #17693b;
  border-color: #cfead8;
}
.g-meta-chip--locality {
  background: #f3efff;
  color: #5c3ba9;
  border-color: #e0d5ff;
}
.g-result__reviews {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  color: var(--g-ink-soft);
  font-size: 0.82rem;
}
.g-result__meta a { color: var(--g-link); text-decoration: none; }
.g-result__meta a:hover { text-decoration: underline; }
.g-result__contact {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  font-size: 0.82rem;
  color: var(--g-ink-soft);
}
.g-result__contact-item { white-space: nowrap; }
.g-result__contact-label {
  color: var(--g-muted);
  font-weight: 500;
  margin-right: 0.2rem;
}
.g-result__contact a { color: var(--g-link); text-decoration: none; }
.g-result__contact a:hover { text-decoration: underline; }
.g-badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  margin-left: 0.4rem;
  background: var(--g-chip);
  color: var(--g-chip-ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  vertical-align: 0.1em;
  text-transform: uppercase;
}

/* ── Knowledge panel (right rail) ─────────────────────────────────────── */
.g-panel {
  border: 1px solid var(--g-border);
  border-radius: 0.75rem;
  padding: 1.2rem 1.35rem;
  background: #fff;
}
.g-panel + .g-panel { margin-top: 1rem; }
.g-panel__eyebrow {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--g-muted);
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.g-panel__title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--g-ink);
}
.g-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--g-ink-soft);
}
.g-panel__list a { color: var(--g-link); text-decoration: none; }
.g-panel__list a:hover { text-decoration: underline; }
.g-panel__list strong { font-weight: 500; color: var(--g-ink); }
.g-panel__divider {
  height: 1px;
  background: var(--g-border);
  margin: 0.95rem 0;
}

/* ── Hero copy on SERP pages ──────────────────────────────────────────── */
.g-hero-title {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--g-ink);
}
.g-hero-subtitle {
  color: var(--g-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 58rem;
}

/* ── Tag chips ────────────────────────────────────────────────────────── */
.g-tags {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
}
.g-tags--inline {
  margin-top: 0.45rem;
  margin-bottom: 0;
}
.g-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  background: var(--g-chip);
  color: var(--g-chip-ink);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}
.g-tag--sm {
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
}
.g-tag--more {
  background: #f1f3f4;
  color: var(--g-muted);
}

/* ── Contact form ─────────────────────────────────────────────────────── */
.g-form { display: grid; gap: 0.85rem; }
.g-form__row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .g-form__row { grid-template-columns: 1fr 1fr; }
}
.g-form__field { display: flex; flex-direction: column; gap: 0.3rem; }
.g-form__field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.g-form__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--g-muted);
  letter-spacing: 0.01em;
}
.g-form__optional {
  color: var(--g-mute-2);
  font-weight: 400;
  margin-left: 0.2rem;
}
.g-form__input {
  font: inherit;
  font-size: 0.92rem;
  color: var(--g-ink);
  background: #fff;
  border: 1px solid var(--g-border);
  border-radius: 0.5rem;
  padding: 0.6rem 0.8rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.g-form__input:hover { border-color: #c4c7ca; }
.g-form__input:focus {
  border-color: var(--g-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}
.g-form__input--area {
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.5;
}
.g-form__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.g-form__status {
  font-size: 0.85rem;
  color: var(--g-muted);
  line-height: 1.4;
}
.g-form__status.is-success { color: #137333; }
.g-form__status.is-error { color: #c5221f; }

/* ── Reviews ──────────────────────────────────────────────────────────── */
.g-review-summary-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--g-ink-soft);
  font-size: 0.92rem;
}
.g-review-stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.g-review-stars--lg {
  font-size: 1.15rem;
}
.g-review-overview {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 720px) {
  .g-review-overview {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
  }
}
.g-review-overview__score {
  display: grid;
  gap: 0.35rem;
}
.g-review-overview__average {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
}
.g-review-overview__count {
  color: var(--g-muted);
  font-size: 0.88rem;
}
.g-review-overview__breakdown {
  display: grid;
  gap: 0.45rem;
}
.g-review-bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--g-muted);
}
.g-review-bar__track {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: #edf1f4;
  overflow: hidden;
}
.g-review-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbc05 0%, #f59e0b 100%);
}
.g-rating-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.g-rating-input__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.g-rating-input__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.g-rating-input__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.3rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--g-border);
  border-radius: 999px;
  background: #fff;
  color: #c58a00;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.g-rating-input__option input:checked + span,
.g-rating-input__option:hover span {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(251, 188, 5, 0.12);
  box-shadow: 0 0 0 3px rgba(251, 188, 5, 0.12);
}
.g-review-list {
  display: grid;
  gap: 0.95rem;
}
.g-review-cta-panel {
  background: linear-gradient(180deg, rgba(66, 133, 244, 0.05) 0%, rgba(255,255,255,1) 100%);
}
.g-review-cta-panel__copy {
  margin: 0 0 1rem;
  color: var(--g-ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}
.g-review-card {
  border: 1px solid var(--g-border);
  border-radius: 0.85rem;
  background: #fafbfc;
  padding: 1rem 1rem 0.95rem;
}
.g-review-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}
.g-review-card__title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--g-ink);
}
.g-review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  color: var(--g-muted);
  font-size: 0.82rem;
}
.g-review-card__date {
  color: var(--g-mute-2);
  font-size: 0.78rem;
  white-space: nowrap;
}
.g-review-card__body {
  margin: 0.85rem 0 0;
  color: var(--g-ink-soft);
  font-size: 0.91rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

/* ── Empty state ──────────────────────────────────────────────────────── */
.g-empty {
  border: 1px dashed var(--g-border);
  border-radius: 0.75rem;
  padding: 2rem 1.75rem;
  text-align: left;
  background: #fafbfc;
}
.g-empty__title {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
  color: var(--g-ink);
}
.g-empty p { margin: 0; color: var(--g-muted); font-size: 0.92rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.g-footer {
  background: #f2f2f2;
  color: var(--g-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--g-border);
}
.g-footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
.g-footer__top {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--g-border);
}
.g-footer__country {
  font-weight: 500;
  color: var(--g-ink-soft);
}
.g-footer__bottom {
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.g-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.g-footer__links a {
  color: var(--g-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.g-footer__links a:hover { color: var(--g-ink); }

.g-footer__button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--g-muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.g-footer__button:hover {
  color: var(--g-ink);
}

/* ── Scroll to top ────────────────────────────────────────────────────── */
.g-scroll-top-wrap {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 50;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.g-scroll-top {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--g-blue-strong);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(26, 115, 232, 0.4);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.15s;
}
.g-scroll-top:hover {
  background: #1557b0;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.5);
}
.g-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Affiliate store ──────────────────────────────────────────────────── */
.g-affiliate-disclosure {
  margin: 0 0 1.25rem;
  color: var(--g-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  font-style: italic;
}
.g-affiliate-disclosure a { color: inherit; text-decoration: underline; }
.g-store-card__cta-note,
.g-store-detail__cta-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--g-mute-2);
  font-size: 0.72rem;
  font-style: italic;
}

.g-store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.g-store-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  border: 1px solid var(--g-border);
  border-radius: 1.15rem;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--g-shadow-soft);
}

.g-store-card--no-media {
  grid-template-columns: 1fr;
}

.g-store-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 1.25rem;
  background: linear-gradient(180deg, #fbfbfb 0%, #f5f7fa 100%);
  border-right: 1px solid var(--g-divider);
}

.g-store-card__media img,
.g-store-detail__media img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.g-store-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  padding: 1.15rem 1.2rem;
}

.g-store-card__badge {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: var(--g-chip);
  color: var(--g-chip-ink);
  font-size: 0.76rem;
  font-weight: 600;
}

.g-store-card__title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.4;
}

.g-store-card__title a {
  color: var(--g-link);
  text-decoration: none;
}

.g-store-card__title a:hover {
  text-decoration: underline;
}

.g-store-card__desc {
  margin: 0;
  color: var(--g-ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.g-store-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  color: var(--g-muted);
  font-size: 0.82rem;
}

.g-store-card__actions,
.g-store-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 767.98px) {
  .g-store-card {
    grid-template-columns: 1fr;
  }

  .g-store-card__media {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--g-divider);
  }
}

.g-store-detail {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1.4rem;
  align-items: start;
}

.g-store-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 260px;
  border: 1px solid var(--g-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fbfbfb 0%, #f5f7fa 100%);
}

.g-store-detail__content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.g-store-detail__desc,
.g-store-copy {
  color: var(--g-ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.g-store-sitestripe {
  overflow-x: auto;
}

/* ── Small screens ────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .g-header__inner {
    padding: 0.75rem 1rem 0.7rem;
    gap: 1rem;
  }
  .g-header__nav { gap: 1.1rem; width: 100%; order: 3; }
  .g-header__link.is-active::after { bottom: -0.7rem; }
  .g-body--home .g-main { padding: 3rem 1rem 2rem; }
  .g-body--serp .g-main { padding: 1.25rem 1rem 2.5rem; }
  .g-search { padding: 1rem 1rem 0.85rem; }
  .g-store-detail { grid-template-columns: 1fr; }
  .g-footer__container { padding: 0 1rem; }
  .g-latest-toast-wrap {
    right: 1rem;
    bottom: 1rem;
  }
  .g-consent {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }
  .g-consent__card {
    flex-direction: column;
    align-items: stretch;
  }
  .g-consent__actions {
    justify-content: stretch;
  }
  .g-consent__actions .g-btn {
    flex: 1 1 0;
  }
  .g-home-toast {
    position: static;
    width: min(340px, calc(100vw - 2rem));
    margin: 0;
    transform: translateX(20px);
  }
  .g-home-toast.is-visible {
    transform: translateX(0);
  }
  .g-home-toast.is-hidden {
    transform: translateX(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-home-toast {
    transition: opacity 0.2s ease;
    transform: none;
  }
  .g-home-toast.is-visible,
  .g-home-toast.is-hidden {
    transform: none;
  }
}
