/* ===============================
   DroneBusinessTools.com — main.css
   Palette: pulled directly from logo.svg — Navy primary + Growth Green CTA.
   Navy = trust/tech/aviation (same reasoning as "Blue UAS"-style industry
   associations). Green = growth/profit (fits an earnings-focused site,
   also echoes the "Green UAS" NDAA-compliance category). One coherent
   brand instead of a separately-sourced accent color.

   Primary:     #102A43  (logo navy — headings, links, primary UI color)
   Primary-dk:  #1d4e78  (hover — brighter, same "brighten on hover"
                pattern text links use across the portfolio)
   Primary-lt:  #eaf0f6  (pale navy tint, backgrounds)
   CTA:         #22A447  (logo green — buttons, affiliate/action color)
   CTA-dk:      #178a3a  (hover — darker, same pattern buttons use)
   CTA-lt:      #e8f7ec  (pale green tint, subtle highlight)
   Body bg:     #f8fafc  (slate-50)
   Text:        #334155  (slate-700)
   Text-muted:  #64748b  (slate-500)
   Text-faint:  #94a3b8  (slate-400)
   Border:      #e2e8f0  (slate-200)
   Card bg:     #ffffff
================================ */

/* ===============================
   Base & Reset
================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8fafc;
  color: #334155;
}

/* ===============================
   Layout
================================ */

.container {
  max-width: 520px;
  margin: 40px auto;
  padding: 0 20px;
}

main.container {
  margin-top: 20px;
}

/* ===============================
   Header (Highlight-safe)
================================ */

.site-header {
  background: transparent;
  border-bottom: none;
  margin: 0;
  padding: 8px 0;
}

.header-highlight {
  min-height: 0;
  width: 100%;
  margin: 8px 0 0;
}

.footer-highlight {
  width: 100%;
  margin: 0 0 16px;
}

/* Self-contained sizing — deliberately NOT using .container, since
   .site-header .container and .site-footer .container resolve differently
   (header resets margin to 0 auto; footer inherits the base 40px auto). */
.header-highlight__inner,
.footer-highlight__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 16px;
  background: #eaf0f6;
  border: 1px solid #c3d0dc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  text-align: center;
}

.highlight-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35; /* explicit — do not omit */
  color: #102A43;
}

@media (max-width: 480px) {
  .highlight-text {
    font-size: 0.8rem;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-nav a {
  font-weight: 500;
  text-decoration: none;
}

.site-header img {
  height: 38px;
  width: auto;
  margin-right: 6px;
}

.site-nav a,
.header-nav a {
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  color: #334155;
}

.site-nav a:hover,
.header-nav a:hover {
  text-decoration: underline;
  opacity: 1;
}

.site-nav {
  margin-left: auto;
}

.site-nav a,
.header-nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===============================
   Header spacing fix
================================ */

.site-header .container {
  margin: 0 auto;
  padding: 0;
}

/* ===============================
   Typography
================================ */

h1 {
  text-align: center;
  font-size: 2rem;
  color: #102A43;
  margin-bottom: 10px;
}

h2 {
  color: #102A43;
  margin-top: 40px;
  margin-bottom: 15px;
}

h3 {
  color: #102A43;
  margin-top: 30px;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

a {
  color: #102A43;
}

a:hover {
  color: #1d4e78;
}

.hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  font-style: italic;
}

.hint a {
  color: #102A43;
}

.intro {
  text-align: center;
  margin-bottom: 30px;
  color: #475569;
}

/* ===============================
   Forms & Inputs
================================ */

label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
}

input[type="number"],
input[type="text"],
input[type="email"],
input[type="date"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

input:focus {
  outline: none;
  border-color: #102A43;
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.12);
}

/* ===============================
   Select (Dropdowns)
================================ */

select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 40px 12px 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #334155;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

select:focus {
  outline: none;
  border-color: #102A43;
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.12);
}

select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

label select {
  margin-top: 6px;
}

/* ===============================
   Hub & Cross-Navigation Links
================================ */

.hub-link {
  margin: 18px 0 28px;
  font-size: 0.95rem;
  color: #475569;
  text-align: center;
}

.hub-link a {
  font-weight: 600;
  color: #102A43;
  text-decoration: none;
}

