/* Universal Bricks V3. Layout rules are scoped to My Account; rewards widgets own their styles. */
body.woocommerce-account {
    --uba-gold:#e3c686; --uba-text:#faf6ff; --uba-muted:#c9b9d7; --uba-border:#73538766;
    --uba-panel:#29183b; --uba-deep:#160c25; color:var(--uba-text); background:#160c25;
}
body.woocommerce-account #main { background:radial-gradient(ellipse at 90% 0,#6d389d26,transparent 55%),#160c25; padding-bottom:64px; }
body.woocommerce-account .entry-content>.woocommerce { max-width:1440px; margin-inline:auto; color:var(--uba-text); }
body.woocommerce-account .woocommerce-MyAccount-navigation { float:none; width:210px; padding:12px; border:1px solid var(--uba-border); border-radius:18px; background:#241431; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin:0; padding:0; border:0; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { display:flex; align-items:center; min-height:48px; padding:12px; border:1px solid transparent; border-radius:10px; color:#e6dced; font-size:14px; font-weight:550; line-height:1.4; text-decoration:none; }
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background:#392449; color:#fff; }
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active>a { background:#4a2d60; border-color:#c4a06470; color:#f5dc9f; }
body.woocommerce-account .woocommerce-MyAccount-navigation .uba-admin-nav>a { color:#e3c686; }
body.woocommerce-account .woocommerce-MyAccount-navigation .uba-admin-first { margin-top:22px; padding-top:14px; border-top:1px solid var(--uba-border); }
body.woocommerce-account .woocommerce-MyAccount-navigation .uba-admin-first:before { content:"STORE MANAGEMENT"; display:block; padding:0 12px 9px; color:#bc9b65; font-size:9px; font-weight:700; letter-spacing:.15em; }
body.woocommerce-account .woocommerce-MyAccount-content { float:none; min-width:0; width:100%; padding:28px; background:linear-gradient(140deg,#30203f,#21132e); border:1px solid var(--uba-border); border-radius:22px; box-shadow:0 18px 64px #07030f30; color:var(--uba-text); }
body.woocommerce-account .woocommerce-MyAccount-content :is(h2,h3,h4,legend) { color:#faf6ff; }
body.woocommerce-account .woocommerce-MyAccount-content h2 { font-size:clamp(24px,2.2vw,34px); line-height:1.18; letter-spacing:-.035em; margin:5px 0 12px; }
body.woocommerce-account .woocommerce-MyAccount-content h3 { font-size:20px; letter-spacing:-.025em; line-height:1.3; margin:0 0 14px; }
body.woocommerce-account .woocommerce-MyAccount-content p { font-size:14px; line-height:1.7; }
body.woocommerce-account .woocommerce-MyAccount-content a { color:#ecd299; text-decoration-thickness:1px; text-underline-offset:3px; }
body.woocommerce-account .woocommerce-MyAccount-content :is(.button,button),body.woocommerce-account .u-columns button,.uba-rewards button {
    display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 17px; border:1px solid #ebce92; border-radius:10px; color:#251537; background:#e3c686; font:inherit; font-size:13px; font-weight:650; line-height:1.35; text-decoration:none; cursor:pointer; white-space:normal; text-align:center;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(.button,button):hover { background:#f6dfad; color:#251537; }
body.woocommerce-account .woocommerce-MyAccount-content .uba-secondary { background:#372245; color:#eddbb3; border-color:#9b7c526e; }
body.woocommerce-account .woocommerce-MyAccount-content .uba-secondary:hover { background:#4b305d; color:#fff0d0; }
.uba-icon { display:inline-block; flex-shrink:0; width:24px; height:24px; vertical-align:middle; }
.uba-heading { margin-bottom:26px; }
.uba-heading>p,.uba-muted { color:#c9b9d7; }
.uba-eyebrow { display:block; color:#d9ba80; font-size:10px; line-height:1.5; letter-spacing:.13em; text-transform:uppercase; font-weight:700; }
.uba-hero { position:relative; overflow:hidden; padding:10px 0 26px; margin-bottom:6px; border-bottom:1px solid #9875b02c; }
.uba-hero-person { display:flex; gap:18px; align-items:center; margin-bottom:14px; }
.uba-hero-person>img { width:80px; height:80px; flex-shrink:0; border:2px solid #d5b373; border-radius:24px; object-fit:cover; padding:4px; background:#21132d; }
body.woocommerce-account .uba-hero h2 { margin-top:7px; }
body.woocommerce-account .uba-hero p { margin:0; color:#cfc1db; }
.uba-text-link { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:650; text-decoration:none; }
.uba-text-link .uba-icon { width:18px; height:18px; }
.uba-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0; }
.uba-stat { position:relative; min-width:0; padding:20px 18px; border:1px solid #795a8d55; border-radius:16px; background:linear-gradient(135deg,#39234b99,#251634); }
.uba-stat>span:not(.uba-stat-icon) { display:block; color:#ddd0e7; font-size:12px; line-height:1.5; }
.uba-stat-icon { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; margin-bottom:15px; background:#d2ac5c14; color:#dfc084; }
.uba-stat-icon svg { width:20px; height:20px; }
.uba-stat>strong { display:block; margin:7px 0 4px; color:#f6e8c8; font-size:clamp(24px,2.4vw,34px); line-height:1.2; letter-spacing:-.04em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.uba-stat>small { display:block; color:#bda9cf; font-size:10px; line-height:1.6; }
.uba-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr); gap:22px; align-items:start; margin-top:30px; }
.uba-dashboard-aside { min-width:0; display:grid; gap:16px; }
.uba-section-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:0 0 17px; }
body.woocommerce-account .uba-section-heading h3 { margin:4px 0 0; }
.uba-count { flex-shrink:0; color:#c5b0d6; font-size:11px; border:1px solid #8a659d4d; border-radius:20px; padding:5px 10px; }
.uba-order-card { padding:20px; margin-bottom:16px; border:1px solid #78558e6b; border-radius:17px; background:#241431b3; }
.uba-order-card>header { display:flex; align-items:start; justify-content:space-between; gap:14px; }
.uba-order-card time { display:block; color:#a993bc; font-size:11px; margin-top:5px; }
.uba-status { padding:5px 10px; border:1px solid #8b6b9f6b; border-radius:20px; color:#dfd1ea; background:#3c2850; font-size:10px; font-weight:650; line-height:1.4; }
.uba-status-completed { color:#b0dfc0; background:#29543c55; border-color:#5d987a66; }
.uba-status-processing { color:#ecd29a; background:#91713c25; border-color:#b28d496b; }
.uba-status-ub-dispatched,.uba-status-dispatched,.uba-status-shipped { color:#cdb5fb; background:#7142b733; }
.uba-order-products { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:20px 0; }
.uba-order-thumbs { display:flex; gap:5px; align-items:center; }
.uba-order-thumbs :is(img,.uba-thumb-fallback) { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; object-fit:contain; padding:4px; background:#f2ecf6; border-radius:9px; border:1px solid #d7c6df; color:#67487d; }
.uba-thumb-more { color:#c8addb; font-size:11px; padding:4px; }
.uba-order-product-copy { flex:1; min-width:125px; }
.uba-order-product-copy>strong { display:block; color:#f5eafb; font-size:13px; }
.uba-order-product-copy>span { display:block; color:#b8a2c9; font-size:11px; margin-top:4px; line-height:1.5; overflow-wrap:anywhere; }
.uba-order-progress { display:flex; list-style:none; padding:0; margin:20px 0; }
.uba-order-progress li { position:relative; flex:1; min-width:0; display:flex; align-items:center; flex-direction:column; gap:7px; font-size:9px; line-height:1.4; color:#ad94bf; text-align:center; }
.uba-order-progress li+li:before { content:""; position:absolute; right:50%; top:10px; width:100%; height:1px; background:#7f5b9655; }
.uba-step-dot { z-index:1; display:flex; align-items:center; justify-content:center; width:21px; height:21px; border:1px solid #735287; background:#291837; border-radius:50%; }
.uba-step-dot svg { width:12px; height:12px; }
.uba-order-progress .is-reached { color:#dcc088; }
.uba-order-progress .is-reached .uba-step-dot { border-color:#cfad6b; color:#251337; background:#d9b979; }
.uba-order-progress [aria-current=step] { font-weight:700; color:#fff0c8; }
.uba-order-card>footer { display:flex; justify-content:space-between; align-items:center; gap:14px; padding-top:15px; border-top:1px solid #84629738; }
.uba-order-card>footer small { display:block; color:#ad96c0; font-size:10px; }
.uba-order-card>footer strong { color:#f9edd5; font-size:16px; }
.uba-order-actions { display:flex; flex-wrap:wrap; justify-content:end; gap:6px; }
body.woocommerce-account .uba-order-actions .button { min-height:40px; padding:9px 12px; font-size:11px; }
body.woocommerce-account .uba-tracking { display:flex; gap:8px; align-items:center; font-size:11px; color:#baa4cd; margin:8px 0 14px; overflow-wrap:anywhere; }
.uba-tracking svg { width:17px; height:17px; }
.uba-receive { padding-top:17px; margin-top:16px; border-top:1px solid #a9875145; }
.uba-receive>strong { color:#ead29e; font-size:13px; }
body.woocommerce-account .uba-receive p { font-size:11px; margin:5px 0 9px; color:#bda7ce; }
.uba-receive .uba-form { max-width:none; }
body.woocommerce-account .uba-receive button { font-size:11px; }
.uba-reward-card { position:relative; overflow:hidden; padding:24px 22px; border:1px solid #ffe6b5; border-radius:20px; background:radial-gradient(circle at 95% 8%,#fff6d599,transparent 40%),linear-gradient(145deg,#ecd4a0,#c7a068); color:#2e1a36; box-shadow:0 10px 30px #08020d35; }
.uba-reward-card:before { content:""; position:absolute; right:-16px; top:60px; width:112px; height:112px; pointer-events:none; opacity:.12; background:radial-gradient(circle,#58364e 9px,transparent 10px) 0 0/32px 32px; transform:rotate(-12deg); }
.uba-reward-card-top { display:flex; justify-content:space-between; align-items:center; gap:10px; position:relative; }
.uba-reward-card .uba-eyebrow { color:#56384c; font-size:9px; }
body.woocommerce-account .uba-reward-balance { margin:28px 0 8px; position:relative; line-height:1; }
.uba-reward-balance strong { display:block; color:#291631; font-size:clamp(40px,4vw,58px); letter-spacing:-.065em; font-weight:750; font-variant-numeric:tabular-nums; }
.uba-reward-balance>span { display:block; margin-top:10px; font-size:12px; }
body.woocommerce-account .uba-reward-value { color:#4b3046; font-size:12px; margin:0 0 24px; line-height:1.6; }
.uba-reward-mini { display:grid; grid-template-columns:1fr 1fr; gap:12px; border-top:1px solid #68424e30; padding-top:18px; margin-bottom:18px; }
.uba-reward-mini span { display:block; font-size:10px; color:#573b4f; }
.uba-reward-mini strong { display:block; font-size:18px; color:#2e1a35; margin-top:4px; }
body.woocommerce-account .uba-reward-card a { color:#311c37; font-size:12px; }
body.woocommerce-account .uba-reward-rule { color:#553a4a; font-size:10px; line-height:1.65; margin:16px 0 0; }
.uba-birthday-card { display:flex; gap:11px; padding:17px; border:1px solid #9b7b5155; border-radius:14px; background:#3b264a77; }
.uba-birthday-card>svg { color:#d9b675; width:21px; height:21px; }
.uba-birthday-card strong { font-size:12px; color:#ead5a6; }
body.woocommerce-account .uba-birthday-card p { margin:4px 0 0; font-size:11px; color:#bfa9d0; line-height:1.65; }
.uba-help-card { padding:22px; border:1px solid #7c5b8c50; border-radius:17px; background:#271735; }
.uba-help-card>svg { color:#bb99d1; margin-bottom:14px; }
body.woocommerce-account .uba-help-card h3 { font-size:16px; }
body.woocommerce-account .uba-help-card p { font-size:12px; color:#bda9cd; }
.uba-points-history { margin-top:32px; padding-top:24px; border-top:1px solid #8a659c3d; scroll-margin-top:140px; }
#orders,#addresses,#adjust-points { scroll-margin-top:140px; }
.uba-activity { list-style:none; margin:0; padding:0; }
.uba-activity li { display:flex; align-items:center; gap:13px; padding:16px 0; border-bottom:1px solid #8c659f29; }
.uba-activity-icon { display:flex; align-items:center; justify-content:center; width:36px; height:36px; flex-shrink:0; border-radius:11px; color:#c8a76b; background:#c5a7660f; border:1px solid #a3804630; }
.uba-activity-icon svg { width:18px; height:18px; }
.uba-activity li>div { min-width:0; flex:1; }
.uba-activity li>div strong { display:block; color:#e9dfee; font-size:12px; font-weight:550; overflow-wrap:anywhere; }
.uba-activity small { display:block; color:#ac93bf; font-size:10px; line-height:1.5; margin-top:5px; }
.uba-activity-amount { margin-left:auto; flex-shrink:0; color:#ccbacf; font-size:17px; font-weight:650; text-align:right; font-variant-numeric:tabular-nums; }
.uba-activity-amount.is-credit { color:#e5c688; }
.uba-activity-amount small { font-size:9px; font-weight:400; margin-top:0; }
.uba-history-details>summary { margin:20px 0; }
body.woocommerce-account .uba-points-terms { font-size:11px; margin-top:20px; }
.uba-empty { text-align:center; padding:40px 20px; border:1px dashed #9971ae70; border-radius:17px; }
.uba-empty>svg { color:#d3b477; width:40px; height:40px; margin-bottom:16px; }
body.woocommerce-account .uba-empty h3 { font-size:18px; }
body.woocommerce-account .uba-empty p { font-size:12px; color:#bba5cd; }
.uba-box,.uba-settings-panel { padding:22px; border:1px solid #805d9559; border-radius:17px; background:#251533b3; margin:18px 0; }
.uba-settings-panel h3>svg { margin-right:8px; color:#d0b078; }
.uba-settings-panel .woocommerce-EditAccountForm { margin-top:24px; }
body.woocommerce-account .woocommerce-MyAccount-content fieldset { margin:24px 0; padding:20px; border:1px solid #87619955; border-radius:13px; background:#301e3d66; }
body.woocommerce-account .woocommerce-MyAccount-content legend { font-size:15px; padding-inline:8px; }
.uba-avatar img { width:72px; height:72px; object-fit:cover; border-radius:20px; border:2px solid #cba76a; }
.uba-birthday-saved { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.uba-birthday-saved>svg { color:#dfbd7b; }
.uba-birthday-saved>span { color:#bba3ce; font-size:12px; }
.uba-addresses { margin-top:30px; }
.uba-address-panel { margin:12px 0; border:1px solid #87619c55; border-radius:16px; background:#281735; }
.uba-address-panel>summary { display:flex; align-items:center; gap:12px; padding:20px; color:#ebd4a4; list-style:none; }
.uba-address-panel>summary::-webkit-details-marker { display:none; }
.uba-detail-hint { margin-left:auto; color:#b6a0c7; font-size:11px; }
.uba-address-panel[open] .uba-detail-hint { display:none; }
.uba-address-form { padding:0 20px 20px; }
body.woocommerce-account .uba-address-form h2 { font-size:19px; }
body.woocommerce-account details>summary { cursor:pointer; min-height:44px; font-size:13px; font-weight:600; }
.uba-support-hero { padding:14px 0 24px; border-bottom:1px solid #87629940; margin-bottom:24px; }
.uba-support-hero p { max-width:520px; color:#cbb8d9; }
.uba-support-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(210px,1fr); gap:22px; align-items:start; }
.uba-support-layout>.uba-settings-panel { margin-top:0; }
.uba-callout { padding:14px 17px; color:#e7d8ee; background:#70512822; border:1px solid #bc954d55; border-radius:12px; font-size:12px; line-height:1.65; }
.uba-quick { display:flex; gap:9px; flex-wrap:wrap; margin:18px 0; }
.uba-form { max-width:660px; }
.uba-form p { margin:14px 0; }
.uba-form button { margin-top:12px; }
.uba-form textarea { resize:vertical; min-height:150px; }
.uba-form label,.uba-search label { display:block; font-size:12px; line-height:1.6; margin-bottom:7px; }
body.woocommerce-account .uba-check { display:flex; align-items:flex-start; gap:9px; font-size:12px; line-height:1.6; }
.uba-check input { margin:4px 0 0; flex-shrink:0; accent-color:#d7b477; }
.uba-hp { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
body.woocommerce-account input:not([type=checkbox]):not([type=radio]):not([type=submit]),body.woocommerce-account select,body.woocommerce-account textarea,.uba-rewards input[type=number] {
    width:100%; max-width:100%; min-height:44px; border:1px solid #86629f!important; border-radius:9px!important; background:#1c102b!important; color:#faf5ff!important; box-shadow:none!important; padding:10px 12px; font-size:14px; line-height:1.4; box-sizing:border-box;
}
body.woocommerce-account :is(input,textarea)::placeholder { color:#aa91bb!important; opacity:1; }
body.woocommerce-account select option { color:#fff; background:#281836; }
body.woocommerce-account label { color:#ecdfef; }
body.woocommerce-account :focus-visible,.uba-rewards :focus-visible,.uba-basket-rewards :focus-visible,.uba-toast :focus-visible { outline:2px solid #efd18f; outline-offset:4px; }
.uba-search { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin:20px 0; }
.uba-search>label { flex:1; min-width:140px; }
.uba-search>button { flex-shrink:0; margin-bottom:7px; }
.uba-search input,.uba-search select { margin-top:6px; }
.uba-table { max-width:100%; overflow:auto; margin:18px 0; scrollbar-color:#8d6c9d #281837; }
body.woocommerce-account :is(.uba-table table,.woocommerce-table) { width:100%; border-collapse:collapse; background:transparent; color:#f2e9f7; font-size:12px; }
body.woocommerce-account :is(.uba-table,.woocommerce-table) :is(th,td) { padding:13px 10px; vertical-align:top; border:0; border-bottom:1px solid #956eaa44; background:transparent; text-align:left; }
body.woocommerce-account :is(.uba-table,.woocommerce-table) th { color:#dac08c; font-size:11px; font-weight:650; }
.uba-table small { display:block; color:#b9a1cd; font-size:10px; line-height:1.6; margin:4px 0; overflow-wrap:anywhere; }
.uba-table td:first-child { overflow-wrap:anywhere; }
.uba-table table { min-width:760px; }
.uba-admin-orders { min-width:800px; }
.uba-admin-orders td:last-child { min-width:240px; }
.uba-admin-orders td:nth-child(2) { max-width:230px; }
.uba-admin-orders .uba-form { min-width:220px; }
.uba-admin-orders .uba-form p { margin:10px 0; }
.uba-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:20px 0; color:#b99fce; font-size:11px; }
.uba-pagination>span { margin-inline:auto; }
.uba-rewards,.uba-basket-rewards { box-sizing:border-box; color:#f8f0ff; background:linear-gradient(135deg,#3f2850,#231432); border:1px solid #bd985e; border-radius:16px; padding:23px; margin:20px 0; font-family:inherit; font-size:13px; clear:both; }
.uba-basket-rewards { box-shadow:inset 0 3px #dcc084,0 10px 28px #10091b22; }
:is(.uba-rewards,.uba-basket-rewards) h3 { color:#f2dbab; font-size:19px; line-height:1.35; letter-spacing:-.02em; margin:8px 0 18px; }
:is(.uba-rewards,.uba-basket-rewards) p { color:#d9c9e4; font-size:12px; line-height:1.7; margin:12px 0 0; }
:is(.uba-rewards,.uba-basket-rewards) a { color:#f1d391; text-underline-offset:3px; }
.uba-estimate-value { display:flex; align-items:center; gap:13px; margin:16px 0; }
.uba-estimate-value>strong { color:#f4d78f; font-size:42px; font-weight:750; line-height:1.1; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }
.uba-estimate-value>span { color:#f8ebcf; font-size:15px; }
.uba-estimate-value small { display:block; color:#c1a9d1; font-size:11px; line-height:1.6; }
.uba-slider { display:flex; align-items:center; gap:12px; margin:12px 0; }
.uba-slider input[type=range] { flex:1; min-width:0; height:44px; accent-color:#d9b878; cursor:pointer; }
.uba-slider input[type=number] { flex-shrink:0; width:95px; min-height:44px; }
.uba-rewards[aria-busy=true] { opacity:.8; }
.uba-toast { box-sizing:border-box; position:fixed; right:18px; top:110px; z-index:99999; display:flex; align-items:flex-start; gap:12px; width:min(390px,calc(100vw - 32px)); padding:19px 48px 19px 18px; color:#f9f4ff; background:#2c1a3efc; border:1px solid #d2b173; border-radius:16px; box-shadow:0 12px 46px #0d061961,inset 0 2px #e4c78b; animation:uba-toast-in .18s ease-out; font-family:inherit; }
.uba-toast-icon { display:flex; color:#e4c786; margin-top:1px; }
.uba-toast-icon svg { width:23px; height:23px; }
.uba-toast strong { display:block; font-size:13px; line-height:1.45; color:#f2d9a0; font-weight:700; }
.uba-toast p { margin:7px 0 0; font-size:12px; line-height:1.65; color:#e0cfe9; }
.uba-toast button { position:absolute; right:3px; top:3px; display:block; width:44px; height:44px; min-height:44px; padding:0; background:transparent; border:0; color:#d8c3e4; border-radius:10px; font-size:24px; line-height:44px; cursor:pointer; }
.uba-toast button:hover { background:#ffffff0c; color:#fff; }
.uba-toast[hidden],#uba-points-data[hidden],#uba-basket-rewards[hidden] { display:none!important; }
@keyframes uba-toast-in { from { transform:translateY(-8px); opacity:0; } to { transform:translateY(0); opacity:1; } }
body.woocommerce-account .u-columns { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
body.woocommerce-account .u-columns>:is(.u-column1,.u-column2) { width:auto; min-width:0; float:none; padding:26px; border:1px solid var(--uba-border); border-radius:19px; background:linear-gradient(135deg,#352244,#241530); }
body.woocommerce-account .u-columns h2 { color:#f6eaff; font-size:26px; }
body.woocommerce-account .u-columns a { color:#e8cd91; }
body.woocommerce-account .woocommerce-notices-wrapper { grid-column:1/-1; }
@media(min-width:1100px) {
    body.woocommerce-account .entry-content>.woocommerce:has(.woocommerce-MyAccount-navigation) { display:grid; grid-template-columns:210px minmax(0,1fr); gap:22px; align-items:start; }
    body.woocommerce-account .woocommerce-MyAccount-navigation { position:sticky; top:145px; }
}
@media(max-width:1099px) {
    body.woocommerce-account .woocommerce-MyAccount-navigation { width:100%; margin-bottom:18px; }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
    body.woocommerce-account .woocommerce-MyAccount-navigation a { justify-content:center; text-align:center; }
    body.woocommerce-account .woocommerce-MyAccount-navigation .uba-admin-first { margin:0; padding:0; border:0; }
    body.woocommerce-account .woocommerce-MyAccount-navigation .uba-admin-first:before { display:none; }
    body.woocommerce-account .woocommerce-MyAccount-navigation .uba-admin-nav>a { background:#b38e4210; border-color:#b38e4244; }
    body.woocommerce-account .woocommerce-MyAccount-content { padding:24px; }
}
@media(max-width:800px) {
    .uba-dashboard-grid,.uba-support-layout { grid-template-columns:minmax(0,1fr); }
    .uba-dashboard-aside { grid-row:1; grid-template-columns:1fr 1fr; align-items:start; }
    .uba-reward-card { grid-row:span 2; }
    .uba-dashboard-aside>.uba-callout { grid-column:1/-1; }
    .uba-dashboard-aside>.uba-muted { grid-column:1/-1; }
    .uba-birthday-card { flex-direction:column; }
    body.woocommerce-account .u-columns { grid-template-columns:1fr; }
}
@media(max-width:540px) {
    body.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
    body.woocommerce-account .woocommerce-MyAccount-navigation a { font-size:12px; padding:11px 7px; }
    body.woocommerce-account .woocommerce-MyAccount-content { border-radius:16px; padding:17px; }
    .uba-hero-person { align-items:flex-start; gap:12px; }
    .uba-hero-person>img { width:56px; height:56px; border-radius:17px; }
    .uba-hero .uba-eyebrow { font-size:8px; letter-spacing:.09em; }
    body.woocommerce-account .uba-hero h2 { font-size:24px; }
    body.woocommerce-account .uba-hero p { font-size:11px; }
    .uba-stats { grid-template-columns:minmax(0,1fr); gap:9px; margin:20px 0; }
    .uba-stat { display:grid; grid-template-columns:36px minmax(0,1fr) auto; column-gap:12px; padding:15px; align-items:center; }
    .uba-stat-icon { grid-row:1/3; margin:0; }
    .uba-stat>span:not(.uba-stat-icon) { font-size:11px; }
    .uba-stat>strong { grid-column:3; grid-row:1/3; margin:0; font-size:25px; }
    .uba-stat>small { grid-column:2; font-size:9px; max-width:160px; }
    .uba-dashboard-aside { grid-template-columns:1fr; }
    .uba-dashboard-grid { margin-top:22px; gap:28px; }
    .uba-birthday-card { flex-direction:row; }
    .uba-reward-card { padding:23px; }
    .uba-reward-balance strong { font-size:54px; }
    .uba-dashboard-aside>.uba-help-card { display:none; } /* The permanent Returns & Support tab remains visible. */
    .uba-order-card { padding:15px; }
    .uba-order-card>footer { flex-wrap:wrap; }
    .uba-order-actions { margin-left:auto; }
    .uba-order-products { margin:16px 0; }
    .uba-activity { margin:0; }
    .uba-activity li { gap:10px; }
    .uba-activity-icon { width:30px; height:30px; border-radius:9px; }
    .uba-activity li>div strong { font-size:11px; }
    .uba-activity small { font-size:9px; }
    .uba-activity-amount { font-size:16px; }
    .uba-settings-panel,.uba-box { padding:17px; }
    body.woocommerce-account .woocommerce-MyAccount-content fieldset { padding:15px; }
    body.woocommerce-account :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.uba-rewards input[type=number] { font-size:16px; }
    body.woocommerce-account .form-row-first,body.woocommerce-account .form-row-last { float:none; width:100%; }
    .uba-search { display:grid; grid-template-columns:1fr; }
    .uba-search>button { width:100%; }
    .uba-search>label { min-width:0; }
    .uba-address-panel>summary { padding:17px; }
    .uba-detail-hint { font-size:9px; }
    .uba-address-form { padding:0 16px 16px; }
    .uba-toast { right:12px; width:calc(100vw - 24px); padding:17px 45px 17px 15px; gap:10px; }
    .uba-toast strong { font-size:12px; }
    .uba-toast p { font-size:11px; }
    .uba-rewards,.uba-basket-rewards { padding:19px; }
    .uba-estimate-value>strong { font-size:38px; }
    .uba-table:focus-visible { outline-offset:1px; }
    body.woocommerce-account .u-columns>:is(.u-column1,.u-column2) { padding:21px; }
}
/* STUDS tiers and account identity. Only the current tier is shown at full strength. */
.uba-profile-avatar { display:inline-block; position:relative; flex-shrink:0; width:88px; height:88px; }
.uba-profile-avatar>.avatar { display:block; width:88px; height:88px; object-fit:cover; border:2px solid #d5b373; border-radius:50%; padding:4px; background:#21132d; }
.uba-profile-tier { position:absolute; right:-5px; bottom:-4px; display:flex; width:36px; height:36px; border:2px solid #e3c686; border-radius:50%; background:#29183b; box-shadow:0 3px 12px #0d061966; }
.uba-profile-tier>.uba-tier-icon { width:100%; height:100%; object-fit:contain; }
.uba-hero-person>div { min-width:0; }
body.woocommerce-account .uba-hero h2 { overflow-wrap:anywhere; }
.uba-profile-summary { display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; }
.uba-profile-summary strong { color:#f1d59c; font-size:15px; }
.uba-profile-summary>span { font-size:12px; }
.uba-header-profile { position:relative; display:inline-flex; flex-shrink:0; vertical-align:middle; }
.ubph-shell .ubph-profile.uba-header-profile,header a.uba-header-profile,#header a.uba-header-profile,.site-header a.uba-header-profile,[data-uba-header-profile].uba-header-profile { position:relative; overflow:visible!important; }
.ubph-shell .ubph-profile.uba-header-profile>img:not(.uba-header-tier) { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.ubph-shell .ubph-profile.uba-header-profile>img.uba-header-tier { position:absolute!important; width:22px!important; height:22px!important; min-width:22px; max-width:none; max-height:none; right:-5px!important; bottom:-5px!important; top:auto!important; left:auto!important; border:1px solid #e3c686!important; padding:1px!important; border-radius:50%; background:#29183b; box-shadow:0 2px 5px #160c2566; object-fit:contain!important; pointer-events:none; z-index:2; }
.uba-header-profile>.uba-header-tier { position:absolute!important; right:-5px!important; bottom:-5px!important; top:auto!important; left:auto!important; width:22px!important; height:22px!important; min-width:22px; max-width:none; object-fit:contain; padding:1px; background:#29183b; border:1px solid #e3c686; border-radius:50%; box-shadow:0 2px 5px #160c2566; }
.uba-studs-progression { --uba-tier-size:clamp(40px,6vw,76px); padding:24px; margin:20px 0 24px; border:1px solid #b7985c66; border-radius:19px; background:radial-gradient(ellipse at 10% 0,#a27a4017,transparent 65%),#241431; }
.uba-tier-balance>span { display:block; font-size:12px; color:#c9b9d7; }
.uba-tier-balance>strong { display:block; margin:5px 0; color:#f4ddac; font-size:clamp(24px,3vw,36px); line-height:1.25; font-variant-numeric:tabular-nums; letter-spacing:-.03em; }
.uba-tier-track { position:relative; margin:24px -8px 18px; }
.uba-tier-rail { position:absolute; left:12.5%; right:12.5%; top:calc(var(--uba-tier-size) + 14px); height:8px; border-radius:20px; background:#6a4d7b66; }
.uba-tier-rail>span { display:block; position:relative; height:100%; border-radius:inherit; background:linear-gradient(90deg,#b6965d,#f5d795); }
.uba-tier-rail>span:after { content:""; position:absolute; right:-7px; top:-3px; width:14px; height:14px; border:2px solid #fae7b9; border-radius:50%; background:#d0ad6b; box-shadow:0 0 0 4px #d8b36e18; }
.uba-tier-steps { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:0; margin:0; list-style:none; }
.uba-tier-step { display:flex; flex-direction:column; align-items:center; min-width:0; text-align:center; padding:0 4px; }
.uba-tier-step>.uba-tier-icon { display:block; width:var(--uba-tier-size); height:var(--uba-tier-size); object-fit:contain; opacity:.25; filter:saturate(.45); }
.uba-tier-step.is-current>.uba-tier-icon { opacity:1; filter:drop-shadow(0 4px 12px #dfc07c38); }
.uba-tier-dot { display:block; width:12px; height:12px; flex-shrink:0; margin:12px 0 14px; border:2px solid #9c7daf; border-radius:50%; background:#352144; }
.uba-tier-step.is-current>.uba-tier-dot { background:#e3c686; border-color:#fff0c6; }
.uba-tier-step>strong { font-size:14px; line-height:1.5; color:#f4ebfa; }
.uba-tier-step>small { font-size:11px; line-height:1.6; color:#c0a9d0; }
.uba-tier-current { display:inline-block; margin-top:6px; padding:2px 8px; color:#f2d596; border:1px solid #b3925359; border-radius:12px; font-size:9px; }
body.woocommerce-account .uba-tier-next { display:flex; align-items:center; gap:10px; margin:0; padding:14px 16px; border-radius:11px; background:#b7955914; color:#edcf96; font-size:13px; }
.uba-tier-next>.uba-icon { width:19px; height:19px; }
.uba-tier-explainer { margin-top:20px; padding-top:18px; border-top:1px solid #89669e40; }
.uba-tier-explainer>strong { color:#e7d9ef; font-size:13px; }
body.woocommerce-account .uba-tier-explainer>p { color:#bda8cd; font-size:12px; line-height:1.8; margin:6px 0 0; }
/* One accessible text toggle replaces overlapping native/theme eye icons. */
.uba-password-control { display:block; position:relative; width:100%; }
body.woocommerce-account .uba-password-control>input { padding-right:78px!important; }
body.woocommerce-account .woocommerce .uba-password-control>.uba-password-toggle { position:absolute; display:inline-flex; align-items:center; justify-content:center; top:50%; right:5px; transform:translateY(-50%); width:62px; min-height:34px; max-height:38px; padding:5px 8px; margin:0; background:#3e2850; border:1px solid #8a689c; border-radius:6px; color:#efdaae; font-size:11px; line-height:1.2; box-shadow:none; }
.uba-password-control>.uba-password-toggle:before,.uba-password-control>.uba-password-toggle:after { content:none!important; display:none!important; }
.uba-password-control .show-password-input,.uba-password-control .ct-toggle-password { display:none!important; }
.uba-password-section { clear:both; margin-top:24px; padding-top:20px; border-top:1px solid #89669e40; }
body.woocommerce-account .uba-password-section>p { font-size:12px; color:#bda8cd; }
.uba-password-fields[hidden] { display:none!important; }
@media(max-width:600px) {
    .uba-studs-progression { padding:17px 12px; }
    .uba-studs-progression .uba-section-heading { padding-inline:4px; }
    .uba-tier-balance { padding-inline:4px; }
    .uba-tier-step>strong { font-size:12px; }
    .uba-tier-step>small { font-size:9px; }
    .uba-tier-track { margin-inline:-4px; }
    .uba-profile-avatar,.uba-profile-avatar>.avatar { width:66px; height:66px; }
    .uba-profile-tier { width:29px; height:29px; }
    .uba-hero-person { gap:13px; }
    .uba-profile-summary { gap:4px 10px; }
}
@media(prefers-reduced-motion:reduce) { .uba-toast,.uba-rewards { animation:none; transition:none; } }
/* V3.1 compact dashboard: zero plus four tiers; details expand when needed. */
body.woocommerce-account .woocommerce-MyAccount-content:has(.uba-dashboard) { padding:20px; }
.uba-dashboard .uba-hero { padding:16px 18px; margin:0 0 14px; border:1px solid #8661b366; border-radius:14px; background:radial-gradient(ellipse at 100% 20%,#7138b729,transparent 65%),#28123d; }
.uba-dashboard .uba-hero-person { gap:16px; margin:0; }
.uba-dashboard .uba-profile-avatar,.uba-dashboard .uba-profile-avatar>.avatar { width:72px; height:72px; }
.uba-dashboard .uba-profile-tier { width:29px; height:29px; }
body.woocommerce-account .uba-dashboard h2,body.woocommerce-account .uba-dashboard h3 { color:#f2d877; }
body.woocommerce-account .uba-dashboard .uba-hero h2 { font-size:clamp(23px,2.4vw,30px); margin:0 0 7px; }
.uba-dashboard .uba-hero .uba-text-link { margin-top:7px; font-size:12px; }
.uba-dashboard .uba-studs-progression { --uba-tier-size:clamp(34px,5vw,60px); padding:18px 20px; margin:14px 0; border-radius:14px; }
.uba-dashboard .uba-section-heading { margin-bottom:12px; gap:8px; }
body.woocommerce-account .uba-dashboard h3 { font-size:20px; }
.uba-dashboard .uba-tier-balance>strong { font-size:30px; margin:3px 0; }
.uba-dashboard .uba-tier-balance>span { font-size:11px; }
.uba-dashboard .uba-tier-track { margin:16px -7px 14px; }
.uba-dashboard .uba-tier-rail { left:10%; right:10%; }
.uba-dashboard .uba-tier-steps { grid-template-columns:repeat(5,minmax(0,1fr)); }
.uba-tier-start-icon { display:flex; align-items:center; justify-content:center; width:var(--uba-tier-size); height:var(--uba-tier-size); color:#bda2d3; background:#795a9b1c; border:1px dashed #9876b755; border-radius:50%; font-weight:700; font-size:22px; box-sizing:border-box; }
.uba-dashboard .uba-tier-dot { margin-bottom:9px; }
.uba-dashboard .uba-tier-step>strong { font-size:13px; }
.uba-dashboard .uba-tier-step>small { font-size:10px; }
.uba-tier-perk { display:block; margin-top:3px; color:#f1d393; font-size:12px; font-style:normal; font-weight:650; }
.uba-dashboard .uba-tier-current { margin-top:4px; font-size:8px; padding:1px 7px; }
body.woocommerce-account .uba-dashboard .uba-tier-next { padding:10px 13px; font-size:12px; }
.uba-dashboard .uba-tier-explainer { margin-top:12px; padding-top:12px; }
body.woocommerce-account .uba-dashboard .uba-tier-explainer p { font-size:11px; line-height:1.7; margin:4px 0 0; }
.uba-tier-explainer details { margin-top:4px; }
body.woocommerce-account .uba-tier-explainer summary { min-height:32px; font-size:11px; color:#e2c384; }
.uba-dashboard .uba-stats { gap:12px; margin:14px 0; }
.uba-dashboard .uba-stat { display:grid; grid-template-columns:32px minmax(0,1fr); align-items:center; gap:4px 10px; padding:14px 16px; border-radius:13px; }
.uba-dashboard .uba-stat-icon { width:32px; height:32px; margin:0; }
.uba-dashboard .uba-stat>strong { grid-column:1/-1; margin:4px 0 1px; font-size:28px; }
.uba-dashboard .uba-stat>small { grid-column:1/-1; font-size:10px; }
.uba-dashboard .uba-dashboard-grid { margin-top:14px; gap:14px; }
.uba-dashboard .uba-dashboard-aside { gap:12px; }
.uba-dashboard .uba-order-card { padding:15px; margin-bottom:12px; border-radius:13px; }
.uba-dashboard .uba-order-products { margin:13px 0; }
.uba-dashboard .uba-empty { padding:25px 16px; }
.uba-dashboard .uba-empty>svg { width:30px; height:30px; margin-bottom:10px; }
.uba-dashboard .uba-reward-card { padding:18px; border-radius:13px; }
.uba-dashboard .uba-reward-balance { margin:10px 0 6px; }
.uba-dashboard .uba-reward-balance>strong { font-size:36px; }
.uba-dashboard .uba-reward-mini { margin-block:12px; }
.uba-dashboard .uba-help-card { padding:15px; border-radius:13px; }
.uba-dashboard .uba-help-card>svg { width:21px; height:21px; margin-bottom:7px; }
body.woocommerce-account .uba-dashboard .uba-help-card h3 { font-size:15px; margin-bottom:6px; }
body.woocommerce-account .uba-dashboard .uba-help-card p { margin:0 0 7px; font-size:11px; }
.uba-dashboard .uba-points-history { margin-top:18px; padding-top:17px; }
.uba-dashboard .uba-activity li { padding:11px 0; }
.uba-account-save { margin-top:34px; padding:26px 0 4px; border-top:2px solid #b2955b70; clear:both; }
.uba-account-save>strong { display:block; font-size:15px; color:#f0d698; }
body.woocommerce-account .uba-account-save>p { margin:8px 0 15px; font-size:12px; color:#c3afd2; }
.uba-tier-checkout { padding:10px 12px; border:1px solid #bd9e5c55; border-radius:9px; background:#b4934b10; color:#d9c8e4; font-size:12px; line-height:1.7; }
.uba-tier-guide>summary { display:list-item; min-height:34px; padding:5px 0; color:#ecd394; font-weight:650; cursor:pointer; }
.uba-tier-guide-content { padding:7px 0 3px; }
body.woocommerce-account .uba-dashboard .uba-tier-guide-content h4 { margin:16px 0 8px; font-size:15px; color:#f0d498; }
body.woocommerce-account .uba-dashboard .uba-tier-guide-content p,body.woocommerce-account .uba-dashboard .uba-tier-guide-content li { font-size:12px; line-height:1.8; color:#d2c2df; }
body.woocommerce-account .uba-dashboard .uba-tier-guide-content p { margin:9px 0; }
.uba-tier-guide-content strong { color:#f3e6cb; }
.uba-tier-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding:0; margin:12px 0; list-style:none; }
.uba-tier-benefits>li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; background:#b7955910; border:1px solid #b7955933; border-radius:8px; }
.uba-tier-benefits>li>strong { font-size:11px; }
.uba-tier-benefits>li>span { color:#efd28c; font-weight:700; white-space:nowrap; }
.uba-tier-examples { margin:9px 0 12px; padding-left:20px; }
.uba-tier-examples>li { margin-bottom:7px; }
@media(max-width:600px) { .uba-tier-benefits { grid-template-columns:1fr; } }
@media(max-width:600px) {
    body.woocommerce-account .woocommerce-MyAccount-content:has(.uba-dashboard) { padding:13px; }
    .uba-dashboard .uba-hero { padding:13px; }
    .uba-dashboard .uba-profile-avatar,.uba-dashboard .uba-profile-avatar>.avatar { width:58px; height:58px; }
    .uba-dashboard .uba-profile-tier { width:25px; height:25px; }
    .uba-dashboard .uba-studs-progression { padding:15px 10px; }
    .uba-dashboard .uba-tier-step { padding-inline:1px; }
    .uba-dashboard .uba-tier-step>strong { font-size:10px; }
    .uba-dashboard .uba-tier-step>small { font-size:8px; }
    .uba-dashboard .uba-tier-perk { font-size:10px; }
    .uba-dashboard .uba-stat { padding:12px; }
    .uba-dashboard .uba-stat>strong { font-size:24px; }
}

/* Late WooCommerce wrappers retain the original password-field spacing. */
body.woocommerce-account .uba-password-control .password-input>input{padding-right:78px!important}
body.woocommerce-account .uba-password-toggle{touch-action:manipulation}
@media(max-width:600px){
    body.woocommerce-account .woocommerce .uba-password-control>.uba-password-toggle{min-height:44px;max-height:44px}
}
