/* ===== Magazine Portal Frontend CSS ===== */

:root {
  --mp-primary: #2563eb;
  --mp-secondary: #f59e0b;
  --mp-success: #10b981;
  --mp-danger: #ef4444;
  --mp-dark: #1f2937;
  --mp-light: #f3f4f6;
  --mp-border: #e5e7eb;
  --mp-text: #374151;
  --mp-radius: 8px;
  --mp-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--mp-text);
  line-height: 1.6;
}

.mp-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.mp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.mp-hero {
  position: relative;
  background: linear-gradient(135deg, var(--mp-primary) 0%, #1e40af 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.mp-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.mp-hero__content {
  position: relative;
  z-index: 1;
}

.mp-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.mp-hero__title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.mp-hero__subtitle {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 30px;
}

.mp-hero__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.mp-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--mp-radius);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.mp-btn--primary {
  background: var(--mp-primary);
  color: white;
}

.mp-btn--primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mp-btn--outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.mp-btn--outline:hover {
  background: white;
  color: var(--mp-primary);
}

.mp-btn--sm {
  padding: 8px 16px;
  font-size: 14px;
}

.mp-btn--lg {
  padding: 16px 32px;
  font-size: 18px;
}

.mp-btn--full {
  width: 100%;
}

/* ===== STATS BAR ===== */
.mp-stats {
  background: var(--mp-light);
  padding: 40px 20px;
}

.mp-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.mp-stat-item {
  text-align: center;
}

.mp-stat-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.mp-stat-item strong {
  display: block;
  font-size: 28px;
  color: var(--mp-primary);
  margin-bottom: 5px;
}

.mp-stat-item span {
  display: block;
  color: var(--mp-text);
}

/* ===== SECTIONS ===== */
.mp-section {
  padding: 60px 20px;
}



.mp-section--tight {
  padding: 30px 20px;
}

.mp-section__header {
  text-align: center;
  margin-bottom: 50px;
}

.mp-section__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--mp-dark);
}

.mp-section__subtitle {
  font-size: 18px;
  color: var(--mp-text);
}

.mp-section__footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== ISSUE CARDS ===== */
.mp-issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.mp-issues-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.mp-issue-card {
  background: white;
  border-radius: var(--mp-radius);
  overflow: hidden;
  box-shadow: var(--mp-shadow);
  transition: all 0.3s ease;
}

.mp-issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mp-issue-card__thumb {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--mp-light);
}

.mp-issue-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-issue-card__no-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 48px;
  color: #ccc;
}

.mp-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.mp-badge--free {
  background: var(--mp-success);
  color: white;
}

.mp-badge--paid {
  background: var(--mp-secondary);
  color: white;
}

.mp-issue-card__body {
  padding: 20px;
}

.mp-issue-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--mp-dark);
}

.mp-issue-card__date {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.mp-issue-card__excerpt {
  font-size: 14px;
  color: var(--mp-text);
  margin-bottom: 15px;
  line-height: 1.5;
}

.mp-issue-card__actions {
  display: flex;
  gap: 10px;
}

.mp-issue-card__actions .mp-btn {
  flex: 1;
}

/* ===== ABOUT SNIPPET ===== */
.mp-about-snippet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.mp-about-snippet__text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--mp-dark);
}

.mp-about-snippet__text p {
  margin-bottom: 20px;
  color: var(--mp-text);
}

.mp-feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.mp-feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.mp-feature-item strong {
  display: block;
  color: var(--mp-dark);
  margin-bottom: 5px;
}

.mp-feature-item p {
  font-size: 14px;
  color: var(--mp-text);
}

/* ===== PLANS ===== */
.mp-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.mp-plans-grid--full {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mp-plan-card {
  background: white;
  border: 2px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.mp-plan-card:hover {
  border-color: var(--mp-primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.mp-plan-card--featured {
  border-color: var(--mp-primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.mp-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mp-secondary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.mp-plan-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--mp-dark);
}

.mp-plan-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--mp-primary);
  margin-bottom: 20px;
}

.mp-plan-price strong {
  font-size: 42px;
}

.mp-plan-features {
  list-style: none;
  margin-bottom: 25px;
  text-align: left;
}

.mp-plan-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--mp-text);
}

/* ===== CONTACT STRIP ===== */
.mp-contact-strip {
  background: var(--mp-dark);
  color: white;
  padding: 40px 20px;
}

.mp-contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.mp-contact-item {
  display: flex;
  gap: 15px;
}

.mp-contact-item span {
  font-size: 28px;
}

.mp-contact-item strong {
  display: block;
  margin-bottom: 5px;
}

.mp-contact-item a {
  color: #fff;
  text-decoration: none;
}

.mp-contact-item a:hover {
  text-decoration: underline;
}

.mp-social-mini {
  display: flex;
  gap: 10px;
}

.mp-social-mini a {
  font-size: 20px;
}

/* ===== PAGE HERO ===== */
.mp-page-hero {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #1e40af 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.mp-page-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.mp-page-hero p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 20px;
}

.mp-breadcrumb {
  font-size: 14px;
  opacity: 0.9;
}

.mp-breadcrumb a {
  color: white;
  text-decoration: none;
}

/* ===== FORMS ===== */
.mp-form-wrap {

  padding: 40px;

}

.mp-form-header {
  margin-bottom: 30px;
}

.mp-form-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--mp-dark);
}

.mp-form-header p {
  color: var(--mp-text);
}

.mp-form-group {
  margin-bottom: 20px;
}

.mp-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--mp-dark);
}

.mp-required {
  color: var(--mp-danger);
}

.mp-form-group input,
.mp-form-group textarea,
.mp-form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.mp-form-group input:focus,
.mp-form-group textarea:focus,
.mp-form-group select:focus {
  outline: none;
  border-color: var(--mp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.mp-form-hint {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

.mp-form-row {
  display: grid;
  gap: 20px;
}

.mp-form-row--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .mp-form-row--2 {
    grid-template-columns: 1fr;
  }
}

/* ===== MESSAGES ===== */
.mp-form-message {
  padding: 15px;
  border-radius: var(--mp-radius);
  margin-bottom: 20px;
  font-weight: 600;
}

.mp-form-message.success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid var(--mp-success);
}

.mp-form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid var(--mp-danger);
}

/* ===== SUBSCRIPTION FORM ===== */
.mp-selected-plan {
  background: var(--mp-light);
  padding: 15px;
  border-radius: var(--mp-radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.mp-selected-plan__label {
  color: var(--mp-text);
}

.mp-selected-plan__price {
  margin-left: auto;
}

.mp-payment-info {
  background: #fef3c7;
  border-left: 4px solid var(--mp-secondary);
  padding: 20px;
  border-radius: var(--mp-radius);
  margin-bottom: 20px;
}

.mp-payment-info h4 {
  margin-bottom: 10px;
  color: var(--mp-dark);
}

.mp-payment-details {
  margin-top: 15px;
}

.mp-payment-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mp-payment-detail-item:last-child {
  border-bottom: none;
}

/* ===== CONTACT PAGE ===== */
.mp-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 768px) {
  .mp-contact-layout {
    grid-template-columns: 1fr;
  }
}

.mp-contact-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--mp-dark);
}

.mp-contact-cards {
  margin-bottom: 40px;
}

