/**
 * BIDLUNA V6.2 — premium footer and legal-document hub.
 * Scoped to the V6 footer and the legal dialog so plugin interfaces remain untouched.
 */

:root {
  --bl9-navy: #071a3a;
  --bl9-navy-soft: #314260;
  --bl9-gold: #d88b00;
  --bl9-gold-soft: #fff8ec;
  --bl9-line: #dbe2ec;
  --bl9-surface: #ffffff;
  --bl9-footer-bg: #ffffff;
  --bl9-shadow: 0 24px 70px rgba(5, 20, 46, .18);
}


body.bidluna-studio-v5 .bl5-footer.bl6-footer,
body.bidluna-studio-v5 .bl5-footer.bl6-footer *,
.bl9-legal-hub,
.bl9-legal-hub * {
  box-sizing: border-box;
}

body.bidluna-studio-v5 .bl5-footer.bl6-footer {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding: clamp(52px, 5vw, 76px) 0 0;
  border-top: 1px solid rgba(216, 139, 0, .18);
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 139, 0, .045), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fff 84%, #fbfcfe 100%);
  color: var(--bl9-navy);
  box-shadow: none;
}

body.bidluna-studio-v5 .bl5-footer.bl6-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 139, 0, .34), transparent);
  pointer-events: none;
}

body.bidluna-studio-v5 .bl9-footer__container,
body.bidluna-studio-v5 .bl6-footer__container.bl9-footer__container {
  width: min(calc(100% - 64px), 1440px);
  max-width: 1440px;
}

body.bidluna-studio-v5 .bl9-footer__main,
body.bidluna-studio-v5 .bl6-footer__top.bl9-footer__main {
  display: grid;
  grid-template-columns: minmax(300px, .94fr) minmax(0, 2.3fr);
  align-items: start;
  gap: clamp(58px, 6vw, 112px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

body.bidluna-studio-v5 .bl9-footer__brand {
  min-width: 0;
}

body.bidluna-studio-v5 .bl9-footer__logo {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 276px);
  text-decoration: none;
}

body.bidluna-studio-v5 .bl9-footer__logo img,
body.bidluna-studio-v5 .bl5-footer__brand .bl9-footer__logo img,
body.bidluna-studio-v5 .bl6-footer__logo.bl9-footer__logo img {
  display: block;
  width: clamp(218px, 18vw, 276px);
  max-width: 100%;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  object-position: left center;
}

body.bidluna-studio-v5 .bl9-footer__description,
body.bidluna-studio-v5 .bl5-footer__brand .bl9-footer__description,
body.bidluna-studio-v5 .bl6-footer__description.bl9-footer__description {
  max-width: 420px;
  margin: 14px 0 0;
  color: #51617b;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.62;
}

body.bidluna-studio-v5 .bl9-footer__social,
body.bidluna-studio-v5 .bl5-footer__social.bl9-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.bidluna-studio-v5 .bl9-footer__social-link,
body.bidluna-studio-v5 .bl5-footer__social .bl9-footer__social-link,
body.bidluna-studio-v5 .bl6-footer__social-link.bl9-footer__social-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d7deea;
  border-radius: 50%;
  background: #fff;
  color: var(--bl9-navy);
  box-shadow: 0 3px 10px rgba(7, 26, 58, .025);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

body.bidluna-studio-v5 .bl9-footer__social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 139, 0, .62);
  color: var(--bl9-gold);
  box-shadow: 0 8px 18px rgba(7, 26, 58, .08);
}

body.bidluna-studio-v5 .bl9-footer__social-link:focus-visible {
  outline: 3px solid rgba(216, 139, 0, .25);
  outline-offset: 3px;
  border-color: var(--bl9-gold);
}

body.bidluna-studio-v5 .bl9-footer__social-link .bl6-footer__social-icon,
body.bidluna-studio-v5 .bl9-footer__social-link .bl6-footer__social-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

body.bidluna-studio-v5 .bl9-footer__signals {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #dfe5ee;
}

