/* ═══════════════════════════════════════════════════════════
   HOME PAGE  —  home.min.css
   Covers: index1.php (new home page)
   Design tokens shared with treatment.min.css / shop.min.css /
   clinic.min.css / blog.min.css
   ═══════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

:root {
  --primary:       #663399;
  --primary-light: #994CE5;
  --primary-dark:  #3b1e59;
  --primary-pale:  #f5eeff;
  --accent:        #3498db;
  --light-bg:      #f9f9f9;
  --border:        #e0e0e0;
  --white:         #ffffff;
  --grey-text:     #666666;
  --heading:       #2c3e50;
}

.home a:focus-visible,
.home button:focus-visible,
.home input:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

/* ─── SHARED SECTION PARTS (match index pages) ──────────── */

.home-section { padding: 60px 0; }
.home-section-tint { background: var(--light-bg); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

.home .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--light-bg);
  padding-bottom: 15px;
}

.home-section-tint .section-header { border-bottom-color: #ececec; }

.home .section-kicker,
.home-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.home .section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.home .section-title em { font-style: normal; color: var(--primary); }

.home .section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0;
}

.home .section-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.home .section-link:hover { color: var(--primary-light); text-decoration: none; }
.home .section-link:hover svg { transform: translateX(3px); }

.home-section-intro {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.7;
  max-width: 680px;
  margin: -10px 0 28px;
}

.home-subhead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin: 40px 0 16px;
}

/* ─── BUTTONS ───────────────────────────────────────────── */

.home .btn-white,
.home .btn-outline,
.home .btn-ghost-light {
  display: inline-block;
  padding: 14px 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.2;
}

.home .btn-white { background: var(--primary); color: var(--white); border: 1px solid var(--primary); }
.home .btn-white:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--white); text-decoration: none; }

.home .btn-outline { background: transparent; color: var(--heading); border: 1px solid var(--border); }
.home .btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.home .btn-ghost-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.home .btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.home-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
  padding: 60px 0 56px;
  border-bottom: 1px solid var(--border);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.home-hero-title {
  font-size: 3rem;
  color: var(--heading);
  letter-spacing: -1.8px;
  font-weight: 800;
  line-height: 1.08;
  margin: 4px 0 18px;
  max-width: 640px;
}

.home-hero-title em { font-style: normal; color: var(--primary); }

.home-hero-desc {
  font-size: 1.1rem;
  color: var(--grey-text);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 28px;
}

.home-hero-next { font-size: 1rem; color: var(--heading); font-weight: 600; margin: -14px 0 28px; }
.home-hero-next a { color: var(--primary); font-weight: 700; padding: 0; text-underline-offset: 3px; }
.home-hero-next a:hover { color: var(--primary-light); }

/* Finder */
.home-finder { position: relative; max-width: 600px; }

.home-finder-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.home-finder-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 10px 30px rgba(102, 51, 153, 0.12);
  transition: box-shadow 0.2s;
}

.home-finder-box:focus-within { box-shadow: 0 10px 30px rgba(102, 51, 153, 0.22); }

.home-finder-icon { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }

.home-finder-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--heading);
  padding: 12px 12px;
}

.home-finder-box input:focus { outline: none; }
.home-finder-box input:focus-visible { outline: none; }

.home-finder-btn {
  background: var(--primary);
  color: var(--white);
  border: 0;
  border-radius: 6px;
  padding: 13px 26px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.home-finder-btn:hover { background: var(--primary-light); }

.home-finder-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.home-finder-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--heading);
}

.home-finder-option:hover,
.home-finder-option.active { background: var(--primary-pale); }

.home-finder-name { font-weight: 600; }

.home-finder-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  flex-shrink: 0;
}

.home-finder-type.type-treatment { color: var(--primary); background: #efe6fa; }
.home-finder-type.type-condition { color: #1d6fa5; background: #e3f0fa; }
.home-finder-type.type-product   { color: #5d6b78; background: #edf0f3; }

.home-finder-empty { padding: 12px; font-size: 0.9rem; color: var(--grey-text); line-height: 1.6; }
.home-finder-empty a { color: var(--primary); font-weight: 600; padding: 0; }

/* Popular links */
.home-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.home-popular-label { color: var(--grey-text); font-weight: 600; }

.home-popular a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(102, 51, 153, 0.3);
  padding: 0;
}

.home-popular a:hover { text-decoration-color: var(--primary); color: var(--primary); }

/* Pathways panel */
.home-paths {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-paths-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-text);
  padding: 10px 12px 8px;
}

.home-path {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--heading);
  transition: background 0.15s;
}

