/* ==========================================================================
   Product Badge
   ========================================================================== */
.omr-earn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    box-shadow: 0 2px 8px rgba(245,158,11,0.15);
    line-height: 1.4;
}

.omr-earn-badge strong {
    font-weight: 600;
    color: #78350f;
}

/* DJI Credit banner on the product page, right under the price:
   coins | "As a DJI Club member, you'll save ~~$164~~ $328 on this purchase."
         | Earn 2× DJI Credits through December 31   (orange, when an offer runs) */
.omr-earn-stripe {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #eaf2fe;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 400;
    color: #1f2a37;
    line-height: 1.45;
}

.omr-earn-stripe__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.omr-earn-stripe__body {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.omr-earn-stripe .omr-earn-stripe__gem {
    width: auto !important;
    height: 40px !important;
    max-width: 64px;
    display: block;
    object-fit: contain;
}

.omr-earn-stripe__text {
    min-width: 0;
}

.omr-earn-stripe__text strong {
    font-weight: 600;
    color: #0f172a;
}

.omr-earn-stripe__sub {
    color: #5b6472;
    white-space: nowrap;
}

.omr-earn-stripe__link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.omr-earn-stripe__link:hover,
.omr-earn-stripe__link:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Offer line under the message: plain orange text, no divider */
.omr-earn-stripe .omr-offer-row {
    margin: 0;
    padding: 0;
    border: 0;
}
.omr-earn-stripe .omr-offer-row__badge,
.omr-earn-stripe .omr-offer-row__text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: #e87a0c;
}
.omr-earn-stripe .omr-offer-row__badge { font-weight: 600; }

@media (max-width: 600px) {
    .omr-earn-stripe { gap: 12px; padding: 14px 16px; }
    .omr-earn-stripe .omr-earn-stripe__gem { height: 32px !important; }
    .omr-earn-stripe .omr-offer-row__badge,
    .omr-earn-stripe .omr-offer-row__text { font-size: 13px; }
}

/* ==========================================================================
   Membership Promo Banner (cart + checkout pages)
   ========================================================================== */
.omr-membership-promo-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5f0ff 0%, #ede9fe 100%);
    border: 1px solid #c4b5fd;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #3b0764;
}

.omr-membership-promo-icon {
    font-size: 20px;
    color: #7c3aed;
    flex-shrink: 0;
}

.omr-membership-promo-text a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.omr-membership-promo-text a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Checkout Redemption Toggle
   ========================================================================== */
.omr-checkout-redeem {
    margin: 20px 0;
}

.omr-redeem-box {
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    padding: 18px 20px;
}

.omr-redeem-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.omr-redeem-icon {
    color: #d4a017;
    font-size: 18px;
}

.omr-redeem-balance {
    margin: 8px 0 14px;
    color: #555;
}

.omr-redeem-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Balance + max redeemable info rows */
.omr-redeem-info {
    margin: 10px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.omr-redeem-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
}

.omr-info-label {
    color: #888;
    white-space: nowrap;
    margin-right: 8px;
}

.omr-info-value {
    text-align: right;
}

.omr-info-sub {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

.omr-info-saves {
    color: #00a32a;
}

/* Points adjuster (slider + number input) */
.omr-redeem-adjuster {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e4e7;
}

.omr-adjuster-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.omr-adjuster-label {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.omr-redeem-input {
    width: 90px;
    padding: 5px 8px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 14px;
    text-align: right;
    /* Remove browser spin arrows for a cleaner look */
    -moz-appearance: textfield;
}

.omr-redeem-input::-webkit-inner-spin-button,
.omr-redeem-input::-webkit-outer-spin-button {
    opacity: 1; /* keep visible on webkit for usability */
}

.omr-redeem-slider {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    accent-color: #00a32a;
    cursor: pointer;
}

/* Order total preview */
.omr-redeem-summary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d0d3d6;
}

.omr-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    padding: 3px 0;
}

.omr-summary-discount {
    color: #00a32a;
    font-weight: 600;
}

.omr-summary-total-row {
    margin-top: 4px;
    font-size: 15px;
}

.omr-summary-total {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.omr-redeem-unavailable {
    border-color: #dba617;
    background: #fef8e8;
}

.omr-redeem-warning {
    color: #8a6d00;
    margin: 0;
}

/* Savings banner — shown when points are applied */
.omr-savings-banner {
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #166534;
    text-align: center;
    letter-spacing: 0.1px;
}

.omr-savings-banner strong {
    font-weight: 600;
    color: #15803d;
}

/* Toggle switch */
.omr-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.omr-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.omr-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.omr-toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.omr-toggle-switch input:checked + .omr-toggle-slider {
    background-color: #00a32a;
}

.omr-toggle-switch input:checked + .omr-toggle-slider::before {
    transform: translateX(22px);
}

/* ==========================================================================
   My Rewards Tab
   ========================================================================== */
.omr-my-rewards {
    max-width: 800px;
}

.omr-sync-banner {
    background: #fef8e8;
    border: 1px solid #dba617;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #8a6d00;
    font-size: 14px;
}

.omr-rewards-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .omr-rewards-summary {
        grid-template-columns: 1fr;
    }
}

.omr-summary-card {
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    padding: 20px;
}

.omr-summary-card h3 {
    margin: 0 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
}

/* Balance card */
.omr-balance-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.omr-balance-icon {
    color: #d4a017;
    font-size: 22px;
}

.omr-balance-points {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.omr-balance-label {
    font-size: 16px;
    color: #666;
}

.omr-balance-dollar {
    margin-top: 6px;
    color: #666;
}

/* Membership card */
.omr-membership-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
}

.omr-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.omr-status-active {
    background: #00a32a;
}

.omr-status-cancelled,
.omr-status-expired {
    background: #d63638;
}

.omr-status-pending {
    background: #dba617;
}

.omr-membership-type {
    font-weight: 400;
    color: #888;
}

.omr-card-number {
    color: #666;
    margin-top: 6px;
}

/* Upgrade banner (v1) */
.omr-upgrade-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    font-size: 14px;
    color: #14532d;
    font-weight: 500;
}

/* Renewal banner (v1) */
.omr-renewal-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.omr-renewal-banner--expiring {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    color: #78350f;
}

.omr-renewal-banner--expired {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    color: #7f1d1d;
}

.omr-renewal-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background: #1a3fa8;
    color: #fff;
    transition: background .2s;
}

.omr-renewal-btn:hover {
    background: #1430c0;
    color: #fff;
    text-decoration: none;
}

.omr-renewal-banner--expired .omr-renewal-btn {
    background: #dc2626;
}

.omr-renewal-banner--expired .omr-renewal-btn:hover {
    background: #b91c1c;
}

/* Renewal button on membership card (v1) */
.omr-renew-card-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #1a3fa8;
    color: #fff;
    transition: background .2s;
}

.omr-renew-card-btn:hover {
    background: #1430c0;
    color: #fff;
    text-decoration: none;
}

.omr-renew-card-btn--soon {
    background: #d97706;
}

.omr-renew-card-btn--soon:hover {
    background: #b45309;
}

.omr-renew-card-btn--expired {
    background: #dc2626;
}

