:root {
    --brand: #e5cb61; /* Fallback brand color */
    --alt-brand: #4c93cd;
    --headings: #242424;
    --text: #333;
    --primary-bg: #fff;
}

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

.shop-wrapper {
  width: 100%;
  font-family: sans-serif;
}

.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-comparison-sections {
  display: none;
  padding-top: 3rem;
}

#membership-comparison-sections.active {
  display: block;
}

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

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

.compare-toggle-btn {
  display: block;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--alt-brand);
  background: white;
  color: var(--alt-brand);
  cursor: pointer;
}

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

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

.mza-membership-toggle__header-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.mza-membership-toggle__switch {
  display: flex;
  border: 2px solid #4C93CD;
  background-color: white;
  border-radius: 999px;
  overflow: hidden;
  padding: 0.5rem;
  gap: 0.5rem;
}

.toggle-sale-badge {
    background: #D43B3B;
    color: #fff;
    padding: .35rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    margin-left: 10px;
}

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

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

.mza-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mza-product-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 1px 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mza-product-card.tier-gold {
  border: 1px solid #efca60;
}

.mza-product__image img {
  max-width: 150px;
  height: auto;
}

.mza-card-body h3 {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.mza-product__badge {
  display: inline-block;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  margin-bottom: 1rem;
}

.mza-add-to-cart {
  width: 100%;
  background: #4c93cd;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: auto;
}

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

.feature-comparison-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.feature-label {
    flex: 1;
    text-align: left;
    font-weight: bold;
}

.feature-col {
  flex: 1;
  text-align: center;
}

.feature-col.has-feature .checkmark::before {
  content: "✔";
  color: green;
  font-size: 1.2rem;
}

.feature-col.no-feature::before {
  content: "—";
  color: #ccc;
}

.subscription-hero {
  background: #222;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.shop-course-card, .shop-book-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.shop-course-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.shop-course-card h3 {
  margin-bottom: 10px;
}

.shop-course-card .price {
  color: #4c93cd;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.btn.add-to-cart {
  background: #efca60;
  color: #222;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: auto;
}

.is-hidden {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .mza-membership-toggle__header-row {
      flex-direction: column;
      align-items: center;
  }
}
