/* ============================================================
   CartZen — Minha Conta  v4.0
   DNA do painel CartZen: #1a1f36 sidebar, #f8f9fc bg,
   Outfit, radius 10px, border #e8ecf0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens (espelham panel.css) ──────────────────────────── */
:root {
  --primary       : #e91e8c;
  --primary-dark  : #b5106a;
  --primary-light : rgba(233,30,140,0.10);
  --sidebar-bg    : #1a1f36;
  --sidebar-border: rgba(255,255,255,0.07);
  --sidebar-icon  : rgba(255,255,255,0.45);
  --sidebar-hover : rgba(255,255,255,0.08);
  --sidebar-w     : 180px;
  --topbar-h      : 54px;
  --topbar-bg     : #ffffff;
  --topbar-border : #e8ecf0;
  --content-bg    : #f8f9fc;
  --surface       : #ffffff;
  --text          : #1a1f36;
  --muted         : #6b7694;
  --border        : #e8ecf0;
  --radius        : 10px;
  --shadow        : 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  --shadow-md     : 0 4px 12px rgba(0,0,0,.10);
  --success       : #10b981;
  --danger        : #ef4444;
  --warning       : #f59e0b;
  --info          : #0ea5e9;
  --font          : 'Outfit', sans-serif;
}

/* ── Page reset ───────────────────────────────────────────── */
html, body.cz-account {
  height: 100%;
  background: var(--content-bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  color: var(--text);
}

/* Scrollbar igual ao painel */
body.cz-account ::-webkit-scrollbar { width: 6px; height: 6px; background: #f0f0f0; }
body.cz-account ::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 10px; }

/* ── Layout ───────────────────────────────────────────────── */
.cz-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ============================================================
   SIDEBAR — idêntica ao #ms-panel-sidebar
   ============================================================ */
.cz-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--sidebar-border);
}

/* Logo row — igual ao #ms-panel-logo */
.cz-sidebar-logo-row {
  width: var(--sidebar-w);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--sidebar-border);
  overflow: hidden;
}
.cz-sidebar-logo-img {
  height: 22px;
  max-width: 120px;
  object-fit: contain;
  opacity: .6;
  flex-shrink: 0;
}

/* User row — igual ao #ms-panel-user-avatar */
.cz-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
  cursor: default;
}
.cz-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
  letter-spacing: 0;
}
.cz-user-info { min-width: 0; flex: 1; }
.cz-user-name {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.75);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}
.cz-user-email {
  font-size: 10.5px;
  color: rgba(255,255,255,.30);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Nav — igual ao #ms-panel-nav */
.cz-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
  overflow-y: auto; overflow-x: hidden;
}
.cz-nav::-webkit-scrollbar { width: 0; }

.cz-nav li { margin: 2px 0; position: relative; }

.cz-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: var(--sidebar-w);
  height: 44px;
  padding: 0 16px;
  color: var(--sidebar-icon) !important;
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: .01em;
  transition: background .15s, color .15s;
}
.cz-nav li a:hover {
  background: var(--sidebar-hover);
  color: rgba(255,255,255,.85) !important;
  text-decoration: none;
}
.cz-nav li.is-active > a {
  color: #fff !important;
}
.cz-nav li.is-active > a::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}
.cz-nav-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  opacity: .55;
  transition: opacity .15s;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.cz-nav li a:hover .cz-nav-icon,
.cz-nav li.is-active > a .cz-nav-icon { opacity: 1; }
.cz-nav-label {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: .7; transition: opacity .15s;
}
.cz-nav li a:hover .cz-nav-label,
.cz-nav li.is-active > a .cz-nav-label { opacity: 1; }

.cz-nav-sep {
  height: 1px;
  background: var(--sidebar-border);
  margin: 6px 12px;
}

/* Sidebar bottom — igual ao #ms-panel-bottom */
.cz-sidebar-bottom {
  width: var(--sidebar-w);
  padding: 8px 0 12px;
  border-top: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}
