
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: optional;  
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: optional;  
  src: url('fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: optional;   
  src: url('fonts/oswald-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 103.33%;
  ascent-override: 93.76%;
  descent-override: 23.34%;
  line-gap-override: 0%;
}

:root {
  
   --primary:#2C3E6B;
  --accent: #D96A6A;
  --highlight: #26826E;
  
  --link: #227764;
  --accent-light: #DD8F8F;
  --page: #F4F6FA;    
  --bg: #FDFDFF;      
  --card: #ffffff;
  --border: #DCE1EC;
  --text: #161B26;  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --muted: #575E6E;

  --primary-light: #6E7EA4;   
  --primary-mid: #3B5490;     
  --primary-dark: #1B2847;    
  --marker: #C7D0E2;          
  --frame: #D96A6A;           
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.25s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;

  --blue: #2E9E85;
  --magenta: #D96A6A;
  --amber: #D9A44F;

  --grad-nav: linear-gradient(90deg, #2E9E85 0%, #2C3E6B 52%, #1B2847 100%);
  --grad-hero: linear-gradient(135deg, #3B5490 0%, #1B2847 100%);
  --grad-cta: linear-gradient(135deg, #CF4343 0%, #B65945 100%);

  --chip-bg: color-mix(in srgb, var(--primary-dark) 90%, transparent);
}

[hidden] {
  display: none !important;
}

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

html {
  
  background: var(--page);
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
}

a, a:hover {
  text-decoration: none;
}

main p a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
main p a:hover,
main p a:focus-visible {
  text-decoration: underline;
}

h3 { font-size: 17px; }

.sec-title { font-size: 17px; margin: 17px 0; }

input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  accent-color: var(--primary);
}

@keyframes fill {
  from { height: 10px; }
  to { height: 100%; }
}

.affiliate-strip-text {
  flex-basis: 100%;
  display: grid;
  grid-template-rows: 0fr;
  margin: 0 auto;
  padding: 0 12px;
  opacity: 0;
  transition: grid-template-rows 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.affiliate-strip-text > * {
  overflow: hidden;
  min-height: 0;
}

.affiliate-strip-text.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.affiliate-strip-text p {
  margin: 0;
  padding: 0 0 6px;
  line-height: 1.4;
  color: #667b82;
}

.affiliate-strip-text strong {
  color: #3f535a;
}

.affiliate-strip-text a {
  color: var(--primary-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.affiliate-strip-text a:hover {
  color: var(--primary-mid);
}

header {
  width: 100%;
  position: relative;
  
  padding-top: 10px;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 440px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(44, 62, 107, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 62, 107, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f1f4fa 42%, rgba(244, 246, 250, 0) 100%);
  background-size: 22px 22px, 22px 22px, 100% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 100%);
}

@media (max-width: 679px) {
  body::before {
    height: 320px;
  }
}

.header-container {
  max-width: 1400px;
  margin: 0 auto 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 10px;
}

.site-logo { grid-column: 1; grid-row: 1; justify-self: start; }
.hamburgerbtns { grid-column: 2; grid-row: 1; justify-self: end; }
.searchbar {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
}
.blog-stories { grid-column: 1 / -1; grid-row: 3; }

.desktop-nav {
  display: none; 
}
.italic { font-style: italic; }

@media (min-width: 500px) {
  .header-container {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
   
  }
  .site-logo { grid-column: 1; grid-row: 1; }
  .searchbar { grid-column: 2; grid-row: 1; }
  .hamburgerbtns { grid-column: 3; grid-row: 1; }
  .blog-stories { grid-column: 1 / -1; grid-row: 2; }
}

@media (min-width: 1024px) {
  .header-container {
    grid-template-columns: auto 1.2fr 2fr; 
    grid-template-rows: auto auto; 
    gap: 10px 20px;
    align-items: center;
  }
  .site-logo {
    grid-column: 1;
    grid-row: 1 / 3; 
  }
  .searchbar {
    grid-column: 2;
    grid-row: 2;
  }
  .blog-stories {
    grid-column: 3;
    grid-row: 2;
  }
  .desktop-nav {
    grid-column: 2 / 4; 
    grid-row: 1;
  }

  .hamburgerbtns {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-self: stretch; 
  }

  .desktop-nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around; 
    align-items: center;
    width: 100%; 
  }

  .desktop-nav a {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: bold;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position:relative;
    z-index: 1;
     padding:0 5px;
  }

  .desktop-nav a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 10px;
    content: ' ';
    color: transparent;
    z-index: -1;
    background: #f3ddce;
  }
  .desktop-nav a:hover:after {
    animation: fill 0.4s forwards;
  }
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  color: inherit;
  text-decoration: none;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.site-logo:visited,
.site-logo:hover,
.site-logo:active,
.site-logo:focus,
.site-logo:focus-visible {
  color: inherit;
  text-decoration: none;
}

.site-logo:focus,
.site-logo:focus-visible {
  outline: none;
}

.site-logo span {
 
  font-style: italic;
  font-size: 14px;
  white-space: pre;
 
}
.site-logo .tagline {
  position: relative;
  z-index: 1;
  
  order: 2;
  margin: 8px 0 0;
  padding: 0 5px;
  font-style: italic;
  letter-spacing: 0.02em;
  
  color: color-mix(in srgb, var(--primary-dark) 80%, #fff);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 -1px 0 rgba(22, 27, 38, 0.20);
  transition: color .25s ease, text-shadow .25s ease;
}

.site-logo:focus-visible .tagline {
  color: var(--primary-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .site-logo .tagline { transition: none; }
}
.searchbar {
  position: relative;
  
  background: var(--amber);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(120, 92, 47, 0.14);
  border: 1px solid color-mix(in srgb, var(--amber) 70%, #6b4d17);
  justify-self: stretch;
}

.searchbar input {
  padding: 8px;
  border: 1px solid var(--amber);
  margin: 7px;
  font-size: 16px;
  background-color: var(--bg);
  outline: none;
  width: calc(100% - 14px);
  border-radius: 30px;
  box-shadow: 0 2px 7px rgb(44 38 30 / 10%);
}

.searchbar input:focus {
  box-shadow:
    0 2px 7px rgba(87, 67, 33, 0.10) inset,
    0 0 0 2px rgba(226, 163, 33, 0.25);
}

header.search-open {
  overflow: visible;
  z-index: 200;
}

.search-results {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: min(62vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(27, 40, 71, 0.18);
}

.search-results[hidden] { display: none; }

.search-results li { margin: 0; }

.search-hit {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
}

.search-hit:hover,
.search-hit:focus-visible,
.search-hit.is-active {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  outline: none;
}

.search-hit-title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-dark);
}

.search-hit-where {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.search-hit-text {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.search-hit mark {
  background: color-mix(in srgb, var(--amber) 45%, transparent);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

.search-empty {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--muted);
}

.hamburger {
  display: inline-block;
  width: 40px;
  height: 24px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  transition: transform var(--transition-normal);
}

.hamburger span {
  background: #252525;
  height: 4px;
  border-radius: 2px;
  position: absolute;
  right: 0;
  transition: all var(--transition-normal) cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger span:nth-of-type(1){ background: var(--primary); }
.hamburger span:nth-of-type(2){ background: var(--frame); }
.hamburger span:nth-child(1) { top: 0; width: 100%; }
.hamburger span:nth-child(2) { top: 10px; width: 75%; }
.hamburger span:nth-child(3) { top: 20px; width: 50%; }

@media (hover: hover) and (pointer: fine) {
  .hamburger:not(.open):hover span { transition: width 0.4s; }
  .hamburger:not(.open):hover span:nth-child(2) { width: 90%; }
  .hamburger:not(.open):hover span:nth-child(3) { width: 80%; }
}

.hamburger.open span { width: 100%; }

.hamburger.open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
  background: var(--primary);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  right: 20px;
}

.hamburger.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
  
  background: var(--frame);
}

#site-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  background: var(--page);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

#price-value { padding:0 5px; color: #fff; background: var(--primary); font-weight: bold; }

.view-btn {
  position: static;
  height: auto;
  padding: 12px 30px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.view-btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  #site-nav { width: 75%; }
  .filter-overlay { width: 85%; }
}

html.menu-locked,
html.menu-locked body {
  overflow: hidden;
}

#site-nav.open {
  transform: translateX(0);
}

#site-nav ul {
  list-style: none;
  text-align: left;
  
  align-self: stretch;
  padding: 0 28px;
  margin-top: 100px;
}

#site-nav ul li { margin: 30px 0; }

#site-nav ul li a {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
  transition: all var(--transition-normal);
}

#site-nav ul li a:hover { color: var(--frame); }

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

.jump-nav ol {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 12px;
  color: #e8f4f6;
  list-style: none;
  counter-reset: hp-nav-step;
  background: var(--grad-nav);
}

.jump-nav .hp-nav-list li {
  counter-increment: hp-nav-step;
}

.jump-nav .hp-nav-list li a {
  color: #f2f8f9;
  text-decoration: none;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  position: relative;
  isolation: isolate;
  justify-content: center;
}

.jump-nav .hp-nav-list li a::before {
  content: counter(hp-nav-step) ".";
  color: #f2f8f9;
  font-weight: 700;
  line-height: 1;
  
  min-width: 1em;
  text-align: center;
  padding: 5px 4px;
  border-radius: 999px;
  transition: background 0.32s ease, color 0.32s ease;
  
  position: relative;
  z-index: 1;
}

.jump-nav .hp-nav-list li a:hover::before,
.jump-nav .hp-nav-list li a:focus-visible::before {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.jump-nav .hp-nav-label {
  padding: 0;
  border-radius: 999px;
  background: transparent;
}

@media (min-width: 669px) {
  .jump-nav .hp-nav-label {
    
    padding: 2px 4px;
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .jump-nav .hp-nav-list li a {
    gap: 0;
  }

  .jump-nav .hp-nav-list li a:hover .hp-nav-label,
  .jump-nav .hp-nav-list li a:focus-visible .hp-nav-label {
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jump-nav .hp-nav-label { transition: none; }
}

.blog-stories {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px;
  width: 100%;
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  background: #eaeaea;
  border: 2px solid  var(--frame);
}

.blog-heading-short {
  display: none;
}

@media (max-width: 480px) {
  .blog-heading-long {
    display: none;
  }

  .blog-heading-short {
    display: inline;
  }
}

.blog-heading {
  font-weight: bold;
  color: var(--primary-mid);
  white-space: nowrap;
  
  line-height: var(--story-h);
  align-self: center;
}

.blog-stories {
  
  --story-h: 1.6rem;
}

.blog-stories .carousel-container {
  flex-grow: 1;
  height: var(--story-h);
  overflow: hidden;
  position: relative;
}

.carousel-container .carousel {
  list-style: none;
  transition: transform 0.6s ease-in-out;
}

.carousel a {
  color: var(--primary-mid);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-wrapper {
  display: block;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
}

.content-wrapper > h1 {
  margin-top: 20px;
}

.jump-nav {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.buying-guide {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  
  position: relative;
  margin-bottom: 34px;
  padding: 18px clamp(14px, 3vw, 15px);
  
  background:
    linear-gradient(180deg,
      rgba(248, 251, 252, 0) 0px,
      #f8fbfc 240px,
      #edf2f4 100%);
  border-top: 1px solid #d7e0e3;
}

.guide-lead-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 4.6vw, 2.35rem);
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: 0.01em;
}

.guide-lead-layout {
  display: grid;
  gap: 14px;
}

.guide-lead-main {
  
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(31, 42, 40, 0.06);
  position: relative;
  overflow: hidden;
  color: var(--text);
}

.guide-lead-main > * { position: relative; }

.guide-lead-main p {
  margin: 0 0 12px;
  line-height: 1.66;
  font-size: 1rem;
}

.guide-lead-main p:last-child {
  margin-bottom: 0;
}

.guide-site-link {
  color: var(--primary-mid);
  font-weight: 700;
  text-decoration-color: rgba(29, 110, 123, 0.4);
  text-underline-offset: 2px;
}

.guide-team {
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.guide-team-intro {
  margin: 18px 0 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(91, 143, 156, 0.35);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.guide-team-card {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.guide-team-photo {
  
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
}

.guide-team-card figcaption {
  display: grid;
  gap: 3px;
}

.guide-team-card figcaption strong {
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.guide-team-card figcaption span {
  font-size: 0.86rem;
  line-height: 1.45;
}

.guide-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px auto 2px;
  width: min(100%, 760px);
}

.guide-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 5px 12px rgba(23, 40, 46, 0.24);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.guide-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}

.guide-cta-tech {
  background: var(--grad-cta);
  color: #fff;
}

.guide-cta-brand {
  background: var(--grad-hero);
  color: #fff;
}

.guide-cta-tech::before {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 100%
  );
}

.guide-cta-btn:hover,
.guide-cta-btn:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

@media (min-width: 900px) {
  .buying-guide {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .guide-lead-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .guide-lead-title { text-align: center; }
  .guide-lead-main { padding: 20px 24px; }
  
  .guide-cta-row { flex-direction: row; gap: 12px; justify-content: center; }
  .guide-cta-btn { width: auto; min-width: 280px; }

  .guide-team {
    gap: 8px;
  }

  .guide-team-card {
    max-width: 380px;
  }

  .guide-team-photo {
    width: 40px;
    height: 40px;
  }

  .guide-team-intro {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .guide-lead-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

.top-layout-group {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 40px;
}

.sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px -3.6px 8.2px;
}

.filter-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 5px 0;
  font-size: 1.1rem;
  color: var(--text);
  position: relative;
  margin-bottom: 10px;
}

.filter-group .arrow {
  font-size: 0.8rem;
  transition: transform var(--transition-normal);
}

.filter-group h3.active .arrow {
  transform: rotate(180deg);
}

.filter-group ul {
  list-style: none;
  max-height: 500px;
  opacity: 1;
  transition: all var(--transition-normal);
}

.filter-group h3 .arrow.up {
  transform: rotate(180deg);
}

.filter-group li {
  margin-bottom: 10px;
}

.filter-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
}

.filter-group input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
}

.filter-bar-mobile {
  display: none;
  padding: 0;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background var(--transition-slow);
}

.filter-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

.filter-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100vh;
  background: #f5f5f5;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  transition: left var(--transition-slow);
  z-index: 999;
  overflow-y: auto;
  padding: 60px 20px 20px;
}

.filter-overlay .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-mid);
}

.filter-overlay .filter-group {
  margin-bottom: 30px;
}

.filter-overlay .filter-group h3 {
  font-size: 18px;
  color: var(--primary-mid);
  margin-bottom: 15px;
}

.filter-overlay .filter-group label {
  font-size: 15px;
}

.filter-overlay.open {
  left: 0;
}

.carousel {
  list-style: none;
  animation: slide 16.5s infinite;
}

.carousel li {
  height: var(--story-h);
  line-height: var(--story-h);
}

@keyframes slide {
  0%,     30.30% { transform: translateY(0); }
  33.33%, 63.64% { transform: translateY(calc(-1 * var(--story-h))); }
  66.67%, 96.97% { transform: translateY(calc(-2 * var(--story-h))); }
  100%           { transform: translateY(calc(-3 * var(--story-h))); }
}

@media (prefers-reduced-motion: reduce) {
  .carousel { animation: none; }
}

.carousel-container:hover .carousel {
  animation-play-state: paused;
}

.models-container {
  width: 100%;
  background: var(--page);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  counter-reset: shoe-counter; 
}

.models-filter-table {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: visible;
  margin-bottom: 30px;
}

.brands-page {
  padding-bottom: 40px;
}
.no-table-results {
  margin: 0;
  padding: 16px;
  color: var(--accent);
  font-weight: 700;
}

.models-filters {
  background: var(--card);
  padding: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.models-filters > br {
  display: none;
}

.models-filters > p {
  margin: 0;
}

.filter-dropdown {
  position: relative;
  flex: 1 1 200px;
  min-width: 200px;
}

.filter-dropdown-toggle {
  position: relative;
  width: 100%;
  padding: 10px 40px;
  background: var(--primary);
  border: none;
  color: var(--card);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  font-family: inherit;
  
  min-height: 40px;
  line-height: 1.2;
}

.filter-dropdown-toggle br {
  display: none;
}

.filter-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-normal);
}

.filter-dropdown-toggle:hover {
  background: var(--primary-dark);
}

.filter-dropdown-toggle.active {
  background: var(--primary-dark);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.filter-dropdown-toggle.active::after {
  transform: rotate(225deg);
}

.filter-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 300px;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary-dark) 18%, transparent);
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.16s ease,
    transform 0.22s cubic-bezier(0.2, 0.8, 0.25, 1),
    visibility 0s linear 0.22s;
  pointer-events: none;
  z-index: 100;
}

.sort-controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  height: 40px;
}

.sort-icons {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sort-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  padding: 0;
}

.sort-btn::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  transition: border-color var(--transition-fast);
}

