/* ─────────────────────────────
  GLOBAL WRAPPER
───────────────────────────── */
.mobile-only {
  display: none;
}

.shop-wrapper {
  width: 100%;
}

.shop-subscriptions {
  padding-bottom: 4rem;
  background: var(--primary-bg);
  width: 100%;
}

.subscription-comparison {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.card-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 400px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.card-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 300px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, transparent 80%);
  filter: blur(6px);
  transform: translateY(50%);
  opacity: 0.7;
  z-index: 0;
  transition: all 0.2s ease-in-out;
}

/* ==== Membership Toggle Section ==== */
#membership-comparison-sections {
  display: none;
	padding-top: 3rem;
}
#membership-comparison-sections.active {
  display: block;
}

.price-value[data-mode="annual"] .cents-part {
  font-size: 0.55em;
  vertical-align: super;
  position: relative;
  top: 0;
}

.is-hidden { display: none; }

h2.comparison-header {
	color: var(--brand);
	text-align: center;
	padding: 2rem 0;
}

.mza-membership-toggle {
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.compare-toggle-btn {
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--alt-brand);
  background: white;
  color: var(--alt-brand);
}

.compare-toggle-btn[aria-expanded="true"] {
  background-color: var(--alt-brand);
  color: white;
  border: 1px solid transparent;
  position: relative;
  z-index: 9;
}

.shop-wrapper .mza-membership-toggle {
  margin-top: -12rem;
}

.mza-membership-toggle__header-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0;
  gap: 1rem;
}

h2.mza-toggle-heading {
  font-size: 1.75rem !important;
  font-weight: 600;
  color: var(--primary-bg);
  margin: 0;
}

.mza-membership-toggle__switch {
  display: flex;
  border: 2px solid #4C93CD;
  background-color: white;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
  margin-left: auto;
  justify-content: center;
  flex-shrink: 0;
  width: 20%;
  align-self: center;
  padding: 0.5rem;
  gap: 0.5rem;
}

.toggle-sale-badge {
  position: absolute;
  top: 11%;
  right: 2.5%;
  background: #D43B3B;
  color: #fff;
  font-weight: 400;
  font-size: .75rem;
  line-height: 1;
  padding: .35rem .55rem;
  border-radius: 999px;
  border: 1px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 5;
}

.toggle-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: #4C93CD;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  transition: all 0.2s ease-in-out;
}

.toggle-btn.active {
  background: #4C93CD;
  color: #fff;
}

/* Grid wrapper */
.mza-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  align-items: stretch;
}

/* Individual cards */
.mza-product-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 1px 4px 12px rgba(0,0,0,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  transition: box-shadow 0.2s ease;
}

.mza-product__flag {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: #EFCA60;
  color: rgba(135, 74, 33, 1);
  font-weight: 600 !important;
  font-size: .8rem !important;
  padding: .4rem .7rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  z-index: 6;
}

.mza-product-card.tier-gold {
  box-shadow: 0 0 18px 2px rgba(239, 202, 96, 0.40);
  border: 1px solid rgba(239, 202, 96, 0.5);
}

.mza-product-card.tier-gold::before,
.mza-product-card.tier-bronze::before,
.mza-product-card.tier-perks::before,
.mza-product-card.tier-courses::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 21%;
  border-radius: 8px 8px 0 0;
  z-index: 0;
}
.mza-product-card.tier-gold::before {
  background: linear-gradient(180deg, rgba(253, 243, 152, 0.80) 23.56%, rgba(234, 177, 61, 0.80) 100%);
  background-color: #E5CB61;
}
.mza-product-card.tier-bronze::before {
  background: linear-gradient(180deg, rgba(252, 223, 164, 0.80) 18.27%, rgba(223, 154, 83, 0.80) 82.21%);
  background-color: #E9B96E;
}
.mza-product-card.tier-perks::before {
  background: linear-gradient(180deg, rgba(111, 193, 230, 0.80) 23.56%, rgba(76, 147, 205, 0.80) 66.35%, rgba(38, 88, 151, 0.80) 99.04%);
  background-color: #6FC1E6;
}
.mza-product-card.tier-courses::before {
  background: linear-gradient(180deg, rgba(76, 147, 205, 0.80) 23.56%, rgba(38, 88, 151, 0.80) 100%);
  background-color: #265897;
}

