/* PetTechHQ stylesheet
   Palette: Trust Teal
   ink     #1A1D21  text and headings
   paper   #FBFAF7  page background
   teal    #0F766E  primary brand, trust and links
   coral   #FF6B5C  accent: score badges, buy buttons, key CTAs
   sand    #F2EDE4  panels
   amber   #B45309  reserved for flags and warnings
*/

:root {
  --ink: #1A1D21;
  --paper: #FBFAF7;
  --teal: #0F766E;
  --teal-dark: #0B5650;
  --coral: #FF6B5C;
  --coral-dark: #E5503F;
  --sand: #F2EDE4;
  --amber: #B45309;
  --line: #D9D3C7;
  --muted: #5C5F66;
  --display: "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  z-index: 20;
  border-radius: 4px;
}

/* Header */
.site-header {
  border-bottom: 2px solid var(--teal);
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.brand .brand-hq { color: var(--teal); }
.primary-nav > ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
.primary-nav a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle-bar {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

/* Review head */
.review-head { padding-top: 40px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 8px;
}
.review-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  margin: 0;
}
.updated {
  color: var(--muted);
  font-size: 15px;
  margin: 10px 0 0;
}

/* Verdict card, the signature element */
.verdict-card {
  display: flex;
  gap: 28px;
  margin: 32px 0;
  padding: 28px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.verdict-score {
  flex: 0 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.score-number {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--teal);
}
.score-out { color: var(--muted); font-size: 16px; }
.score-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
}
.verdict-body { flex: 1 1 auto; }
.verdict-text {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.verdict-sources {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
}
.buy-button {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 107, 92, 0.25);
}
.buy-button:hover { background: var(--coral-dark); color: #fff; }
.aff-note {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 0;
}

/* Pros and cons */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.proscons h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 12px;
}
.proscons ul {
  margin: 0;
  padding-left: 20px;
}
.proscons li { margin-bottom: 8px; }

/* Sources */
.sources { margin: 48px 0; }
.sources h2,
.faq h2 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 10px;
}
.sources-intro { color: var(--muted); margin: 0 0 24px; }
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.source-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--amber);
  margin: 0 0 4px;
}
.source-name {
  font-size: 16px;
  margin: 0 0 8px;
}
.source-take {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 14px;
}
.source-card a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.source-card a:hover { text-decoration: underline; }

/* FAQ */
.faq { margin: 48px 0 64px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq-q {
  font-size: 19px;
  margin: 0 0 6px;
}
.faq-a {
  margin: 0;
  color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--ink);
  padding: 36px 0;
  margin-top: 40px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  justify-content: center;
}
.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.footer-nav a:hover { color: var(--coral); }
.footer-disclosure {
  text-align: center;
  font-size: 14px;
  color: #B8BCC2;
  max-width: 560px;
  margin: 0 auto 18px;
}
.copyright {
  text-align: center;
  font-size: 14px;
  color: #B8BCC2;
  margin: 0;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none;
    width: 100%;
  }
  .primary-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-top: 12px;
  }
  .primary-nav li {
    border-top: 1px solid var(--line);
  }
  .primary-nav a {
    display: block;
    padding: 12px 0;
  }
  .review-head h1 { font-size: 30px; }
  .verdict-card { flex-direction: column; gap: 20px; }
  .verdict-score {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 18px;
    flex-direction: row;
    gap: 10px;
    min-width: 0;
  }
  .proscons { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Scoring breakdown block */
.scoring {
  margin: 48px 0;
}
.scoring h2 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 10px;
}
.scoring-intro {
  color: var(--muted);
  margin: 0 0 24px;
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.score-table caption {
  text-align: left;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
}
.score-table th,
.score-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.score-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}
.score-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.score-table .crit {
  font-weight: 600;
}
.score-table .basis {
  color: var(--muted);
  font-size: 15px;
}
.score-bar-track {
  display: block;
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}
.score-bar-fill {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
}
.score-total-row td {
  border-top: 2px solid var(--ink);
  border-bottom: 0;
  font-weight: 600;
  font-size: 18px;
  padding-top: 16px;
}
.score-total-row .num {
  color: var(--teal);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.how-we-score {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--sand);
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
}
.flag-note {
  font-size: 14px;
  color: var(--amber);
  margin-top: 10px;
}

