/* Lazarus Pass weekly-offer panel for featured WooCommerce product pages.
   Loaded only when the current product is present in the active manifest. */

.ll-pdp .ll-pass-weekly-pdp {
  --ll-weekly-gold: #e9c84b;
  --ll-weekly-gold-hi: #f6e27a;
  --ll-weekly-silver: #cfd8e0;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(233, 200, 75, .42);
  border-radius: 18px;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(233, 200, 75, .14), transparent 48%),
    radial-gradient(90% 110% at 100% 0%, rgba(167, 210, 45, .09), transparent 54%),
    linear-gradient(155deg, rgba(17, 22, 28, .98), rgba(8, 12, 16, .98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--text, #ecefe6);
  animation: ll-weekly-pdp-enter .55s var(--ease, cubic-bezier(.2, .75, .2, 1)) both;
}

.ll-pdp .ll-pass-weekly-pdp[hidden] {
  display: none !important;
}

.ll-pdp .ll-pass-weekly-pdp::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.ll-pdp .ll-pass-weekly-pdp::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -32%;
  z-index: -1;
  width: 20%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(246, 226, 122, .09), transparent);
  transform: skewX(-18deg);
  animation: ll-weekly-pdp-sheen 7s 1.2s ease-in-out infinite;
}

.ll-pdp .ll-pass-weekly-pdp--bronze {
  border-color: rgba(207, 216, 224, .34);
}

.ll-pdp .ll-pass-weekly-pdp--eligible {
  border-color: rgba(167, 210, 45, .48);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .34),
    0 0 34px rgba(167, 210, 45, .09),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ll-pdp .ll-pass-weekly-pdp__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ll-pdp .ll-pass-weekly-pdp__kicker {
  margin: 0;
  color: var(--ll-weekly-silver);
  font: 800 11px/1.35 var(--display, Montserrat, Inter, sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ll-pdp .ll-pass-weekly-pdp__kicker span {
  color: var(--ll-weekly-gold-hi);
}

.ll-pdp .ll-pass-weekly-pdp__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(199, 243, 59, .38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(199, 243, 59, .15), rgba(167, 210, 45, .07));
  color: var(--lime-hot, #c7f33b);
  font: 900 12px/1 var(--display, Montserrat, Inter, sans-serif);
  letter-spacing: .08em;
  white-space: nowrap;
}

.ll-pdp .ll-pass-weekly-pdp h2 {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font: 900 clamp(1.32rem, 2.2vw, 1.72rem)/1.08 var(--display, Montserrat, Inter, sans-serif);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.ll-pdp .ll-pass-weekly-pdp__price-line {
  display: grid;
  grid-template-columns: .9fr 1.1fr 1fr;
  gap: 1px;
  margin: 16px 0 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}

.ll-pdp .ll-pass-weekly-pdp__price-line > span {
  display: flex;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  flex-direction: column;
  justify-content: center;
  background: rgba(7, 11, 15, .88);
}

.ll-pdp .ll-pass-weekly-pdp__price-line small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-2, #8a939d);
  font: 800 10px/1 var(--display, Montserrat, Inter, sans-serif);
  letter-spacing: .11em;
}

.ll-pdp .ll-pass-weekly-pdp__price-line s,
.ll-pdp .ll-pass-weekly-pdp__price-line b {
  overflow: hidden;
  font-family: var(--display, Montserrat, Inter, sans-serif);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ll-pdp .ll-pass-weekly-pdp__price-line s {
  color: #aeb6bf;
  font-size: 16px;
  font-weight: 700;
}

.ll-pdp .ll-pass-weekly-pdp__price b {
  color: #fff;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 900;
}

.ll-pdp .ll-pass-weekly-pdp__saving b {
  color: var(--lime-hot, #c7f33b);
  font-size: 17px;
  font-weight: 900;
}

.ll-pdp .ll-pass-weekly-pdp__message {
  margin: 0;
  color: #c5ccd3;
  font: 600 14px/1.55 var(--sans, Inter, system-ui, sans-serif);
}

.ll-pdp .ll-pass-weekly-pdp__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.ll-pdp .ll-pass-weekly-pdp__cta {
  appearance: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(246, 226, 122, .54);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(233, 200, 75, .16), rgba(184, 146, 58, .08));
  box-shadow: none !important;
  color: var(--ll-weekly-gold-hi) !important;
  font: 800 11px/1.2 var(--display, Montserrat, Inter, sans-serif);
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.ll-pdp .ll-pass-weekly-pdp__cta:hover {
  border-color: rgba(246, 226, 122, .82);
  background: linear-gradient(180deg, rgba(233, 200, 75, .23), rgba(184, 146, 58, .12));
  color: #fff5c2 !important;
  transform: translateY(-1px);
}

.ll-pdp .ll-pass-weekly-pdp__cta:focus-visible,
.ll-pdp .ll-pass-weekly-pdp__link:focus-visible {
  outline: 2px solid var(--lime-hot, #c7f33b);
  outline-offset: 3px;
}

.ll-pdp .ll-pass-weekly-pdp__link {
  color: #cfd8e0 !important;
  font: 800 10.5px/1.35 var(--display, Montserrat, Inter, sans-serif);
  letter-spacing: .08em;
  text-decoration: underline !important;
  text-decoration-color: rgba(207, 216, 224, .42) !important;
  text-underline-offset: 4px;
}

.ll-pdp .ll-pass-weekly-pdp__link:hover {
  color: #fff !important;
}

.ll-pdp .ll-pass-weekly-pdp__terms {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #98a2ad;
  font: 650 11.5px/1.5 var(--sans, Inter, system-ui, sans-serif);
  letter-spacing: .01em;
}

@keyframes ll-weekly-pdp-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ll-weekly-pdp-sheen {
  0%,
  72% {
    left: -32%;
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  92%,
  100% {
    left: 120%;
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .ll-pdp .ll-pass-weekly-pdp {
    margin-bottom: 14px;
    padding: 16px;
    border-radius: 15px;
  }

  .ll-pdp .ll-pass-weekly-pdp__top {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .ll-pdp .ll-pass-weekly-pdp__kicker {
    max-width: 210px;
    font-size: 10px;
  }

  .ll-pdp .ll-pass-weekly-pdp h2 {
    max-width: none;
    font-size: clamp(1.18rem, 6vw, 1.42rem);
    line-height: 1.1;
  }

  .ll-pdp .ll-pass-weekly-pdp__price-line {
    grid-template-columns: 1fr 1.15fr;
    margin: 14px 0 12px;
  }

  .ll-pdp .ll-pass-weekly-pdp__price-line > span {
    min-height: 58px;
    padding: 9px 10px;
  }

  .ll-pdp .ll-pass-weekly-pdp__saving {
    grid-column: 1 / -1;
    min-height: 48px !important;
  }

  .ll-pdp .ll-pass-weekly-pdp__message {
    font-size: 13px;
    line-height: 1.5;
  }

  .ll-pdp .ll-pass-weekly-pdp__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .ll-pdp .ll-pass-weekly-pdp__cta {
    width: 100%;
  }

  .ll-pdp .ll-pass-weekly-pdp__link {
    align-self: center;
    padding: 3px 0;
  }

  .ll-pdp .ll-pass-weekly-pdp__terms {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-pdp .ll-pass-weekly-pdp,
  .ll-pdp .ll-pass-weekly-pdp::after,
  .ll-pdp .ll-pass-weekly-pdp__cta {
    animation: none;
    transition: none;
  }

  .ll-pdp .ll-pass-weekly-pdp__cta:hover {
    transform: none;
  }
}
