:root {
  --wir-ink: #102A43;
  --wir-muted: #596f82;
  --wir-teal: #1670C5;
  --wir-blue: #1670C5;
  --wir-amber: #c46e1b;
  --wir-coral: #d65f4c;
  --wir-line: #d8d5cc;
  --wir-soft: #E8E6E1;
  --wir-mint: #eef5fb;
  --wir-white: #FFFFFF;
  --wir-orange: #FF9200;
  --wir-shadow: 0 18px 48px rgba(16, 42, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #E8E6E1;
  color: var(--wir-ink);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  min-height: 720px;
  padding: 132px 20px 74px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(16, 42, 67, 0.88), rgba(16, 42, 67, 0.58), rgba(22, 112, 197, 0.12)),
    url("../DiabiticShapeImages/will-it-rub-orange-shoes-hero.png");
  background-position: center;
  background-size: cover;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: linear-gradient(90deg, #1670C5, #8fbfe8, #FF9200);
}

.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 999;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 112, 197, 0.18);
  border-radius: 40px;
  box-shadow: 0 18px 45px rgba(30, 82, 108, 0.16);
  backdrop-filter: blur(10px);
}

.navbar-container {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  padding: 0 28px;
  position: relative;
}

.logo {
  flex: 0 0 170px;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 112px;
  height: auto;
  display: block;
}

.nav-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.1vw, 24px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 88px;
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--wir-teal);
}

.hamburger,
.close-btn {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  min-height: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(310px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  color: #fff;
  max-width: 760px;
}

.kicker,
.wir-eyebrow {
  display: inline-flex;
  width: fit-content;
  color: #1670C5;
  background: #eef5fb;
  border: 1px solid rgba(22, 112, 197, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--wir-orange);
  color: #172023;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.hero-card h3 {
  margin: 14px 0 10px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.hero-card p {
  color: var(--wir-muted);
  font-size: 1rem;
}

.hero-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.hero-step {
  min-height: 96px;
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  padding: 12px;
  background: #f7f6f2;
}

.hero-step strong {
  display: block;
  color: var(--wir-teal);
  font-size: 1.45rem;
}

.hero-step span {
  display: block;
  margin-top: 7px;
  color: var(--wir-muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.band {
  padding: 66px 20px;
}

.band.white {
  background: #FFFFFF;
}

.band.soft {
  background: #E8E6E1;
}

.band.teal {
  background: #183044;
  color: #fff;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.wir-panel,
.wir-shoe-card,
.wir-profile-card,
.wir-note-box,
.wir-guide-item,
.wir-rubric-card {
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  background: var(--wir-white);
  box-shadow: var(--wir-shadow);
}

.wir-panel {
  padding: 24px;
}

.wir-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.wir-section-head h2,
.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.wir-section-head p,
.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--wir-muted);
  line-height: 1.5;
}

.band.teal .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

.wir-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  background: #f3f1ec;
}

.wir-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--wir-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wir-field select,
.wir-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--wir-ink);
  background: #FFFFFF;
}

.wir-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wir-shared-profile {
  margin: 16px 0;
}

.wir-profile-card {
  padding: 18px;
}

.wir-winner-panel {
  margin: 16px 0;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  padding: 18px;
  background: #FFFFFF;
  box-shadow: var(--wir-shadow);
}