.hub-link a:hover {
  text-decoration: underline;
  color: #1d4e78;
}

/* ===============================
   Results Box
================================ */

.result {
  margin-top: 25px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-size: 1.05rem;
}

.result p {
  margin: 8px 0;
}

/* ===============================
   Tool List (Homepage)
================================ */

.tools {
  margin-top: 40px;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-list li {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.tool-list a {
  display: block;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.tool-list a:hover {
  background: #eaf0f6;
}

/* ===============================
   Footer
================================ */

.site-footer {
  background: transparent;
  border-top: none;
  margin-top: 40px;
}

.site-footer .container {
  text-align: center;
  padding: 10px 0;
}

.footer-links {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

/* ===============================
   Mobile
================================ */

@media (max-width: 400px) {
  .container {
    margin: 25px auto;
    padding: 0 15px;
  }

  h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 6px 0;
  }

  .site-header img {
    height: 32px;
  }
}

/* ===============================
   Homepage Enhancements
================================ */

.hero {
  margin-bottom: 35px;
}

.hero h1 {
  margin-bottom: 12px;
}

.hero .intro {
  font-size: 1.05rem;
}

/* ===============================
   Section Headers
================================ */

.calculators-section {
  margin-top: 45px;
}

.section-heading {
  font-size: 1.5rem;
  color: #102A43;
  margin: 0 0 6px 0;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 22px 0;
}

/* ===============================
   Calculator Card Grid (homepage tool teasers)
================================ */

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-card {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  position: relative;
}

.calc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #102A43;
}

.calc-card__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}

.calc-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #102A43;
  margin: 0 0 8px 0;
}

.calc-card__desc {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.calc-card__tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  background: #eaf0f6;
  color: #102A43;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.calc-card--primary {
  background: linear-gradient(135deg, #eaf0f6 0%, #c3d0dc 100%);
  border-color: #102A43;
  border-width: 2px;
}

.calc-card--primary:hover {
  border-color: #1d4e78;
}

/* Urgent card variant (seasonal, limited-time) — amber regardless of brand
   accent color, same as both reference sites: urgency is its own signal,
   distinct from the CTA/primary color. */
.calc-card--urgent {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
  border-width: 2px;
}

.calc-card--urgent:hover {
  border-color: #d97706;
}

.calc-card__tag--urgent {
  background: #fef3c7;
  color: #92400e;
}

/* "Coming soon" tool teaser — same card shape, not clickable */
.calc-card--soon {
  cursor: default;
}

.calc-card--soon:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-color: #e2e8f0;
}

.calc-card__tag--soon {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 480px) {
  .calc-card {
    padding: 16px;
  }

  .calc-card__title {
    font-size: 1rem;
  }

  .calc-card__desc {
    font-size: 0.85rem;
  }
}

/* ===============================
   Quick Start Box
================================ */

.quick-start-box {
  margin: 28px 0 35px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #eaf0f6 0%, #c3d0dc 100%);
  border-left: 4px solid #102A43;
  border-radius: 10px;
}

.quick-start-label {
  margin: 0 0 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #102A43;
}

.quick-start-text {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  color: #102A43;
  line-height: 1.5;
}

.quick-start-text:last-child {
  margin-bottom: 0;
}

.quick-start-text a {
  color: #102A43;
  font-weight: 600;
  text-decoration: underline;
}

.quick-start-text a:hover {
  color: #178a3a;
}

@media (max-width: 480px) {
  .quick-start-box {
    padding: 14px 16px;
  }
}

/* ===============================
   Primary Tool Highlight Box
================================ */

.primary-tool {
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #102A43;
  background-color: #f8fafc;
  border-radius: 6px;
}

.primary-tool__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.primary-tool__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.primary-tool__title a {
  color: #1e293b;
  text-decoration: none;
}

.primary-tool__title a:hover {
  text-decoration: underline;
}

.primary-tool__description {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
}

.primary-tool + section {
  margin-top: 2.5rem;
}

/* ===============================
   Buttons
   Primary = Amber (CTA / action / affiliate)
   Secondary = Blue-tinted (navigation / lower priority)
================================ */

.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  background-color: #22A447;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background-color: #178a3a;
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #eaf0f6;
  color: #102A43;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background-color: #c3d0dc;
  color: #102A43;
}