.omr-renew-card-btn--expired:hover {
    background: #b91c1c;
}

.omr-renew-card-btn--contact {
    background: #6b7280;
}

.omr-renew-card-btn--contact:hover {
    background: #4b5563;
}

.omr-no-membership {
    color: #888;
}

/* Add to Apple Wallet button (iOS only) */
.omr-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 16px 7px 14px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    transition: background .2s, transform .1s;
}

.omr-wallet-btn:hover,
.omr-wallet-btn:focus {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

.omr-wallet-btn:active {
    transform: scale(.98);
}

.omr-wallet-btn .omr-wallet-btn__logo {
    width: 15px !important;
    height: 18px !important;
    min-width: 15px;
    max-width: 15px;
    flex: 0 0 auto;
    display: block;
    color: #fff; /* currentColor for the Apple logo fill */
}

.omr-wallet-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    color: #fff; /* beats the account-area `a { color: inherit }` */
}

.omr-wallet-btn__text small {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .2px;
    opacity: .85;
    text-transform: none;
}

.omr-wallet-btn__text strong {
    font-size: 14px;
    font-weight: 600;
}

/* Slightly larger + right-aligned to match the v2 membership card layout */
.omr-wallet-btn--v2 {
    display: flex;
    width: fit-content;
    margin: 0 0 16px auto; /* margin-left:auto pushes it to the right edge */
    padding: 9px 20px 9px 16px;
    border-radius: 10px;
}

/* Wallet button placed INSIDE the dark membership card */
.omr-mcard-wallet {
    position: relative;
    z-index: 1; /* sit above the card's decorative ::after glow */
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

/* White variant so it reads well on the dark card (Apple's light badge) */
.omr-wallet-btn--card {
    display: flex;
    width: fit-content;
    padding: 9px 20px 9px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.omr-wallet-btn--card .omr-wallet-btn__logo,
.omr-wallet-btn--card .omr-wallet-btn__text {
    color: #111;
}

.omr-wallet-btn--card:hover,
.omr-wallet-btn--card:focus {
    background: #ededed;
}

/* Transactions table */
.omr-transactions-section {
    margin-bottom: 24px;
}

.omr-transactions-section h3 {
    margin-bottom: 12px;
}

.omr-transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.omr-transactions-table th,
.omr-transactions-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e4e7;
    font-size: 14px;
}

.omr-transactions-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.omr-txn-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.omr-txn-earn {
    background: #e6f4ea;
    color: #137333;
}

.omr-txn-redeem {
    background: #fde8e8;
    color: #c5221f;
}

.omr-txn-reverse {
    background: #fef8e8;
    color: #8a6d00;
}

.omr-txn-adjustment {
    background: #e8eaf6;
    color: #3f51b5;
}

.omr-txn-points.positive {
    color: #137333;
    font-weight: 600;
}

.omr-txn-points.negative {
    color: #c5221f;
    font-weight: 600;
}

.omr-no-transactions {
    color: #888;
    padding: 20px 0;
}

/* Portal link */
.omr-portal-link {
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    padding: 14px 18px;
    text-align: center;
}

.omr-portal-link p {
    margin: 0;
    color: #555;
}

.omr-portal-link a {
    color: #2271b1;
    font-weight: 500;
}

/* ==========================================================================
   Custom My Account UI — matches /html-ui/ design
   (dashboard, orders, membership, plans, addresses, account details)
   ========================================================================== */

.omr-acct {
    --omr-ink: #171717;
    --omr-ink-2: #5c5c5c;
    --omr-ink-3: #9a9a9a;
    --omr-line: #e8e8e8;
    --omr-line-2: #f0f0f0;
    --omr-bg: #ffffff;
    --omr-bg-2: #f5f6f7;
    --omr-earn: #0e8a5f;
    --omr-redeem: #b96a00;
    --omr-blue: #2f6fed;
    --omr-radius: 14px;

    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 40px;
    align-items: start;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* the store's brand font */
    color: var(--omr-ink);
    -webkit-font-smoothing: antialiased;
    padding: 50px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.omr-acct a {
    text-decoration: none;
    color: inherit;
}

.omr-acct button {
    font: inherit;
    cursor: pointer;
}

@media (max-width: 860px) {
    .omr-acct {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Avatars ───────────────────────────────────────────────────────────── */

.omr-avatar {
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
    flex-shrink: 0;
    line-height: 1;
}

.omr-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    margin: 0;
}

.omr-avatar--sm  { width: 34px; height: 34px; font-size: 13px; }
.omr-avatar--md  { width: 52px; height: 52px; font-size: 18px; }
.omr-avatar--lg  { width: 96px; height: 96px; font-size: 32px; }
.omr-avatar--card {
    width: 52px;
    height: 52px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.omr-avatar--uploading {
    opacity: 0.5;
}

.omr-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.omr-avatar-cam {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--omr-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--omr-ink-2);
    padding: 0;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.omr-avatar-cam:hover {
    color: var(--omr-ink);
    border-color: var(--omr-ink);
}

/* ── Sidebar: one card — who you are, the sections, sign out ──────────── */

.omr-acct-nav {
    align-self: start;
}

@media (min-width: 861px) {
    .omr-acct-nav {
        position: sticky;
        top: 20px;
        padding: 20px 12px 12px;
        border: 1px solid var(--omr-line);
        border-radius: 16px;
        background: var(--omr-bg);
    }
}

.omr-acct .omr-ico {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.omr-acct .omr-ico--xs {
    width: 14px;
    height: 14px;
}

.omr-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 0 8px 18px;
    border-bottom: 1px solid var(--omr-line);
}

.omr-who > div {
    min-width: 0;
}

.omr-who b {
    display: block;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.omr-who span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
    color: #6b7682;
}

.omr-tier-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--omr-blue);
    flex-shrink: 0;
}

.omr-rail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.omr-rail li {
    margin: 0;
    list-style: none;
}

.omr-rail a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.3;
    color: #3b3e40;
    transition: background 0.15s, color 0.15s;
}

.omr-rail .omr-ico {
    color: #6b7682;
}

.omr-rail a:hover,
.omr-rail a:focus-visible {
    background: var(--omr-bg-2);
    color: var(--omr-ink);
    outline: 0;
}

.omr-rail a:hover .omr-ico {
    color: var(--omr-ink);
}

.omr-rail li.is-active a {
    background: #111;
    color: #fff;
    font-weight: 600;
}

.omr-rail li.is-active .omr-ico {
    color: #fff;
}

.omr-out {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--omr-line);
}

.omr-out a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    color: #5e6e7e;
    transition: background 0.15s, color 0.15s;
}

.omr-out .omr-ico {
    color: #6b7682;
}

.omr-out a:hover,
.omr-out a:hover .omr-ico {
    background: #fef3f2;
    color: #b42318;
}

