.high-myopia-page,
.high-myopia-page *,
.high-myopia-page *::before,
.high-myopia-page *::after {
  box-sizing: border-box;
}

.high-myopia-page {
  --hm-ink: #2c252b;
  --hm-soft: #f6f6f6;
  --hm-line: #dedede;
  --hm-accent: #d95a38;
  color: var(--hm-ink);
  font-size: 16px;
  line-height: normal;
  overflow: hidden;
}

.high-myopia-page img {
  display: block;
  height: auto;
  max-width: 100%;
}

.high-myopia-page h1,
.high-myopia-page h2,
.high-myopia-page h3,
.high-myopia-page p,
.high-myopia-page figure,
.high-myopia-page ul {
  line-height: normal;
  margin: 0;
}

.hm-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}

.hm-section {
  padding-bottom: clamp(64px, 4.69vw, 90px);
  padding-top: clamp(64px, 4.69vw, 90px);
}

.hm-section-title {
  font-size: clamp(28px, 1.88vw, 36px);
  font-weight: 600;
  margin-bottom: clamp(24px, 1.67vw, 32px) !important;
}

.hm-hero {
  color: #fff;
  position: relative;
}

.hm-hero__media,
.hm-hero__media img {
  display: block;
  width: 100%;
}

.hm-hero__copy {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hm-hero__copy h1 {
  font-size: clamp(44px, 3.125vw, 60px);
  font-weight: 700;
  max-width: 680px;
}

.hm-hero__copy p {
  font-size: 24px;
  margin-top: 20px;
  max-width: 580px;
}

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

.hm-matter-card {
  border: 1px solid var(--hm-line);
  padding: clamp(18px, 1.25vw, 24px);
}

.hm-matter-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.hm-matter-card__media {
  display: block;
  width: 100%;
}

.hm-matter-card__media img {
  width: 100%;
}

.hm-matter-card > p,
.hm-thickness-labels p {
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
  text-align: left;
}

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

.hm-thickness-labels p {
  margin-top: 0;
}

.hm-thickness-labels p > span {
  display: block;
}

.hm-thickness-result {
  color: var(--hm-ink);
  margin-top: 5px;
}

.hm-section-note {
  font-size: 16px;
  margin-top: 40px !important;
  text-align: center;
  font-style: italic;
}

.hm-comparisons {
  background: var(--hm-soft);
}

.hm-dual-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 610px 1fr;
}

.hm-guide-block {
  min-width: 0;
}

.hm-shape-panel {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-shape-column {
  background: #fff;
  padding: 28px 12px 30px;
}

.hm-shape-column > h3 {
  align-items: center;
  color: #000;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 400;
  gap: 4px;
  margin-bottom: 16px;
  text-align: center;
}

.hm-shape-column > h3 .hm-shape-status-icon {
  display: block;
  height: 36px;
  object-fit: contain;
  width: 36px;
}

.hm-shape-choice {
  align-items: center;
  background: #f6f6f6;
  display: grid;
  gap: 12px;
  grid-template-columns: 50px minmax(0, 1fr);
  min-height: 82px;
  padding: 14px;
}

.hm-shape-choice + .hm-shape-choice {
  border-top: 0;
}

.hm-shape-choice picture {
  align-items: center;
  display: flex;
  height: 20px;
  justify-content: center;
  margin: 0 auto;
  width: 50px;
}

.hm-shape-choice img {
  height: 20px;
  object-fit: contain;
  width: 50px;
}

.hm-shape-choice p {
  font-size: 16px;
}

.hm-shape-choice strong,
.hm-shape-choice span {
  display: block;
}

.hm-shape-choice span {
  
  margin-top: 5px;
}

.hm-rule {
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
  font-size: 16px;
  margin-top: 18px !important;
  padding: 14px 26px;
  text-align: left;
}

.hm-frame-table {
  background: #fff;
  padding:32px 40px;
}

.hm-frame-table__header,
.hm-frame-table__row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 110px 160px minmax(0, 1fr);
  padding: 20px;
}

.hm-frame-table__header {
  border-bottom: 1px solid var(--hm-line);
  font-size: 16px;
  font-weight: 600;
}

.hm-frame-table__row + .hm-frame-table__row {
  border-top: 1px solid var(--hm-line);
}