.mp-contact-card {
  background: white;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}

.mp-contact-card__icon {
  font-size: 32px;
  flex-shrink: 0;
}

.mp-contact-card__content h4 {
  margin-bottom: 8px;
  color: var(--mp-dark);
}

.mp-contact-card__content p,
.mp-contact-card__content a {
  font-size: 14px;
}

.mp-contact-card__content a {
  color: var(--mp-primary);
  text-decoration: none;
}

.mp-social-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--mp-dark);
}

.mp-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--mp-light);
  border-radius: var(--mp-radius);
  text-decoration: none;
  color: var(--mp-text);
  transition: all 0.3s;
}

.mp-social-link:hover {
  background: var(--mp-primary);
  color: white;
}

.mp-social-link__icon {
  font-size: 20px;
}

.mp-qr-section {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--mp-border);
}

.mp-qr-section h3 {
  margin-bottom: 15px;
}

.mp-qr-wrap {
  display: inline-block;
}

.mp-qr-image {
  max-width: 200px;
  border-radius: var(--mp-radius);
}

/* ===== SALE & PURCHASE ===== */
.mp-info-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: var(--mp-radius);
  border-left: 4px solid var(--mp-primary);
}

.mp-info-banner__item {
  display: flex;
  gap: 15px;
}

.mp-info-banner__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.mp-info-banner__item strong {
  display: block;
  color: var(--mp-dark);
  margin-bottom: 5px;
}

.mp-info-banner__item p {
  font-size: 14px;
  color: var(--mp-text);
}

.mp-info-banner__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 20px;
}

@media (max-width: 768px) {
  .mp-info-banner__divider {
    display: none;
  }
}

/* ===== SALE LISTINGS GRID (3 COLUMNS) ===== */
.mp-sale-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.mp-sale-card {
  background: white;
  border-radius: var(--mp-radius);
  overflow: hidden;
  box-shadow: var(--mp-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mp-sale-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.mp-sale-card__image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mp-sale-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mp-sale-card:hover .mp-sale-card__image img {
  transform: scale(1.05);
}

.mp-sale-card__no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.3);
}

.mp-sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
}

.mp-sale-badge--free {
  background: var(--mp-success);
  color: white;
}

.mp-sale-badge--paid {
  background: var(--mp-secondary);
  color: white;
}

.mp-sale-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mp-sale-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mp-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mp-sale-card__author {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.mp-sale-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--mp-primary);
  margin-bottom: 10px;
}

.mp-sale-card__desc {
  font-size: 14px;
  color: var(--mp-text);
  margin-bottom: 12px;
  line-height: 1.5;
  flex: 1;
}

.mp-sale-card__meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.mp-sale-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mp-sale-card__footer {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--mp-border);
}

.mp-sale-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.mp-sale-btn__icon {
  font-size: 18px;
}

.mp-sale-btn__text {
  display: inline;
}

.mp-sale-btn--call {
  background: #e8f4f8;
  color: #0284c7;
}

.mp-sale-btn--call:hover {
  background: #0284c7;
  color: white;
}

.mp-sale-btn--whatsapp {
  background: #e8f5e9;
  color: #25d366;
}

.mp-sale-btn--whatsapp:hover {
  background: #25d366;
  color: white;
}

@media (max-width: 768px) {
  .mp-sale-listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }

  .mp-sale-card__image {
    height: 200px;
  }

  .mp-sale-btn__text {
    display: none;
  }
}

@media (max-width: 480px) {
  .mp-sale-listings-grid {
    grid-template-columns: 1fr;
  }

  .mp-sale-card__image {
    height: 220px;
  }
}

/* ===== FILE UPLOAD ===== */
.mp-file-upload {
  position: relative;
}

.mp-file-input {
  display: none;
}

.mp-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border: 2px dashed var(--mp-border);
  border-radius: var(--mp-radius);
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.mp-file-label:hover {
  border-color: var(--mp-primary);
  background: rgba(37, 99, 235, 0.05);
}

.mp-file-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.mp-file-text {
  display: block;
  font-weight: 600;
  color: var(--mp-dark);
  margin-bottom: 5px;
}

.mp-file-hint {
  display: block;
  font-size: 13px;
  color: #999;
}

.mp-file-preview {
  position: relative;
  margin-top: 15px;
}

.mp-file-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: var(--mp-radius);
}

.mp-file-remove {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mp-danger);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.mp-file-remove:hover {
  transform: scale(1.1);
}

.mp-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.mp-listing-card {
  background: white;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 20px;
}

.mp-listing-card__header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.mp-listing-card__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.mp-listing-card__header h4 {
  margin-bottom: 5px;
  color: var(--mp-dark);
}

.mp-listing-school {
  display: block;
  font-size: 13px;
  color: #999;
}

.mp-listing-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.mp-listing-badge--free {
  background: var(--mp-success);
  color: white;
}

.mp-listing-badge--paid {
  background: var(--mp-secondary);
  color: white;
}

.mp-listing-card__desc {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--mp-border);
}

.mp-listing-card__desc p {
  font-size: 14px;
  color: var(--mp-text);
}

.mp-listing-card__footer {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mp-text);
}

.mp-sub-notice {
  background: #fef3c7;
  border-left: 4px solid var(--mp-secondary);
  padding: 15px;
  border-radius: var(--mp-radius);
  margin-bottom: 20px;
}

.mp-sub-notice h4 {
  color: var(--mp-dark);
  margin-bottom: 5px;
}

/* ===== EMPTY STATE ===== */
.mp-empty {
  text-align: center;
  padding: 60px 20px;
}

.mp-empty span {
  font-size: 64px;
  display: block;
  margin-bottom: 20px;
}

.mp-empty p {
  font-size: 18px;
  color: var(--mp-text);
}

.mp-empty--large {
  padding: 100px 20px;
}

/* ===== CTA SECTION ===== */
.mp-cta-section {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #1e40af 100%);
}

.mp-cta {
  text-align: center;
  color: white;
  padding: 60px 20px;
}

.mp-cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.mp-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.mp-cta__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== E-MAGAZINE PAGE ===== */

