body#cms {
  background: #fff;
}
body#cms .columns-container.container {
  max-width: 1120px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}
body#cms .center-column.page,
body#cms .page--full-width {
  width: 100% !important;
  max-width: none !important;
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
}
body#cms .breadcrumb__wrapper {
  background: transparent;
}
body#cms .page-footer {
  display: none;
}

.bm-legal-hero {
  padding: 8px 0 8px;
}
.bm-legal-main {
  min-width: 0;
}
.bm-legal-kicker {
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-ink, #A67C00);
}
.bm-legal-title {
  margin: 0;
  max-width: 16ch;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #111;
}
.bm-legal-phones {
  margin: 14px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bm-legal-phones a {
  color: #111;
  text-decoration: none;
}
.bm-legal-phones a:hover {
  color: var(--yellow-ink, #A67C00);
}
.bm-legal-rule {
  display: block;
  width: 72px;
  height: 4px;
  margin: 22px 0 8px;
  background: var(--red, #FFF651);
}

.bm-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: 12px 0 24px;
}
.bm-legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px 20px;
  background: #f7f6f4;
  border-radius: 16px;
}
.bm-legal-toc__head {
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a746c;
}
.bm-legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bm-legal-toc a {
  display: block;
  color: #3a3834;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.35;
  padding-left: 12px;
  border-left: 2px solid transparent;
}
.bm-legal-toc a:hover,
.bm-legal-toc a.is-active {
  color: #111;
  border-left-color: var(--red, #FFF651);
  font-weight: 600;
}

.bm-legal-body,
.bm-legal-doc {
  max-width: 42rem;
  color: #2b2926;
  font-family: Barlow, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.bm-legal-body h2,
.bm-legal-doc h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.15;
  margin: 2.4rem 0 0.85rem;
  padding-top: 0.4rem;
  scroll-margin-top: 108px;
}
.bm-legal-body h3,
.bm-legal-doc h3,
.bm-legal-body h4,
.bm-legal-doc h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin: 1.6rem 0 0.5rem;
}
.bm-legal-body p,
.bm-legal-doc p {
  margin: 0 0 1rem;
}
.bm-legal-lead {
  font-size: 1.25rem;
  line-height: 1.45;
  color: #111;
  font-weight: 500;
  margin: 0 0 1.5rem !important;
}
.bm-legal-body a,
.bm-legal-doc a {
  color: var(--yellow-ink, #A67C00);
  text-underline-offset: 3px;
}
.bm-legal-body a:hover,
.bm-legal-doc a:hover {
  color: #111;
}
.bm-legal-mark {
  background: #FFF651;
  color: #111;
  padding: 0 0.2em;
  font-weight: 700;
}
.bm-legal-facts {
  display: grid;
  gap: 10px;
  margin: 8px 0 28px;
  padding: 8px 0 4px;
}
.bm-legal-facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  gap: 12px 20px;
  padding: 14px 18px;
  background: #f7f6f4;
  border-radius: 14px;
  border-left: 4px solid var(--red, #FFF651);
}
.bm-legal-facts dt {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  color: #7a746c;
  margin: 0;
}
.bm-legal-facts dd {
  margin: 0;
  color: #111;
  font-weight: 500;
}
.bm-legal-actions {
  margin: 28px 0 8px !important;
}
.bm-legal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}
.bm-legal-cta:hover {
  background: #000;
  color: var(--red, #FFF651) !important;
}
.bm-legal-body ul,
.bm-legal-doc ul,
.bm-legal-body ol,
.bm-legal-doc ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}
.bm-legal-body li,
.bm-legal-doc li {
  margin: 0 0 0.4rem;
}

.bm-legal-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 72px;
}
.bm-legal-more a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ece8e0;
  color: #111;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.875rem;
  background: #fff;
}
.bm-legal-more a:hover,
.bm-legal-more a[aria-current="page"] {
  background: #111;
  color: #fff;
  border-color: #111;
}

@media (min-width: 960px) {
  .bm-legal-layout:has(.bm-legal-toc:not([hidden])) {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

body.cms-id-5 .bm-legal-layout,
body.cms-id-5 .bm-legal-layout:has(.bm-legal-toc:not([hidden])),
.page-cms-5.bm-legal-layout:has(.bm-legal-toc:not([hidden])),
.page-cms-5 .bm-legal-layout:has(.bm-legal-toc:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.cms-id-5 .bm-legal-toc,
.page-cms-5 .bm-legal-toc {
  display: none !important;
}
#paypal:target {
  box-shadow: none;
}

@media (max-width: 959px) {
  .bm-legal-toc {
    position: static;
    padding: 14px 16px;
  }
  .bm-legal-toc ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }
  .bm-legal-toc a {
    white-space: nowrap;
    padding: 6px 10px;
    border: 1px solid #ece8e0;
    border-radius: 999px;
    background: #fff;
    font-size: 0.8125rem;
  }
  .bm-legal-toc a.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
  }
  .bm-legal-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .bm-legal-title {
    max-width: none;
  }
}

