/* Autoqueen My Account — rounded, calm, one clear action per view. */
.woocommerce-account { --aq-r: 20px; --aq-r-sm: 12px; --aq-line: #e7e7e5; --aq-soft: #f5f5f3; --aq-ink: #111; --aq-mute: #6b6b6b; }
.woocommerce-account main.aq-page { max-width: none !important; padding: 32px var(--gutter, 32px) 96px !important; background: #fff; }
.woocommerce-account .wp-block-post-title { display: none; }
.woocommerce-account .woocommerce { display: block; max-width: 1280px; margin: 0 auto; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }

/* ---------- account tabs (across the top, like a clean storefront account) */
.woocommerce-MyAccount-navigation { float: none !important; width: auto !important; border-bottom: 1px solid var(--aq-line); margin: 0 0 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation li { flex: none; }
.woocommerce-MyAccount-navigation ul { padding: 2px 0 14px; align-items: baseline; }
/* Labels use the theme's .hover-label: the same 1px underline and timing as the main menu. */
.woocommerce-MyAccount-navigation a { display: inline-block; font-size: 15px; line-height: 1.3; color: var(--aq-mute); text-decoration: none; border: 0; transition: color .2s; }
.woocommerce-MyAccount-navigation a:hover, .woocommerce-MyAccount-navigation a:focus-visible, .woocommerce-MyAccount-navigation .is-active a { color: var(--aq-ink); }
.woocommerce-MyAccount-navigation a:hover .hover-label, .woocommerce-MyAccount-navigation a:focus-visible .hover-label, .woocommerce-MyAccount-navigation .is-active .hover-label { background-size: 100% 1px; }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-left: auto; }
.woocommerce-MyAccount-content { float: none !important; width: auto !important; min-width: 0; }
.aqr-nav-head, .aqr-nav-card { display: none; }

/* ---------- dashboard */
.aqr-dash { color: var(--aq-ink); }
.aqr-dash h2 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 18px; font-weight: 600; }
.aqr-dash-head { margin-bottom: 56px; }
.aqr-dash-head h1 { font-size: clamp(30px, 24px + 1.4vw, 40px); letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.1; }
.aqr-caps { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aq-ink); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.aqr-caps:hover { opacity: .7; }
.aqr-dash-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 72px; }
.aqr-panel { position: relative; border: 1px solid var(--aq-line); border-radius: var(--aq-r); min-height: 360px; display: flex; overflow: hidden; background: #fff; }
.aqr-see { margin-top: 18px; }
.aqr-empty-panel { margin: auto; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; padding: 32px; }
.aqr-empty-panel p { margin: 0; font-size: 15px; color: #333; }
.aqr-order { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; }
.aqr-order-pics { flex: 1; display: flex; gap: 2px; background: #f4f5f6; min-height: 220px; }
.aqr-order-pics img { flex: 1; min-width: 0; width: 100%; height: 100%; max-height: 280px; object-fit: contain; mix-blend-mode: multiply; padding: 16px; box-sizing: border-box; }
.aqr-order-info { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.aqr-order-info strong { font-size: 18px; }
.aqr-order-info > span:not(.aqr-caps):not(.aqr-order-status) { font-size: 14px; color: var(--aq-mute); }
.aqr-order-info .aqr-caps { align-self: flex-start; margin-top: 8px; }
.aqr-order-status { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--aq-soft); padding: 4px 10px; border-radius: 999px; }
.aqr-fav { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; }
.aqr-fav-pic { flex: 1; display: grid; place-items: center; padding: 24px; background: #f4f5f6; }
.aqr-fav-pic img { max-height: 260px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.aqr-fav-name { padding: 18px 24px 22px; font-size: 15px; font-weight: 600; }
.aqr-fav-more { position: absolute; right: 18px; bottom: 20px; font-size: 13px; color: var(--aq-mute); }
.aqr-dash-cards { margin-bottom: 72px; }
.aqr-pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aqr-pic { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--aq-r); overflow: hidden; background: #ddd; color: #fff; text-decoration: none; }
.aqr-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.aqr-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); }
.aqr-pic:hover img { transform: scale(1.04); }
.aqr-pic > span { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.aqr-pic strong { font-size: 22px; letter-spacing: -.01em; }
.aqr-pic small { font-size: 14px; opacity: .9; }
.aqr-dash-recent { margin: 0 0 40px; padding: 0 !important; }
.aqr-dash-recent .rail-track .product { flex: 0 0 calc((100% - 24px) / 3.3); }
.aqr-fav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
/* ---------- type */
.aqr { color: var(--aq-ink); font-size: 16px; }
.aqr-eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 600; color: var(--aq-mute); margin: 0 0 10px; text-transform: uppercase; }
.aqr-page-head { margin: 4px 0 28px; max-width: 640px; }
.aqr-page-head h1 { font-size: clamp(32px, 26px + 1.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 12px; }
.aqr-h2 { font-size: clamp(24px, 21px + .8vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.aqr h3 { font-size: 20px; letter-spacing: -.01em; margin: 0 0 6px; line-height: 1.25; }
.aqr-sub { color: var(--aq-mute); line-height: 1.55; margin: 8px 0 0; font-size: 15px; }
.aqr-page-head .aqr-sub { font-size: 17px; }
.aqr-loading { color: var(--aq-mute); padding: 40px 0; }
.aqr-return { display: inline-block; margin-bottom: 16px; font-size: 14px; color: var(--aq-mute); }
.aqr-status { min-height: 0; margin: 0 0 12px; font-size: 14px; color: #1b6b33; }
.aqr-status:empty { display: none; }
.aqr-saving { color: var(--aq-mute); margin-left: 6px; font-size: 13px; }
.aqr-undo { background: #fff; border: 1px solid var(--aq-line); padding: 12px 16px; border-radius: var(--aq-r-sm); font-size: 14px; }

/* ---------- buttons: one primary, then text links */
.aqr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--aq-ink); color: #fff !important; border: 1px solid var(--aq-ink); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.aqr-btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.aqr-btn:disabled { opacity: .35; cursor: default; transform: none; }
.aqr-btn.ghost { background: #fff; color: var(--aq-ink) !important; border-color: #cfcfcf; font-weight: 500; }
.aqr-btn.ghost:hover { border-color: var(--aq-ink); background: #fff; }
.aqr-btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.aqr-link { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--aq-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.aqr-link.plain { text-decoration: none; color: var(--aq-mute); }
.aqr-link.plain:hover { color: var(--aq-ink); text-decoration: underline; }
.aqr-link:disabled { color: #aaa; cursor: default; text-decoration: none; }
.aqr-danger, .aqr-link.plain.aqr-danger { color: #b3261e; }
.aqr-text { font-weight: 600; font-size: 15px; }
.aqr-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.aqr-quiet { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--aq-line); font-size: 14px; color: var(--aq-mute); }
.aqr-quiet .aqr-link { font-size: 14px; }

/* ---------- cards */
.aqr-stack { display: flex; flex-direction: column; gap: 16px; }
.aqr-card { display: block; background: #fff; border: 1px solid var(--aq-line); border-radius: var(--aq-r); color: inherit; text-align: left; font: inherit; }
.aqr-pad { padding: clamp(22px, 2.6vw, 36px); }
a.aqr-card, button.aqr-card { cursor: pointer; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.aqr-card:hover, button.aqr-card:hover { border-color: #bdbdbd; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.05); }

/* ---------- avatars with progress ring */
.aqr-avatar { --p: 0%; position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--aq-ink) var(--p), #e3e3e0 0); }
.aqr-avatar > span { width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; background: var(--aq-soft); display: grid; place-items: center; font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.aqr-avatar.lg { width: 76px; height: 76px; }
.aqr-avatar.lg > span { font-size: 22px; width: calc(100% - 8px); height: calc(100% - 8px); }
.aqr-avatar.add { background: none; border: 1.5px dashed #b5b5b5; }
.aqr-avatar.add > span { background: none; font-size: 22px; font-weight: 400; color: var(--aq-mute); }

/* ---------- rider switcher */
.aqr-riders { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; }
.aqr-riders > button { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid var(--aq-line); border-radius: 999px; background: #fff; font: inherit; cursor: pointer; text-align: left; transition: border-color .15s; }
.aqr-riders > button:hover { border-color: #bdbdbd; }
.aqr-riders > button[aria-current=true] { border-color: var(--aq-ink); box-shadow: 0 0 0 1px var(--aq-ink); }
.aqr-riders .aqr-avatar { width: 40px; height: 40px; }
.aqr-riders .aqr-avatar > span { font-size: 13px; }
.aqr-rider-txt strong { display: block; font-size: 15px; line-height: 1.2; }
.aqr-rider-txt small { display: block; font-size: 12px; color: var(--aq-mute); margin-top: 2px; }
.aqr-add { border-style: dashed !important; }

/* ---------- profile card */
.aqr-profile-head { display: flex; align-items: center; gap: 20px; }
.aqr-profile-id { flex: 1; min-width: 0; }
.aqr-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.aqr-meta span { font-size: 13px; background: var(--aq-soft); border-radius: 999px; padding: 4px 12px; color: #333; }
.aqr-edit { align-self: flex-start; font-size: 14px; }
.aqr-meter { margin-top: 28px; }
.aqr-meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.aqr-meter-top strong { font-size: 16px; }
.aqr-meter-top span { font-size: 13px; color: var(--aq-mute); }
.aqr-progress { height: 8px; background: #ececea; border-radius: 999px; overflow: hidden; }
.aqr-progress span { display: block; height: 100%; background: var(--aq-ink); border-radius: 999px; transition: width .5s ease; }
.aqr-cta { margin-top: 24px; }
.aqr-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.aqr-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; min-height: 120px; border: 1px solid var(--aq-line); border-radius: 16px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.aqr-tile:hover { border-color: var(--aq-ink); }
.aqr-tile-k { font-size: 13px; color: var(--aq-mute); }
.aqr-tile strong { font-size: 30px; line-height: 1; letter-spacing: -.02em; margin-top: auto; }
.aqr-tile-v { font-size: 12px; color: var(--aq-mute); }
.aqr-tile.done { background: var(--aq-soft); border-color: transparent; }
.aqr-tile.done .aqr-tile-k::after { content: " ✓"; color: #1b6b33; }
.aqr-tile.empty strong { color: #b5b5b5; font-weight: 400; }

/* ---------- "keep going" cards */
.aqr-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aqr-more-grid .aqr-card { display: flex; flex-direction: column; }
.aqr-more-grid .aqr-sub { flex: 1; margin-bottom: 18px; }
.aqr-shopin { grid-column: span 1; }
.aqr-shoplinks { display: flex; flex-direction: column; margin-top: 10px; }
.aqr-shoplinks a { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--aq-line); text-decoration: none; color: inherit; }
.aqr-shoplinks a:hover strong { text-decoration: underline; }
.aqr-shoplinks span { font-size: 15px; }
.aqr-shoplinks strong { font-size: 15px; }
.aqr-shoplinks i { font-style: normal; color: var(--aq-mute); }

/* ---------- forms */
.aqr-form { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.aqr-field { display: flex; flex-direction: column; gap: 8px; }
.aqr-field > span { font-size: 14px; font-weight: 600; }
.aqr-field input, .aqr-select { height: 54px; border: 1px solid #c9c9c6; border-radius: var(--aq-r-sm); padding: 0 16px; font: inherit; font-size: 16px; background: #fff; width: 100%; box-sizing: border-box; transition: border-color .15s; }
.aqr-field input:focus, .aqr-select:focus { outline: none; border-color: var(--aq-ink); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.aqr-field small { font-size: 13px; color: var(--aq-mute); }
.aqr-set { border: 0; padding: 0; margin: 0; }
.aqr-set legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.aqr-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.aqr-choices button { min-height: 42px; padding: 0 16px; border: 1px solid #d0d0cd; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.aqr-choices button:hover { border-color: var(--aq-ink); }
.aqr-choices button[aria-pressed=true] { background: var(--aq-ink); color: #fff; border-color: var(--aq-ink); }
.aqr-genders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aqr-genders.big { margin: 24px 0 4px; max-width: 520px; }
.aqr-genders button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px; border: 1px solid #d0d0cd; border-radius: 16px; background: #fff; font: inherit; cursor: pointer; text-align: left; transition: border-color .15s; }
.aqr-genders button:hover { border-color: var(--aq-ink); }
.aqr-genders button strong { font-size: 18px; }
.aqr-genders button small { font-size: 13px; color: var(--aq-mute); }
.aqr-genders button[aria-pressed=true] { background: var(--aq-ink); color: #fff; border-color: var(--aq-ink); }
.aqr-genders button[aria-pressed=true] small { color: #c9c9c9; }
.aqr-more summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.aqr-more summary::-webkit-details-marker { display: none; }
.aqr-more summary::before { content: "+ "; }
.aqr-more[open] summary::before { content: "− "; }
.aqr-more summary span { font-weight: 400; color: var(--aq-mute); margin-left: 6px; }
.aqr-more .aqr-choices { margin-top: 12px; }

/* ---------- measurement steps (from the original design) */
.aqr-steps-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.aqr-count { font-size: 13px; color: var(--aq-mute); background: var(--aq-soft); border-radius: 999px; padding: 5px 12px; }
.aqr-steps { margin-top: 24px; border-top: 1px solid var(--aq-line); }
.aqr-step { border-bottom: 1px solid var(--aq-line); scroll-margin-top: 20px; }
.aqr-step-head { display: grid; grid-template-columns: 40px 1fr auto 28px; align-items: center; gap: 4px; width: 100%; padding: 22px 0; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.aqr-num { font-size: 13px; color: var(--aq-mute); }
.aqr-step-title { font-size: 18px; font-weight: 500; }
.aqr-step-head small { font-size: 13px; color: var(--aq-mute); }
.aqr-step-head > span:last-child { font-size: 20px; text-align: right; color: var(--aq-mute); }
.aqr-step.open { background: linear-gradient(#fff, #fff); }
.aqr-step-body { padding: 0 0 36px 40px; max-width: 760px; }
.aqr-step-body h3 { font-size: 24px; margin: 0 0 8px; }
.aqr-step-body h3:focus { outline: none; }
.aqr-top { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 14px; font-size: 14px; font-weight: 600; }
.aqr-top p { margin: 0; }
.aqr-top .aqr-link { text-decoration: none; font-weight: 400; color: var(--aq-mute); }
.aqr-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.aqr-sizes button { min-width: 56px; height: 48px; padding: 0 16px; border: 1px solid #d0d0cd; border-radius: var(--aq-r-sm); background: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.aqr-sizes button:hover { border-color: var(--aq-ink); }
.aqr-sizes button.match { border-color: var(--aq-ink); box-shadow: inset 0 0 0 1px var(--aq-ink); }
.aqr-sizes button[aria-pressed=true] { background: var(--aq-ink); color: #fff; border-color: var(--aq-ink); }
.aqr-measure { display: grid; grid-template-columns: 128px 1fr; gap: 32px; align-items: center; margin: 32px 0 24px; }
.aqr-circle { width: 128px; height: 128px; border-radius: 50%; background: var(--aq-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.aqr-circle small { font-size: 12px; color: var(--aq-mute); }
.aqr-circle strong { font-size: 32px; font-weight: 600; letter-spacing: -.01em; }
.aqr-circle span { font-size: 12px; color: var(--aq-mute); }
.aqr-slider { width: 100%; height: 6px; appearance: none; -webkit-appearance: none; background: linear-gradient(to right, var(--aq-ink) var(--p, 50%), #e3e3e0 var(--p, 50%)); border-radius: 999px; border: 0; margin: 0; }
.aqr-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--aq-ink); box-shadow: 0 2px 6px rgba(0,0,0,.15); cursor: grab; }
.aqr-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--aq-ink); cursor: grab; }
.aqr-range { display: flex; justify-content: space-between; font-size: 12px; color: var(--aq-mute); margin: 12px 0 4px; }
.aqr-guide { width: 100%; max-width: 420px; border-collapse: separate; border-spacing: 0; margin: 0 0 8px; font-size: 14px; border: 1px solid var(--aq-line); border-radius: var(--aq-r-sm); overflow: hidden; }
.aqr-guide caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.aqr-guide th, .aqr-guide td { padding: 9px 14px; border-bottom: 1px solid var(--aq-line); text-align: left; }
.aqr-guide tr:last-child th, .aqr-guide tr:last-child td { border-bottom: 0; }
.aqr-guide tr.on { background: var(--aq-ink); color: #fff; }
.aqr-finish { margin-top: 28px; padding: 28px; border-radius: 16px; background: var(--aq-soft); }
.aqr-finish h3 { font-size: 22px; }
.aqr-finish p { color: var(--aq-mute); margin: 0 0 20px; }

/* ---------- account details (WooCommerce form) & garage */
.aqr-account .aqr-locked { border: 1px solid var(--aq-line); background: #fff; border-radius: 16px; padding: 18px 20px; margin: 8px 0 24px; clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.aqr-account .aqr-locked div { display: flex; flex-direction: column; gap: 4px; }
.aqr-account .aqr-locked span { font-size: 13px; color: var(--aq-mute); }
.aqr-account .aqr-locked strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.aqr-account .aqr-locked p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; color: var(--aq-mute); }
.aqr-account .aqr-locked a, .aqr-lost a { text-decoration: underline; }
.aqr-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.aqr-card-head h2 { font-size: clamp(24px, 21px + .8vw, 30px); margin: 0; letter-spacing: -.02em; }
.aqr-muted { color: var(--aq-mute); margin: 6px 0 0; line-height: 1.5; }
.aqr-note { background: #eef6ee; color: #1b5b2a; border-radius: var(--aq-r-sm); padding: 12px 16px; margin: 16px 0; }
.aqr-error { color: #b3261e; margin: 0; font-size: 14px; }
.aqr-bike { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; margin-top: 12px; border-radius: 16px; background: var(--aq-soft); }
.aqr-bike h3 { margin: 0; font-size: 18px; } .aqr-bike h3 small { font-weight: 400; color: var(--aq-mute); font-size: 14px; }
.aqr-bike-actions { display: flex; gap: 16px; align-items: center; }
.aqr-nick summary { cursor: pointer; font-size: 14px; font-weight: 600; } .aqr-nick summary span { color: var(--aq-mute); font-weight: 400; } .aqr-nick .aqr-field { margin-top: 12px; }
.aqr-missing { margin: 4px 0 0; }
.aqr-empty { text-align: center; padding: 40px 0 16px; } .aqr-empty > span { font-size: 28px; } .aqr-empty h3 { margin: 8px 0 4px; }
.aqr-form h3 { margin: 0; font-size: 22px; }

/* WooCommerce pages inside the account (orders, addresses, details) get the same card look */
.woocommerce-account .woocommerce-MyAccount-content > :is(.woocommerce-EditAccountForm, .woocommerce-Addresses, .woocommerce-orders-table, .woocommerce-address-fields, form.woocommerce-EditAccountForm) { background: #fff; border: 1px solid var(--aq-line); border-radius: var(--aq-r); padding: clamp(22px, 2.6vw, 36px); }
.woocommerce-account form .input-text, .woocommerce-account form select { height: 50px; border: 1px solid #c9c9c6; border-radius: var(--aq-r-sm); padding: 0 14px; width: 100%; box-sizing: border-box; font-size: 16px; background: #fff; }
.woocommerce-account form .button, .woocommerce-account .woocommerce-Button { min-height: 50px; padding: 0 28px; border-radius: 999px; background: var(--aq-ink) !important; color: #fff !important; border: 0; font-size: 16px; font-weight: 600; }
.woocommerce-account fieldset { border: 1px solid var(--aq-line); border-radius: 16px; padding: 20px; margin: 20px 0; }

/* signed out: sign in / register */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 920px; }
.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-account .u-columns .col-1, .woocommerce-account .u-columns .col-2 { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--aq-line); border-radius: var(--aq-r); padding: 32px; }

@media (max-width: 1100px) { .aqr-more-grid { grid-template-columns: 1fr 1fr; } .aqr-pics { grid-template-columns: 1fr 1fr; } .aqr-fav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.aqr-dash-two { grid-template-columns: 1fr; margin-bottom: 48px; }
	.aqr-panel { min-height: 280px; }
	.aqr-dash-head { margin-bottom: 36px; }
	.aqr-fav-grid { grid-template-columns: 1fr 1fr; }
	.aqr-dash-recent .rail-track .product { flex-basis: 70%; }
	.woocommerce-MyAccount-navigation ul { gap: 22px; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin-left: 0; }
	.woocommerce-account main.aq-page { padding-top: 16px !important; }
	.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { min-width: 0; }
	.aqr-tiles .aqr-tile:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 96px; }
	.aqr-nav-head { display: none; }
	.aqr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aqr-more-grid { grid-template-columns: 1fr; }
	.aqr-measure { grid-template-columns: 1fr; gap: 16px; justify-items: start; }
	.aqr-step-body { padding-left: 0; }
	.aqr-profile-head { flex-wrap: wrap; }
	.aqr-account .aqr-locked, .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr; }
}

/* ---------- account details (masked view) */
.aqr-dl { padding-top: 8px; padding-bottom: 8px; }
.aqr-dl-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--aq-line); }
.aqr-dl-row > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aqr-dl-row span { font-size: 13px; color: var(--aq-mute); }
.aqr-dl-row strong { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; letter-spacing: .01em; }
.aqr-dl-note { font-size: 13px; color: var(--aq-mute); margin: 16px 0 4px; }
.aqr-dl-note a { color: var(--aq-ink); text-decoration: underline; }
.aqr-details form[hidden], .aqr-details [hidden] { display: none !important; }
.aqr-details form.aqr-card { max-width: 640px; }
.aqr-details .aqr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 20px; }
.aqr-details .form-row { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.aqr-details .form-row label { font-size: 14px; font-weight: 600; }
.aqr-details [data-aqr-part=password] .aqr-sub { margin-bottom: 20px; }

/* ---------- messages */
.aqr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.aqr-textarea { width: 100%; box-sizing: border-box; border: 1px solid #c9c9c6; border-radius: var(--aq-r-sm); padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.aqr-textarea:focus { outline: none; border-color: var(--aq-ink); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.aqr-chip { position: relative; }
.aqr-chip input { position: absolute; opacity: 0; }
.aqr-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #d0d0cd; border-radius: 999px; font-size: 14px; cursor: pointer; }
.aqr-chip input:checked + span { background: var(--aq-ink); color: #fff; border-color: var(--aq-ink); }
.aqr-chip input:focus-visible + span { outline: 2px solid var(--aq-ink); outline-offset: 2px; }
.aqr-threads { overflow: hidden; margin-top: 20px; }
.aqr-thread { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 18px 44px 18px 22px; border: 0; border-bottom: 1px solid var(--aq-line); background: #fff; font: inherit; text-align: left; cursor: pointer; }
.aqr-thread:last-child { border-bottom: 0; }
.aqr-thread:hover, .aqr-thread.on { background: var(--aq-soft); }
.aqr-thread-top { display: flex; justify-content: space-between; gap: 12px; }
.aqr-thread-top strong { font-size: 16px; }
.aqr-thread.unread .aqr-thread-top strong { font-weight: 700; }
.aqr-thread-top small { font-size: 12px; color: var(--aq-mute); white-space: nowrap; }
.aqr-thread-sub { font-size: 14px; }
.aqr-thread-prev { font-size: 14px; color: var(--aq-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aqr-dot { position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #c8102e; transform: translateY(-50%); }
.aqr-chat .aqr-h2 { margin-bottom: 4px; }
.aqr-bubbles { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; max-height: 56vh; overflow-y: auto; padding: 4px; }
.aqr-bubble { max-width: 78%; padding: 14px 18px; border-radius: 18px; background: var(--aq-soft); align-self: flex-start; border-bottom-left-radius: 6px; }
.aqr-bubble.customer { align-self: flex-end; background: var(--aq-ink); color: #fff; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.aqr-bubble p { margin: 0; line-height: 1.5; font-size: 15px; white-space: normal; overflow-wrap: anywhere; }
.aqr-bubble small { display: block; margin-top: 6px; font-size: 11px; opacity: .65; }
.aqr-reply { display: flex; gap: 10px; align-items: flex-end; }
.aqr-reply .aqr-textarea { flex: 1; min-height: 52px; }
.woocommerce-MyAccount-navigation .aqr-has-unread a::after { content: ""; display: inline-block; vertical-align: 2px; width: 8px; height: 8px; border-radius: 50%; background: #c8102e; margin-left: 8px; }

/* ---------- staff messages page */
.aqr-staff-body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #fff; }
.aqr-staff-wrap { max-width: 1360px; margin: 0 auto; padding: 28px 32px 60px; }
.aqr-staff-wrap a { color: inherit; }
.aqr-staff-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.aqr-staff-top h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.aqr-staff-tools { display: flex; gap: 10px; align-items: center; }
.aqr-staff-tools .aqr-select { height: 42px; width: 280px; }
.aqr-staff-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.aqr-staff-tabs button { min-height: 38px; padding: 0 14px; border: 1px solid #d0d0cd; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.aqr-staff-tabs button[aria-pressed=true] { background: var(--aq-ink); color: #fff; border-color: var(--aq-ink); }
.aqr-staff-tabs span { opacity: .6; margin-left: 4px; }
.aqr-staff-cols { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; align-items: start; }
.aqr-staff-cols .aqr-threads { margin: 0; max-height: 78vh; overflow-y: auto; }
.aqr-staff .aqr-staff-body, .aqr-staff { --aq-r: 20px; --aq-r-sm: 12px; --aq-line: #e7e7e5; --aq-soft: #f5f5f3; --aq-ink: #111; --aq-mute: #6b6b6b; }
@media (max-width: 900px) { .aqr-staff-cols { grid-template-columns: 1fr; } .aqr-details .aqr-form-row { grid-template-columns: 1fr; } .aqr-bubble { max-width: 92%; } }

/* ---------- orders list: lead with what was bought */
.aqr-olist { display: flex; flex-direction: column; gap: 16px; }
.aqr-ocard { border: 1px solid var(--aq-line); border-radius: var(--aq-r); background: #fff; overflow: hidden; }
.aqr-ocard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 24px 0; }
.aqr-ostatus { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--aq-soft); }
.aqr-ostatus.warm { background: #fff3d6; color: #6b4a00; } .aqr-ostatus.blue { background: #e4eeff; color: #0b4aa2; } .aqr-ostatus.green { background: #e4f4e7; color: #1b6b33; } .aqr-ostatus.mute { color: var(--aq-mute); }
.aqr-ometa { font-size: 14px; color: var(--aq-mute); }
.aqr-onum { white-space: nowrap; }
.aqr-ocard-body { display: flex; align-items: center; gap: 16px; padding: 18px 24px; text-decoration: none; color: inherit; }
.aqr-ocard-body:hover .aqr-otext strong { text-decoration: underline; }
.aqr-oitems { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.aqr-oitem { display: flex; align-items: center; gap: 16px; min-width: 0; }
.aqr-opic { flex: none; width: 76px; height: 76px; border-radius: 14px; background: #f4f5f6; display: grid; place-items: center; overflow: hidden; }
.aqr-opic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; box-sizing: border-box; }
.aqr-otext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aqr-otext strong { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aqr-otext small { font-size: 13px; color: var(--aq-mute); }
.aqr-omore { font-size: 14px; color: var(--aq-mute); padding-left: 92px; }
.aqr-ogo { font-size: 20px; color: var(--aq-mute); }
.aqr-ocard-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 14px 24px 18px; border-top: 1px solid var(--aq-line); }
.aqr-ocard-foot .aqr-link { font-size: 14px; }
.aqr-pager { display: flex; justify-content: space-between; margin-top: 24px; }
@media (max-width: 900px) { .aqr-opic { width: 60px; height: 60px; } .aqr-omore { padding-left: 76px; } .aqr-ocard-top, .aqr-ocard-body, .aqr-ocard-foot { padding-left: 16px; padding-right: 16px; } }

/* ---------- dashboard: orders slider */
.aqr-dash-orders { margin-bottom: 72px; }
.aqr-dash-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.aqr-dash-row h2 { margin: 0; }
.aqr-orail .rail-track { gap: 16px; }
.aqr-orail .rail-track > .aqr-oslide { width: calc((100% - 2 * 16px) / 3.3); }
.aqr-oslide { display: flex; flex-direction: column; text-decoration: none; color: inherit; scroll-snap-align: start; }
.aqr-oslide-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--aq-r); background: radial-gradient(52% 45% at 47% 38%, #fff 0, #f6f7f8 45%, #eceef0); overflow: hidden; }
.aqr-oslide-pic img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s; }
.aqr-oslide:hover .aqr-oslide-pic img { transform: scale(1.035); }
.aqr-oslide-pic .aqr-ostatus { position: absolute; top: 14px; left: 14px; }
.aqr-oslide-count { position: absolute; right: 14px; bottom: 14px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.aqr-oslide-info { display: flex; flex-direction: column; gap: 4px; padding: 16px 4px 0; }
.aqr-oslide-info strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.aqr-oslide-info span { font-size: 14px; color: #444; }
.aqr-oslide-info small { font-size: 13px; color: var(--aq-mute); }
.aqr-oslide:hover .hover-label { background-size: 100% 1px; }
.aqr-orail .rail-controls { margin-top: 24px; }
.aqr-panel-short { min-height: 220px; }
@media (max-width: 900px) { .aqr-orail .rail-track > .aqr-oslide { width: 72%; } }

/* ---------- dashboard greeting */
.aqr-hello { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.aqr-hello h1 { margin: 8px 0 0; }
.aqr-hello-riders { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.aqr-hello-rider { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.aqr-hello-rider .aqr-avatar { width: 48px; height: 48px; transition: transform .2s; }
.aqr-hello-rider:hover .aqr-avatar { transform: translateY(-2px); }
.aqr-hello-rider small { font-size: 12px; color: var(--aq-mute); }

/* ---------- garage + messages (dashboard style) */
.aqr button { font-family: inherit; letter-spacing: normal; text-transform: none; }
.aqr-dash-head.aqr-dash-row { align-items: flex-end; margin-bottom: 40px; }
.aqr-dash-head.aqr-dash-row h1 { margin-bottom: 10px; }
.aqr-panel.aqr-formpanel { display: block; min-height: 0; padding: clamp(22px, 2.6vw, 36px); margin-bottom: 32px; max-width: 760px; }
.aqr-formpanel .aqr-form { margin-top: 20px; }
.aqr-bikegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aqr-bikecard { display: flex; flex-direction: column; gap: 6px; min-height: 200px; padding: 26px; border-radius: var(--aq-r); background: radial-gradient(60% 60% at 30% 20%, #fff 0, #f6f7f8 50%, #eceef0); border: 1px solid transparent; text-align: left; font: inherit; color: inherit; box-sizing: border-box; }
.aqr-bikecard-make { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aq-mute); }
.aqr-bikecard strong { font-size: 28px; letter-spacing: -.02em; line-height: 1.1; }
.aqr-bikecard-meta { font-size: 14px; color: #444; }
.aqr-bikecard-meta em { font-style: normal; color: #8a5a00; }
.aqr-bikecard-actions { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 20px; }
.aqr-bikecard-add { background: #fff; border: 1.5px dashed #c9c9c6; cursor: pointer; align-items: flex-start; justify-content: center; transition: border-color .15s; }
.aqr-bikecard-add:hover { border-color: var(--aq-ink); }
.aqr-bikecard-add > span { font-size: 30px; line-height: 1; color: var(--aq-mute); }
.aqr-bikecard-add strong { font-size: 20px; }
.aqr-bikecard-add small { font-size: 14px; color: var(--aq-mute); }
.aqr-mlist { display: flex; flex-direction: column; gap: 12px; }
.aqr-mcard { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 22px 26px; border: 1px solid var(--aq-line); border-radius: var(--aq-r); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s; }
.aqr-mcard:hover { border-color: #bdbdbd; }
.aqr-mcard.unread { border-color: var(--aq-ink); }
.aqr-mcard-top { display: flex; align-items: center; gap: 12px; }
.aqr-mcard-top strong { font-size: 17px; }
.aqr-mcard-top small { margin-left: auto; font-size: 13px; color: var(--aq-mute); white-space: nowrap; }
.aqr-mcard-prev { font-size: 15px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aqr-caps-btn { background: none; border: 0; border-bottom: 1.5px solid currentColor; cursor: pointer; }
.aqr-chat { max-width: none; }
@media (max-width: 1100px) { .aqr-bikegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .aqr-bikegrid { grid-template-columns: 1fr; } .aqr-dash-head.aqr-dash-row { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ---------- addresses: compact, delivery first */
.aqr-addrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.aqr-addr { border: 1px solid var(--aq-line); border-radius: var(--aq-r); padding: 22px 24px; background: #fff; }
.aqr-addr-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.aqr-addr h2 { font-size: 16px; margin: 0; font-weight: 600; }
.aqr-addr address { font-style: normal; font-size: 15px; line-height: 1.55; color: #333; }
.aqr-addr-phone { margin: 6px 0 0; font-size: 14px; color: var(--aq-mute); }
.aqr-addr-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--aq-line); font-size: 13px; color: var(--aq-mute); }
@media (max-width: 700px) { .aqr-addrs { grid-template-columns: 1fr; } }

/* Only the animated line — never the browser/theme underline as well. */
.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-navigation a:hover, .woocommerce-MyAccount-navigation a:focus, .woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a .hover-label { text-decoration: none !important; }
/* Phones: one swipeable row, edge to edge, fading at the right so it's clear there is more. */
@media (max-width: 900px) {
	.woocommerce-MyAccount-navigation { margin: 0 calc(-1 * var(--gutter, 16px)) 28px; padding: 0 var(--gutter, 16px); position: relative; }
	.woocommerce-MyAccount-navigation::after { content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 40px; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
	.woocommerce-MyAccount-navigation ul { gap: 24px; padding: 4px 32px 12px 0; scroll-snap-type: x proximity; }
	.woocommerce-MyAccount-navigation li { scroll-snap-align: start; }
	.woocommerce-MyAccount-navigation a { font-size: 15px; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin-left: 0; }
}

/* ---------- one order (phone first) */
.aqr-vo { max-width: 860px; }
.aqr-vo-back { display: inline-block; margin-bottom: 18px; font-size: 14px; }
.aqr-vo-head h1 { font-size: clamp(26px, 22px + 1.2vw, 36px); letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.15; }
.aqr-vo-head { margin-bottom: 24px; }
.aqr-track-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 24px; }
.aqr-track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--aq-mute); text-align: center; }
.aqr-track-steps li span { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #cfcfcf; }
.aqr-track-steps li::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: #e3e3e0; }
.aqr-track-steps li:first-child::before { display: none; }
.aqr-track-steps li.done, .aqr-track-steps li.now { color: var(--aq-ink); }
.aqr-track-steps li.done span { background: var(--aq-ink); border-color: var(--aq-ink); }
.aqr-track-steps li.now span { border-color: var(--aq-ink); box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
.aqr-track-steps li.done::before, .aqr-track-steps li.now::before { background: var(--aq-ink); }
.aqr-track-steps li.now { font-weight: 600; }
.aqr-vo-box { border: 1px solid var(--aq-line); border-radius: var(--aq-r); padding: 20px 22px; margin-bottom: 14px; background: #fff; }
.aqr-vo-box h2 { font-size: 16px; margin: 0 0 12px; font-weight: 600; }
.aqr-vo-track { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.aqr-vo-track > div { display: flex; flex-direction: column; gap: 2px; }
.aqr-vo-label { font-size: 13px; color: var(--aq-mute); }
.aqr-vo-track strong { font-size: 17px; letter-spacing: .02em; }
.aqr-vo-items { list-style: none; margin: 0; padding: 0; }
.aqr-vo-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--aq-line); }
.aqr-vo-items li:first-child { border-top: 0; padding-top: 0; }
.aqr-vo-items .aqr-opic { width: 64px; height: 64px; }
.aqr-vo-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.aqr-vo-item a, .aqr-vo-item strong { font-size: 15px; font-weight: 600; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.aqr-vo-item small { font-size: 13px; color: var(--aq-mute); }
.aqr-vo-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.aqr-vo-totals { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--aq-line); }
.aqr-vo-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 14px; color: #444; }
.aqr-vo-totals dd { margin: 0; text-align: right; }
.aqr-vo-totals .grand { font-size: 17px; font-weight: 700; color: var(--aq-ink); padding-top: 10px; }
.aqr-vo-note { margin: 12px 0 0; font-size: 14px; color: #444; font-style: italic; }
.aqr-vo-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aqr-vo-two .aqr-vo-box { margin-bottom: 14px; }
.aqr-vo address { font-style: normal; font-size: 14px; line-height: 1.55; color: #333; }
.aqr-vo-small { margin: 8px 0 0; font-size: 13px; color: var(--aq-mute); }
.aqr-vo-updates { list-style: none; margin: 0; padding: 0; }
.aqr-vo-updates li { padding: 10px 0; border-top: 1px solid var(--aq-line); font-size: 14px; overflow-wrap: anywhere; }
.aqr-vo-updates li:first-child { border-top: 0; padding-top: 0; }
.aqr-vo-updates small { display: block; font-size: 12px; color: var(--aq-mute); margin-bottom: 4px; }
.aqr-vo-updates p { margin: 0; }
.aqr-vo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
@media (max-width: 700px) {
	.aqr-vo-two { grid-template-columns: 1fr; gap: 0; }
	.aqr-vo-box { padding: 16px; border-radius: 16px; }
	.aqr-vo-items li { grid-template-columns: 56px minmax(0, 1fr); }
	.aqr-vo-items .aqr-opic { width: 56px; height: 56px; }
	.aqr-vo-price { grid-column: 2; font-size: 14px; }
	.aqr-track-steps li { font-size: 11px; }
	.aqr-vo-actions .aqr-btn { width: 100%; }
}

/* ---------- the ride: motorcycle to the chequered flag */
.aqr-ride { --n: 4; --p: 0%; --edge: calc(100% / (var(--n) * 2)); margin: 8px 0 28px; }
.aqr-ride-course { position: relative; height: 92px; }
.aqr-ride-line { position: absolute; left: var(--edge); right: var(--edge); bottom: 6px; height: 3px; border-radius: 3px; background: #e6e6e3; overflow: hidden; }
.aqr-ride-line i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--p); background: var(--aq-ink); border-radius: 3px; animation: aqr-fill 1.2s cubic-bezier(.2,.8,.2,1) both; }
.aqr-ride-bike { position: absolute; bottom: 9px; left: calc(var(--edge) + (100% - 2 * var(--edge)) * var(--f, 0)); width: 104px; height: auto; transform: translateX(-62%) scaleX(-1); animation: aqr-ride 1.2s cubic-bezier(.2,.8,.2,1) both; }
.aqr-flag { position: absolute; right: calc(var(--edge) - 2px); bottom: 6px; width: 2px; height: 46px; background: var(--aq-ink); }
.aqr-flag b { position: absolute; left: 2px; top: 0; width: 26px; height: 18px; background: repeating-conic-gradient(var(--aq-ink) 0 25%, #fff 0 50%) 0 0 / 9px 9px; border: 1px solid var(--aq-ink); }
.aqr-ride-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 10px 0 0; padding: 0; }
.aqr-ride-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--aq-mute); }
.aqr-ride-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #cfcfcf; margin: -17px 0 6px; position: relative; z-index: 1; }
.aqr-ride-steps strong { font-size: 13px; font-weight: 500; }
.aqr-ride-steps small { font-size: 12px; }
.aqr-ride-steps li.done, .aqr-ride-steps li.now { color: var(--aq-ink); }
.aqr-ride-steps li.done .aqr-ride-dot { background: var(--aq-ink); border-color: var(--aq-ink); }
.aqr-ride-steps li.now .aqr-ride-dot { border-color: var(--aq-ink); box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
.aqr-ride-steps li.now strong { font-weight: 700; }
/* return: the bike rides back to the store (flag on the left), line fills from the right */
.aqr-ride.is-return .aqr-ride-line i { left: auto; right: 0; background: #b3261e; }
.aqr-ride.is-return .aqr-flag { right: auto; left: calc(var(--edge) - 2px); }
.aqr-ride.is-return .aqr-flag b { left: auto; right: 2px; }
.aqr-ride.is-return .aqr-ride-bike { left: auto; right: calc(var(--edge) + (100% - 2 * var(--edge)) * var(--f, 0)); transform: translateX(62%); animation-name: aqr-ride-back; }
.aqr-ride.is-return .aqr-ride-steps { direction: rtl; }
.aqr-ride.is-return .aqr-ride-steps li { direction: ltr; }
.aqr-ride-title { font-size: 16px; font-weight: 600; margin: 8px 0 4px; }
@keyframes aqr-fill { from { width: 0; } }
@keyframes aqr-ride { from { left: var(--edge); } }
@keyframes aqr-ride-back { from { right: var(--edge); } }
@media (prefers-reduced-motion: reduce) { .aqr-ride-bike, .aqr-ride-line i { animation: none; } }
@media (max-width: 700px) {
	.aqr-ride-course { height: 72px; }
	.aqr-ride-bike { width: 76px; }
	.aqr-ride-steps strong { font-size: 11px; }
	.aqr-ride-steps small { font-size: 11px; }
	.aqr-flag { height: 38px; } .aqr-flag b { width: 20px; height: 14px; background-size: 7px 7px; }
}
/* garage tile: Edit sits on the same line as SHOP PARTS, smaller and quieter */
.aqr-bikecard-actions { align-items: baseline; gap: 18px; }
.aqr-bikecard-actions .aqr-link { font-size: 12px; line-height: 1; letter-spacing: .02em; color: #8a8a87; padding: 0; text-decoration: none; }
.aqr-bikecard-actions .aqr-link:hover { color: var(--aq-ink); text-decoration: underline; text-underline-offset: 3px; }

.aqr-bikecard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.aqr-bikecard-edit { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 12px; color: #8a8a87; cursor: pointer; }
.aqr-bikecard-edit:hover { color: var(--aq-ink); }