/* Tablet / phone: sections as a grid of tiles above the content */
@media (max-width: 860px) {
    .omr-who {
        display: none;
    }

    .omr-rail {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .omr-rail li {
        display: flex;
    }

    .omr-rail a {
        flex: 1;
        gap: 10px;
        padding: 10px 12px;
        border: 1px solid var(--omr-line);
        background: #fff;
    }

    .omr-rail li.is-active a {
        border-color: #111;
    }

    .omr-out {
        margin-top: 8px;
        padding-top: 8px;
    }
}

@media (max-width: 520px) {
    .omr-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Typography ────────────────────────────────────────────────────────── */

.omr-acct .omr-page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 6px;
}

.omr-acct .omr-page-sub {
    font-size: 13.5px;
    color: var(--omr-ink-2);
    margin: 0 0 24px;
}

.omr-acct .omr-section-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 44px 0 16px;
}

.omr-acct .omr-section-title:first-child {
    margin-top: 0;
}

/* ── Buttons & pills ───────────────────────────────────────────────────── */

.omr-acct .omr-btn-dark,
.omr-acct-main button.button,
.omr-acct-main .woocommerce-Button {
    background: #111;
    color: #fff;
    border: 1px solid #111;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-block;
    line-height: 1.4;
    text-transform: none;
    transition: background 0.15s;
}

.omr-acct .omr-btn-dark:hover,
.omr-acct-main button.button:hover,
.omr-acct-main .woocommerce-Button:hover {
    background: #000;
    color: #fff;
}

.omr-acct .omr-btn-line {
    border: 1px solid var(--omr-ink);
    background: transparent;
    color: var(--omr-ink);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-block;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}

.omr-acct .omr-btn-line:hover {
    background: #111;
    color: #fff;
}

.omr-acct .omr-btn-sm {
    padding: 8px 16px;
    font-size: 12.5px;
}

.omr-acct .omr-btn-white {
    background: #fff;
    color: #111;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.omr-acct .omr-btn-white:hover {
    background: #e9e9e9;
}

.omr-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
    line-height: 1.3;
    white-space: nowrap;
}

.omr-pill--earn,
.omr-pill--completed {
    background: #e7f4ee;
    color: var(--omr-earn);
}

.omr-pill--redeem,
.omr-pill--shipped {
    background: #f8ecdb;
    color: var(--omr-redeem);
}

.omr-pill--processing {
    background: #e6eefc;
    color: var(--omr-blue);
}

.omr-pill--cancelled {
    background: #f2f2f2;
    color: var(--omr-ink-3);
}

.omr-pts-earned {
    font-size: 12.5px;
    color: var(--omr-earn);
    font-weight: 600;
}

.omr-saved-note {
    font-size: 13px;
    color: var(--omr-earn);
    font-weight: 600;
    display: none;
}

/* ── Dashboard hero (dark panel) ───────────────────────────────────────── */

.omr-hero {
    border-radius: 20px;
    padding: 26px 28px;
    margin-bottom: 14px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #1b1b1f 0%, #2b2f36 55%, #3d4450 100%);
}

.omr-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
    pointer-events: none;
}

.omr-hero > * {
    position: relative;
    z-index: 1;
}

/* Banner image background for the non-member join panels.
   Dark→transparent overlay keeps the left-side text legible while the
   tier coins on the right of the image stay visible. */
.omr-hero.omr-hero--join,
.omr-plans-wrap .omr-join-banner {
    background-image:
        linear-gradient(90deg, rgba(17, 17, 20, 0.94) 0%, rgba(17, 17, 20, 0.7) 38%, rgba(17, 17, 20, 0.28) 66%, rgba(17, 17, 20, 0) 100%),
        url("../images/reward-banner.png");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 200px;
}

/* The image supplies the visual interest, so drop the decorative glow */
.omr-hero--join::after,
.omr-plans-wrap .omr-join-banner::after {
    display: none;
}

.omr-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9ced6;
}

.omr-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    gap: 32px;
    align-items: end;
}

.omr-hero-pts {
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    margin-top: 12px;
    letter-spacing: -0.02em;
}

.omr-hero-pts small {
    font-size: 15px;
    font-weight: 600;
    color: #c9ced6;
    margin-left: 6px;
}

.omr-hero-worth {
    font-size: 13px;
    color: #c9ced6;
    margin-top: 8px;
}

.omr-hero-worth b {
    color: #fff;
}

.omr-hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.omr-hero-prog {
    width: 100%;
}

.omr-hero-prog-head {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #c9ced6;
    margin-bottom: 7px;
}

.omr-hero-prog-foot {
    font-size: 11.5px;
    color: #c9ced6;
    margin-top: 8px;
}

.omr-hero-prog-foot b {
    color: #fff;
    font-weight: 600;
}

.omr-hero .omr-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.18);
}

.omr-hero .omr-bar i {
    background: #fff;
}

.omr-hero--join h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 6px 0 8px;
    max-width: 52ch;
    letter-spacing: -0.01em;
    color: #fff;
}

.omr-hero--join p {
    font-size: 13.5px;
    color: #d7dbe1;
    max-width: 52ch;
    line-height: 1.6;
    margin: 0;
}

.omr-hero-learn {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
}

.omr-hero-learn:hover {
    border-color: #fff;
}

@media (max-width: 760px) {
    .omr-hero {
        padding: 22px 20px;
    }

    .omr-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: stretch;
    }

    .omr-hero-side {
        align-items: stretch;
    }

    .omr-hero-side .omr-tier-chip {
        align-self: flex-start;
    }

    .omr-hero-pts {
        font-size: 34px;
    }
}

/* ── Dashboard cards ───────────────────────────────────────────────────── */

.omr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 980px) {
    .omr-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .omr-cards {
        grid-template-columns: 1fr;
    }
}

.omr-card-actions {
    margin-top: auto;
    padding-top: 16px;
}

.omr-card {
    border: 1px solid var(--omr-line);
    border-radius: 16px;
    padding: 22px 22px 18px;
    background: var(--omr-bg);
    display: flex;
    flex-direction: column;
}

.omr-card-k {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7682;
    margin-bottom: 14px;
}

.omr-card-big {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.omr-card-big--sm {
    font-size: 16px;
}

.omr-card-big .omr-pill {
    vertical-align: 4px;
    margin-left: 4px;
}

.omr-card p {
    font-size: 14px;
    color: #5e6e7e;
    margin: 6px 0 0;
    line-height: 1.55;
}

.omr-card .omr-card-total {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--omr-ink);
}

.omr-card-thumbs {
    margin-bottom: 14px;
}

.omr-card .omr-card-email {
    overflow: hidden;
    margin-top: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.omr-card-facts {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
}

.omr-card-facts div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.omr-card-facts dt {
    font-weight: 400;
    color: #6b7682;
}

.omr-card-facts dd {
    margin: 0;
    color: var(--omr-ink);
    text-align: right;
}

/* Card footer: same links, same place, on every card */
.omr-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: auto;
    padding-top: 16px;
}

.omr-card > p:last-of-type,
.omr-card > .omr-card-facts {
    margin-bottom: 18px;
}

.omr-acct .omr-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #0060ef;
}

.omr-acct .omr-card-link::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
    transition: transform 0.15s;
}

.omr-acct .omr-card-link:hover::after {
    transform: translateX(2px);
}

.omr-acct .omr-card-link--quiet {
    color: #5e6e7e;
}

