/* Foxwood Ceramics — cookie consent banner + footer links.
   Uses the site's own colour variables (with fallbacks) so it matches the design. */

.fw-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  width: calc(100% - 48px);
  max-width: 400px;
  background: var(--off-white, #f2f2f0);
  color: var(--black, #111110);
  border: 1px solid var(--light-grey, #e6e6e4);
  box-shadow: 0 14px 44px rgba(17, 17, 16, 0.2);
  padding: 26px 26px 22px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
}
.fw-consent[hidden] { display: none; }

.fw-consent-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe, #a89880);
  font-weight: 500;
  margin-bottom: 10px;
}
.fw-consent-text {
  color: var(--dark-grey, #3a3a38);
  margin-bottom: 20px;
}
.fw-consent-text a {
  color: inherit;
  border-bottom: 1px solid var(--taupe, #a89880);
  padding-bottom: 1px;
}
.fw-consent-text a:hover { color: var(--taupe, #a89880); }

/* Accept and Reject are deliberately identical in size, weight and style. */
.fw-consent-btns { display: flex; gap: 10px; }
.fw-consent-btn {
  flex: 1;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 12px;
  border: 1px solid var(--black, #111110);
  background: transparent;
  color: var(--black, #111110);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.fw-consent-btn:hover {
  background: var(--black, #111110);
  color: var(--off-white, #f2f2f0);
}
.fw-consent-btn:focus-visible,
.fw-consent a:focus-visible,
.fw-footer-link:focus-visible {
  outline: 2px solid var(--taupe, #a89880);
  outline-offset: 3px;
}

/* Footer links (policy + cookie settings) */
.fw-footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fw-footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--mid-grey, #999997);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s;
}
.fw-footer-link:hover { color: var(--taupe, #a89880); }

@media (max-width: 900px) {
  .fw-consent {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 20px 20px 18px;
  }
  .fw-consent-text { margin-bottom: 16px; font-size: 13.5px; }
}