body.bidluna-studio-v5 .bl9-footer-rating,
body.bidluna-studio-v5 .bl6-footer-rating.bl9-footer-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 13px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-stars {
  gap: 2px;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-star {
  width: 24px;
  height: 27px;
  border-radius: 5px;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-star__glyph {
  width: 22px;
  height: 22px;
  color: #c6cfdb;
  font-size: 22px;
  line-height: 22px;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-star__glyph::before {
  color: #d79211;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__score {
  color: var(--bl9-navy);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__score small {
  color: inherit;
  font-size: .72em;
  font-weight: 800;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__count,
body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__link,
body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__empty {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 0 0 16px;
  border: 0;
  background: transparent;
  color: #64728a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__count::before,
body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__link::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 50%;
  color: var(--bl9-navy);
  font-weight: 900;
  transform: translateY(-52%);
}

body.bidluna-studio-v5 .bl9-footer-rating a.bl6-footer-rating__count:hover,
body.bidluna-studio-v5 .bl9-footer-rating button.bl6-footer-rating__count:hover {
  color: var(--bl9-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.bidluna-studio-v5 .bl9-footer__payments,
body.bidluna-studio-v5 .bl6-footer__payment-list.bl9-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

body.bidluna-studio-v5 .bl9-footer__payment,
body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment {
  display: inline-grid;
  place-items: center;
  width: 78px;
  min-width: 78px;
  height: 40px;
  min-height: 40px;
  padding: 5px 10px;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  background: #fff;
  color: #17345f;
  box-shadow: 0 2px 7px rgba(7, 26, 58, .018);
}

body.bidluna-studio-v5 .bl9-footer__payment svg,
body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment svg {
  width: auto;
  max-width: 50px;
  height: 23px;
  max-height: 23px;
  flex: 0 0 auto;
}

body.bidluna-studio-v5 .bl9-footer__navigation,
body.bidluna-studio-v5 .bl5-footer__grid.bl9-footer__navigation,
body.bidluna-studio-v5 .bl6-footer__navigation.bl9-footer__navigation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(30px, 3.4vw, 58px);
  min-width: 0;
  margin: 0;
}

body.bidluna-studio-v5 .bl9-footer__col {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.bidluna-studio-v5 .bl9-footer__col > h3 {
  position: relative;
  display: block;
  margin: 0 0 24px;
  padding: 0 0 14px;
  color: var(--bl9-navy);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

body.bidluna-studio-v5 .bl9-footer__col > h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--bl9-gold);
}

body.bidluna-studio-v5 .bl9-footer__accordion {
  display: none;
}

body.bidluna-studio-v5 .bl9-footer__links,
body.bidluna-studio-v5 .bl6-footer__col .bl5-footer__links.bl9-footer__links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

body.bidluna-studio-v5 .bl9-footer__standard-links {
  display: grid;
  gap: 0;
}

body.bidluna-studio-v5 .bl9-footer__standard-links > a,
body.bidluna-studio-v5 .bl6-footer__col .bl5-footer__links .bl9-footer__standard-links > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #586883;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

body.bidluna-studio-v5 .bl9-footer__standard-links > a svg {
  width: 15px;
  height: 15px;
  opacity: .68;
  transition: transform .16s ease;
}

body.bidluna-studio-v5 .bl9-footer__standard-links > a:hover {
  color: var(--bl9-navy);
  transform: translateX(2px);
}

body.bidluna-studio-v5 .bl9-footer__standard-links > a:hover svg {
  transform: translateX(2px);
}

body.bidluna-studio-v5 .bl9-footer__standard-links > a:focus-visible,
body.bidluna-studio-v5 .bl9-footer__legal-trigger:focus-visible,
body.bidluna-studio-v5 .bl9-footer__cookie-policy:focus-visible,
body.bidluna-studio-v5 .bl9-footer__cookie-manage:focus-visible {
  outline: 3px solid rgba(216, 139, 0, .24);
  outline-offset: 3px;
  border-radius: 5px;
}

body.bidluna-studio-v5 .bl9-footer__legal-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 47px;
  margin: 6px 0 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #c77900;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color .16s ease, transform .16s ease;
}

body.bidluna-studio-v5 .bl9-footer__legal-trigger svg {
  width: 18px;
  height: 18px;
  transition: transform .16s ease;
}

body.bidluna-studio-v5 .bl9-footer__legal-trigger:hover {
  color: #a86100;
  transform: translateX(2px);
}

body.bidluna-studio-v5 .bl9-footer__legal-trigger:hover svg {
  transform: translateX(2px);
}

body.bidluna-studio-v5 .bl9-footer__bottom,
body.bidluna-studio-v5 .bl5-footer__bottom.bl9-footer__bottom,
body.bidluna-studio-v5 .bl6-footer__bottom.bl9-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 67px;
  margin: 0 -32px;
  padding: 18px 32px;
  border-top: 1px solid rgba(216, 139, 0, .58);
  background: rgba(251, 252, 254, .72);
  color: #61708a;
  font-size: 13px;
  line-height: 1.4;
}

body.bidluna-studio-v5 .bl9-footer__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
}

body.bidluna-studio-v5 .bl9-footer__locale,
body.bidluna-studio-v5 .bl9-footer__cookie-policy,
body.bidluna-studio-v5 .bl9-footer__cookie-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin: 0;
  padding: 0 25px;
  border: 0;
  border-left: 1px solid #cfd7e3;
  background: transparent;
  color: #586883;
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

body.bidluna-studio-v5 .bl9-footer__locale {
  border-left: 0;
}

body.bidluna-studio-v5 .bl9-footer__locale svg {
  width: 20px;
  height: 20px;
}

body.bidluna-studio-v5 .bl9-footer__cookie-manage {
  cursor: pointer;
}

body.bidluna-studio-v5 .bl9-footer__cookie-policy:hover,
body.bidluna-studio-v5 .bl9-footer__cookie-manage:hover {
  color: var(--bl9-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.bidluna-studio-v5 .bl9-footer__locale-short {
  display: none;
}

/* --------------------------------------------------------------------------
   Legal hub — desktop modal
   -------------------------------------------------------------------------- */
body.bl9-legal-open {
  overflow: hidden;
}

.bl9-legal-hub[hidden] {
  display: none !important;
}

.bl9-legal-hub {
  position: fixed;
  inset: 0;
  z-index: 2147481200;
  display: grid;
  place-items: start center;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 56px);
  font-family: inherit;
}

.bl9-legal-hub__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(25, 37, 55, .52);
  -webkit-backdrop-filter: blur(2.2px);
  backdrop-filter: blur(2.2px);
  cursor: default;
}

.bl9-legal-hub__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: min(86vh, 720px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(216, 224, 235, .95);
  border-radius: 18px;
  background: #fff;
  color: var(--bl9-navy);
  box-shadow: var(--bl9-shadow);
  animation: bl9LegalIn .2s ease-out both;
}

.bl9-legal-hub__dialog:focus {
  outline: none;
}

.bl9-legal-hub__handle {
  display: none;
}

.bl9-legal-hub__header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 18px 25px;
  border-bottom: 1px solid #e2e7ee;
}

.bl9-legal-hub__header-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--bl9-gold);
}