.cz-sidebar-bottom a {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px;
  color: var(--sidebar-icon) !important;
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.cz-sidebar-bottom a:hover {
  background: var(--sidebar-hover);
  color: rgba(255,255,255,.85) !important;
  text-decoration: none;
}
.cz-sidebar-bottom a .cz-nav-label { opacity: .7; }
.cz-sidebar-bottom a:hover .cz-nav-label { opacity: 1; }

/* ============================================================
   TOPBAR — igual ao #ms-panel-topbar
   ============================================================ */
.cz-topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--topbar-h);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  z-index: 9998;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  font-family: var(--font);
}
.cz-topbar-left { flex: 1; display: flex; align-items: center; gap: 12px; }
.cz-topbar-right { display: flex; align-items: center; gap: 8px; }
.cz-topbar-title {
  font-size: 15px; font-weight: 600;
  color: var(--text); line-height: 1; letter-spacing: -.2px;
}
.cz-topbar-sep { width: 1px; height: 20px; background: var(--border); }
.cz-topbar-page { font-size: 13px; color: var(--muted); }
.cz-topbar-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text) !important;
  background: #fff;
  font-family: var(--font); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.cz-topbar-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary);
  text-decoration: none;
}

/* ============================================================
   CONTENT
   ============================================================ */
.cz-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
  background: var(--content-bg);
  min-width: 0;
}

.cz-page {
  padding: 24px 28px 48px;
  max-width: 900px;
}

/* Page title */
.cz-page-head { margin-bottom: 22px; }
.cz-page-title {
  font-size: 20px; font-weight: 700;
  color: var(--text); letter-spacing: -.3px;
  margin: 0 0 4px;
}
.cz-page-sub { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   CARD — igual ao ms-sb-section
   ============================================================ */
.cz-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}
.cz-card:last-child { margin-bottom: 0; }
.cz-card--danger { border-color: rgba(239,68,68,.2); }

.cz-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border); gap: 10px;
}
.cz-card-title {
  font-size: 13px; font-weight: 700;
  color: var(--text); letter-spacing: -.1px;
}
.cz-card-action {
  font-size: 12px; font-weight: 600; color: var(--primary);
  text-decoration: none; transition: opacity .15s;
}
.cz-card-action:hover { opacity: .75; text-decoration: none; }

/* ============================================================
   STAT / QUICK CARDS
   ============================================================ */
.cz-stat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; margin-bottom: 16px;
}
.cz-stat {
  background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--border);
  padding: 18px; display: flex; align-items: flex-start; gap: 14px;
  box-shadow: var(--shadow); text-decoration: none;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.cz-stat--link:hover {
  box-shadow: var(--shadow-md); border-color: var(--primary-light);
  transform: translateY(-1px); text-decoration: none;
}
.cz-stat-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.cz-stat-body { flex: 1; min-width: 0; }
.cz-stat-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin-bottom: 5px;
}
.cz-stat-value {
  font-size: 14px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 6px; letter-spacing: -.1px;
}
.cz-stat-arrow {
  font-size: 14px; color: var(--muted); flex-shrink: 0; margin-top: 2px;
  transition: transform .18s, color .18s;
}
.cz-stat--link:hover .cz-stat-arrow { transform: translateX(3px); color: var(--primary); }

/* ============================================================
   BADGE — igual ao nav-badge
   ============================================================ */
.cz-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  letter-spacing: .01em;
}

/* ============================================================
   TABLE — igual ao painel
   ============================================================ */
