/* ==========================================================================
   Meu Pedido - visual do formulário de pedido
   Carregado automaticamente pelo common.tpl (depois do all.min.css).
   Usa os tokens do Nexus (--bg, --text, --border-muted, --rounding-md...)
   e as cores de marca do assets/meutema/css/theme.css. Os valores depois da
   vírgula são o fallback se aquele arquivo não estiver carregado.
   ========================================================================== */

#order-standard_cart {
  --o-primary: var(--mt-primary, #4f46e5);
  --o-primary-hover: var(--mt-primary-hover, #4338ca);
  --o-primary-soft: var(--mt-primary-soft, #eef2ff);
  --o-accent: var(--mt-accent, #7c3aed);
  --o-success: var(--mt-success, #059669);
  --o-surface: var(--bg, #fff);
  --o-surface-2: var(--bg-muted, #fbf9fa);
  --o-border: var(--border-muted, #e4e4e7);
  --o-text: var(--text, #111827);
  --o-muted: var(--text-lifted, #6b7280);
  --o-radius: var(--rounding-lg, 1rem);
  --o-radius-sm: var(--rounding-md, .625rem);
  --o-shadow: var(--mt-shadow-sm, 0 1px 2px rgba(15,23,42,.06));
  --o-shadow-md: var(--mt-shadow-md, 0 6px 20px rgba(15,23,42,.08));
}

/* Elementos do Meu Pedido escondidos pelo atributo hidden */
#order-standard_cart [hidden], .mp-mobile-bar [hidden] { display: none !important; }

/* --- Indicador de etapas ------------------------------------------------- */
.mp-steps {
  display: flex;
  gap: .5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  counter-reset: mp;
}
.mp-steps li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .85rem;
  background: var(--o-surface);
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius-sm);
  color: var(--o-muted);
  font-weight: 500;
  font-size: .875rem;
  counter-increment: mp;
}
.mp-steps li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-steps li::before {
  content: counter(mp);
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--o-surface-2);
  border: 1px solid var(--o-border);
  font-weight: 700;
  font-size: .75rem;
}
.mp-steps li.is-done { color: var(--o-text); }
.mp-steps li.is-done::before {
  content: "\2713";
  background: #ecfdf5;
  border-color: var(--o-success);
  color: var(--o-success);
}
.mp-steps li.is-current {
  border-color: var(--o-primary);
  color: var(--o-primary);
  box-shadow: 0 0 0 3px var(--o-primary-soft);
}
.mp-steps li.is-current::before {
  background: var(--o-primary);
  border-color: var(--o-primary);
  color: #fff;
}

/* --- Alternador Mensal / Anual -------------------------------------------- */
.mp-billing-toggle {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  margin: 0 0 1.5rem;
  background: var(--o-surface);
  border: 1px solid var(--o-border);
  border-radius: 999px;
  box-shadow: var(--o-shadow);
}
.mp-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--o-muted);
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background-color 150ms ease, color 150ms ease;
}
.mp-toggle-btn:hover { color: var(--o-text); }
.mp-toggle-btn.is-active { background: var(--o-primary); color: #fff; }
.mp-toggle-save {
  background: #ecfdf5;
  color: var(--o-success);
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 999px;
}

/* --- Vitrine de planos ---------------------------------------------------- */
body #order-standard_cart .cart-body .products .product {
  position: relative;
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
body #order-standard_cart .cart-body .products .product:hover {
  transform: translateY(-3px);
  box-shadow: var(--o-shadow-md);
  border-color: var(--primary-300, #a5b4fc);
}
body #order-standard_cart .cart-body .products .product .product-desc ul { list-style: none; padding-left: 0; }
body #order-standard_cart .cart-body .products .product .product-desc li {
  position: relative;
  padding-left: 1.5rem;
}
body #order-standard_cart .cart-body .products .product .product-desc li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--o-success);
  font-weight: 700;
}
body #order-standard_cart .cart-body .products .product .product-pricing .price {
  font-weight: 800;
  letter-spacing: -.02em;
}
.mp-cycle-label { color: var(--o-muted); }
.mp-annual-note { display: block; color: var(--o-muted); }
.mp-save-badge {
  display: table;
  margin-bottom: .35rem;
  background: #ecfdf5;
  color: var(--o-success);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 999px;
}
.mp-save-badge + br { display: none; }

/* Plano em destaque */
body #order-standard_cart .cart-body .products .product.mp-featured {
  border: 2px solid var(--o-primary);
  box-shadow: 0 10px 30px rgba(79, 70, 229, .16);
}
.mp-badge {
  position: absolute;
  top: -11px;
  right: 1rem;
  z-index: 1;
  background: linear-gradient(135deg, var(--o-primary), var(--o-accent));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* --- Configurar produto: ciclos em cartões ------------------------------- */
.mp-cycles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
  margin: .5rem 0 .25rem;
}
.mp-cycle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  text-align: left;
  background: var(--o-surface);
  border: 2px solid var(--o-border);
  border-radius: var(--o-radius-sm);
  padding: .85rem 1rem;
  cursor: pointer;
  color: var(--o-text);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.mp-cycle:hover { border-color: var(--primary-300, #a5b4fc); }
.mp-cycle[aria-checked="true"] {
  border-color: var(--o-primary);
  background: var(--o-primary-soft);
  box-shadow: 0 0 0 3px var(--o-primary-soft);
}
.mp-cycle-name { font-weight: 700; font-size: .95rem; }
.mp-cycle[aria-checked="true"] .mp-cycle-name { color: var(--o-primary); }
.mp-cycle-price { font-size: .85rem; color: var(--o-text); }
.mp-cycle-month { font-size: .78rem; color: var(--o-muted); }
.mp-cycle-save {
  margin-top: .3rem;
  background: #ecfdf5;
  color: var(--o-success);
  font-size: .7rem;
  font-weight: 700;
  padding: .12rem .5rem;
  border-radius: 999px;
}
.mp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Addons selecionados */
body #order-standard_cart .addon-products .panel-addon-selected,
body #order-standard_cart .addon-products .card-addon-selected {
  border-color: var(--o-primary);
  background: var(--o-primary-soft);
}

/* --- Resumo do pedido ----------------------------------------------------- */
body #order-standard_cart .order-summary {
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow-md);
  overflow: hidden;
}
body #order-standard_cart .order-summary .total-due-today .amt {
  font-weight: 800;
  letter-spacing: -.02em;
}