/* image sits above the banner */
.mza-product__image img:not(.mza-product-card.tier-courses img) { display:block; max-height: 110px; width:auto; }

/* Image */
.mza-product__image:not(.mza-product-card.tier-courses .mza-product__image) {
  z-index: 1; 
  margin: 0 auto .75rem;
  max-width: 150px;
  margin-bottom: 1rem;
}

.mza-product-card.tier-courses .mza-product__image {
  z-index: 1;
}

.mza-product__image img:not(.mza-product-card.tier-courses img) {
  max-width: 150px;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Badge */
.mza-product__badge {
  font-size: 0.7rem !important;
  font-weight: 400 !important;
  color: rgba(36, 36, 36, 0.72);
  background: #D6D6D8;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mza-card-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  width: 100%;
  height: 100%;
}

/* Text structure */
.mza-product-card h3 {
  font-size: 1.5rem !important;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-align: center;
}

p.mza-product__desc {
  font-size: 1rem !important;
  color: #8A8B8E;
  text-align: center;
  max-width: 100% !important;
}

/* Price */
p.mza-price,
p.mza-course-price {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--brand);
  margin-bottom: 1rem !important;
  margin-top: auto !important;
  text-align: center;
}

.mza-price .price-period {
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: #8A8B8E;
  margin-left: 0.25rem;
}

/* Button */
.mza-add-to-cart {
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500 !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  margin-top: auto;
  width: 90%;
  &:hover {
    color: black;
    background-color: var(--alt-brand);
  }
}

/* Footer */
.mza-product__footer {
  font-size: 0.8rem;
  color: #8A8B8E;
  margin-top: 0.75rem;
  text-align: center;
}

.mza-product-card.tier-courses .mza-product__footer {
  color: white;
}

