:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #667085;
  --line: #d7dde7;
  --surface: #ffffff;
  --soft: #f3f6f8;
  --accent: #0f766e;
  --accent-dark: #0b514c;
  --warn: #b45309;
  --danger: #b42318;
  --shadow: 0 18px 42px rgba(24, 33, 47, 0.1);
}

.seo-static-page {
  background: #f3f8f7;
}

.seo-static-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 70px;
}

.seo-product-hero,
.seo-list-hero,
.seo-product-card {
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.seo-product-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 32px;
  border-radius: 18px;
}

.seo-product-photo {
  display: grid;
  gap: 14px;
  min-height: 420px;
  background: linear-gradient(180deg, #f7fbfa 0%, #e5f3f1 100%);
  border-radius: 14px;
  overflow: hidden;
}

.seo-main-photo-frame {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 24px;
}

.seo-main-photo-frame img,
.seo-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seo-main-photo-frame img {
  max-width: 88%;
  max-height: 380px;
}

.seo-product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.seo-product-thumbs button {
  display: grid;
  place-items: center;
  height: 76px;
  padding: 6px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.seo-product-thumbs button:hover,
.seo-product-thumbs button.active {
  border-color: #0f766e;
  transform: translateY(-1px);
}

.seo-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seo-product-info h1,
.seo-list-hero h1 {
  margin: 10px 0 16px;
  color: #071321;
  line-height: 1.04;
}

.seo-product-info h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.seo-list-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
}

.seo-product-info p,
.seo-list-hero p {
  color: #506176;
  font-size: 17px;
  line-height: 1.65;
}

.seo-price {
  display: block;
  margin-bottom: 16px;
  color: #0f766e;
  font-size: 34px;
}

.seo-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 4px;
}

.seo-spec-grid span {
  display: grid;
  gap: 6px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 12px;
  background: #eef8f6;
}

.seo-spec-grid small {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.seo-spec-grid b {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.15;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-actions .public-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
}

.seo-actions .public-primary.light {
  color: #0f172a;
  background: #eef6f4;
}

.seo-actions .seo-order-main {
  background: #0f766e;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.seo-product-content,
.seo-similar-section,
.seo-trust-section {
  margin-top: 28px;
}

.seo-product-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.seo-product-content h2,
.seo-section-title-row h2 {
  margin: 8px 0 14px;
  color: #071321;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.seo-product-content p {
  max-width: 760px;
  margin: 0 0 14px;
  color: #506176;
  font-size: 17px;
  line-height: 1.7;
}

.seo-product-points {
  display: grid;
  gap: 12px;
}

.seo-product-points article,
.seo-trust-section article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 12px;
  background: #eef8f6;
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.seo-product-points strong,
.seo-trust-section strong {
  color: #0f766e;
  font-size: 18px;
}

.seo-product-points span,
.seo-trust-section span {
  color: #506176;
  line-height: 1.45;
}

.seo-section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.seo-section-title-row a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #0f766e;
  background: #e8f5f2;
  font-weight: 900;
  text-decoration: none;
}

.seo-similar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.seo-list-hero {
  margin-bottom: 22px;
  padding: 30px;
  border-radius: 18px;
}

.seo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.seo-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.seo-product-image {
  display: grid;
  place-items: center;
  height: 220px;
  padding: 12px;
  overflow: hidden;
  background: #e8f4f2;
}

.seo-product-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.seo-product-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #fff;
}

.seo-product-body p {
  margin: 0;
  color: #0f766e;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-product-body h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.seo-product-body h2 a {
  color: #0f172a;
  text-decoration: none;
}

.seo-product-body strong {
  color: #0f766e;
  font-size: 22px;
}

.eu-label-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 30px;
  align-items: stretch;
  margin-top: 28px;
  padding: 32px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfefe 54%, #eef8f6 100%);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.eu-label-empty {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.eu-label-copy h2 {
  max-width: 620px;
  margin: 10px 0 20px;
  color: #071321;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.eu-label-copy p,
.eu-label-empty p,
.eu-info-grid p {
  color: #506176;
  font-size: 16px;
  line-height: 1.6;
}

.eu-label-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}

.eu-label-metrics span,
.eu-label-icons span {
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 12px;
  background: #eaf7f4;
  color: #153b38;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.eu-label-metrics b {
  display: inline-grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  border-radius: 10px;
  color: #0f766e;
  background: #d5f0ea;
  font-size: 28px;
  line-height: 1;
}

