/* Footer — Figma Footer 3078:23250 (1280px content, centred). */
.carson-footer-section { display: block; }
.carson-footer {
  --carson-footer-line: rgba(26, 18, 38, 0.1);
  border-top: 1px solid var(--carson-footer-line);
  border-radius: 16px 16px 0 0;
  background: var(--carson-lavender);
  color: var(--carson-plum);
}
.carson-footer a,
.carson-footer a:not(.button):hover { color: var(--carson-plum); }

.carson-footer__main {
  display: flex;
  align-items: stretch;
  gap: 50px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 61px 30px 31px;
}

/* Brand column */
.carson-footer__brand { display: flex; flex-direction: column; align-items: center; flex: none; width: 244px; }
.carson-footer a.carson-footer__logo { display: flex; justify-content: center; width: 100%; height: var(--carson-footer-logo-h, 192px); }
.carson-footer__logo-img { width: auto; height: 100%; object-fit: contain; }
.carson-footer__tagline {
  margin: 0;
  padding: 16px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-transform: uppercase;
}
.carson-footer__social { display: flex; justify-content: center; gap: 16px; }
.carson-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #F7F6FB;
  transition: background-color 0.2s var(--carson-ease), color 0.2s var(--carson-ease);
}
.carson-footer .carson-footer__social a:hover { background: var(--carson-plum); color: #F7F6FB; }

.carson-footer__rule { flex: none; width: 1px; background: var(--carson-footer-line); }

/* Link columns + newsletter */
.carson-footer__nav { flex: 771 1 0; min-width: 0; max-width: 813px; }
.carson-footer__cols { display: flex; gap: 20px; min-height: 319px; }
.carson-footer__col { flex: none; width: 143px; }
.carson-footer__col:last-child:not(:first-child) { width: 183px; margin-left: 61px; }
.carson-footer__heading {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  white-space: nowrap;
}
.carson-footer__links { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 22px 0 0; list-style: none; }
.carson-footer__links li { display: flex; align-items: center; min-height: 24px; }
.carson-footer__links a {
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.36px;
  white-space: nowrap;
  opacity: 0.75;
  transition: opacity 0.2s var(--carson-ease);
}
.carson-footer__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.carson-footer__links li.carson-footer__phone { min-height: 18px; }
.carson-footer__phone a { display: inline-flex; align-items: center; gap: 5px; opacity: 1; white-space: nowrap; }

.carson-footer__newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 47px;
  padding-top: 18px;
  border-top: 1px solid var(--carson-footer-line);
}
.carson-footer__newsletter-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}
.carson-footer__newsletter-text svg { flex: none; }
.carson-footer__form { width: 345px; max-width: 100%; }
.carson-footer__field {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 1px;
  border: 1px solid var(--carson-line);
  border-radius: 40px;
  background: #fff;
}
.carson-footer__field:focus-within { border-color: var(--carson-plum); }
.carson-footer__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 12px 0 18px;
  border: 0;
  background: transparent;
  color: var(--carson-dark);
  font-family: var(--carson-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
}
.carson-footer__input:focus { outline: none; }
.carson-footer__input::placeholder { color: var(--carson-grayed); }
.carson-footer__submit {
  flex: none;
  height: 42px;
  margin: -1px;
  padding: 0 20px;
  border: 0;
  border-radius: 40px;
  background: var(--carson-plum);
  color: #F7F6FB;
  font-family: var(--carson-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
  cursor: pointer;
  transition: background-color 0.2s var(--carson-ease);
}
.carson-footer__submit:hover { background: var(--carson-plum-dark); }
.carson-footer__msg { margin: 8px 0 0 18px; font-size: 12px; line-height: 18px; }
.carson-footer__msg--error { color: var(--carson-error); }

/* Bottom bar */
.carson-footer__bottom { max-width: 1280px; margin-inline: auto; border-top: 1px solid var(--carson-footer-line); }
.carson-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 30px;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
}
.carson-footer__copy { margin: 0; color: var(--carson-grayed); }
.carson-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.carson-footer__legal > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.carson-footer__locale { position: relative; }
.carson-footer__locale-summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--carson-muted);
  list-style: none;
  cursor: pointer;
}
.carson-footer__locale-summary::-webkit-details-marker { display: none; }
.carson-footer__locale-code { text-transform: uppercase; }
.carson-footer__locale-summary img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.carson-footer__locale-list {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 5;
  min-width: 160px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--carson-line);
  border-radius: var(--carson-radius);
  background: var(--carson-white);
  list-style: none;
}
.carson-footer__locale-list button {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border: 0;
  border-radius: 23px;
  background: none;
  color: var(--carson-dark);
  font-family: var(--carson-sans);
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.carson-footer__locale-list button:hover,
.carson-footer__locale-list button[aria-current="true"] { background: var(--carson-lavender); color: var(--carson-plum); }

@media (max-width: 1199px) {
  .carson-footer__main { gap: 32px; }
  .carson-footer__cols { flex-wrap: wrap; row-gap: 32px; min-height: 0; }
  .carson-footer__col:last-child:not(:first-child) { margin-left: 0; }
}
@media (max-width: 959px) {
  .carson-footer__main { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px 16px 24px; }
  .carson-footer__brand { width: 100%; }
  .carson-footer__rule { width: 100%; height: 1px; }
  .carson-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .carson-footer__col,
  .carson-footer__col:last-child:not(:first-child) { width: auto; }
  .carson-footer__newsletter { margin-top: 32px; }
  .carson-footer__form { width: 100%; }
  .carson-footer__bottom-inner { flex-direction: column-reverse; align-items: flex-start; padding: 20px 16px 28px; }
}

/* Powered by PowerCommerce — only the name is linked (same as the modern-games footer). */
.carson-footer__powered { margin-left: 0.5em; }
.carson-footer__powered::before { content: "·"; margin-right: 0.5em; }
.carson-footer__powered a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.carson-footer__powered a:hover { opacity: 0.75; }

/* Long Spanish labels ("Únete a nuestro programa de afiliados") wrap inside their column
   instead of running into the next one. */
.carson-footer__col { flex: 1 1 0; width: auto; min-width: 0; }
.carson-footer__col:last-child:not(:first-child) { flex: 1.3 1 0; width: auto; margin-left: 20px; }
.carson-footer__heading,
.carson-footer__links a { white-space: normal; overflow-wrap: break-word; }
.carson-footer__links li { min-height: 0; }
@media (max-width: 1199px) {
  .carson-footer__col:last-child:not(:first-child) { margin-left: 0; }
}
