.mb-0 {
  margin-bottom: 0px !important;
}
.mt-4 {
  margin-top: 16px !important;
}
.mt-5 {
  margin-top: 20px !important;
}
.w-100 {
  width: 100% !important;
}

body.woocommerce-checkout .select2-container .select2-dropdown--below {
  top: 0px !important;
  z-index: 999999 !important;
  border-radius: 4px !important;
}
.mv-container p {
  margin-bottom: 0px !important;
}

.mv-container {
  max-width: 1260px;
  margin: auto;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.input {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

.payment-box {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-top: 10px;
}

.cta {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 16px;
  border-radius: 14px;
  margin-top: 20px;
}

.mv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mv-steps {
  display: flex;
  gap: 10px;
}

.step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step.active {
  background: #111;
  color: #fff;
}

.step.done {
  background: green;
  color: #fff;
}

.sticky {
  position: sticky;
  top: 20px;
}

/* WRAPPER */
.mv-header-wrap {
  margin-bottom: 24px;
}

/* MAIN CONTAINER */
.mv-header {
  background: #ffffff;
  border-radius: 28px;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e5e7eb;
}

.mv-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ICON WRAPPER */
.mv-accreditations {
  display: flex;
  gap: 8px;
  position: relative;
  top: -4px;
}

/* SINGLE ICON */
.mv-accreditation-item {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid gray;
  border-radius: 5px;
  /* overflow: hidden; */
}

.mv-accreditation-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TOOLTIP */
.mv-tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}

/* SHOW ON HOVER */
.mv-accreditation-item:hover .mv-tooltip {
  opacity: 1;
}

/* LEFT */
.mv-header-left {
  max-width: 60%;
}

/* BADGES */
.mv-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mv-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 0px 12px;
  border-radius: 999px;
}

.mv-dark {
  background: #0f172a;
  color: #fff;
  letter-spacing: 0.1em;
}

.mv-green {
  background: #ecfdf5;
  color: #059669;
}

/* TITLE */
.mv-title {
  font-size: 28px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

/* STEPS */
.mv-steps {
  display: flex;
  gap: 28px;
}

/* STEP */
.mv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
}

/* CIRCLE */
.mv-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 6px;
  background: #e5e7eb;
}

/* STATES */
.mv-step.done .mv-circle {
  background: #059669;
  color: white;
}

.mv-step.active .mv-circle {
  background: #111827;
  color: white;
}

/* LABEL */
.mv-step span {
  font-size: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .mv-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    padding: 16px;
  }

  .mv-header-left {
    max-width: 100%;
  }

  .mv-steps {
    width: 100%;
    justify-content: space-between;
  }
}

/* MAIN CARD */
.mv-package-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

/* TOP LAYOUT */
.mv-package-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* LEFT SIDE */
.mv-package-left {
  display: flex;
  gap: 16px;
}

/* TITLE */
.mv-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-title-row h2 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0;
  width: 70%;
}

/* BADGE */
.mv-badge-blue {
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  padding: 0px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* HOSPITAL */
.mv-hospital-logo {
  min-width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mv-hospital-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
}

/* TAGS */
.mv-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 0px 34px;
  border-radius: 999px;
  font-weight: 600;
  margin: 3px 0;
}

.tag.green {
  background: #ecfdf5;
  color: #059669;
}

.tag.gray {
  background: #f3f4f6;
  color: #374151;
}

.tag.orange {
  background: #fff7ed;
  color: #c2410c;
}

/* PRICE BOX */
.mv-price-box {
  background: #f9fafb;
  padding: 16px;
  border-radius: 20px;
  min-width: 220px;
}

.mv-price-box .label {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 0.1em;
}

.mv-price-box h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 6px;
}

/* PRICE ROW */
.mv-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-direction: column;
}

/* MAIN PRICE */
.mv-sale-price {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}

/* OLD PRICE */
.mv-regular-price {
  font-size: 16px;
  color: #9ca3af;
  text-decoration: line-through;
}

/* META ROW (discount + pill) */
.mv-price-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* DISCOUNT */
.mv-discount {
  font-size: 13px;
  color: #059669;
  font-weight: 600;
}

/* PILL */
.mv-pill {
  background: #d1fae5;
  color: #065f46;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* FEATURES GRID */
.mv-desc-content {
  max-height: 70px; /* collapsed height */
  overflow: hidden;
  transition: max-height 0.35s ease;
  position: relative;
}

/* fade effect (nice touch) */
.mv-desc-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #fff);
}

/* expanded */
.mv-desc-content.open {
  max-height: 500px;
}