.mp-emagazine-search {
  background: white;
  padding: 30px 20px;
  border-bottom: 1px solid var(--mp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mp-search-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.mp-search-box {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 2px solid var(--mp-border);
  border-radius: 8px;
  padding: 0 15px;
  transition: all 0.3s;
}

.mp-search-box:focus-within {
  border-color: var(--mp-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.mp-search-icon {
  font-size: 18px;
  margin-right: 10px;
  color: #999;
}

.mp-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  outline: none;
}

.mp-filter-controls {
  display: flex;
  gap: 10px;
}

.mp-filter-select {
  padding: 10px 15px;
  border: 2px solid var(--mp-border);
  border-radius: 6px;
  background: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.mp-filter-select:hover {
  border-color: var(--mp-primary);
}

.mp-filter-select:focus {
  outline: none;
  border-color: var(--mp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
  .mp-search-wrapper {
    grid-template-columns: 1fr;
  }

  .mp-filter-controls {
    width: 100%;
  }

  .mp-filter-select {
    flex: 1;
  }
}

.mp-emagazine-grid {
  padding: 40px 20px;
}

.mp-issues-header {
  margin-bottom: 40px;
  text-align: center;
}

.mp-issues-header h2 {
  font-size: 32px;
  color: var(--mp-dark);
  margin-bottom: 10px;
}

.mp-issues-count {
  font-size: 16px;
  color: #666;
}

.mp-issues-count strong {
  color: var(--mp-primary);
  font-weight: 700;
}

.mp-issues-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.mp-issue-card-modern {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mp-issue-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.mp-issue-card-image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mp-issue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mp-issue-card-modern:hover .mp-issue-card-image img {
  transform: scale(1.05);
}

.mp-issue-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.3);
}

.mp-issue-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mp-issue-card-modern:hover .mp-issue-card-overlay {
  opacity: 1;
}

.mp-btn-read {
  background: var(--mp-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.mp-btn-read:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.mp-badge-free,
.mp-badge-paid {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
}

.mp-badge-free {
  background: var(--mp-success);
  color: white;
}

.mp-badge-paid {
  background: var(--mp-secondary);
  color: white;
}

.mp-issue-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mp-issue-number {
  display: inline-block;
  background: #f0f0f0;
  color: var(--mp-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  width: fit-content;
}

.mp-issue-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mp-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.mp-issue-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.mp-issue-excerpt {
  font-size: 14px;
  color: var(--mp-text);
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}

.mp-issue-card-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.mp-btn-download,
.mp-btn-details {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.mp-btn-download {
  background: #f0f0f0;
  color: var(--mp-dark);
}

.mp-btn-download:hover {
  background: var(--mp-light);
  color: var(--mp-primary);
}

.mp-btn-details {
  background: var(--mp-primary);
  color: white;
}

.mp-btn-details:hover {
  background: #1d4ed8;
}

.mp-empty-state {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.mp-empty-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 20px;
}

.mp-empty-state h3 {
  font-size: 24px;
  color: var(--mp-dark);
  margin-bottom: 10px;
}

.mp-empty-state p {
  color: #999;
  font-size: 16px;
}

.mp-pagination-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.mp-pagination-wrapper a,
.mp-pagination-wrapper span {
  padding: 10px 15px;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--mp-border);
  text-decoration: none;
  color: var(--mp-primary);
  font-weight: 600;
  transition: all 0.3s;
}

.mp-pagination-wrapper a:hover {
  background: var(--mp-primary);
  color: white;
  border-color: var(--mp-primary);
}

.mp-pagination-wrapper .current {
  background: var(--mp-primary);
  color: white;
  border-color: var(--mp-primary);
}

.mp-no-results {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.mp-emagazine-cta {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #1e40af 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.mp-cta-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.mp-cta-content p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 30px;
}

.mp-btn-cta {
  display: inline-block;
  background: white;
  color: var(--mp-primary);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
}

.mp-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .mp-issues-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .mp-issue-card-image {
    height: auto;
  }

  .mp-issue-card-content {
    padding: 15px;
  }

  .mp-issues-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .mp-issues-grid-container {
    grid-template-columns: 1fr;
  }

  .mp-emagazine-search {
    padding: 20px 15px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mp-hero__title {
    font-size: 32px;
  }

  .mp-hero__subtitle {
    font-size: 16px;
  }

  .mp-section__title {
    font-size: 28px;
  }

  .mp-issues-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .mp-about-snippet__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mp-form-wrap {
    padding: 20px;
  }

  .mp-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .mp-hero {
    padding: 60px 15px;
  }

  .mp-hero__title {
    font-size: 24px;
  }

  .mp-hero__actions {
    flex-direction: column;
  }

  .mp-btn {
    width: 100%;
  }

  .mp-stats__grid {
    grid-template-columns: 1fr;
  }

  .mp-issues-grid {
    grid-template-columns: 1fr;
  }

  .mp-plans-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== PAYMENT GATEWAY SECTION ===== */
.mp-gateway-section {
  background: white;
  border: 2px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 30px;
  margin-bottom: 30px;
}

.mp-gateway-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mp-dark);
  margin-bottom: 25px;
  text-align: center;
}

.mp-gateway-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.mp-gateway-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  border: 2px solid var(--mp-border);
  border-radius: var(--mp-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  text-align: center;
}

.mp-gateway-option:hover {
  border-color: var(--mp-primary);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.mp-gateway-option input[type="radio"] {
  margin-bottom: 15px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--mp-primary);
}

.mp-gateway-option input[type="radio"]:checked+.mp-gateway-icon {
  color: var(--mp-primary);
}

.mp-gateway-icon {
  font-size: 40px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.mp-gateway-name {
  display: block;
  font-weight: 700;
  color: var(--mp-dark);
  margin-bottom: 8px;
  font-size: 16px;
}

.mp-gateway-desc {
  display: block;
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

.mp-gateway-option input[type="radio"]:checked~.mp-gateway-name {
  color: var(--mp-primary);
}

@media (max-width: 768px) {
  .mp-gateway-options {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .mp-gateway-option {
    padding: 20px;
  }

  .mp-gateway-icon {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .mp-gateway-options {
    grid-template-columns: 1fr;
  }

  .mp-gateway-option {
    flex-direction: row;
    text-align: left;
    gap: 15px;
  }

  .mp-gateway-icon {
    font-size: 28px;
    margin-bottom: 0;
  }

  .mp-gateway-option input[type="radio"] {
    margin-bottom: 0;
    margin-top: 5px;
    flex-shrink: 0;
  }
}


/* =====================================================================
   SUBSCRIPTION – 2-STEP FLOW
   ===================================================================== */

.mp-sub-wrap {
  padding: 0;
}

/* ── Step wrapper ── */
.mp-sub-step {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-sub-step-header {
  text-align: center;
  margin-bottom: 50px;
}

.mp-sub-step-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 10px;
}

.mp-sub-step-subtitle {
  font-size: 18px;
  color: #6b7280;
}

/* ── Plan cards ── */
.mp-plan-card {
  cursor: default;
}

.mp-btn--outline-dark {
  background: transparent;
  color: var(--mp-dark);
  border: 2px solid var(--mp-border);
  transition: all 0.3s;
}

.mp-btn--outline-dark:hover {
  border-color: var(--mp-primary);
  color: var(--mp-primary);
  background: rgba(37,99,235,0.05);
}

/* ── FAQ grid ── */
.mp-sub-faq {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--mp-border);
}

.mp-sub-faq-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--mp-dark);
  margin-bottom: 25px;
  text-align: center;
}

.mp-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.mp-faq-item {
  background: white;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 20px;
}

.mp-faq-q {
  font-weight: 700;
  color: var(--mp-dark);
  margin-bottom: 8px;
  font-size: 15px;
}

.mp-faq-a {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ── Checkout layout ── */
.mp-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .mp-checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Back button ── */
.mp-back-btn {
  background: none;
  border: none;
  color: var(--mp-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.mp-back-btn:hover {
  opacity: 0.7;
}

/* ── Checkout header ── */
.mp-checkout-header {
  margin-bottom: 25px;
}

.mp-checkout-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 6px;
}

.mp-checkout-header p {
  color: #6b7280;
  font-size: 15px;
}

/* ── Selected plan summary bar ── */
.mp-checkout-plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(245,158,11,0.08) 100%);
  border: 2px solid var(--mp-primary);
  border-radius: var(--mp-radius);
  padding: 16px 20px;
  margin-bottom: 25px;
}

.mp-checkout-plan-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-checkout-plan-icon {
  font-size: 28px;
}

.mp-checkout-plan-info strong {
  display: block;
  font-size: 16px;
  color: var(--mp-dark);
}

.mp-checkout-plan-info span {
  font-size: 13px;
  color: #6b7280;
}

.mp-checkout-plan-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--mp-primary);
}

/* ── Section labels ── */
.mp-checkout-section-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 25px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mp-border);
}

/* ── Input with status icon ── */
.mp-input-with-status {
  position: relative;
}

.mp-input-with-status input {
  padding-right: 40px;
}

.mp-field-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}

.mp-field-error {
  display: block;
  font-size: 12px;
  color: var(--mp-danger);
  margin-top: 4px;
  min-height: 16px;
}

/* ── Gateway grid ── */
.mp-gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .mp-gateway-grid {
    grid-template-columns: 1fr;
  }
}

.mp-gateway-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border: 2px solid var(--mp-border);
  border-radius: var(--mp-radius);
  cursor: pointer;
  transition: all 0.25s ease;
  background: white;
  text-align: center;
  position: relative;
}

.mp-gateway-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.mp-gateway-card:hover {
  border-color: var(--mp-primary);
  background: rgba(37,99,235,0.04);
}

.mp-gateway-card--selected {
  border-color: var(--mp-primary);
  background: rgba(37,99,235,0.06);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.mp-gateway-card-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.mp-gateway-card-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--mp-dark);
  margin-bottom: 4px;
}