.sort-btn:hover::before {
  border-color: #fff;
}

.sort-btn.active::before {
  border-color: var(--accent-light);
}

.sort-btn[data-sort="asc"]::before {
  transform: rotate(-45deg);
  margin-top: 2px;
}

.sort-btn[data-sort="desc"]::before {
  transform: rotate(135deg);
  margin-bottom: 2px;
}

.clear-filters-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  font-family: inherit;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-filters-btn:hover {
  background: var(--accent);
}

.price-range-content {
  min-width: 230px;   
}

.price-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  font-weight: 600;
}

.price-field input {
  width: 120px;
  padding: 8px 10px;
  border: 1px solid #c9c9c9;
  border-radius: var(--radius-sm);
  font: inherit;
}

.price-field input:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 1px;
}

.filter-dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  overflow-y: auto;
  pointer-events: auto;
  transition:
    opacity 0.16s ease,
    transform 0.22s cubic-bezier(0.2, 0.8, 0.25, 1),
    visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .filter-dropdown-content,
  .filter-dropdown-content.show {
    transition: opacity 0.01s linear, visibility 0s;
    transform: none;
  }
}

.filter-dropdown-content label {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  font-size: 0.9rem;
}

.filter-dropdown-content label:hover {
  background: #f0f0f0;
}

.filter-dropdown-content input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.filter-count {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.9em;
}

.inline-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 4px 2px;
}

.inline-sort-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.inline-sort-controls {
  display: flex;
  gap: 8px;
}

.sort-inline-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #c8d4d8;
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.sort-inline-btn svg {
  width: 14px;
  height: 14px;
  display: block;
  margin: 0 auto;
}

.sort-inline-btn:hover {
  background: #eef4f5;
}

.sort-inline-btn.is-active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

@media (max-width: 768px) {
  .models-filters {
    padding: 15px;
    gap: 10px;
    flex-direction: row;
 
  }

  .filter-dropdown {
    flex: 1 1 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }

  

  .sort-controls {
 
    flex: 1; 
    justify-content: center;
  }

  .clear-filters-btn {
    flex: 1 1 100%; 
  }
}

@media (max-width: 430px) {
  .models-filters {
    gap: 8px;
  }

  .filter-dropdown {
    flex: 1 1 100%;
    min-width: 0;
  }

  .filter-dropdown-toggle {
    padding: 9px 34px 9px 14px;
    justify-content: flex-start;
    text-align: left;
    font-size: 0.9rem;
  }
}

.shoe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  counter-increment: shoe-counter;
}

.shoe-card::before {
  content: counter(shoe-counter);
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 15;
  border: 3px solid var(--card);
}

.shoe-card:hover {
  border-color: var(--primary);
}

.price-value, .weight-value {
  color: #fff;
  font-size: 1.3rem;
  background:var(--primary-mid);
}

.price-tbd {
  color: var(--muted);
  font-style: italic;
  font-size: .92em;
}

.no-photo { opacity: .85; }

hr {
  border: 0;
  border-top: 1px dashed var(--border);
  margin: 15px 0;
}

.hp-nav-trigger {
  display: none;
  cursor: pointer;
  color: #fff;
  
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 10px;
  border: 0;
  
  background: linear-gradient(90deg, var(--highlight) 0%, var(--primary) 48%, var(--primary-dark) 100%);
  box-sizing: border-box;
}

@media (max-width: 668px) {

  .hp-nav-trigger .arrow {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    transition: transform var(--transition-normal);
    margin-left: 10px;
    transform: rotate(90deg);
    vertical-align: middle;
  }

  .jump-nav.active .arrow {
    transform: rotate(270deg);
  }

  .jump-nav .hp-nav-list {
    padding: 0;
    
    background: color-mix(in srgb, var(--primary-dark) 62%, var(--primary));
  }

  .jump-nav .hp-nav-list li {
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    align-items: center;
    display: flex;
    justify-content: flex-start;
  }

  .jump-nav .hp-nav-list li:last-child {
    border-bottom: none;
  }

  .jump-nav .hp-nav-list li:hover,
  .jump-nav .hp-nav-list li:has(a:focus-visible) {
    background: rgba(255, 255, 255, 0.08);
  }

  .jump-nav .hp-nav-list li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

}

.no-tech-message {
  display: block;
  padding: 20px;
  text-align: center;
  width: 100%;
  font-weight: bold;
  color: var(--primary);
  font-size: 30px;
}

.tech-table {
  display: grid;
  
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
  width: 100%;
}

.tech-column,
.tech-cards {
  display: contents;
}

.tech-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tech-card::before {
  display: flex;
  align-items: center;
  
  align-self: center;
  min-height: 18px;
  padding-right: 9px;
  border-radius: 999px;
  background: #fff;
  margin: 0 0 6px;
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: 8px center;
  
  background-size: 19px 19px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cat-ink, var(--muted));
}

#tech-insole {
  --cat: #26826E;
  --cat-bg: #E3EFEC;
  --cat-ink: #1C6455;
}