.cz-table-wrap { overflow-x: auto; }
.cz-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.cz-table thead {
  background: var(--content-bg);
}
.cz-table thead th {
  padding: 9px 16px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted);
  text-align: left; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.cz-table tbody td {
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: middle; font-size: 13px;
}
.cz-table tbody tr:last-child td { border-bottom: none; }
.cz-table tbody tr:hover td { background: #fafbfc; }
.cz-order-num { font-weight: 700; font-size: 13.5px; }

/* ============================================================
   KV GRID (detail items)
   ============================================================ */
.cz-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
}
.cz-kv { padding: 14px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cz-kv-key {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: 5px;
}
.cz-kv-val { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }

/* ============================================================
   BUTTONS — mesmos do painel
   ============================================================ */
.cz-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; text-decoration: none; border: none;
  font-family: var(--font);
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap; letter-spacing: .01em;
}
.cz-btn--primary {
  background: var(--primary); color: #fff;
}
.cz-btn--primary:hover {
  background: var(--primary-dark); color: #fff; text-decoration: none;
}
.cz-btn--outline {
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
}
.cz-btn--outline:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  text-decoration: none;
}
.cz-btn--ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
}
.cz-btn--ghost:hover {
  background: var(--content-bg); color: var(--text);
  text-decoration: none;
}
.cz-btn--danger {
  background: rgba(239,68,68,.08); color: var(--danger);
  border: 1px solid rgba(239,68,68,.15);
}
.cz-btn--danger:hover {
  background: rgba(239,68,68,.14); color: #c62828; text-decoration: none;
}
.cz-btn--whatsapp { background: #22c55e; color: #fff; }
.cz-btn--whatsapp:hover { background: #16a34a; color: #fff; text-decoration: none; }
.cz-btn--sm { padding: 5px 12px; font-size: 12px; border-radius: 7px; }
.cz-btn--xs { padding: 4px 10px; font-size: 11.5px; border-radius: 6px; }

/* ============================================================
   TOPBAR BANNER (dark panel CTA)
   ============================================================ */
.cz-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 22px; margin-bottom: 16px;
  background: var(--sidebar-bg);
  background-image:
    radial-gradient(ellipse at top right,rgba(124,58,237,.18) 0%,transparent 55%),
    radial-gradient(ellipse at bottom left,rgba(233,30,140,.12) 0%,transparent 55%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}
.cz-banner-title {
  font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 3px;
}
.cz-banner-sub { font-size: 12px; color: rgba(255,255,255,.4); }

/* ============================================================
   QUICK LINKS
   ============================================================ */
.cz-ql-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--border); transition: background .12s;
}
.cz-ql-item:last-child { border-bottom: none; }
.cz-ql-item:hover {
  background: var(--content-bg); text-decoration: none; color: var(--text);
}
.cz-ql-item:hover .cz-ql-arrow { transform: translateX(3px); color: var(--primary); }
.cz-ql-icon { font-size: 15px; width: 22px; text-align: center; flex-shrink: 0; color: var(--muted); }
.cz-ql-text { flex: 1; font-size: 13.5px; font-weight: 500; }
.cz-ql-arrow { font-size: 12px; color: var(--muted); transition: transform .15s, color .15s; }

/* ============================================================
   PLAN OPTIONS
   ============================================================ */
.cz-plan-list { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cz-plan-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 16px;
  background: var(--content-bg); border-radius: var(--radius);
  border: 1px solid var(--border); transition: border-color .15s, box-shadow .15s;
}
.cz-plan-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.cz-plan-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cz-plan-price { font-size: 12.5px; font-weight: 600; color: var(--primary); margin-top: 2px; }
.cz-plan-desc  { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ============================================================
   NOTICES
   ============================================================ */
.cz-notice {
  padding: 11px 15px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; margin-bottom: 14px; line-height: 1.5;
}
.cz-notice--warn {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.20); color: #92400e;
}
.cz-notice--warn a { color: inherit; font-weight: 700; }

/* WooCommerce native notices */
.cz-content .woocommerce-message,
.cz-content .woocommerce-info,
.cz-content .woocommerce-error {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--primary); border-radius: var(--radius);
  padding: 12px 16px; font-size: 13px; margin: 0 0 14px;
  list-style: none; box-shadow: var(--shadow);
  color: var(--text); font-family: var(--font);
}
.cz-content .woocommerce-error { border-left-color: var(--danger); }
.cz-content .woocommerce-info  { border-left-color: var(--info); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.cz-empty {
  text-align: center; padding: 56px 24px;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cz-empty-icon  { font-size: 36px; margin-bottom: 14px; display: block; }
.cz-empty-title { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 7px; }
.cz-empty-sub   { font-size: 13px; color: var(--muted); margin: 0 0 20px; }

/* ============================================================
   VIEW-ORDER — using ms-sb-section style
   ============================================================ */
.cz-order-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
}
.cz-order-num { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.2px; }
.cz-order-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.cz-order-table thead th { background: var(--content-bg); }
.cz-order-table tfoot th,
.cz-order-table tfoot td { font-weight: 600; color: var(--muted); background: var(--content-bg); }
.cz-order-table tfoot tr:last-child th,
.cz-order-table tfoot tr:last-child td { font-size: 14.5px; font-weight: 700; color: var(--text); }
.cz-order-table tfoot tr:last-child td { color: var(--primary); }

.cz-address-block {
  padding: 14px 18px; font-size: 13px; line-height: 1.7; color: var(--text);
}

/* ============================================================
   EDIT-ACCOUNT / FORMS
   ============================================================ */
.cz-content .woocommerce-EditAccountForm,
.cz-content form.woocommerce-form {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
  box-shadow: var(--shadow); max-width: 580px;
}
.cz-content .woocommerce-EditAccountForm h3,
.cz-content form h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 0 0 16px; letter-spacing: -.1px;
}
.cz-content .woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-top: 18px;
}
.cz-content .woocommerce-EditAccountForm legend {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); padding: 0 6px;
}
.cz-content .woocommerce-EditAccountForm p,
.cz-content form.woocommerce-form p { margin-bottom: 14px; }

