/* ============================================================
   JRR BOILERS — My Account  v1.0
   ============================================================ */

:root {
    --jrr-cta:        linear-gradient(90deg, #EA580C 0%, #F59E0B 60%, #FCD34D 100%);
    --jrr-cta-hover:  linear-gradient(90deg, #C2410C 0%, #D97706 60%, #FBBF24 100%);
    --jrr-cta-shadow: 0 4px 14px rgba(245,158,11,0.35);
    --jrr-cta-color:  #FFFFFF;
    --jrr-navy:       #102A43;
    --jrr-text:       #111827;
    --jrr-text-2:     #374151;
    --jrr-muted:      #6B7280;
    --jrr-muted-2:    #9CA3AF;
    --jrr-bg:         #ECEEF1;
    --jrr-card:       #FFFFFF;
    --jrr-border:     #E5E7EB;
    --jrr-border-2:   #F3F4F6;
    --jrr-focus:      #F59E0B;
    --jrr-focus-ring: 0 0 0 3px rgba(245,158,11,0.18);
    --jrr-shadow:     0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
    --jrr-shadow-lg:  0 8px 28px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
    --jrr-r-sm:       8px;
    --jrr-r-md:       12px;
    --jrr-r-lg:       16px;
    --jrr-font:       'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Page base ──────────────────────────────────────────────── */
.jrr-account-page,
.jrr-account-page * {
    font-family: var(--jrr-font) !important;
    box-sizing: border-box;
}

body.woocommerce-account {
    background-color: var(--jrr-bg) !important;
}

body.woocommerce-account .site-main,
body.woocommerce-account #main,
body.woocommerce-account #primary,
body.woocommerce-account .content-area,
body.woocommerce-account .entry-content,
body.woocommerce-account article {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    background: transparent !important;
}

.jrr-account-page {
    min-height: calc(100vh - 200px);
    padding-bottom: 72px;
}

/* ── Page header (shared with other pages) ──────────────────── */
.jrr-account-page .jrr-shop-head {
    background: var(--jrr-card);
    border-bottom: 1px solid var(--jrr-border);
    padding: 24px 0 20px;
    margin-bottom: 32px;
}
.jrr-account-page .jrr-shop-head-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.jrr-account-page .jrr-shop-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--jrr-navy) !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.jrr-account-page .jrr-cart-badge {
    display: inline-flex;
    align-items: center;
    background: var(--jrr-bg);
    border: 1px solid var(--jrr-border);
    color: var(--jrr-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Cards (shared) ─────────────────────────────────────────── */
.jrr-acc-card {
    background: var(--jrr-card);
    border: 1px solid var(--jrr-border);
    border-radius: var(--jrr-r-lg);
    box-shadow: var(--jrr-shadow);
    overflow: hidden;
}
.jrr-acc-card-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 22px;
    background: #F9FAFB;
    border-bottom: 1px solid var(--jrr-border);
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--jrr-navy) !important;
    letter-spacing: -0.1px;
}
.jrr-acc-card-hd svg { flex-shrink: 0; color: var(--jrr-muted); }
.jrr-acc-card-bd { padding: 24px 22px; }

/* ════════════════════════════════════════════════════════════
   NOT LOGGED IN — auth forms
   ════════════════════════════════════════════════════════════ */
.jrr-acc-auth-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 32px 96px;
}
.jrr-acc-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
    align-items: center;
    min-height: 560px;
}
.jrr-acc-auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}
.jrr-acc-auth-hero {
    position: relative;
    padding: 48px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(252,211,77,0.42), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(234,88,12,0.20), transparent 30%),
        linear-gradient(135deg, #102A43 0%, #0B1F34 56%, #071827 100%);
    color: #FFFFFF;
    box-shadow: 0 24px 60px rgba(15,23,42,0.18);
}
.jrr-acc-auth-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    border: 42px solid rgba(255,255,255,0.06);
}
.jrr-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    color: #FCD34D;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
}
.jrr-acc-auth-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: #FFFFFF !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -1.6px !important;
    margin: 0 0 20px !important;
    font-family: var(--jrr-font) !important;
}
.jrr-acc-auth-hero p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: rgba(255,255,255,0.76) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0 0 34px !important;
}
.jrr-auth-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.jrr-auth-benefit {
    min-height: 104px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}
.jrr-auth-benefit span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(245,158,11,0.20);
    color: #FCD34D;
    margin-bottom: 12px;
}
.jrr-auth-benefit strong {
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.jrr-acc-auth-wrap .jrr-acc-card {
    border: 1px solid rgba(229,231,235,0.92);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(15,23,42,0.10), 0 2px 8px rgba(15,23,42,0.04);
}
.jrr-acc-auth-wrap .jrr-acc-card-hd {
    padding: 18px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--jrr-border-2);
    font-size: 15px !important;
}
.jrr-acc-auth-wrap .jrr-acc-card-hd svg {
    color: #EA580C;
}
.jrr-acc-auth-wrap .jrr-acc-card-bd {
    padding: 26px 24px 24px;
}

