/* Plans - Modern Layout */
p.free-trial {font-size: 24px;color:#000000;text-align:center;}
.progress-plans{background-color:#c5c5c5;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot.dot-plans {background-color:#cccccc;}

/* Plan Cards Container */
.container.margin_60 #pricing_plans {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Plan Card */
.container.margin_60 #pricing_plans a.plan-card {
  background: #f8f7f5 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  width: 340px;
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e8e4de !important;
  position: relative;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.container.margin_60 #pricing_plans a.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(160, 133, 79, 0.25);
  border-color: #a0854f !important;
}

/* Featured (annual) - permanent highlight */
.container.margin_60 #pricing_plans a.plan-card.plan-card--featured {
  border-color: #a0854f !important;
  box-shadow: 0 10px 30px rgba(160, 133, 79, 0.2);
}

/* Badge */
.plan-card .plan-card__badge {
  position: absolute !important;
  top: 16px;
  right: 16px;
  background: #a0854f;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  line-height: normal;
  z-index: 2;
}

/* Header */
.plan-card .plan-card__header {
  background: linear-gradient(135deg, #a0854f, #8a7040) !important;
  padding: 28px 24px 20px !important;
  text-align: center;
  display: block;
}

.plan-card .plan-card__label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: 6px;
  line-height: normal;
}

.plan-card .plan-card__period {
  display: block !important;
  font-size: 22px !important;
  font-weight: 700;
  color: #fff !important;
  line-height: normal;
}

/* Body */
.plan-card .plan-card__body {
  padding: 32px 24px !important;
  text-align: center;
  display: block;
  background: transparent !important;
  flex: 1 !important;
}

.plan-card .plan-card__price {
  display: flex !important;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.plan-card .plan-card__amount {
  font-size: 52px !important;
  font-weight: 800;
  color: #333 !important;
  line-height: 1 !important;
}

.plan-card .plan-card__currency {
  font-size: 22px !important;
  font-weight: 600;
  color: #a0854f !important;
  line-height: normal !important;
}

.plan-card .plan-card__interval {
  font-size: 16px !important;
  color: #999 !important;
  font-weight: 500;
  line-height: normal !important;
}

.plan-card p.plan-card__desc {
  font-size: 14px !important;
  color: #666 !important;
  margin-top: 12px;
  line-height: 1.5;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* CTA Button */
.plan-card .plan-card__cta {
  display: block !important;
  margin: 8px 24px 28px !important;
  padding: 14px !important;
  background: #fff !important;
  color: #333 !important;
  text-align: center;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  line-height: normal;
  border: 1px solid #897250 !important;
}

.container.margin_60 #pricing_plans a.plan-card:hover .plan-card__cta {
  background: #897250 !important;
  color: #fff !important;
}

/* ========================================
   Popup Modal - Modern Plan Selector (Light)
   ======================================== */
.pop-container.modal .pop-outer {
  background: transparent !important;
}

.pop-container.modal .pop-content {
  background: #fff !important;
  border-radius: 16px !important;
  border: none !important;
  padding: 0 !important;
  overflow: hidden;
  max-width: 480px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

.pop-container.modal .pop-fixer {
  background: transparent !important;
}

.pop-container.modal .pop-title {
  display: none !important;
}

.pop-container.modal .pop-message {
  padding: 0 !important;
}

/* Popup title */
.pop-container.modal .popup-title-modern {
  font-family: FlexFont, sans-serif;
  font-size: 1.3em;
  color: #897250;
  text-align: center;
  padding: 28px 24px 12px;
  line-height: 1.3;
  font-weight: 600;
}

/* Section card inside popup */
.pop-container.modal .popup-section {
  background: #f8f7f5;
  border-radius: 12px;
  margin: 10px 24px;
  overflow: hidden;
  border: 1px solid #e8e4de;
}

.pop-container.modal .popup-section + .popup-section {
  margin-top: 14px;
}

.pop-container.modal .popup-section-header {
  background: linear-gradient(135deg, #a0854f, #8a7040);
  padding: 14px 20px;
  text-align: center;
  font-family: FlexFont, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pop-container.modal .popup-section-body {
  padding: 16px 20px 18px;
}

.pop-container.modal .popup-section-desc {
  color: #666;
  font-size: 13px;
  text-align: center;
  margin-bottom: 12px;
  font-family: FlexFont, sans-serif;
}

/* Plan option button inside popup */
.pop-container.modal .popup-plan-btn {
  display: block !important;
  width: 100% !important;
  padding: 14px 16px !important;
  margin-bottom: 8px !important;
  background: #fff !important;
  border: 1px solid #897250 !important;
  border-radius: 10px !important;
  color: #333 !important;
  font-family: FlexFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.pop-container.modal .popup-plan-btn:last-child {
  margin-bottom: 0 !important;
}

.pop-container.modal .popup-plan-btn:hover {
  background: #897250 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(137, 114, 80, 0.25);
}

/* Combo/YOBB notice */
.pop-container.modal .popup-combo-notice {
  color: #897250;
  font-size: 12px;
  text-align: center;
  padding: 0 16px 8px;
  font-family: FlexFont, sans-serif;
}

/* Volver button */
.pop-container.modal .pop-toolbar {
  background: transparent !important;
  padding: 8px 24px 24px !important;
  text-align: center !important;
  border: none !important;
}

.pop-container.modal .pop-button.popcerrar {
  background: #f8f7f5 !important;
  border: 1px solid #e0dcd6 !important;
  color: #897250 !important;
  border-radius: 10px !important;
  padding: 10px 40px !important;
  font-family: FlexFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.pop-container.modal .pop-button.popcerrar:hover {
  background: #897250 !important;
  border-color: #897250 !important;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 767px) {
  .container.margin_60 #pricing_plans {
    flex-direction: column;
    align-items: center;
  }
  .container.margin_60 #pricing_plans a.plan-card {
    width: 100%;
    max-width: 380px;
  }
}
