/* Pro+ offer page (offers/assets/templates/pro-plus-offer.php) */

/* Hero price */
.hero-section .pricing-table .pricing-line .price .price-cents {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

/* Monthly / Yearly switch in the hero */
.hero-section .offer-period-toggle {
  width: 300px;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Countdown (top of the hero and the final call to action) */
.offer-countdown {
  margin-bottom: 40px;
}
.offer-countdown-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #757575;
  margin-bottom: 8px;
}
.offer-countdown-tiles {
  display: flex;
  gap: 8px;
}
.offer-countdown-tile {
  min-width: 64px;
  padding: 8px 6px 6px;
  text-align: center;
  background-color: #24242f;
  border-radius: 10px;
  color: #fafafa;
}
.offer-countdown-tile span {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.offer-countdown-tile small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b5b5be;
}

/* Subscribe buttons with the saving in the text */
#hero-subscribe-button {
  width: auto;
  min-width: 220px;
}

/* Mobile sticky bar (phones only) */
.offer-mobile-bar {
  display: none;
}
@media (max-width: 767.5px) {
  /* Phones: logo only in the header, the button moves to the bottom bar */
  #header-subscribe-button {
    display: none !important;
  }
  .offer-mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background-color: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e2e2;
    box-shadow: 0 -4px 16px rgba(1, 1, 1, 0.08);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .offer-mobile-bar.visible {
    transform: translateY(0);
  }
  .offer-mobile-bar .btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 10px 14px;
    font-size: 17px;
    border-radius: 12px;
  }
}

/* Final call to action */
#reviews-2.offer-final-cta .section-title {
  margin-bottom: 40px;
}
.offer-final-card {
  padding: 34px 30px 30px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #dadada;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(1, 1, 1, 0.08);
}
.offer-final-card .offer-countdown {
  margin-bottom: 22px;
}
.offer-final-card .offer-countdown-tiles {
  justify-content: center;
}
.offer-final-title {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
}
.offer-final-title .pro-plus-gradient-text {
  background: linear-gradient(90deg, #df9828, #f4a11f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.offer-final-title .discount-title-text {
  color: #499609;
}
.offer-final-price {
  margin-top: 10px;
  font-size: 17px;
  color: #757575;
}
.offer-final-price b {
  font-size: 22px;
  color: #222;
}
.offer-final-button {
  margin-top: 24px;
  padding: 14px 28px 16px;
  font-size: 18px;
  border-radius: 12px;
}
.offer-final-guarantee {
  margin-top: 14px;
  font-size: 15px;
  color: #959595;
}

/* Feature boxes */
.offer-features > div {
  margin-bottom: 30px;
}
.offer-feature {
  height: 100%;
  background-color: #f8f8f8;
  border: 1px solid #dadada;
  border-radius: 12px;
  overflow: hidden;
}
.offer-feature-img {
  position: relative;
  height: 170px;
  padding: 18px 18px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf5fb 0%, #f8f8f8 100%);
  border-bottom: 1px solid #e6e6e6;
}
.offer-feature-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transform: scale(1.6);
  transform-origin: top left;
  border-radius: 6px 6px 0 0;
  filter: drop-shadow(0 2px 6px rgba(1, 1, 1, 0.15));
}
.offer-feature-img.contain {
  /* Whole image visible, with even space above and below */
  padding: 14px 18px;
}
.offer-feature-img.contain img {
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
  border-radius: 0;
}
/* 'width' => '73%': image at a share of the box width, centred,
   cropped at the bottom by the box */
.offer-feature-img.sized img {
  height: auto;
  margin: 0 auto;
  object-fit: fill;
  transform: none;
  filter: none;
  border-radius: 0;
}
.offer-feature-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px 3px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.3;
  color: #fff;
  background-color: #06c668;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(6, 198, 104, 0.35);
}
/* Other badge colours (set 'badge_color') */
.offer-feature-badge.blue {
  background-color: #16a2e0;
  box-shadow: 0 2px 6px rgba(22, 162, 224, 0.35);
}
.offer-feature-badge.pink {
  background-color: #ec4899;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.35);
}
.offer-feature-title {
  margin: 18px 18px 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.offer-feature-text {
  margin: 0 18px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #757575;
}

/* Keep the Pro+ card in line with the feature boxes */
@media (min-width: 992px) {
  #pricing-2 .col-lg-4 > .pricing-table.highlight.pm-bg-highlight {
    height: calc(100% - 30px);
  }
}
@media (max-width: 991px) {
  #pricing-2 .col-lg-4 > .pricing-table.highlight.pm-bg-highlight {
    margin-bottom: 40px;
  }
}
@media (max-width: 576.5px) {
  .offer-countdown {
    margin-bottom: 30px;
  }
  .offer-countdown-tiles {
    gap: 6px;
  }
  .offer-countdown-tile {
    flex: 1;
    min-width: 0;
  }
  #hero-subscribe-button,
  .offer-final-button {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 17px;
  }
  .offer-final-card {
    padding: 28px 18px 24px;
  }
  .offer-final-title {
    font-size: 22px;
  }
  .hero-section .offer-period-toggle {
    width: 100%;
  }
}