.home-path + .home-path { border-top: 1px solid #f0f0f0; }
.home-path:hover { background: var(--light-bg); text-decoration: none; color: var(--heading); }

.home-path-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-path-icon svg { width: 22px; height: 22px; }

.home-path-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.home-path-text strong { font-size: 1rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.home-path-text span { font-size: 0.82rem; color: var(--grey-text); line-height: 1.45; }

.home-path > svg { width: 16px; height: 16px; color: #b9b9b9; flex-shrink: 0; transition: transform 0.2s, color 0.2s; }
.home-path:hover > svg { color: var(--primary); transform: translateX(3px); }

.home-path-accent .home-path-icon { background: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   HOW WE CHECK CLINICS
   ═══════════════════════════════════════════════════════════ */

.home-safety {
  background: #fbf8ff;
  border-bottom: 1px solid #ece4f6;
}

.home-safety-intro { max-width: 780px; margin-bottom: 36px; }
.home-safety-intro .section-title { margin-bottom: 14px; }
.home-safety-intro p { font-size: 1.02rem; color: #4a4a4a; line-height: 1.75; margin: 0 0 12px; }

.home-safety-subhead {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}

.home-safety-lead { font-size: 0.98rem; color: var(--grey-text); line-height: 1.6; margin: -8px 0 20px; }

/* What we check: 2 x 2 */
.home-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.home-check {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}

.home-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-pale);
  color: var(--primary);
  margin-bottom: 12px;
}

.home-check-icon svg { width: 22px; height: 22px; }
.home-check h4 { font-size: 1.05rem; font-weight: 700; color: var(--heading); line-height: 1.35; margin: 0 0 6px; }
.home-check p { font-size: 0.92rem; color: var(--grey-text); line-height: 1.65; margin: 0; }

/* Professional bodies: 6 across */
.home-reg-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-reg {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px 18px;
}

.home-reg-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid #eee;
  overflow: hidden;
  margin-bottom: 14px;
}

.home-reg-logo img {
  position: relative;
  z-index: 1;
  max-width: 88%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--white);
}

.home-reg-logo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.home-reg-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  line-height: 1.4;
  margin: 4px 0 12px;
  min-height: 2.8em;
}