#tech-midsole {
  --cat: #C2703C;
  --cat-bg: #F6EAE2;
  --cat-ink: #854922;
}

#tech-outsole {
  --cat: #5A6472;
  --cat-bg: #EBECEE;
  --cat-ink: #3A424E;
}

#tech-upper {
  --cat: #2E7FA8;
  --cat-bg: #E4EEF4;
  --cat-ink: #1E5E7E;
}

#tech-insole .tech-card::before {
  content: "Insole";
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6455' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.6c3.7 0 5.7 2.7 5.7 6.2 0 2.7-1.1 4.3-1.1 6.6 0 3.2-1.8 6-4.6 6s-4.6-2.8-4.6-6c0-2.3-1.1-3.9-1.1-6.6 0-3.5 2-6.2 5.7-6.2Z'/></svg>");
}

#tech-midsole .tech-card::before {
  content: "Midsole";
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23854922' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7h18'/><path d='M2.5 10h19v4h-19z'/><path d='M3 17h18'/></svg>");
}

#tech-outsole .tech-card::before {
  content: "Outsole";
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A424E' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.6c3.7 0 5.7 2.7 5.7 6.2 0 2.7-1.1 4.3-1.1 6.6 0 3.2-1.8 6-4.6 6s-4.6-2.8-4.6-6c0-2.3-1.1-3.9-1.1-6.6 0-3.5 2-6.2 5.7-6.2Z'/><path d='m8.8 8.4 3.2 1.9 3.2-1.9'/><path d='m9.2 13.4 2.8 1.7 2.8-1.7'/></svg>");
}

#tech-upper .tech-card::before {
  content: "Upper";
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5E7E' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M2.5 17.5h19v-2.2c0-1.1-.7-2-1.8-2.4l-5.2-1.9-3.4-4.6a1.6 1.6 0 0 0-2.6.1L6.2 10 3.6 11.3c-.7.4-1.1 1-1.1 1.8Z'/><path d='m9.6 9.3 1.6 1.4m-3 .4 1.6 1.4'/></svg>");
}

.tech-card {
  display: flex;
  flex-direction: column;
  position: relative;
  
  container-type: inline-size;
  background: var(--cat-bg, #fff);
  border: 1px solid color-mix(in srgb, var(--cat, var(--border)) 35%, transparent);
  border-left: 3px solid var(--cat, var(--border));
  border-radius: 10px;
  padding: 8px 4px 4px;
  min-width: 0;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--primary-dark) 8%, transparent);
}

