.armys-opticfinder-top {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}

.armys-opticfinder-top__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(6, 98, 83, 0.22);
  border-radius: 4px;
  background: #f5faf6;
  color: #063f36;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.armys-opticfinder-top__link:hover {
  background: #066253;
  color: #fff;
  text-decoration: none;
}

.armys-opticfinder-top__mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a5c73b;
  box-shadow: 0 0 0 4px rgba(165, 199, 59, 0.16);
}

.armys-opticfinder-page {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.armys-opticfinder-main {
  margin: 0;
}

.armys-opticfinder {
  margin: 0 0 48px;
  color: #111a16;
}

.armys-opticfinder__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: stretch;
  min-height: 238px;
  padding: 34px 36px;
  border-radius: 4px;
  background: #08241f;
  color: #fff;
}

.armys-opticfinder__hero h1 {
  max-width: 610px;
  margin: 0 0 20px;
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.24;
  text-transform: uppercase;
}

.armys-opticfinder__hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.armys-opticfinder__eyebrow {
  margin-bottom: 12px !important;
  color: #a5c73b !important;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.armys-opticfinder__hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: center;
}

.armys-opticfinder__hero-panel span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.armys-opticfinder__hero-panel img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.armys-opticfinder__progress {
  display: grid;
  grid-template-columns: repeat(var(--aof-progress-count, 4), minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: 28px 0 24px;
}

.armys-opticfinder__progress span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  color: #0a4d43;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.armys-opticfinder__progress span:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #cfdcd6;
}

.armys-opticfinder__progress span:first-child:before {
  left: 50%;
}

.armys-opticfinder__progress span:last-child:before {
  right: 50%;
}

.armys-opticfinder__progress b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dfe8e4;
  color: #0a4d43;
  font-size: 12px;
}

.armys-opticfinder__progress em {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 8px 0 0;
  background: #fff;
  font-style: normal;
  white-space: nowrap;
}

.armys-opticfinder__progress span.is-active b {
  background: #a5c73b;
  color: #fff;
}

.armys-opticfinder__progress[hidden] + .armys-opticfinder__workspace {
  margin-top: 46px;
}

.armys-opticfinder__workspace {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 24px;
}

.armys-opticfinder__side {
  border-right: 0;
  padding-right: 0;
}