.jrr-auth-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(229,231,235,0.92);
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.jrr-auth-switch-btn {
    min-height: 40px;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    color: var(--jrr-muted) !important;
    cursor: pointer;
    font-family: var(--jrr-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.jrr-auth-switch-btn.is-active {
    background: #FFFFFF !important;
    color: #EA580C !important;
    box-shadow: 0 8px 20px rgba(15,23,42,0.08), inset 0 0 0 1px rgba(234,88,12,0.08);
}

.jrr-auth-panel {
    display: none;
}

.jrr-acc-auth-wrap[data-auth-mode="login"] .jrr-auth-panel-login,
.jrr-acc-auth-wrap[data-auth-mode="register"] .jrr-auth-panel-register {
    display: block;
}

.jrr-auth-panel-foot {
    margin: 16px 0 0 !important;
    color: var(--jrr-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center;
}

.jrr-auth-panel-foot button {
    margin: 0 0 0 4px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: #EA580C !important;
    cursor: pointer;
    font: inherit;
    font-weight: 700 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jrr-auth-panel-foot button:hover {
    color: #C2410C !important;
}

/* ── Kill WooCommerce side-by-side form-row floats ──────────── */
.jrr-account-page .form-row-first,
.jrr-account-page .form-row-last {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
    clear: both !important;
}

/* ── WooCommerce login form ─────────────────────────────────── */
.jrr-account-page .woocommerce-form-login,
.jrr-account-page .woocommerce-form-register {
    margin: 0 !important;
}
.jrr-account-page .woocommerce-form-login .form-row,
.jrr-account-page .woocommerce-form-register .form-row,
.jrr-acc-field {
    margin: 0 0 14px !important;
    padding: 0 !important;
}
.jrr-account-page label,
.jrr-acc-field label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--jrr-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
    line-height: 1 !important;
}
.jrr-account-page label abbr,
.jrr-acc-field label .required {
    color: #DC2626 !important;
    text-decoration: none !important;
    margin-left: 2px;
}
.jrr-account-page input[type="text"],
.jrr-account-page input[type="email"],
.jrr-account-page input[type="tel"],
.jrr-account-page input[type="password"],
.jrr-account-page input[type="number"],
.jrr-account-page select,
.jrr-account-page textarea,
.jrr-acc-field input {
    width: 100% !important;
    height: 46px !important;
    border: 1.5px solid var(--jrr-border) !important;
    border-radius: var(--jrr-r-sm) !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--jrr-text) !important;
    background: var(--jrr-card) !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
    outline: none !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.jrr-account-page input:focus,
.jrr-account-page select:focus,
.jrr-account-page textarea:focus,
.jrr-acc-field input:focus {
    border-color: var(--jrr-focus) !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04), var(--jrr-focus-ring) !important;
}
.jrr-account-page textarea {
    height: auto !important;
    min-height: 80px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    resize: vertical !important;
}

/* Remember me checkbox */
.jrr-account-page .woocommerce-form__label-for-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--jrr-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}
.jrr-account-page .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 2px solid var(--jrr-border) !important;
    border-radius: 4px !important;
    accent-color: var(--jrr-focus) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0;
}

/* Lost password link (WC default markup) */
.jrr-account-page .woocommerce-LostPassword {
    margin-top: 14px !important;
    font-size: 13px !important;
}
.jrr-account-page .woocommerce-LostPassword a,
.jrr-account-page .lost_password a {
    color: var(--jrr-muted) !important;
    font-size: 13px !important;
    text-decoration: underline !important;
}

/* ── Auth options row (remember me + lost password) ─────────── */
.jrr-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0;
    flex-wrap: wrap;
}
.jrr-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--jrr-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
.jrr-auth-remember input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 2px solid var(--jrr-border) !important;
    border-radius: 4px !important;
    accent-color: var(--jrr-focus) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0;
}
.jrr-auth-lost-pw {
    font-size: 13px !important;
    color: var(--jrr-muted) !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
}
.jrr-auth-lost-pw:hover { color: var(--jrr-text) !important; }