.tech-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color:var(--primary-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.tech-checkbox-wrapper {
  display: flex;
  align-items: center;
  
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.tech-name { min-width: 0; overflow-wrap: break-word; }

.tech-pick {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

@container (max-width: 270px) {
  .tech-checkbox-wrapper {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .tech-pick {
    flex: 1 0 100%;
    justify-content: flex-end;
  }
}

.tech-pick:has(.tech-card-cb:checked) .tech-hint {
  color: var(--primary-mid);
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  
  padding: 6px 2px;
  margin: -6px 0;
}

.tech-pick:has(.tech-card-cb:checked) .tech-hint::before {
  content: "\2193\00a0";      
  text-decoration: none;
}

.tech-pick:has(.tech-card-cb:checked) .tech-hint:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.top-layout-group.catalogue-empty > .sidebar,
.top-layout-group.catalogue-empty > .filter-bar-mobile,
.top-layout-group.catalogue-empty > .step-head,
.top-layout-group.catalogue-empty > .step-row-tech,
.top-layout-group.catalogue-empty .tech-pick { display: none; }

.top-layout-group.catalogue-empty { grid-template-columns: 1fr; }

.tech-hint {
  font-size: 11px;
  font-weight: 500;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
}

.tech-card .tech-card-cb {
  flex: 0 0 auto;
  margin: 0;
  vertical-align: middle;
}

.tech-card label { flex: 1 1 auto; min-width: 0; color: #504a4a; }

.tech-card.is-empty {
  opacity: 0.55;
}

.tech-card.is-empty .tech-checkbox-wrapper,
.tech-card.is-empty .tech-card-cb {
  cursor: not-allowed;
}

.tech-undo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.tech-undo-btn:hover {
  background: var(--accent);
  color: #fff;
}
.tech-card p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.no-photo {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 8px;
  border: 1px dashed color-mix(in srgb, var(--primary) 28%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 4%, #fff);
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  text-align: center;
}

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 8px 6px;
}

.brands::before {
  content: "Models with this technology:";
  flex: 0 0 100%;
  margin-bottom: 1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.brands label {
  font-size: 14px;
  cursor: pointer;
}

.brands a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  overflow-wrap: anywhere;
  border: 1px solid color-mix(in srgb, var(--cat, var(--primary)) 35%, transparent);
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
  color: var(--primary-mid);
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.brands a:hover {
  color: var(--cat-ink, var(--primary-dark));
  background: color-mix(in srgb, var(--cat, var(--primary)) 12%, #fff);
  border-color: var(--cat, var(--primary));
}

.brands a.disabled {
  color: var(--muted);
  background: transparent;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--muted) 35%, transparent);
  text-decoration: none;
  position: relative;
  opacity: 0.7;
}

.brands input {
  margin-right: 6px;
}

.tech-table {
  position: relative;
}

@media (max-width: 679px) {

  .tech-table {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .tech-card h3 {
    font-size: 14px;
  }
  
}

@media (max-width: 430px) {
  .tech-table {
    grid-template-columns: 1fr;
  }

  .tech-card h3 {
    font-size: 15px;
  }
  
}

.filter-controls {
  margin: 10px 0;
  font-size: 13px;
  color: var(--muted);
}

.select-all,
.deselect-all {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.select-all {
  color: var(--primary);
}

.deselect-all {
  color: var(--accent);
}

.select-all:hover,
.deselect-all:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.filter-group {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.filter-group:last-child {
  border-bottom: none;
}

.tech-card > h3 {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  
  padding: 5px 8px;   
  font-size: 15px;
  
  background-color: color-mix(in srgb, var(--cat, var(--primary)) 22%, #fff);
  border-radius: 8px;
  color: var(--cat-ink, var(--primary-mid));
}

.tech-card > h3[class^="logo-"] .tech-checkbox-wrapper::before,
.tech-card > h3[class*=" logo-"] .tech-checkbox-wrapper::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: var(--tech-logo) center / contain no-repeat;
}

.logo-ortholite { --tech-logo: url('logos/technologies/ortoholite.png'); }
.logo-continental { --tech-logo: url('logos/technologies/continental-1.png'); }
.logo-gore-tex { --tech-logo: url('logos/technologies/gore-tex.png'); }
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;

  background: var(--amber);
  color: var(--primary-dark);
  font-size: 20px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);

  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jump-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 -6px 18px rgba(27, 40, 71, 0.22);
}

.jump-bar-count { font-size: 13px; font-weight: 600; }

.jump-bar-btn {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  
  color: var(--primary-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.jump-bar-clear {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.jump-bar-clear:hover { background: rgba(255, 255, 255, 0.12); }
.jump-bar-clear:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.jump-bar-btn:hover { filter: brightness(1.06); }
.jump-bar-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

body.has-jump-bar .back-to-top { bottom: 84px; }

@media (prefers-reduced-motion: reduce) {
  .jump-bar-btn:hover { filter: none; }
}

.back-to-top:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

.tech-page-wrapper {
    max-width: 1300px;
}

.page-title {
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 2rem;
}

.tech-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text);
}

.tech-intro p { margin-bottom: 15px; }

.tech-table-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.table-scroll-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    z-index: 20;
    display: none; 
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: background 0.3s ease, color 0.3s ease;
    padding-bottom: 15px; 
}

.table-scroll-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--accent);
}

.table-scroll-btn.left {
    left: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.table-scroll-btn.right {
    right: 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.table-responsive {
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    scrollbar-width: thin; 
    scrollbar-color: var(--primary) #f1f1f1;
}

.products-grid-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.simple-shoe-card {
    width: 160px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.simple-shoe-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.model-title {
    
    margin-top: 1.33em;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.2;
    height: 2.4em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.simple-shoe-image {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-shoe-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.simple-shoe-price {
    font-weight: bold;
    color: var(--primary);
    font-size: 1rem;
    margin-top: auto;
}

.site-footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 30px 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legal-id {
  font-style: normal;
  line-height: 1.6;
  margin: 0 0 1em;
}

.footer-independence {
    font-size: .86rem;
    opacity: .82;
    max-width: 70ch;
    margin: 0 auto;
    line-height: 1.5;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover { color: var(--accent-light); text-decoration: underline; }

.brand-history {
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.1rem;
    color: var(--text);
}

.brand-history p { margin-bottom: 15px; }

.tech-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tech-era {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.tech-era h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.tech-era ul {
    padding-left: 20px;
}

.tech-era li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.brand-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.brand-model-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.brand-model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.brand-model-image {
    height: 220px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.brand-model-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-model-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.brand-model-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.best-for-desc {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.model-techs {
    margin-top: auto;
    border-top: 1px dashed var(--border);
    padding-top: 12px;
    font-size: 0.9rem;
}

.tech-tag {
    display: inline-block;
    background: var(--bg);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 5px;
    margin-top: 5px;
    font-weight: bold;
    border: 1px solid #dcdcdc;
}

.active-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    min-height: 30px; 
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: bold;
}

.remove-tag {
    background: none;
    border: none;
    color: #fff;
    margin-left: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.remove-tag:hover {
    opacity: 1;
}

.top-layout-group {
  grid-template-columns: 1fr;
}

.sidebar {
  display: none;
}

.filter-bar-mobile {
  display: block;
}

.hp-nav-trigger {
  display: block;
  color: #fff;
}

.jump-nav .hp-nav-list {
  display: flex;
  list-style: none;
  padding-left: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.3s ease,
              visibility 0s linear 0.45s;
}

.jump-nav.active .hp-nav-list {
  
  max-height: 320px;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.32s ease 0.06s,
              visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .jump-nav .hp-nav-list,
  .jump-nav.active .hp-nav-list { transition: none; }
}

.shoe-card {
  padding: 15px;
  padding-bottom: 20px;
}

@media (min-width: 669px) {
  .hp-nav-trigger {
    display: none;
  }

  .jump-nav ol {
    padding: 4px 12px;
  }

  .jump-nav .hp-nav-list {
    display: flex;
    color: #e8f4f6;
    
    overflow: visible;
    max-height: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .jump-nav .hp-nav-list li a {
    padding: 5px 10px;
  }

  .shoe-card {
    padding: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

}

@media (min-width: 1024px) {
  .top-layout-group {
    grid-template-columns: 190px 1fr;
  }

  
  .top-layout-group > .step-head-scope,
  .step-row-tech > .step-head-tech {
    display: none;
  }

  .top-layout-group > .step-row-tech {
    grid-column: 1 / -1;
  }

  .step-row-tech {
    display: flex;
    align-items: center;
    
    justify-content: flex-end;
    gap: 16px;
  }

  .step-row-tech > .step-head-tech {
    margin-bottom: 0;
  }

  .sidebar {
    display: block;
  }

  .filter-bar-mobile {
    display: none;
  }
}

.models-content-table.models-content-table-wp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.models-content-table.models-content-table-wp > tbody {
  display: grid;
  gap: 20px;
}

.models-content-table.models-content-table-wp .shoe-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  background: var(--card);
  border-color: var(--primary);
  border-radius: var(--radius-lg);
  margin: 0;
  padding: 14px;
  position: relative;
  counter-increment: shoe-counter;
  box-sizing: border-box;
}

.models-content-table.models-content-table-wp .shoe-card::before {
  content: counter(shoe-counter);
  position: absolute;
  
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 15;
  border: 3px solid var(--card);
}

.models-content-table.models-content-table-wp .shoe-card > td {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-self: center;
}

.models-content-table.models-content-table-wp h4 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.95rem;
}

.models-content-table.models-content-table-wp ul {
  margin: 0;
  padding-left: 18px;
}

.models-content-table.models-content-table-wp li {
  margin-bottom: 6px;
  line-height: 1.35;
}

.models-content-table.models-content-table-wp .cell-image-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 12px;
}

.models-content-table.models-content-table-wp .cell-image-action img {
  width: 100%;
  
  height: 220px;
  
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.models-content-table.models-content-table-wp .cell-image-action .view-btn {
  width: 100%;
}

.models-content-table.models-content-table-wp .cell-brand-model {
  position: relative;
  z-index: 10;
  width: 100%;
  
  background: #edbd70;
  color: var(--primary-dark);
  border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 3px 10px;
  border-radius: var(--radius-md);
}

.models-content-table.models-content-table-wp .cell-brand-model .brand-info {
  
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.models-content-table.models-content-table-wp .cell-brand-model .brand-info-item {
  margin: 0;
  font-size: 0.9rem;
  
  color: var(--primary-dark);
  line-height: 1.4;
  
  white-space: normal;
  overflow-wrap: break-word;
}

.models-content-table.models-content-table-wp .cell-brand-model .brand-info-item strong {
  font-weight: 700;
  margin-right: 5px;
  display: inline;
}

.models-content-table.models-content-table-wp .cell-tech {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.models-content-table.models-content-table-wp .cell-tech h4 {
  margin: 0;
  color: var(--primary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
}

.models-content-table.models-content-table-wp .cell-tech ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.models-content-table.models-content-table-wp .cell-tech li {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  margin: 0;
}

.models-content-table.models-content-table-wp .cell-tech li strong {
  color: var(--primary);
  font-weight: 700;
  margin-right: 5px;
}

.models-content-table.models-content-table-wp .cell-details h4 {
  display: none;
}

.models-content-table.models-content-table-wp .cell-details {
  display: flex;
  flex-direction: column;
  background: var(--card);
  padding: 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  align-self: start;
}

.models-content-table.models-content-table-wp .cell-details ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  font-size: 0.9rem;
  padding-top: 5px;
}

.models-content-table.models-content-table-wp .cell-details li {
  display: block;
  white-space: normal;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 0;
  padding-bottom: 0;
}

.models-content-table.models-content-table-wp .cell-details li strong {
  color: var(--primary);
  font-weight: 700;
  margin-right: 5px;
}

.models-content-table.models-content-table-wp .cell-details li:first-child {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
}

.models-content-table.models-content-table-wp .cell-details li:first-child span:not(.price-value) {
  color: var(--text);
  font-weight: 400;
}

.models-content-table.models-content-table-wp .cell-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #fdfdfd;
  padding: 15px;
}

.models-content-table.models-content-table-wp .cell-opinion {
  background: #fdfdfd;
  padding: 15px;
}

.models-content-table.models-content-table-wp .cell-pros-cons h4:nth-of-type(1) {
  color: #28a745;
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}

.models-content-table.models-content-table-wp .cell-pros-cons h4:nth-of-type(2) {
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}

@media (min-width: 760px) {
  .models-content-table.models-content-table-wp .cell-details ul {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .models-content-table.models-content-table-wp .cell-details li:first-child {
    grid-column: 1 / -1;
  }
  .models-content-table.models-content-table-wp .cell-pros-cons {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 8px;
  }
  .models-content-table.models-content-table-wp .cell-pros-cons h4:nth-of-type(1),
  .models-content-table.models-content-table-wp .cell-pros-cons ul:nth-of-type(1) {
    grid-column: 1;
  }
  .models-content-table.models-content-table-wp .cell-pros-cons h4:nth-of-type(2),
  .models-content-table.models-content-table-wp .cell-pros-cons ul:nth-of-type(2) {
    grid-column: 2;
  }
  .models-content-table.models-content-table-wp .shoe-card {
    grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand details details"
      "image details details"
      "image proscons proscons"
      "tech opinion opinion";
    gap: 14px;
    padding: 16px;
  }
  .models-content-table.models-content-table-wp .cell-brand-model { grid-area: brand; }
  .models-content-table.models-content-table-wp .cell-image-action { grid-area: image; }
  .models-content-table.models-content-table-wp .cell-tech {
    grid-area: tech;
    justify-self: stretch;
    align-self: start;
    width: 100%;
    max-width: 100%;
  }
  .models-content-table.models-content-table-wp .cell-details { grid-area: details; }
  .models-content-table.models-content-table-wp .cell-pros-cons { grid-area: proscons; }
  .models-content-table.models-content-table-wp .cell-opinion { grid-area: opinion; }
}

.shoe-diagram {
  max-width: 1400px;
  margin: 0 auto;
  
  box-sizing: border-box;
}

.diagram-title { text-align: center; margin-bottom: 18px; color: var(--primary-dark); }

.diagram-sub {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  color: var(--primary-dark);
}

.diagram-sub::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%) scaleX(0.25);
  transform-origin: center;
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--amber) 20%, transparent) 0%,
      var(--amber) 50%,
      color-mix(in srgb, var(--amber) 20%, transparent) 100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.diagram-sub.is-seen::after {
  transform: translateX(-50%) scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .diagram-sub::after { transition: none; transform: translateX(-50%) scaleX(1); }
}

.diagram {
  position: relative;
  --diagram-label-width: clamp(128px, 44%, 196px);
  --diagram-label-gap: clamp(2px, 1vw, 10px);
  margin: 0 20px;
}

.image-wrap {
  position: relative;
  
  aspect-ratio: 529 / 601;
  width: 100%;
  
  max-width: 529px;
  margin-inline: auto;
}

.image-wrap img {
  width: 100%;
  
  height: auto;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.overlay polyline {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.overlay circle {
  
  fill: var(--amber);
  stroke: var(--primary-mid);
  stroke-width: 2;
}

.overlay text {
  font-size: 9px;
  font-weight: 700;
  fill: var(--text);        
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

@media (max-width: 899.98px) {
  .overlay polyline {
    display: none;
  }
}

.label {
  position: absolute;
  max-width: var(--diagram-label-width);
  z-index: 2;
}

.label h4,
.label .label-title-link {
  background: var(--chip-bg);
  color: #fff;
  padding: 3px 7px;
  border-radius: 5px;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  max-width: 100%;
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.3;
  white-space: normal;
  text-decoration: none;
}

.label .badge {
  flex: 0 0 auto;       
}

.label .label-title-link {
  position: relative;
  font-size: 0.74rem;
  padding-right: 26px;                 
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.20);
  cursor: pointer;
  transition: background var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  animation: label-pulse 2.4s ease-in-out 5;
  transform-origin: center;
}

.label .label-title-link::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.8;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.label .label-title-link:hover,
.label .label-title-link:focus-visible {
  animation: none;
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24);
}

.label .label-title-link:hover::after,
.label .label-title-link:focus-visible::after {
  transform: translateY(-30%) rotate(45deg);   
  opacity: 1;
}

.label .label-title-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.label .label-title-link:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.20);
}

@keyframes label-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
  }
  50% {
    transform: scale(1.035);
    
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .label .label-title-link {
    animation: none;
  }
}

.label ul {
  padding-left: 0;
  margin: 4px 0 0;
}

.label li {
  background: rgba(238, 238, 238, 0.92);
  margin-bottom: 2px;
  border-radius: 4px;
  list-style: none;
  font-size: 0.65rem;
}

.label details {
  padding: 2px 5px;
}

.label summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.label summary::after {
  content: '>';
  font-size: 0.6rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.label details[open] summary::after {
  transform: rotate(90deg);
}

.label details p {
  margin: 4px 0 2px;
  padding: 4px 6px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-left: 2px solid var(--primary-mid);
  border-radius: 0 3px 3px 0;
  font-size: 0.6rem;
  line-height: 1.4;
}

.badge {
  
  background: var(--amber);
  color: var(--text);
  border-radius: 50%;
  padding: 1px 5px;
  font-size: 0.6rem;
  margin-left: 3px;
}

.label.upper-left   { top: 5%;  left: calc(var(--diagram-label-gap) * -1); }
.label.insole-left  { top: 29%; left: calc(var(--diagram-label-gap) * -1); }
.label.midsole-left { top: 54%; left: calc(var(--diagram-label-gap) * -1); }
.label.outsole-left { top: 78%; left: calc(var(--diagram-label-gap) * -1); }

.label.upper-right   { top: 9%;  right: calc(var(--diagram-label-gap) * -1); }
.label.insole-right  { top: 50%; right: calc(var(--diagram-label-gap) * -1); }
.label.midsole-right { top: 58%; right: calc(var(--diagram-label-gap) * -1); }
.label.outsole-right { top: 82%; right: calc(var(--diagram-label-gap) * -1); }

@media (min-width: 600px) and (max-width: 899.98px) {
  .label.outsole-left { top: 72%; }
  .label.outsole-right { top: 75%; }
}

.shoe-diagram .label > ul {
  display: none;
}

.shoe-diagram .label.is-merged-hidden {
  display: none;
}

.diagram-details {
  margin-top: 18px;
}

.diagram-details > h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.diagram-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.diagram-detail-card {
  background: #fff;
  border: 1px solid #d9e0e2;
  border-radius: 8px;
  padding: 10px;
}

.diagram-detail-card h3 {
  margin: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  font-size: 0.78rem;
  line-height: 1.3;
  justify-content: flex-start;
}

.diagram-detail-card .part-title {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  background: var(--chip-bg);
  color: #fff;
  border-radius: 5px 0 0 5px;
  padding: 4px 8px;
  white-space: nowrap;
}

.part-note {
  display: inline-block;
  margin: 0 0 0 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--accent);
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.35;
  vertical-align: middle;
}

.diagram-detail-card .part-note {
  
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 4px 9px;
  border-radius: 0 5px 5px 0;
  background: color-mix(in srgb, var(--primary) 11%, transparent);
  color: color-mix(in srgb, var(--primary-dark) 82%, #fff);
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.3;
  white-space: normal;
}

.label .label-title-link .part-note {
  display: none;
}

.diagram-detail-card ul {
  padding-left: 0;
  margin: 8px 0 0;
}

.diagram-detail-card li {
  list-style: none;
  background: #f2f4f5;
  border-radius: 4px;
  margin-bottom: 6px;
  
}

.diagram-detail-card details {
  padding: 4px 7px;
}

.diagram-detail-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.diagram-detail-card summary::after {
  content: '>';
  font-size: 0.72rem;
  transition: transform 0.2s;
}

.diagram-detail-card details[open] summary::after {
  transform: rotate(90deg);
}

.diagram-detail-card details p {
  margin: 5px 0 2px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-left: 2px solid var(--primary-mid);
  border-radius: 0 3px 3px 0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.diagram-detail-static {
  margin: 5px 0 2px;
}

.diagram-detail-static-title {
  font-weight: 700;
  line-height: 1.35;
}

.diagram-detail-static-text {
  margin-top: 5px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-left: 2px solid var(--primary-mid);
  border-radius: 0 3px 3px 0;
  line-height: 1.4;
}

@media (min-width: 1200px) {
  .diagram-details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .diagram-details-grid > .diagram-detail-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 5px);
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shoe-diagram {
    padding: 14px 8px;
  }

  .diagram {
    --diagram-label-width: 46%;
    --diagram-label-gap: 0px;
  }

  .label h4,
  .label .label-title-link {
    padding: 3px 19px 3px 6px;   
    white-space: normal;          
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .label li {
    font-size: 0.61rem;
  }

  .label details p {
    font-size: 0.57rem;
  }
}

@media (max-width: 360px) {
  .overlay {
    display: none;
  }

  .diagram {
    --diagram-label-width: 50%;
    --diagram-label-gap: 0px;
  }

  .label .label-title-link {
    font-size: 0.7rem;
  }

  .label {
    max-height: none;   
    overflow: visible;  
  }

  .label ul {
    display: none;
    margin-top: 6px;
  }

  .label h4,
  .label .label-title-link {
    cursor: pointer;
    user-select: none;
  }

  .label.is-open {
    max-height: 240px;
    overflow: visible;
    z-index: 4;
  }

  .label.is-open ul {
    display: block;
  }
}

@media (max-width: 899.98px) {
  .shoe-diagram {
    padding-inline: 8px;
  }

  .diagram {
    position: static;
    display: grid;
    
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-inline: 0;
  }

  .image-wrap {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .label,
  .label.upper-left,
  .label.insole-right,
  .label.midsole-left,
  .label.outsole-right {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    max-width: 100%;
    
    display: flex;
  }

  .label h4,
  .label .label-title-link {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    text-align: left;
    padding: 6px 22px 6px 9px;
  }

  .label .badge {
    margin-left: auto;    
    margin-right: 4px;
  }
}

@media (max-width: 499.98px) {
  .diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .shoe-diagram {
    padding: 14px 8px;
  }

  .overlay {
    display: block;
  }

  .label h4,
  .label .label-title-link {
    font-size: 0.78rem;
  }

  .overlay circle {
    fill: var(--amber);
    stroke: var(--amber);
    stroke-width: 18;
  }

  .overlay text {
    font-size: 20px;   
  }
}

@media (min-width: 900px) {
  .diagram {
    display: grid;
    grid-template-columns: 195px minmax(420px, 529px) 220px;   
    grid-template-rows: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    justify-content: center;
    position: static;
  }

  .image-wrap {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: start;
    justify-self: center;
    position: relative;
    aspect-ratio: 529 / 601;   
    width: 100%;
  }

  .label {
    position: static;
    max-width: 220px;
    font-size: 0.85rem;
  }

  .label.is-stagger-left {
    justify-self: end;
    transform: translateX(30px);
  }

  :root { --chip-bg: var(--primary-mid); }

  .label h4,
  .label .label-title-link {
    background: var(--chip-bg);
    font-size: 0.92rem;
    
    padding: 5px 30px 5px 10px;
    margin-bottom: 10px;
    white-space: normal;
  }

  .label ul {
    display: block;
    padding-left: 0;
    margin: 0;
  }

  .label li {
    background: #eee;
    margin-bottom: 8px;
    border-radius: 4px;
    list-style: none;
    font-size: 0.8rem;
  }

  .label details {
    position: relative;
    padding: 5px 8px;
  }

  .label summary {
    font-size: 0.8rem;
  }

  .label details p {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 6px 8px;
    font-size: 0.75rem;
    background: #fff;
    border-left: 2px solid var(--primary-mid);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    line-height: 1.5;
  }

  .badge {
    font-size: 0.75rem;
    padding: 2px 6px;
  }

  .label.upper-left   { grid-column: 1; grid-row: 1; align-self: center; }
   .label.midsole-left { grid-column: 1; grid-row: 3; align-self: start;  }
  .label.insole-left  { grid-column: 1; grid-row: 2; align-self: start;  }
  .label.outsole-left { grid-column: 1; grid-row: 4; align-self: start; transform: translateY(-24%); }

  .label.upper-right   { grid-column: 3; grid-row: 1; align-self: center; }
  .label.midsole-right { grid-column: 3; grid-row: 3; align-self: start;  }
  .label.insole-right { grid-column: 3; grid-row: 2; align-self: self-end;  }
  .label.outsole-right { grid-column: 3; grid-row: 4; align-self: start; transform: translateY(-24%); }
}

.buyer-guide {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  
  position: relative;
  margin-top: 30px;
  padding: 28px max(14px, calc((100vw - 1300px) / 2 + 20px));
  background: linear-gradient(180deg, var(--bg) 0%, var(--page) 100%);
}

.buyer-guide-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.buyer-guide h2,
.buyer-guide h3,
.buyer-guide h4 {
  color: var(--primary-dark);
  line-height: 1.25;
}

.buyer-guide h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  margin: 0 0 12px;
}

.buyer-guide h3 {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  margin: 0 0 10px;
  color: var(--primary-mid);
}

.buyer-guide h4 {
  font-size: 1rem;
  margin: 0;
}

.buyer-guide p {
  line-height: 1.6;
  margin: 0 0 10px;
}

.buyer-guide ul,
.buyer-guide ol {
  line-height: 1.6;
}

.buyer-intro {
  background: transparent;
  border: none;
  padding: 0;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--primary-mid);
  margin: 0 0 14px;
}

.activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 22px 18px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-dark) 12%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  min-height: 150px;
}

.activity-card:hover,
.activity-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--primary-dark) 22%, transparent);
  filter: saturate(1.1);
}

.activity-icon {
  display: inline-flex;
  line-height: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.activity-icon svg {
  width: 40px;
  height: 40px;
  color: currentColor;   
}

@media (max-width: 480px) {
  .activity-icon svg { width: 34px; height: 34px; }
}

.activity-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.activity-sub {
  font-size: 0.82rem;
  opacity: 0.92;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.activity-road  { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.activity-trail { background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%); }
.activity-gym   { background: linear-gradient(135deg, var(--highlight) 0%, var(--highlight) 100%); }

.pronation-guide {
  background: #fff;
  border: 1px solid #d9e2e5;
  border-radius: 12px;
  padding: 20px;
}

.pronation-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin: 16px 0 14px;
  padding: 6px 0;
  border-top: 1px dashed #c7d4d7;
  border-bottom: 1px dashed #c7d4d7;
}

.pronation-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 6px;
}

.pronation-card {
  position: relative;
  background: #f6f9fa;
  border: 1px solid #d9e2e5;
  border-top: 4px solid var(--primary-mid);
  border-radius: 10px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pronation-card.p-neutral { border-top-color: var(--primary-mid); }
.pronation-card.p-over    { border-top-color: var(--highlight); }
.pronation-card.p-under   { border-top-color: var(--accent); }

.pronation-print {
  width: 120px;
  height: 90px;
  margin: 0 auto 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.p-neutral .pronation-print { background-image: url('images/pronation-neutral.png'); }
.p-over    .pronation-print { background-image: url('images/pronation-over.png'); }
.p-under   .pronation-print { background-image: url('images/pronation-under.png'); }

.pronation-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.pronation-head h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.pronation-tag {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary-mid);
  font-style: italic;
}

.p-over  .pronation-tag { background: rgba(162, 107, 140, 0.15); color: var(--highlight); }
.p-under .pronation-tag { background: rgba(214, 149, 30, 0.18);  color: var(--accent); }

.pronation-arch {
  text-align: center;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 2px 0 8px;
}

.pronation-reco {
  background: #fff;
  border-left: 3px solid var(--primary-mid);
  padding: 8px 10px;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
}

.p-over  .pronation-reco { border-left-color: var(--highlight); }
.p-under .pronation-reco { border-left-color: var(--accent); }

.p-over  .pronation-cta { background: var(--highlight); }
.p-over  .pronation-cta:hover { background: var(--highlight); }
.p-under .pronation-cta { background: var(--accent); }
.p-under .pronation-cta:hover { background: var(--accent); }

@media (min-width: 780px) {
  .pronation-cards { grid-template-columns: repeat(3, 1fr); }
}

.expert-tip {
  position: relative;
  background: #FDF1ED;   
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 7%, #fff) 0%,
      color-mix(in srgb, var(--accent) 20%, #fff) 100%);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px 16px 56px;
  box-shadow: 0 6px 14px rgba(214, 149, 30, 0.14);
}

.expert-tip::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 1.7rem;
  line-height: 1;
}

.expert-tip-label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-tip p {
  margin: 0;
  color: var(--primary-dark);
  line-height: 1.55;
}

.pronation-test {
  background: #fff;
  border: 1px solid #d9e2e5;
  border-radius: 12px;
  padding: 20px;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 10px 14px 10px 48px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 8px;
  font-weight: 500;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-mid);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.test-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.test-result-list li {
  padding: 9px 12px;
  background: #f2f6f7;
  border-left: 3px solid var(--primary-mid);
  border-radius: 0 6px 6px 0;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--primary-dark) 8%, transparent);
}

.style-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.style-table thead {
  background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.style-table th,
.style-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e3ebee;
}

.style-table th {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.style-table tbody tr:nth-child(even) {
  background: #f6f9fa;
}

.style-table tbody tr:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

@media (max-width: 640px) {
  .style-table thead { display: none; }

  .style-table,
  .style-table tbody,
  .style-table tr,
  .style-table td {
    display: block;
    width: 100%;
  }

  .style-table tr {
    border: 1px solid #d9e2e5;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
  }

  .style-table td {
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eef2f3;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .style-table td:last-child { border-bottom: none; }

  .style-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--primary-mid);
    flex: 0 0 45%;
  }
}

.arch-relation {
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, color-mix(in srgb, var(--primary) 10%, #fff) 100%);
  border: 1px solid var(--primary-light);
  border-radius: 10px;
  padding: 16px 18px 16px 56px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 14%, transparent);
}

.arch-relation::before {
  content: "?";
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 1.7rem;
  line-height: 1;
}

.arch-relation-label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.arch-relation :is(h3, h4) {
  color: var(--primary-dark);
  margin: 2px 0 6px;
  font-size: 1rem;
}

.arch-relation p {
  margin: 0;
  color: var(--primary-dark);
  line-height: 1.55;
}

.weight-guide {
  background: #fff;
  border: 1px solid #d9e2e5;
  border-radius: 12px;
  padding: 20px;
}

.weight-scale {
  position: relative;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.weight-tier {
  position: relative;
  background: #f6f9fa;
  border: 1px solid #dfe7e9;
  border-radius: 10px;
  padding: 14px 16px 14px 46px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.weight-tier:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary-dark) 10%, transparent);
  border-color: #b8c9cd;
}

.weight-tier-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.weight-range {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.weight-dot {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-mid);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.tier-light .weight-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(63, 127, 142, 0.22); }
.tier-mid   .weight-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(214, 149, 30, 0.22); }
.tier-heavy .weight-dot { background: var(--highlight); box-shadow: 0 0 0 4px rgba(162, 107, 140, 0.22); }

.weight-char {
  font-style: italic;
  color: var(--primary-mid);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.weight-tech {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.weight-tech li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d0dde0;
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.tier-light .weight-tech li { border-color: rgba(91, 143, 156, 0.4); }
.tier-mid   .weight-tech li { border-color: rgba(214, 149, 30, 0.4); }
.tier-heavy .weight-tech li { border-color: rgba(162, 107, 140, 0.4); }

@media (min-width: 800px) {
  .weight-scale {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .weight-scale::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--highlight) 100%);
    border-radius: 3px;
    z-index: 0;
    opacity: 0.5;
  }
  .weight-tier { z-index: 1; }
}

.golden-rules {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 100%);
  border-radius: 14px;
  padding: 24px 22px;
  color: #e6eef0;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-dark) 18%, transparent);
}

.golden-rules > p {
  color: color-mix(in srgb, #fff 72%, var(--primary));
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.golden-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.golden-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.golden-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.golden-list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.golden-list li strong {
  
  color: var(--amber);
  font-size: 0.98rem;
}

.golden-list li span {
  color: color-mix(in srgb, #fff 84%, var(--primary));
  font-size: 0.9rem;
  line-height: 1.45;
}

.g-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 210, 122, 0.12);
}

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

.surface-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 180px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-dark) 16%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.surface-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.4s ease;
}

.surface-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.surface-card > * { position: relative; z-index: 2; }

.surface-card:hover { transform: translateY(-3px); }
.surface-card:hover::before { transform: scale(1.06); }

.surface-road::before {
  background: linear-gradient(135deg, #626a70 0%, #3d464d 100%);
  background-image:
    linear-gradient(135deg, rgba(60,66,72,0.85) 0%, rgba(30,35,40,0.9) 100%),
    repeating-linear-gradient(90deg, #4a535a 0 3px, #3f474d 3px 6px);
}

.surface-trail::before {
  background: linear-gradient(135deg, #6b4a2a 0%, #3e2a15 100%);
  background-image:
    linear-gradient(135deg, rgba(90,60,30,0.75) 0%, rgba(50,30,15,0.85) 100%),
    radial-gradient(circle at 30% 40%, #a3794a 2px, transparent 3px),
    radial-gradient(circle at 70% 65%, #8a6238 3px, transparent 4px),
    radial-gradient(circle at 20% 80%, #6b4a2a 4px, transparent 5px);
  background-size: 100% 100%, 40px 40px, 55px 55px, 70px 70px;
}

.surface-indoor::before {
  background: linear-gradient(135deg, #d6a477 0%, #a26b3a 100%);
  background-image:
    linear-gradient(135deg, rgba(175,120,75,0.75) 0%, rgba(110,70,40,0.85) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 40px, transparent 40px 80px);
}

.surface-card-head h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.extra-factors h3 {
  margin-bottom: 14px;
}

.factor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.factor-card {
  background: #fff;
  border: 1px solid #d9e2e5;
  border-radius: 10px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.factor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary-dark) 10%, transparent);
  border-color: #b8c9cd;
}

.factor-card h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-mid);
  margin-bottom: 6px;
  font-size: 1rem;
  padding-bottom: 6px;
  border-bottom: 2px solid color-mix(in srgb, var(--primary) 25%, transparent);
}

.factor-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--highlight);
}

.factor-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.factor-card p {
  margin: 0 0 6px;
  font-size: 0.94rem;
}

.breath-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.breath-list li {
  padding: 6px 10px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 6px;
  font-size: 0.9rem;
}

.breath-list strong { color: var(--primary-mid); }

.drop-scale {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 8px 4px;
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  border-radius: 6px;
  border-bottom: 2px solid var(--primary-mid);
}

.drop-marker {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--primary-mid);
  font-weight: 700;
}

.drop-bar {
  width: 100%;
  height: var(--h, 4px);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 3px 3px 0 0;
}

.drop-bar-0 { --h: 4px; }
.drop-bar-4 { --h: 10px; }
.drop-bar-8 { --h: 18px; }
.drop-bar-12 { --h: 26px; }

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

@media (min-width: 1024px) {
  .factor-grid { grid-template-columns: repeat(4, 1fr); }
}

.guide-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guide-nav {
  background: #fff;
  border: 1px solid #d9e2e5;
  border-radius: 12px;
  padding: 12px 10px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--primary-dark) 5%, transparent);
  position: relative;
}