body#cms.page-cms-5 .bm-legal-body,
body#cms .page-cms-5 .bm-legal-body,
body#cms.page-cms-27 .bm-legal-body,
body#cms .page-cms-27 .bm-legal-body,
.bm-legal-doc.bm-pay,
.bm-legal-doc.bm-aplazame {
  max-width: none;
}
body#cms .page-cms-5 .bm-legal-title {
  max-width: 12ch;
}
body#cms .page-cms-27 .bm-legal-title {
  max-width: 22ch;
}

.bm-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}
.bm-pay-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border, #e2e1de);
  border-radius: 20px;
  padding: 22px 20px 20px;
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.bm-pay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
}
.bm-pay-card:has(#paypal:target) {
  box-shadow: 0 0 0 3px #FFF651, 0 16px 36px rgba(17, 17, 17, 0.08);
}
.bm-pay-card h2 {
  margin: 12px 0 10px !important;
  padding-top: 0 !important;
  font-size: 1.35rem !important;
  scroll-margin-top: 108px;
}
.bm-pay-card p:last-child {
  margin-bottom: 0;
}
.bm-pay-card__n {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #c4bfb6;
  font-size: 0.9rem;
}
.bm-pay-card__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF651;
  color: #111;
}
.bm-pay-aplazame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  background: #111;
  color: #fff;
  border-radius: 22px;
  margin: 8px 0 12px;
}
.bm-pay-aplazame h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #fff !important;
}
.bm-pay-aplazame p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  max-width: 42rem;
}
.bm-pay-aplazame__kicker {
  margin: 0 0 6px !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFF651;
}
.bm-pay-aplazame .bm-legal-cta {
  background: #FFF651;
  color: #111 !important;
  flex-shrink: 0;
}
.bm-pay-aplazame .bm-legal-cta:hover {
  background: #fff;
  color: #111 !important;
}

.bm-aplazame-hero {
  background:
    radial-gradient(1200px 280px at 85% 20%, rgba(255, 246, 81, 0.18), transparent 55%),
    linear-gradient(135deg, #111 0%, #1c1c1c 55%, #111 100%);
  color: #fff;
  border-radius: 24px;
  padding: 36px 32px 30px;
  margin: 0 0 22px;
}
.bm-aplazame-hero__kicker {
  margin: 0 0 10px !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFF651;
  font-size: 0.78rem;
}
.bm-aplazame-hero h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #FFF651 !important;
  max-width: 16ch;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem) !important;
  text-transform: uppercase;
}
.bm-aplazame-hero p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.72);
  max-width: 38rem;
}
.bm-aplazame-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}
.bm-aplazame-pills li {
  margin: 0 !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,246,81,0.14);
  color: #fff;
  font-size: 0.9rem;
}
.bm-aplazame-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px !important;
  padding: 0 !important;
}
.bm-aplazame-steps li {
  margin: 0 !important;
  padding: 16px 16px 14px;
  background: #f7f6f4;
  border-radius: 16px;
  color: #2b2926;
  font-size: 0.98rem;
  line-height: 1.4;
}
.bm-aplazame-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 8px 8px 0;
  border-radius: 999px;
  background: #111;
  color: #FFF651;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  vertical-align: middle;
}
.bm-aplazame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.bm-aplazame-card {
  background: #fff;
  border: 1px solid var(--border, #e2e1de);
  border-radius: 18px;
  padding: 20px 18px 16px;
}
.bm-aplazame-card h2 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 1.25rem !important;
}
.bm-aplazame-card p:last-child {
  margin-bottom: 0;
}
.bm-aplazame-enjoy {
  padding: 28px 26px;
  background: #111;
  color: #fff;
  border-radius: 20px;
  margin: 0 0 22px;
}
.bm-aplazame-enjoy h2 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #FFF651 !important;
}
.bm-aplazame-enjoy p {
  color: rgba(255,255,255,0.74);
  max-width: 40rem;
}
.bm-aplazame-enjoy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.bm-aplazame-enjoy .bm-legal-cta {
  background: #FFF651;
  color: #111 !important;
}
.bm-aplazame-enjoy .bm-legal-cta:hover {
  background: #fff;
  color: #111 !important;
}
.bm-aplazame-enjoy .bm-legal-cta--ghost {
  background: transparent !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45);
}
.bm-aplazame-enjoy .bm-legal-cta--ghost:hover {
  background: #fff !important;
  color: #111 !important;
}
.bm-aplazame-legal {
  padding-top: 8px;
  color: #7a746c;
  font-size: 0.9rem;
  line-height: 1.55;
}
.bm-aplazame-legal h2 {
  font-size: 1rem !important;
  color: #7a746c !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .bm-pay-grid,
  .bm-aplazame-grid,
  .bm-aplazame-steps {
    grid-template-columns: 1fr;
  }
  .bm-pay-aplazame {
    flex-direction: column;
    align-items: flex-start;
  }
}