/* "What you get" ends with the same space as it starts with
   (custom.css sets the top padding; the last row adds 30px of margin) */
#pricing-2.pricing-section {
  padding-bottom: 70px !important;
}
@media (max-width: 767.5px) {
  #pricing-2.pricing-section {
    padding-bottom: 20px !important;
  }
}

/* Small green pill after a feature title (set 'title_badge') */
.offer-feature-title-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 8px 2px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.3;
  text-transform: uppercase;
  vertical-align: 3px;
  color: #fff;
  background-color: #06c668;
  border-radius: 20px;
}

/* Grid layout (features_layout = 'grid'): the Pro+ card spans 2 columns */
#pricing-2 .offer-features-grid .offer-proplus-col > .pricing-table.highlight.pm-bg-highlight {
  height: 100%;
  margin-bottom: 0;
  /* Look like the other boxes: no shadow, same corners */
  box-shadow: none;
  border-radius: 12px;
}
@media (min-width: 768px) {
  /* Text on the left, the extension screenshot on the right.
     !important beats the inline padding "See more..." adds */
  #pricing-2 .offer-features-grid .offer-proplus-col > .pricing-table.highlight.pm-bg-highlight {
    padding-right: 48%;
    padding-bottom: 40px !important;
  }
  #pricing-2 .offer-features-grid .offer-proplus-col .features-img-preview {
    width: 55%;
    max-width: 440px;
    right: -10%;
    bottom: -40px;
  }
}
@media (max-width: 575.5px) {
  /* Phones: the screenshot sits in the bottom corner, so the "See more..."
     link moves up clear of it */
  #pricing-2 .offer-features-grid .offer-proplus-col > .pricing-table.highlight.pm-bg-highlight {
    padding-bottom: 190px;
  }
}
@media (min-width: 992px) {
  /* 3 columns with every row the same height, so the Pro+ card and all
     the boxes line up (Bootstrap's gutters and 30px row gap are kept) */
  .offer-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }
  .offer-features-grid > div {
    flex: none;
    width: auto;
    max-width: none;
  }
  .offer-features-grid > .offer-proplus-col {
    grid-column: span 2;
  }
  /* The box next to the Pro+ card grows its screenshot to fill the row */
  .offer-features-grid .offer-proplus-col + div .offer-feature {
    display: flex;
    flex-direction: column;
  }
  .offer-features-grid .offer-proplus-col + div .offer-feature-img {
    flex: 1 1 auto;
    min-height: 170px;
    height: auto;
  }
  .offer-features-grid .offer-proplus-col + div .offer-feature-img img {
    position: absolute;
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 18px);
  }
}

/* Grid layout: the Pro+ card has no feature list, only a "See more..."
   link at the bottom that opens the "Everything included" table */
#pricing-2 .offer-features-grid .offer-proplus-col > .pricing-table.highlight.pm-bg-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.offer-included-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 16px;
  color: rgb(9, 110, 210);
}
.offer-included-link:hover,
.offer-included-link:focus {
  text-decoration: underline;
  color: rgb(8, 96, 185);
}

/* "See everything included..." under the grid */
.offer-included-toggle-wrap {
  margin: 4px 0 30px;
  text-align: center;
}
.offer-included-toggle {
  padding: 4px 8px;
  font-size: 17px;
  color: rgb(9, 110, 210);
  background: none;
  border: 0;
  cursor: pointer;
}
.offer-included-toggle:hover {
  text-decoration: underline;
  color: rgb(8, 96, 185);
}
/* Focus ring for keyboard users only (Bootstrap adds one on every focus) */
.offer-included-toggle:focus,
.offer-included-link:focus {
  outline: none;
}
.offer-included-toggle:focus-visible,
.offer-included-link:focus-visible {
  outline: 2px solid rgb(9, 110, 210);
  outline-offset: 2px;
  border-radius: 4px;
}