@media (max-width: 720px) {
  .score-table .basis { display: none; }
  .score-table th:last-child,
  .score-table td:last-child { display: none; }
}

/* Spec table, its own style so values never hide */
.specs { margin: 48px 0; }
.specs h2 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 16px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--ink);
}
.spec-table td { color: var(--muted); }

/* Price line on the verdict card */
.price-line {
  margin: 0 0 14px;
  font-size: 17px;
}
.price-line strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.price-checked {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Comparison ranking list */
.compare { padding-top: 0; }
.rank-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  counter-reset: rank;
}
.rank-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rank-badge {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-body { flex: 1 1 auto; }
.rank-name {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 6px;
}
.rank-verdict { margin: 0 0 8px; }
.rank-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}
.rank-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.text-link {
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.buy-button.small {
  padding: 9px 16px;
  font-size: 15px;
}
.rank-score {
  flex: 0 0 auto;
  text-align: center;
  min-width: 70px;
}
.rank-score .score-number {
  font-size: 34px;
}

@media (max-width: 720px) {
  .rank-item { flex-wrap: wrap; }
  .rank-score { order: -1; }
  .spec-table th { width: 45%; }
}

/* Homepage */
.hero {
  padding: 56px 20px 32px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(15, 118, 110, 0));
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--teal); }
.hero-lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 620px;
  color: var(--ink);
  margin: 0;
}
.home-section { margin: 48px auto; }
.home-h {
  font-family: var(--display);
  font-size: 26px;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--coral);
  display: inline-block;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.product-card,
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
}
.product-card:hover,
.cat-card:hover {
  border-color: var(--teal);
  color: var(--ink);
}
.card-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  color: var(--teal);
  line-height: 1;
}
.card-score small { font-size: 16px; color: var(--muted); }
.card-cat {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.card-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}
.card-best { font-size: 14px; color: var(--muted); }
.cat-card-label {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}
.cat-card-blurb { font-size: 15px; color: var(--muted); }
.cat-card-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.method-strip p {
  max-width: 680px;
  margin: 0 0 14px;
}

@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 18px; }
}

/* Mega menu */
.has-mega { position: relative; }
.mega-toggle {
  background: none;
  border: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.mega-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
}
.mega-toggle[aria-expanded="true"] { color: var(--teal); }
.mega {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 18px);
  width: max-content;
  max-width: calc(100vw - 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(26, 29, 33, 0.12);
  z-index: 30;
}
.mega.open { display: block; }
.mega-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 26px 28px;
  max-width: none;
  width: auto;
  margin: 0;
}
.mega-col {
  flex: 0 0 auto;
  width: 170px;
  min-width: 170px;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; display: block; }
.mega-col li { margin-bottom: 6px; }
.mega-group {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 12px;
}
.mega-col a,
.mega-soon {
  display: block;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
}
.mega-col a:hover { background: var(--sand); }
.mega-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.mega-blurb {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.mega-soon { cursor: default; }
.mega-soon .mega-label { color: var(--muted); }
.mega-tag {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: var(--sand);
  padding: 2px 7px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .has-mega { position: static; }
  /* On mobile the hamburger opens the whole menu in one tap, so the
     Categories toggle is not needed and the category list shows directly. */
  .mega-toggle { display: none; }
  .mega,
  .mega.open {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }
  .mega-inner {
    flex-direction: column;
    gap: 16px;
    padding: 6px 0 12px;
  }
  .mega-col { width: 100%; }
}

/* Content pages (method, about, disclosure, privacy, contact) */
.content { padding-top: 40px; max-width: 740px; }
.content h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.content .lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
}
.content h2 {
  font-family: var(--display);
  font-size: 24px;
  margin: 36px 0 12px;
}
.content h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.content p { margin: 0 0 16px; }
.content ul { margin: 0 0 16px; padding-left: 22px; }
.content li { margin-bottom: 8px; }
.content .note {
  padding: 16px 18px;
  background: var(--sand);
  border-radius: 8px;
  font-size: 15px;
  margin: 0 0 24px;
}
.content .updated-line {
  font-size: 14px;
  color: var(--muted);
  margin-top: 32px;
}
.confirm {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 16px;
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 15px;
}
.method-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 8px 0 24px;
}
.method-table th,
.method-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.method-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}
.method-table .num { text-align: right; white-space: nowrap; }