/* --- Checkout: métodos de pagamento em cartões --------------------------- */
#paymentGatewaysContainer.mp-gateways .text-center { text-align: left !important; }
#paymentGatewaysContainer.mp-gateways label.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 .5rem .5rem 0;
  padding: .75rem 1rem;
  min-width: 180px;
  background: var(--o-surface);
  border: 2px solid var(--o-border);
  border-radius: var(--o-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 150ms ease, background-color 150ms ease;
}
#paymentGatewaysContainer.mp-gateways label.radio-inline:hover { border-color: var(--primary-300, #a5b4fc); }
#paymentGatewaysContainer.mp-gateways label.radio-inline.mp-checked {
  border-color: var(--o-primary);
  background: var(--o-primary-soft);
  color: var(--o-primary);
}

/* --- Busca de domínio ----------------------------------------------------- */
body #order-standard_cart .domain-checker-container {
  background: linear-gradient(135deg, var(--o-primary), var(--o-accent));
  border-radius: var(--o-radius);
}

/* --- Barra de total no celular ------------------------------------------- */
.mp-mobile-bar { display: none; }

@media (max-width: 991.98px) {
  .mp-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg, #fff);
    border-top: 1px solid var(--border-muted, #e4e4e7);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .1);
    padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom));
  }
  .mp-mobile-total small { display: block; color: var(--text-lifted, #6b7280); font-size: .75rem; }
  .mp-mobile-total strong { font-size: 1.15rem; font-weight: 800; color: var(--text, #111827); }
  .mp-mobile-bar .btn { flex: 0 0 auto; }
  body.mp-has-bar { padding-bottom: 84px; }

  .mp-steps li { justify-content: center; padding: .55rem; }
  .mp-steps li span { display: none; }
  .mp-steps li.is-current { flex: 3 1 0; justify-content: flex-start; }
  .mp-steps li.is-current span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  #order-standard_cart *, .mp-mobile-bar * { transition: none !important; }
}

/* ==========================================================================
   v3 - Layout de página inteira
   ========================================================================== */

/* --- Sem sidebar: o pedido ocupa a largura toda -------------------------- */
body #order-standard_cart .cart-sidebar { display: none !important; }
body #order-standard_cart .cart-body { width: 100%; float: none; }
body #order-standard_cart .cart-body .header-lined { margin-bottom: 1.25rem; }
body #order-standard_cart .cart-body .header-lined h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .25rem;
}
body #order-standard_cart .cart-body .header-lined p { color: var(--o-muted); font-size: 1rem; }

/* --- Barra de categorias e ações (sidebar-categories-collapsed.tpl) ------ */
.mp-catnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: .4rem;
  background: var(--o-surface);
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow);
}
.mp-catnav-tabs, .mp-catnav-actions {
  display: flex;
  align-items: center;
  gap: .25rem;
  min-width: 0;
}
.mp-catnav-tabs { flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.mp-catnav-tabs::-webkit-scrollbar { display: none; }
.mp-tab, .mp-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .9rem;
  border-radius: var(--o-radius-sm);
  color: var(--o-muted) !important;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background-color 150ms ease, color 150ms ease;
}
.mp-tab:hover, .mp-action:hover { background: var(--o-surface-2); color: var(--o-text) !important; }
.mp-tab.is-active { background: var(--o-primary-soft); color: var(--o-primary) !important; }
.mp-action { font-weight: 500; font-size: .85rem; }
.mp-action.is-active { color: var(--o-primary) !important; }
.mp-currency .custom-select {
  min-width: 90px;
  height: 38px;
  border-radius: var(--o-radius-sm);
  font-size: .85rem;
}
@media (max-width: 1199.98px) {
  .mp-action span { display: none; }
}
@media (max-width: 575.98px) {
  .mp-catnav { flex-direction: column; align-items: stretch; gap: .25rem; }
  .mp-catnav-actions { justify-content: space-between; border-top: 1px solid var(--o-border); padding-top: .25rem; }
}