/* "Everything included" table */
.offer-included {
  margin-bottom: 30px;
  scroll-margin-top: 110px;
  background-color: #fff;
  border: 1px solid #dadada;
  border-radius: 12px;
  overflow: hidden;
}
.offer-included-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}
.offer-included-table tbody + tbody .offer-included-group th {
  border-top: 1px solid #dadada;
}
/* Grey group headers, white rows */
.offer-included-group th {
  padding: 26px 28px 16px;
  background-color: #f4f4f5;
}
.offer-included-group .plan-logo {
  margin: 0 10px 0 0;
  padding: 3px 7px 2px;
  font-size: 15px;
  vertical-align: 2px;
}
.offer-included-group-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
}
.offer-included-group-sub {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 400;
  color: #757575;
}
.offer-included-table tr:not(.offer-included-group) th,
.offer-included-table td {
  padding: 13px 28px;
  border-top: 1px solid #e6e6e6;
  font-size: 16px;
  line-height: 1.45;
  vertical-align: top;
}
.offer-included-table tr:not(.offer-included-group) th {
  width: 38%;
  font-weight: 500;
  color: #222;
}
.offer-included-table td {
  padding-left: 0;
  color: #757575;
}
/* Name with a green-circle check, like the price card list */
.offer-included-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.offer-included-item .offer-check {
  margin-top: 1px;
}
.offer-included-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px 1px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.3;
  vertical-align: 2px;
  color: #fff;
  background-color: #06c668;
  border-radius: 20px;
}
.offer-included-badge.blue {
  background-color: #16a2e0;
}
.offer-included-badge.pink {
  background-color: #ec4899;
}
.offer-included-group-title + .offer-included-badge {
  vertical-align: 3px;
}
@media (max-width: 576.5px) {
  .offer-included-group th {
    padding: 22px 18px 14px;
  }
  .offer-included-table tr:not(.offer-included-group) th,
  .offer-included-table td {
    display: block;
    width: auto;
  }
  .offer-included-table tr:not(.offer-included-group) th {
    padding: 12px 18px 2px;
  }
  .offer-included-table td {
    padding: 0 18px 12px 50px;
    border-top: 0;
  }
}

/* 'font' => 'roboto': the whole page in Roboto (icons keep their icon fonts) */
.pm-font-roboto body *:not(i) {
  font-family: 'Roboto', sans-serif !important;
}

/* Label with a dark badge, e.g. "[BLACK FRIDAY] 2026 SALE" (set label_badge) */
.offer-label-badge {
  display: inline-block;
  margin-bottom: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #24242f;
}
.offer-label-badge > span {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 10px 3px;
  background-color: #24242f;
  color: #fff;
  border-radius: 6px;
}

/* ==========================================================
   Claim the offer (set pricing): title, text and price breakdown
   on the left, the subscribe card on the right
   ========================================================== */
.offer-pricing {
  background-color: #f4f4f5;
}
.offer-pricing-intro h3 {
  margin: 4px 0 14px;
  text-wrap: balance;
}
.offer-pricing-intro .p-md {
  margin: 0 0 30px;
  color: #666;
}