.eu-label-metrics span:nth-child(3) b {
  width: 64px;
  font-size: 21px;
}

.eu-label-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
}

.eu-label-icons span {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #0f766e;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.eu-label-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  background: #0f766e;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
  transition: transform 0.18s ease, background 0.18s ease;
}

.eu-label-link:hover {
  background: #0b615a;
  transform: translateY(-1px);
}

.eu-label-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 18px;
  border-radius: 14px;
  background: #edf7f5;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.eu-label-image {
  max-width: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.12));
}

.eu-label-card {
  display: grid;
  gap: 14px;
  width: min(100%, 330px);
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.16);
}

.eu-label-card span {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.eu-class-scale {
  display: grid;
  gap: 4px;
}

.eu-class-row {
  width: calc(46% + (var(--row, 1) * 8%));
  min-height: 24px;
  padding: 3px 10px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  color: #fff;
  background: #94a3b8;
}

.eu-class-row:nth-child(1) { --row: 1; background: #138a43; }
.eu-class-row:nth-child(2) { --row: 2; background: #57a937; }
.eu-class-row:nth-child(3) { --row: 3; background: #f2c230; }
.eu-class-row:nth-child(4) { --row: 4; background: #f28c28; }
.eu-class-row:nth-child(5) { --row: 5; background: #d33b2f; }

.eu-class-row.active {
  outline: 3px solid #0f172a;
  outline-offset: 2px;
}

.eu-noise {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.eu-noise strong {
  display: block;
  color: #0f172a;
  font-size: 34px;
}

.eu-noise small {
  color: #506176;
  font-weight: 800;
}

.eu-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.eu-info-grid article {
  padding: 22px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.eu-info-grid h2 {
  margin: 0 0 10px;
  color: #071321;
}

@media (max-width: 980px) {
  .seo-product-hero {
    grid-template-columns: 1fr;
  }

  .seo-product-content {
    grid-template-columns: 1fr;
  }

  .seo-product-grid,
  .seo-similar-grid,
  .seo-trust-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eu-label-block,
  .eu-label-empty {
    grid-template-columns: 1fr;
  }

  .eu-label-metrics,
  .eu-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .seo-static-main {
    padding: 18px 12px 48px;
  }

  .seo-product-hero,
  .seo-list-hero {
    padding: 18px;
    border-radius: 12px;
  }

  .seo-product-photo {
    min-height: 300px;
  }

  .seo-main-photo-frame img {
    max-height: 270px;
  }

  .seo-product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seo-product-grid,
  .seo-similar-grid,
  .seo-trust-section,
  .seo-spec-grid {
    grid-template-columns: 1fr;
  }

  .seo-section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #eef2f3;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.quick-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.logout-button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.contact-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.contact-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.viber {
  background: #7360f2;
}

.telegram {
  background: #229ed9;
}

.email {
  background: #ea4335;
}

.contact-button.email {
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

main {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 100px);
  padding: 28px 16px;
}

.login-main {
  width: 100%;
  padding: 0;
}

.login-card {
  display: grid;
  gap: 18px;
  width: min(100%, 420px);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 8px 0;
  font-size: 34px;
  line-height: 1.05;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.login-button {
  min-height: 46px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.success-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.netlify-detect-form {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.login-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.login-error {
  padding: 10px 12px;
  color: var(--danger) !important;
  background: #fff3f1;
  border: 1px solid #ffd4cc;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 24px;
  min-height: 290px;
  padding: clamp(24px, 5vw, 54px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 29, 38, 0.92), rgba(13, 29, 38, 0.66)),
    url("https://images.unsplash.com/photo-1580273916550-e323be2ae537?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.55;
}

.eyebrow {
  color: #87f0d7 !important;
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 58px;
  line-height: 1;
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 1fr)) 170px;
  gap: 0;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 45, 105, 0.22);
}

.finder-section {
  margin: 0 calc(50% - 50vw) 30px;
  padding: 30px max(16px, calc((100vw - 1360px) / 2)) 24px;
  background:
    linear-gradient(135deg, rgba(7, 18, 30, 0.96), rgba(16, 55, 80, 0.94)),
    url("https://images.unsplash.com/photo-1580273916550-e323be2ae537?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.toolbar label {
  min-height: 72px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 7px;
  padding: 0 18px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.toolbar label span {
  font-size: 15px;
  line-height: 1;
}

.toolbar select {
  border: 0;
  padding: 0;
  min-height: auto;
  height: 28px;
  font-size: 17px;
  font-weight: 700;
}

.pick-button {
  min-height: 72px;
  color: #fff;
  background: #18b900;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
}

.finder-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px 170px 160px;
  gap: 12px;
  margin-top: 14px;
}

.finder-bottom .search-field,
.finder-bottom .stock-toggle,
.stock-pill,
.filter-reset-button {
  min-height: 56px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.filter-reset-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  font-weight: 800;
}

.filter-reset-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.stock-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 700;
}

.stock-pill strong {
  color: var(--ink);
  font-size: 26px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
button {
  font: inherit;
}

input[type="search"],
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.stock-toggle {
  grid-template-columns: 18px 1fr;
  align-items: center;
  align-self: end;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.recommendations-section {
  margin: 4px 0 34px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  font-size: 34px;
}

.section-title p {
  margin: 5px 0 0;
  color: var(--muted);
}

.recommendation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 16px;
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.view-toggle button {
  min-height: 36px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.view-toggle button.active {
  color: #fff;
  background: var(--accent);
}

.catalog-head h2 {
  margin: 0;
  font-size: 28px;
}

.catalog-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.ghost-button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--accent-dark);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
}

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

.catalog-grid.list-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 120px 150px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.row-main h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.row-main p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.row-stock {
  justify-self: start;
  padding: 7px 10px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
}

.row-stock.low {
  background: var(--warn);
}

.row-stock.out {
  background: var(--danger);
}

.row-price {
  font-size: 16px;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.row-photo-button,
.mini-contact {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.row-photo-button {
  padding: 0 12px;
  color: var(--accent-dark);
  background: #e4f7f3;
  font-weight: 800;
}

.mini-contact::before {
  color: #fff;
  font-weight: 900;
}

.mini-contact.viber::before {
  content: "V";
}

.mini-contact.telegram::before {
  content: "T";
}

.mini-contact.email::before {
  content: "G";
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.recommended-card {
  background: #fff1c7;
  border-color: #f4a900;
  box-shadow: 0 18px 38px rgba(180, 83, 9, 0.2);
}

.recommended-card .product-image {
  background: #fff8df;
  border-bottom-color: #f4c45b;
}

.recommended-card .meta-item {
  background: #ffe8a3;
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.main-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  padding: 14px;
}

.main-image-button {
  position: absolute;
  inset: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.thumb-strip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  max-width: calc(100% - 20px);
  overflow-x: auto;
  padding: 5px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 221, 231, 0.9);
  border-radius: 8px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #172033;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(24, 33, 47, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 118, 110, 0.45);
  color: var(--accent-dark);
}

.gallery-arrow-prev {
  left: 12px;
}

.gallery-arrow-next {
  right: 12px;
}

.thumb-button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.thumb-button.active {
  border-color: var(--accent);
}

.thumb-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.recommendation-badge {
  position: absolute;
  left: 12px;
  top: 48px;
  z-index: 2;
  padding: 6px 9px;
  color: #fff;
  background: #ff4329;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.badge.low {
  background: var(--warn);
}

.badge.out {
  background: var(--danger);
}

.product-body {
  display: grid;
  gap: 11px;
  padding: 13px;
}

.product-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

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

.meta-item {
  padding: 8px;
  background: var(--soft);
  border-radius: 6px;
}

.meta-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.meta-item strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.price {
  display: grid;
  gap: 2px;
}

.price span {
  color: var(--muted);
  font-size: 12px;
}

.price strong {
  font-size: 16px;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.empty-state {
  margin: 32px 0;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
}

body.modal-open {
  overflow: hidden;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 13, 20, 0.92);
}

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

.photo-modal-image {
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.photo-modal-close,
.photo-modal-arrow {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.photo-modal-close {
  top: 18px;
  right: 18px;
}

.photo-modal-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.photo-modal-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.photo-modal-close:hover,
.photo-modal-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 13, 20, 0.72);
}

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

.order-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(100%, 460px);
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.order-card h2 {
  margin: 6px 0 8px;
  font-size: 30px;
}

.order-product {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.order-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #f3f6f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
}

.order-card input,
.order-card textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  resize: vertical;
}

.order-submit {
  min-height: 46px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.order-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
}

.order-status.success {
  color: #065f46;
  background: #dff8ed;
}

.order-status.error {
  color: var(--danger);
  background: #fff3f1;
}

.public-site {
  background: #f4f7f8;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(16px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.public-login {
  padding: 10px 14px;
  color: #fff !important;
  background: var(--accent);
  border-radius: 8px;
}

.public-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 34px;
  min-height: 520px;
  margin: 0 calc(50% - 50vw) 58px;
  padding: clamp(34px, 7vw, 82px) max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.94), rgba(7, 18, 30, 0.56)),
    url("https://images.unsplash.com/photo-1532974297617-c0f05fe48bff?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.public-hero h1 {
  max-width: 780px;
  margin: 10px 0 18px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.98;
}

.public-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.55;
}

.public-actions,
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.public-primary,
.public-secondary {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  border: 0;
  cursor: pointer;
}

.public-primary {
  color: #fff;
  background: var(--accent);
}

.public-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.public-stats {
  display: grid;
  gap: 12px;
}

.public-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.public-stats strong {
  display: block;
  font-size: 34px;
}

.public-stats span {
  color: rgba(255, 255, 255, 0.78);
}

.public-section,
.public-selection,
.public-contact {
  margin-bottom: 54px;
}

.public-section-head {
  margin-bottom: 18px;
}

.retail-showcase {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(244, 247, 248, 0.96)),
    #ffffff;
  border: 1px solid #cfe2df;
  box-shadow: 0 18px 45px rgba(24, 33, 47, 0.09);
}

.retail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.retail-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.retail-card {
  display: grid;
  grid-template-rows: 238px 1fr;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5e4e1;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(20, 31, 44, 0.08);
}

.retail-card.skeleton {
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    #e6efed;
}

.retail-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 238px;
  padding: 18px;
  overflow: hidden;
  background: #f6fbfa;
  border-bottom: 1px solid #dbe7e5;
}

.retail-image img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  display: block;
}

.retail-badge {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.retail-badge {
  top: 12px;
  left: 12px;
  color: #063f3c;
  background: #c7fff0;
}

.retail-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px;
}

.retail-brand {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.retail-body h3 {
  display: -webkit-box;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.retail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.retail-meta span {
  padding: 6px 8px;
  color: #39515b;
  background: #eef5f3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.retail-description {
  display: none;
}

.retail-card-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.retail-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.retail-card-links a {
  flex: 1 1 auto;
  min-width: 76px;
  padding: 8px 9px;
  color: #0f766e;
  background: #eef8f6;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.retail-details-link,
.brand-grid a,
.popular-size-links a {
  color: #0f766e;
  font-weight: 900;
  text-decoration: none;
}

.retail-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  padding-top: 4px;
}

.retail-bottom span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.retail-bottom strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
}

.retail-order {
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

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

.public-section h2,
.public-selection h2,
.public-contact h2 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
}

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

.brand-grid article,
.benefit-grid article,
.selection-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(24, 33, 47, 0.08);
}

.brand-grid h3,
.benefit-grid h3 {
  margin: 0 0 10px;
}

.brand-grid p,
.benefit-grid p,
.public-selection p,
.public-contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tiktok-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 54px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 16%, rgba(15, 118, 110, 0.16), transparent 32%),
    linear-gradient(135deg, #071321 0%, #102432 52%, #0f3f3a 100%);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(24, 33, 47, 0.14);
}

.tiktok-copy .eyebrow {
  color: #79f2d6;
}

.tiktok-copy h2 {
  max-width: 620px;
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.tiktok-copy p {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.tiktok-main-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #071321;
  background: #79f2d6;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(121, 242, 214, 0.16);
}

.tiktok-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tiktok-preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 18px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 19, 33, 0.1), rgba(7, 19, 33, 0.9)),
    url("https://res.cloudinary.com/dgqzo9bwe/image/upload/v1779442460/images_jzylph.jpg") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.tiktok-preview-card.accent {
  background:
    linear-gradient(180deg, rgba(7, 19, 33, 0.04), rgba(7, 19, 33, 0.9)),
    url("https://res.cloudinary.com/dgqzo9bwe/image/upload/v1779441951/co-technologyintelligenttires-image-en-plt_ddkedh.webp") center/cover;
}

.tiktok-preview-card.dark {
  background:
    linear-gradient(180deg, rgba(7, 19, 33, 0.08), rgba(7, 19, 33, 0.92)),
    url("https://res.cloudinary.com/dgqzo9bwe/image/upload/v1779442374/uniroyal-pp-markenkampagne-1_tlgmdy.webp") center/cover;
}

.tiktok-preview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 242, 214, 0.7);
}