/* ── Login submit button ─────────────────────────────────────── */
.jrr-acc-btn-login,
.jrr-acc-btn-register {
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    line-height: 50px !important;
    text-align: center !important;
    background: linear-gradient(90deg, #EA580C 0%, #F59E0B 60%, #FCD34D 100%) !important;
    border: none !important;
    border-radius: var(--jrr-r-sm) !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: var(--jrr-font) !important;
    letter-spacing: -0.1px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(245,158,11,0.35) !important;
    transition: box-shadow 0.18s, transform 0.18s !important;
    text-decoration: none !important;
    margin-top: 20px !important;
    padding: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.jrr-acc-btn-login:hover,
.jrr-acc-btn-register:hover {
    background: linear-gradient(90deg, #C2410C 0%, #D97706 60%, #FBBF24 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245,158,11,0.45) !important;
    color: #FFFFFF !important;
}
.jrr-acc-btn-login:focus-visible,
.jrr-acc-btn-register:focus-visible {
    outline: 3px solid var(--jrr-focus) !important;
    outline-offset: 2px !important;
}

/* Register note */
.jrr-acc-note {
    font-size: 13px !important;
    color: var(--jrr-muted) !important;
    margin: 0 0 14px !important;
    padding: 10px 14px !important;
    background: var(--jrr-bg) !important;
    border-radius: var(--jrr-r-sm) !important;
    border: 1px solid var(--jrr-border) !important;
}

/* ════════════════════════════════════════════════════════════
   LOGGED IN — layout
   ════════════════════════════════════════════════════════════ */
.jrr-acc-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

/* ── Sidebar navigation ─────────────────────────────────────── */
.jrr-acc-sidebar {
    position: sticky;
    top: 100px;
}
.jrr-acc-nav {
    background: var(--jrr-card);
    border: 1px solid var(--jrr-border);
    border-radius: var(--jrr-r-lg);
    box-shadow: var(--jrr-shadow);
    overflow: hidden;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.jrr-acc-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--jrr-text-2) !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s !important;
    border: none !important;
}
.jrr-acc-nav-item svg {
    flex-shrink: 0;
    opacity: 0.65;
    transition: opacity 0.15s;
}
.jrr-acc-nav-item:hover {
    background: var(--jrr-bg) !important;
    color: var(--jrr-text) !important;
}
.jrr-acc-nav-item:hover svg { opacity: 1; }
.jrr-acc-nav-item.is-active {
    background: #FFF8F0 !important;
    color: #EA580C !important;
    font-weight: 600 !important;
}
.jrr-acc-nav-item.is-active svg {
    opacity: 1;
    color: #EA580C;
}
.jrr-acc-nav-item.is-logout {
    color: #DC2626 !important;
    margin-top: 4px;
    border-top: 1px solid var(--jrr-border-2) !important;
    border-radius: 0 0 10px 10px !important;
}
.jrr-acc-nav-item.is-logout:hover {
    background: #FEF2F2 !important;
}
.jrr-acc-nav-item.is-logout svg { opacity: 1; color: #DC2626; }

/* ── Content area ───────────────────────────────────────────── */
.jrr-acc-content .jrr-acc-card { margin-bottom: 0; }

/* ── Global link colour override (ultra-high specificity for Hello Elementor) */
html body #jrr-acc-card-bd a,
html body #jrr-acc-content a,
html body .jrr-account-page .jrr-acc-card-bd a,
html body .jrr-account-page .jrr-acc-content a {
    color: #EA580C !important;
    text-decoration: none !important;
}
html body #jrr-acc-card-bd a:hover,
html body #jrr-acc-content a:hover,
html body .jrr-account-page .jrr-acc-card-bd a:hover,
html body .jrr-account-page .jrr-acc-content a:hover {
    color: #C2410C !important;
    text-decoration: underline !important;
}
/* Exception: nav items keep their own colours */
html body .jrr-acc-nav-item { color: var(--jrr-text-2) !important; }
html body .jrr-acc-nav-item:hover { color: var(--jrr-text) !important; }
html body .jrr-acc-nav-item.is-active { color: #EA580C !important; }
html body .jrr-acc-nav-item.is-logout { color: #DC2626 !important; }

/* ── Account content styles ─────────────────────── */
#jrr-acc-card-bd {
    font-size: 14px !important;
    color: var(--jrr-text-2) !important;
    line-height: 1.7 !important;
}

/* Welcome / dashboard text */
#jrr-acc-card-bd > p,
#jrr-acc-card-bd .woocommerce-MyAccount-content > p {
    font-size: 14px !important;
    color: var(--jrr-muted) !important;
    line-height: 1.7 !important;
    margin: 0 0 16px !important;
}
#jrr-acc-card-bd p a,
#jrr-acc-card-bd a {
    color: #EA580C !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
}
#jrr-acc-card-bd p a:hover,
#jrr-acc-card-bd a:hover {
    color: #C2410C !important;
}

/* ── Orders table ───────────────────────────────────────────── */
.jrr-acc-card-bd .woocommerce-orders-table__wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.jrr-acc-card-bd table.woocommerce-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 13px !important;
    min-width: 440px;
}
.jrr-acc-card-bd table.woocommerce-orders-table thead th {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--jrr-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 0 12px !important;
    border-bottom: 1.5px solid var(--jrr-border) !important;
    background: transparent !important;
    text-align: left !important;
}
.jrr-acc-card-bd table.woocommerce-orders-table tbody tr {
    border-bottom: 1px solid var(--jrr-border-2) !important;
    transition: background 0.15s;
}
.jrr-acc-card-bd table.woocommerce-orders-table tbody tr:hover {
    background: #FAFBFC !important;
}
.jrr-acc-card-bd table.woocommerce-orders-table tbody tr:last-child {
    border-bottom: none !important;
}
.jrr-acc-card-bd table.woocommerce-orders-table td {
    padding: 14px 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--jrr-text-2) !important;
    background: transparent !important;
    vertical-align: middle !important;
}
.jrr-acc-card-bd table.woocommerce-orders-table td a {
    color: var(--jrr-navy) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.jrr-acc-card-bd table.woocommerce-orders-table td a:hover { color: #EA580C !important; }

/* Order status pill inside table */
.jrr-acc-card-bd .woocommerce-orders-table__cell-order-status mark,
.jrr-acc-card-bd .wc-order-status {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: var(--jrr-bg) !important;
    color: var(--jrr-muted) !important;
    border: 1px solid var(--jrr-border) !important;
}
.jrr-acc-card-bd mark.processing { background: #FFF8F0 !important; color: #B45309 !important; border-color: #FCD34D !important; }
.jrr-acc-card-bd mark.completed  { background: #F0FDF4 !important; color: #15803D !important; border-color: #86EFAC !important; }
.jrr-acc-card-bd mark.cancelled  { background: #FEF2F2 !important; color: #B91C1C !important; border-color: #FCA5A5 !important; }
.jrr-acc-card-bd mark.on-hold    { background: #EFF6FF !important; color: #1D4ED8 !important; border-color: #BFDBFE !important; }

/* Order action links (non-button, e.g. "View" links in table) */
.jrr-acc-card-bd table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
    padding: 0 14px !important;
    border: 1.5px solid var(--jrr-border) !important;
    border-radius: var(--jrr-r-sm) !important;
    background: var(--jrr-card) !important;
    color: var(--jrr-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.15s !important;
    white-space: nowrap;
    box-shadow: none !important;
    transform: none !important;
}
.jrr-acc-card-bd table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    background: var(--jrr-bg) !important;
    transform: none !important;
}

/* ── Addresses ──────────────────────────────────────────────── */
/* Override WooCommerce grid/columns completely */
html body .jrr-acc-card-bd .woocommerce-Addresses,
html body .jrr-acc-card-bd .addresses,
html body .jrr-acc-card-bd .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    float: none !important;
    width: 100% !important;
    overflow: hidden !important;
}
/* WooCommerce adds col-1 / col-2 with floats — kill them */
html body .jrr-acc-card-bd .woocommerce-Addresses .col-1,
html body .jrr-acc-card-bd .woocommerce-Addresses .col-2,
html body .jrr-acc-card-bd .woocommerce-Addresses .u-column1,
html body .jrr-acc-card-bd .woocommerce-Addresses .u-column2,
html body .jrr-acc-card-bd .addresses .col-1,
html body .jrr-acc-card-bd .addresses .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
    max-width: none !important;
}
html body .jrr-acc-card-bd .woocommerce-Address {
    background: var(--jrr-bg) !important;
    border: 1px solid var(--jrr-border) !important;
    border-radius: var(--jrr-r-md) !important;
    padding: 20px !important;
    float: none !important;
    width: auto !important;
    box-sizing: border-box !important;
}
html body .jrr-acc-card-bd .woocommerce-Address-title {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    gap: 8px !important;
}
html body .jrr-account-page .jrr-acc-card-bd .woocommerce-Address-title h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--jrr-navy) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: -0.2px !important;
    line-height: 1.4 !important;
    font-family: var(--jrr-font) !important;
}
html body .jrr-acc-card-bd .woocommerce-Address-title a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #EA580C !important;
    text-decoration: underline !important;
    white-space: nowrap;
    flex-shrink: 0;
}
html body .jrr-acc-card-bd .woocommerce-Address-title a:hover {
    color: #C2410C !important;
}
.jrr-acc-card-bd address {
    font-style: normal !important;
    font-size: 14px !important;
    color: var(--jrr-text-2) !important;
    line-height: 1.7 !important;
}
.jrr-acc-card-bd .woocommerce-Address p {
    font-size: 13px !important;
    color: var(--jrr-muted) !important;
    margin: 0 !important;
    font-style: italic;
}
/* "The following addresses…" intro paragraph */
.jrr-acc-card-bd .woocommerce-MyAccount-content > p:first-child {
    font-size: 13px !important;
    color: var(--jrr-muted) !important;
    margin: 0 0 20px !important;
}