/* Price breakdown table */
.offer-breakdown {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border: 1px solid #dcdce1;
  border-radius: 14px;
  overflow: hidden;
}
.offer-breakdown th,
.offer-breakdown td {
  padding: 18px 24px;
  font-size: 17px;
  line-height: 1.35;
  border-top: 1px solid #ececef;
}
.offer-breakdown tr:first-child th,
.offer-breakdown tr:first-child td {
  border-top: 0;
}
.offer-breakdown th {
  font-weight: 400;
  color: #555;
}
.offer-breakdown td {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.offer-breakdown-regular td {
  color: #a1a1a8;
}
.offer-breakdown-discount td {
  color: #e39b0c;
}
.offer-breakdown-total th,
.offer-breakdown-total td {
  background-color: #f7f7f9;
  color: #222;
}
.offer-breakdown-total th {
  font-weight: 500;
}
.offer-breakdown-total td {
  font-size: 19px;
  font-weight: 700;
}
.offer-breakdown-monthly td {
  color: #222;
}

/* Subscribe card: solid light grey border and a soft grey shadow */
.offer-price-card {
  position: relative;
  padding: 34px 36px 28px;
  background-color: #fff;
  border: 1px solid #e2e2e6;
  border-radius: 28px;
  box-shadow: 0 20px 50px -12px rgba(24, 24, 32, 0.12);
}
.offer-price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.offer-price-card-brand {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}
.offer-price-card-brand .plan-logo {
  margin: 0 0 0 4px;
  padding: 3px 7px 2px;
  font-size: 16px;
  vertical-align: 2px;
}
.offer-off-badge {
  padding: 6px 12px 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
  color: #fff;
  background-color: #499609;
  border-radius: 30px;
}

/* Price: same style as the hero price */
.offer-price-line {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #333;
  white-space: nowrap;
}
.offer-price-line .cur {
  position: relative;
  top: -10px;
  font-size: 26px;
  font-weight: 400;
}
.offer-price-line .amt {
  font-size: 44px;
  line-height: 50px;
  font-weight: 600;
  letter-spacing: -1.5px;
}
.offer-price-line .cents {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.offer-price-line .per {
  position: relative;
  top: -2px;
  font-size: 26px;
  color: #757575;
}
.offer-price-billing {
  margin-top: 6px;
  font-size: 16px;
  color: #555;
}
.offer-price-billing .was {
  color: #a1a1a1;
}
.offer-price-save {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #3d7e06;
  background-color: #eaf6df;
  border-radius: 6px;
}
.offer-price-includes {
  margin: 24px 0 12px;
  padding-top: 20px;
  border-top: 1px solid #ececef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #959595;
}

/* Feature list with checks in green circles */
.offer-price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.offer-price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #444;
}
.offer-check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  line-height: 1;
  color: #06a957;
  background-color: #dff5e8;
  border-radius: 50%;
}
.offer-check i,
.offer-check i::before {
  display: block;
  line-height: 1;
}

.offer-price-card .offer-final-button {
  display: block;
  width: 100%;
  margin-top: 26px;
}
.offer-guarantee {
  text-align: center;
}
.offer-guarantee-icon {
  display: inline-block;
  margin-right: 5px;
  vertical-align: -4px;
  color: #06a957;
}

@media (max-width: 991px) {
  .offer-pricing-intro {
    margin-bottom: 50px;
  }
}
@media (max-width: 576.5px) {
  .offer-breakdown th,
  .offer-breakdown td {
    padding: 14px 16px;
    font-size: 15px;
  }
  .offer-breakdown-total td {
    font-size: 17px;
  }
  .offer-price-card {
    padding: 26px 20px 22px;
    border-radius: 22px;
  }
  .offer-price-card-brand {
    font-size: 19px;
  }
  .offer-price-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   Animations
   Hero only. Only for visitors who haven't asked for reduced motion.
   The `pm-anim` class is added to <html> by a tiny script in the
   page head, so nothing is hidden if JavaScript doesn't run.
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {

  @keyframes pm-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes pm-fade-left {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: none; }
  }
  /* Sweep across in the first ~1.3s of each 6s cycle, then wait off-screen */
  @keyframes pm-shine {
    0%        { transform: translateX(-130%) skewX(-20deg); }
    22%, 100% { transform: translateX(280%) skewX(-20deg); }
  }

  /* --- Hero: staggered entrance on load --- */
  .pm-anim .hero-2-txt .offer-countdown,
  .pm-anim .hero-2-txt .section-id,
  .pm-anim .hero-2-txt .offer-label-badge,
  .pm-anim .hero-2-txt .plan-name,
  .pm-anim .hero-2-txt .pricing-plan,
  .pm-anim .hero-2-txt .hero-reviews,
  .pm-anim .hero-2-txt .txt-list {
    animation: pm-fade-up 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .pm-anim .hero-2-txt .plan-name    { animation-delay: 0.08s; }
  .pm-anim .hero-2-txt .pricing-plan { animation-delay: 0.16s; }
  .pm-anim .hero-2-txt .hero-reviews { animation-delay: 0.24s; }
  .pm-anim .hero-2-txt .txt-list     { animation-delay: 0.3s; }
  .pm-anim .hero-2-txt .hero-container {
    animation: pm-fade-left 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  /* --- Buttons: small lift on hover, occasional shine on the hero button --- */
  .offer-subscribe:not(#footer-subscribe-button) {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }
  .offer-subscribe:not(#footer-subscribe-button):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(22, 162, 224, 0.3);
  }
  #hero-subscribe-button {
    position: relative;
    overflow: hidden;
  }
  #hero-subscribe-button::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    /* Starts hidden off the left edge; first sweep 2.5s after load */
    transform: translateX(-130%) skewX(-20deg);
    animation: pm-shine 6s 2.5s ease-in-out infinite both;
    pointer-events: none;
  }
}

/* ==========================================================
   Header Subscribe button
   Slides down from the top once the visitor scrolls past the hero
   button (offers_js.js toggles the .fade class)
   ========================================================== */
#header #header-subscribe-button.offer-subscribe {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out, box-shadow 0.2s ease, background-color 0.2s ease;
}
#header #header-subscribe-button.offer-subscribe.fade {
  opacity: 0;
  transform: translateY(-90px);
  pointer-events: none;
}
#header #header-subscribe-button.offer-subscribe:not(.fade):hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  #header #header-subscribe-button.offer-subscribe {
    transition: opacity 0.2s linear;
  }
  #header #header-subscribe-button.offer-subscribe.fade,
  #header #header-subscribe-button.offer-subscribe:not(.fade):hover {
    transform: none;
  }
}