.guide-nav-scroll {
  display: none;
}

.guide-nav-dots {
  display: none;
}

.guide-nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-mid);
  padding: 4px 8px 10px;
  border-bottom: 1px solid #e4ebed;
  margin-bottom: 8px;
}

.guide-nav-list {
  list-style: none;
  padding: 4px;
  margin: 0;
  
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.guide-nav-list li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.guide-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--primary-mid);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  min-width: 200px;
  border: 1px solid transparent;
}

.guide-nav-list a:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary) 18%, transparent);
}

.guide-nav-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.guide-nav-list a.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 28%, transparent);
  border-color: transparent;
}

.gn-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary-mid);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.guide-nav-list a.is-active .gn-num {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.gn-body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
  min-width: 0;
}

.gn-label {
  font-weight: 700;
  font-size: 0.93rem;
}

.gn-sub {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 2px;
}

.guide-nav-list a.is-active .gn-sub {
  opacity: 0.85;
}

@media (max-width: 979px) {
  .guide-nav {
    position: sticky;
    top: 0;
    z-index: 25;
    border-radius: 0 0 12px 12px;
  }

  .guide-nav-title {
    display: none;
  }

  .guide-nav {
    padding: 6px 8px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--primary) 15%, #fff) 0%,
        color-mix(in srgb, var(--primary) 26%, #fff) 100%);
    border-color: color-mix(in srgb, var(--primary) 30%, transparent);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-dark) 16%, transparent);
  }

  .guide-nav-list a {
    padding: 6px 10px;
    gap: 8px;
    background: #fff;
    border-color: color-mix(in srgb, var(--primary) 14%, transparent);
  }

  .gn-num {
    width: 26px;
    height: 26px;
  }

  .gn-body {
    line-height: 1.15;
  }

  .gn-label {
    font-size: 0.9rem;
  }

  .gn-sub {
    font-size: 0.72rem;
    margin-top: 1px;
  }

  .guide-nav-scroll {
    position: absolute;
    
    top: auto;
    bottom: 4px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--primary-mid);
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--primary-dark) 10%, transparent),
                0 4px 12px color-mix(in srgb, var(--primary-dark) 14%, transparent);
    cursor: pointer;
    z-index: 4;
    touch-action: manipulation;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .guide-nav-scroll svg {
    width: 17px;
    height: 17px;
    display: block;
  }

  .guide-nav-scroll:hover {
    color: var(--highlight);
    border-color: color-mix(in srgb, var(--highlight) 45%, transparent);
  }

  .guide-nav-scroll:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
  }

  .guide-nav-scroll:active {
    transform: scale(0.94);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--primary-dark) 16%, transparent);
  }

  @media (prefers-reduced-motion: reduce) {
    .guide-nav-scroll { transition: none; }
  }

  .guide-nav-scroll-left {
    left: 4px;
  }

  .guide-nav-scroll-right {
    right: 4px;
  }

  .guide-nav-list {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guide-nav-list::-webkit-scrollbar {
    display: none;
  }

  .guide-nav-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
    
    min-height: 30px;
  }

  .guide-nav-dot {
    width: 22px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    touch-action: manipulation;
  }

  .guide-nav-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 30%, transparent);
    transition: width 0.25s ease, background 0.25s ease;
  }

  .guide-nav-dot.is-active::before {
    width: 18px;
    background: var(--primary-mid);
  }

  .guide-nav-dot:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 1px;
    border-radius: 999px;
  }

  @media (prefers-reduced-motion: reduce) {
    .guide-nav-dot::before { transition: none; }
  }
}