.omr-card-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ── Join banner (guest) ───────────────────────────────────────────────── */

.omr-join-banner {
    grid-column: 1 / -1;
    border-radius: 20px;
    padding: 26px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #1b1b1f 0%, #2b2f36 55%, #3d4450 100%);
}

.omr-join-banner::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
}

.omr-join-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9ced6;
}

.omr-join-banner h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 6px 0 8px;
    max-width: 560px;
    color: #fff;
}

.omr-join-lead {
    font-size: 14px;
    color: #d7dbe1;
    max-width: 560px;
    line-height: 1.6;
    margin: 0;
}

.omr-join-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.omr-join-contact {
    color: #d7dbe1;
    font-size: 13.5px;
    margin: 0;
}

/* ── Orders (accordion cards + dashboard activity rows) ────────────────── */

.omr-order {
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--omr-bg);
}

.omr-order-head {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
}

.omr-order-head--static {
    grid-template-columns: 1fr auto auto auto;
    cursor: default;
}

/* Product pictures at the start of each order row */
.omr-othumbs {
    display: flex;
}

.omr-othumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 2px solid var(--omr-bg);
    border-radius: 10px;
    background: var(--omr-bg-2);
    overflow: hidden;
}

.omr-othumb + .omr-othumb {
    margin-left: -14px;
}

.omr-othumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.omr-othumb--more {
    font-size: 12px;
    font-weight: 600;
    color: var(--omr-ink-2);
}

.omr-order-head:not(.omr-order-head--static):hover {
    background: var(--omr-bg-2);
}

.omr-oid b {
    display: block;
    font-size: 14px;
}

.omr-oid span {
    font-size: 12px;
    color: var(--omr-ink-3);
}

.omr-order-total {
    font-weight: 600;
    font-size: 14px;
    text-align: right;
}

.omr-chev {
    color: var(--omr-ink-3);
    transition: transform 0.2s;
    font-size: 16px;
}

.omr-order--open .omr-chev {
    transform: rotate(90deg);
}

.omr-order-body {
    display: none;
    border-top: 1px solid var(--omr-line);
    padding: 16px 18px;
    background: var(--omr-bg-2);
}

.omr-order--open .omr-order-body {
    display: block;
}

.omr-oline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
    padding: 7px 0;
}

.omr-oline span:first-child {
    color: var(--omr-ink-2);
}

.omr-oline-muted {
    color: var(--omr-ink-3);
}

.omr-order-foot {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.omr-order-pagination {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

@media (max-width: 620px) {
    /* Pictures | number + date, status under it | chevron */
    .omr-order-head {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "thumbs oid chev" "thumbs pill chev";
        gap: 4px 12px;
    }

    .omr-order-head .omr-othumbs { grid-area: thumbs; }
    .omr-order-head .omr-oid { grid-area: oid; }
    .omr-order-head .omr-pill { grid-area: pill; justify-self: start; }
    .omr-order-head .omr-chev { grid-area: chev; }

    .omr-othumb:nth-child(n+3) {
        display: none;
    }

    .omr-order-total {
        display: none;
    }
}

/* ── Order detail (templates/myaccount/view-order.php) ───────────────── */

.omr-acct .omr-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--omr-ink-2);
    text-decoration: none;
}

.omr-acct .omr-back span {
    font-size: 20px;
    line-height: 1;
}

.omr-acct .omr-back:hover {
    color: var(--omr-ink);
}

.omr-vo-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.omr-vo-head .omr-pill {
    margin-top: 6px;
}

/* Progress steps: dots joined by a line, done = dark, current = blue ring */
.omr-vo-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 24px;
    padding: 20px 18px 18px;
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    list-style: none;
}

.omr-vo-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    color: var(--omr-ink-3);
}

.omr-vo-step::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--omr-line);
}

.omr-vo-step:first-child::before {
    display: none;
}

.omr-vo-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border: 2px solid var(--omr-line);
    border-radius: 50%;
    background: var(--omr-bg);
}

.omr-vo-step.is-done,
.omr-vo-step.is-current {
    color: var(--omr-ink);
}

.omr-vo-step.is-done::before,
.omr-vo-step.is-current::before {
    background: #111;
}

.omr-vo-step.is-done .omr-vo-dot {
    border-color: #111;
    background: #111;
}

.omr-vo-step.is-current .omr-vo-dot {
    border-color: #0060ef;
    box-shadow: 0 0 0 4px rgba(0, 96, 239, .15);
}

.omr-vo-step.is-current .omr-vo-step-label {
    font-weight: 600;
}

.omr-vo-banner {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--omr-bg-2);
    font-size: 14px;
    color: var(--omr-ink-2);
}

.omr-vo-banner--failed {
    background: #fef3f2;
    color: #b42318;
}

/* Cards */
.omr-vo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.omr-vo-card {
    padding: 20px;
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    background: var(--omr-bg);
}

.omr-acct .omr-vo-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}

/* Items */
.omr-vo-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.omr-vo-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--omr-line-2);
}

.omr-vo-item:first-child {
    padding-top: 4px;
    border-top: 0;
}

.omr-vo-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 6px;
    border-radius: 10px;
    background: var(--omr-bg-2);
    overflow: hidden;
}

.omr-vo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.omr-vo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.omr-acct .omr-vo-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--omr-ink);
    text-decoration: none;
}

.omr-acct a.omr-vo-name:hover {
    color: #0060ef;
}

.omr-vo-info .wc-item-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--omr-ink-2);
}

.omr-vo-info .wc-item-meta li,
.omr-vo-info .wc-item-meta p {
    display: inline;
    margin: 0;
}

.omr-vo-info .wc-item-meta strong {
    font-weight: 400;
}

.omr-vo-qty {
    font-size: 13px;
    color: var(--omr-ink-2);
}

.omr-vo-price {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Summary */
.omr-vo-totals {
    margin: 0;
}

.omr-vo-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    font-size: 14px;
}

.omr-vo-row dt {
    font-weight: 400;
    color: var(--omr-ink-2);
}

.omr-vo-row dd {
    margin: 0;
    text-align: right;
}

.omr-vo-row--order_total {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--omr-line);
}

.omr-vo-row--order_total dt {
    color: var(--omr-ink);
}

.omr-vo-row--order_total dd {
    font-size: 18px;
    font-weight: 600;
}

.omr-vo-row--order_total small,
.omr-vo-row dd small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--omr-ink-3);
}

.omr-vo-row--points dd {
    font-weight: 600;
    color: var(--omr-earn);
}

.omr-vo-note {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--omr-bg-2);
    font-size: 13px;
    color: var(--omr-ink-2);
}

.omr-vo-note b {
    font-weight: 600;
    color: var(--omr-ink);
}

.omr-vo-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.omr-vo-actions a {
    text-align: center;
}

/* What other plugins print after the order (vouchers, invoices, tracking, order again) */
.omr-vo-extra:empty {
    display: none;
}

.omr-vo-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.omr-vo-extra > * {
    margin: 0;
}

.omr-acct .omr-vo-extra .button,
.omr-acct .omr-vo-extra a.button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--omr-ink);
    border-radius: 999px;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    color: var(--omr-ink);
}