/* --- Vitrine: 3 colunas, cards da mesma altura --------------------------- */
body #order-standard_cart .cart-body .products > .row { display: flex; flex-wrap: wrap; }
body #order-standard_cart .cart-body .products .mp-product-col { display: flex; margin-bottom: 1.5rem; }
body #order-standard_cart .cart-body .products .product {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 1.75rem 1.5rem 1.5rem;
}
body #order-standard_cart .cart-body .products .product header {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 .5rem;
  text-align: left;
}
body #order-standard_cart .cart-body .products .product header span:first-child {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--o-text);
}
body #order-standard_cart .cart-body .products .product .product-desc {
  float: none;
  width: 100%;
  flex: 1 1 auto;
  padding: 0;
  font-size: .92rem;
}
body #order-standard_cart .cart-body .products .product .product-desc > p { color: var(--o-muted); margin-bottom: 1rem; }
body #order-standard_cart .cart-body .products .product .product-desc li {
  padding-top: .35rem;
  padding-bottom: .35rem;
  border-bottom: 1px dashed var(--o-border);
}
body #order-standard_cart .cart-body .products .product .product-desc li:last-child { border-bottom: 0; }
body #order-standard_cart .cart-body .products .product .product-desc .feature-value { font-weight: 700; color: var(--o-text); }
body #order-standard_cart .cart-body .products .product footer {
  float: none;
  width: 100%;
  margin: 1.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--o-border);
  text-align: left;
  font-size: .85rem;
}
body #order-standard_cart .cart-body .products .product .product-pricing { margin-bottom: 1rem; color: var(--o-muted); }
body #order-standard_cart .cart-body .products .product .product-pricing .price {
  display: inline-block;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--o-text);
}
body #order-standard_cart .cart-body .products .product footer .btn-order-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .95rem;
  border-radius: var(--o-radius-sm);
}
body #order-standard_cart .cart-body .products .product:not(.mp-featured) footer .btn-order-now {
  background: var(--o-surface);
  border: 1.5px solid var(--o-primary);
  color: var(--o-primary);
}
body #order-standard_cart .cart-body .products .product:not(.mp-featured) footer .btn-order-now:hover {
  background: var(--o-primary);
  color: #fff;
}
.mp-billing-toggle-wrap { display: flex; justify-content: center; }

/* --- Página do serviço (configureproduct) -------------------------------- */
body #order-standard_cart #frmConfigureProduct > .row { display: flex; flex-wrap: wrap; align-items: flex-start; }
@media (min-width: 992px) {
  body #order-standard_cart #frmConfigureProduct .secondary-cart-body { width: 64%; }
  body #order-standard_cart #frmConfigureProduct .secondary-cart-sidebar { width: 36%; }
}
body #order-standard_cart #frmConfigureProduct .secondary-cart-body > p:first-child { display: none; }

/* Topo com o plano escolhido */
body #order-standard_cart .mp-product-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--o-primary-soft), var(--o-surface) 70%);
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius);
}
.mp-hero-group {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--o-primary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
body #order-standard_cart .mp-product-hero .product-title {
  margin: 0 0 .35rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--o-text);
}
body #order-standard_cart .mp-product-hero p:last-child { margin: 0; color: var(--o-muted); }
.mp-change-plan {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  background: var(--o-surface);
  border: 1px solid var(--o-border);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
}
@media (max-width: 575.98px) {
  body #order-standard_cart .mp-product-hero { flex-direction: column; }
}