.mp-gateway-card-desc {
  font-size: 12px;
  color: #9ca3af;
}

.mp-gateway-check {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 14px;
  color: var(--mp-primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.mp-gateway-card--selected .mp-gateway-check {
  opacity: 1;
}

/* ── Payment details box ── */
.mp-payment-details-box {
  background: #fffbeb;
  border-left: 4px solid var(--mp-secondary);
  border-radius: var(--mp-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.mp-pay-detail-header {
  font-weight: 700;
  font-size: 15px;
  color: var(--mp-dark);
  margin-bottom: 12px;
}

.mp-pay-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 14px;
}

.mp-pay-detail-row:last-of-type {
  border-bottom: none;
}

.mp-pay-detail-row span {
  color: #6b7280;
}

.mp-pay-detail-row strong {
  color: var(--mp-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-pay-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
  line-height: 1.5;
}

.mp-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.mp-copy-btn:hover {
  background: rgba(0,0,0,0.08);
}

/* ── Submit button ── */
.mp-submit-btn {
  margin-top: 10px;
}

.mp-submit-note {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 10px;
}

/* ── Order Summary sidebar ── */
.mp-order-summary {
  background: white;
  border: 1px solid var(--mp-border);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mp-order-summary-header {
  font-size: 18px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--mp-border);
}

.mp-order-summary-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mp-order-plan-icon {
  font-size: 36px;
}

.mp-order-plan-details strong {
  display: block;
  font-size: 16px;
  color: var(--mp-dark);
  margin-bottom: 4px;
}

.mp-order-plan-details span {
  font-size: 13px;
  color: #9ca3af;
}

.mp-order-summary-rows {
  border-top: 1px solid var(--mp-border);
  padding-top: 15px;
  margin-bottom: 15px;
}

.mp-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
  padding: 6px 0;
}

.mp-order-row--total {
  font-size: 18px;
  font-weight: 800;
  color: var(--mp-dark);
  border-top: 2px solid var(--mp-border);
  margin-top: 8px;
  padding-top: 12px;
}

.mp-order-discount {
  color: var(--mp-success);
}

.mp-order-gateway-display {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  background: var(--mp-light);
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.mp-order-gateway-display strong {
  color: var(--mp-dark);
}

.mp-order-secure-badge {
  text-align: center;
  font-size: 13px;
  color: var(--mp-success);
  font-weight: 600;
  padding: 10px;
  background: #d1fae5;
  border-radius: 6px;
  margin-bottom: 15px;
}

.mp-order-contact {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

.mp-whatsapp-help {
  display: inline-block;
  margin-top: 8px;
  background: #25d366;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.mp-whatsapp-help:hover {
  opacity: 0.85;
}

/* ── Success step ── */
.mp-success-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
}

.mp-success-icon {
  font-size: 72px;
  margin-bottom: 20px;
  animation: mp-bounce 0.6s ease;
}

@keyframes mp-bounce {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

.mp-success-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 12px;
}

.mp-success-msg {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 25px;
  line-height: 1.6;
}

.mp-success-details {
  background: var(--mp-light);
  border-radius: var(--mp-radius);
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.mp-success-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--mp-border);
}

.mp-success-detail-row:last-child {
  border-bottom: none;
}

.mp-success-detail-row span {
  color: #6b7280;
}

.mp-success-detail-row strong {
  color: var(--mp-dark);
}

.mp-success-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =====================================================================
   E-MAGAZINE ACCESS GATE
   ===================================================================== */

.mp-gate-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.mp-gate-box {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--mp-border);
}

.mp-gate-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
  animation: mp-gate-pop 0.5s ease;
}

@keyframes mp-gate-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

.mp-gate-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 12px;
}

.mp-gate-desc {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 30px;
}

.mp-gate-desc strong {
  color: var(--mp-dark);
}

.mp-gate-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.mp-gate-sub-prompt {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--mp-border);
  font-size: 14px;
  color: #9ca3af;
}

.mp-gate-sub-prompt a {
  color: var(--mp-primary);
  text-decoration: none;
  font-weight: 600;
}

.mp-gate-sub-prompt a:hover {
  text-decoration: underline;
}

.mp-gate-logout {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 15px;
}

.mp-gate-logout a {
  color: var(--mp-danger);
  text-decoration: none;
}

/* ── Subscribe gate – mini plan cards ── */
.mp-gate-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.mp-gate-plan {
  border: 2px solid var(--mp-border);
  border-radius: 10px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: all 0.2s;
}

.mp-gate-plan:hover {
  border-color: var(--mp-primary);
  background: rgba(37,99,235,0.04);
}

.mp-gate-plan--featured {
  border-color: var(--mp-primary);
  background: rgba(37,99,235,0.05);
}

.mp-gate-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mp-secondary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.mp-gate-plan-icon {
  font-size: 22px;
}

.mp-gate-plan-name {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  line-height: 1.3;
}

.mp-gate-plan-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--mp-primary);
}

/* ── Pending gate ── */
.mp-gate-box--pending {
  border-top: 5px solid var(--mp-secondary);
}

.mp-gate-pending-details {
  background: #fffbeb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.mp-gate-pending-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mp-gate-pending-row:last-child {
  border-bottom: none;
}

.mp-gate-pending-row span {
  color: #6b7280;
}

.mp-gate-pending-row strong {
  color: var(--mp-dark);
}

.mp-gate-pending-note {
  background: #f0fdf4;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.7;
}

.mp-gate-pending-note a {
  color: #25d366;
  font-weight: 600;
  text-decoration: none;
}

/* ── Expired gate ── */
.mp-gate-box--expired {
  border-top: 5px solid var(--mp-danger);
}