.bl9-legal-hub__header-icon svg {
  width: 36px;
  height: 36px;
}

.bl9-legal-hub__header h2 {
  margin: 0;
  color: var(--bl9-navy);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.bl9-legal-hub__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bl9-navy);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.bl9-legal-hub__close svg {
  width: 25px;
  height: 25px;
}

.bl9-legal-hub__close:hover {
  background: #f1f4f8;
  color: #a86100;
}

.bl9-legal-hub__close:focus-visible {
  outline: 3px solid rgba(216, 139, 0, .28);
  outline-offset: 2px;
}

.bl9-legal-hub__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  padding: 24px 18px 26px;
}

.bl9-legal-hub__category {
  min-width: 0;
  padding: 0 20px 2px;
  border-right: 1px solid #e2e7ee;
}

.bl9-legal-hub__category:last-child {
  border-right: 0;
}

.bl9-legal-hub__category-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 10px;
  width: 100%;
  min-height: 98px;
  margin: 0;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: default;
}

.bl9-legal-hub__category-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #d8e0eb;
  border-radius: 50%;
  background: #fff;
  color: var(--bl9-gold);
}

.bl9-legal-hub__category-icon svg {
  width: 31px;
  height: 31px;
}

.bl9-legal-hub__category-copy {
  display: block;
  min-width: 0;
}