/* Seções numeradas */
body #order-standard_cart #frmConfigureProduct .secondary-cart-body { counter-reset: mpsec; }
body #order-standard_cart #frmConfigureProduct .sub-heading {
  counter-increment: mpsec;
  display: flex;
  align-items: center;
  margin: 2rem 0 .9rem;
  padding: 0;
  border: 0;
  height: auto;
  text-align: left;
}
body #order-standard_cart #frmConfigureProduct .sub-heading span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  background: transparent !important;
  color: var(--o-text) !important;
  padding: 0 !important;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
body #order-standard_cart #frmConfigureProduct .sub-heading span::before {
  content: counter(mpsec);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--o-primary);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}
body #order-standard_cart #frmConfigureProduct .sub-heading span br { display: none; }
body #order-standard_cart #frmConfigureProduct .sub-heading span small {
  font-size: .78rem;
  font-weight: 400;
  color: var(--o-muted);
  font-style: normal;
}
body #order-standard_cart #frmConfigureProduct .sub-heading span i { font-style: normal; }

/* Blocos de campos como cards */
body #order-standard_cart #frmConfigureProduct .field-container,
body #order-standard_cart #frmConfigureProduct .product-configurable-options {
  margin: 0 0 .5rem;
  padding: 1.25rem;
  background: var(--o-surface);
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius);
}
body #order-standard_cart #frmConfigureProduct .field-container .form-group:last-child { margin-bottom: 0; }
body #order-standard_cart #frmConfigureProduct .field-container:has(.mp-cycles) {
  padding: 0;
  background: transparent;
  border: 0;
}

/* Opções configuráveis em cartões (meupedido.js) */
.mp-opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .6rem;
  margin-top: .35rem;
}
.mp-opt {
  text-align: left;
  background: var(--o-surface);
  border: 2px solid var(--o-border);
  border-radius: var(--o-radius-sm);
  padding: .7rem .85rem;
  cursor: pointer;
  color: var(--o-text);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.mp-opt:hover { border-color: var(--primary-300, #a5b4fc); }
.mp-opt[aria-checked="true"] {
  border-color: var(--o-primary);
  background: var(--o-primary-soft);
  color: var(--o-primary);
}
.mp-opt small { display: block; font-weight: 500; color: var(--o-muted); margin-top: .15rem; }
.mp-opt[aria-checked="true"] small { color: var(--o-primary); opacity: .8; }
body #order-standard_cart .product-configurable-options .col-sm-6:has(.mp-opts) { flex: 0 0 100%; max-width: 100%; }

/* Addons */
body #order-standard_cart .addon-products .panel-addon {
  border: 2px solid var(--o-border);
  border-radius: var(--o-radius);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 150ms ease;
}
body #order-standard_cart .addon-products .panel-addon:hover { border-color: var(--primary-300, #a5b4fc); }
body #order-standard_cart .addon-products .panel-addon .panel-price {
  background: var(--o-surface-2);
  color: var(--o-text);
  font-weight: 700;
}
body #order-standard_cart .addon-products .panel-addon .panel-add {
  background: var(--o-primary);
  color: #fff;
  font-weight: 600;
}
body #order-standard_cart .addon-products .panel-addon-selected .panel-add { background: var(--o-success); }

/* Ajuda */
body #order-standard_cart #frmConfigureProduct .info-text-sm {
  margin-top: 1.5rem;
  background: transparent;
  border: 1px dashed var(--o-border);
  border-left-width: 1px;
  color: var(--o-muted);
}

/* Resumo: um único card com botão e selos */
@media (min-width: 992px) {
  body #order-standard_cart #frmConfigureProduct #orderSummary { margin-top: 0; }
}
body #order-standard_cart #frmConfigureProduct #orderSummary {
  background: var(--o-surface);
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow-md);
  overflow: hidden;
}
body #order-standard_cart #frmConfigureProduct .order-summary {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body #order-standard_cart #frmConfigureProduct .order-summary h2 {
  margin: 0;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  background: var(--o-surface-2);
  border-bottom: 1px solid var(--o-border);
}
body #order-standard_cart #frmConfigureProduct .order-summary .summary-container {
  padding: 1.1rem 1.25rem;
  font-size: .88rem;
}
body #order-standard_cart .order-summary .product-name { font-weight: 700; font-size: 1rem; }
body #order-standard_cart .order-summary .product-group { color: var(--o-muted); }
body #order-standard_cart .order-summary .summary-totals {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px dashed var(--o-border);
}
body #order-standard_cart .order-summary .total-due-today {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--o-border);
  text-align: right;
}
body #order-standard_cart .order-summary .total-due-today .amt {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--o-text);
}
body #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--o-muted); font-size: .8rem; }
body #order-standard_cart #frmConfigureProduct #orderSummary > .text-center { padding: 0 1.25rem; }
body #order-standard_cart #frmConfigureProduct #btnCompleteProductConfig {
  width: 100%;
  padding: .85rem 1rem;
  font-size: 1rem;
  border-radius: var(--o-radius-sm);
}
.mp-trust {
  list-style: none;
  margin: 1rem 0 0;
  padding: .9rem 1.25rem 1.1rem;
  border-top: 1px solid var(--o-border);
  display: grid;
  gap: .45rem;
  font-size: .8rem;
  color: var(--o-muted);
}
.mp-trust i { width: 1.2em; color: var(--o-success); text-align: center; margin-right: .35rem; }