/* ── Custom Dashboard (v4.0.0) ──────────────────────────────── */
.jrr-custom-dashboard {
    padding: 0;
}
.jrr-dash-welcome {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--jrr-navy) !important;
    margin: 0 0 8px !important;
    font-family: var(--jrr-font) !important;
}
.jrr-dash-subtitle {
    font-size: 15px !important;
    color: var(--jrr-muted) !important;
    margin: 0 0 32px !important;
    line-height: 1.6 !important;
}
.jrr-dash-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}
.jrr-dash-card {
    display: block !important;
    background: #FFFFFF !important;
    border: 1px solid var(--jrr-border) !important;
    border-radius: var(--jrr-r-md) !important;
    padding: 24px !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
.jrr-dash-card:hover {
    border-color: #F59E0B !important;
    box-shadow: 0 8px 24px rgba(245,158,11,0.12) !important;
    transform: translateY(-2px) !important;
}
.jrr-dash-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: #FFF9ED !important;
    color: #EA580C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
}
.jrr-dash-icon svg {
    width: 24px !important;
    height: 24px !important;
}
.jrr-dash-card h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--jrr-navy) !important;
    margin: 0 0 4px !important;
    font-family: var(--jrr-font) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.jrr-dash-card p {
    font-size: 13px !important;
    color: var(--jrr-muted) !important;
    margin: 0 !important;
}

/* ── Account forms (edit-account, edit-address, lost-password) ─ */
.jrr-acc-card-bd .woocommerce-form-row,
.jrr-acc-card-bd .form-row {
    margin: 0 0 20px !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Beautiful Form Inputs */
html body #jrr-acc-card-bd .input-text,
html body #jrr-acc-card-bd input[type="text"],
html body #jrr-acc-card-bd input[type="email"],
html body #jrr-acc-card-bd input[type="password"],
html body #jrr-acc-card-bd input[type="tel"],
html body #jrr-acc-card-bd select,
html body #jrr-acc-card-bd textarea {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #111827 !important;
    font-family: var(--jrr-font) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
html body #jrr-acc-card-bd select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}
html body #jrr-acc-card-bd .input-text:focus,
html body #jrr-acc-card-bd input[type="text"]:focus,
html body #jrr-acc-card-bd input[type="email"]:focus,
html body #jrr-acc-card-bd input[type="password"]:focus,
html body #jrr-acc-card-bd input[type="tel"]:focus,
html body #jrr-acc-card-bd select:focus,
html body #jrr-acc-card-bd textarea:focus {
    outline: none !important;
    border-color: #F59E0B !important;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.15) !important;
}
html body #jrr-acc-card-bd textarea {
    height: auto !important;
    padding: 12px 16px !important;
    min-height: 100px !important;
}