/* ── Active subscriber bar ── */
.mp-sub-active-bar {
  background: linear-gradient(90deg, #065f46 0%, #047857 100%);
  color: white;
  padding: 12px 20px;
}

.mp-sub-active-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-sub-active-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mp-sub-active-info {
  font-size: 14px;
  opacity: 0.9;
  flex: 1;
}

.mp-sub-active-user {
  font-size: 13px;
  opacity: 0.85;
  margin-left: auto;
}

@media (max-width: 600px) {
  .mp-gate-box {
    padding: 35px 20px;
  }

  .mp-gate-title {
    font-size: 24px;
  }

  .mp-gate-plans {
    grid-template-columns: repeat(3, 1fr);
  }

  .mp-sub-active-bar-inner {
    gap: 10px;
  }

  .mp-sub-active-user {
    display: none;
  }
}


/* ── Success screen – account credentials note ── */
.mp-success-account-note {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: 10px;
  padding: 18px;
  margin-top: 15px;
  text-align: left;
}

.mp-success-account-note--existing {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.mp-success-account-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.mp-success-account-note strong {
  display: block;
  font-size: 15px;
  color: var(--mp-dark);
  margin-bottom: 6px;
}

.mp-success-account-note p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}


/* =====================================================================
   MEMBERSHIP PLANS – Beautiful Card Design
   ===================================================================== */

.mp-sub-wrap {
 
  min-height: 100vh;
}

/* ── Header ── */
.mp-membership-header {
  text-align: center;
  padding: 50px 20px 10px;
}

.mp-membership-header-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1a1a6e 0%, #3b0a8f 100%);
  color: white;
  padding: 16px 48px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(59,10,143,0.35);
}

.mp-membership-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  color: white;
  margin: 0;
  text-transform: uppercase;
}

.mp-membership-star {
  font-size: 22px;
  color: #f59e0b;
}

/* ── Grid ── */
.mp-membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .mp-membership-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 480px;
  }
}