/* ==========================================================
   Subscribe buttons: darker blue on hover instead of the site's
   black (.black-hover in style.css)
   ========================================================== */
.btn-blue.offer-subscribe:hover,
.btn-blue.offer-subscribe:focus,
.btn-blue.offer-subscribe:active {
  color: #fff !important;
  background-color: #0f8bc3;
  border-color: #0f8bc3;
}

/* Narrow phones (up to ~400px): smaller price card header and button
   text so "SUBSCRIBE NOW - SAVE $228.12" fits inside the buttons */
@media (max-width: 400px) {
  .offer-price-card-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .offer-price-card-brand {
    font-size: 17px;
  }
  .offer-price-card-brand .plan-logo {
    font-size: 13px;
  }
  .offer-off-badge {
    padding: 5px 10px 4px;
    font-size: 13px;
  }
  .offer-price-card .offer-final-button,
  .offer-final-card .offer-final-button {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 15px;
    line-height: 1.3;
    white-space: normal;
  }
}

/* ==========================================================
   Glass header ('header_style' => 'glass')
   The usual header (transparent at the top, full-width bar once
   scrolled), with the scrolled bar's white made frosted glass
   ========================================================== */
.pm-glass-header #header .navbar.scroll {
  background-color: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}

/* ==========================================================
   Monster hero (hero_monster = true): the laptop with the green
   monster whose eye follows the pointer. Everything is placed in %
   of the original 1900 x 1062 hero image, so it scales as one.
   Same size as the hero image it replaces: 550px tall, running off
   the right edge on wider screens, 96% wide on phones.
   ========================================================== */
.pm-hero {
  position: relative;
  display: inline-block;
  width: 983.99px; /* 550 * 1900 / 1062 */
  max-width: none;
  aspect-ratio: 1900 / 1062;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}
/* Static layers, with the hero image's drop shadow. The original
   crops the laptop's own soft shadow at the bottom edge */
.pm-hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  filter: drop-shadow(1px 5px 16px rgba(1, 1, 1, 0.35));
}
/* Laptop: 1200 x 696 image at 1.565x, at (13, 12) */
.pm-hero .pm-hero-laptop {
  position: absolute;
  left: 0.6842%;
  top: 1.1299%;
  width: 98.8421%;
  max-width: none;
  height: auto;
  display: block;
}
/* Shadow under the monster's feet: a 252 x 44 ellipse at (15, 994) */
.pm-hero .pm-monster-shadow {
  position: absolute;
  left: 0.7895%;
  top: 93.5970%;
  width: 13.2632%;
  height: 4.1431%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.29) 40%, rgba(0, 0, 0, 0.14) 80%, rgba(0, 0, 0, 0) 100%);
}
/* Monster: the 512 x 512 canvas at 0.593x, at (-18, 723).
   Its left edge is transparent, so it can sit outside */
.pm-hero .pm-monster {
  position: absolute;
  left: -0.9474%;
  top: 68.0791%;
  width: 15.9800%;
  aspect-ratio: 1;
  pointer-events: none;
}
/* Every monster layer fills the same canvas, so they line up exactly */
.pm-hero .pm-monster-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
}
/* The pupil is clipped to the eyeball (centre 278.66, 151.55;
   radius 63.5 in the 512 canvas), so it never shows outside it */
.pm-hero .pm-monster-eye {
  position: absolute;
  inset: 0;
  clip-path: circle(12.402% at 54.426% 29.600%);
}
.pm-hero .pm-monster-pupil {
  will-change: transform;
}
/* The body layer already has the shine, so this only shows over the
   pupil, as a soft reflection rather than a white bite out of it */
.pm-hero .pm-monster-shine {
  opacity: 0.45;
}
@media (max-width: 767.5px) {
  .pm-hero {
    width: 96%;
    margin-top: 30px;
  }
}