/* First + Last name side by side */
.jrr-acc-card-bd .woocommerce-EditAccountForm .form-row-first,
.jrr-acc-card-bd .woocommerce-EditAccountForm .form-row-last,
.jrr-acc-card-bd .woocommerce-address-fields .form-row-first,
.jrr-acc-card-bd .woocommerce-address-fields .form-row-last {
    float: none !important;
    clear: none !important;
    width: 100% !important;
}
/* Use a wrapper grid via CSS where WC outputs form-row-first/last pairs */
.jrr-acc-card-bd .woocommerce-EditAccountForm .form-row-first + .form-row-last {
    /* Both sit at natural block flow since we cleared floats */
}
/* Two-column name grid for edit-account */
.jrr-acc-card-bd .woocommerce-EditAccountForm {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 20px !important;
}
.jrr-acc-card-bd .woocommerce-EditAccountForm .form-row {
    grid-column: span 1 !important;
}
/* Full-width rows: display name, email, fieldset, save button */
.jrr-acc-card-bd .woocommerce-EditAccountForm .form-row-wide,
.jrr-acc-card-bd .woocommerce-EditAccountForm fieldset,
.jrr-acc-card-bd .woocommerce-EditAccountForm p:not(.form-row),
.jrr-acc-card-bd .woocommerce-EditAccountForm .save {
    grid-column: span 2 !important;
}

/* Two-column address fields */
.jrr-acc-card-bd .woocommerce-address-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 20px !important;
}
.jrr-acc-card-bd .woocommerce-address-fields__field-wrapper .form-row {
    grid-column: span 1 !important;
    margin: 0 0 14px !important;
}
.jrr-acc-card-bd .woocommerce-address-fields__field-wrapper .form-row-wide,
.jrr-acc-card-bd .woocommerce-address-fields__field-wrapper .address-field.form-row-wide {
    grid-column: span 2 !important;
}
/* Edit Address submit row */
.jrr-acc-card-bd .woocommerce-address-fields > p:not(.woocommerce-address-fields__field-wrapper),
.jrr-acc-card-bd .woocommerce-address-fields .form-row-last-submit {
    grid-column: span 2 !important;
}

.jrr-acc-card-bd fieldset {
    border: 1.5px solid var(--jrr-border) !important;
    border-radius: var(--jrr-r-md) !important;
    padding: 20px !important;
    margin: 6px 0 14px !important;
    display: block !important;
}
.jrr-acc-card-bd fieldset legend {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--jrr-navy) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 8px !important;
    font-family: var(--jrr-font) !important;
}
/* Form labels */
.jrr-acc-card-bd .form-row label,
.jrr-acc-card-bd .woocommerce-form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--jrr-text-2) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}
.jrr-acc-card-bd .form-row label abbr,
.jrr-acc-card-bd .form-row label .required {
    color: #EA580C !important;
    text-decoration: none !important;
    margin-left: 2px;
}
/* Password strength indicator */
.jrr-acc-card-bd .woocommerce-password-strength {
    font-size: 12px !important;
    padding: 6px 10px !important;
    border-radius: var(--jrr-r-sm) !important;
    margin-top: 6px !important;
    font-weight: 600 !important;
}
.jrr-acc-card-bd .woocommerce-password-hint {
    font-size: 12px !important;
    color: var(--jrr-muted) !important;
    margin-top: 4px !important;
}

/* ── All action buttons inside account content ──────────────── */
/* Covers: Save changes, Save address, Browse products, View order, etc. */
.jrr-acc-card-bd .woocommerce-Button,
.jrr-acc-card-bd .woocommerce-button,
.jrr-acc-card-bd button[type="submit"],
.jrr-acc-card-bd input[type="submit"],
.jrr-acc-card-bd .button:not(.jrr-acc-nav-item):not(.page-numbers) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    padding: 0 24px !important;
    background: linear-gradient(90deg, #EA580C 0%, #F59E0B 60%, #FCD34D 100%) !important;
    border: none !important;
    border-radius: var(--jrr-r-sm) !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--jrr-font) !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(245,158,11,0.35) !important;
    transition: box-shadow 0.18s, transform 0.18s !important;
    text-decoration: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: 1 !important;
    white-space: nowrap;
}
.jrr-acc-card-bd .woocommerce-Button:hover,
.jrr-acc-card-bd .woocommerce-button:hover,
.jrr-acc-card-bd button[type="submit"]:hover,
.jrr-acc-card-bd input[type="submit"]:hover,
.jrr-acc-card-bd .button:not(.jrr-acc-nav-item):not(.page-numbers):hover {
    background: linear-gradient(90deg, #C2410C 0%, #D97706 60%, #FBBF24 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(245,158,11,0.45) !important;
    text-decoration: none !important;
}

/* Small inline buttons (e.g. "View" in orders table) stay outlined */
.jrr-acc-card-bd table .button,
.jrr-acc-card-bd table .woocommerce-Button {
    height: 34px !important;
    padding: 0 14px !important;
    background: var(--jrr-card) !important;
    border: 1.5px solid var(--jrr-border) !important;
    color: var(--jrr-text) !important;
    font-size: 12px !important;
    box-shadow: none !important;
}
.jrr-acc-card-bd table .button:hover,
.jrr-acc-card-bd table .woocommerce-Button:hover {
    background: var(--jrr-bg) !important;
    color: var(--jrr-text) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Single order details (view-order endpoint) ─────────────── */
.jrr-acc-card-bd .woocommerce-order-details table.woocommerce-table,
.jrr-acc-card-bd .woocommerce-order-downloads table,
.jrr-acc-card-bd .shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 13px !important;
    margin: 0 !important;
}
.jrr-acc-card-bd .shop_table thead th {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--jrr-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 0 12px !important;
    border-bottom: 1.5px solid var(--jrr-border) !important;
    background: transparent !important;
    text-align: left !important;
}
.jrr-acc-card-bd .shop_table td,
.jrr-acc-card-bd .shop_table th {
    padding: 12px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--jrr-border-2) !important;
    background: transparent !important;
}
.jrr-acc-card-bd .shop_table tfoot tr:last-child td,
.jrr-acc-card-bd .shop_table tfoot tr:last-child th {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--jrr-navy) !important;
    border-bottom: none !important;
}