/* ===============================
   Call-to-Action Wrappers
   Present in both reference sites' shared component set. hero-cta already
   caused a real bug once this build (used in HTML, missing from CSS) —
   adding the full family now so the same trap doesn't repeat on a future
   page that reaches for guide-cta / faq-cta / calculator-cta.
================================ */

.hero-cta {
  text-align: center;
  margin-top: 20px;
}

.calculator-cta {
  text-align: center;
  margin: 18px 0 28px;
}

.guide-cta {
  text-align: center;
  margin: 18px 0 28px;
}

.faq-cta {
  text-align: center;
  margin: 18px 0 28px;
}

/* ===============================
   Calculator breakdown toggle
================================ */

.calc-toggle {
  border: none;
  cursor: pointer;
}

.calc-breakdown {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.calc-breakdown .muted {
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===============================
   Calculator Form (shared)
================================ */

.calculator-form {
  display: grid;
  gap: 16px;
}

.calculator-form label {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.calculator-form input[type="text"],
.calculator-form input[type="email"],
.calculator-form input[type="number"],
.calculator-form input[type="date"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.calculator-form input:focus,
.calculator-form select:focus {
  outline: none;
  border-color: #102A43;
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.12);
}

.calculator-form label input[type="checkbox"] {
  margin: 0;
}

/* Result container */
.calculator-result {
  margin-top: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-size: 1.05rem;
}

.calculator-result p {
  margin: 8px 0;
}

/* Generic muted helper */
.muted {
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===============================
   Advanced options (collapsible)
================================ */

.adv-options {
  margin-top: 6px;
}

.adv-options > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #102A43;
  padding: 4px 0;
}

.adv-options[open] > summary {
  margin-bottom: 10px;
}

/* ===============================
   Result formatting helpers
   (used by calculator result blocks)
================================ */

.result-card {
  margin-top: 12px;
}

.result-label {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
}

.result-big {
  margin: 0 0 8px;
  font-size: 2.1rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
}

.result-muted {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(15, 23, 42, 0.75);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 16px;
  margin-top: 10px;
}

.result-grid > div {
  padding: 6px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.result-subblock {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

/* ===============================
   Comparison / Benchmark Tables (SEO)
================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

thead {
  background: #eaf0f6;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
}

th {
  font-weight: 600;
  color: #102A43;
}

td a {
  color: #102A43;
  font-weight: 600;
  text-decoration: none;
}

td a:hover {
  color: #178a3a;
  text-decoration: underline;
}

tbody tr:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

tbody tr strong {
  color: #1e293b;
}

caption,
.table-source {
  caption-side: bottom;
  text-align: left;
  font-size: 0.78rem;
  color: #94a3b8;
  padding: 8px 4px 0;
  font-style: italic;
}

@media (max-width: 480px) {
  table {
    font-size: 0.9rem;
  }
}

/* ===============================
   Tooltip (calculator hints)
================================ */

.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 4px;
  cursor: help;
  font-size: 0.9em;
  opacity: 0.7;
}

.tooltip:hover {
  opacity: 1;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 125%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 280px;
  padding: 8px 10px;
  background: #1e293b;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
  border-radius: 6px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 115%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
}

/* ===============================
   FAQ Section
================================ */

.faq {
  margin-top: 45px;
}

.faq h3 {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.faq p {
  margin-top: 0;
  font-size: 0.95rem;
  color: #475569;
}

/* ===============================
   Shop Pill & Chip
   Pill = calculator result — matched to a calculated number, tagged
   Chip = static shortcut — no calculation behind it, plain category link
   Variant vocabulary: primary (training/business) / money (tax/finance) / neutral
================================ */

.ext-arrow {
  font-size: 0.78em;
  opacity: 0.55;
  margin-left: 4px;
  display: inline-block;
  transition: opacity 0.12s ease;
}

a:hover .ext-arrow {
  opacity: 0.9;
}

/* ---- Pill ---- */

.shop-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px 9px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.shop-pill:hover {
  text-decoration: none !important;
}

.shop-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -6px rgba(15, 23, 42, 0.18);
}

/* ---- Pill: severity tiers only (per playbook §4) ----
   Pills are always tied to a calculated result. --primary is the
   good/default outcome; --urgent/--danger are for calculators with a
   genuine severity branch (safe/marginal/insufficient, expiring/expired,
   etc.) in their own logic — don't invent a tier a calculator doesn't
   have. No calculator on this site has severity logic yet, so only
   --primary is in active use; --urgent/--danger are built ahead of need
   so a future severity-based calculator is a one-class-name job, not a
   CSS rewrite. */

.shop-pill--primary {
  background: #eaf0f6;
  border-color: #7f9fc2;
}

.shop-pill--urgent {
  background: #fef3c7;
  border-color: #d97706;
}

.shop-pill--danger {
  background: #fef2f2;
  border-color: #dc2626;
}

.shop-pill__name {
  font-weight: 700;
  font-size: 0.92rem;
}

.shop-pill--primary .shop-pill__name { color: #102A43; }
.shop-pill--urgent .shop-pill__name { color: #92400e; }
.shop-pill--danger .shop-pill__name { color: #991b1b; }

.shop-pill__tag {
  font-size: 0.75rem;
  font-weight: 600;
}

.shop-pill--primary .shop-pill__tag { color: #1d4e78; }
.shop-pill--urgent .shop-pill__tag { color: #b45309; }
.shop-pill--danger .shop-pill__tag { color: #b91c1c; }

/* ---- Chip: one uniform style, no severity/category variants ----
   Chips are never tied to a calculated result (that's what pills are
   for) — header/footer panel, standalone CTAs, and inline sentence
   mentions all use this same --default look regardless of which offer
   or topic they point to. This was previously --primary/--money, split
   by offer category (training vs. tax) — collapsed to one variant since
   chips shouldn't vary by topic, only pills vary, and only by severity. */

.shop-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}

a.shop-chip:hover {
  text-decoration: none !important;
}

.shop-chip--default {
  background: #fff;
  border-color: #7f9fc2;
  color: #102A43;
}
.shop-chip--default:hover { background: #eaf0f6; }

/* Lock text color against the global a[href^="/go/"]:hover rule with
   !important — same fix as the text-decoration issue. Equal-specificity
   selectors here (0,2,1) mean file order decides the winner, which is
   fragile; !important makes it unconditional regardless of where either
   rule sits in the file. */
a.shop-chip--default,
a.shop-chip--default:hover { color: #102A43 !important; }

/* ---- Inline chip variant ----
   Same shop-chip identity, sized to sit inside a flowing sentence instead
   of a standalone row. Shrinks the *visible* box; expands the *invisible*
   tap target via ::before instead of padding, so it doesn't blow out
   line-height. WCAG 2.5.8 exempts links embedded in a sentence from the
   standard 24/44px target-size minimum, so this isn't a compliance
   compromise. Specificity (0,2,1) correctly beats the base .shop-chip's
   padding/min-height (0,1,0) regardless of file order — no !important
   needed here, unlike the color-lock rules above. */
a.shop-chip.shop-chip--inline {
  display: inline-block;
  position: relative;
  min-height: 0;
  padding: 1px 7px;
  margin: 0 1px;
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.3;
  vertical-align: baseline;
}

a.shop-chip.shop-chip--inline .ext-arrow {
  font-size: 0.85em;
}

/* Invisible expanded hit area — larger than the visible chip, doesn't
   affect layout. Clicking a pseudo-element dispatches with the host
   element as e.target, so existing /go/ click tracking needs no changes. */
a.shop-chip.shop-chip--inline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 14px);
  height: 34px;
  transform: translate(-50%, -50%);
}

.shop-chip-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e293b;
  margin: 18px 0 8px;
}

.shop-chip-label:first-child {
  margin-top: 0;
}

@media (max-width: 480px) {
  .shop-pill-row,
  .shop-chip-row {
    gap: 10px;
  }
}

/* ===============================
   Inline affiliate link style
   Affiliate links in body text: blue by default,
   amber on hover to signal "this goes somewhere external"
================================ */

a[href^="/go/"] {
  color: #102A43;
  font-weight: 600;
  text-decoration: none;
}

a[href^="/go/"]:hover {
  color: #178a3a;
  text-decoration: underline;
}