.wir-winner-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.wir-winner-head span {
  color: var(--wir-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wir-winner-head strong {
  color: #102A43;
  font-size: 1.05rem;
}

.wir-winner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wir-winner-item {
  min-height: 78px;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  padding: 11px;
  background: #f7f6f2;
}

.wir-winner-item span {
  display: block;
  color: var(--wir-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wir-winner-item strong {
  display: block;
  margin-top: 7px;
  color: #1670C5;
  font-size: 0.92rem;
  line-height: 1.2;
}

.wir-profile-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--wir-muted);
  font-weight: 800;
}

.wir-profile-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wir-profile-legend i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.wir-profile-legend .left {
  background: #1670C5;
}

.wir-profile-legend .right {
  background: var(--wir-amber);
}

.wir-profile-bars {
  display: grid;
  gap: 12px;
}

.wir-profile-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}

.wir-profile-row > span {
  color: var(--wir-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.wir-profile-track {
  display: grid;
  gap: 5px;
}

.wir-profile-track b,
.wir-meter span {
  display: block;
  height: 9px;
  border-radius: 999px;
}

.wir-profile-track .left {
  background: linear-gradient(90deg, #1670C5, #8fbfe8);
}

.wir-profile-track .right {
  background: var(--wir-amber);
}

.wir-note {
  margin: 14px 0 0;
  color: var(--wir-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.wir-rubric-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.wir-rubric-summary div {
  min-height: 112px;
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  padding: 18px;
  background: #FFFFFF;
}

.wir-rubric-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wir-teal);
  font-size: 1.1rem;
}

.wir-rubric-summary span {
  color: var(--wir-muted);
  line-height: 1.42;
}

.wir-rubric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wir-rubric-card {
  min-height: 190px;
  padding: 18px;
}

.wir-rubric-weight {
  width: 64px;
  min-height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1670C5, #8fbfe8);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 0.9;
}

.wir-rubric-weight span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.wir-rubric-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.wir-rubric-card p {
  margin: 0;
  color: var(--wir-muted);
  line-height: 1.42;
}

.wir-shoe-card {
  overflow: hidden;
}

.wir-media {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff, #f0eee8);
}

.wir-shoe-photo {
  width: min(var(--shoe-image-scale, 92%), 420px);
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(16, 42, 67, 0.18));
}

.wir-shoe-art {
  position: relative;
  width: min(78%, 320px);
  height: 132px;
}

.wir-shoe-art span {
  position: absolute;
  left: 44%;
  top: 47%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2.6vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
}

.wir-shoe-upper {
  position: absolute;
  left: 28px;
  right: 34px;
  top: 24px;
  height: 72px;
  border-radius: 58px 86px 36px 34px;
  transform: skewX(-10deg);
}

.wir-shoe-heel {
  position: absolute;
  left: 18px;
  top: 56px;
  width: 70px;
  height: 52px;
  border-radius: 26px 16px 20px 28px;
}

.wir-shoe-sole {
  position: absolute;
  left: 7px;
  right: 8px;
  bottom: 14px;
  height: 32px;
  border-radius: 8px 8px 24px 30px;
  background: #fff;
  box-shadow: inset 0 -9px 0 rgba(23, 48, 54, 0.12);
}

.wir-shoe-coral .wir-shoe-upper,
.wir-shoe-coral .wir-shoe-heel {
  background: linear-gradient(135deg, #d65f4c, #f39b6d);
}

.wir-shoe-blue .wir-shoe-upper,
.wir-shoe-blue .wir-shoe-heel {
  background: linear-gradient(135deg, #1670C5, #8fbfe8);
}

.wir-shoe-green .wir-shoe-upper,
.wir-shoe-green .wir-shoe-heel {
  background: linear-gradient(135deg, #315d87, #9bb8d4);
}

.wir-shoe-orange .wir-shoe-upper,
.wir-shoe-orange .wir-shoe-heel {
  background: linear-gradient(135deg, #c46e1b, #f2ad4d);
}

.wir-shoe-teal .wir-shoe-upper,
.wir-shoe-teal .wir-shoe-heel {
  background: linear-gradient(135deg, #1670C5, #8fbfe8);
}

.wir-shoe-violet .wir-shoe-upper,
.wir-shoe-violet .wir-shoe-heel {
  background: linear-gradient(135deg, #6557a6, #9a86d8);
}

.wir-card-body {
  padding: 20px;
}

.wir-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.wir-category,
.wir-type {
  display: inline-flex;
  margin: 0 5px 6px 0;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.wir-category {
  color: #102A43;
  background: #eef5fb;
}

.wir-type {
  color: #6a4210;
  background: #fff0dc;
}

.wir-score {
  width: 74px;
  min-width: 74px;
  min-height: 74px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1670C5, #8fbfe8);
  text-align: center;
}

.wir-score strong {
  display: block;
  font-size: 1.8rem;
  line-height: 0.9;
}

.wir-score span {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wir-shoe-card h3 {
  margin: 10px 0 8px;
  font-size: 1.48rem;
  line-height: 1.15;
}

.wir-shoe-card p {
  margin: 0;
  color: var(--wir-muted);
  line-height: 1.48;
}

.wir-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.wir-badges span {
  border: 1px solid var(--wir-line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--wir-muted);
  background: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
}

.wir-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.wir-spec {
  min-height: 66px;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  padding: 9px 10px;
  background: #f7f6f2;
}

.wir-spec span {
  display: block;
  color: var(--wir-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wir-spec strong {
  display: block;
  margin-top: 5px;
  color: var(--wir-ink);
  font-size: 0.9rem;
  line-height: 1.2;
}

.wir-metrics {
  display: grid;
  gap: 12px;
}

.wir-metric > div:first-child,
.wir-risk {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.wir-metric span,
.wir-risk span {
  color: var(--wir-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.wir-metric strong,
.wir-risk strong {
  color: var(--wir-ink);
}

.wir-meter {
  height: 9px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe8df;
}

.wir-meter span {
  background: linear-gradient(90deg, #1670C5, #8fbfe8);
}

.wir-risk .wir-meter span {
  background: linear-gradient(90deg, #f2c15d, var(--wir-coral));
}

.wir-metric small {
  display: block;
  margin-top: 4px;
  color: #738286;
  font-size: 0.78rem;
}

.wir-risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.wir-risk {
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  padding: 10px;
  background: var(--wir-soft);
}

.wir-risk .wir-meter {
  grid-column: 1 / -1;
}

.wir-watch {
  margin-top: 14px;
  border-left: 4px solid var(--wir-orange);
  padding: 10px 12px;
  color: #44565c;
  background: #fff8ef;
  line-height: 1.4;
}

.wir-watch strong {
  color: #74460d;
}

.wir-score-breakdown {
  margin-top: 14px;
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  padding: 12px;
  background: #FFFFFF;
}

.wir-score-breakdown-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.wir-score-breakdown-head strong {
  color: var(--wir-ink);
}

.wir-score-breakdown-head span {
  color: var(--wir-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.wir-score-parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wir-score-part {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: center;
  border: 1px solid #dcebf4;
  border-radius: 8px;
  padding: 8px;
  background: #FFFFFF;
}

.wir-score-part span {
  color: var(--wir-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.18;
}

.wir-score-part strong {
  color: var(--wir-teal);
}

.wir-score-part small {
  grid-column: 1 / -1;
  color: #7a8a8f;
  font-size: 0.72rem;
  font-weight: 800;
}

.wir-review-pattern {
  margin-top: 14px;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  padding: 12px;
  background: #f7f6f2;
  line-height: 1.42;
}

.wir-review-pattern strong,
.wir-source-links > span {
  display: block;
  margin-bottom: 6px;
  color: var(--wir-ink);
  font-weight: 900;
}

.wir-review-pattern span {
  color: var(--wir-muted);
}

.wir-source-links {
  margin-top: 14px;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  padding: 12px;
  background: #FFFFFF;
}

.wir-source-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wir-source-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  color: #1670C5;
  background: #eef5fb;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.wir-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.wir-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: #1670C5;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.wir-actions a + a {
  color: var(--wir-ink);
  background: #f7f6f2;
  border: 1px solid var(--wir-line);
}

.wir-actions a.wir-amazon-link {
  color: var(--wir-ink);
  background: #FF9200;
  border: 1px solid #e07c00;
}

.wir-actions a.wir-amazon-link:hover {
  background: #f28a00;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--wir-line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--wir-muted);
  background: #FFFFFF;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  border-color: var(--wir-teal);
  background: #1670C5;
}

.wir-search-row {
  margin-bottom: 18px;
}

.wir-search-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--wir-line);
  border-radius: 8px;
  padding: 12px 14px;
}

.wir-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wir-empty {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--wir-muted);
}

.wir-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wir-guide-item {
  padding: 20px;
}

.wir-guide-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wir-teal);
  font-size: 1.05rem;
}

.wir-guide-item span {
  color: var(--wir-muted);
  line-height: 1.45;
}

.wir-note-box {
  margin-top: 20px;
  padding: 18px;
  color: var(--wir-muted);
  line-height: 1.5;
}

.band.teal .wir-note-box {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer {
  padding: 28px 20px;
  color: #dbeceb;
  background: #142b42;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a {
  color: #fff;
}

@media (max-width: 980px) {
  .navbar-container {
    justify-content: space-between;
    min-height: 78px;
  }

  .hamburger {
    display: block;
    border: 0;
    background: transparent;
    color: #FF9200;
    font-size: 2rem;
    cursor: pointer;
  }

  .close-btn {
    display: block;
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    min-height: auto;
    padding: 14px 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }

  .wir-section-head {
    display: block;
  }

  .wir-section-head p {
    margin-top: 12px;
  }

  .wir-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wir-rubric-grid,
  .wir-rubric-summary,
  .wir-winner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wir-winner-head {
    display: block;
  }

  .wir-winner-head strong {
    display: block;
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 118px 16px 52px;
  }

  .navbar {
    top: 18px;
  }

  .logo {
    flex-basis: 128px;
  }

  .logo img {
    width: 92px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .hero-steps,
  .wir-browse-grid,
  .wir-guide,
  .wir-rubric-grid,
  .wir-rubric-summary,
  .wir-specs,
  .wir-score-parts {
    grid-template-columns: 1fr;
  }

  .wir-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .wir-field label {
    font-size: 0.68rem;
  }

  .wir-field select {
    min-height: 42px;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .wir-compare-grid {
    position: relative;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wir-compare-grid::before {
    content: "vs";
    position: absolute;
    left: 50%;
    top: 84px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 4px solid #E8E6E1;
    border-radius: 999px;
    color: #fff;
    background: #0b4665;
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
    transform: translateX(-50%);
  }

  .wir-compare-grid .wir-shoe-card-compact {
    min-width: 0;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-media {
    min-height: 120px;
    padding: 8px;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-shoe-photo {
    width: min(var(--shoe-image-scale, 92%), 170px);
    max-height: 104px;
    filter: drop-shadow(0 10px 12px rgba(16, 42, 67, 0.14));
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-card-body {
    padding: 10px;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-card-top {
    display: block;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-category {
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-type,
  .wir-compare-grid .wir-shoe-card-compact p,
  .wir-compare-grid .wir-shoe-card-compact .wir-metrics,
  .wir-compare-grid .wir-shoe-card-compact .wir-risk-grid,
  .wir-compare-grid .wir-shoe-card-compact .wir-watch,
  .wir-compare-grid .wir-shoe-card-compact .wir-actions {
    display: none;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-score {
    width: 54px;
    min-width: 54px;
    min-height: 54px;
    margin-top: 8px;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-score strong {
    font-size: 1.36rem;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-score span {
    font-size: 0.52rem;
  }

  .wir-compare-grid .wir-shoe-card-compact h3 {
    min-height: 42px;
    margin: 8px 0 0;
    font-size: 0.96rem;
    line-height: 1.18;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-badges {
    margin: 8px 0 0;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-badges span {
    padding: 5px 7px;
    font-size: 0.62rem;
  }

  .wir-compare-grid .wir-shoe-card-compact .wir-badges span:nth-child(n+2) {
    display: none;
  }

  .wir-winner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wir-winner-item {
    min-height: 70px;
    padding: 9px;
  }

  .wir-winner-item span {
    font-size: 0.68rem;
  }

  .wir-winner-item strong {
    font-size: 0.82rem;
  }

  .wir-panel {
    padding: 18px;
  }

  .wir-risk-grid {
    grid-template-columns: 1fr;
  }

  .wir-profile-row {
    grid-template-columns: 62px 1fr;
  }

  .footer .wrap {
    display: block;
  }
}