.omr-acct .omr-vo-extra .button:hover {
    background: #111;
    color: #fff;
}

/* Addresses */
.omr-vo-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.omr-vo-addresses address {
    margin: 0;
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    color: var(--omr-ink-2);
}

.omr-vo-contact {
    display: block;
    margin-top: 6px;
}

.omr-vo-contact + .omr-vo-contact {
    margin-top: 0;
}

/* Order updates (customer notes) */
.omr-vo-updates {
    margin-top: 16px;
}

.omr-vo-notes {
    margin: 0;
    padding: 0;
    list-style: none;
}

.omr-vo-notes li {
    position: relative;
    margin: 0;
    padding: 0 0 14px 22px;
    font-size: 14px;
    color: var(--omr-ink-2);
}

.omr-vo-notes li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
}

.omr-vo-notes li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 0;
    left: 3px;
    width: 2px;
    background: var(--omr-line);
}

.omr-vo-notes time {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--omr-ink-3);
}

.omr-vo-notes p {
    margin: 0;
}

@media (max-width: 900px) {
    .omr-vo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .omr-vo-steps {
        padding: 16px 8px 14px;
    }

    .omr-vo-step {
        font-size: 12px;
    }

    .omr-vo-card {
        padding: 16px;
    }

    .omr-vo-item {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .omr-vo-thumb {
        width: 60px;
        height: 60px;
    }

    .omr-vo-price {
        grid-column: 2;
    }
}

/* ── Membership card ───────────────────────────────────────────────────── */

.omr-mcard {
    border-radius: 20px;
    padding: 26px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-color: #1b1b1f;
    background-image:
        linear-gradient(105deg, rgba(17, 17, 20, 0.93) 0%, rgba(17, 17, 20, 0.78) 45%, rgba(17, 17, 20, 0.74) 100%),
        url("../images/reward-banner.png");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

/* Image supplies the visual interest — drop the decorative glow */
.omr-mcard::after {
    display: none;
}

.omr-mcard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.omr-mcard-id-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.omr-mcard-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9ced6;
}

.omr-mcard-name {
    font-size: 22px;
    font-weight: 600;
    margin-top: 4px;
}

.omr-tier-chip {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.omr-mcard-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 30px;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.omr-mcard-num {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
}

.omr-mcard-lbl {
    font-size: 12px;
    color: #c9ced6;
    margin-top: 6px;
}

.omr-mcard-lbl b,
.omr-mcard-lbl .woocommerce-Price-amount {
    color: #fff;
}

.omr-mcard-mid {
    font-size: 12px;
    color: #c9ced6;
    text-align: right;
}

.omr-mcard-mid b {
    display: block;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin: 2px 0;
}

/* ── Tier progress ─────────────────────────────────────────────────────── */

.omr-progress-wrap {
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    padding: 18px 20px;
    margin-top: 14px;
}

.omr-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 11px;
}

.omr-progress-head b {
    font-weight: 600;
}

.omr-bar {
    height: 8px;
    background: var(--omr-bg-2);
    border-radius: 999px;
    overflow: hidden;
}

.omr-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--omr-ink);
    border-radius: 999px;
    transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.omr-progress-foot {
    font-size: 12px;
    color: var(--omr-ink-3);
    margin-top: 10px;
}

.omr-progress-foot b {
    color: var(--omr-ink);
    font-weight: 600;
}

/* ── Stats strip ───────────────────────────────────────────────────────── */

.omr-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.omr-stat {
    border: 1px solid var(--omr-line);
    border-radius: 16px;
    padding: 18px 20px;
}

.omr-stat-n {
    font-size: 22px;
    font-weight: 600;
}

.omr-stat-l {
    font-size: 13px;
    line-height: 1.4;
    color: #6b7682;
    margin-top: 4px;
}

@media (max-width: 560px) {
    .omr-stats {
        grid-template-columns: 1fr 1fr;
    }

    .omr-stat:last-child {
        grid-column: 1 / -1;
    }
}

/* ── How points work ───────────────────────────────────────────────────── */

.omr-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.omr-rule {
    background: var(--omr-bg-2);
    border-radius: 16px;
    padding: 20px;
}

.omr-rule-big {
    font-size: 15px;
    font-weight: 600;
}

.omr-rule p {
    font-size: 14px;
    color: #5e6e7e;
    margin: 4px 0 0;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .omr-rules {
        grid-template-columns: 1fr;
    }
}

/* ── Benefits ──────────────────────────────────────────────────────────── */

/* Membership benefits — tier comparison tabs */
.omr-tier-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.omr-tier-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--omr-line);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--omr-ink-2);
}

.omr-tier-tab:hover {
    border-color: var(--omr-ink-3);
    color: var(--omr-ink);
}

.omr-tier-tab.on {
    background: #111;
    color: #fff;
    border-color: #111;
}

.omr-tier-tabs .omr-tier-dot {
    width: 8px;
    height: 8px;
}

.omr-you-are {
    font-size: 12px;
    color: var(--omr-ink-3);
    margin-left: auto;
}

.omr-you-are b {
    color: var(--omr-ink);
    font-weight: 600;
}

@media (max-width: 620px) {
    .omr-you-are {
        margin-left: 0;
        width: 100%;
    }
}

.omr-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.omr-benefits[hidden] {
    display: none;
}

.omr-benefit {
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.omr-benefit-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--omr-bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.omr-benefit b {
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
}

.omr-benefit p {
    font-size: 14px;
    color: #5e6e7e;
    line-height: 1.5;
    margin: 0;
}

/* ── Section accordions (how points work / benefits) ───────────────────── */

.omr-accordion {
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    margin-top: 14px;
    overflow: hidden;
    background: var(--omr-bg);
}

.omr-accordion-head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--omr-ink);
    text-align: left;
    transition: background 0.15s;
}

.omr-accordion-head:hover {
    background: var(--omr-bg-2);
}

.omr-accordion-head .omr-chev {
    flex-shrink: 0;
}

.omr-accordion--open > .omr-accordion-head .omr-chev {
    transform: rotate(90deg);
}

.omr-accordion-body {
    display: none;
    padding: 2px 18px 18px;
}

.omr-accordion--open > .omr-accordion-body {
    display: block;
}

/* ── Rewards activity ──────────────────────────────────────────────────── */

.omr-tx-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.omr-tx-filter {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--omr-line);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--omr-ink-2);
}

.omr-tx-filter:hover {
    border-color: var(--omr-ink-3);
    color: var(--omr-ink);
}

.omr-tx-filter.on {
    background: #111;
    color: #fff;
    border-color: #111;
}

.omr-tx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--omr-line);
    border-radius: 16px;
    overflow: hidden;
}

.omr-tx {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto 64px;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--omr-line-2);
}

.omr-tx:last-child {
    border-bottom: none;
}

.omr-tx--hidden,
.omr-tx--filtered {
    display: none;
}