/* ── Base Card ── */
.mp-mem-card {
  position: relative;
  border-radius: 20px;
  padding: 8px 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-mem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* ── Blue (Basic) ── */
.mp-mem-card--blue {
  background: linear-gradient(160deg, #e8f4ff 0%, #c8e6ff 60%, #a8d4ff 100%);
  border: 2px solid #90c8f8;
  box-shadow: 0 8px 30px rgba(37,99,235,0.15);
  border-radius: 20px 0 0 20px;
}

/* ── Orange (Premium) – Featured, taller ── */
.mp-mem-card--orange {
  background: linear-gradient(160deg, #fff8e8 0%, #ffe8b0 40%, #ffcc60 100%);
  border: 3px solid #f59e0b;
  box-shadow: 0 12px 40px rgba(245,158,11,0.3);
  border-radius: 20px;
  z-index: 2;
  margin: -20px -5px;
  padding-top: 55px;
  padding-bottom: 55px;
}

/* ── Purple (Premium Plus) ── */
.mp-mem-card--purple {
  background: linear-gradient(160deg, #f3e8ff 0%, #ddb8ff 60%, #c084fc 100%);
  border: 2px solid #a855f7;
  box-shadow: 0 8px 30px rgba(168,85,247,0.2);
  border-radius: 0 20px 20px 0;
}

/* ── Icon ── */
.mp-mem-icon-wrap {
  margin-bottom: 12px;
}

.mp-mem-icon {
  font-size: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mp-mem-card--blue   .mp-mem-icon { background: rgba(37,99,235,0.12); }
.mp-mem-card--orange .mp-mem-icon { background: rgba(245,158,11,0.15); }
.mp-mem-card--purple .mp-mem-icon { background: rgba(168,85,247,0.15); }

/* ── Plan Name ── */
.mp-mem-name-wrap {
  margin-bottom: 14px;
}

.mp-mem-name {
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  margin: 0;
  line-height: 1.1;
}

.mp-mem-card--blue   .mp-mem-name { color: #1e40af; }
.mp-mem-card--orange .mp-mem-name { color: #c2410c; }
.mp-mem-card--purple .mp-mem-name { color: #6b21a8; }

/* ── Price Banner ── */
.mp-mem-price-banner {
  display: inline-block;
  padding: 8px 32px;
  border-radius: 6px;
  margin-bottom: 12px;
  position: relative;
}

/* Ribbon shape */
.mp-mem-price-banner::before,
.mp-mem-price-banner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
}

.mp-mem-price-banner::before {
  left: -7px;
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.mp-mem-price-banner::after {
  right: -7px;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

.mp-mem-card--blue   .mp-mem-price-banner,
.mp-mem-card--blue   .mp-mem-price-banner::before,
.mp-mem-card--blue   .mp-mem-price-banner::after { background: #1e40af; }

.mp-mem-card--orange .mp-mem-price-banner,
.mp-mem-card--orange .mp-mem-price-banner::before,
.mp-mem-card--orange .mp-mem-price-banner::after { background: #d97706; }

.mp-mem-card--purple .mp-mem-price-banner,
.mp-mem-card--purple .mp-mem-price-banner::before,
.mp-mem-card--purple .mp-mem-price-banner::after { background: #7c3aed; }

.mp-mem-price {
  font-size: 26px;
  font-weight: 900;
  color: white;
  letter-spacing: 1px;
}

/* ── Subtitle ── */
.mp-mem-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
  font-style: italic;
}

/* ── Divider ── */
.mp-mem-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.mp-mem-divider::before,
.mp-mem-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
}

.mp-mem-card--blue   .mp-mem-divider::before,
.mp-mem-card--blue   .mp-mem-divider::after { background: #93c5fd; }
.mp-mem-card--orange .mp-mem-divider::before,
.mp-mem-card--orange .mp-mem-divider::after { background: #fbbf24; }
.mp-mem-card--purple .mp-mem-divider::before,
.mp-mem-card--purple .mp-mem-divider::after { background: #c084fc; }

.mp-mem-divider-star {
  font-size: 14px;
}

.mp-mem-card--blue   .mp-mem-divider-star { color: #3b82f6; }
.mp-mem-card--orange .mp-mem-divider-star { color: #f59e0b; }
.mp-mem-card--purple .mp-mem-divider-star { color: #a855f7; }

/* ── Features ── */
.mp-mem-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  width: 100%;
  text-align: left;
  flex: 1;
}

.mp-mem-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.mp-mem-feature-item:last-child {
  border-bottom: none;
}

.mp-mem-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-top: 1px;
}

.mp-mem-card--blue   .mp-mem-check { background: #2563eb; }
.mp-mem-card--orange .mp-mem-check { background: #d97706; }
.mp-mem-card--purple .mp-mem-check { background: #7c3aed; }

/* ── CTA Button ── */
.mp-mem-btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mp-mem-card--blue   .mp-mem-btn { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.mp-mem-card--orange .mp-mem-btn { background: linear-gradient(135deg, #c2410c, #f59e0b); }
.mp-mem-card--purple .mp-mem-btn { background: linear-gradient(135deg, #6b21a8, #a855f7); }

.mp-mem-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* ── Featured glow ── */
.mp-mem-card-featured-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
  border-radius: 20px 20px 0 0;
  animation: mp-glow-pulse 2s ease-in-out infinite;
}

@keyframes mp-glow-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

@media (max-width: 900px) {
  .mp-mem-card--blue   { border-radius: 20px; }
  .mp-mem-card--orange { margin: 0; padding: 35px 28px 40px; }
  .mp-mem-card--purple { border-radius: 20px; }
}


/* =====================================================================
   SUBSCRIPTION CHECKOUT PAGE
   ===================================================================== */

.mp-checkout-page-wrap {

  min-height: 100vh;
  padding-bottom: 60px;
}

/* ── Top bar ── */
.mp-checkout-page-topbar {
  background: white;
  border-bottom: 1px solid var(--mp-border);
  padding: 14px 0;
  margin-bottom: 40px;
}

.mp-checkout-back-link {
  color: var(--mp-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.mp-checkout-back-link:hover {
  opacity: 0.7;
}

/* ── Layout ── */
.mp-checkout-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .mp-checkout-page-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Form column ── */
.mp-checkout-page-form {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.mp-checkout-page-header {
  margin-bottom: 28px;
}

.mp-checkout-page-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 6px;
}

.mp-checkout-page-header p {
  color: #6b7280;
  font-size: 15px;
}

/* ── Plan bar ── */
.mp-checkout-page-plan-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.07), rgba(245,158,11,0.07));
  border: 2px solid var(--mp-primary);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.mp-cpp-icon {
  font-size: 30px;
  flex-shrink: 0;
}

.mp-cpp-info {
  flex: 1;
}

.mp-cpp-info strong {
  display: block;
  font-size: 16px;
  color: var(--mp-dark);
}

.mp-cpp-info span {
  font-size: 13px;
  color: #6b7280;
}

.mp-cpp-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--mp-primary);
}

.mp-cpp-change {
  font-size: 13px;
  color: var(--mp-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--mp-primary);
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.mp-cpp-change:hover {
  background: var(--mp-primary);
  color: white;
}

/* ── Sidebar ── */
.mp-checkout-page-sidebar .mp-order-summary {
  position: sticky;
  top: 100px;
}

@media (max-width: 768px) {
  .mp-checkout-page-form {
    padding: 24px 18px;
  }
}


/* =====================================================================
   E-MAGAZINE LOCK GATE (No Subscription)
   ===================================================================== */

.mp-gate-wrap--lock {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
}

/* ── Blurred background preview ── */
.mp-gate-blur-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mp-gate-blur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px;
  height: 100%;
  filter: blur(6px);
  opacity: 0.35;
  transform: scale(1.05);
}

.mp-gate-blur-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-gate-blur-thumb {
  font-size: 48px;
  text-align: center;
  padding: 20px 0;
  background: #f3f4f6;
  border-radius: 8px;
}

.mp-gate-blur-line {
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
}

.mp-gate-blur-line--short {
  width: 60%;
}

.mp-gate-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(124,58,237,0.08) 100%);
  backdrop-filter: blur(2px);
}

/* ── Lock Box ── */
.mp-gate-lock-box {
  position: relative;
  z-index: 10;
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
  border: 1px solid rgba(37,99,235,0.15);
}

.mp-gate-lock-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.mp-gate-lock-icon svg {
  filter: drop-shadow(0 4px 12px rgba(37,99,235,0.25));
}

.mp-gate-lock-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.mp-gate-lock-desc {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 28px;
  line-height: 1.6;
}

.mp-gate-lock-desc strong {
  color: var(--mp-dark);
}

/* ── Plan cards inside lock ── */
.mp-gate-lock-plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.mp-gate-lock-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--plan-bg, #eff6ff);
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.mp-gate-lock-plan:hover {
  border-color: var(--plan-color, #2563eb);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mp-glp-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.mp-glp-name {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
  color: var(--mp-dark);
  text-align: left;
}

.mp-glp-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--plan-color, #2563eb);
}

.mp-glp-arrow {
  font-size: 18px;
  color: var(--plan-color, #2563eb);
  font-weight: 700;
  transition: transform 0.2s;
}

.mp-gate-lock-plan:hover .mp-glp-arrow {
  transform: translateX(4px);
}

.mp-gate-lock-cta {
  width: 100%;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .mp-gate-lock-box {
    padding: 32px 20px;
  }

  .mp-gate-lock-title {
    font-size: 20px;
  }

  .mp-gate-blur-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ── Checkout success — full page display ── */
.mp-checkout-page-wrap #mp-step-success {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;

}

/* =====================================================================
   SALE & PURCHASE — UPDATED STYLES
   ===================================================================== */

/* ── How It Works Info Banner ── */
.mp-sp-info-section {
  background: #f0f4ff;
  border-bottom: 2px solid #e0e7ff;
  padding: 28px 20px 20px;
}

.mp-sp-how-it-works {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  background: white;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.07);
}

.mp-sp-hw-item {
  display: flex;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}

.mp-sp-hw-icon {
  font-size: 30px;
  flex-shrink: 0;
  line-height: 1;
}

.mp-sp-hw-item strong {
  display: block;
  color: var(--mp-dark);
  font-size: 15px;
  margin-bottom: 3px;
}

.mp-sp-hw-item p {
  font-size: 13px;
  color: #555;
  margin: 0;
}

.mp-sp-hw-divider {
  font-size: 24px;
  color: #a5b4fc;
  align-self: center;
}

@media (max-width: 600px) {
  .mp-sp-hw-divider { display: none; }
  .mp-sp-how-it-works { gap: 14px; }
}

/* ── Plan Pills ── */
.mp-sp-plans-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.mp-sp-plan-pill {
  background: white;
  border: 2px solid var(--mp-primary);
  border-radius: 24px;
  padding: 8px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--mp-dark);
}

.mp-sp-plan-pill strong {
  color: var(--mp-primary);
}

.mp-sp-plan-pill span {
  color: #10b981;
  font-weight: 700;
}

/* ── Form Section Label ── */
.mp-form-section-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--mp-primary);
  padding: 10px 0 6px;
  border-bottom: 2px solid #e0e7ff;
  margin-bottom: 16px;
  margin-top: 10px;
}

/* ── Cover photo label (bigger target) ── */
.mp-cover-label {
  border-color: #a5b4fc;
  background: #f0f4ff;
}

.mp-cover-label:hover {
  border-color: var(--mp-primary);
  background: rgba(37,99,235,0.06);
}

.mp-cover-preview {
  position: relative;
  display: inline-block;
  margin-top: 12px;
}

.mp-cover-preview img {
  max-width: 180px;
  max-height: 240px;
  border-radius: 8px;
  border: 3px solid var(--mp-primary);
  object-fit: cover;
  display: block;
}

/* ── Gallery preview grid ── */
.mp-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.mp-gallery-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--mp-border);
}

.mp-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-gallery-thumb-num {
  position: absolute;
  bottom: 4px;
  right: 6px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 5px;
}

.mp-gallery-count {
  color: var(--mp-primary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

/* ── Listing Plans (radio cards) ── */
.mp-listing-plans {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.mp-listing-plan-option {
  flex: 1;
  min-width: 130px;
  cursor: pointer;
}

.mp-listing-plan-option input[type="radio"] {
  display: none;
}

.mp-listing-plan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border: 2px solid var(--mp-border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.mp-listing-plan-card strong {
  font-size: 15px;
  color: var(--mp-dark);
}

.mp-listing-plan-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--mp-primary);
}

.mp-listing-plan-card small {
  font-size: 12px;
  color: #777;
}

.mp-listing-plan-card:hover,
.mp-listing-plan-card--selected {
  border-color: var(--mp-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.mp-listing-plan-card--selected strong {
  color: var(--mp-primary);
}

/* ── Sale card school name ── */
.mp-sale-card__school {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
  font-weight: 500;
}

/* ── Listing card image slider ── */
.mp-sale-slider {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.mp-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mp-slide-btn:hover {
  background: rgba(0,0,0,0.7);
}

.mp-slide-btn--prev { left: 8px; }
.mp-slide-btn--next { right: 8px; }

.mp-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 20;
}

.mp-slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.mp-slide-dot--active {
  background: white;
}

/* Gallery count badge on card image */
.mp-gallery-count-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 10;
}

/* ── Validity badges update ── */
.mp-sale-badge--free {
  background: #10b981;
  color: white;
}

.mp-sale-badge--paid {
  background: #2563eb;
  color: white;
}

/* ── Subscription notice box ── */
.mp-sub-notice {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.mp-sub-notice h4 {
  color: #92400e;
  margin-bottom: 6px;
  font-size: 15px;
}

.mp-sub-notice p {
  font-size: 13px;
  color: #78350f;
  margin: 0;
}


/* =====================================================================
   AUTH PAGES (Login / Register)
   ===================================================================== */

.mp-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.mp-auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

.mp-auth-container--narrow {
  grid-template-columns: 1fr 1fr;
}

.mp-auth-panel--left {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b0a8f 100%);
  color: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mp-auth-brand {
  margin-bottom: 50px;
}

.mp-auth-brand-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

.mp-auth-brand h2 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.mp-auth-brand p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.mp-auth-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-auth-perk {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.mp-auth-perk > span {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.mp-auth-perk strong {
  display: block;
  color: white;
  margin-bottom: 3px;
  font-size: 15px;
}

.mp-auth-perk p {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  margin: 0;
}

.mp-auth-panel--right {
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
}

.mp-auth-form-wrap {
  width: 100%;
  max-width: 420px;
}

.mp-auth-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--mp-dark);
  margin-bottom: 6px;
}

.mp-auth-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 28px;
}

.mp-auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 480px) {
  .mp-auth-form-row {
    grid-template-columns: 1fr;
  }
}

.mp-input-with-toggle {
  position: relative;
}

.mp-input-with-toggle input {
  padding-right: 44px;
}

.mp-toggle-pwd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #9ca3af;
  padding: 2px;
  transition: color 0.2s;
}

.mp-toggle-pwd:hover {
  color: var(--mp-primary);
}

.mp-auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mp-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mp-text);
  cursor: pointer;
}

.mp-checkbox-label input {
  width: auto !important;
}

.mp-forgot-link {
  font-size: 14px;
  color: var(--mp-primary);
  text-decoration: none;
  font-weight: 600;
}

.mp-forgot-link:hover {
  text-decoration: underline;
}

.mp-auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.mp-auth-switch a {
  color: var(--mp-primary);
  font-weight: 600;
  text-decoration: none;
}

.mp-auth-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mp-auth-container {
    grid-template-columns: 1fr;
  }

  .mp-auth-panel--left {
    padding: 40px 25px;
    min-height: auto;
  }

  .mp-auth-panel--right {
    padding: 40px 25px;
    min-height: 100vh;
  }

  .mp-auth-perks {
    display: none;
  }

  .mp-auth-brand {
    margin-bottom: 20px;
    text-align: center;
  }
}

/* =====================================================================
   USER DASHBOARD
   ===================================================================== */

.mp-dashboard-wrap {
  min-height: 100vh;
}

/* ── Header ── */
.mp-dashboard-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
  padding: 24px 0;
}

.mp-dash-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.mp-dash-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mp-dash-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.4);
}

.mp-dash-welcome {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.mp-dash-email {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.mp-dash-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Quick Stats ── */
.mp-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.mp-dash-stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.mp-dash-stat-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.mp-dash-stat-card strong {
  display: block;
  font-size: 22px;
  color: var(--mp-dark);
  margin-bottom: 3px;
}

.mp-dash-stat-card span {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.mp-dash-stat-card em {
  display: block;
  margin-top: 6px;
  font-style: normal;
}

/* ── Section ── */
.mp-dash-section {
  background: white;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.mp-dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--mp-border);
}

.mp-dash-section-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--mp-dark);
  margin: 0;
}

/* ── Detail Card ── */
.mp-dash-card {
  background: var(--mp-light);
  border-radius: 10px;
  padding: 20px;
}

.mp-dash-card--birthday {
  background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 100%);
  border: 2px solid #f9a8d4;
  text-align: center;
}

.mp-dash-bday-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.mp-dash-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.mp-dash-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mp-dash-detail span {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mp-dash-detail strong {
  font-size: 15px;
  color: var(--mp-dark);
}

/* ── Table ── */
.mp-dash-table-wrap {
  overflow-x: auto;
}

.mp-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mp-dash-table th {
  background: var(--mp-light);
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: var(--mp-dark);
  border-bottom: 2px solid var(--mp-border);
  white-space: nowrap;
}

.mp-dash-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.mp-dash-table tbody tr:hover {
  background: #f9fafb;
}

/* ── Empty State ── */
.mp-dash-empty {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
}

.mp-dash-empty span {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.mp-dash-empty p {
  font-size: 15px;
}

.mp-dash-empty--birthday {
  background: #fdf2f8;
  border-radius: 10px;
  border: 2px dashed #f9a8d4;
}

@media (max-width: 768px) {
  .mp-dash-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mp-dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-dash-section {
    padding: 20px 15px;
  }

  .mp-dash-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .mp-dash-stats {
    grid-template-columns: 1fr;
  }

  .mp-dash-card-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   MEMBERSHIP CARDS – ROSE IMAGE
   ===================================================================== */

.mp-mem-rose-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.mp-mem-rose-img {

  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-mem-card:hover .mp-mem-rose-img {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Blue card (Basic / White Rose) – subtle blue border */
.mp-mem-card--blue .mp-mem-rose-img {
  border-color: #93c5fd;
}

/* Orange card (Premium / Yellow Rose) – golden border */
.mp-mem-card--orange .mp-mem-rose-img {
  border-color: #fbbf24;
}

/* Purple card (Premium Plus / Red Rose) – purple-pink border */
.mp-mem-card--purple .mp-mem-rose-img {
  border-color: #c084fc;
}

/* Fallback icon still uses the original .mp-mem-icon styling */
.mp-mem-icon--fallback {
  font-size: 42px;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* ── Membership Card – Duration Badge ── */
.mp-mem-duration-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.mp-mem-card--blue   .mp-mem-duration-badge { color: #1e40af; background: rgba(219,234,254,0.7); }
.mp-mem-card--orange .mp-mem-duration-badge { color: #92400e; background: rgba(254,243,199,0.7); }
.mp-mem-card--purple .mp-mem-duration-badge { color: #5b21b6; background: rgba(237,233,254,0.7); }


/* =====================================================================
   MEMBERSHIP CARD – ROSE IMAGE (Full-width, top, no overlap)
   ===================================================================== */

/* Remove old circular icon styles from membership cards */
.mp-mem-icon-wrap {
  display: none; /* hide old circular icon — replaced by full-width image below */
}

/* ── New full-width image wrapper ── */
.mp-mem-card-img-wrap {
  width: calc(100% + 56px); /* bleed past card padding (28px each side) */
  margin: -35px -28px 18px -28px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  line-height: 0;
}

/* Orange card has extra top padding, compensate */
.mp-mem-card--orange .mp-mem-card-img-wrap {
  margin-top: -55px;
}

.mp-mem-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 18px 18px 0 0;
  transition: transform 0.4s ease;
}

.mp-mem-card:hover .mp-mem-card-img {
  transform: scale(1.04);
}

/* ── Duration text under plan name ── */
.mp-mem-duration {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
  font-style: italic;
}

.mp-mem-card--blue   .mp-mem-duration { color: #2563eb; }
.mp-mem-card--orange .mp-mem-duration { color: #c2410c; }
.mp-mem-card--purple .mp-mem-duration { color: #6d28d9; }


/* =====================================================================
   ROSE PLANS — Image Only Grid
   ===================================================================== */

.mp-rose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 60px;
  padding: 0 20px;
  align-items: center;
}

.mp-rose-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  line-height: 0;
}

.mp-rose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Featured (Premium) card slightly taller */
.mp-rose-card--featured {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.35);
  z-index: 2;
}

.mp-rose-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.mp-rose-img-link {
  display: block;
  line-height: 0;
}

.mp-rose-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* "Most Popular" badge */
.mp-rose-popular-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .mp-rose-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 20px;
  }

  .mp-rose-card--featured {
    transform: scale(1);
  }

  .mp-rose-card--featured:hover {
    transform: translateY(-6px);
  }
}


/* =====================================================================
   BIRTHDAY CLUB PAGE
   ===================================================================== */

.mp-bday-wrap {
  min-height: 60vh;
}

/* ── Hero ── */
.mp-bday-hero {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.mp-bday-hero-icon {
  font-size: 64px;
  margin-bottom: 15px;
  animation: mp-bounce 0.8s ease;
}

@keyframes mp-bounce {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.mp-bday-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.mp-bday-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}

.mp-bday-free-tag {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.4);
}

/* ── Benefits ── */
.mp-bday-benefits {
  background: white;
  padding: 40px 20px;
  border-bottom: 2px solid #fce7f3;
}

.mp-bday-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.mp-bday-benefit-item {
  text-align: center;
  padding: 20px 15px;
  border-radius: 12px;
  background: #fff0f7;
  border: 1px solid #fbcfe8;
  transition: transform 0.2s;
}

.mp-bday-benefit-item:hover {
  transform: translateY(-4px);
}

.mp-bday-benefit-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.mp-bday-benefit-item strong {
  display: block;
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 5px;
}

.mp-bday-benefit-item p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

/* ── Form Section ── */
.mp-bday-form-section {
  padding: 50px 20px 60px;
}

.mp-bday-form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(236,72,153,0.1);
  border: 2px solid #fce7f3;
}

.mp-bday-form-header {
  text-align: center;
  margin-bottom: 30px;
}

.mp-bday-form-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 6px;
}

.mp-bday-form-header p {
  color: #6b7280;
  font-size: 15px;
}

/* ── Two-column row ── */
.mp-bday-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .mp-bday-form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Submit Button ── */
.mp-bday-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
  text-align: center;
}

.mp-bday-submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.mp-bday-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Note ── */
.mp-bday-note {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 12px;
}

/* ── Already registered ── */
.mp-bday-already {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 50px 30px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(236,72,153,0.1);
  border: 2px solid #fce7f3;
}

.mp-bday-already-icon {
  font-size: 64px;
  margin-bottom: 15px;
}

.mp-bday-already h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 10px;
}

.mp-bday-already p {
  color: #6b7280;
  font-size: 15px;
}

@media (max-width: 768px) {
  .mp-bday-hero-title { font-size: 30px; }
  .mp-bday-form-card  { padding: 25px 18px; }
}


/* ── Hide progress circle (theme/plugin scroll indicator) ── */
.progress-circle,
.progress-circle *,
#progressPercentage {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ===== PDF VIEWER MODAL ===== */
.mp-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.mp-pdf-modal-inner {
  background: #1a1a2e;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.mp-pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #0f0f23;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.mp-pdf-modal-title {
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-pdf-modal-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mp-pdf-page-info {
  color: #94a3b8;
  font-size: 13px;
  min-width: 90px;
  text-align: center;
}

.mp-pdf-nav-btn,
.mp-pdf-zoom-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-pdf-nav-btn:hover,
.mp-pdf-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mp-pdf-nav-btn:disabled,
.mp-pdf-zoom-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.mp-pdf-close-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-pdf-close-btn:hover {
  background: rgba(239, 68, 68, 0.35);
}

.mp-pdf-canvas-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #2d2d2d;
  padding: 20px;
  min-height: 400px;
  position: relative;
}

#mp-pdf-canvas {
  display: block;
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  /* Prevent right-click save & text selection */
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.mp-pdf-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #94a3b8;
  font-size: 15px;
  padding: 60px 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.mp-pdf-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--mp-primary);
  border-radius: 50%;
  animation: mp-spin 0.8s linear infinite;
}

@keyframes mp-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .mp-pdf-modal-header {
    padding: 10px 14px;
  }
  .mp-pdf-modal-title {
    font-size: 13px;
  }
  .mp-pdf-canvas-wrap {
    padding: 10px;
  }
}

/* ===== GST STYLES ===== */
.mp-order-row--tax {
  color: #6b7280;
  font-size: 13px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 4px;
  margin-top: 2px;
}
.mp-order-row--tax span:last-child {
  color: #ef4444;
}
.mp-gst-note {
  font-size: 13px;
  line-height: 1.5;
}
.mp-order-gstin {
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  padding: 6px 0 0;
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
}
.mp-checkout-section-label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}

/* ===== STATE DROPDOWN — force override theme styles ===== */
select.mp-state-select,
#mp-sub-state,
#mem-state-select,
#bn-state {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  padding: 12px 40px 12px 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px !important;
  color: #374151 !important;
  cursor: pointer !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  outline: none !important;
  display: block !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  /* Remove any pseudo-elements or decorators added by theme */
  position: relative !important;
  z-index: 1 !important;
}

/* Kill any theme-added fake selects / arrows */
select.mp-state-select + *:not(.mp-field-error),
#mp-sub-state + *:not(.mp-field-error),
#mem-state-select + *:not(.mp-field-error),
#bn-state + *:not(.mp-field-error) {
  display: none !important;
}

select.mp-state-select:focus,
#mp-sub-state:focus,
#mem-state-select:focus,
#bn-state:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
}

/* dropdown option styling */
select.mp-state-select option,
#mp-sub-state option,
#mem-state-select option,
#bn-state option {
  padding: 10px 14px !important;
  font-size: 15px !important;
  color: #374151 !important;
  background: #ffffff !important;
}

select.mp-state-select option:checked,
#mp-sub-state option:checked,
#mem-state-select option:checked,
#bn-state option:checked {
  background: #2563eb !important;
  color: #fff !important;
}

/* Wrap the select in a relative container to prevent double render */
.mp-state-wrap {
  position: relative;
  display: block;
}
.mp-state-wrap select {
  width: 100%;
}

/* Membership plan cards on plans page */
.mp-mem-plan-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mp-mem-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