.bl9-legal-hub__grid {
  counter-reset: bl9-legal-category;
}

.bl9-legal-hub__category {
  counter-increment: bl9-legal-category;
}

.bl9-legal-hub__category-copy strong {
  display: block;
  color: var(--bl9-navy);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .bl9-legal-hub__category-copy strong::before {
    content: counter(bl9-legal-category) ". ";
  }
}

.bl9-legal-hub__category-copy small,
.bl9-legal-hub__category-chevron {
  display: none;
}

.bl9-legal-hub__links {
  display: grid;
  gap: 0;
}

.bl9-legal-hub__links > a,
.bl9-legal-hub__links > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #53637d;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.bl9-legal-hub__links > a svg,
.bl9-legal-hub__links > button svg {
  width: 15px;
  height: 15px;
  opacity: .82;
  transition: transform .16s ease;
}

.bl9-legal-hub__links > a:hover,
.bl9-legal-hub__links > button:hover {
  color: var(--bl9-navy);
}

.bl9-legal-hub__links > a:hover svg,
.bl9-legal-hub__links > button:hover svg {
  transform: translateX(2px);
}

.bl9-legal-hub__links > a:focus-visible,
.bl9-legal-hub__links > button:focus-visible {
  outline: 3px solid rgba(216, 139, 0, .22);
  outline-offset: 2px;
  border-radius: 6px;
}

@keyframes bl9LegalIn {
  from { opacity: 0; transform: translateY(10px) scale(.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  body.bidluna-studio-v5 .bl9-footer__container,
  body.bidluna-studio-v5 .bl6-footer__container.bl9-footer__container {
    width: min(calc(100% - 44px), 1000px);
  }

  body.bidluna-studio-v5 .bl9-footer__main,
  body.bidluna-studio-v5 .bl6-footer__top.bl9-footer__main {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr);
    gap: 46px;
  }

  body.bidluna-studio-v5 .bl9-footer__navigation,
  body.bidluna-studio-v5 .bl5-footer__grid.bl9-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 44px;
  }

  body.bidluna-studio-v5 .bl9-footer__bottom {
    margin-inline: -22px;
    padding-inline: 22px;
  }

  .bl9-legal-hub__dialog {
    width: min(100%, 820px);
  }

  .bl9-legal-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 0;
  }

  .bl9-legal-hub__category:nth-child(2) {
    border-right: 0;
  }

  .bl9-legal-hub__category:nth-child(n + 3) {
    padding-top: 2px;
  }
}