.omr-tx-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--omr-bg-2);
    color: var(--omr-ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.omr-tx-ic--plus {
    background: #e7f4ee;
    color: var(--omr-earn);
}

.omr-tx-ic--minus {
    background: #f8ecdb;
    color: var(--omr-redeem);
}

.omr-tx-main {
    min-width: 0;
}

.omr-tx-main b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.omr-tx-main span {
    display: block;
    font-size: 13px;
    color: #6b7682;
    margin-top: 3px;
}

.omr-tx-amt {
    font-size: 13px;
    font-weight: 400;
    text-align: right;
    white-space: nowrap;
    color: #5e6e7e;
}

.omr-tx-amt .woocommerce-Price-amount {
    font-weight: 600;
    color: var(--omr-ink);
}

.omr-tx-pts {
    font-size: 15px;
    font-weight: 600;
    text-align: right;
}

.omr-tx-pts--plus {
    color: var(--omr-earn);
}

.omr-tx-pts--minus {
    color: var(--omr-redeem);
}

.omr-tx-empty {
    padding: 34px 20px;
    text-align: center;
    color: var(--omr-ink-3);
    font-size: 13.5px;
    line-height: 1.6;
}

.omr-tx-foot {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Phones: icon + title on row 1 (points top-right), amount below the title */
@media (max-width: 620px) {
    .omr-tx {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        row-gap: 8px;
    }

    .omr-tx-amt {
        grid-column: 2;
        text-align: left;
        color: var(--omr-ink-2);
        font-weight: 600;
    }

    .omr-tx-pts {
        grid-row: 1;
        grid-column: 3;
    }
}

/* ── Support strip ─────────────────────────────────────────────────────── */

.omr-support {
    margin-top: 44px;
    background: var(--omr-bg-2);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.omr-support p {
    font-size: 14px;
    color: #5e6e7e;
    margin: 0;
}

/* ── Responsive refinements (v2 membership) ────────────────────────────── */

/* Phones: tighten the membership card and re-align the wrapped ID block */
@media (max-width: 560px) {
    .omr-mcard {
        padding: 22px 20px;
        border-radius: 16px;
    }

    .omr-mcard-num {
        font-size: 34px;
    }

    .omr-mcard-name {
        font-size: 20px;
    }

    .omr-mcard-bottom {
        margin-top: 22px;
    }

    /* Once it wraps under the points, left-align it and take the full width */
    .omr-mcard-mid {
        text-align: left;
        flex-basis: 100%;
    }

    /* Support strip: stack, full-width CTA for an easy tap target */
    .omr-support {
        flex-direction: column;
        align-items: stretch;
    }

    .omr-support .omr-btn-dark {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Banner CTA gets comfortable spacing when it wraps below the message */
    .omr-banner .omr-btn-dark {
        margin-left: auto;
    }
}

/* Very small phones: keep the big numbers from overflowing */
@media (max-width: 380px) {
    .omr-mcard {
        padding: 20px 16px;
    }

    .omr-mcard-num {
        font-size: 30px;
    }

    .omr-mcard-name {
        font-size: 18px;
    }

    .omr-stat-n {
        font-size: 19px;
    }

    .omr-tx-filter {
        padding: 7px 13px;
        font-size: 12.5px;
    }
}

/* ── Banners (upgrade / renewal) ───────────────────────────────────────── */

.omr-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    border-radius: var(--omr-radius);
    padding: 14px 18px;
    font-size: 13.5px;
    margin-bottom: 14px;
}

.omr-banner--upgrade {
    background: #e7f4ee;
    color: var(--omr-earn);
}

.omr-banner--expiring {
    background: #f8ecdb;
    color: var(--omr-redeem);
}

.omr-banner--expired {
    background: #fdecec;
    color: #b42318;
}

/* ── Plans (join page) ─────────────────────────────────────────────────── */

.omr-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 6px;
}

.omr-plan {
    border: 1px solid var(--omr-line);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--omr-bg);
}

.omr-plan-tname {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.omr-plan-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.omr-plan-price {
    font-size: 28px;
    font-weight: 600;
    margin: 12px 0 2px;
}

.omr-plan-price small,
.omr-plan-price .woocommerce-Price-currencySymbol {
    font-size: 0.6em;
    font-weight: 600;
}

.omr-plan-features {
    font-size: 13.5px;
    color: var(--omr-ink-2);
    flex: 1;
    margin-top: 12px;
    line-height: 1.5;
}

.omr-plan-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.omr-plan-features ul li {
    padding-left: 22px;
    position: relative;
    line-height: 1.45;
    margin: 0;
}

.omr-plan-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--omr-earn);
}

.omr-plan-cta {
    margin-top: 20px;
    text-align: center;
    padding: 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #111;
    display: block;
    transition: background 0.15s, color 0.15s;
}

.omr-plan-cta:hover {
    background: #111;
    color: #fff;
}

.omr-plans-note {
    font-size: 11.5px;
    color: var(--omr-ink-3);
    margin-top: 22px;
    line-height: 1.6;
}

.omr-join-banner--page {
    display: block;
}

/* ── Profile picture (account details) ─────────────────────────────────── */

.omr-pfp {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    padding: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.omr-pfp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.omr-pfp-hint {
    font-size: 12px;
    color: var(--omr-ink-3);
    margin: 8px 0 0;
}

/* ── WooCommerce forms (account details / addresses) ───────────────────── */

.omr-acct-main form .form-row label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--omr-ink);
}

.omr-acct-main form .form-row input.input-text,
.omr-acct-main form .form-row input[type="text"],
.omr-acct-main form .form-row input[type="email"],
.omr-acct-main form .form-row input[type="tel"],
.omr-acct-main form .form-row input[type="password"],
.omr-acct-main form .form-row select,
.omr-acct-main form .form-row .select2-selection {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--omr-line);
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    box-shadow: none;
    color: var(--omr-ink);
}

.omr-acct-main form .form-row input:focus,
.omr-acct-main form .form-row select:focus {
    outline: none;
    border-color: #111;
    box-shadow: none;
}

.omr-acct-main form.woocommerce-EditAccountForm,
.omr-acct-main .woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.omr-acct-main form.woocommerce-EditAccountForm > h2,
.omr-acct-main form.woocommerce-EditAccountForm > .omr-pfp,
.omr-acct-main form.woocommerce-EditAccountForm > fieldset,
.omr-acct-main form.woocommerce-EditAccountForm > p:last-child,
.omr-acct-main form.woocommerce-EditAccountForm .form-row-wide,
.omr-acct-main .woocommerce-address-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

.omr-acct-main form .form-row {
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
}

.omr-acct-main form .clear {
    display: none;
}

