/* ───── KARAFT footer (Prestige Allure clone) ─────
   Light surface, newsletter + link columns, trust row, thin bottom bar. */

.kf-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.kf-footer__main { padding-block: 64px 40px; }

.kf-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.kf-footer__title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 20px;
}
.kf-footer__links li { margin-bottom: 12px; }
.kf-footer__links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.kf-footer__links a:hover { color: var(--color-text); }

/* Newsletter column */
.kf-footer__news-text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 18px;
  max-width: 32ch;
}
.kf-footer__news-form { display: flex; flex-direction: column; gap: 10px; max-width: 260px; }
.kf-footer__news-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
}
.kf-footer__news-input:focus { outline: none; border-color: var(--color-text); }
.kf-footer__news-btn { width: 100%; }
.kf-footer__col--news .kf-footer__social { margin-top: 22px; }

/* About column */
.kf-footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 32ch;
}
.kf-footer__about p { margin: 0 0 12px; }
.kf-footer__about p:last-child { margin-bottom: 0; }
.kf-footer__about a { color: var(--color-text); text-decoration: underline; }

/* Trust row */
.kf-footer__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.kf-footer__trust:empty { display: none; }
.kf-footer__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.kf-footer__trust-item .icon { width: 26px; height: 26px; color: var(--color-text); }
.kf-footer__trust-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kf-footer__trust-text { display: block; font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* Bottom bar */
.kf-footer__bottom {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.kf-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  flex-wrap: wrap;
}
.kf-footer__social { display: flex; gap: 14px; }
.kf-footer__social a { color: var(--color-text); display: inline-flex; }
.kf-footer__social .icon { width: 17px; height: 17px; }
.kf-footer__social a:hover { opacity: 0.6; }
.kf-footer__copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
}
.kf-footer__pay { display: inline-flex; align-items: center; }

@media (max-width: 900px) {
  .kf-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .kf-footer__trust { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .kf-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .kf-footer__col--news { order: -1; }
  .kf-footer__news-form { max-width: none; }
  .kf-footer__bottom-inner { justify-content: center; text-align: center; }
}

/* Inline signup feedback from newsletter.js (#351). [hidden] must win over
   any display rule so the messages stay out of sight until a submit. */
.kf-footer__news-success[hidden],
.kf-footer__news-error[hidden] { display: none !important; }
.kf-footer__news-success {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.kf-footer__news-error {
  display: inline-block;
  margin: 12px 0 0;
  padding-left: 10px;
  border-left: 3px solid #D93025;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

/* Theme blocks (blocks/*.liquid). Every rule is opt-in: an untouched block matches none of them. */
.qm-contents { display: contents; }
.av-block-group { display: flex; flex-direction: column; gap: var(--av-group-gap, 12px); align-items: var(--av-group-align, stretch); }
.av-block-group--row { flex-direction: row; flex-wrap: wrap; justify-content: var(--av-group-justify, flex-start); align-items: var(--av-group-align, center); }
.av-block-text p, .av-block-text li { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