.mv-desc-content.open::after {
  display: none;
}

/* button */
.mv-desc-toggle {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #2563eb;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .mv-package-top {
    flex-direction: column;
  }

  .mv-features {
    grid-template-columns: 1fr;
  }
}
/* CARD */
.mv-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid #eef1f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* HEADER */

.mv-patient-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

/* Hide default checkbox */
.mv-patient-toggle input {
  display: none;
}

/* Toggle background */
.mv-toggle-slider {
  position: relative;
  width: 46px;
  height: 24px;
  background: #ddd;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Circle knob */
.mv-toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Active state */
.mv-patient-toggle input:checked + .mv-toggle-slider {
  background: linear-gradient(135deg, #4caf50, #2ecc71);
}

.mv-patient-toggle input:checked + .mv-toggle-slider::before {
  transform: translateX(22px);
}

/* Label text */
.mv-label-text {
  color: #333;
  transition: color 0.3s ease;
}

.mv-patient-toggle input:checked ~ .mv-label-text {
  color: #2ecc71;
  font-weight: 500;
}

.d-flex.patient-header {
  align-items: center;
  margin-bottom: 8px;
}

.mv-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.mv-card p {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}

/* BADGE */
.mv-pill {
  background: #caffe6;
  color: #374151;
  font-size: 11px;
  padding: 0px 15px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}

/* FORM GRID */
.mv-form-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mv-form-grid .full {
  grid-column: span 2;
}

/* LABEL */
.mv-container label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin: 0;
  padding-left: 5px;
  line-height: 1;
  width: 100%;
}

/* INPUT */
.mv-input {
  width: 100%;
  margin-top: 0px;
  padding: 5px 14px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  font-size: 13px;
  transition: all 0.2s ease;
  margin-bottom: 0;
}

.mv-input:focus {
  background: #ffffff;
  border-color: #111827;
  outline: none;
}

/* TEXTAREA */
textarea.mv-input {
  resize: none;
  min-height: 110px;
}

/* RIGHT SIDE STEPS */
.mv-steps-list {
  margin-top: 16px;
}

/* STEP BOX */
.mv-step-box {
  display: flex;
  gap: 12px;
  background: #f3f4f6;
  padding: 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* NUMBER */
.mv-step-box .num {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111827;
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.mv-step-box p {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}

/* BUTTON */
.mv-outline-btn {
  margin-top: 14px;
  width: 100%;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.mv-outline-btn:hover {
  background: #f9fafb;
}

/* GRID */
.mv-patient-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.mv-patient-grid > div > .mv-card + .mv-card {
  margin-top: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .mv-patient-grid {
    grid-template-columns: 1fr;
  }
}

/* REMOVE default Woo style */
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-selection--single {
  border-radius: 16px !important;
  background: #f3f4f6 !important;
  padding: 13px !important;
  border: 1px solid #e5e7eb !important;
}

/* LABEL */
.woocommerce form .form-row label {
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #9ca3af;
  font-weight: 600;
}

/* REMOVE weird spacing */
.woocommerce form .form-row {
  margin-bottom: 0 !important;
}

.mv-patient-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 0px;
  cursor: pointer;
  margin-left: 0px;
}

.mv-locked {
  pointer-events: none;
  opacity: 0.7;
  background: #f5f5f5;
  cursor: not-allowed;
}

/* Hide patient fields from billing section */
.woocommerce-billing-fields .mv-patient-field {
  display: none !important;
}

/* Your existing layout fix */
.w-100 {
  width: 100% !important;
}

.mv-billing-toggle {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.mv-bill-btn {
  flex: 1;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ACTIVE */
.mv-bill-btn.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.form-row-company {
  display: none;
}
/* Force 2-column layout properly */
.woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Half width */
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last {
  width: calc(50% - 6px);
  float: none !important;
}

/* Full width */
.woocommerce-billing-fields__field-wrapper .form-row-wide {
  width: 100%;
}

/* Remove Woo float system completely */
.woocommerce form .form-row {
  float: none !important;
  clear: none !important;
}

/* Fix country dropdown alignment */
#billing_country_field {
  margin-top: 0 !important;
}

.woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-row-first,
.form-row-last {
  width: calc(50% - 6px);
}

.form-row-wide {
  width: 100%;
}

#billing_terms_conditions_field {
  display: none !important;
}

#billing_address_1_field {
  order: 3;
}
#billing_email_field {
  order: 1;
}
#billing_country_field {
  order: 2;
}

.woocommerce-billing-fields h3 {
  display: none;
}