.omr-acct-main form fieldset {
    border: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.omr-acct-main form fieldset .form-row-wide {
    grid-column: 1 / -1;
}

.omr-acct-main form fieldset legend {
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 2px;
    grid-column: 1 / -1;
}

.omr-acct-main form .woocommerce-form-row span em,
.omr-acct-main form .form-row span em {
    font-size: 11.5px;
    color: var(--omr-ink-3);
    font-style: normal;
    display: block;
    margin-top: 4px;
}

/* Show/hide password toggle inside the field */
.omr-acct-main .password-input {
    position: relative;
    display: block;
    width: 100%;
}

.omr-acct-main .password-input input {
    padding-right: 46px;
}

.omr-acct-main .show-password-input {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 0;
    line-height: 0;
    border-radius: 8px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.omr-acct-main .show-password-input:hover {
    background-color: var(--omr-bg-2);
}

.omr-acct-main .show-password-input.display-password {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cpath d='M14.12 14.12a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

/* Kill any theme/Woo glyph fallback (the stray "dot") */
.omr-acct-main .show-password-input::before,
.omr-acct-main .show-password-input::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 620px) {
    .omr-acct-main form.woocommerce-EditAccountForm,
    .omr-acct-main .woocommerce-address-fields__field-wrapper,
    .omr-acct-main form fieldset {
        grid-template-columns: 1fr;
    }
}

/* ── Addresses hub ─────────────────────────────────────────────────────── */

.omr-addr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.omr-addr {
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    padding: 20px;
    background: var(--omr-bg);
}

.omr-addr-tag {
    font-size: 11px;
    color: var(--omr-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.omr-addr-title {
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0 0;
}

.omr-addr address {
    font-style: normal;
    font-size: 13.5px;
    color: var(--omr-ink-2);
    line-height: 1.7;
    border: none;
    padding: 0;
    margin: 12px 0 16px;
}

@media (max-width: 720px) {
    .omr-addr-grid {
        grid-template-columns: 1fr;
    }
}

.omr-form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 4px 0 0;
    flex-wrap: wrap;
}

/* ── Generic content inside the account area ───────────────────────────── */

.omr-acct-main > .woocommerce-notices-wrapper .woocommerce-message,
.omr-acct-main .woocommerce-message,
.omr-acct-main .woocommerce-info,
.omr-acct-main .woocommerce-error {
    margin: 0 0 24px;
    padding: 13px 16px 13px 46px;
    border: 1px solid #c9d8f5;
    border-radius: 12px;
    background: #eef4ff;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none; /* the parent theme capitalises every word */
    color: #1d3b72;
}

.omr-acct-main > .woocommerce-notices-wrapper {
    margin: 0;
    padding: 0;
}

.omr-acct-main .woocommerce-message::before,
.omr-acct-main .woocommerce-info::before {
    color: #0060ef;
}

.omr-acct-main .woocommerce-error {
    border-color: #fecdca;
    background: #fef3f2;
    color: #912018;
}

.omr-acct-main .woocommerce-error::before {
    color: #d92d20;
}

.omr-acct-main table {
    width: 100%;
    border: 1px solid var(--omr-line);
    border-radius: var(--omr-radius);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-size: 13.5px;
}

.omr-acct-main table th,
.omr-acct-main table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--omr-line);
    text-align: left;
}

.omr-acct-main table thead th {
    background: var(--omr-bg-2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--omr-ink-2);
}

.omr-acct-main table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Auth pages (login / register / lost & reset password) — matches /html-ui/
   ========================================================================== */

.omr-auth {
    --omr-ink: #171717;
    --omr-ink-2: #555b63;
    --omr-ink-3: #555b63;
    --omr-line: #d5dbe3;
    --omr-bg-2: #f5f6f8;
    --omr-earn: #067647;
    --omr-err: #d92d20;
    --omr-blue: #0060ef;

    position: relative;
    overflow: hidden;
    padding: 56px 32px;
    min-height: 560px;
    display: flex;
    align-items: center;
    margin: 8px 0 24px;
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px; /* Nothing on these pages is smaller than 15px. */
    line-height: 1.5;
    color: var(--omr-ink);
    -webkit-font-smoothing: antialiased;
}

.omr-auth::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.omr-auth-inner {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.omr-auth-card {
    background: #fff;
    border-radius: 10px;
    padding: 44px 40px 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.omr-auth-card h1 {
    margin: 0 0 6px;
    font-family: inherit;
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--omr-ink);
}

.omr-auth-sub {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 22px;
    color: var(--omr-ink-2);
}

/* View switching (single card, two states) */
.omr-auth-view--register {
    display: none;
}

.omr-auth-card.is-register .omr-auth-view--login {
    display: none;
}

.omr-auth-card.is-register .omr-auth-view--register {
    display: block;
}

/* Fields */
.omr-auth form .form-row {
    margin: 0 0 18px;
    padding: 0;
    width: 100%;
    float: none;
}

.omr-auth form .form-row label {
    display: block;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 21px;
    font-weight: 500;
    color: var(--omr-ink);
}

.omr-auth form .form-row .required {
    color: var(--omr-err);
    text-decoration: none;
    border: 0;
}

.omr-auth-optional {
    font-weight: 400;
    color: var(--omr-ink-3);
}

.omr-auth form .form-row input.input-text {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid var(--omr-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px; /* 16px also stops phones zooming in on focus */
    color: var(--omr-ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.omr-auth form .form-row input.input-text::placeholder {
    color: #a3adb8;
}

.omr-auth form .form-row input.input-text:focus {
    outline: none;
    border-color: var(--omr-blue);
    box-shadow: 0 0 0 3px #eef4ff;
}

/* Show/hide password toggle */
.omr-auth .password-input {
    position: relative;
    display: block;
    width: 100%;
}

.omr-auth .password-input input {
    padding-right: 48px;
}

.omr-auth .show-password-input {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 0;
    line-height: 0;
    border-radius: 50%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555b63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.omr-auth .show-password-input:hover {
    background-color: var(--omr-bg-2);
}

.omr-auth .show-password-input.display-password {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cpath d='M14.12 14.12a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

.omr-auth .show-password-input::before,
.omr-auth .show-password-input::after {
    content: none !important;
    display: none !important;
}

/* Remember-me row */
.omr-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 24px;
}

.omr-auth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    line-height: 21px;
    color: var(--omr-ink-2);
    cursor: pointer;
}

.omr-auth-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--omr-blue);
}

.omr-auth-link {
    font-size: 15px;
    line-height: 21px;
    font-weight: 500;
    color: var(--omr-blue);
    text-decoration: none;
}

.omr-auth-link:hover {
    text-decoration: underline;
    color: var(--omr-blue);
}

/* Submit */
.omr-auth-submit {
    margin: 0;
}

.omr-auth-btn {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    background: var(--omr-blue);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: background 0.15s;
}

.omr-auth-btn:hover,
.omr-auth-btn:focus-visible {
    background: #333;
    color: #fff;
}

.omr-auth-arr {
    transition: transform 0.15s;
}

.omr-auth-btn:hover .omr-auth-arr {
    transform: translateX(4px);
}

/* Switch line */
.omr-auth-switch {
    margin: 24px 0 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--omr-ink-2);
    text-align: center;
}

.omr-auth-switch a {
    color: var(--omr-blue);
    font-weight: 600;
    border-bottom: 0;
    text-decoration: none;
}

.omr-auth-switch a:hover {
    text-decoration: underline;
}

/* Register extras */
.omr-perk-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--omr-bg-2);
    font-size: 15px;
    line-height: 22px;
    color: var(--omr-ink-2);
}

.omr-perk-note b {
    font-weight: 600;
    color: var(--omr-ink);
}