/* --------------------------------------------------------------------------
   Mobile footer and bottom-sheet legal hub
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  body.bidluna-studio-v5 .bl5-footer.bl6-footer {
    padding: 34px 0 calc(96px + env(safe-area-inset-bottom));
  }

  body.bidluna-studio-v5 .bl9-footer__container,
  body.bidluna-studio-v5 .bl6-footer__container.bl9-footer__container {
    width: min(calc(100% - 36px), 620px);
  }

  body.bidluna-studio-v5 .bl9-footer__main,
  body.bidluna-studio-v5 .bl6-footer__top.bl9-footer__main {
    display: block;
    padding-bottom: 21px;
  }

  body.bidluna-studio-v5 .bl9-footer__logo img,
  body.bidluna-studio-v5 .bl5-footer__brand .bl9-footer__logo img {
    width: min(210px, 62vw);
    max-height: 64px;
  }

  body.bidluna-studio-v5 .bl9-footer__description {
    max-width: 410px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.62;
  }

  body.bidluna-studio-v5 .bl9-footer__social {
    gap: 10px;
    margin-top: 18px;
  }

  body.bidluna-studio-v5 .bl9-footer__social-link,
  body.bidluna-studio-v5 .bl5-footer__social .bl9-footer__social-link {
    width: 46px;
    min-width: 46px;
    height: 46px;
  }

  body.bidluna-studio-v5 .bl9-footer__signals {
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
  }

  body.bidluna-studio-v5 .bl9-footer-rating,
  body.bidluna-studio-v5 .bl6-footer-rating.bl9-footer-rating {
    gap: 6px 10px;
  }

  body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-star {
    width: 25px;
    height: 29px;
  }

  body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__score {
    font-size: 19px;
  }

  body.bidluna-studio-v5 .bl9-footer__payment,
  body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment {
    width: 74px;
    min-width: 74px;
    height: 39px;
  }

  body.bidluna-studio-v5 .bl9-footer__navigation,
  body.bidluna-studio-v5 .bl5-footer__grid.bl9-footer__navigation,
  body.bidluna-studio-v5 .bl6-footer__navigation.bl9-footer__navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 25px 0 0;
    border-top: 1px solid rgba(216, 139, 0, .42);
  }

  body.bidluna-studio-v5 .bl9-footer__col {
    border-bottom: 1px solid #e0e6ee;
  }

  body.bidluna-studio-v5 .bl9-footer__col > h3 {
    display: none;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion,
  body.bidluna-studio-v5 .bl5-footer__accordion-button.bl9-footer__accordion {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--bl9-navy);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #50617d;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-icon svg {
    width: 24px;
    height: 24px;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-chevron {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #344967;
    transition: transform .18s ease;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-chevron svg {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
  }

  body.bidluna-studio-v5 .bl9-footer__col.is-open .bl9-footer__accordion-chevron {
    transform: rotate(180deg);
  }

  body.bidluna-studio-v5 .bl9-footer__links,
  body.bidluna-studio-v5 .bl6-footer__col .bl5-footer__links.bl9-footer__links {
    display: none;
    padding: 0 0 14px 40px;
  }

  body.bidluna-studio-v5 .bl9-footer__col.is-open .bl9-footer__links {
    display: grid;
  }

  body.bidluna-studio-v5 .bl9-footer__standard-links > a {
    min-height: 42px;
    padding: 7px 0;
    font-size: 14px;
  }

  body.bidluna-studio-v5 .bl9-footer__col.is-legal .bl9-footer__standard-links {
    display: none;
  }

  body.bidluna-studio-v5 .bl9-footer__legal-trigger {
    min-height: 59px;
    margin: 3px 0 2px;
    padding: 12px 16px;
    border: 1px solid rgba(216, 139, 0, .33);
    border-radius: 12px;
    background: linear-gradient(90deg, #fff8ed, #fffdf9);
    color: #c37400;
    font-size: 15px;
    box-shadow: 0 7px 18px rgba(216, 139, 0, .055);
  }

  body.bidluna-studio-v5 .bl9-footer__bottom,
  body.bidluna-studio-v5 .bl5-footer__bottom.bl9-footer__bottom,
  body.bidluna-studio-v5 .bl6-footer__bottom.bl9-footer__bottom {
    align-items: center;
    min-height: auto;
    margin: 20px 0 0;
    padding: 17px 0 0;
    border-top: 0;
    background: transparent;
    font-size: 12px;
  }

  body.bidluna-studio-v5 .bl9-footer__meta {
    flex: 0 0 auto;
  }

  body.bidluna-studio-v5 .bl9-footer__locale {
    min-height: 32px;
    padding: 0;
    border-left: 0;
  }

  body.bidluna-studio-v5 .bl9-footer__locale svg {
    width: 21px;
    height: 21px;
  }

  body.bidluna-studio-v5 .bl9-footer__locale-long,
  body.bidluna-studio-v5 .bl9-footer__cookie-policy,
  body.bidluna-studio-v5 .bl9-footer__cookie-manage {
    display: none;
  }

  body.bidluna-studio-v5 .bl9-footer__locale-short {
    display: inline;
  }

  .bl9-legal-hub {
    place-items: end stretch;
    padding: 0;
  }

  .bl9-legal-hub__backdrop {
    background: rgba(22, 34, 51, .44);
  }

  .bl9-legal-hub__dialog {
    width: 100%;
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top)));
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border: 0;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -18px 54px rgba(5, 20, 46, .23);
    animation: bl9LegalSheetIn .24s cubic-bezier(.2,.72,.24,1) both;
  }

  .bl9-legal-hub__handle {
    display: block;
    width: 46px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #cfd5df;
  }

  .bl9-legal-hub__header {
    grid-template-columns: 40px minmax(0, 1fr) 38px;
    gap: 8px;
    min-height: 78px;
    padding: 13px 17px 13px;
  }

  .bl9-legal-hub__header-icon {
    width: 40px;
    height: 40px;
  }

  .bl9-legal-hub__header-icon svg {
    width: 35px;
    height: 35px;
  }

  .bl9-legal-hub__header h2 {
    font-size: clamp(17px, 4.7vw, 20px);
    white-space: nowrap;
  }

  .bl9-legal-hub__close {
    width: 38px;
    height: 38px;
  }

  .bl9-legal-hub__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 9px 22px 24px;
  }

  .bl9-legal-hub__category,
  .bl9-legal-hub__category:nth-child(n) {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e1e7ef;
  }

  .bl9-legal-hub__category:last-child {
    border-bottom: 0;
  }

  .bl9-legal-hub__category-toggle {
    grid-template-columns: 58px minmax(0, 1fr) 22px;
    justify-items: stretch;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 12px 0;
    text-align: left;
    cursor: pointer;
  }

  .bl9-legal-hub__category-toggle:focus-visible {
    outline: 3px solid rgba(216, 139, 0, .22);
    outline-offset: -2px;
    border-radius: 10px;
  }

  .bl9-legal-hub__category-icon {
    width: 58px;
    height: 58px;
  }

  .bl9-legal-hub__category-icon svg {
    width: 31px;
    height: 31px;
  }

  .bl9-legal-hub__category-copy strong {
    font-size: 17px;
    line-height: 1.28;
    white-space: normal;
  }

  .bl9-legal-hub__category-copy small {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: #6d7a90;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .bl9-legal-hub__category-chevron {
    display: inline-grid;
    place-items: center;
    color: #334a6b;
    transition: transform .18s ease;
  }

  .bl9-legal-hub__category-chevron svg {
    width: 18px;
    height: 18px;
  }

  .bl9-legal-hub__category.is-open .bl9-legal-hub__category-chevron {
    transform: rotate(90deg);
  }

  .bl9-legal-hub__links {
    display: none;
    padding: 0 0 13px 72px;
  }

  .bl9-legal-hub__category.is-open .bl9-legal-hub__links {
    display: grid;
  }

  .bl9-legal-hub__links > a,
  .bl9-legal-hub__links > button {
    min-height: 44px;
    padding: 7px 0;
    font-size: 13.5px;
  }

  @keyframes bl9LegalSheetIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

@media (max-width: 390px) {
  body.bidluna-studio-v5 .bl9-footer__container,
  body.bidluna-studio-v5 .bl6-footer__container.bl9-footer__container {
    width: min(calc(100% - 28px), 620px);
  }

  body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-star {
    width: 23px;
  }

  body.bidluna-studio-v5 .bl9-footer-rating .bl8-rating-star__glyph {
    width: 21px;
    font-size: 21px;
  }

  body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__count,
  body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__empty {
    flex-basis: 100%;
    padding-left: 0;
  }

  body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__count::before,
  body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__link::before {
    content: none;
  }

  body.bidluna-studio-v5 .bl9-footer__payment,
  body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment {
    width: 68px;
    min-width: 68px;
  }

  body.bidluna-studio-v5 .bl9-footer__bottom {
    gap: 10px;
    font-size: 11.5px;
  }

  .bl9-legal-hub__header,
  .bl9-legal-hub__grid {
    padding-left: 17px;
    padding-right: 17px;
  }

  .bl9-legal-hub__category-toggle {
    grid-template-columns: 54px minmax(0, 1fr) 19px;
    gap: 11px;
  }

  .bl9-legal-hub__category-icon {
    width: 54px;
    height: 54px;
  }

  .bl9-legal-hub__links {
    padding-left: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bidluna-studio-v5 .bl9-footer__social-link,
  body.bidluna-studio-v5 .bl9-footer__standard-links > a,
  body.bidluna-studio-v5 .bl9-footer__legal-trigger,
  .bl9-legal-hub__dialog,
  .bl9-legal-hub__category-chevron,
  .bl9-legal-hub__links > a svg,
  .bl9-legal-hub__links > button svg {
    animation: none !important;
    transition: none !important;
  }
}

/* BIDLUNA V6.2.8 — mobile footer disclosure stability and compact payment row. */
body.bidluna-studio-v5 .bl9-footer-rating .bl6-footer-rating__empty[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  body.bidluna-studio-v5 .bl9-footer__payments,
  body.bidluna-studio-v5 .bl6-footer__payment-list.bl9-footer__payments {
    flex-wrap: nowrap;
    gap: 8px;
  }

  body.bidluna-studio-v5 .bl9-footer__payment,
  body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment {
    width: 60px;
    min-width: 60px;
    height: 36px;
    min-height: 36px;
    padding: 4px 8px;
  }
}