/* --- Carrinho ------------------------------------------------------------- */
body #order-standard_cart .cart-body .view-cart-items-header {
  border-radius: var(--o-radius) var(--o-radius) 0 0;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
body #order-standard_cart .cart-body .view-cart-items {
  border-radius: 0 0 var(--o-radius) var(--o-radius);
  overflow: hidden;
}
body #order-standard_cart .cart-body .view-cart-items .item { padding-top: 1rem; padding-bottom: 1rem; }
body #order-standard_cart .cart-body .view-cart-items .item-title { font-size: 1rem; font-weight: 700; }
body #order-standard_cart .cart-body .view-cart-items .item-group { color: var(--o-muted); }
body #order-standard_cart .cart-body .view-cart-items .item-price span:first-child { font-size: 1.05rem; font-weight: 700; }

/* Cupom recolhível (meupedido.js) */
.mp-coupon-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 1rem 0 .5rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--o-primary);
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.mp-coupon-toggle:hover { text-decoration: underline; }
body #order-standard_cart .view-cart-tabs.mp-collapsed { display: none; }
body #order-standard_cart .view-cart-tabs .nav-tabs { border-bottom: 0; }
body #order-standard_cart .view-cart-tabs .tab-content {
  border-radius: var(--o-radius);
  border: 1px solid var(--o-border);
}
body #order-standard_cart .mp-billing-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 1.75rem; }

/* --- Página do serviço: troca de plano (meupedido.js) -------------------- */
.mp-plans { margin: -0.75rem 0 1.75rem; }
.mp-plans-title {
  margin-bottom: .6rem;
  color: var(--o-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mp-plans-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: .65rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scroll-snap-type: x mandatory;
}
.mp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  padding: .85rem 1rem;
  background: var(--o-surface);
  border: 2px solid var(--o-border);
  border-radius: var(--o-radius-sm);
  color: var(--o-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 150ms ease, background-color 150ms ease, opacity 150ms ease;
}
.mp-plan:hover { border-color: var(--primary-300, #a5b4fc); }
.mp-plan[aria-checked="true"] {
  border-color: var(--o-primary);
  background: var(--o-primary-soft);
  cursor: default;
}
.mp-plan[aria-checked="true"]::after {
  content: "\2713";
  position: absolute;
  top: .55rem;
  right: .65rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--o-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.mp-plan.is-loading { opacity: .55; cursor: progress; }
.mp-plan-name { font-weight: 700; font-size: .95rem; }
.mp-plan[aria-checked="true"] .mp-plan-name { color: var(--o-primary); }
.mp-plan-price { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.mp-plan-cycle { color: var(--o-muted); font-size: .75rem; }

/* --- Modo limpo (tema PagCenter): sem abas de categorias, só a moeda ------ */
.pc-clean-page:not(.pc-show-cats) .mp-catnav-tabs,
.pc-clean-page:not(.pc-show-cats) .mp-action { display: none !important; }
.pc-clean-page:not(.pc-show-cats) .mp-catnav {
  justify-content: flex-end;
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.pc-clean-page:not(.pc-show-cats) .mp-catnav:not(:has(.mp-currency)) { display: none; }
.pc-clean-page:not(.pc-show-cats) .mp-catnav-actions { border-top: 0; padding-top: 0; }

/* Moeda vinda do painel do WHMCS */
.mp-currency-panel form { margin: 0; }
.mp-currency-panel .form-group { margin: 0; }
.mp-currency-panel select,
.mp-currency .custom-select {
  min-width: 110px;
  height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: var(--o-radius-sm);
  font-size: .85rem;
}
.mp-currency-top { margin-right: .75rem; }
.mp-currency-top select, .mp-currency-top .custom-select { height: 36px; min-width: 96px; }