.tiktok-play {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #071321;
  background: rgba(121, 242, 214, 0.96);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.tiktok-preview-card strong {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.16;
}

.tiktok-preview-card small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  line-height: 1.35;
}

.public-selection,
.public-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: #eaf3f1;
  border: 1px solid #c9dfda;
}

.selection-card {
  display: grid;
  gap: 12px;
}

.retail-page {
  background: #f3f7f6;
}

.retail-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.retail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: 520px;
  margin: 0 calc(50% - 50vw) 34px;
  padding: 0;
  color: #fff;
  background: #07151e;
}

.retail-hero h1 {
  max-width: 820px;
  margin: 10px 0 16px;
  font-size: clamp(38px, 7vw, 70px);
  line-height: 0.98;
}

.retail-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
}

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

.hero-slider {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  min-height: 520px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 20, 31, 0.78), rgba(5, 20, 31, 0.18) 55%, rgba(5, 20, 31, 0.72));
}

.hero-slide-copy {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(34px, 6vw, 72px);
}

.hero-slide-copy span {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 22px;
  color: #052f2d;
  background: #a7fff0;
  border-radius: 999px;
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-slide-copy strong {
  display: block;
  max-width: 460px;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.hero-slide-copy p {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(5, 20, 31, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  transform: translateY(-50%);
}

.hero-slider-prev {
  left: 14px;
}

.hero-slider-next {
  right: 14px;
}

.hero-slider-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.hero-slider-dots button.active {
  width: 26px;
  background: #a7fff0;
  border-radius: 999px;
}

.retail-hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.retail-hero-panel span,
.retail-hero-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.retail-hero-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 58px;
  line-height: 1;
}

.retail-catalog {
  margin-bottom: 54px;
  padding: 26px;
  background: #fff;
  border: 1px solid #d5e4e1;
  box-shadow: 0 18px 45px rgba(24, 33, 47, 0.08);
}

.retail-finder {
  position: relative;
  z-index: 2;
  margin: -46px 0 36px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(255, 255, 255, 0.98)),
    #fff;
  border: 1px solid #cde3df;
  box-shadow: 0 20px 48px rgba(20, 31, 44, 0.12);
}

.retail-finder-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.retail-finder-head h2 {
  margin: 7px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.retail-finder-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.retail-catalog-head h2 {
  max-width: 780px;
  margin: 8px 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
}

.retail-catalog-head p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.retail-count {
  flex: 0 0 auto;
  padding: 12px 14px;
  color: #063f3c;
  background: #d9fbef;
  border: 1px solid #a8ead6;
  border-radius: 8px;
  font-weight: 900;
}

.retail-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(118px, 1fr)) auto;
  gap: 10px;
  margin-bottom: 0;
  padding: 12px;
  background: #10262d;
  border-radius: 8px;
}