.cz-content label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--muted); margin-bottom: 5px; letter-spacing: .01em;
  text-transform: uppercase;
}
.cz-content abbr[title="required"] { color: var(--danger); text-decoration: none; }

.cz-content input[type="text"],
.cz-content input[type="email"],
.cz-content input[type="password"],
.cz-content input[type="tel"],
.cz-content select,
.cz-content textarea {
  width: 100%; padding: 8px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 13.5px; color: var(--text); background: var(--content-bg);
  outline: none; font-family: var(--font);
  transition: border-color .15s; -webkit-appearance: none;
}
.cz-content input:focus,
.cz-content select:focus,
.cz-content textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--surface);
}
.cz-content .woocommerce-form__label-for-checkbox {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text); cursor: pointer;
  text-transform: none; font-weight: 400;
}
.cz-content .woocommerce-form__input-checkbox {
  width: auto; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary);
}
.cz-content input[type="submit"],
.cz-content button[type="submit"],
.cz-content .woocommerce-Button,
.cz-content .button:not(.cz-btn) {
  display: inline-flex; align-items: center;
  padding: 8px 18px; background: var(--primary); color: #fff; border: none;
  border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: background .15s;
  text-decoration: none;
}
.cz-content input[type="submit"]:hover,
.cz-content button[type="submit"]:hover,
.cz-content .button:not(.cz-btn):hover {
  background: var(--primary-dark); color: #fff;
}

/* ── Link ── */
.cz-link { color: var(--primary); text-decoration: none; font-weight: 500; }
.cz-link:hover { text-decoration: underline; }
.cz-content a { color: var(--primary); }
.cz-content a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Stack layout vertically */
  .cz-layout { flex-direction: column; }

  /* Sidebar becomes top nav bar */
  .cz-sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--sidebar-border);
    /* No longer sticky/fixed */
  }
  .cz-sidebar-logo-row { height: 46px; }
  .cz-user-row { display: none; }
  .cz-sidebar-bottom { display: none; }

  /* Nav becomes horizontal pill row */
  .cz-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 6px 8px 10px;
    overflow: visible;
    gap: 3px;
  }
  .cz-nav li a {
    width: auto;
    height: 34px;
    padding: 0 11px;
    border-radius: 6px;
    font-size: 12px;
  }
  .cz-nav li.is-active > a::before { display: none; }
  .cz-nav li.is-active > a {
    background: var(--primary-light);
    color: var(--primary) !important;
  }
  .cz-nav-icon { width: 14px; height: 14px; font-size: 13px; }
  .cz-nav-sep { display: none; }

  /* Topbar: no longer fixed, hidden on mobile to save space */
  .cz-topbar { display: none; }

  /* Content: no margin-left, no padding-top for topbar */
  .cz-content {
    margin-left: 0;
    padding-top: 0;
  }
  .cz-page { padding: 18px 16px 36px; }
  .cz-stat-grid { grid-template-columns: 1fr 1fr; }
  .cz-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .cz-stat-grid { grid-template-columns: 1fr; }
  .cz-kv-grid { grid-template-columns: 1fr 1fr; }
  .cz-page-title { font-size: 17px; }
  /* Compact nav — icons only on very small screens */
  .cz-nav li a { padding: 0 10px; }
  .cz-nav-label { display: none; }
  .cz-nav-icon { opacity: .8 !important; }
  .cz-nav li.is-active > a .cz-nav-icon { opacity: 1 !important; }
}

/* ============================================================
   LOGIN / MINHA CONTA DESLOGADO
   ============================================================ */
body.cz-account-login-page {
  background:
    radial-gradient(circle at top left, rgba(233,30,140,.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(233,30,140,.06), transparent 30%),
    var(--content-bg);
}

.cz-login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cz-login-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(248,249,252,.86);
  border-bottom: 1px solid rgba(232,236,240,.9);
}

.cz-login-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cz-login-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cz-login-brand img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: .78;
}