.omr-auth-note,
.omr-auth .woocommerce-privacy-policy-text,
.omr-auth .woocommerce-privacy-policy-text p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 22px;
    color: var(--omr-ink-2);
}

.omr-auth .woocommerce-privacy-policy-text a {
    color: var(--omr-blue);
}

.omr-reqs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: -6px 0 18px;
    padding: 0;
    font-size: 15px;
    line-height: 21px;
    color: var(--omr-ink-3);
}

.omr-reqs li {
    position: relative;
    margin: 0;
    padding-left: 22px;
}

.omr-reqs li::before {
    content: "○";
    position: absolute;
    left: 0;
}

.omr-reqs li.ok {
    color: var(--omr-earn);
}

.omr-reqs li.ok::before {
    content: "✓";
    font-weight: 600;
}

/* Success card (lost-password confirmation) */
.omr-auth-card--success {
    text-align: center;
}

.omr-auth-success-ic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf3;
    color: var(--omr-earn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
}

.omr-auth-card--success h2 {
    margin: 0 0 8px;
    font-family: inherit;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    text-transform: none;
}

.omr-auth-success-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 23px;
    color: var(--omr-ink-2);
}

.omr-auth-btn-line {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: 1px solid var(--omr-line);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--omr-ink);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.omr-auth-btn-line:hover {
    border-color: #c4ccd6;
    background: var(--omr-bg-2);
    color: var(--omr-ink);
}

.omr-auth-resend {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--omr-ink-2);
}

.omr-auth-resend a {
    font-weight: 600;
    color: var(--omr-blue);
}

/* Error / info messages shown above the login card */
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper li,
.woocommerce-account:not(.logged-in) .woocommerce-error,
.woocommerce-account:not(.logged-in) .woocommerce-message,
.woocommerce-account:not(.logged-in) .woocommerce-info {
    font-size: 15px;
    line-height: 22px;
}

@media (max-width: 720px) {
    .omr-auth {
        padding: 32px 16px;
        min-height: 0;
    }

    .omr-auth-inner {
        justify-content: center;
    }

    .omr-auth-card {
        padding: 32px 22px 28px;
    }

    .omr-auth-card h1 {
        font-size: 26px;
        line-height: 34px;
    }
}

/* ---------------------------------------------------------------------------
 * Points offers (e.g. 2× points) — banner on cart, checkout and My Account,
 * and the offer line inside the product earn stripe and checkout estimate.
 * A soft warm tint so it reads as "special", next to the blue earn stripe.
 * ------------------------------------------------------------------------- */

/* Offer row leading the earn stripe and the cart / checkout banner:
   2× PUNTOS  Oferta por tiempo limitado · hasta el 25 Feb
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Orange text, no pill, a dashed rule separating it from the points line. */
.omr-offer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}
.omr-offer-row__badge {
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #e87a0c;
    white-space: nowrap;
}
.omr-offer-row__text {
    color: #e87a0c;
}
/* The normal figure, struck through just before the offer figure (~~489~~ 978). */
.omr-earn-stripe__was {
    color: #8a94a3;
    font-weight: 400;
}

.omr-savings-banner__offer {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 500;
    color: #9a5b0c;
}
.omr-savings-banner__offer strong { color: #9a5b0c; font-weight: 600; }



/* DJI credit coins in the purple join banner (same icon as the product earn stripe). */
.omr-membership-promo-icon { display: flex; align-items: center; flex: 0 0 auto; }
.omr-membership-promo-banner .omr-membership-promo-gem {
    width: auto !important;
    height: 28px !important;
    max-width: 46px;
    display: block;
    object-fit: contain;
}

/* Cart/checkout banner: the offer line sits on its own line under the message, no divider */
.omr-membership-promo-offer { display: block; margin: 2px 0 0; }
.omr-promo-amount__was { font-weight: 400; opacity: .7; }

/* ==========================================================================
   Checkout — DJI Credit (templates/checkout-redeem.php)
   Card 1: balance + "Usar mis puntos" switch. Card 2: points this order earns.
   ========================================================================== */
.omr-checkout-redeem { display: flex; flex-direction: column; gap: 12px; }

.omr-redeem-box.omr-credit {
	margin: 0;
	padding: 16px 20px;
	border: 1px solid #e3e8ee;
	border-radius: 10px;
	background: #fff;
	color: #262626;
	font-size: 14px;
	line-height: 21px;
	transition: border-color .15s;
}
.omr-redeem-box.omr-credit:has(input:checked) { border-color: #0060ef; }

.omr-credit-main { display: flex; align-items: center; gap: 16px; margin: 0; cursor: pointer; font-weight: 400; }
.omr-redeem-unavailable .omr-credit-main { cursor: default; }
.omr-credit-coins { flex: 0 0 auto; display: block; width: 64px; height: auto; }
.omr-credit-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 2px; }
.omr-credit-title { font-size: 16px; line-height: 22px; font-weight: 600; color: #262626; }
.omr-credit-balance { color: #5e6e7e; }
.omr-credit-save { color: #067647; }
.omr-credit-save .amount { font-weight: 600; }
.omr-credit-note { font-size: 13px; line-height: 19px; color: #5e6e7e; }

.omr-credit-switch { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.omr-credit-switch__label { font-weight: 500; color: #262626; white-space: nowrap; }
.omr-credit .omr-toggle-switch { flex: 0 0 auto; margin: 0; }
.omr-credit .omr-toggle-switch input:checked + .omr-toggle-slider { background-color: #0060ef; }

.omr-credit .omr-credit-summary { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #e3e8ee; }
.omr-credit .omr-summary-row { font-size: 14px; color: #262626; }
.omr-credit .omr-summary-discount { color: #067647; font-weight: 600; }
.omr-credit .omr-summary-total-row span { font-weight: 600; color: #262626; }

.omr-credit-earn {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 16px 20px;
	border: 1px solid #abefc6;
	border-radius: 10px;
	background: #ecfdf3;
	font-size: 14px;
	line-height: 21px;
}
.omr-credit-earn__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #d1fadf;
	color: #067647;
}
.omr-credit-earn__text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 2px; }
.omr-credit-earn__text strong,
.omr-credit-earn__text strong .amount { font-size: 15px; font-weight: 600; color: #067647; }
.omr-credit-earn__offer { color: #5e6e7e; }
.omr-credit-chip {
	flex: 0 0 auto;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fde68a;
	color: #7a4b00;
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	white-space: nowrap;
}

.omr-credit.omr-redeem-unavailable .omr-credit-balance { color: #5e6e7e; }

@media (max-width: 600px) {
	.omr-redeem-box.omr-credit,
	.omr-credit-earn { padding: 14px 16px; }
	.omr-credit-main { flex-wrap: wrap; gap: 12px; }
	.omr-credit-coins { width: 48px; }
	.omr-credit-text { flex-basis: calc(100% - 60px); }
	.omr-credit-switch { width: 100%; justify-content: space-between; padding-top: 12px; border-top: 1px solid #e3e8ee; }
	.omr-credit-earn { flex-wrap: wrap; gap: 12px; }
	.omr-credit-earn__text { flex-basis: calc(100% - 56px); }
	.omr-credit-chip { margin-left: 56px; }
}