.retail-toolbar label {
  display: grid;
  gap: 6px;
  min-height: 64px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 6px;
}

.retail-toolbar label:nth-child(6),
.retail-toolbar label:nth-child(7),
.retail-toolbar label:nth-child(8) {
  grid-column: auto;
}

.retail-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.retail-toolbar input,
.retail-toolbar select {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 900;
}

.retail-reset {
  min-height: 64px;
  padding: 0 16px;
  color: #fff;
  background: #35515c;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.finder-refresh {
  margin: -34px 0 42px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  scroll-margin-top: 92px;
}

.finder-refresh .retail-finder-head {
  display: none;
}

.finder-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1060px, calc(100% - 52px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px 34px 0 0;
}

.finder-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 88px;
  padding: 18px 24px;
  color: #2f3946;
  background: #dce4f3;
  border: 0;
  cursor: pointer;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
}

.finder-tab.active {
  color: #fff;
  background: #4f7fd8;
}

.finder-tab-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #111827;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.finder-tab.active .finder-tab-icon {
  color: #fff;
}

.finder-car-icon {
  position: relative;
  width: 100px;
  height: 42px;
}

.finder-car-icon::before {
  position: absolute;
  inset: 8px 4px 10px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 24px 34px 16px 16px;
}

.finder-car-icon::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 18px;
  content: "";
  background:
    radial-gradient(circle, currentColor 0 8px, transparent 9px) left center / 32px 18px no-repeat,
    radial-gradient(circle, currentColor 0 8px, transparent 9px) right center / 32px 18px no-repeat;
}