/* ── WC notices within account ──────────────────────────────── */
.jrr-account-page .woocommerce-error,
.jrr-account-page .woocommerce-message,
.jrr-account-page .woocommerce-info,
/* Also handle top-level page notices printed via wc_print_notices() */
.jrr-acc-card-bd .woocommerce-error,
.jrr-acc-card-bd .woocommerce-message,
.jrr-acc-card-bd .woocommerce-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #FFF9ED !important;
    border: 1px solid #FEF3C7 !important;
    border-left: 4px solid #F59E0B !important;
    border-radius: 8px !important;
    padding: 18px 24px !important;
    margin: 0 0 24px 0 !important;
    color: var(--jrr-text-2) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    list-style: none !important;
    flex-wrap: wrap !important;
}
/* If a notice appears directly on the page (not in a card), reset margins */
.jrr-account-page > .woocommerce-error,
.jrr-account-page > .woocommerce-message,
.jrr-account-page > .woocommerce-info,
.jrr-shop-head + .woocommerce-error,
.jrr-shop-head + .woocommerce-message,
.jrr-shop-head + .woocommerce-info {
    margin: 0 auto 24px !important;
    max-width: 1200px;
    border: 1px solid #FEF3C7 !important;
    border-left: 4px solid #F59E0B !important;
    border-radius: 0 8px 8px 0 !important;
}

.jrr-acc-card-bd .woocommerce-error,
.jrr-account-page .woocommerce-error {
    border-left-color: #DC2626 !important;
    border-bottom-color: #FEE2E2 !important;
    background: #FEF2F2 !important;
    color: #7F1D1D !important;
}
.jrr-account-page > .woocommerce-error,
.jrr-shop-head + .woocommerce-error {
    border-color: #FEE2E2 !important;
    border-left-color: #DC2626 !important;
}

.jrr-acc-card-bd .woocommerce-message,
.jrr-account-page .woocommerce-message {
    border-left-color: #16A34A !important;
    border-bottom-color: #DCFCE7 !important;
    background: #F0FDF4 !important;
    color: #14532D !important;
}
.jrr-account-page > .woocommerce-message,
.jrr-shop-head + .woocommerce-message {
    border-color: #DCFCE7 !important;
    border-left-color: #16A34A !important;
}
.jrr-account-page .woocommerce-error li,
.jrr-account-page .woocommerce-message li,
.jrr-acc-card-bd .woocommerce-error li,
.jrr-acc-card-bd .woocommerce-message li,
.jrr-acc-card-bd .woocommerce-info li { list-style: none !important; padding: 0 !important; }