/* ─────────────────────────────
  NEW ROW TYPES
───────────────────────────── */
.description-row {
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.tier-caption-row {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.tier-caption-row .feature-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.caption-text-col {
  flex: 3;
}

.caption-text {
  font-size: 0.95rem;
  color: #777;
  text-align: center;
  line-height: 1.4;
  max-width: 100%;
  padding: 0 1rem;
}

/* ─────────────────────────────
  LEGEND ROW (SILVER / GOLD / BRONZE)
───────────────────────────── */
.title-row .feature-col {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #333;
  text-transform: uppercase;
}

.tier-card-image {
  transition: all 0.2s ease-in-out;
  height: 400px;
  width: auto;
}

.tier-card-image:hover {
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
  z-index: 3;
}

.card-wrapper:hover::after {
  height: 35px;
  transition: all 0.2s ease-in-out;
}

.shop-subscriptions.hovering-tier .feature-col {
  opacity: 0.4;
  transition: all 0.2s ease-in-out;
}

.shop-subscriptions.hovering-tier .feature-col.hover-active {
  opacity: 1;
  z-index: 2;
}

.tier-card-image {
  transition: transform 0.25s ease;
  cursor: pointer;
}

.tier-card-image:hover,
.subscription-add-btn:hover img {
  transform: scale(1.05);
  z-index: 3;
}

.card-row {
  align-items: flex-end;
  justify-content: center;
}

.card-row .feature-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.card-row .feature-col.tier-gold {
  order: 1;
}

.card-row .feature-col.tier-perks {
  order: 3;
}

.card-row .feature-col.tier-bronze {
  order: 2;
}

/* ─────────────────────────────
  NO FEATURE DASH
───────────────────────────── */
.feature-col.no-feature {
  color: #aaa;
  font-size: 1.5rem;
  font-weight: normal;
}

.feature-col.no-feature::before {
  content: "—";
  display: inline-block;
}

/* ─────────────────────────────
  ROWS
───────────────────────────── */
.comparison-row {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.card-row,
.button-row {
  align-items: flex-end;
}

.features-row {
  flex-direction: column;
  gap: 0.75rem;
}

/* ─────────────────────────────
  COLUMNS
───────────────────────────── */
.feature-col {
  flex: 1;
  text-align: center;
}

.feature-col.spacer {
  flex: 1.2;
  text-align: right;
  padding-right: 1rem;
}

.tier-card-image {
  border-radius: 8px;
  vertical-align: bottom;
}

/* ─────────────────────────────
  FEATURE GRID
───────────────────────────── */
.feature-comparison-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

.feature-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 0;
  position: relative;
  min-height: 56px;
}

.feature-row .feature-label {
  position: absolute;
  font-family: 'Cera Pro';
  text-transform: uppercase;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 160px;
  text-align: left;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--headings);
  line-height: 1.4;
  white-space: normal;
}

.feature-row.header {
  border-bottom: 1px solid #e0e0e0;
}

.feature-row .feature-col {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  color: var(--headings);
}

/* Checkmark icon */
.feature-col.has-feature .checkmark {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('../images/checkmark.svg') no-repeat center center;
  background-size: contain;
  filter: invert(67%) sepia(68%) saturate(319%) hue-rotate(99deg) brightness(87%) contrast(85%);
}

/* Empty cell (no check) */
.feature-col.no-feature {
  color: #aaa;
  font-size: 1.2rem;
  line-height: 1;
}

/* ─────────────────────────────
  ADD TO CART BUTTONS
───────────────────────────── */
.subscription-add-btn {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.subscription-add-btn img {
  width: 200px;
  height: auto;
}

.subscription-add-btn:hover img {
  transform: scale(1.05);
}

[class*=" color-"] {
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.color-gold {
  color: #a57019 !important;
}

.color-perks {
  color: #5790c7 !important;
}

.color-bronze {
  color: #CD7F32 !important;
}

.add-to-cart-caption {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.25rem;
  opacity: 0.85;
  font-weight: 400;
}

.subscription-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 40%, var(--primary-bg) 100%),
    url('../images/blackYellowHex.png') no-repeat center top;
  background-size: cover;
  height: 80vh;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.subscription-heading {
  font-size: 2rem;
  color: var(--primary-bg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p.subscription-hero-text {
  color: white;
  font-size: 1.4rem !important;
  padding: 0 1em;
  text-align: left;
}

.overlap-row {
  position: relative;
  z-index: 2;
}

/* ─────────────────────────────
   SHOP GRID LAYOUT (Courses + Books)
───────────────────────────── */
.shop-grid {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 1rem;
  margin: 0 auto 4rem;
}

.shop-courses {
	padding: 2rem 0;
}

#shop-courses-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* override grid for just the books section */
#shop-books-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;      /* same gutter as before */
  padding: 0 1rem;  /* if you still need your side padding */
  margin: 0 auto 4rem;
}

/* force each card to always be 370px wide */
#shop-books-grid .shop-book-card {
  flex: 0 0 370px;
}

/* full‐viewport overlay */
.nm-shop-placeholder {
  position: fixed;
  top:      0;
  left:     0;
  width:    100vw;
  height:   100vh;
  background: rgba(255,255,255,0.8);
  display:  flex;
  align-items:    center;
  justify-content: center;
  z-index:  9999; /* above everything */
}

/* spinner styling (same size & animation as before) */
.nm-shop-spinner {
  width:  40px;
  height: 40px;
  border: 4px solid rgba(0,0,0,0.1);
  border-top-color: var(--brand);
  border-radius:    50%;
  animation:        nm-spin 1s linear infinite;
}

/* keyframes */
@keyframes nm-spin {
  to { transform: rotate(360deg); }
}

.purchase-options-dropdown {
  position: relative;
  width: 100%;
}

button.purchase-options {
  width: 90%;
}

.shop-book-card,
.shop-course-card,
.purchase-options-dropdown {
  overflow: visible !important;
}

.shop-wrapper {
  overflow: visible !important;
}

.purchase-options-dropdown .purchase-options-menu {
  display:      none;
  position:     absolute;
  top:          100%;
  left:         0;
  width:        100%;
  margin:   0;
  padding:      0;
  list-style:   none;
  background:   #fff;
  border:       1px solid #ccc;
  box-shadow:   0 4px 8px rgba(0,0,0,0.1);
  z-index:      1000;
}

.purchase-options-dropdown .purchase-options-menu.open {
  display: block;
}

.purchase-options-dropdown .purchase-options-menu li + li {
  margin-top: .25em;
}

.purchase-options-dropdown .purchase-options-menu a {
  display:         block;
  padding:         .5em 1em;
  color:           #333;
  text-decoration: none;
}

.purchase-options-dropdown .purchase-options-menu a:hover {
  background: #f5f5f5;
}

/* ─────────────────────────────
   CARD BASE
───────────────────────────── */
/* The top banner */
.shop-course-card::before,
.shop-book-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(
    to bottom,
    var(--alt-brand) 0%,
    var(--brand)     100%
  );
  z-index: 0;
}

.tier-gold .tier-card-image {
	border-radius: 20px;
	border: 3px solid #EFCA60;
	box-shadow: 0 0 18px 2px rgba(239, 202, 96, 0.9);
}

.tier-gold .card-wrapper:has(.subscription-hover-trigger:hover)::before {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.tier-gold .card-wrapper::before {
	content: 'Best Value';
	position: absolute;
    top: -1rem;
    left: 1rem;
    background: #EFCA60;
    color: rgba(135, 74, 33, 1);
    font-weight: 600 !important;
    font-size: .8rem !important;
    padding: .4rem .7rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    z-index: 6;
}

/* Make sure your image sits on top of the banner */
.shop-course-card img,
.shop-book-card img {
  position: relative;
  z-index: 1;
  max-width: 55%;
  margin: 1rem auto;
}

.shop-course-card img {
  max-width: 70%;
}

/* Base rule (safe for all) */
.shop-course-card img:not(.course-icon) {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 641 / 379;
  transition: clip-path 0.25s ease, transform 0.25s ease, object-fit 0.25s ease;
}

/* Crop the ones that are clearly taller (those with too much padding) */
.shop-course-card img:not(.course-icon)[src*="privatePilotCourse"],
.shop-course-card img:not(.course-icon)[src*="commPilotCourse"],
.shop-course-card img:not(.course-icon)[src*="privatePilotBootcamp"],
.shop-course-card img:not(.course-icon)[src*="insRatingBootcamp"] {
  object-fit: cover;
  object-position: center top;
  clip-path: inset(1.414% 0 1.414% 0);
  transform: scale(1.035);
}

/* And the rest of the card content should go above both */
.shop-course-card > *,
.shop-book-card > * {
  position: relative;
  z-index: 2;
}

.shop-course-card,
.shop-book-card {
  position: relative;    /* for the ::before */
  overflow: hidden;
  background: var(--primary-bg);
  border-radius: 8px;
  box-shadow: 1px 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shop-course-card .course-icon {
  position: absolute;
  top: 0;
  left: 1rem;
  width: 25px;
  height: 25px;
}

/* CONTENT */
.shop-course-card h3,
.shop-book-card h3 {
  margin: 1rem;
  font-size: 1.4rem !important;
  font-weight: 500;
  text-align: center;
  color: var(--headings);
}
.shop-course-card .price,
.shop-book-card .price {
  margin: 0 1rem 0.5rem;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  text-align: center;
  color: var(--brand);
}
.shop-course-card .note {
  margin: 0 1rem 1rem;
  font-size: 1.1rem;
  text-align: left;
  color: #555;
}

/* BUTTONS */
.shop-course-card .btn.add-to-cart,
.shop-book-card .btn.purchase-options {
  margin: 0 1rem 1.5rem;
  padding: 0.75rem;
  border-radius: 25px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.2s, color 0.2s;
}
.shop-course-card .btn.add-to-cart:hover,
.shop-book-card .btn.purchase-options:hover {
  background: var(--brand);
  color: var(--primary-bg);
}

/* ─────────────────────────────
   CTA SECTION
───────────────────────────── */
.shop-cta {
  position: relative;
  background: url('../images/mzaPlaneClouds.png') center/cover no-repeat;
  height: 50vh;
}

.shop-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(76, 147, 205, 0.6);
  pointer-events: none;
}

.shop-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.shop-cta__title {
  font-size: 2rem !important;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--primary-bg) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.cta-subtitle {
  font-size: 1rem !important;
}

.shop-cta-btn {
  margin-top: 2rem;
}


/* ─────────────────────────────
   MOBILE PODIUM SLIDER
───────────────────────────── */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important;   width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
  .subscription-hero { align-items: center; }

  /* Ensure mobile-only section never scrolls the page */
  .shop-subscriptions.mobile-only {
    position: relative;
    overflow: hidden;    /* clip anything outside */
    margin-top: -18rem;
  }

  .feature-list {
    margin: revert;
  }

  .feature-row .feature-label {
    margin-left: 1rem;
  }

  .mobile-slider {
    position: relative;
    width: 100%;
    height: 400px;       /* match your .card-wrapper height */
    overflow: hidden;    /* hide cards that spill outside */
  }

  /* Base for all slides */
  .mobile-slider .feature-col {
    position: absolute;
    top: 0;
    transition: 
      left 0.4s ease-in-out,
      transform 0.4s ease-in-out,
      opacity 0.4s ease-in-out;
    opacity: 0.5;
  }

  /* Left slot (prev) */
  .mobile-slider .feature-col.prev {
    left: 25%;
    transform: translateX(-50%) scale(0.8);
    z-index: 1;
  }

  /* Center slot (active) */
  .mobile-slider .feature-col.active {
    left: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 2;
  }

  /* Right slot (next) */
  .mobile-slider .feature-col.next {
    left: 46%;
    transform: translateX(25%) scale(0.8);
    z-index: 1;
  }

  /* Tweak image size if you like */
  .mobile-only .tier-card-image {
    height: 250px !important;
    width: auto !important;
  }

  .mobile-slider-cta {
    text-align: center;
    padding: 1rem;
    background: var(--primary-bg);
  }
  .mobile-tier-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
  }
  .mobile-add-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--brand);
    background: transparent;
    color: var(--brand);
    font-size: 1rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
  }
  .mobile-add-btn:hover {
    background: var(--brand);
    color: var(--primary-bg);
  }
  /* IMAGE WRAPPER */
  .shop-course-card img,
  .shop-book-card img {
    max-width: 60%;
    margin: 2rem auto 1rem auto;
  }
  .shop-grid,
  #shop-courses-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

