@charset "UTF-8";
/* Ghost Workout packages */
#packs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(200, 169, 110, .10), transparent 33%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

#packs::before,
#packs::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: .18;
  background: var(--gold);
}

#packs::before {
  top: 12%;
  left: -180px;
}

#packs::after {
  right: -180px;
  bottom: 8%;
}

.gw-pack-intro {
  max-width: 760px;
  margin-inline: auto;
}

.gw-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.gw-pack-card {
  --pack-border: rgba(200, 169, 110, .30);
  position: relative;
  align-self: start;
  height: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--pack-border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, 0) 42%),
    var(--card);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  isolation: isolate;
}

.gw-pack-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(200, 169, 110, .14);
  border-radius: 16px;
  pointer-events: none;
  z-index: -1;
}

.gw-pack-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 169, 110, .72);
  box-shadow: 0 30px 75px rgba(0, 0, 0, .32), 0 0 0 1px rgba(200, 169, 110, .08);
}

.gw-pack-card.is-featured {
  --pack-border: rgba(200, 169, 110, .90);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36), 0 0 42px rgba(200, 169, 110, .11);
}

.gw-pack-card.is-featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-light), rgba(200, 169, 110, .08), var(--gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gw-pack-badge {
  align-self: center;
  max-width: calc(100% - 1.5rem);
  margin: -2.2rem auto .8rem;
  padding: .5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #080808;
  box-shadow: 0 10px 30px rgba(200, 169, 110, .24);
  font-family: "Bebas Neue", sans-serif;
  font-size:1rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.gw-pack-badge.is-subtle {
  margin: 0 0 .9rem;
  align-self: flex-start;
  padding: .38rem .7rem;
  border-color: rgba(200, 169, 110, .25);
  border-radius: 6px;
  background: rgba(200, 169, 110, .07);
  color: var(--gold-light);
  box-shadow: none;
  font-size: .62rem;
}

.gw-pack-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 1rem;
  align-items: start;
  padding: .65rem .65rem 1rem;
}

.gw-pack-name {
  margin: 0;
  color: var(--text);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.55rem, 4vw, 3.75rem);
  font-weight: 400;
  letter-spacing: .035em;
  line-height: .9;
  text-transform: uppercase;
}

.gw-pack-card.is-featured .gw-pack-name,
.gw-pack-card[data-package-slug="elite"] .gw-pack-name {
  color: var(--gold-light);
}

.gw-pack-subtitle {
  margin: .45rem 0 0;
  color: var(--muted);
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gw-pack-head-icon,
.gw-pack-feature-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 169, 110, .34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 110, .13), rgba(200, 169, 110, .025));
  box-shadow: inset 0 0 24px rgba(200, 169, 110, .05);
}

.gw-pack-head-icon {
  width: 68px;
  height: 68px;
}

.gw-pack-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(27%) saturate(579%) hue-rotate(358deg) brightness(89%) contrast(86%);
}

.gw-pack-price-wrap {
  padding: .1rem .65rem 1.1rem;
}

.gw-pack-price {
  display: flex;
  gap: .55rem;
  align-items: baseline;
  color: var(--text);
}

.gw-pack-price strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .9;
}

.gw-pack-price small {
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 700;
}

.gw-pack-duration {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .7rem;
  padding: .42rem .7rem;
  border: 1px solid rgba(200, 169, 110, .20);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(200, 169, 110, .035);
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gw-pack-duration img {
  width: 17px;
  height: 17px;
}

.gw-pack-features {
  display: flex;
  flex-direction: column;
  margin: 0 .35rem;
  padding: 0;
  list-style: none;
}

.gw-pack-feature {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  min-height: 78px;
  padding: .8rem .25rem;
  border-top: 1px solid rgba(200, 169, 110, .12);
}

.gw-pack-feature:first-child {
  border-top: 0;
}

.gw-pack-feature.is-disabled {
  opacity: .38;
}

.gw-pack-feature-icon {
  position: relative;
  width: 48px;
  height: 48px;
}

.gw-pack-feature-icon .gw-pack-icon-img {
  width: 26px;
  height: 26px;
}

.gw-pack-feature-status {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--card);
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
}

.gw-pack-feature-title,
.gw-pack-feature-highlight,
.gw-pack-feature-detail {
  display: block;
}

.gw-pack-feature-title {
  color: var(--text);
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.3;
  text-transform: uppercase;
}

.gw-pack-feature-highlight {
  margin-top: .12rem;
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.3;
  text-transform: uppercase;
}

