/* Reuse the manufacturer components and Latham comparison treatment. */
.meyco-cover-page {
  --meyco-tint: #e7eef4;
}

.meyco-cover-page h2[id] {
  scroll-margin-top: 7rem;
}

.meyco-cover-page .anchor-cover-hero-copy {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: stretch;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.meyco-cover-page .anchor-cover-intro {
  margin-bottom: 1rem;
}

.meyco-cover-hero-details {
  align-self: center;
  min-width: 0;
}

.meyco-cover-hero-guidance {
  max-width: 620px;
  margin: 0 auto 1rem;
  color: var(--anchor-muted);
}

.meyco-cover-page .anchor-cover-hero-copy h1 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
}

.meyco-cover-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.meyco-cover-dealer {
  min-width: 0;
  margin: 0;
  color: var(--anchor-navy-dark);
  text-align: left;
}

.meyco-cover-dealer strong {
  display: block;
}

.meyco-cover-page .anchor-cover-hero-photo img {
  aspect-ratio: auto;
}

.meyco-cover-logo {
  width: 120px;
  flex: 0 0 120px;
}

.meyco-cover-section-panel {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--anchor-border);
  border-radius: 8px;
}

.meyco-cover-section-panel.anchor-cover-standard {
  border-top: 5px solid var(--anchor-orange);
}

.meyco-cover-page .anchor-cover-standard-code {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.meyco-cover-material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meyco-cover-material-grid .anchor-cover-material-option {
  display: flex;
  flex-direction: column;
}

.meyco-cover-material-grid .anchor-cover-material-option-copy {
  flex: 1;
  padding: 1rem;
  background: var(--anchor-surface);
  text-align: center;
}

.meyco-cover-info-card,
.meyco-cover-request-grid > .anchor-cover-quote-panel {
  border: 1px solid var(--anchor-border);
  border-radius: 8px;
  background: #fff;
}

.meyco-cover-info-heading {
  padding: 1.5rem;
  border-bottom: 4px solid var(--anchor-orange);
  background: var(--anchor-navy);
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.meyco-cover-info-heading h2 {
  margin-bottom: .5rem;
  color: #fff;
  text-wrap: balance;
}

.meyco-cover-info-heading p {
  text-align: center;
}

.meyco-cover-info-heading p,
.meyco-cover-info-grid .anchor-cover-quote-panel > :last-child {
  margin-bottom: 0;
}

.meyco-cover-info-grid,
.meyco-cover-request-grid {
  align-items: stretch;
  border-top: 0;
}

.meyco-cover-info-grid > *,
.meyco-cover-request-grid > * {
  min-width: 0;
}

.meyco-cover-request-grid {
  gap: 1.5rem;
}

.meyco-cover-request-grid > .anchor-cover-quote-panel {
  border-top: 4px solid var(--anchor-orange);
  background: var(--meyco-tint);
}

.meyco-cover-request-grid .anchor-cover-request-list li {
  line-height: 1.65;
}

.meyco-cover-info-footer {
  margin: 0;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--anchor-border);
  border-radius: 0 0 8px 8px;
  background: var(--meyco-tint);
  text-align: center;
}

.meyco-cover-warranty-terms,
.meyco-cover-care-steps {
  margin-bottom: 1.25rem;
  text-align: center;
}

.meyco-cover-warranty-terms > div,
.meyco-cover-care-steps > div {
  padding: .75rem 0;
  border-bottom: 1px solid var(--anchor-border);
}

.meyco-cover-warranty-terms > div:first-child,
.meyco-cover-care-steps > div:first-child {
  padding-top: 0;
}

.meyco-cover-warranty-terms dd,
.meyco-cover-care-steps dd {
  margin: .25rem 0 0;
  line-height: 1.65;
}

.meyco-cover-care-grid .anchor-cover-quote-panel > p {
  text-align: center;
}

.meyco-cover-section-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--anchor-border);
  border-radius: 8px;
  background: var(--meyco-tint);
}

.meyco-cover-section-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: .5rem .25rem;
  color: var(--anchor-navy);
  text-underline-offset: .2em;
}

.meyco-cover-page a:focus-visible,
.meyco-cover-comparison:focus-visible {
  outline: 3px solid var(--anchor-orange);
  outline-offset: 3px;
}

.meyco-cover-comparison thead th {
  background: var(--anchor-navy);
  color: #fff;
}

.meyco-cover-comparison th,
.meyco-cover-comparison td {
  text-align: center;
  vertical-align: middle;
}

.meyco-cover-comparison .anchor-cover-table-colors {
  justify-content: center;
  flex-wrap: wrap;
}

.meyco-cover-comparison .anchor-cover-color-swatch:focus-visible {
  outline: 3px solid var(--anchor-orange);
  outline-offset: 3px;
}

.meyco-cover-comparison .anchor-cover-color-swatch:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.meyco-cover-comparison .meyco-cover-warranty-cell {
  padding-right: .5rem;
  padding-left: .5rem;
}

.meyco-cover-warranty-cell strong,
.meyco-cover-warranty-cell span {
  display: block;
}

.meyco-cover-warranty-cell span {
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--anchor-muted);
}

.meyco-cover-warranty-note {
  max-width: 70rem;
  margin: 1.5rem auto 0;
  text-align: center;
}

.meyco-cover-comparison thead th:nth-child(1) { width: 18%; }
.meyco-cover-comparison thead th:nth-child(2) { width: 8%; }
.meyco-cover-comparison thead th:nth-child(3) { width: 10%; }
.meyco-cover-comparison thead th:nth-child(4) { width: 12%; }
.meyco-cover-comparison thead th:nth-child(5) { width: 16%; }
.meyco-cover-comparison thead th:nth-child(6) { width: 16%; }
.meyco-cover-comparison thead th:nth-child(7) { width: 20%; }

@media (max-width: 991.98px) {
  .meyco-cover-page .anchor-cover-hero-media {
    order: 0;
  }

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

  .meyco-cover-comparison tbody td:nth-of-type(1)::before { content: "Material"; }
  .meyco-cover-comparison tbody td:nth-of-type(2)::before { content: "Weight"; }
  .meyco-cover-comparison tbody td:nth-of-type(3)::before { content: "Light Blockage"; }
  .meyco-cover-comparison tbody td:nth-of-type(4)::before { content: "Water Management"; }
  .meyco-cover-comparison tbody td:nth-of-type(5)::before { content: "Colors"; }
  .meyco-cover-comparison tbody td:nth-of-type(6)::before { content: "Limited Warranty"; }
}

@media (max-width: 767.98px) {
  .meyco-cover-section-panel {
    padding: 1.25rem 1rem;
  }

  .meyco-cover-material-grid {
    grid-template-columns: 1fr;
  }
}