.finder-refresh .retail-toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(122px, 1fr)) minmax(164px, 0.92fr) minmax(110px, 0.62fr);
  gap: 18px;
  align-items: center;
  min-height: 190px;
  margin: 0;
  padding: 46px clamp(34px, 5vw, 76px) 38px;
  overflow: hidden;
  background: #dce4f3;
  border-radius: 0 34px 0 0;
  box-shadow: 0 22px 54px rgba(42, 72, 118, 0.14);
}

.finder-refresh .retail-toolbar label {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.finder-refresh .retail-toolbar label:has(#retailSearch) {
  display: none;
}

.finder-refresh .retail-toolbar label:nth-child(2),
.finder-refresh .retail-toolbar label:nth-child(5),
.finder-refresh .retail-toolbar label:nth-child(6),
.finder-refresh .retail-toolbar label:nth-child(7),
.finder-refresh .retail-toolbar label:nth-child(8) {
  grid-column: auto;
}

.finder-refresh .retail-toolbar span {
  color: #243243;
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  line-height: 1.15;
}

.finder-refresh .retail-toolbar input,
.finder-refresh .retail-toolbar select {
  display: block;
  min-height: 58px;
  padding: 0 26px 0 16px;
  color: #293340;
  background: #fff;
  border: 1px solid rgba(80, 90, 105, 0.32);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 58px;
  text-align: center;
  text-align-last: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.finder-refresh .retail-toolbar input::placeholder {
  color: #667085;
}

.retail-search-button {
  min-height: 58px;
  padding: 0 24px;
  color: #fff;
  background: #4f7fd8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(79, 127, 216, 0.18);
}

.finder-refresh .retail-reset {
  min-height: 58px;
  padding: 0 14px;
  color: #38506d;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 14px;
}

.retail-grid.full-catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.retail-title-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.retail-price {
  color: #0f766e;
  font-size: 24px;
  line-height: 1.05;
}

.retail-card .retail-order {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
}

.seo-local-section,
.popular-sizes-section,
.why-buy-section,
.product-page-section {
  margin-bottom: 42px;
}

.seo-local-section {
  padding: 26px;
  background: #fff;
  border: 1px solid #d5e4e1;
  box-shadow: 0 12px 34px rgba(24, 33, 47, 0.07);
}

.seo-local-section h2,
.popular-sizes-section h2,
.why-buy-section h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
}

.seo-local-section p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.popular-size-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-size-links a {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d5e4e1;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 33, 47, 0.06);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
  background: #fff;
  border: 1px solid #d5e4e1;
  box-shadow: 0 18px 45px rgba(24, 33, 47, 0.08);
}

