/*
 * Cheragh compact footer — compiled Tailwind component layer.
 * Source: assets/cheragh-footer.source.css
 * Preflight is excluded so Blocksy and WooCommerce remain untouched.
 */
html.chf-react-ready .ch-footer,
html.chf-react-ready .ct-footer {
  display: none !important;
}

#cheragh-footer-react-root {
  display: block;
  width: 100%;
}

.chf-footer {
  --chf-paper: #f4efe5;
  --chf-ink: #171715;
  --chf-muted: #625e57;
  --chf-accent: #4f7468;
  --chf-deep: #29403a;
  --chf-line: #d9d2c6;
  border-top: 1px solid var(--chf-line);
  background: var(--chf-paper);
  color: var(--chf-ink);
  font-family: inherit;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.chf-footer *,
.chf-footer *::before,
.chf-footer *::after {
  box-sizing: border-box;
}

.chf-shell {
  width: min(100%, 1290px);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem;
}

.chf-main {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.7fr);
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.chf-summary {
  padding-right: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--chf-line);
}

.chf-logo-link {
  display: inline-flex;
  border-radius: .85rem;
  outline-offset: 3px;
}

.chf-logo {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,23,21,.07);
}

.chf-kicker {
  margin: 1.15rem 0 0;
  color: var(--chf-deep);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.chf-directory .chf-kicker {
  margin-top: 0;
}

.chf-summary-title,
.chf-directory-title {
  margin: .45rem 0 0;
  color: var(--chf-ink);
  font-family: "League Spartan", inherit;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.chf-summary-title {
  max-width: 22rem;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.chf-copy {
  max-width: 25rem;
  margin: .9rem 0 0;
  color: var(--chf-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.chf-connections {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.chf-socials {
  display: flex;
  gap: .45rem;
}

.chf-social {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(41,64,58,.28);
  border-radius: 9999px;
  color: var(--chf-deep);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.chf-social svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.chf-social:hover {
  background: var(--chf-deep);
  color: #fff;
  transform: translateY(-1px);
}

.chf-partner {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  gap: .6rem;
  padding: .25rem .65rem .25rem .3rem;
  border: 1px solid var(--chf-line);
  border-radius: .75rem;
  color: var(--chf-ink);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.chf-partner:hover {
  border-color: var(--chf-accent);
  background: rgba(255,255,255,.42);
  color: var(--chf-deep);
}

.chf-partner-logo {
  width: 2.25rem;
  height: 2.1rem;
  object-fit: contain;
  border-radius: .5rem;
  background: rgba(255,255,255,.7);
}

.chf-partner-text {
  display: grid;
  gap: .05rem;
  line-height: 1.05;
}

.chf-partner-text small {
  color: var(--chf-muted);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.chf-partner-text strong {
  font-family: "League Spartan", inherit;
  font-size: .95rem;
  font-weight: 700;
}

.chf-directory-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--chf-line);
}

.chf-directory-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.chf-all-products {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding-bottom: .15rem;
  border-bottom: 1px solid currentColor;
  color: var(--chf-deep);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.chf-all-products:hover {
  color: var(--chf-accent);
}

.chf-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: .8rem 0 1.05rem;
  list-style: none;
}

.chf-category-link {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  border-bottom: 1px solid rgba(217,210,198,.78);
  color: var(--chf-ink);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

.chf-category-link svg {
  flex: 0 0 auto;
  opacity: .55;
}

.chf-category-link:hover {
  padding-left: .25rem;
  color: var(--chf-accent);
}

.chf-utility {
  display: flex;
  gap: .55rem 1.25rem;
  flex-wrap: wrap;
  padding-top: .25rem;
}

.chf-utility-link {
  color: var(--chf-muted);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
}

.chf-utility-link:hover {
  color: var(--chf-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chf-bottom {
  display: flex;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--chf-line);
  color: var(--chf-muted);
  font-size: .72rem;
  line-height: 1.4;
}

.chf-bottom p {
  margin: 0;
}

.chf-footer a:focus-visible {
  outline: 2px solid var(--chf-deep);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .chf-main {
    grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr);
    gap: 2.5rem;
  }

  .chf-summary {
    padding-right: 2.5rem;
  }

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

@media (max-width: 680px) {
  .chf-shell {
    padding-inline: 1.25rem;
  }

  .chf-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .chf-summary {
    padding-right: 0;
    padding-bottom: 2.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--chf-line);
  }

  .chf-summary-title,
  .chf-copy {
    max-width: 32rem;
  }

  .chf-directory-head {
    align-items: center;
  }
}

@media (max-width: 430px) {
  .chf-category-grid {
    grid-template-columns: 1fr;
  }

  .chf-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chf-footer *,
  .chf-footer *::before,
  .chf-footer *::after {
    transition-duration: .01ms !important;
  }
}
