/* Bundles redesign: image-led, calm, platform-grade. */

body.page-bundles-editorial,
body.page-bundle-editorial {
  --bundle-bg: #f4efe7;
  --bundle-ink: #26211d;
  --bundle-muted: #766d63;
  --bundle-soft: #a0968a;
  --bundle-line: rgba(38, 33, 29, 0.12);
  --bundle-panel: rgba(255, 252, 246, 0.82);
  --bundle-panel-solid: #fffaf2;
  --bundle-green: #496a55;
  --bundle-green-dark: #233c2f;
  --bundle-light: #fbf7ef;
  background:
    radial-gradient(circle at 82% 14%, rgba(73, 106, 85, 0.1), transparent 36vw),
    linear-gradient(180deg, #f8f4ee 0%, var(--bundle-bg) 52%, #eee6da 100%);
  color: var(--bundle-ink);
}

html[data-theme="dark"] body.page-bundles-editorial,
html[data-theme="dark"] body.page-bundle-editorial {
  --bundle-bg: #101611;
  --bundle-ink: #f1eadf;
  --bundle-muted: #c4b9aa;
  --bundle-soft: #918879;
  --bundle-line: rgba(241, 234, 223, 0.13);
  --bundle-panel: rgba(28, 34, 29, 0.84);
  --bundle-panel-solid: #1b211c;
  --bundle-green: #b7cfba;
  --bundle-green-dark: #e7efe5;
  --bundle-light: #101611;
  background:
    radial-gradient(circle at 82% 14%, rgba(145, 184, 148, 0.12), transparent 36vw),
    linear-gradient(180deg, #101611 0%, #0c130f 100%);
}

body.page-bundles-editorial #arq-page-loader,
body.page-bundle-editorial #arq-page-loader {
  display: none !important;
}

.page-bundles-editorial .main-content,
.page-bundle-editorial .main-content,
.page-bundles-editorial .bundles-index,
.page-bundle-editorial .bundle-detail {
  background: transparent !important;
}

.page-bundles-editorial .bundles-index,
.page-bundle-editorial .bundle-detail {
  min-height: calc(100svh - 84px);
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(72px, 9vw, 116px) !important;
}

.page-bundles-editorial .bundles-index > .container,
.page-bundle-editorial .bundle-detail > .container {
  width: min(100% - 48px, 1120px);
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-bundles-editorial .bundles-hero {
  position: relative;
  min-height: clamp(420px, 52vw, 560px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(34px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(21, 30, 24, 0.88) 0%, rgba(21, 30, 24, 0.64) 44%, rgba(21, 30, 24, 0.16) 100%),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1800&q=80") center / cover;
  box-shadow: 0 28px 90px rgba(40, 32, 24, 0.12);
}

html[data-theme="dark"] .page-bundles-editorial .bundles-hero {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.page-bundles-editorial .bundles-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.page-bundles-editorial .section-eyebrow,
.page-bundle-editorial .section-eyebrow {
  margin: 0 0 16px;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.45;
  text-transform: uppercase;
}

.page-bundles-editorial .section-eyebrow {
  color: rgba(251, 247, 239, 0.68) !important;
}

.page-bundle-editorial .section-eyebrow {
  color: var(--bundle-soft) !important;
}

.page-bundles-editorial .section-title,
.page-bundle-editorial .section-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 0.96 !important;
}

.page-bundles-editorial .section-title {
  max-width: 650px;
  color: #fbf7ef !important;
  font-size: clamp(56px, 7vw, 98px) !important;
}

.page-bundles-editorial .section-lead {
  max-width: 470px;
  margin-top: 24px;
  color: rgba(251, 247, 239, 0.82) !important;
  font-size: 17px;
  line-height: 1.72;
}

.page-bundles-editorial .bundles-hero__panel {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 10px;
}

.page-bundles-editorial .bundles-hero__panel > div {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(251, 247, 239, 0.16);
  backdrop-filter: blur(18px);
  color: #fbf7ef;
}

.page-bundles-editorial .bundles-hero__panel span {
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.62);
}

.page-bundles-editorial .bundles-hero__panel strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.page-bundles-editorial h2.h5 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(46px, 7vw, 76px) 0 18px !important;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bundle-soft) !important;
}