a[href="#cart"] {
  position: relative;
}

a .cart-icon-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 20px;
  height: 20px;
  background: red;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-sizing: border-box;
}
@media only screen and (min-width: 1600px) {
	.shop-wrapper .mza-membership-toggle {
		margin-top: -50rem;
	}
  .subsciption-hero {
    padding-bottom: 70rem;
  }
}
@media only screen and (min-width: 1024px) {
	.shop-wrapper .mza-membership-toggle {
		margin-top: -37rem;
	}
	.tier-gold .card-wrapper::before {
		left: 6rem;
	}
  .shop-course-card::before {
    height: 42%;
  }
}
@media only screen and (max-width: 1024px) {
	.mza-membership-toggle__switch {
    	width: 25%;
	}
	.toggle-sale-badge {
		top: 10.5%;
		right: 3.5%;
	}
  .shop-course-card::before {
    max-height: 200px;
  }
}
@media only screen and (max-width: 768px) {
	.mza-membership-toggle__switch {
    	width: 30%;
	}
	.toggle-sale-badge {
		top: 6%;
		right: 4.1%;
	}
	.subscription-hero {
		padding-bottom: 14rem !important;
	}
	.shop-wrapper .mza-membership-toggle {
		margin-top: -23rem;
	}
	.manned-feature-card {
		flex-direction: column;
	}
}
@media only screen and (max-width: 426px) {
	.mza-membership-toggle__switch {
    	width: 60%;
	}
	.toggle-sale-badge {
        top: 4.3%;
        right: 4.5%;
    }
	.tier-gold .card-wrapper::before {
		display: none;
	}
	.subscription-hero {
		padding-bottom: 6rem;
	}
	.shop-wrapper .mza-membership-toggle {
		margin-top: -28rem;
	}
	.shop-course-card .course-icon {
		top: -1.5rem;
	}
}