/* ==========================================================================
   Edglow - footer legibility boost
   Same layout and palette, stronger type so the footer reads as clearly as
   the rest of the site.
   ========================================================================== */

.edg-footer-pro {
  --muted: #4A5A55;   /* was #5F6D68 - deeper for real contrast */
  --text:  #14302B;
}

/* ------------------------------------------------------ assurance row --- */

.edg-footer-pro .edg-assure__intro {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.72 !important;
  color: #3F4F4A !important;
}

.edg-footer-pro .edg-assure__copy,
.edg-footer-pro .edg-assure__copy p,
.edg-footer-pro .edg-assure__copy span {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  color: #2C403B !important;
}

.edg-footer-pro .edg-assure__copy strong,
.edg-footer-pro .edg-assure__copy b {
  font-weight: 700 !important;
  color: #0A2E2A !important;
}

/* ---------------------------------------------------------- brand col --- */

.edg-footer-pro .edg-brand__about,
.edg-footer-pro .edg-brand__tag {
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
  color: #3F4F4A !important;
}

.edg-footer-pro .edg-contact-label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .13em !important;
  color: #7A6444 !important;
}

.edg-footer-pro .edg-contact-text,
.edg-footer-pro .edg-contact-text a {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: #14302B !important;
}

.edg-footer-pro .edg-contact-text a:hover { color: #123F39 !important; }

/* ------------------------------------------------------------ headings --- */

.edg-footer-pro .edg-footer-heading {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .15em !important;
  color: #0A2E2A !important;
  opacity: 1 !important;
}

/* --------------------------------------------------------------- links --- */

.edg-footer-pro .edg-footer-links a,
.edg-footer-pro .edg-footer-links li a {
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #2C403B !important;
  opacity: 1 !important;
}

.edg-footer-pro .edg-footer-links a:hover {
  color: #0A2E2A !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------- support box --- */

.edg-footer-pro .edg-support-card,
.edg-footer-pro .edg-support-card p,
.edg-footer-pro .edg-support-card span:not(.edg-support-card__eyebrow) {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  color: #2C403B !important;
}

.edg-footer-pro .edg-support-card__eyebrow {
  font-weight: 700 !important;
  letter-spacing: .13em !important;
  color: #7A6444 !important;
}

/* ------------------------------------------------------------- bottom --- */

.edg-footer-pro .edg-footer-bottom__copy,
.edg-footer-pro .edg-footer-bottom__copy p {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #3F4F4A !important;
}

.edg-footer-pro .edg-footer-bottom__links a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2C403B !important;
}

.edg-footer-pro .edg-footer-bottom__links a:hover { color: #0A2E2A !important; }

/* Woodmart copyright strip, if it ever shows. */
.wd-copyrights,
.wd-copyrights p,
.wd-copyrights a {
  color: #3F4F4A !important;
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   MOBILE FOOTER
   The block ships desktop-only grids, so the whole mobile layout is rebuilt
   here: nothing overflows, nothing clips, one word per line never happens.
   ========================================================================== */

/* Grid children must be allowed to shrink, or long words widen the track. */
.edg-footer-pro .edg-assure__grid > *,
.edg-footer-pro .edg-footer-main > * { min-width: 0; }

@media (max-width: 1024px) {
  .edg-footer-pro__container { padding-inline: 24px !important; }

  .edg-footer-pro .edg-assure__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .edg-footer-pro .edg-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 40px 32px !important;
    padding: 48px 0 40px !important;
  }

  .edg-footer-pro .edg-footer-main > *:first-child { grid-column: 1 / -1; }

  .edg-footer-pro .edg-support-card { width: 100%; }
}

@media (max-width: 767px) {

  /* ---------------------------------------------------------- shell --- */

  .edg-footer-pro {
    overflow-x: hidden;
    text-align: left;
  }

  .edg-footer-pro__container {
    max-width: 100% !important;
    padding-inline: 20px !important;
  }

  /* ------------------------------------------------- shop with confidence --- */

  .edg-footer-pro .edg-assure {
    padding: 38px 0 32px !important;
  }

  .edg-footer-pro .edg-assure__headrow {
    display: block !important;
    margin-bottom: 22px !important;
  }

  .edg-footer-pro .edg-assure__eyebrow {
    font-size: 17px !important;
    margin-bottom: 6px !important;
  }

  .edg-footer-pro .edg-assure__title {
    font-size: 27px !important;
    line-height: 1.18 !important;
    letter-spacing: -.02em !important;
  }

  .edg-footer-pro .edg-assure__intro {
    max-width: 100% !important;
    margin-top: 12px !important;
    font-size: 15.5px !important;
    line-height: 1.7 !important;
    text-align: left !important;
  }

  /* One card per row: full sentences, never one word per line. */
  .edg-footer-pro .edg-assure__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .edg-footer-pro .edg-assure__card {
    min-height: 0 !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 15px 16px !important;
    border-radius: 10px !important;
  }

  .edg-footer-pro .edg-assure__icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .edg-footer-pro .edg-assure__copy {
    min-width: 0;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }

  .edg-footer-pro .edg-assure__copy strong {
    display: block;
    margin-bottom: 2px;
    font-size: 15px !important;
  }

  /* ------------------------------------------------------ main columns --- */

  /* One block per row, in the order they are written. Each section keeps
     its own heading and its own card together - nothing floats away. */
  .edg-footer-pro .edg-footer-main {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
    padding: 36px 0 32px !important;
  }

  /* Links pair up so a four-item column is two short rows, not a long list. */
  .edg-footer-pro .edg-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px 18px !important;
  }

  .edg-footer-pro .edg-footer-col + .edg-footer-col {
    padding-top: 26px;
    border-top: 1px solid rgba(18, 63, 57, .10);
  }

  .edg-footer-pro .edg-brand__logo {
    width: 148px !important;
    margin-bottom: 16px !important;
  }

  .edg-footer-pro .edg-brand__tag {
    font-size: 12px !important;
    letter-spacing: .12em !important;
    line-height: 1.6 !important;
  }

  .edg-footer-pro .edg-brand__about {
    font-size: 15px !important;
    line-height: 1.72 !important;
    text-align: left !important;
  }

  .edg-footer-pro .edg-brand__contact { gap: 13px !important; }

  .edg-footer-pro .edg-contact-text {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
  }

  .edg-footer-pro .edg-footer-heading {
    margin-bottom: 16px !important;
    padding-bottom: 9px !important;
    font-size: 13px !important;
    letter-spacing: .13em !important;
    overflow-wrap: normal;
    hyphens: none;
  }

  .edg-footer-pro .edg-footer-links a {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
  }

  .edg-footer-pro .edg-support-card {
    width: 100%;
    margin-top: 22px !important;
    padding: 18px 16px !important;
  }

  .edg-footer-pro .edg-support-card p { font-size: 14px !important; }
  .edg-footer-pro .edg-support-card strong { font-size: 17px !important; }
  .edg-footer-pro .edg-support-card a { font-size: 12px !important; }

  /* Social row centred under the columns. */
  .edg-footer-pro .wd-social-icons,
  .edg-footer-pro .edg-social {
    justify-content: flex-start;
  }

  /* ---------------------------------------------------------- bottom --- */

  .edg-footer-pro .edg-footer-bottom {
    padding: 20px 20px 26px !important;
    gap: 12px !important;
  }

  .edg-footer-pro .edg-footer-bottom__copy { font-size: 12.5px !important; }
  .edg-footer-pro .edg-footer-bottom__links a { font-size: 12.5px !important; }
}

/* Clear Woodmart's fixed bottom bar so nothing hides behind it. */
@media (max-width: 1024px) {
  .edg-footer-pro { padding-bottom: var(--wd-toolbar-h, 60px); }
}

@media (max-width: 430px) {
  .edg-footer-pro__container { padding-inline: 16px !important; }

  .edg-footer-pro .edg-assure__title { font-size: 25px !important; }
  .edg-footer-pro .edg-assure__intro { font-size: 15px !important; }

  .edg-footer-pro .edg-footer-main { gap: 28px !important; }

  .edg-footer-pro .edg-footer-heading { font-size: 12.5px !important; }
  .edg-footer-pro .edg-footer-links a { font-size: 14px !important; }
  .edg-footer-pro .edg-brand__logo { width: 138px !important; }
}

@media (max-width: 340px) {
  .edg-footer-pro .edg-footer-links {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