.page-bundles-editorial h2.h5::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bundle-line);
}

.page-bundles-editorial .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  counter-reset: bundle-item;
}

.page-bundles-editorial .row > [class*="col"] {
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-bundles-editorial .bundle-card {
  min-height: 292px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 28px !important;
  background: var(--bundle-panel) !important;
  box-shadow: none !important;
  counter-increment: bundle-item;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.page-bundles-editorial .bundle-card:hover {
  transform: translateY(-4px);
  background: var(--bundle-panel-solid) !important;
  box-shadow: 0 24px 70px rgba(40, 32, 24, 0.1) !important;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-card {
  background: rgba(27, 33, 28, 0.9) !important;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-card:hover {
  background: rgba(34, 42, 35, 0.96) !important;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-card:hover {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

.page-bundles-editorial .bundle-card .card-body {
  position: relative;
  min-height: 292px;
  display: flex !important;
  flex-direction: column !important;
  padding: 30px !important;
}

.page-bundles-editorial .bundle-card .card-body::before {
  content: counter(bundle-item, decimal-leading-zero);
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: rgba(73, 106, 85, 0.11);
  color: var(--bundle-green-dark);
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-card .card-body::before {
  background: rgba(183, 207, 186, 0.11);
  color: var(--bundle-green);
}

.page-bundles-editorial .bundle-card p.small:first-of-type {
  position: absolute;
  top: 34px;
  right: 30px;
  margin: 0 !important;
  font-size: 11px;
  line-height: 1.3;
  color: var(--bundle-soft) !important;
}

.page-bundles-editorial .bundle-card h3 {
  max-width: 76%;
  margin: 0 0 14px !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: clamp(32px, 3.2vw, 46px) !important;
  line-height: 0.98;
  color: var(--bundle-ink);
}

html[data-theme="dark"] .page-bundles-editorial .bundle-card h3,
html[data-theme="dark"] .page-bundles-editorial .bundle-card strong {
  color: var(--bundle-ink) !important;
}

.page-bundles-editorial .bundle-card p.small.flex-grow-1 {
  max-width: 460px;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.66;
  color: var(--bundle-muted) !important;
}

.page-bundles-editorial .bundle-card p.mb-3 {
  margin: auto 0 18px !important;
}

.page-bundles-editorial .bundle-card strong {
  font-family: Jost, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--bundle-ink);
  white-space: nowrap;
}

.page-bundles-editorial .btn-calm,
.page-bundle-editorial .btn-calm,
.page-bundle-editorial .btn-outline-calm {
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none !important;
}

.page-bundles-editorial .btn-calm,
.page-bundle-editorial .btn-calm {
  border: 1px solid transparent !important;
  background: var(--bundle-green-dark) !important;
  color: var(--bundle-light) !important;
}

.page-bundles-editorial .btn-calm:hover,
.page-bundle-editorial .btn-calm:hover {
  background: var(--bundle-green) !important;
  color: var(--bundle-light) !important;
}

html[data-theme="dark"] .page-bundles-editorial .btn-calm,
html[data-theme="dark"] .page-bundle-editorial .btn-calm {
  color: #101611 !important;
}

.page-bundle-editorial .btn-outline-calm {
  border: 1px solid var(--bundle-line) !important;
  background: transparent !important;
  color: var(--bundle-ink) !important;
}

.page-bundle-editorial .btn-outline-calm:hover {
  border-color: var(--bundle-green-dark) !important;
  background: var(--bundle-green-dark) !important;
  color: var(--bundle-light) !important;
}

.page-bundles-editorial .bundles-index > .container > p:last-child {
  margin-top: 42px !important;
  padding-top: 24px;
  border-top: 1px solid var(--bundle-line);
}

.page-bundles-editorial a,
.page-bundle-editorial a {
  color: var(--bundle-green-dark);
}

html[data-theme="dark"] .page-bundles-editorial a,
html[data-theme="dark"] .page-bundle-editorial a {
  color: var(--bundle-green);
}

/* Single bundle */
.page-bundle-editorial .bundle-detail__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  row-gap: 0;
  width: min(100% - 48px, 920px) !important;
}

.page-bundle-editorial .back-link {
  display: inline-flex;
  width: max-content;
  margin-bottom: 28px;
  color: var(--bundle-soft) !important;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-bundle-editorial .section-head {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 42vw, 470px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin: 0 0 18px;
  border-radius: 34px;
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(20, 30, 24, 0.88), rgba(20, 30, 24, 0.52)),
    url("https://images.unsplash.com/photo-1470770903676-69b98201ea1c?auto=format&fit=crop&w=1700&q=80") center / cover;
  color: #fbf7ef;
}

.page-bundle-editorial .section-title {
  max-width: 650px;
  color: #fbf7ef !important;
  font-size: clamp(54px, 6vw, 86px) !important;
}

.page-bundle-editorial .section-head .section-eyebrow {
  color: rgba(251, 247, 239, 0.66) !important;
}

.page-bundle-editorial .section-lead {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(251, 247, 239, 0.82) !important;
  font-size: 16px;
  line-height: 1.72;
}

.page-bundle-editorial .legal-prose {
  max-width: 720px;
  margin: 22px auto 0 !important;
  color: var(--bundle-muted);
  font-size: 15px;
  line-height: 1.8;
  text-align: left !important;
}

.page-bundle-editorial .bundle-detail__container > .legal-prose {
  text-align: left !important;
}

.page-bundle-editorial .card {
  position: relative;
  border: 0 !important;
  border-radius: 26px !important;
  background: var(--bundle-panel) !important;
  box-shadow: none !important;
}

.page-bundle-editorial .bundle-price-card {
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 22px;
  align-items: center;
  margin: 8px auto 30px;
  padding: 18px 22px 18px 24px;
  border: 1px solid rgba(38, 33, 29, 0.08);
  border-radius: 22px;
  background: rgba(255, 252, 246, 0.84);
  box-shadow: 0 18px 54px rgba(40, 32, 24, 0.08);
}

html[data-theme="dark"] .page-bundle-editorial .bundle-price-card {
  border-color: rgba(241, 234, 223, 0.1);
  background: rgba(27, 33, 28, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
}

.page-bundle-editorial .bundle-price-card__copy {
  min-width: 0;
}

.page-bundle-editorial .bundle-price-card__label {
  display: block;
  margin-bottom: 5px;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--bundle-soft);
}

.page-bundle-editorial .bundle-price-card__note,
.page-bundle-editorial .bundle-price-card__saving {
  display: block;
  color: var(--bundle-muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-bundle-editorial .bundle-price-card__amount {
  justify-self: end;
  color: var(--bundle-ink);
  font-family: Jost, system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.page-bundle-editorial .bundle-price-card__saving {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--bundle-line);
}

.page-bundle-editorial .bundle-detail__container > .card {
  margin: 0 auto 34px !important;
  width: min(100%, 720px);
  transform: translateY(-46px);
}

.page-bundle-editorial .bundle-detail__container > .card .card-body {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 24px !important;
}

.page-bundle-editorial .bundle-detail__container > .card p:first-child {
  margin-bottom: 0 !important;
}

.page-bundle-editorial .bundle-detail__container > .card strong.fs-4 {
  display: block;
  margin-bottom: 4px;
  font-family: Jost, system-ui, sans-serif;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 500;
  line-height: 1;
  color: var(--bundle-ink);
}

.page-bundle-editorial .bundle-detail__container > h2.h5,
.page-bundle-editorial .bundle-detail__container > h2.h5 + p,
.page-bundle-editorial .bundle-detail__container > ul,
.page-bundle-editorial .alert,
.page-bundle-editorial .bundle-detail__container > .d-flex,
.page-bundle-editorial .bundle-detail__container > p.small.mt-3 {
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
}

.page-bundle-editorial .bundle-detail__container > h2.h5 {
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 30px;
  border-top: 1px solid var(--bundle-line);
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bundle-soft);
}

.page-bundle-editorial .bundle-detail__container > h2.h5 + p {
  margin-bottom: 10px;
  color: var(--bundle-muted) !important;
  font-size: 14px;
  line-height: 1.7;
}

.page-bundle-editorial ul.list-unstyled {
  margin-bottom: 30px !important;
}

.page-bundle-editorial ul.list-unstyled > li {
  border-color: var(--bundle-line) !important;
  padding: 22px 0 !important;
}

.page-bundle-editorial ul.list-unstyled > li > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start !important;
}

.page-bundle-editorial ul.list-unstyled strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.04;
  color: var(--bundle-ink);
}

.page-bundle-editorial ul.list-unstyled span.small {
  margin-left: 8px;
  font-size: 12px;
}

.page-bundle-editorial ul.list-unstyled p.small {
  max-width: 560px;
  margin-top: 8px !important;
  color: var(--bundle-muted) !important;
  font-size: 13px;
  line-height: 1.62;
}

.page-bundle-editorial .btn-sm.btn-outline-calm {
  min-height: 34px;
  padding: 9px 14px !important;
  font-size: 9px;
}

.page-bundle-editorial .alert {
  border: 0;
  border-radius: 22px;
  background: rgba(73, 106, 85, 0.1);
  color: var(--bundle-ink);
}

.page-bundle-editorial .bundle-detail__container > .d-flex {
  margin-top: 2px;
  padding-top: 26px;
  border-top: 1px solid var(--bundle-line);
}

.page-bundle-editorial .bundle-detail__container > p.small.mt-3 {
  color: var(--bundle-muted) !important;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .page-bundles-editorial .bundles-hero {
    grid-template-columns: 1fr;
  }

  .page-bundles-editorial .bundles-hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: auto;
  }

  .page-bundles-editorial .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .page-bundles-editorial .bundles-index,
  .page-bundle-editorial .bundle-detail {
    padding-top: 32px !important;
  }

  .page-bundles-editorial .bundles-index > .container,
  .page-bundle-editorial .bundle-detail > .container {
    width: min(100% - 30px, 1120px) !important;
  }

  .page-bundles-editorial .bundles-hero,
  .page-bundle-editorial .section-head {
    min-height: 430px;
    border-radius: 26px;
    padding: 26px;
  }

  .page-bundles-editorial .section-title,
  .page-bundle-editorial .section-title {
    font-size: clamp(44px, 13vw, 60px) !important;
  }

  .page-bundles-editorial .section-lead,
  .page-bundle-editorial .section-lead {
    font-size: 15px;
  }

  .page-bundles-editorial .bundles-hero__panel {
    grid-template-columns: 1fr;
  }

  .page-bundles-editorial .bundle-card,
  .page-bundles-editorial .bundle-card .card-body {
    min-height: 260px;
  }

  .page-bundles-editorial .bundle-card {
    border-radius: 24px !important;
  }

  .page-bundles-editorial .bundle-card .card-body {
    padding: 24px !important;
  }

  .page-bundles-editorial .bundle-card h3 {
    max-width: 100%;
    font-size: 34px !important;
  }

  .page-bundle-editorial .bundle-detail__container > .card {
    transform: translateY(-30px);
  }

  .page-bundle-editorial .bundle-price-card {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 26px;
    padding: 18px;
  }

  .page-bundle-editorial .bundle-price-card__amount {
    justify-self: start;
    font-size: 24px;
  }

  .page-bundle-editorial .bundle-detail__container > .card .card-body {
    display: block;
  }

  .page-bundle-editorial ul.list-unstyled > li > div {
    grid-template-columns: 1fr;
  }

  .page-bundle-editorial .btn-sm.btn-outline-calm {
    width: max-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-bundles-editorial .bundle-card,
  .page-bundles-editorial .btn-calm,
  .page-bundle-editorial .btn-calm,
  .page-bundle-editorial .btn-outline-calm {
    transition: none !important;
  }
}