/* HIDE default radios */
.mv-payment-card input {
  display: none;
}

/* CARD */
.mv-payment-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

/* ACTIVE */
.mv-payment-card.active {
  border-color: #059669;
  background: #ecfdf5;
}

/* CONTENT */
.mv-payment-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TEXT */
.mv-payment-content strong {
  font-size: 14px;
  letter-spacing: 0;
  color: #111;
}

.mv-payment-content p {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0;
  padding-top: 10px !important;
}
.mv-payment-fields p {
  display: none;
}
.mv-payment-text {
  width: 55%;
}
/* BADGE */
.mv-badge {
  /* background: #f3f4f6; */
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.mv-payment-row {
  margin-top: 24px;
}

.mv-payment-row .mv-card {
  width: 100%;
}

/* Hide radio */
.mv-payment-card input {
  display: none;
}

/* Card style */
.mv-payment-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

/* Active */
.mv-payment-card.active {
  border-color: #10b981;
  background: #ecfdf5;
}

/* Layout */
.mv-payment-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

/* Fields hidden by default */
.mv-payment-fields {
  display: none;
  margin-top: 12px;
}

/* Show active fields */
.mv-payment-card.active .mv-payment-fields {
  display: block;
}

.mv-payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* TITLE */
.mv-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 6px;
}

/* PRODUCT BOX */
.mv-product-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f4f6;
  padding: 14px;
  border-radius: 14px;
  margin: 14px 0;
}

.mv-product-box p {
  font-size: 12px;
  color: #6b7280;
}

/* QTY */
.mv-qty {
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* TOTALS */
.mv-totals .row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}

.mv-totals .total {
  font-weight: 600;
  font-size: 16px;
}

.mv-totals .green {
  color: #059669;
}

.mv-approx {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* INFO BOX */
.mv-info-box {
  background: #f3f4f6;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-top: 10px;
}

/* CHECKBOX */
.mv-check {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin: 14px 0;
}

/* BUTTON */
.mv-place-order-btn {
  width: 100%;
  background: #0f172a;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* FOOTER */
.mv-footer {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin-top: 10px !important;
  line-height: 1.7;
}

.mv-check.error {
  border: 1px solid red;
}

label.mv-patient-toggle {
  padding: 0;
  margin-top: 15px;
}
.mv-description-box {
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

.mv-order-summery-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mv-totals {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}

.mv-totals .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #64748b;
}

.mv-totals .row:last-child {
  border-bottom: none;
}

.mv-totals .row.total {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  padding-top: 0px;
  margin: 0;
}

.mv-totals .row span:first-child {
  flex-shrink: 0;
}

.mv-totals .row span:last-child,
.mv-totals .row .tag {
  margin-left: auto;
  text-align: right;
}

.mv-totals .tag.green {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.mv-totals .row {
  padding: 6px 0;
}

.mv-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafb;
  margin-bottom: 14px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.mv-check:hover {
  border-color: #0d9488;
  background: #f0fdf9;
}
.mv-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  margin-top: 2px;
  transition: all 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mv-check input[type="checkbox"]:checked {
  background: #0d9488;
  border-color: #0d9488;
}

.mv-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
}

.mv-check span,
.mv-check {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.mv-check-terms {
  margin: 15px 0 !important;
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    display: block;
  }

  .mv-left {
    max-width: 100%;
  }
  .mv-right {
    max-width: 100%;
    margin-top: 25px;
  }
  .mv-check-terms input {
    width: 20px !important;
    min-width: 3px !important;
    padding: 0 !important;
  }
  .mv-steps {
    display: flex;
    gap: 16px;
    justify-content: start;
  }
  form button[type="submit"] {
    position: relative !important;
    width: 100%;
    padding: 10px 0;
    font-size: 12px;
  }
  .mv-container {
    margin-top: 40px;
  }
  .mv-title-row h2 {
    width: 100%;
  }
  .d-flex.patient-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .mv-pill {
    margin-top: 0px;
  }
  .mv-badges {
    /* flex-direction: column; */
  }
  .mv-badge {
    padding: 0px 20px;
    border-radius: 999px;
    font-size: 11px;
  }
  .mv-package-left {
    flex-direction: column;
  }
  .mv-hospital-logo {
    max-width: 64px;
  }
  .d-flex.patient-header {
    gap: 0 !important;
  }
  .mv-payment-header {
    display: flex;
    justify-content: start;
    align-items: start;
    margin-bottom: 12px;
    flex-direction: column;
    gap: 10px;
  }
}

body.woocommerce-checkout .woocommerce-notices-wrapper {
  display: none !important;
}
