/* ============================================
 * Acme Social Login — plugin CSS
 * Derived from the static HTML mockups (login.html, dashboard.html, etc.)
 * Every rule is scoped under .acme-page to avoid theme conflicts.
 * Inner class names match the static HTML exactly so the rendered output
 * is identical to the original mockups.
 * ============================================ */


  
  .acme-page * {
      box-sizing: border-box; margin: 0; padding: 0;
  }

main.acme-page {
    padding: 0px !important;
}
  
  .acme-page html, .acme-page body {
      height: 100%;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      color: #111827;
      background: #f9fafb;
  }


  
  .acme-page .page {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      min-height: 0px;
      display: flex;
      flex-direction: column;
      align-items: center;        /* horizontally center account + footer */
      padding: 32px 24px;
      overflow: visible;
  }

  
  .acme-page .account {
      margin-top: 0;
  }
  /* ensure footer pushes down via flex */

  /* ---------- Layout ---------- */
  
  .acme-page .account {
      width: 100%;
      max-width: 1100px;
      min-width: 0;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
      gap: 24px;
      position: relative;
      overflow: visible;
  }


  /* ---------- Sidebar ---------- */
  
  .acme-page .sidebar {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      background: #ffffff;
      border-radius: 16px;
      padding: 20px 12px;
      box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 16px rgba(0, 0, 0, 0.05);
      height: fit-content;
      position: sticky;
      top: 120px;
      z-index: 5;
      align-self: start;
  }

  .acme-page .acme-sidebar-col {
      min-width: 0;
      width: 100%;
      align-self: stretch;
      overflow: visible;
  }

  .acme-page .sidebar.is-stuck {
      margin-top: 0;
      z-index: 40;
  }

  body:has(.acme-page.acme-account-page) #main,
  body:has(.acme-page.acme-account-page) #primary,
  body:has(.acme-page.acme-account-page) .site-main,
  body:has(.acme-page.acme-account-page) .site-content,
  body:has(.acme-page.acme-account-page) .entry-content,
  body:has(.acme-page.acme-account-page) .ct-container,
  body:has(.acme-page.acme-account-page) .ct-section-inner-wrap,
  body:has(.acme-page.acme-account-page) article {
      overflow: visible !important;
  }

  .acme-page .profile {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      margin: 0 2px 14px;
      padding: 0 10px 16px;
      border-bottom: 1px solid #e5e7eb;
  }

  .acme-page .profile .avatar {
      display: block;
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      border: 1px solid #e5e7eb;
      border-radius: 50%;
      object-fit: cover;
  }

  .acme-page .profile-copy {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 3px;
  }

  .acme-page .profile-name,
  .acme-page .profile-email {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .acme-page .profile-name {
      font-size: 14px;
      font-weight: 600;
      color: #111827;
  }

  .acme-page .profile-email {
      font-size: 12px;
      color: #6b7280;
  }

  .acme-page .nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2px;
      margin: 0;
      padding: 0;
  }

  
  .acme-page .nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      font-size: 14px;
      font-weight: 500;
      color: #374151;
      text-decoration: none;
      border-radius: 10px;
      transition: background 0.15s ease, color 0.15s ease;
  }

  
  .acme-page .nav a:hover {
      background: #f3f4f6; color: #111827;
  }

  
  .acme-page .nav a.is-active {
      background: #111827;
      color: #ffffff;
  }

  
  .acme-page .nav a.logout {
      color: #b91c1c;
  }

  
  .acme-page .nav a.logout:hover {
      background: #fef2f2; color: #991b1b;
  }

  
  .acme-page .nav a svg {
      width: 18px; height: 18px; flex-shrink: 0;
  }

  .acme-page .nav a .passkey-icon {
      width: 18px; height: 18px; flex: 0 0 18px;
  }


  /* ---------- Main content card ---------- */
  
  .acme-page .content {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      background: #ffffff;
      border-radius: 16px;
      padding: 48px 56px;
      box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 16px rgba(0, 0, 0, 0.05);
      overflow-x: hidden;
  }


  
  .acme-page .hello {
      font-size: 22px;
      font-weight: 700;
      color: #111827;
      margin-bottom: 8px;
      letter-spacing: -0.01em;
  }

  
  .acme-page .hello a {
      color: #6b7280;
      font-weight: 400;
      font-size: 14px;
      margin-left: 4px;
      text-decoration: underline;
      text-underline-offset: 2px;
      overflow-wrap: anywhere;
  }

  
  .acme-page .hello a:hover {
      color: #111827;
  }


  
  .acme-page .lead {
      margin-top: 12px;
      font-size: 15px;
      color: #4b5563;
      line-height: 1.6;
      overflow-wrap: anywhere;
  }


  /* ---------- Footer (always last element, page-bottom centered) ---------- */
  
  .acme-page .footer {
      margin-top: auto;          /* push to the bottom when .page is flex-column */
      padding-top: 32px;
      font-size: 13px;
      color: #6b7280;
      text-align: center;
      width: 100%;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
  }

  
  .acme-page .footer a {
      color: #6b7280;
      text-decoration: underline;
      text-underline-offset: 2px;
  }


  /* ---------- Responsive ---------- */
  
  @media (max-width: 860px) {
      .acme-page .account { grid-template-columns: 1fr; }
      .acme-page .content { padding: 32px 24px; }
  }