.home-reg-desc {
  flex: 1;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.55;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* What does this mean for you? */
.home-safety-note {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
}

.home-safety-note-icon { color: var(--primary); flex-shrink: 0; }
.home-safety-note-icon svg { width: 28px; height: 28px; }
.home-safety-note h3 { font-size: 1.2rem; font-weight: 800; color: var(--heading); margin: 0 0 8px; }
.home-safety-note p { font-size: 0.98rem; color: #4a4a4a; line-height: 1.7; margin: 0 0 10px; max-width: 820px; }
.home-safety-note .home-card-link { margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════
   GUIDE CARDS (treatments, products, blog)
   ═══════════════════════════════════════════════════════════ */

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

.home-card,
.home-shop-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.home-card:hover,
.home-shop-card:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); text-decoration: none; }

.home-card-thumb {
  display: block;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #eee;
  position: relative;
  padding: 0;
}

.home-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.home-card:hover .home-card-thumb img { transform: scale(1.03); }

.home-card-thumb.thumb-fallback,
.home-concern-thumb.thumb-fallback {
  background: linear-gradient(135deg, #efe6fa 0%, #e3eaf3 100%);
}

.home-card-thumb.thumb-fallback img,
.home-concern-thumb.thumb-fallback img { display: none; }

.home-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.home-card-body:hover { text-decoration: none; }

.home-card-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.35;
  margin: 0 0 8px;
}

.home-card-desc {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-card-footer {
  padding: 13px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.home-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  padding: 0;
  transition: color 0.2s;
}

.home-card-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.home-card:hover .home-card-link,
.home-shop-card:hover .home-card-link { color: var(--primary); text-decoration: none; }
.home-card:hover .home-card-link svg,
.home-shop-card:hover .home-card-link svg { transform: translateX(3px); }

.home-card-clinic {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.home-card-clinic:hover { background: var(--primary); color: var(--white); border-color: var(--primary); text-decoration: none; }

/* Blog */
.home-blog-card .home-card-thumb { height: 190px; }
.home-blog-cat {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.home-blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.home-blog-author { font-size: 0.78rem; color: var(--grey-text); }

.home-blog-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.home-blog-date .day { display: block; font-size: 1rem; font-weight: 800; color: var(--heading); }
.home-blog-date .month-year { display: block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   CONDITIONS
   ═══════════════════════════════════════════════════════════ */

.home-concern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-concern {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--heading);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-concern:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(102, 51, 153, 0.1); text-decoration: none; color: var(--heading); }

.home-concern-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.home-concern-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.home-concern-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.home-concern-text strong { font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.home-concern-area { font-size: 0.72rem; font-weight: 600; color: var(--accent); }

.home-concern > svg { width: 14px; height: 14px; color: #bbb; flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.home-concern:hover > svg { color: var(--primary); transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   CLINIC SEARCH
   ═══════════════════════════════════════════════════════════ */

.home-ways {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-way {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.home-way:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08); text-decoration: none; }
.home-way strong { font-size: 1rem; font-weight: 700; color: var(--heading); }
.home-way span { font-size: 0.82rem; color: var(--grey-text); line-height: 1.5; }
.home-way:hover strong { color: var(--primary); }

.home-towns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.home-towns-label,
.home-chip-label { font-size: 0.85rem; font-weight: 700; color: var(--heading); margin-right: 4px; }

.home-towns a,
.home-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.3;
}

.home-towns a:hover,
.home-chip:hover { background: var(--primary); border-color: var(--primary); color: var(--white); text-decoration: none; }

.home-clinic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-clinic {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.home-clinic:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08); text-decoration: none; }

.home-clinic-logo {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary-pale);
}

.home-clinic-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--white); }

.home-clinic-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.home-clinic-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.home-clinic-text strong { font-size: 0.95rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.home-clinic-town { font-size: 0.78rem; font-weight: 600; color: var(--accent); }

.home-clinic-desc {
  font-size: 0.8rem;
  color: var(--grey-text);
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   ASK A PRACTITIONER BAND
   ═══════════════════════════════════════════════════════════ */

.home-ask { background: var(--primary-dark); padding: 50px 0; }

.home-ask-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.home-ask-title { font-size: 1.8rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; line-height: 1.25; margin-bottom: 8px; }
.home-ask-desc { font-size: 1.02rem; color: rgba(255, 255, 255, 0.8); line-height: 1.65; max-width: 560px; margin: 0; }
.home-ask-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.home-ask .btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.home-ask .btn-white:hover { background: var(--primary-pale); border-color: var(--primary-pale); color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   SHOP
   ═══════════════════════════════════════════════════════════ */

.home-shop-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
  overflow: hidden;
}

.home-shop-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.home-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
}

.home-shop-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.home-shop-body .home-card-name { font-size: 0.98rem; flex: 1; }

.home-shop-offer {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 5px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.home-shop-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.home-shop-price { font-size: 1rem; font-weight: 800; color: var(--heading); }

.home-shop-browse { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.home-chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ═══════════════════════════════════════════════════════════
   CLINIC OWNER CTA BAND (matches index pages)
   ═══════════════════════════════════════════════════════════ */

.home .cta-band {
  background: linear-gradient(to bottom, #f2f2f2 0%, #ffffff 100%);
  border-top: 1px solid #e3e3e3;
  padding: 50px 0;
}

.home .cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.home .cta-title { font-size: 28px; font-weight: 700; color: var(--heading); line-height: 1.3; margin-bottom: 8px; }
.home .cta-sub { font-size: 17px; color: #555; line-height: 1.6; max-width: 540px; margin: 0; }
.home .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── DEBUG PANEL (?debug=1) ────────────────────────────── */

.home-debug {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  font-size: 14px;
  background: #fffbe6;
  border: 1px solid #f0d77a;
  border-radius: 8px;
}

.home-debug table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.home-debug th,
.home-debug td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #f0e3a8; vertical-align: top; }
.home-debug tr.is-error td { color: #b3261e; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .home-card-grid,
  .home-concern-grid,
  .home-clinic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-reg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero-title { font-size: 2.5rem; }
  .home-finder { max-width: none; }
  .home-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .home-paths-title { grid-column: 1 / -1; }
  .home-path + .home-path { border-top: 0; }
  .home-card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .home-section { padding: 44px 0; }
  .home-hero { padding: 36px 0 40px; }
  .home-hero-title { font-size: 2.1rem; letter-spacing: -1px; }
  .home-card-grid,
  .home-concern-grid,
  .home-clinic-grid,
  .home-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .section-header { flex-direction: column; align-items: flex-start; }
  .home .section-title { font-size: 1.5rem; }
  .home-check-grid { grid-template-columns: 1fr; }
  .home-reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-safety-note { flex-direction: column; gap: 10px; padding: 22px; }
  .home-ask-inner,
  .home .cta-band-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 576px) {
  .home-paths { display: block; }
  .home-path + .home-path { border-top: 1px solid #f0f0f0; }
  .home-card-grid,
  .home-card-grid-3,
  .home-concern-grid,
  .home-clinic-grid,
  .home-ways { grid-template-columns: 1fr; }
  .home-finder-btn { padding: 13px 16px; }
  .home-finder-box input { font-size: 1rem; padding: 10px 8px; }
  .home-reg-grid { grid-template-columns: 1fr; }
  .home-reg-name { min-height: 0; }
  .home .btn-white,
  .home .btn-outline,
  .home .btn-ghost-light { width: 100%; text-align: center; box-sizing: border-box; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home *,
  .home *::before,
  .home *::after { transition: none !important; }
}