.cz-login-brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

.cz-topbar-btn--ghost {
  background: #fff;
}

.cz-login-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 480px);
  gap: 28px;
  align-items: stretch;
  flex: 1;
}

.cz-login-hero-card,
.cz-login-form-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(232,236,240,.95);
  box-shadow: 0 12px 35px rgba(26,31,54,.06), 0 2px 10px rgba(26,31,54,.04);
  border-radius: 24px;
}

.cz-login-hero-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 640px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    linear-gradient(140deg, rgba(233,30,140,.09), rgba(233,30,140,0) 58%);
}

.cz-login-hero-card::before {
  content: '';
  position: absolute;
  inset: auto -100px -100px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,140,.15), rgba(233,30,140,0));
  pointer-events: none;
}

.cz-login-hero-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pink-xl);
  color: var(--primary);
  border: 1px solid var(--pink-l);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cz-login-hero-card h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.05em;
  color: var(--text);
  max-width: 740px;
  margin: 0 0 18px;
}

.cz-login-hero-card p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.cz-login-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.cz-login-highlight {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(232,236,240,.95);
}

.cz-login-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-xl);
  flex-shrink: 0;
  font-size: 18px;
}

.cz-login-highlight strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cz-login-highlight span:last-child {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cz-login-form-card {
  padding: 34px;
  align-self: center;
}

.cz-login-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--primary);
  margin-bottom: 10px;
}

.cz-login-form-head h2 {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 10px;
  color: var(--text);
}

.cz-login-form-head p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 26px;
}

.cz-login-form .form-row { margin-bottom: 18px; }
.cz-login-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.cz-login-form .required { color: var(--primary); }

.cz-login-form input[type="text"],
.cz-login-form input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.cz-login-form input[type="text"]:focus,
.cz-login-form input[type="password"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--pink-xl);
}

.cz-login-form .password-input {
  display: flex;
  align-items: center;
  position: relative;
}

.cz-login-form .password-input .show-password-input {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: .55;
}

.cz-login-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 24px;
}

.cz-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.cz-login-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}

.cz-login-forgot {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary) !important;
  text-decoration: none;
}

.cz-login-submit,
.cz-login-cta-secondary {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.cz-login-submit {
  border: 0;
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(233,30,140,.22);
}

.cz-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(233,30,140,.28);
}

.cz-login-divider {
  position: relative;
  text-align: center;
  margin: 22px 0;
}

.cz-login-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.cz-login-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  font-size: 12px;
  color: #8a94ad;
}

.cz-login-cta-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text) !important;
}

.cz-login-cta-secondary:hover,
.cz-topbar-btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--pink-xl) !important;
}

.cz-account-login-page .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.cz-account-login-page .woocommerce-error,
.cz-account-login-page .woocommerce-info,
.cz-account-login-page .woocommerce-message {
  list-style: none;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.cz-account-login-page .woocommerce-error {
  border-color: rgba(239,68,68,.18);
  background: rgba(239,68,68,.06);
  color: #b91c1c;
}

@media (max-width: 1100px) {
  .cz-login-main {
    grid-template-columns: 1fr;
  }

  .cz-login-hero-card {
    min-height: auto;
  }

  .cz-login-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cz-login-topbar-inner,
  .cz-login-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cz-login-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .cz-login-hero-card,
  .cz-login-form-card {
    padding: 22px;
    border-radius: 18px;
  }

  .cz-login-topbar-inner {
    min-height: 64px;
  }

  .cz-login-form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cz-login-hero-card h1,
  .cz-login-form-head h2 {
    font-size: 28px;
  }
}


/* ============================================================
   Login deslogado — versão simples
   ============================================================ */
body.cz-account-login-page {
  min-height: 100vh;
  background: #fff;
}

body.cz-account-login-page .site,
body.cz-account-login-page #page,
body.cz-account-login-page .woocommerce,
body.cz-account-login-page .woocommerce-account,
body.cz-account-login-page .entry-content,
body.cz-account-login-page .site-main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.cz-login-clean {
  min-height: 100vh;
  display: flex;
  background: #fff;
}

.cz-login-clean__media {
  position: relative;
  flex: 0 0 52%;
  min-height: 100vh;
  background-image: var(--cz-login-hero);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cz-login-clean__media::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--cz-login-accent) 35%, var(--cz-login-accent) 65%, transparent 100%);
  opacity: .45;
  z-index: 3;
}

