/*
 * The footer is a dark band (bordo with kum text by default). It re-points the colour tokens at
 * its own background/text props: --im-color-* for this component and --im-brand-* for the nested
 * components (link columns, trust badges, categories), which derive their tokens from those.
 * Secondary text is the text colour at 70%.
 */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer {
  --im-footer-muted: color-mix(in srgb, var(--im-footer-text, #f5ebd0) 70%, transparent);
  --im-color-text: var(--im-footer-text, #f5ebd0);
  --im-color-muted: var(--im-footer-muted);
  --im-color-bg: var(--im-footer-bg, #511628);
  --im-color-border: var(--im-footer-line, #82565a);
  --im-color-button-bg: var(--im-footer-text, #f5ebd0);
  --im-color-button-text: var(--im-footer-bg, #511628);
  --im-color-button-hover-bg: var(--im-footer-text, #f5ebd0);
  --im-color-button-hover-text: var(--im-footer-bg, #511628);
  --im-brand-color-text: var(--im-footer-text, #f5ebd0);
  --im-brand-color-muted: var(--im-footer-muted);
  --im-brand-color-bg: var(--im-footer-bg, #511628);
  --im-brand-color-border: var(--im-footer-line, #82565a);
  /* Error text has to stay readable on the dark band. */
  --im-color-error: #ffb4a8;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer {
  --im-footer-side: clamp(16px, 1.39vw, 64px);
  width: 100%;
  border-top: 1px solid var(--im-footer-line, #767676);
  font-family: var(--im-font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Row 1: category list with hover preview ---------- */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer__categories {
  position: relative;
  display: flex;
  min-height: clamp(420px, 32vw, 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--im-footer-line, #767676);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__categories-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  margin-left: 50%;
  padding: clamp(24px, 4vw, 77px) clamp(16px, 4vw, 77px);
  border-left: 1px solid var(--im-footer-line, #767676);
  box-sizing: border-box;
}

/* The first category's preview is visible until another one is hovered.
   Each child sits in its own display:contents scope wrapper, so the real
   siblings are one level up from .im-footer-category. */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer__categories-list > div > div:first-child .im-footer-category__image {
  opacity: 1;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all {
  position: relative;
  display: inline-block;
  font-family: var(--im-font-heading);
  font-size: clamp(28px, 9vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all:hover::after, .cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all:focus-visible::after {
  transform: scaleX(1);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* ---------- Row 2: trust badges ---------- */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust {
  position: relative;
  border-bottom: 1px solid var(--im-footer-line, #767676);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust-track {
  display: flex;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust-arrow {
  display: none;
}

/* ---------- Row 3: brand / newsletter / link columns ---------- */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer__main {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--im-footer-line, #767676);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__brand {
  display: flex;
  flex: 361 1 260px;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 70px) 16px;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__brand-logo {
  display: block;
  max-width: 160px;
  height: auto;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__brand-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter {
  flex: 743 1 280px;
  padding: clamp(24px, 5vw, 70px) var(--im-footer-side);
  border-left: 1px solid var(--im-footer-line, #767676);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 32rem;
  margin-top: 16px;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-input {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--im-color-muted, #949596);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--im-color-text, #000);
  box-sizing: border-box;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-input::placeholder {
  color: var(--im-color-muted, #767676);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-input:focus-visible {
  outline: 2px solid var(--im-color-text, #000);
  outline-offset: 2px;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  /* Outline on the dark band: kum stays a line/text colour, it fills only on hover. */
  border: 1px solid var(--im-color-text, #000);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--im-color-text, #000);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-button:hover {
  opacity: 0.8;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-button:focus-visible {
  outline: 2px solid var(--im-color-text, #000);
  outline-offset: 2px;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-feedback {
  margin: 0;
  font-size: 13px;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-feedback--error {
  color: var(--im-color-error, #c0392b);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__columns {
  display: flex;
  flex: 943 1 260px;
  flex-wrap: wrap;
  padding-right: var(--im-footer-side);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__column-filler {
  display: none;
}

/* ---------- Row 4: bottom bar ---------- */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--im-footer-side);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__bottom-text {
  margin: 0;
  font-size: 13px;
  color: var(--im-color-muted, #5c5c5c);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__bottom-credit {
  text-decoration: none;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__bottom-credit:hover {
  text-decoration: underline;
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__bottom-credit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__categories {
    min-height: 0;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__categories-list {
    width: 100%;
    margin-left: 0;
    padding: 24px 16px;
    border-left: none;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all {
    font-size: 28px;
  }

  /* Trust badges: a compact static list (icon + title + short text) instead of a slider. */
  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust {
    padding: 6px 16px;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust-track {
    display: flex;
    flex-direction: column;
    transform: none;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust-arrow {
    display: none;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__main {
    flex-direction: column;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__brand {
    flex: none;
    justify-content: center;
    padding: 32px 16px;
    border-bottom: 1px solid var(--im-footer-line, #767676);
  }

  /* The row is a column here: flex-basis would become a height that the content can shrink into. */
  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter, .cc_pxp5JFR88R_kvkAMq4taV .im-footer__columns {
    flex: none;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 16px;
    border-left: none;
  }

  /* iOS zooms into inputs smaller than 16px on focus. */
  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-input {
    font-size: 16px;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-right: 0;
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__column-filler {
    display: block;
    border-top: 1px solid var(--im-footer-line, #767676);
  }

  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__bottom {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__view-all::after, .cc_pxp5JFR88R_kvkAMq4taV .im-footer__trust-track, .cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-button {
    transition: none;
  }
}


/* Newsletter consent: unticked by default, required before subscribing. */
.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-consent {
  flex-basis: 100%;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--im-color-muted);
}

.cc_pxp5JFR88R_kvkAMq4taV .im-footer__newsletter-consent a {
  color: var(--im-color-text);
  text-decoration: underline;
}

/* Phones: the large picture-led category list is left out (the menu and the category strip cover it). */
@media (max-width: 767px) {
  .cc_pxp5JFR88R_kvkAMq4taV .im-footer__categories {
    display: none;
  }
}