/* ============================================
 * Auth pages: login / register / reset
 * ============================================ */
.acme-page {
    min-height: 0;
    height: auto;
    padding: 32px 24px 24px;
    color: #111827;
    background: var(--acme-bg, #f9fafb);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.acme-page:not(.acme-account-page) {
    min-height: 0;
    height: auto;
}
.acme-page.acme-account-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 0;
    background: transparent;
}
.acme-page .card {
    width: min(var(--acme-card-width, 960px), 100%);
    min-height: var(--acme-card-height, 740px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--acme-card-radius, 16px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .05);
}
.acme-page .form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 56px;
}
.acme-page .title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--acme-primary, #111827);
}
.acme-page .subtitle {
    margin-top: 10px;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
}
.acme-page .card.no-image {
    grid-template-columns: minmax(0, 1fr);
}
.acme-page .card.no-image .image {
    display: none;
}
.acme-page .acme-notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.5;
}
.acme-page .acme-notice[data-type="info"] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}
.acme-page .header {
    text-align: center;
    margin-bottom: 32px;
}
.acme-page .field { margin-top: 20px; }
.acme-page .field-row {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.acme-page .label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}
.acme-page .link {
    font-size: 14px;
    color: #111827;
    text-decoration: none;
}
.acme-page .link:hover { text-decoration: underline; }
.acme-page .input {
    margin-top: 8px;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.acme-page .input::placeholder { color: #9ca3af; }
.acme-page .input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}
.acme-page .hint {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
.acme-page .btn {
    margin-top: 28px;
    width: 100%;
    height: 48px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    background: var(--acme-primary, #111827);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}
.acme-page .btn:hover { background: #1f2937; }
.acme-page .btn:active { transform: scale(0.99); }
.acme-page .divider {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
}
.acme-page .divider::before,
.acme-page .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.acme-page .socials {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.acme-page .social {
    height: 48px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.acme-page .social:hover { background: #f9fafb; border-color: #d1d5db; }
.acme-page .social.is-busy { cursor: wait; opacity: 0.7; }
.acme-page .social svg { width: 20px; height: 20px; }
.acme-page .social span { line-height: 1; }
.acme-page .passkey-add { margin-top: 4px; }
.acme-page .passkey-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #166534;
    font-size: 14px;
    font-weight: 600;
}
.acme-page .passkey-status svg { width: 18px; height: 18px; flex: 0 0 18px; }
.acme-page .bottom-link {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}
.acme-page .bottom-link a {
    color: #111827;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.acme-page .image {
    background: var(--acme-image-bg, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
    overflow: hidden;
}
.acme-page .auth-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.acme-page .placeholder {
    position: relative;
    width: 168px;
    height: 168px;
}
.acme-page .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.55;
}
.acme-page .crosshair { position: absolute; inset: 0; }
.acme-page .crosshair::before,
.acme-page .crosshair::after {
    content: "";
    position: absolute;
    background: #e5e7eb;
}
.acme-page .crosshair::before {
    left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
}
.acme-page .crosshair::after {
    top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
}
.acme-page .icon {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}
.acme-page .icon svg { width: 22px; height: 22px; }
.acme-page .success {
    margin-top: 8px;
    padding: 32px;
    border: 1px solid #d1fae5;
    background: #f0fdf4;
    border-radius: 12px;
    text-align: center;
    color: #065f46;
    font-size: 14px;
    line-height: 1.6;
}
.acme-page .success strong { display: block; font-size: 18px; margin-bottom: 8px; }
.acme-page .success p { margin-top: 8px; }
.acme-page .hint { font-size: 13px; color: #6b7280; margin-top: 12px; }

/* ============================================
 * Sub-pages: orders / addresses / edit-account
 * ============================================ */
.acme-page .page-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.acme-page .page-lead {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}
.acme-page .orders-content {
    min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
    line-height: normal;
}
.acme-page .orders-content .page-title {
    margin: 0 0 8px;
    font-family: inherit;
    letter-spacing: 0;
    line-height: normal;
}
.acme-page .orders-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin-top: 16px;
}
.acme-page .orders-table-scroll:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}
/* Reset theme table decoration only inside the orders view. */
.acme-page .orders-content .orders-table {
    width: 100%;
    min-width: 640px;
    table-layout: auto;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: normal;
}
.acme-page .orders-content .orders-table thead,
.acme-page .orders-content .orders-table tbody,
.acme-page .orders-content .orders-table tr {
    border: 0;
    background: transparent;
    box-shadow: none;
}
.acme-page .orders-content .orders-table th,
.acme-page .orders-content .orders-table td {
    width: auto;
    text-align: left;
    vertical-align: middle;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}
.acme-page .orders-content .orders-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #6b7280;
    background: #fafafa;
}
.acme-page .orders-content .orders-table tbody tr:last-child td { border-bottom: 0; }
.acme-page .orders-content .orders-table tbody tr:hover td { background: #fafafa; }
@media (max-width: 860px) {
    .acme-page .orders-table-scroll {
        overflow-x: auto;
        margin-right: 0;
        padding-right: 0;
    }
    .acme-page .orders-content .orders-table {
        min-width: 0;
        width: 100%;
        table-layout: auto;
    }
    .acme-page .orders-content .orders-table th.order-total,
    .acme-page .orders-content .orders-table td.order-total {
        display: none;
    }
    .acme-page .orders-content .orders-table th,
    .acme-page .orders-content .orders-table td {
        width: auto;
        padding: 10px 8px;
        font-size: 12px;
        text-align: center;
        overflow: visible;
        text-overflow: unset;
        white-space: nowrap;
    }
    .acme-page .orders-content .order-number,
    .acme-page .orders-content .order-date,
    .acme-page .orders-content .badge {
        white-space: nowrap;
    }
}
.acme-page .orders-content .order-number,
.acme-page .orders-content .order-date,
.acme-page .orders-content .badge,
.acme-page .orders-content .woocommerce-Price-amount {
    white-space: nowrap;
}
.acme-page .orders-content .order-total .amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.acme-page .badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
    text-transform: capitalize;
}
.acme-page .badge--completed   { background: #d1fae5; color: #065f46; }
.acme-page .badge--processing  { background: #dbeafe; color: #1e40af; }
.acme-page .badge--pending     { background: #fef3c7; color: #92400e; }
.acme-page .badge--on-hold     { background: #ede9fe; color: #5b21b6; }
.acme-page .badge--cancelled   { background: #fee2e2; color: #991b1b; }
.acme-page .badge--refunded    { background: #f3f4f6; color: #374151; }
.acme-page .btn-link {
    color: #111827;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 14px;
}
.acme-page .btn-link:hover { color: #1f2937; }

.acme-page .view-order-content {
    font-size: 14px;
    line-height: 1.45;
    color: #111111;
}
.acme-page .view-order-content .hero { text-align: center; }
.acme-page .view-order-content .hero h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 8px;
    color: #111111;
}
.acme-page .view-order-content .hero p {
    color: #6b7280;
    font-size: 14px;
}
.acme-page .view-order-content .meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #e8e8ea;
    border-radius: 14px;
    margin-top: 28px;
    overflow: hidden;
}
.acme-page .view-order-content .meta-item {
    text-align: center;
    padding: 16px 10px 17px;
    position: relative;
}
.acme-page .view-order-content .meta-item + .meta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: #ececee;
}
.acme-page .view-order-content .meta-item span {
    display: block;
    color: #8b9099;
    font-size: 12px;
    margin-bottom: 6px;
}
.acme-page .view-order-content .meta-item strong,
.acme-page .view-order-content .meta-item strong .woocommerce-Price-amount,
.acme-page .view-order-content .meta-item strong .woocommerce-Price-currencySymbol,
.acme-page .view-order-content .meta-item strong bdi {
    display: inline;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111111;
    white-space: nowrap;
    word-break: normal;
}
.acme-page .view-order-content .meta-item strong {
    display: block;
}
.acme-page .view-order-content .acme-ty-card {
    width: 100%;
    min-height: 0;
    display: block !important;
    float: none;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    overflow: visible;
    border: 1px solid #e8e8ea;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 16px 0 0;
    background: #ffffff;
    box-shadow: none;
}
.acme-page .view-order-content .acme-ty-card > * {
    float: none !important;
    grid-column: auto !important;
    max-width: 100%;
}
.acme-page .view-order-content .acme-ty-card > h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: #111111;
    text-align: left;
}
.acme-page .view-order-content .subhead {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
}
.acme-page .view-order-content .lines {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 0;
}
.acme-page .view-order-content .lines .prod {
    padding: 0px 0 5px;
    font-size: 14px;
    color: #111111;
}
.acme-page .view-order-content .lines .sum {
    font-size: 14px;
    font-weight: 700;
    padding: 3px 0;
    color: #111111;
}
.acme-page .view-order-content .lines .prod:nth-child(even),
.acme-page .view-order-content .lines .sum:nth-child(even) {
    text-align: right;
}
.acme-page .view-order-content .acme-ty-card > .again {
    display: inline-block;
    grid-column: 1 !important;
    justify-self: start;
    width: auto;
    margin-top: 12px;
    background: #111;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    text-align: center;
}
.acme-page .view-order-content .acme-ty-card > .again:hover {
    color: #fff;
    background: #1f2937;
}
.acme-page .view-order-content .acme-ty-billing {
    display: block;
    float: none;
    width: 100%;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}
.acme-page .view-order-content .acme-ty-customer {
    display: block !important;
    float: none !important;
    grid-template-columns: none !important;
    text-align: left;
}
.acme-page .view-order-content .acme-ty-addr,
.acme-page .view-order-content .acme-ty-addr * {
    display: block;
    float: none !important;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;
    text-align: left !important;
    color: #3a3f47 !important;
}
.acme-page .view-order-content .acme-ty-customer > h2,
.acme-page .view-order-content .acme-ty-customer > .acme-ty-billing {
    float: none !important;
    width: auto;
    max-width: 100%;
    text-align: left;
    color: #111111 !important;
    font-weight: 700;
    line-height: 1.45;
}
.acme-page .view-order-content .acme-ty-customer > h2 {
    font-size: 16px;
    margin-bottom: 14px;
}
.acme-page .view-order-content .acme-ty-customer > .acme-ty-billing {
    font-size: 14px;
    margin-bottom: 8px;
}
.acme-page .view-order-content .acme-ty-addr {
    margin-top: 0;
}
.acme-page .view-order-content .woocommerce-Price-amount,
.acme-page .view-order-content .woocommerce-Price-currencySymbol,
.acme-page .view-order-content bdi {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    white-space: nowrap;
}
.acme-page .view-order-content .lines .sum.acme-ty-refunded {
    font-weight: 700;
    color: #6b7280;
}
.acme-page .view-order-content .track {
    list-style: none;
    margin: 0;
    padding: 0;
}
.acme-page .view-order-content .track-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 14px;
    position: relative;
    padding-bottom: 26px;
}
.acme-page .view-order-content .track-item:last-child {
    padding-bottom: 6px;
}
.acme-page .view-order-content .track-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: #d5d9e0;
}
.acme-page .view-order-content .track-item.is-current:not(:last-child)::before {
    background: linear-gradient(180deg, #ee4d4d 0%, #d5d9e0 78%);
}
.acme-page .view-order-content .track-icon {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
}
.acme-page .view-order-content .track-icon img {
    display: block;
    width: 30px;
    height: 30px;
}
.acme-page .view-order-content .track-title,
.acme-page .view-order-content .track-time,
.acme-page .view-order-content .track-last p,
.acme-page .view-order-content .track-empty {
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #3a3f47 !important;
}
.acme-page .view-order-content .track-title {
    padding-top: 4px;
}
.acme-page .view-order-content .track-item.is-current .track-title {
    color: #3a3f47;
    font-weight: 400;
}
.acme-page .view-order-content .track-time {
    margin-top: 4px;
}
.acme-page .view-order-content .track-last {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #ececee;
}
.acme-page .view-order-content .track-last h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.acme-page .view-order-content .track-empty {
    margin: 0;
}

.acme-page.acme-checkout-thanks-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
}
.acme-page.acme-checkout-thanks-page .page {
    max-width: 760px;
    margin: 0 auto;
    min-height: 0;
    padding: 32px 24px 48px;
}
.acme-page.acme-checkout-thanks-page .view-order-content {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.08);
}

.acme-page .addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}
.acme-page .address-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}
.acme-page .address-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.acme-page .address-card p { font-size: 14px; color: #4b5563; line-height: 1.6; }
.acme-page .address-actions { margin-top: 20px; display: flex; gap: 16px; }
.acme-page .form-row { margin-top: 20px; }
.acme-page .form-row-2 {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.acme-page .form-row .label,
.acme-page .form-row-2 .label { display: block; margin-bottom: 8px; }
.acme-page .form-actions { margin-top: 32px; display: flex; align-items: center; gap: 12px; }
.acme-page .save-btn {
    background: #111827; color: #ffffff; border: none; border-radius: 10px;
    padding: 12px 22px; font-size: 15px; font-weight: 500; cursor: pointer;
    transition: background 0.15s ease;
}
.acme-page .save-btn:hover { background: #1f2937; }

/* Tabs (edit-address) */
.acme-page .tabs {
    display: flex;
    gap: 4px;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 28px;
    width: fit-content;
}
.acme-page .tab {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
}
.acme-page .tab.is-active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 1px 4px rgba(0,0,0,.06);
}
.acme-page .form-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.acme-page .form-grid .span-2 { grid-column: span 2; }
.acme-page .required { color: #b91c1c; margin-left: 2px; }
/* Hide WC's default sidebar nav since we render our own */
.acme-page .woocommerce-MyAccount-navigation { display: none !important; }
.acme-page .woocommerce-MyAccount-content { float: none; width: auto; }
.acme-page .woocommerce-MyAccount-content > *:not(.account) { display: none !important; }

@media (max-width: 1024px) {
    .acme-page.acme-checkout-thanks-page .page {
    padding: 0;
}
    .acme-page.acme-account-page .page {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        overflow: visible;
    }
    .acme-page.acme-account-page .account {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .acme-page.acme-account-page .sidebar {
        position: static;
        top: auto;
        height: fit-content;
        padding: 16px 12px;
        border-radius: 12px;
        z-index: 5;
    }
    .acme-page.acme-account-page .nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 2px;
    }
    .acme-page.acme-account-page .nav li { min-width: 0; }
    .acme-page.acme-account-page .nav a {
        min-width: 0;
        min-height: 44px;
        padding: 10px 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .acme-page.acme-account-page .content { padding: 32px 24px; border-radius: 12px; }
    .acme-page.acme-account-page .hello { overflow-wrap: anywhere; }
    .acme-page .form-grid { grid-template-columns: 1fr; }
    .acme-page .form-grid .span-2 { grid-column: span 1; }
    .acme-page .form-row-2 { grid-template-columns: 1fr; }
    .acme-page .addresses { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
        .acme-page.acme-checkout-thanks-page .page {
    padding: 0;
}
    .acme-page.acme-account-page .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* The optional panel is desktop-only: tablets and phones use one full-width form. */
@media (max-width: 1024px) {
        .acme-page.acme-checkout-thanks-page .page {
    padding: 0;
}
    .acme-page:not(.acme-account-page) { min-height: 0; height: auto; padding: 24px 18px 20px; }
    .acme-page .card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .acme-page .image { display: none; }
}
@media (max-width: 720px) {
        .acme-page.acme-checkout-thanks-page .page {
    padding: 0;
}
    .acme-page:not(.acme-account-page) { padding: 20px 14px; }
    .acme-page .form { padding: 36px 24px; }
    .acme-page .header { margin-bottom: 24px; }
    .acme-page .field-row { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 560px) {
        .acme-page.acme-checkout-thanks-page .page {
    padding: 0;
}
    .acme-page.acme-account-page .page { padding: 12px; }
    .acme-page .content { padding: 24px 16px; }
    .acme-page .profile { gap: 10px; padding: 0 6px 12px; }
    .acme-page .profile .avatar { width: 40px; height: 40px; flex-basis: 40px; }
    .acme-page .nav a { gap: 8px; padding: 10px; font-size: 13px; }
    .acme-page .nav a svg { width: 17px; height: 17px; }
    .acme-page .nav a .passkey-icon { width: 17px; height: 17px; flex-basis: 17px; }
    .acme-page .page-title { font-size: 22px; }
    .acme-page .page-lead { margin-bottom: 20px; }
    .acme-page .view-order-content .hero h1 { font-size: 28px; }
    .acme-page .view-order-content .meta { grid-template-columns: 1fr 1fr; }
    .acme-page .view-order-content .meta-item:nth-child(3)::before { display: none; }
    .acme-page .view-order-content .acme-ty-card { padding: 18px 16px; }
    .acme-page .address-card { padding: 18px; }
    .acme-page .address-actions { flex-wrap: wrap; gap: 12px; }
    .acme-page .tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .acme-page .tab { min-width: 0; padding: 10px 8px; text-align: center; font-size: 13px; }
    .acme-page .form-actions { display: block; margin-top: 28px; }
    .acme-page .save-btn { width: 100%; min-height: 44px; }
}
@media (max-width: 380px) {
        .acme-page.acme-checkout-thanks-page .page {
    padding: 0;
}
    .acme-page:not(.acme-account-page) { padding: 12px 8px; }
    .acme-page .form { padding: 28px 18px; }
    .acme-page .title { font-size: 25px; }
    .acme-page .social { padding: 0 12px; }
}