.cz-login-clean__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.72) 100%);
  z-index: 1;
}

.cz-login-clean__content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 52px;
  color: #fff;
}

.cz-login-clean__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cz-login-clean__logo--mobile,
.cz-login-clean__brand-text {
  display: none;
}

.cz-login-clean__copy {
  max-width: 420px;
  padding-bottom: 20px;
}

.cz-login-clean__copy h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 14px;
}

.cz-login-clean__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

.cz-login-clean__form-side {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: #fff;
}

.cz-login-clean__form-wrap {
  width: 100%;
  max-width: 360px;
}

.cz-login-clean__heading {
  margin-bottom: 28px;
}

.cz-login-clean__heading h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #0f172a;
}

.cz-login-clean__heading p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.cz-login-clean__form .form-row {
  margin-bottom: 18px;
}

.cz-login-clean__form label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.cz-login-clean__form input.input-text {
  width: 100%;
  height: auto;
  padding: 11px 15px;
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.cz-login-clean__form input.input-text:focus {
  background: #fff;
  border-color: var(--cz-login-accent);
  box-shadow: 0 0 0 3px rgba(233,30,140,.12);
  outline: none;
}

.cz-login-clean__form .password-input {
  display: block;
  position: relative;
}

.cz-login-clean__form .show-password-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.cz-login-clean__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 22px;
}

.cz-login-clean__remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #64748b;
}

.cz-login-clean__remember label,
.cz-login-clean__remember span {
  margin: 0;
}

.cz-login-clean__remember input[type='checkbox'] {
  width: 15px;
  height: 15px;
  accent-color: var(--cz-login-accent);
}

.cz-login-clean__forgot {
  color: var(--cz-login-accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.cz-login-clean__submit,
.cz-login-clean__plans {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  transition: .15s ease;
}

.cz-login-clean__submit {
  border: 0;
  background: var(--cz-login-accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(233,30,140,.32);
}

.cz-login-clean__submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cz-login-clean__plans {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
}

.cz-login-clean__plans:hover {
  border-color: var(--cz-login-accent);
  color: var(--cz-login-accent);
}

.cz-account-login-page .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

.cz-account-login-page .woocommerce-error,
.cz-account-login-page .woocommerce-info,
.cz-account-login-page .woocommerce-message {
  border-left: 3px solid var(--cz-login-accent);
  border-radius: 8px;
  background: #fdf2f8;
  padding: 11px 14px;
  font-size: 13px;
}

.cz-account-login-page .woocommerce-error {
  border-left-color: #ef4444;
  background: #fef2f2;
}

@media (max-width: 860px) {
  .cz-login-clean__media {
    display: none;
  }

  .cz-login-clean__form-side {
    padding: 40px 24px;
  }

  .cz-login-clean__logo--mobile,
  .cz-login-clean__brand-text {
    display: block;
    margin-bottom: 32px;
  }
}


.cz-login-clean__lostpass-wrap .woocommerce-ResetPassword,
.cz-login-clean__lostpass-wrap form {
  width: 100%;
}

.cz-login-clean__lostpass-wrap .form-row {
  margin-bottom: 18px;
}

.cz-login-clean__lostpass-wrap label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.cz-login-clean__lostpass-wrap input.input-text,
.cz-login-clean__lostpass-wrap input[type="text"],
.cz-login-clean__lostpass-wrap input[type="password"] {
  width: 100%;
  height: auto;
  padding: 11px 15px;
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.cz-login-clean__lostpass-wrap input:focus {
  background: #fff;
  border-color: var(--cz-login-accent);
  box-shadow: 0 0 0 3px rgba(233,30,140,.12);
  outline: none;
}

.cz-login-clean__lostpass-wrap .woocommerce-password-strength {
  margin: 8px 0 0;
  font-size: 12px;
}

.cz-login-clean__lostpass-wrap .woocommerce-password-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}

.cz-login-clean__lostpass-wrap .woocommerce-Button,
.cz-login-clean__lostpass-wrap button[type="submit"] {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 0;
  background: var(--cz-login-accent) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(233,30,140,.32);
  transition: .15s ease;
}

.cz-login-clean__lostpass-wrap .woocommerce-Button:hover,
.cz-login-clean__lostpass-wrap button[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cz-login-clean__plans--ghost {
  margin-top: 14px;
}