/* Inline button/link inside notices (e.g. "Browse products" in Orders) */
.jrr-acc-card-bd .woocommerce-info .button,
.jrr-acc-card-bd .woocommerce-info .woocommerce-Button,
.jrr-acc-card-bd .woocommerce-message .button,
.jrr-acc-card-bd .woocommerce-message .woocommerce-Button {
    order: 1 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 18px !important;
    background: linear-gradient(90deg, #EA580C 0%, #F59E0B 60%, #FCD34D 100%) !important;
    border: none !important;
    border-radius: var(--jrr-r-sm) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(245,158,11,0.30) !important;
    cursor: pointer !important;
    transition: box-shadow 0.15s, transform 0.15s !important;
    white-space: nowrap;
}
.jrr-acc-card-bd .woocommerce-info .button:hover,
.jrr-acc-card-bd .woocommerce-info .woocommerce-Button:hover,
.jrr-acc-card-bd .woocommerce-message .button:hover,
.jrr-acc-card-bd .woocommerce-message .woocommerce-Button:hover {
    background: linear-gradient(90deg, #C2410C 0%, #D97706 60%, #FBBF24 100%) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 16px rgba(245,158,11,0.40) !important;
    text-decoration: none !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .jrr-acc-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .jrr-acc-sidebar { position: static; }
    .jrr-acc-nav {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        padding: 10px !important;
    }
    .jrr-acc-nav-item { padding: 8px 12px !important; flex: none !important; }
    .jrr-acc-nav-item span { font-size: 12px !important; }
    .jrr-acc-nav-item.is-logout {
        margin-top: 0 !important;
        border-top: none !important;
        border-radius: 10px !important;
    }
    .jrr-account-page .jrr-shop-head-inner { padding: 0 20px; }
    .jrr-acc-auth-wrap { padding: 42px 20px 72px; }
    .jrr-acc-auth-shell,
    .jrr-acc-auth-two-col .jrr-acc-auth-shell {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
    }
    .jrr-acc-auth-hero {
        padding: 34px;
        border-radius: 22px;
    }
    .jrr-acc-auth-hero h1 {
        font-size: 34px !important;
        letter-spacing: -1px !important;
    }
    .jrr-auth-benefits {
        grid-template-columns: 1fr 1fr 1fr;
    }
    html body .jrr-acc-card-bd .woocommerce-Addresses,
    html body .jrr-acc-card-bd .addresses,
    html body .jrr-acc-card-bd .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }
    .jrr-acc-card-bd .woocommerce-EditAccountForm,
    .jrr-acc-card-bd .woocommerce-address-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    .jrr-acc-card-bd .woocommerce-EditAccountForm .form-row,
    .jrr-acc-card-bd .woocommerce-EditAccountForm .form-row-wide,
    .jrr-acc-card-bd .woocommerce-EditAccountForm fieldset,
    .jrr-acc-card-bd .woocommerce-EditAccountForm .save,
    .jrr-acc-card-bd .woocommerce-address-fields__field-wrapper .form-row,
    .jrr-acc-card-bd .woocommerce-address-fields__field-wrapper .form-row-wide {
        grid-column: span 1 !important;
    }
}

@media (max-width: 600px) {
    .jrr-acc-auth-wrap,
    .jrr-acc-auth-two-col { padding: 24px 12px 48px; }
    .jrr-acc-auth-two-col .jrr-acc-auth-grid { grid-template-columns: 1fr; }
    .jrr-acc-auth-hero {
        padding: 26px 22px;
        border-radius: 18px;
    }
    .jrr-acc-auth-hero h1 {
        font-size: 30px !important;
    }
    .jrr-acc-auth-hero p {
        font-size: 14px !important;
        margin-bottom: 22px !important;
    }
    .jrr-auth-benefits {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .jrr-auth-benefit {
        min-height: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }
    .jrr-auth-benefit span {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .jrr-acc-grid { padding: 0 12px; }
    .jrr-account-page .jrr-shop-head-inner { padding: 0 12px; }
    .jrr-acc-card-bd { padding: 16px !important; }
    .jrr-acc-card-bd .woocommerce-info,
    .jrr-acc-card-bd .woocommerce-message {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .jrr-acc-card-bd .woocommerce-info .button,
    .jrr-acc-card-bd .woocommerce-message .button {
        margin-left: 0 !important;
        width: 100% !important;
    }
    /* Scroll horizontally on mobile rather than collapsing (preserves a11y column headers) */
    .jrr-acc-card-bd .woocommerce-orders-table__wrapper,
    .jrr-acc-card-bd table.woocommerce-orders-table {
        overflow-x: auto !important;
        display: block !important;
        white-space: nowrap;
    }
    .jrr-acc-card-bd table.woocommerce-orders-table th,
    .jrr-acc-card-bd table.woocommerce-orders-table td {
        padding: 12px 10px 12px 0 !important;
    }
}

/* ── Mobile My Account rebuild (all endpoints) ───────────────── */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .jrr-account-page {
        padding-bottom: 40px;
    }

    .jrr-account-page .jrr-shop-head {
        padding: 18px 0 16px;
        margin-bottom: 18px;
    }

    .jrr-account-page .jrr-shop-head-inner {
        padding: 0 16px !important;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }

    .jrr-account-page .jrr-shop-title {
        font-size: 26px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.7px !important;
        max-width: calc(100% - 88px);
    }

    .jrr-account-page .jrr-cart-badge {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }

    .jrr-acc-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 16px;
        width: 100%;
        padding: 0 16px !important;
        max-width: 100%;
    }

    .jrr-acc-sidebar {
        position: static !important;
        width: 100%;
        min-width: 0;
    }

    .jrr-acc-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 10px !important;
        border-radius: 18px !important;
        overflow: visible !important;
    }

    .jrr-acc-nav-item {
        min-width: 0 !important;
        width: 100% !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 11px 10px !important;
        border-radius: 12px !important;
        line-height: 1.2 !important;
    }

    .jrr-acc-nav-item svg {
        width: 16px !important;
        height: 16px !important;
    }

    .jrr-acc-nav-item span {
        min-width: 0 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px !important;
    }

    .jrr-acc-nav-item.is-logout {
        margin-top: 0 !important;
        border-top: none !important;
    }

    .jrr-acc-content,
    .jrr-acc-card,
    .jrr-acc-card-bd {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .jrr-acc-card {
        border-radius: 18px;
    }

    .jrr-acc-card-bd {
        padding: 20px !important;
        overflow: hidden;
    }

    .jrr-custom-dashboard .jrr-dash-welcome {
        font-size: 22px !important;
    }

    .jrr-dash-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .jrr-dash-cards {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .jrr-dash-card {
        padding: 18px !important;
    }

    html body .jrr-acc-card-bd .woocommerce-Addresses,
    html body .jrr-acc-card-bd .addresses,
    html body .jrr-acc-card-bd .u-columns.woocommerce-Addresses {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    html body .jrr-acc-card-bd .woocommerce-Addresses .col-1,
    html body .jrr-acc-card-bd .woocommerce-Addresses .col-2,
    html body .jrr-acc-card-bd .woocommerce-Addresses .u-column1,
    html body .jrr-acc-card-bd .woocommerce-Addresses .u-column2,
    html body .jrr-acc-card-bd .addresses .col-1,
    html body .jrr-acc-card-bd .addresses .col-2,
    html body .jrr-acc-card-bd .woocommerce-Addresses > div,
    html body .jrr-acc-card-bd .addresses > div {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    html body .jrr-acc-card-bd .woocommerce-Address {
        padding: 18px !important;
        border-radius: 14px !important;
    }

    .jrr-acc-card-bd > p,
    #jrr-acc-card-bd > p {
        font-size: 14px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }

    .jrr-acc-card-bd .woocommerce-EditAccountForm,
    .jrr-acc-card-bd .woocommerce-address-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    html body #jrr-acc-card-bd form,
    html body #jrr-acc-card-bd .woocommerce-EditAccountForm,
    html body #jrr-acc-card-bd .woocommerce-address-fields,
    html body #jrr-acc-card-bd .woocommerce-address-fields__field-wrapper,
    html body #jrr-acc-card-bd .woocommerce-form-login,
    html body #jrr-acc-card-bd .woocommerce-form-register,
    html body #jrr-acc-card-bd .woocommerce-ResetPassword {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    html body #jrr-acc-card-bd .form-row,
    html body #jrr-acc-card-bd .woocommerce-form-row,
    html body #jrr-acc-card-bd .form-row-first,
    html body #jrr-acc-card-bd .form-row-last,
    html body #jrr-acc-card-bd .form-row-wide,
    html body #jrr-acc-card-bd .address-field,
    html body #jrr-acc-card-bd p.form-row {
        display: block !important;
        float: none !important;
        clear: both !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 16px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    html body #jrr-acc-card-bd .clear {
        display: none !important;
        clear: none !important;
    }

    .jrr-acc-card-bd fieldset {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 18px !important;
        margin: 6px 0 20px !important;
        overflow: visible !important;
        grid-column: 1 / -1 !important;
        box-sizing: border-box !important;
    }

    html body #jrr-acc-card-bd fieldset .form-row,
    html body #jrr-acc-card-bd fieldset .woocommerce-form-row {
        margin-bottom: 16px !important;
    }

    html body #jrr-acc-card-bd fieldset .form-row:last-child,
    html body #jrr-acc-card-bd fieldset .woocommerce-form-row:last-child {
        margin-bottom: 0 !important;
    }

    html body #jrr-acc-card-bd fieldset legend {
        width: auto !important;
        max-width: calc(100% - 16px) !important;
        white-space: normal !important;
        line-height: 1.35 !important;
    }

    html body #jrr-acc-card-bd label,
    html body #jrr-acc-card-bd .form-row label,
    html body #jrr-acc-card-bd .woocommerce-form-row label {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    html body #jrr-acc-card-bd .woocommerce-input-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    html body #jrr-acc-card-bd input[type="text"],
    html body #jrr-acc-card-bd input[type="email"],
    html body #jrr-acc-card-bd input[type="password"],
    html body #jrr-acc-card-bd input[type="tel"],
    html body #jrr-acc-card-bd input[type="number"],
    html body #jrr-acc-card-bd select,
    html body #jrr-acc-card-bd textarea,
    html body #jrr-acc-card-bd .input-text,
    html body #jrr-acc-card-bd .select2-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body #jrr-acc-card-bd input[type="text"],
    html body #jrr-acc-card-bd input[type="email"],
    html body #jrr-acc-card-bd input[type="password"],
    html body #jrr-acc-card-bd input[type="tel"],
    html body #jrr-acc-card-bd input[type="number"],
    html body #jrr-acc-card-bd select,
    html body #jrr-acc-card-bd .input-text {
        height: 52px !important;
        font-size: 16px !important;
        padding: 0 14px !important;
    }

    html body #jrr-acc-card-bd textarea {
        min-height: 120px !important;
        font-size: 16px !important;
    }

    html body #jrr-acc-card-bd em {
        display: block !important;
        width: 100% !important;
        margin-top: 8px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
        color: var(--jrr-muted) !important;
    }

    html body #jrr-acc-card-bd button[type="submit"],
    html body #jrr-acc-card-bd input[type="submit"],
    html body #jrr-acc-card-bd .woocommerce-Button,
    html body #jrr-acc-card-bd .button {
        width: 100% !important;
        min-height: 50px !important;
        white-space: normal !important;
    }

    .jrr-acc-card-bd .woocommerce-info,
    .jrr-acc-card-bd .woocommerce-message,
    .jrr-acc-card-bd .woocommerce-error {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 18px !important;
        margin: 0 !important;
    }

    .jrr-acc-card-bd .woocommerce-info .button,
    .jrr-acc-card-bd .woocommerce-message .button,
    .jrr-acc-card-bd .woocommerce-error .button {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .jrr-account-page .jrr-shop-title {
        font-size: 24px !important;
        max-width: 100%;
    }

    .jrr-account-page .jrr-cart-badge {
        order: 2;
    }

    .jrr-acc-grid {
        padding: 0 12px !important;
    }

    .jrr-acc-nav {
        grid-template-columns: 1fr !important;
    }

    .jrr-acc-card-bd {
        padding: 16px !important;
    }

    html body .jrr-acc-card-bd .woocommerce-Address-title,
    html body .jrr-acc-card-bd .woocommerce-Addresses > div > header,
    html body .jrr-acc-card-bd header.title {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    html body .jrr-acc-card-bd .woocommerce-Address-title a,
    html body .jrr-acc-card-bd .woocommerce-Addresses > div > header a,
    html body .jrr-acc-card-bd header.title a {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ── Sticky menu harmony: My Account title as page intro, not another white header ── */
.jrr-account-page .jrr-shop-head {
    background: transparent !important;
    border-bottom: 0 !important;
    padding: 30px 0 12px !important;
    margin-bottom: 22px !important;
}

.jrr-account-page .jrr-shop-head-inner {
    max-width: 1200px;
}

.jrr-account-page .jrr-shop-title {
    font-size: clamp(24px, 2.4vw, 34px) !important;
    font-weight: 540 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.08 !important;
}

.jrr-account-page .jrr-cart-badge {
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(16, 24, 39, 0.08) !important;
    color: rgba(75, 85, 99, 0.92) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

@media (max-width: 768px) {
    .jrr-account-page .jrr-shop-head {
        padding: 22px 0 6px !important;
        margin-bottom: 14px !important;
    }
}