.hm-frame-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hm-frame-type picture {
  width: 50px;
  height: 20px;
}

.hm-frame-type img {
  object-fit: contain;
}

.hm-frame-type strong,
.hm-frame-table__row p,
.hm-verdict {
  font-size: 16px;
}


.hm-dual-grid--sizing {
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 50px;
}

.hm-dual-grid--sizing > .hm-guide-block {
  display: flex;
  flex-direction: column;
}

.hm-sizing-panel,
.hm-material-table {
  flex: 1;
}

.hm-sizing-panel {
  background: #f6f6f6;
  padding: 54px 30px
}

.hm-sizing-list {
  display:flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  padding: 0;
}

.hm-sizing-list li {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 65px minmax(0, 1fr);
}

.hm-sizing-list li + li {
  border-top: 0;
}

.hm-sizing-list picture,
.hm-sizing-list img {
  margin: 0 auto;
}

.hm-tip {
  font-size: 16px;
  margin-top: 42px !important;
  font-style: italic;
  color: #2C252B;
}


.hm-material-table {
  background: #fff;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #999;
  table-layout: fixed;
  width: 100%;
}

.hm-material-table__material-col {
  width: 275px;
}

.hm-material-table th,
.hm-material-table td {
  border: 1px solid #999;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 22px;
  text-align: center;
  vertical-align: middle;
}

.hm-material-table th {
  font-weight: 500;
}

.hm-material-cell {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 110px minmax(0, 1fr);
}

.hm-material-cell picture {
  display: block;
  width: 100%;
}

.hm-material-cell img {
  aspect-ratio: 125 / 75;
  object-fit: cover;
  width: 100%;
}

.hm-sizing-materials {
  color: #000;
}

.hm-design-tricks {
  padding-top: 0;
}

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

.hm-design-card {
  background: #fff;
  border: 1px solid var(--hm-line);
  padding: 24px;
}
.hm-design-card:not(:last-child) {
  border-right: 0;
}

.hm-design-card picture,
.hm-design-card > img,
.hm-design-card picture img {
  aspect-ratio: 580 / 354;
  object-fit: cover;
  width: 100%;
}

.hm-design-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 16px;
}

.hm-design-card p {
  
  font-size: 16px;
  margin-top: 8px;
}

.hm-lens-display {
  margin: 60px auto 0 !important;
  max-width: 906px;
  text-align: center;
}

.hm-lens-display picture,
.hm-lens-display img {
  width: 100%;
  max-width: 506px;
  margin: 0 auto;
}

.hm-lens-display figcaption {  
  font-size: 18px;
  margin-top: 22px;
}

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

.hm-fit-card picture,
.hm-fit-card > img,
.hm-fit-card picture img {
  aspect-ratio: 11 / 12;
  object-fit: cover;
  width: 100%;
}

.hm-fit-card p {
  
  font-size: 16px;
  margin-top: 16px;
}

.hm-fit-card p strong {
  color: var(--hm-ink);
}

.hm-summary {
  padding-top: 30px;
}

.hm-summary__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  max-width: 1240px;
  padding-left: 0;
  padding-right: 0;
}

.hm-summary__media,
.hm-summary__media img {
  height: 100%;
  width: 100%;
}

.hm-summary__media img {
  object-fit: cover;
}

.hm-summary__checklist {
  background: #2c252b;
  color: #fff;
  padding: clamp(30px, 2.6vw, 50px);
}

.hm-summary__checklist h2 {
  font-size: clamp(28px, 1.88vw, 36px);
  font-weight: 600;
}

.hm-summary__checklist ul {
  display: grid;
  gap: 16px;
  list-style: none;
  margin-top: 28px;
  padding: 0;
}

.hm-summary__checklist li {
  align-items: flex-start;
  display: flex;
  font-size: 16px;
  gap: 12px;
}

.hm-summary__checklist .iconfont {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
  margin-top: 1px;
  width: 21px;
  height: 21px;
  background: var(--primary);
  border-radius: 50%;
}

.hm-collection .weidu-topic-collection {
  padding-top: clamp(40px, 3.13vw, 60px);
}