.armys-opticfinder__back {
  width: 100%;
  min-height: 44px;
  margin-bottom: 16px;
  border: 1px solid #cfdcd6;
  border-radius: 4px;
  background: #fff;
  color: #0a4d43;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.aof-path-item {
  display: block;
  width: 100%;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  color: #0a4d43;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.aof-path-item:hover,
.aof-path-item:focus {
  color: #0a4d43;
  text-decoration: none;
}

.aof-path-item span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aof-path-item span:after {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid #a5c73b;
  border-radius: 50%;
  background: #fff;
}

.aof-path-item.is-current {
  color: #0a4d43;
}

.aof-path-item.is-current span:after {
  width: 12px;
  height: 12px;
  border: 2px solid #a5c73b;
  border-radius: 50%;
  background: #eef5e3;
}

.aof-screen-head {
  margin-bottom: 24px;
}

.aof-screen-head p,
.aof-result__body p {
  margin: 0 0 6px;
  color: #0a4d43;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aof-screen-head h2,
.aof-result__body h2 {
  margin: 0;
  color: #111a16;
  font-family: Oswald, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

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

.aof-card,
.aof-choice {
  width: 100%;
  min-height: 170px;
  border: 1px solid #dbe6e1;
  background: #fff;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.aof-card:hover,
.aof-choice:hover {
  border-color: #0a4d43;
  transform: translateY(-2px);
}

.aof-card__image {
  height: 135px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-color: #f3f7f4;
}

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

.aof-card__image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aof-card__image--empty span {
  width: 72px;
  height: 18px;
  border-radius: 20px;
  border: 3px solid #0a4d43;
  position: relative;
}

.aof-card__image--empty span:before,
.aof-card__image--empty span:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 5px;
  background: #0a4d43;
  transform: translateY(-50%);
}

.aof-card__image--empty span:before {
  right: 100%;
}

.aof-card__image--empty span:after {
  left: 100%;
}

.aof-card__content {
  display: block;
  padding: 18px 18px 20px;
}

.aof-card strong,
.aof-choice strong {
  display: block;
  color: #111a16;
  font-family: Oswald, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.aof-card small,
.aof-choice span {
  display: block;
  margin-top: 8px;
  color: #53645c;
  font-size: 14px;
  line-height: 1.45;
}

.aof-choice {
  padding: 22px;
}

.aof-result {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  min-height: 250px;
  border: 1px solid #dbe6e1;
  border-radius: 4px;
  background: #fff;
}

.aof-result__visual .aof-card__image {
  height: 100%;
  min-height: 250px;
  background-color: #fafcfb;
}

.aof-result__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px 22px 24px 0;
}

.aof-result__image {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.aof-result__body {
  position: relative;
  z-index: 1;
  padding: 28px 0 28px 28px;
}

.aof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.aof-tags span {
  padding: 7px 11px;
  border-radius: 2px;
  background: #edf4e3;
  color: #28331f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.aof-result__summary {
  margin: 0;
  color: #53645c;
  font-size: 15px;
  line-height: 1.55;
}

.aof-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: #066253;
  color: #fff;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aof-primary:hover {
  background: #0a4d43;
  color: #fff;
  text-decoration: none;
}

.armys-opticfinder__products-panel {
  margin-top: 0;
}

.aof-products-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 14px;
  color: #0a4d43;
  font-family: Oswald, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.aof-products-title:after {
  content: "";
  width: 34px;
  height: 2px;
  background: #a5c73b;
}

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

.aof-product {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  border: 1px solid #dbe6e1;
  border-radius: 5px;
  background: #fff;
  color: #111a16;
  padding: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.aof-product:hover {
  border-color: #0a4d43;
  box-shadow: 0 8px 18px rgba(8, 36, 31, 0.08);
  color: #111a16;
  text-decoration: none;
  transform: translateY(-2px);
}

.aof-product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  margin-bottom: 12px;
  background: #fbfcfb;
}

.aof-product img,
.aof-product__noimage {
  width: 100%;
  height: 100%;
  max-height: 132px;
  object-fit: contain;
  background: transparent;
}

.aof-product strong {
  display: block;
  min-height: 52px;
  color: #111a16;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.28;
}

.aof-product em {
  display: block;
  margin-top: auto;
  color: #0a4d43;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}

.aof-products-more {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}

.aof-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid #b9ccc4;
  border-radius: 4px;
  background: #fff;
  color: #0a4d43;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.aof-more:after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border: 1px solid currentColor;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg) translateY(-2px);
}

.aof-more:hover {
  border-color: #0a4d43;
  background: #f8fbf9;
}

.aof-empty {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed #cfdcd6;
  background: #f8fbf9;
  color: #53645c;
}

@media (max-width: 1199px) {
  .armys-opticfinder__hero,
  .armys-opticfinder__workspace,
  .aof-result {
    grid-template-columns: 1fr;
  }

  .armys-opticfinder__progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .armys-opticfinder__progress span {
    justify-content: center;
  }

  .armys-opticfinder__side {
    border-right: 0;
    border-bottom: 1px solid #dbe6e1;
    padding: 0 0 16px;
  }

  .aof-result__body {
    padding: 24px 24px 0;
  }

  .aof-result__visual {
    padding: 0 24px 24px;
  }

  .aof-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .armys-opticfinder__hero {
    padding: 26px 18px;
  }

  .armys-opticfinder__hero h1 {
    font-size: 34px;
  }

  .armys-opticfinder__hero-panel,
  .aof-grid {
    grid-template-columns: 1fr;
  }

  .armys-opticfinder__progress span {
    justify-content: flex-start;
  }

  .armys-opticfinder__progress {
    grid-template-columns: 1fr;
  }

  .armys-opticfinder__progress span:before {
    display: none;
  }

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

@media (max-width: 479px) {
  .aof-products {
    grid-template-columns: 1fr;
  }
}