@media (max-width: 767px) {
  body.bidluna-studio-v5 .bl9-footer__accordion > span,
  body.bidluna-studio-v5 .bl5-footer__accordion-button.bl9-footer__accordion > span {
    transform: none !important;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-icon,
  body.bidluna-studio-v5 .bl9-footer__accordion > span:nth-child(2) {
    position: static !important;
    translate: none !important;
    rotate: none !important;
    transition: none !important;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-chevron {
    transform: rotate(0deg) !important;
    transform-origin: 50% 50%;
    transition: transform .2s ease !important;
  }

  body.bidluna-studio-v5 .bl9-footer__accordion-chevron svg {
    transform: rotate(90deg) !important;
  }

  body.bidluna-studio-v5 .bl9-footer__col.is-open .bl9-footer__accordion-chevron {
    transform: rotate(180deg) !important;
  }

  body.bidluna-studio-v5 .bl9-footer__links,
  body.bidluna-studio-v5 .bl6-footer__col .bl5-footer__links.bl9-footer__links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    max-height: 0;
    margin: 0;
    padding: 0 0 0 40px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height .24s ease, opacity .18s ease, padding-bottom .24s ease, visibility 0s linear .24s;
  }

  body.bidluna-studio-v5 .bl9-footer__col.is-open .bl9-footer__links {
    max-height: 360px;
    padding-bottom: 14px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  body.bidluna-studio-v5 .bl9-footer__col.is-legal.is-open .bl9-footer__links {
    max-height: 88px;
  }

  body.bidluna-studio-v5 .bl9-footer__legal-trigger {
    min-height: 52px;
    margin: 2px 0 1px;
    transform: none !important;
  }

  body.bidluna-studio-v5 .bl9-footer__payments,
  body.bidluna-studio-v5 .bl6-footer__payment-list.bl9-footer__payments {
    flex-wrap: nowrap;
    gap: 7px;
    max-width: 100%;
  }

  body.bidluna-studio-v5 .bl9-footer__payment,
  body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment {
    width: 50px;
    min-width: 50px;
    height: 34px;
    min-height: 34px;
    padding: 4px 7px;
  }

  body.bidluna-studio-v5 .bl9-footer__payment svg,
  body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment svg {
    max-width: 34px;
    height: 20px;
    max-height: 20px;
  }
}

@media (max-width: 390px) {
  body.bidluna-studio-v5 .bl9-footer__payments,
  body.bidluna-studio-v5 .bl6-footer__payment-list.bl9-footer__payments {
    gap: 6px;
  }

  body.bidluna-studio-v5 .bl9-footer__payment,
  body.bidluna-studio-v5 .bl6-footer__payment.bl9-footer__payment {
    width: 47px;
    min-width: 47px;
  }
}

/* ========================================================================
   V6.2.12 — mobile bottom-sheet drag handle.
   The enlarged transparent hit area makes the grey handle genuinely usable
   while the visible line remains discreet. Drag transforms are applied only
   by the legal-hub script and never affect the footer accordions.
   ======================================================================== */
@media (max-width: 767px) {
  .bl9-legal-hub__dialog {
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .bl9-legal-hub__dialog.has-entered {
    animation: none !important;
  }

  .bl9-legal-hub__dialog.is-dragging {
    animation: none !important;
    transition: none !important;
    user-select: none;
    -webkit-user-select: none;
  }

  .bl9-legal-hub__dialog.is-settling,
  .bl9-legal-hub__dialog.is-dismissing {
    animation: none !important;
    transition: transform .22s cubic-bezier(.2, .72, .24, 1) !important;
  }

  .bl9-legal-hub__handle {
    position: relative;
    display: block;
    width: 76px;
    height: 28px;
    margin: 0 auto -6px;
    border-radius: 999px;
    background: transparent;
    cursor: grab;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
  }

  .bl9-legal-hub__handle::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: #cfd5df;
    transform: translateX(-50%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  }

  .bl9-legal-hub__dialog.is-dragging .bl9-legal-hub__handle {
    cursor: grabbing;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bl9-legal-hub__dialog.is-settling,
  .bl9-legal-hub__dialog.is-dismissing {
    transition-duration: .01ms !important;
  }
}

/* ========================================================================
   BIDLUNA V6.3.2 — legal hub alignment, centered heading and mobile cookies.
   ======================================================================== */
.bl9-legal-hub__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 18px 76px;
}

.bl9-legal-hub__titlebar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.bl9-legal-hub__titlebar .bl9-legal-hub__header-icon {
  flex: 0 0 auto;
}

.bl9-legal-hub__titlebar h2 {
  min-width: 0;
  text-align: center;
}

.bl9-legal-hub__close {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

@media (min-width: 901px) {
  .bl9-legal-hub__dialog {
    width: min(94vw, 1180px);
    max-height: min(88vh, 760px);
  }

  .bl9-legal-hub__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 26px 14px 30px;
  }

  .bl9-legal-hub__category,
  .bl9-legal-hub__category:nth-child(n) {
    min-width: 0;
    height: 100%;
    padding: 0 16px 4px;
    border-right: 1px solid #e2e7ee;
  }

  .bl9-legal-hub__category:last-child {
    border-right: 0;
  }

  .bl9-legal-hub__category-toggle {
    min-height: 112px;
  }

  .bl9-legal-hub__category-copy strong {
    min-height: 38px;
    white-space: normal;
    text-wrap: balance;
  }

  .bl9-legal-hub__links {
    align-content: start;
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .bl9-legal-hub__dialog {
    width: min(94vw, 820px);
  }
}

@media (max-width: 767px) {
  .bl9-legal-hub__header {
    display: flex;
    min-height: 78px;
    padding: 13px 60px 13px 17px;
    justify-content: flex-start;
  }

  .bl9-legal-hub__titlebar {
    justify-content: flex-start;
    gap: 9px;
    text-align: left;
  }

  .bl9-legal-hub__titlebar h2,
  .bl9-legal-hub__header h2 {
    white-space: normal;
    text-align: left;
    line-height: 1.18;
  }

  .bl9-legal-hub__close {
    right: 13px;
  }

  body.bidluna-studio-v5 .bl9-footer__bottom,
  body.bidluna-studio-v5 .bl5-footer__bottom.bl9-footer__bottom,
  body.bidluna-studio-v5 .bl6-footer__bottom.bl9-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    align-items: stretch;
  }

  body.bidluna-studio-v5 .bl9-footer__meta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  body.bidluna-studio-v5 .bl9-footer__cookie-policy,
  body.bidluna-studio-v5 .bl9-footer__cookie-manage {
    order: 1;
    display: inline-flex !important;
    min-height: 36px;
    max-width: 54%;
    padding: 0 12px;
    border: 1px solid #d4ddeb;
    border-radius: 999px;
    background: #fff;
    color: #30435f;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.bidluna-studio-v5 .bl10-footer-locale,
  body.bidluna-studio-v5 .bl9-footer__locale {
    order: 2;
    flex: 0 1 auto;
    min-width: 0;
  }
}