.high-myopia-page .faq-answer-content a {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .hm-dual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hm-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hm-section {
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .hm-section-title {
    font-size: 28px;
    margin-bottom: 10px !important;
  }
  .hm-hero{
    color:var(--hm-ink);
  }
  .hm-hero__copy {
    left: 0;
    padding-left: 20px;
    padding-right: 20px;
    top: 48px;
    transform: none;
  }

  .hm-hero__copy h1 {
    font-size: clamp(36px, 10vw, 44px);
    max-width: 100%;
  }

  .hm-hero__copy p {
    font-size: 16px;
    margin-top: 8px;
    max-width: 100%;
  }

  .hm-matter-grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .hm-matter-card {
    padding: 16px;
  }

  .hm-matter-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .hm-matter-card > p,
  .hm-thickness-labels p,
  .hm-section-note {
    font-size: 16px;
  }

  .hm-section-note {
    margin-top: 28px !important;
    text-align: left;
  }

  .hm-dual-grid {
    gap: 46px;
  }


.hm-fit-card picture,
.hm-fit-card > img,
.hm-fit-card picture img {
  aspect-ratio: 36 / 48;
}
  .hm-shape-column {
    padding: 36px 12px;
  }

  .hm-shape-panel {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .hm-shape-column > h3 {
    font-size: 24px;
  }

  .hm-shape-choice {
    gap: 8px;
    grid-template-columns: 65px minmax(0, 1fr);
    padding: 14px 8px;
  }
  .hm-shape-choice:not(:last-child) {
    padding-bottom: 0;
  }

  .hm-shape-choice picture,
  .hm-shape-choice img {
    height: 28px;
    width: 65px;
  }

  .hm-shape-choice p,
  .hm-rule {
    font-size: 16px;
  }
  .hm-frame-table{
    padding:0;
  }
  .hm-frame-table__header, .hm-frame-table__row {
    gap: 0;
    grid-template-columns: 100px 90px minmax(0, 1fr);
    padding: 16px 16px;
  }


  .hm-frame-type {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    grid-row: span 2;
  }

  .hm-frame-type picture {
    flex-basis: auto;
    width: 68px;
    height: auto;
  }
  .hm-frame-type picture img {
    max-width: none;
    width: 100%;
    height: auto;
}

  .hm-frame-type strong,
  .hm-frame-table__row p,
  .hm-verdict {
    font-size: 14px;
    padding: 0 4px;
  }

  .hm-sizing-panel{
    padding: 38px 15px;
  }
  .hm-sizing-list li {
    gap: 16px;
    grid-template-columns: 65px minmax(0, 1fr);
  }
  .hm-material-table th, .hm-material-table td{
    padding: 15px 10px;
  }
  .hm-material-table__material-col {
    width: 146px;
  }

  .hm-material-cell {
    gap: 9px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hm-design-grid{
    display: flex;
    gap: 0;
    margin-right: -20px;
    margin-left: -20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-fit-grid {
    display: flex;
    gap: 12px;
    margin-right: -20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hm-design-grid::-webkit-scrollbar,
  .hm-fit-grid::-webkit-scrollbar {
    display: none;
  }

  .hm-fit{
    padding-top: 0;
  }
  .hm-design-card,
  .hm-fit-card {
    flex: 0 0 calc(100vw - 70px);
    scroll-snap-align: start;
  }

  .hm-design-card {
    padding:20px 16px;
  }

  .hm-design-card h3 {
    font-size: 18px;
  }

  .hm-design-card p,
  .hm-lens-display figcaption,
  .hm-fit-card p {
    font-size: 16px;
  }

  .hm-lens-display {
    margin-top: 32px !important;
  }

  .hm-lens-display figcaption {
    margin-top: 16px;
    font-size: clamp(12px, 3.7vw, 16px);
  }

  .hm-fit-card {
    background: #fff;
  }

  .hm-summary {
    padding-bottom: 48px;
    padding-top: 12px;
  }

  .hm-summary__layout {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hm-summary__media,
  .hm-summary__media img {
    height: auto;
  }

  .hm-summary__checklist {
    padding: 28px 20px 32px;
  }

  .hm-summary__checklist h2 {
    font-size: 28px;
  }

  .hm-summary__checklist ul {
    gap: 14px;
    margin-top: 22px;
  }

  .hm-summary__checklist li {
    font-size: 16px;
    align-items: center;
  }

  .hm-collection .weidu-topic-collection {
    padding-top: 28px;
  }
  .hm-rule{
    padding: 15px;
  }
}