@media (min-width: 980px) {
  .guide-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
    align-items: start;
  }

  .guide-nav {
    position: sticky;
    top: 16px;
    padding: 14px;
    grid-column: 2;
    grid-row: 1;
  }

  .guide-content {
    grid-column: 1;
    grid-row: 1;
  }

  .guide-nav-list {
    flex-direction: column;
    overflow: visible;
    gap: 4px;
    padding: 0;
  }

  .guide-nav-list li { flex: 1 1 auto; }

  .guide-nav-list a {
    min-width: 0;
    width: 100%;
  }
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0; 
}

.factor-section {
  scroll-margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.factor-section + .factor-section {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 2px dashed #cdd9dc;
}

.factor-head {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8f9 100%);
  border: 1px solid #d9e2e5;
  border-left: 5px solid var(--primary-mid);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--primary-dark) 4%, transparent);
}

.factor-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--highlight);
  margin-bottom: 6px;
}

.factor-head :is(h2, h3) {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--primary-dark);
}

.factor-lede {
  margin: 0;
  color: var(--primary-mid);
  line-height: 1.6;
  font-size: 0.98rem;
}

.surface-card:target {
  box-shadow: 0 0 0 3px var(--accent), 0 8px 20px color-mix(in srgb, var(--primary-dark) 22%, transparent);
  animation: surfaceFlash 1.6s ease;
}

@keyframes surfaceFlash {
  0%   { box-shadow: 0 0 0 3px var(--accent), 0 8px 20px color-mix(in srgb, var(--primary-dark) 22%, transparent); }
  60%  { box-shadow: 0 0 0 3px var(--accent), 0 8px 20px color-mix(in srgb, var(--primary-dark) 22%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent, 0 8px 20px color-mix(in srgb, var(--primary-dark) 12%, transparent); }
}

.factor-section .pronation-guide,
.factor-section .weight-guide,
.factor-section .golden-rules,
.factor-section .extra-factors,
.factor-section .pronation-test,
.factor-section .arch-relation,
.factor-section .surface-guide,
.factor-section .activity-picker,
.factor-section .pronation-table-wrap {
  margin: 0;
}

.factor-section > section > h3:first-child {
  font-size: 1.05rem;
  color: var(--primary-mid);
  margin-bottom: 10px;
}

.activity-surface-pairs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.activity-surface-pairs > .section-eyebrow {
  margin-bottom: 2px;
}

.as-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e4ebed;
  border-radius: 14px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--primary-dark) 4%, transparent);
}