/* Compare link and related products on reviews */
.compare-link {
  margin: 18px 0 0;
  font-weight: 600;
}
.compare-link a { color: var(--teal); text-decoration: none; }
.compare-link a:hover { text-decoration: underline; }

.related { margin-top: 44px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  background: var(--paper);
  transition: border-color 0.15s ease;
}
.related-card:hover { border-color: var(--teal); }
.related-score {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  color: var(--teal);
}
.related-score small { font-size: 14px; color: var(--muted); font-weight: 400; }
.related-name {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 6px 0 4px;
}
.related-best { display: block; font-size: 13px; color: var(--muted); }
.related-all { font-weight: 600; }
.related-all a { color: var(--teal); text-decoration: none; }
.related-all a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* 404 page */
.error-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.error-page h1 {
  font-family: var(--display);
  font-size: 64px;
  margin: 0;
  color: var(--teal);
}
.error-page h2 {
  font-family: var(--display);
  font-size: 26px;
  margin: 8px 0 16px;
}
.error-page p { color: var(--muted); margin: 0 0 28px; }
.error-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.error-cats a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.error-cats a:hover { border-color: var(--teal); color: var(--teal); }

/* Sub-ranking guide cross-links on comparison pages */
.guides-block {
  margin-top: 40px;
  padding: 24px;
  background: var(--sand);
  border-radius: 12px;
}
.guides-block h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 6px;
}
.guides-block p { color: var(--muted); margin: 0 0 16px; }
.guides-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.guides-list li { margin: 0; }
.guides-list a {
  display: block;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.guides-list a:hover { border-color: var(--teal); color: var(--teal); }

@media (max-width: 720px) {
  .guides-list { grid-template-columns: 1fr; }
}

/* Company ownership line on contact page */
.owner-line {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--ink);
  border-top: 2px solid var(--teal);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.cookie-consent-text {
  margin: 0;
  font-size: 14px;
  color: #D6D9DE;
  line-height: 1.5;
  max-width: 720px;
}
.cookie-consent-text a { color: #fff; text-decoration: underline; }
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.consent-btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
}
.consent-decline {
  background: transparent;
  color: #fff;
  border: 1px solid #4A4E55;
}
.consent-decline:hover { border-color: #fff; }
.consent-accept {
  background: var(--coral);
  color: #fff;
}
.consent-accept:hover { background: var(--coral-dark); }

@media (max-width: 720px) {
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-consent-actions { justify-content: flex-end; }
}

/* Product images and branded placeholders */
.product-image {
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; display: block; }

.product-image-card { width: 96px; height: 96px; }
.product-image-hero { width: 100%; max-width: 320px; height: 240px; margin-bottom: 16px; }

/* Branded placeholder shown until a real photo is added */
.product-image.is-placeholder {
  position: relative;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  text-align: center;
  padding: 10px;
}
.product-image.is-placeholder .placeholder-brand {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.product-image.is-placeholder .placeholder-hq { color: #FF8A7E; }
.product-image.is-placeholder .placeholder-soon {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.product-image-card.is-placeholder .placeholder-brand { font-size: 15px; }
.product-image-card.is-placeholder .placeholder-soon { font-size: 9px; }
.product-image-hero.is-placeholder .placeholder-brand { font-size: 34px; }
.product-image-hero.is-placeholder .placeholder-soon { font-size: 13px; }

/* Make the comparison rows align the new image neatly */
.rank-item { align-items: center; }

@media (max-width: 720px) {
  .product-image-card { width: 64px; height: 64px; }
  .product-image-hero { max-width: 100%; height: 200px; }
}

/* Linked product titles and images in rankings keep their look */
.rank-name a {
  color: var(--ink);
  text-decoration: none;
}
.rank-name a:hover { color: var(--teal); }
.rank-image-link {
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
}

/* Breadcrumbs */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 8px; color: var(--line); }
.crumb-current { color: var(--muted); }

/* Related category cross-link on reviews */
.cross-category {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.cross-category a { color: var(--teal); text-decoration: none; font-weight: 600; }
.cross-category a:hover { text-decoration: underline; }