.gw-pack-feature-detail {
  margin-top: .2rem;
  color: var(--muted2);
  font-size: .6rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.gw-pack-footer {
  margin-top: .25rem;
  padding: 1rem .35rem .35rem;
}

.gw-pack-cta {
  width: 100%;
  min-height: 58px;
  justify-content: center;
  border-radius: 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: .04em;
  line-height: 1;
}

.gw-pack-card:not(.is-featured) .gw-pack-cta {
  border: 1px solid rgba(200, 169, 110, .70);
  background: transparent;
  color: var(--gold-light);
}

.gw-pack-card:not(.is-featured) .gw-pack-cta:hover {
  background: var(--gold);
  color: #080808;
}

.gw-pack-stars {
  margin-top: .55rem;
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .2em;
  text-align: center;
}

.gw-pack-description {
  min-height: 1.1rem;
  margin: .55rem 0 0;
  color: var(--muted2);
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

/* Checkout modal */
.gw-checkout-modal .modal-dialog {
  max-width: 540px;
}

.gw-checkout-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 110, .48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 169, 110, .11), transparent 40%),
    #0b0b0b;
  color: #f5f5f0;
  box-shadow: 0 35px 120px rgba(0, 0, 0, .75), 0 0 55px rgba(200, 169, 110, .08);
}

.gw-checkout-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(200, 169, 110, .12);
  border-radius: 17px;
  pointer-events: none;
}

.gw-checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(200, 169, 110, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .025);
  color: #e0c68a;
  font-size: 1.1rem;
  line-height: 1;
  transition: .25s ease;
}

.gw-checkout-close:hover {
  border-color: rgba(200, 169, 110, .62);
  background: rgba(200, 169, 110, .10);
  transform: rotate(90deg);
}

.gw-checkout-body {
  position: relative;
  z-index: 1;
  padding: 2.15rem;
}

.gw-checkout-kicker {
  margin-bottom: .55rem;
  color: #c8a96e;
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gw-checkout-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.45rem, 7vw, 3.5rem);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: .92;
  text-transform: uppercase;
}

.gw-checkout-copy {
  max-width: 390px;
  margin: .75rem 0 1.35rem;
  color: #aaa;
  font-size: .86rem;
  line-height: 1.6;
}

.gw-checkout-summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: .9rem;
  border: 1px solid rgba(200, 169, 110, .18);
  border-radius: 14px;
  background: rgba(200, 169, 110, .045);
}

.gw-checkout-summary-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(200, 169, 110, .30);
  border-radius: 50%;
  background: rgba(200, 169, 110, .05);
}

.gw-checkout-summary-icon img {
  width: 29px;
  height: 29px;
}