.as-pair > .activity-card {
  min-height: 130px;
  margin: 0;
}

.as-pair > .surface-card {
  margin: 0;
}

.as-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 6px 8px;
}

.as-arrow {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transform: rotate(90deg);
  display: inline-block;
}

.as-accents {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  width: 100%;
}

.as-accents li {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--primary-dark);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.as-part {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-mid);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 780px) {
  .as-pair {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 14px;
    padding: 14px;
    align-items: center;
  }

  .as-arrow {
    transform: rotate(0);
    font-size: 2.2rem;
  }

  .as-connector {
    padding: 8px 4px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .price-field input {
    width: 95px;
  }
}

#anatomia,
#kak-da-izberem,
#filtri,
#izbor-tehnologii,
#dopalnitelni-filtri,
#brands-models,
#models-all {
  scroll-margin-top: 16px;
}

@media (max-width: 480px) {
  .models-content-table .cell-brand-model,
  .models-content-table.models-content-table-wp .cell-brand-model {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .price-filter-group label {
    white-space: normal;
  }
}

.lead-more {
  
  margin-top: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.lead-more > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin-inline: auto;
  padding: 7px 16px;
  border-radius: 999px;
  
  background: #fff;
  color: #26826E;
  border: 1.5px solid var(--amber);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--amber) 30%, transparent);
  transition: background var(--transition-fast), color var(--transition-fast),
              box-shadow var(--transition-fast), transform var(--transition-fast);
}

.lead-more > summary::-webkit-details-marker { display: none; }

.lead-more > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-bottom-right-radius: 1px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition-fast);
}

.lead-more[open] > summary::after {
  transform: translateY(1px) rotate(225deg);
}

.lead-more > summary:hover,
.lead-more > summary:focus-visible {
  
  background: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 75%, #000);
  color: var(--text);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--amber) 30%, transparent),
    0 3px 10px color-mix(in srgb, var(--amber) 50%, transparent);
  transform: translateY(1px);
}

.lead-more > summary:active {
  background: color-mix(in srgb, var(--amber) 88%, #000);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--amber) 45%, transparent);
}

.lead-more > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lead-more[open] > summary {
  margin-bottom: 10px;
}

.lead-more > :not(summary) {
  animation: lead-more-in 0.25s ease;
}

@keyframes lead-more-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lead-more > :not(summary) { animation: none; }
}

.surface-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 7px;
}

.surface-facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  align-items: baseline;
  font-size: 0.82rem;
  line-height: 1.35;
}

.surface-facts .sf-key {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.surface-facts .sf-val {
  color: rgba(255, 255, 255, 0.90);
}

.surface-facts .sf-warn .sf-key {
  color: var(--accent-light);   
}

.surface-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;   
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.surface-link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--transition-fast);
}

.surface-link:hover,
.surface-link:focus-visible {
  color: var(--accent-light);
}

.surface-link:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.surface-link:hover::after {
  transform: rotate(-45deg) translate(2px, 2px);
}

@media (max-width: 480px) {
  .surface-facts li {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

.cell-image-action .view-btn {
  display: none;
}

.models-count {
  margin: 10px 0 4px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.models-count.is-filtered {
  color: color-mix(in srgb, var(--muted) 90%, transparent);
}

.models-count.is-empty {
  
  color: color-mix(in srgb, var(--accent) 75%, var(--muted));
  font-weight: 500;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}

.step-num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--card);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-title {
  margin: 2px 0 2px;
  
  font-family: 'Oswald', 'Inter', 'Inter Fallback', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--primary-dark);
}

.step-hint {
  margin: 4px 0 0;
  
  max-width: 74ch;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
}

@media (max-width: 480px) {
  .step-num { width: 23px; height: 23px; font-size: 0.82rem; }
  .step-title { font-size: 1rem; }
  .step-hint { font-size: 0.78rem; }
}

.tech-table > .no-tech-message {
  grid-column: 1 / -1;
  width: 100%;
}

#tech-nav {
  grid-column: 1 / -1;
  width: auto;
  margin-inline: 0;
  position: sticky;
  top: 0;
  z-index: 30;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-dark) 16%, transparent);
}

#tech-nav ol {
  background: var(--primary-dark);
  padding: 3px 8px;
  gap: 0 4px;
}

#tech-nav .hp-nav-trigger {
  background: var(--primary);
  padding: 4px 10px;
  font-size: 13px;
}

#tech-nav .hp-nav-list li a {
  font-size: 12.5px;
  padding: 5px 8px;
}

#tech-nav .hp-nav-label {
  padding: 2px 9px;
  border-radius: 999px;
}

#tech-nav .hp-nav-list li a::before {
  min-width: 1.5em;
  padding: 3px 5px;
  font-size: 11px;
  right: 6px;
}

#tech-nav a[href="#tech-ortholite"] .hp-nav-label      { background: #E3EFEC; color: #1C6455; }
#tech-nav a[href="#tech-boost_lightstrike"] .hp-nav-label     { background: #F6EAE2; color: #854922; }
#tech-nav a[href="#tech-continental"] .hp-nav-label     { background: #EBECEE; color: #3A424E; }
#tech-nav a[href="#tech-goretex"] .hp-nav-label  { background: #E4EEF4; color: #1E5E7E; }

#tech-nav a[href="#tech-ortholite"]::before { background: #26826E; color: #fff; }
#tech-nav a[href="#tech-boost_lightstrike"]::before { background: #C2703C; color: #fff; }
#tech-nav a[href="#tech-continental"]::before { background: #5A6472; color: #fff; }
#tech-nav a[href="#tech-goretex"]::before { background: #2E7FA8; color: #fff; }

#tech-nav .hp-nav-list li a.is-empty {
  opacity: 0.45;
}

#tech-nav .hp-nav-list li a.is-empty::before {
  background: color-mix(in srgb, #fff 25%, transparent);
  color: #fff;
}

.jump-modal {
  
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(420px, calc(100vw - 32px));
  max-width: none;
  height: fit-content;
  max-height: calc(100vh - 32px);
  padding: 20px 22px 18px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--amber);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--primary-dark) 30%, transparent);
}

.jump-modal::backdrop {
  background: color-mix(in srgb, var(--primary-dark) 55%, transparent);
}

.jump-modal-text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.5;
}

.jump-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.jump-modal-do {
  padding: 7px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.jump-modal-do:hover {
  background: var(--primary-mid);
}

.jump-modal-do:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.jump-modal-do[hidden] { display: none; }

.jump-modal-close {
  display: block;
  padding: 7px 18px;
  border: 1.5px solid var(--amber);
  border-radius: 999px;
  background: #fff;
  color: #26826E;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.jump-modal-close:hover,
.jump-modal-close:focus-visible {
  background: var(--amber);
  color: var(--text);
}

.jump-modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#tech-nav .hp-nav-list li a.is-here::before {
  background: var(--amber);
  color: var(--primary-dark);
}

#tech-nav a[href="#tech-ortholite"].is-here .hp-nav-label      { background: #1C6455; color: #fff; }
#tech-nav a[href="#tech-boost_lightstrike"].is-here .hp-nav-label     { background: #854922; color: #fff; }
#tech-nav a[href="#tech-continental"].is-here .hp-nav-label     { background: #3A424E; color: #fff; }
#tech-nav a[href="#tech-goretex"].is-here .hp-nav-label  { background: #1E5E7E; color: #fff; }

#tech-nav .hp-nav-list li a.is-here { font-weight: 700; }

@media (max-width: 668px) {
  #tech-nav a[href="#tech-ortholite"] .hp-nav-label       { background: #1C6455; color: #fff; }
  #tech-nav a[href="#tech-boost_lightstrike"] .hp-nav-label { background: #854922; color: #fff; }
  #tech-nav a[href="#tech-continental"] .hp-nav-label     { background: #3A424E; color: #fff; }
  #tech-nav a[href="#tech-goretex"] .hp-nav-label         { background: #1E5E7E; color: #fff; }

  #tech-nav a[href="#tech-ortholite"].is-here .hp-nav-label       { background: #E3EFEC; color: #1C6455; }
  #tech-nav a[href="#tech-boost_lightstrike"].is-here .hp-nav-label { background: #F6EAE2; color: #854922; }
  #tech-nav a[href="#tech-continental"].is-here .hp-nav-label     { background: #EBECEE; color: #3A424E; }
  #tech-nav a[href="#tech-goretex"].is-here .hp-nav-label         { background: #E4EEF4; color: #1E5E7E; }

  #tech-nav .hp-nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #tech-nav .hp-nav-list li:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  #tech-nav .hp-nav-label {
    overflow-wrap: break-word;
  }
}

@media (max-width: 430px) {
  #tech-nav .hp-nav-list li a::before { display: none; }
}

.top-layout-group > .step-head {
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  
  .top-layout-group > .filter-overlay { order: 0; }
  .top-layout-group > .sidebar { order: 1; }
  .top-layout-group > .filter-bar-mobile { order: 2; }
  
  .top-layout-group > .step-row-tech { order: 4; margin-bottom: 8px; }
  .top-layout-group > .tech-table { order: 5; }
}

.step-head-inline {
  align-items: center;
  position: relative;
  margin-bottom: 8px;
}

.step-head-inline .step-title {
  margin: 0;
  
  line-height: 1.25;
}

.step-head-inline {
  align-items: flex-start;
}

.step-head-inline .step-num,
.step-head-inline .step-note {
  margin-top: 1px;
}

.step-note {
  position: relative;
  display: flex;
  align-items: center;
}

.step-note > summary {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-mid);
  background: #fff;
  color: var(--primary-mid);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.step-note > summary::-webkit-details-marker { display: none; }

.step-note > summary:hover,
.step-note[open] > summary {
  background: var(--primary-mid);
  color: #fff;
}

.step-note > summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.step-note .step-hint {
  position: absolute;
  top: calc(100% + 8px);
  left: -6px;
  z-index: 40;
  width: min(430px, 78vw);
  max-width: none;
  margin: 0;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-dark) 20%, transparent);
  color: var(--text);
  line-height: 1.45;
}

.step-note .step-hint strong {
  color: var(--primary-dark);
}

.step-head-mobile {
  margin-bottom: 10px;
}

.step-head-mobile > div > .step-hint {
  max-width: 46ch;
}

.step-head-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .step-head-desktop {
    display: flex;
  }
}

.models-content-table .cell-brand-model,
.models-content-table.models-content-table-wp .cell-brand-model {
  padding-left: 20px;
}

.logo-mark {
  
  display: block;
  width: 173px;
  aspect-ratio: 425 / 152;
}
.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 1024px) {
  .logo-mark { width: 224px; }
}

.guide-cta-btn {
  gap: 10px;
  border-radius: 14px;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 16px rgba(22, 27, 38, 0.18);
}