.product-detail-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 20px;
  background: radial-gradient(circle at 50% 45%, #ffffff 0, #f2f7f6 48%, #dcebe8 100%);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-body {
  display: grid;
  align-content: start;
  gap: 16px;
}

.product-detail h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

.product-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.brand-grid a {
  display: inline-block;
  margin-top: 14px;
}

.retail-details-link {
  align-self: start;
}

.retail-recommendations {
  margin-bottom: 34px;
  padding: 24px 0 8px;
}

.retail-recommendation-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
}

.retail-recommendation-rail .retail-card {
  flex: 0 0 286px;
  scroll-snap-align: start;
}

.retail-recommended-card {
  border-color: #6ee7d8;
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.16);
}

.retail-more {
  display: grid;
  place-items: center;
  min-height: 48px;
  margin: 20px auto 0;
  padding: 0 24px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.retail-more[hidden] {
  display: none;
}

@media (max-width: 920px) {
  .finder-tabs {
    grid-template-columns: 1fr;
    border-radius: 24px 24px 0 0;
  }

  .finder-tab {
    min-height: 68px;
    font-size: 22px;
  }

  .finder-refresh .retail-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: auto;
    padding: 30px 18px 22px;
    border-radius: 0 0 24px 24px;
  }

  .finder-refresh .retail-toolbar label:nth-child(2),
  .finder-refresh .retail-toolbar label:nth-child(5),
  .finder-refresh .retail-toolbar label:nth-child(6),
  .finder-refresh .retail-toolbar label:nth-child(7),
  .finder-refresh .retail-toolbar label:nth-child(8) {
    grid-column: auto;
  }

  .finder-refresh .retail-reset {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .finder-refresh {
    margin-top: -18px;
  }

  .finder-tab {
    justify-content: flex-start;
    min-height: 62px;
    padding: 14px 18px;
    font-size: 18px;
  }

  .finder-tab-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .finder-car-icon {
    width: 70px;
    height: 34px;
  }

  .finder-refresh .retail-toolbar {
    grid-template-columns: 1fr;
    padding: 24px 14px 18px;
  }

  .finder-refresh .retail-toolbar span {
    font-size: 16px;
    text-align: left;
  }

  .finder-refresh .retail-toolbar input,
  .finder-refresh .retail-toolbar select,
  .retail-search-button {
    min-height: 54px;
    font-size: 18px;
  }

}

@media (max-width: 920px) {
  .public-header,
  .public-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-hero,
  .tiktok-section,
  .public-selection,
  .public-contact {
    grid-template-columns: 1fr;
  }

  .brand-grid,
  .benefit-grid,
  .tiktok-preview-grid,
  .retail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .retail-hero,
  .retail-catalog-head {
    grid-template-columns: 1fr;
  }

  .retail-hero,
  .retail-catalog-head {
    display: grid;
  }

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

  .retail-reset {
    grid-column: 1 / -1;
  }

  .retail-finder {
    margin-top: -28px;
  }

  .retail-grid.full-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .public-header {
    position: static;
  }

  .public-nav {
    display: none;
  }

  .public-hero {
    min-height: 560px;
  }

  .brand-grid,
  .benefit-grid,
  .tiktok-preview-grid,
  .retail-grid {
    grid-template-columns: 1fr;
  }

  .tiktok-section {
    padding: 20px;
  }

  .tiktok-preview-card {
    min-height: 190px;
  }

  .retail-showcase {
    margin-right: -10px;
    margin-left: -10px;
    padding: 20px 10px;
  }

  .retail-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 6px 10px;
    scroll-snap-type: x mandatory;
  }

  .retail-card {
    flex: 0 0 84%;
    max-width: 340px;
    min-height: 540px;
    scroll-snap-align: start;
  }

  .retail-main {
    width: min(100% - 20px, 1240px);
  }

  .retail-hero {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

  .hero-slider,
  .hero-slide {
    min-height: 430px;
  }

  .hero-slide-copy {
    padding-bottom: 28px;
  }

  .retail-catalog {
    padding: 18px 10px;
  }

  .retail-toolbar {
    grid-template-columns: 1fr;
  }

  .retail-finder {
    margin-top: -22px;
    padding: 16px 10px;
  }

  .retail-grid.full-catalog {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
  }

  .retail-grid.full-catalog .retail-card {
    flex: initial;
    max-width: none;
  }

  .retail-recommendation-rail .retail-card {
    flex: 0 0 84%;
    max-width: 340px;
  }
}

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

  .toolbar label,
  .pick-button {
    min-height: 60px;
  }

  .finder-bottom {
    grid-template-columns: 1fr;
  }

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

  .product-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .row-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .topbar {
    min-height: 64px;
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .finder-section {
    padding-top: 18px;
  }

  .catalog-head {
    align-items: stretch;
    flex-direction: column;
  }

  .view-toggle {
    align-self: stretch;
  }

  .view-toggle button {
    flex: 1;
  }

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

  .recommendations-section {
    margin-right: -10px;
    margin-left: -10px;
    padding-left: 10px;
  }

  .recommendations-section .section-title {
    padding-right: 10px;
  }

  .recommendation-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 10px 12px 0;
    scroll-snap-type: x mandatory;
  }

  .recommendation-grid .product-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
  }

  .product-card {
    grid-template-rows: auto 1fr;
  }
}

@media (max-width: 920px) {
  .finder-refresh {
    padding: 0;
  }

  .finder-refresh .retail-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .finder-refresh {
    padding: 0;
  }

  .finder-refresh .retail-toolbar {
    grid-template-columns: 1fr;
  }
}