.gw-checkout-summary-label {
  color: #8e8e8e;
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gw-checkout-summary-name {
  margin-top: .1rem;
  color: #f5f5f0;
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gw-checkout-summary-price {
  color: #e0c68a;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: .025em;
  white-space: nowrap;
}

.gw-payment-list {
  display: grid;
  gap: .75rem;
}

.gw-payment-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: .85rem;
  align-items: center;
  width: 100%;
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
  color: #f5f5f0;
  text-align: left;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.gw-payment-option:hover,
.gw-payment-option:focus-visible {
  border-color: rgba(200, 169, 110, .52);
  background: rgba(200, 169, 110, .07);
  transform: translateY(-2px);
  outline: none;
}

.gw-payment-brand {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 11px;
  background: rgba(200, 169, 110, .07);
}

.gw-payment-brand img {
  width: 27px;
  height: 27px;
}

.gw-payment-name {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 800;
}

.gw-payment-note {
  display: block;
  margin-top: .12rem;
  color: #8d8d8d;
  font-size: .68rem;
  line-height: 1.35;
}

.gw-payment-arrow {
  color: #c8a96e;
  font-size: 1.15rem;
  text-align: center;
}

.gw-payment-state {
  display: none;
  margin-top: .85rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(200, 169, 110, .18);
  border-radius: 10px;
  background: rgba(200, 169, 110, .05);
  color: #bcbcbc;
  font-size: .7rem;
  line-height: 1.45;
}

.gw-payment-state.is-visible {
  display: block;
}


.gw-payment-state.is-error {
  border-color: rgba(224, 123, 116, .28);
  background: rgba(224, 123, 116, .07);
  color: #e5aaa5;
}

.gw-payment-option:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.gw-checkout-security {
  display: flex;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  color: #727272;
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.gw-checkout-security img {
  width: 15px;
  height: 15px;
}

.modal-backdrop.show {
  opacity: .78;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gw-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gw-pack-card[data-package-slug="elite"] {
    grid-column: 1 / -1;
    width: min(100%, 650px);
    justify-self: center;
  }
}

@media (max-width: 767.98px) {
  .gw-pack-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .gw-pack-card,
  .gw-pack-card[data-package-slug="elite"] {
    grid-column: auto;
    width: 100%;
  }

  .gw-pack-card.is-featured {
    margin-top: 1rem;
  }

  .gw-pack-head {
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  .gw-pack-head-icon {
    width: 58px;
    height: 58px;
  }

  .gw-pack-head-icon .gw-pack-icon-img {
    width: 31px;
    height: 31px;
  }

  .gw-pack-feature {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: .7rem;
  }

  .gw-checkout-body {
    padding: 1.65rem 1.25rem 1.35rem;
  }

  .gw-checkout-summary {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .gw-checkout-summary-icon {
    width: 46px;
    height: 46px;
  }

  .gw-checkout-summary-price {
    grid-column: 2;
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gw-pack-card,
  .gw-checkout-close,
  .gw-payment-option {
    transition: none;
  }
}


/* Ebook details reuse the payment modal visual system. */
.gw-ebook-details-description {
  margin: 16px 0;
  color: var(--muted, #aaa39a);
  font-size: 0.9rem;
  line-height: 1.75;
}

.gw-ebook-details-features {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.gw-ebook-details-features li {
  position: relative;
  padding-left: 22px;
  color: var(--text, #f5f5f0);
  font-size: 0.84rem;
  line-height: 1.55;
}

.gw-ebook-details-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold, #c8a96e);
  content: "";
  font-weight: 800;
}

#ebookCheckoutModal .gw-checkout-summary-icon {
  font-family: "Bebas Neue", sans-serif;
  font-size:1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}


/* === Ghost Workout design patch: desktop packs === */
@media (min-width: 992px) {
  .gw-pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gw-pack-card[data-package-slug="elite"] {
    grid-column: auto;
    width: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.gw-pack-card.is-featured {
  padding-top: 1.45rem;
}

.gw-pack-card.is-featured .gw-pack-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 8;
  margin: 0;
  transform: translate(-50%, -78%);
}

/* === Ebook feature icon: local Font Awesome SVG, no text encoding === */
.gw-ebook-details-features li::before {
  content: "";
  top: .25rem;
  width: 14px;
  height: 14px;
  background: var(--gold, #c8a96e);
  -webkit-mask: url("../svg/fontawesome/solid/circle-check.svg") center / contain no-repeat;
  mask: url("../svg/fontawesome/solid/circle-check.svg") center / contain no-repeat;
}

/* === Metallic package / checkout controls === */
:where(
  .gw-pack-cta,
  .gw-payment-option,
  .gw-checkout-close,
  .gw-ebook-checkout,
  #ebookCheckoutModal button
) {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.08) 18%, rgba(255,255,255,0) 38%, rgba(0,0,0,.18) 53%, rgba(255,255,255,.08) 73%, rgba(0,0,0,.26) 100%) !important;
  border-color: rgba(224, 198, 138, .62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 -2px 4px rgba(0,0,0,.36),
    0 9px 24px rgba(0,0,0,.26);
  text-shadow: 0 1px 0 rgba(255,255,255,.13), 0 -1px 0 rgba(0,0,0,.28);
}

:where(
  .gw-pack-cta,
  .gw-payment-option,
  .gw-checkout-close,
  .gw-ebook-checkout,
  #ebookCheckoutModal button
):not(:disabled):hover {
  border-color: rgba(224, 198, 138, .95);
  filter: brightness(1.08) contrast(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 4px rgba(0,0,0,.38),
    0 12px 30px rgba(200,169,110,.18);
}


/* === Ghost Workout: intrinsic pack heights === */
.gw-pack-grid{
  align-items:start!important;
  grid-auto-rows:max-content!important;
}

.gw-pack-grid > .gw-pack-card{
  align-self:start!important;
  height:fit-content!important;
  min-height:0!important;
  max-height:none!important;
}

.gw-pack-card .gw-pack-features{
  flex:0 0 auto!important;
}

.gw-pack-card .gw-pack-footer{
  margin-top:.25rem!important;
}

@media(max-width:767.98px){
  .gw-pack-grid{
    gap:2.4rem!important;
  }
}


/* === Ghost Workout: desktop packs keep their own content height === */
@media (min-width: 992px) {
  .gw-pack-grid {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    grid-template-columns: none !important;
    grid-auto-rows: initial !important;
  }

  .gw-pack-grid > .gw-pack-card,
  .gw-pack-grid > .gw-pack-card[data-package-slug="elite"] {
    display: block !important;
    flex: 1 1 0 !important;
    align-self: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-column: auto !important;
    justify-self: auto !important;
  }

  .gw-pack-card .gw-pack-features {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .gw-pack-card .gw-pack-footer {
    margin-top: .25rem !important;
    position: static !important;
  }
}