.guide-cta-btn .cta-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.guide-cta-btn .cta-icon svg { width: 18px; height: 18px; }

.guide-cta-btn .cta-text { position: relative; }

.guide-cta-btn:hover .cta-icon,
.guide-cta-btn:focus-visible .cta-icon {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-6deg) scale(1.06);
}

.guide-cta-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--amber) 70%, #fff);
  outline-offset: 3px;
}

.guide-cta-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(22, 27, 38, 0.28),
    0 2px 6px rgba(22, 27, 38, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .guide-cta-btn,
  .guide-cta-btn .cta-icon { transition: none; }
  .guide-cta-btn::before { animation: none; }
}

.price-checked {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
}

.gone-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #5A6472;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
}

.shoe-card.is-gone .cell-brand-model {
  background: #FDECC8;
  border-color: color-mix(in srgb, var(--amber) 75%, transparent);
}

.gone-why {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.gone-next {
  margin: 6px 0 0;
  font-size: 13px;
}

.gone-next a { color: var(--primary-mid); font-weight: 600; }

.brands a.brand-gone { opacity: .75; }
.brands a.brand-gone::after { content: " \00b7 unavailable"; font-size: 11px; color: var(--muted); }

.bc-arch {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
}

.bc-arch:hover { color: var(--primary-mid); }

.tech-all-gone {
  flex: 0 0 100%;
  margin: 0 0 6px;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
}

.affiliate-note {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 3px solid var(--amber);
  background: color-mix(in srgb, var(--amber) 10%, transparent);
  font-size: 13px;
  color: var(--text);
}

.affiliate-note a { color: var(--primary-mid); font-weight: 600; }

.arhiv-link { margin: 18px 0 0; text-align: center; font-size: 14px; }
.arhiv-link a { color: var(--muted); }
.arhiv-link a:hover { color: var(--primary-mid); }

.arhiv-back { margin: 28px 0 0; text-align: center; font-weight: 600; }

.price-gone {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.fancy-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 24px;
}

.fancy-rule::before,
.fancy-rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

.fancy-rule::before {
  background: linear-gradient(90deg,
      transparent 0%,
      color-mix(in srgb, var(--primary) 38%, transparent) 100%);
}

.fancy-rule::after {
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--primary) 38%, transparent) 0%,
      transparent 100%);
}

.fancy-rule-top,
.fancy-rule-bottom {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 max(14px, calc((100vw - 1300px) / 2 + 20px));
}
.fancy-rule-top    { top: 0;    transform: translateY(-50%); }
.fancy-rule-bottom { bottom: 0; transform: translateY(50%); }

.fancy-rule span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--amber);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 16%, transparent);
}

.pronation-note {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--highlight);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--highlight) 8%, #fff);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.pronation-note a {
  color: var(--highlight);
  font-weight: 600;
}

.tech-ref {
  color: var(--primary-mid);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: help;
}

.tech-ref:hover,
.tech-ref:focus-visible {
  color: var(--highlight);
  text-decoration-style: solid;
}

.tech-ref-bubble {
  position: absolute;
  z-index: 60;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--highlight);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary-dark) 22%, transparent);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.tech-ref-bubble strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13.5px;
  color: var(--primary-dark);
}

.tech-ref-bubble p {
  margin: 0;
}

.price-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 0 4px;
}

.price-sort-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .price-sort {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.active-filters {
  margin: 6px 0 0;
  padding: 7px 12px;
  border-left: 3px solid var(--highlight);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--highlight) 8%, #fff);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
}

:where(h2, h3, h4) + :where(p, ul, ol, table, figure, div, section) {
  margin-top: 10px;
}

.hp-blog {
  max-width: 1300px;
  margin: 50px auto 0;
  padding: 26px 24px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hp-blog > h2 {
  color: var(--primary-dark);
}

.hp-blog-lede {
  color: var(--muted);
  max-width: 62ch;
}

.hp-blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .hp-blog-list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

.hp-blog-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.hp-blog-list a:hover,
.hp-blog-list a:focus-visible {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary-dark);
  outline: none;
}

.hp-blog-list a:hover .hp-blog-title {
  text-decoration: underline;
}

.hp-blog-title {
  font-weight: 600;
  line-height: 1.4;
}

.hp-blog-date {
  flex: 0 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.hp-blog-all {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary-mid);
  font-weight: 600;
}

.hp-blog-all::after {
  content: " →";
}

@media (max-width: 499px) {
  .header-container { grid-template-columns: 1fr auto; }

  .logo-mark { width: 140px; }

  .site-logo {
    flex-direction: row-reverse;   
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .site-logo .tagline {
    flex: 1;
    order: 0;
    margin: 0;
    text-align: center;
    white-space: normal;
  }
}

@media (min-width: 500px) and (max-width: 1023px) {
  .site-logo { align-items: flex-start; }
}

header.menu-open {
  overflow: visible;
  z-index: 1000;
}

.back-to-top {
  border: 1px solid var(--primary-dark);
}

h1 {
  text-align: center;
}

.page-lede {
  margin: 8px auto 0;
  text-align: left;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.brands-page h2.sec { margin: 40px 0 4px; color: var(--primary-dark); }
.brands-page p.sec { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.bgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.bcard { background: var(--card); border: 1px solid var(--border); border-radius: 12px;
         padding: 16px 18px 18px; display: flex; flex-direction: column; }

.bc-logowrap { display: grid; place-items: center; height: 84px; margin: 0 0 12px;
               padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.bc-logo { max-width: 100%; object-fit: contain; }

.bc-wordmark { font-size: 1.35rem; font-weight: 700; color: var(--primary-dark); letter-spacing: .01em; }
.bc-logo[src$="adidas.svg"],
.bc-logo[src$="new-balance.svg"],
.bc-logo[src$="reebok.svg"],
.bc-logo[src$="skechers.svg"] { height: 76px; }
.bc-logo[src$="nike.svg"]     { height: 63px; }
.bc-logo[src$="salomon.svg"]  { height: 60px; }
.bc-logo[src$="puma.svg"]     { height: 54px; }
.bc-logo[src$="asics.svg"]    { height: 43px; }
.bc-logo[src$="hoka.svg"]     { height: 35px; }

.bc-logo[src$="brooks.png"]   { height: 51px; }

.bc-logo[src$="saucony.svg"]  { height: 46px; }

.bc-logo[src$="on.svg"]       { height: 68px; }

.bc-logo { max-height: 100%; }
.bc-year { margin: 0 0 12px; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.55; }
.bc-place { color: var(--primary-dark); font-weight: 600; }
.bc-src { color: #A0A8B8; font-style: italic; font-weight: 400; }

.bc-facts { grid-template-columns: 1fr !important; text-align: center; }
.bc-facts div + div { padding-top: 8px; border-top: 1px dashed var(--border); }
.bc-facts dd { font-size: 13px; }
.bc-count, .bc-count-label { color: inherit; text-decoration: none;
    border-bottom: 1px dotted color-mix(in srgb, var(--primary) 45%, transparent); }
.bc-count:hover, .bc-count-label:hover { color: var(--primary-mid);
    border-bottom-color: var(--primary-mid); }
.bc-pub { color: var(--highlight); }
.bc-priv { color: var(--muted); font-weight: 500; }

.sizes { display: block; }
.sizetable { max-width: 460px; margin-inline: auto; }
.sizenote { max-width: 74ch; margin-inline: auto; margin-top: 18px; }
.sizetable { width: 100%; border-collapse: collapse; background: var(--card);
             border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 14px; }
.sizetable caption { caption-side: top; text-align: center; padding: 0 0 6px;
                     font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sizetable th, .sizetable td { padding: 6px 12px; text-align: left;
                               border-bottom: 1px solid var(--border); }
.sizetable thead th { background: color-mix(in srgb, var(--primary) 7%, transparent);
                      font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sizetable tbody tr:last-child td { border-bottom: 0; }
.sizetable td b { color: var(--primary-dark); }
.sizenote { padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.sizenote b { color: var(--primary-dark); }
.bcard h3 { margin: 0; font-size: 1.15rem; color: var(--primary-dark); }
.bc-char { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--text); }
.bc-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 8px;
            padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bc-facts div { min-width: 0; }
.bc-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.bc-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--primary-dark); }

.bc-models {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.bc-models b { font-size: 14px; color: var(--primary-dark); }

.bc-thumbs { display: flex; flex-wrap: wrap; gap: 4px; margin-left: 2px; }

.bc-thumb {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  line-height: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.bc-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.bc-thumb:hover,
.bc-thumb:focus-visible { border-color: var(--primary); transform: translateY(-1px); }
.bc-thumb:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.bc-thumb-more {
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-mid);
  text-decoration: none;
  letter-spacing: 0;
}

.bc-bar { position: relative; height: 6px; border-radius: 999px; background: #EBEEF4; margin: 10px 0 4px; }
.bc-bar span { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--highlight); }
.bc-block { margin-top: 12px; }
.bc-block :is(h3, h4) { margin: 0 0 6px; font-size: 12px; text-transform: uppercase;
               letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.bc-techs { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-tech { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; text-decoration: none;
           background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary-dark);
           border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent); }
.bc-tech:hover { background: color-mix(in srgb, var(--primary) 16%, transparent); }
.bc-fit { opacity: .75; }
.bc-none { color: #8A93A6; font-style: italic; font-weight: 400; font-size: 13px; }
.bc-read { display: inline-block; font-size: 13.5px; font-weight: 600;
           color: var(--primary-mid); text-decoration: none; }
.bc-read:hover { text-decoration: underline; }
.bc-read.bc-none { font-weight: 400; }
.gaps { margin-top: 34px; background: var(--card); border: 1px solid var(--border);
        border-radius: 12px; padding: 16px 18px; }
.gaps h3 { margin: 0 0 8px; font-size: 1rem; color: var(--primary-dark); }
.gaps ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.peek {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  
  padding: 42px 18px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 18px 44px rgba(27, 40, 71, 0.24);
  color: var(--text);
  overflow: auto;
}

.peek::backdrop {
  background: color-mix(in srgb, var(--primary-dark) 55%, transparent);
}

.peek-x {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.peek-x:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--text); }
.peek-x:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.peek-head {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
  color: var(--muted);
}

.peek-pic {
  display: grid;
  place-items: center;
  height: 200px;
  
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  margin: 0 0 12px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.peek-pic img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.peek-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
}

.peek-price {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--highlight);
}

.peek-price[hidden] { display: none; }

.peek-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
}

.peek-nav[hidden] { display: none; }

.peek-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-mid);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.peek-arrow:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.peek-arrow:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.peek-dots { display: flex; align-items: center; gap: 4px; }

.peek-dot {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.peek-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 30%, transparent);
  transition: width 0.2s ease, background 0.2s ease;
}

.peek-dot.is-on::before { width: 16px; background: var(--primary-mid); }
.peek-dot:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  .peek-dot::before { transition: none; }
}

.peek-more {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.peek-more:hover { background: var(--primary-mid); }
.peek-more:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
