.auth-page { min-height: 100vh; background: #f5f6f3; }
.auth-header { padding: 0 7.3%; }
.auth-layout { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1fr 1fr; padding: 40px 10%; gap: 10%; align-items: center; }
.auth-aside { position: relative; min-height: 490px; padding: 50px 9%; display: flex; flex-direction: column; justify-content: center; color: #fff; background: #242824; overflow: hidden; }
.auth-aside:after { content: "W"; position: absolute; bottom: -122px; right: -3px; color: rgba(255,255,255,.04); font: 800 340px/1 var(--display); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .eyebrow { color: #c2c6bf; }
.auth-aside h1 { margin: 25px 0 19px; font: 500 clamp(48px,6vw,72px)/1.01 var(--display); letter-spacing: -.07em; }
.auth-aside h1 span { color: #d5aa7d; }
.auth-aside > p:not(.eyebrow) { max-width: 320px; color: #b6bbb3; font-size: 13px; line-height: 1.8; }
.auth-aside-mark { margin-top: 45px; color: #838a81; font-size: 9px; letter-spacing: .18em; }
.auth-form-wrap { width: 100%; max-width: 420px; padding: 25px 0; }
.auth-form-heading { margin-bottom: 28px; }
.auth-form-heading h2 { margin: 9px 0 6px; font: 600 30px var(--display); letter-spacing: -.05em; }
.auth-form-heading > p:last-child { margin: 0; color: #7d827b; font-size: 12px; }
.form-stack { display: flex; flex-direction: column; gap: 17px; }
.form-stack [hidden] { display: none !important; }
.form-stack label, .form-grid label, .custom-specs > label { display: flex; flex-direction: column; gap: 8px; color: #424740; font-size: 11px; font-weight: 600; }
.form-stack input, .form-grid input:not([type=file]), .form-grid textarea, .custom-spec-row input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dfe2dc; border-radius: 0; background: #fff; color: var(--ink); font-size: 13px; font-weight: 400; }
.form-grid textarea { resize: vertical; }
.form-stack input::placeholder, .form-grid input::placeholder { color: #a4a8a2; }
.password-input { position: relative; display: block; }
.password-input input { padding-right: 58px; }
.password-toggle { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); border: 0; padding: 4px; color: #737870; background: transparent; font-size: 10px; cursor: pointer; }
.form-message { min-height: 0; margin: -4px 0 0; color: #a33e36; font-size: 12px; line-height: 1.5; }
.form-message:empty { display: none; }
.form-message.success { color: #42774b; }
.auth-switch { margin: 23px 0 0; color: #777b75; text-align: center; font-size: 11px; }
.auth-switch a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.account-page { min-height: 100vh; background: #f7f8f9; }
.account-main { max-width: 1120px; min-height: calc(100vh - 82px); margin: 0 auto; padding: 52px 32px 88px; color: var(--color-graphite); }
.account-welcome { display: flex; align-items: center; gap: 17px; margin-bottom: 27px; }
.account-avatar { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--color-platinum); border-radius: 50%; color: var(--color-graphite); background: var(--color-white); }
.account-avatar svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.account-welcome-copy { min-width: 0; }
.account-welcome-copy .eyebrow { margin: 0; }
.account-welcome h1 { margin: 6px 0 4px; font: 600 clamp(30px,4vw,40px)/1.15 var(--display); letter-spacing: -.05em; }
.account-welcome-copy > p:last-child { margin: 0; color: var(--color-secondary-text); font-size: 13px; line-height: 1.6; }
.account-logout { min-height: 38px; margin-left: auto; padding: 0 15px; border: 1px solid var(--color-border); color: var(--color-graphite); background: var(--color-white); font: 600 11px var(--font); cursor: pointer; }
.account-logout:hover { border-color: var(--color-silver); background: #fbfbfb; }
.account-logout:disabled { opacity: .6; cursor: wait; }
.account-message { margin: 0 0 18px; padding: 0; color: #9c4540; font-size: 12px; line-height: 1.6; }
.account-message:empty { display: none; }
.account-message[data-state="success"] { color: #3e7654; }
.account-message[data-state="info"] { color: var(--color-secondary-text); }
.account-retry-button { min-height: 34px; margin: 0; padding: 0 12px; border: 1px solid var(--color-border); color: var(--color-graphite); background: var(--color-white); font: 600 11px var(--font); cursor: pointer; }
.account-retry-button:hover { border-color: var(--color-silver); background: #fbfbfb; }
.account-retry-button[hidden] { display: none !important; }
#retry-profile-button { margin: -10px 0 18px; }
.account-overview-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); gap: 18px; }
.account-dashboard .account-card { min-width: 0; padding: clamp(20px,3vw,30px); border: 1px solid var(--color-border); background: var(--color-white); box-shadow: 0 8px 26px rgba(35,42,49,.045); }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.account-section-heading .eyebrow, .account-security-card > .eyebrow { margin: 0 0 5px; }
.account-section-heading h2, .account-security-card h2 { margin: 0; font: 600 22px/1.3 var(--display); letter-spacing: -.035em; }
.account-details { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 15px 18px; margin: 0; }
.account-details dt { color: var(--color-secondary-text); font-size: 11px; }
.account-details dd { min-width: 0; margin: 0; color: var(--color-graphite); font-size: 13px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.account-text-button { flex: 0 0 auto; padding: 8px 0 8px 10px; border: 0; color: var(--color-graphite); background: transparent; font: 700 11px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.account-text-button:hover { color: var(--color-titanium); }
.account-text-button[hidden], .account-edit-form[hidden] { display: none !important; }
.account-edit-form { margin-top: 23px; padding-top: 22px; display: grid; gap: 8px; border-top: 1px solid var(--color-border); }
.account-edit-form label { margin-top: 4px; color: var(--color-graphite); font-size: 11px; font-weight: 600; }
.account-edit-form input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 2px; color: var(--color-graphite); background: var(--color-white); font: 13px var(--font); }
.account-edit-form input:focus-visible { outline: 2px solid var(--color-titanium); outline-offset: 2px; }
.account-edit-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.account-edit-actions .button, .account-secondary-button { min-height: 39px; padding: 0 15px; font: 600 11px var(--font); cursor: pointer; }
.account-secondary-button { border: 1px solid var(--color-border); color: var(--color-graphite); background: var(--color-white); }
.account-secondary-button:hover { border-color: var(--color-silver); }
.account-edit-actions button:disabled { opacity: .6; cursor: wait; }
.account-edit-message { margin: 5px 0 0; color: #9c4540; font-size: 11px; line-height: 1.5; }
.account-edit-message:empty { display: none; }
.account-edit-message[data-state="success"] { color: #3e7654; }
.account-security-card { display: flex; flex-direction: column; align-items: flex-start; }
.account-security-card h2 { margin-top: 5px; }
.account-security-card > p:not(.eyebrow) { margin: 10px 0 20px; color: var(--color-secondary-text); font-size: 12px; line-height: 1.7; }
.account-settings-link { margin-top: auto; color: var(--color-graphite); font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.account-settings-link:hover { color: var(--color-titanium); }
.account-orders { margin-top: 37px; }
.account-orders .account-section-heading { margin-bottom: 16px; }
.account-orders .account-section-heading h2 { font-size: 25px; }
.account-orders .order-list { display: grid; gap: 12px; }
.account-order-card { min-width: 0; padding: 20px 22px; border: 1px solid var(--color-border); background: var(--color-white); box-shadow: 0 5px 18px rgba(35,42,49,.035); }
.account-order-header, .account-order-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-order-header h3 { margin: 0; font: 600 14px var(--display); overflow-wrap: anywhere; }
.account-order-header p { margin: 0; color: var(--color-secondary-text); font-size: 11px; }
.account-order-items { display: grid; gap: 5px; margin: 14px 0; padding-left: 18px; color: var(--color-secondary-text); font-size: 12px; line-height: 1.6; }
.account-order-footer { padding-top: 13px; border-top: 1px solid var(--color-border); }
.account-order-footer strong { color: var(--color-graphite); font: 700 13px var(--font); }
.account-order-footer span { color: var(--color-secondary-text); font-size: 11px; text-align: right; }
.account-empty-orders { min-height: 185px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; border: 1px solid var(--color-border); background: var(--color-white); text-align: center; }
.account-empty-orders p { margin: 0; color: var(--color-secondary-text); font-size: 13px; }
.account-empty-orders .button { min-height: 41px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; text-decoration: none; }
.account-orders .loading-state { min-height: 130px; margin: 0; border: 1px solid var(--color-border); background: var(--color-white); }
.account-orders-error { padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 13px; border: 1px solid var(--color-border); color: #9c4540; background: var(--color-white); font-size: 12px; text-align: center; }
.account-orders-error p { margin: 0; }
.admin-page { background: #f6f7f4; }
.admin-header { border-bottom-color: #e4e6e1; }
.admin-header-right { display: flex; align-items: center; gap: 17px; }
.admin-badge { padding: 6px 8px; color: #815527; background: #f3e8da; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.dashboard-main { max-width: 1180px; margin: 0 auto; padding: 52px 32px 85px; }
.dashboard-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.dashboard-title h1 { margin: 9px 0 3px; font: 500 clamp(34px,4vw,45px) var(--display); letter-spacing: -.055em; }
.dashboard-title > div > p:last-child { margin: 0; color: #7b8079; font-size: 12px; }
.dashboard-title > .text-link { margin-bottom: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 14px; }
.dashboard-message { margin: 15px 0 -18px; padding: 0; }
.dashboard-message:not(:empty) { padding: 12px 14px; border: 1px solid #dfe7dd; background: #f0f5ee; }
.stat-card { min-height: 125px; padding: 19px 20px; display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid #eaebe8; }
.stat-card span { color: #737870; font-size: 11px; }
.stat-card strong { margin: 6px 0 3px; font: 700 27px var(--display); }
.stat-card small { color: #9a9e98; font-size: 10px; }
.dashboard-section { margin-top: 48px; }
.dashboard-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.dashboard-section-heading h2 { margin: 5px 0 0; font: 600 23px var(--display); letter-spacing: -.045em; }
.dashboard-section-heading > div > p:last-child:not(.eyebrow) { margin: 6px 0 0; color: #828780; font-size: 11px; }
.admin-bike-list { border-top: 1px solid #e2e4df; }
.admin-bike-row { min-height: 90px; padding: 13px 4px; display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 15px; border-bottom: 1px solid #e2e4df; }
.admin-bike-thumb { width: 68px; height: 61px; background: #e9ebe6; object-fit: cover; }
.admin-bike-info h3 { margin: 0 0 5px; font: 600 14px var(--display); }
.admin-bike-info p { margin: 0; color: #858a83; font-size: 10px; }
.admin-bike-actions { display: flex; align-items: center; gap: 8px; }
.status-pill { padding: 6px 8px; color: #797e77; background: #eceeea; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.status-pill.published { color: #436e4c; background: #e5eee5; }
.admin-action { min-height: 31px; padding: 0 9px; border: 1px solid #dfe2dc; color: #434841; background: #fff; font-size: 10px; cursor: pointer; }
.admin-action:hover { border-color: #969b93; }
.admin-action.danger { color: #9b4139; }
.bike-editor { display: none; padding: 28px; border: 1px solid #e2e4df; background: #fff; scroll-margin-top: 20px; }
.bike-editor.is-open { display: block; }
.editor-close { width: 31px; height: 31px; border: 1px solid #e2e4df; background: #fff; font-size: 20px; cursor: pointer; }
#bike-form { margin-top: 25px; }
.form-section { padding: 22px 0 26px; border-top: 1px solid #eaebe8; }
.form-section h3 { margin: 0 0 18px; font: 600 14px var(--display); }
.required { color: #b83a30; }
.form-section h3 .required { margin-left: 9px; font: 500 10px var(--font); }
.optional-note { margin-left: 8px; color: #979b95; font: 500 10px var(--font); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 15px; }
.form-grid label { gap: 7px; }
.form-grid input[type=file] { min-height: 39px; max-width: 100%; padding: 6px; border: 1px solid #dfe2dc; color: #646961; background: #fff; font-size: 11px; font-weight: 400; }
.form-grid label small { color: #8c9089; font-size: 10px; font-weight: 400; }
.field-wide { grid-column: 1/-1; }
.image-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.image-preview:empty { display: none; }
.image-preview img { width: 90px; height: 68px; border: 1px solid #e3e5e0; object-fit: cover; }
.image-preview-row img { width: 66px; height: 54px; }
.custom-specs-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.custom-specs-heading label { display: inline; }
.custom-spec-row { display: grid; grid-template-columns: 1fr 1fr 32px; gap: 9px; margin: 8px 0; }
.custom-spec-row input { min-height: 37px; font-size: 11px; }
.remove-spec { border: 1px solid #e2e4df; color: #9b4139; background: #fff; cursor: pointer; }
.form-submit { padding-top: 19px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #eaebe8; }
.form-submit p { margin: 0; color: #838780; font-size: 10px; }
.form-submit .button { min-width: 227px; }
.details-main { max-width: 1180px; min-height: 70vh; margin: 0 auto; padding: 35px 32px 85px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 28px; color: #526781; font-size: 13px; }
.back-link:hover { color: #0878c9; }
.details-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: start; }
.details-gallery-main { min-height: 560px; display: grid; place-items: center; overflow: hidden; border: 1px solid #dce8f2; border-radius: 20px; background: linear-gradient(145deg, #f8fbfe, #edf5fb); }
.details-gallery-main img { width: 100%; height: 560px; padding: 12px; object-fit: contain; }
.details-thumbnails { display: flex; gap: 9px; margin-top: 9px; overflow-x: auto; }
.details-thumbnail { width: 78px; height: 66px; padding: 0; border: 1px solid #dce8f2; border-radius: 10px; background: #f3f8fc; cursor: pointer; flex: 0 0 auto; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.details-thumbnail.active { border-color: #0878c9; box-shadow: 0 0 0 2px rgba(8, 120, 201, .12); }
.details-thumbnail img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.details-copy { padding: 12px 0; }
.details-copy h1 { margin: 12px 0 6px; color: #172b49; font: 600 clamp(32px,4vw,43px)/1.12 var(--display); letter-spacing: -.06em; }
.details-model { color: #526781; font-size: 13px; }
.details-price { margin: 21px 0; color: #172b49; font: 700 25px var(--display); }
.details-description { color: #4d6278; font-size: 14px; line-height: 1.75; white-space: pre-line; }
.details-cta { display: flex; gap: 10px; margin: 25px 0 30px; flex-wrap: wrap; }
.details-cta .button { gap: 11px; }
.details-cta .button svg { width: 17px; height: 17px; }
.whatsapp-button { color: #fff; background: #27774c; }
.whatsapp-button:hover { background: #1d603b; }
.details-specs { margin-top: 20px; }
.details-specs h2 { margin: 0 0 12px; color: #172b49; font: 600 19px var(--display); }
.spec-list { border-top: 1px solid #dce8f2; }
.spec-row { padding: 12px 8px 12px 0; display: grid; grid-template-columns: 36px minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 11px; border-bottom: 1px solid #dce8f2; font-size: 12px; transition: background-color .24s ease, transform .24s ease; }
.spec-row:hover { background: #f7fbff; transform: translateX(2px); }
.details-specs .spec-row .spec-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #0878c9; background: #eaf4fb; }
.spec-icon svg { width: 17px; height: 17px; display: block; }
.spec-row span:nth-child(2) { color: #526781; font-size: 12px; font-weight: 600; line-height: 1.5; }
.spec-row span:last-child { color: #172b49; font-size: 13px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.details-copy .stock-badge { max-width: 100%; padding: 7px 11px; border: 1px solid #dce8f2; border-radius: 999px; color: #3d678a; background: #f0f7fc; font-size: 11px; letter-spacing: .035em; line-height: 1.45; }
.details-copy .stock-badge.out-of-stock { color: #943d3d; border-color: #f0d8d8; background: #fff6f6; }
.details-demo-notice { border-color: #dce8f2; border-left: 3px solid #0878c9; border-radius: 0 12px 12px 0; color: #405b77; background: #f2f8fd; }
.details-description-heading { color: #172b49; }
.details-gallery-main.reveal-on-scroll,
.details-copy.reveal-on-scroll { transition: opacity .55s cubic-bezier(.2, .7, .25, 1), transform .55s cubic-bezier(.2, .7, .25, 1); }
.details-specs .spec-row.reveal-on-scroll { transition: opacity .55s cubic-bezier(.2, .7, .25, 1), transform .55s cubic-bezier(.2, .7, .25, 1), background-color .24s ease; }
.details-specs .spec-row.reveal-on-scroll:nth-child(2) { transition-delay: .07s; }
.details-specs .spec-row.reveal-on-scroll:nth-child(3) { transition-delay: .14s; }
.details-specs .spec-row.reveal-on-scroll:nth-child(4) { transition-delay: .21s; }
.details-specs .spec-row.reveal-on-scroll:nth-child(5) { transition-delay: .28s; }
.details-specs .spec-row.reveal-on-scroll:nth-child(6) { transition-delay: .35s; }
.details-specs .spec-row.reveal-on-scroll:nth-child(7) { transition-delay: .42s; }
.details-specs .spec-row.reveal-on-scroll:nth-child(8) { transition-delay: .49s; }
.details-specs .spec-row.reveal-on-scroll.is-visible:hover { transition-delay: 0s; transition-duration: .24s; }
.spec-row span:last-child { color: #343a33; font-weight: 600; }
.details-error { padding: 40px; color: #777b75; background: #f5f6f3; text-align: center; }
.dashboard-nav { position: sticky; top: 0; z-index: 2; display: flex; gap: 20px; padding: 13px 15px; overflow-x: auto; border: 1px solid #e6e8e4; background: rgba(255,255,255,.96); }
.dashboard-nav a { flex: 0 0 auto; color: #5e635c; font-size: 11px; }
.dashboard-nav a:hover { color: var(--accent); }
.low-stock-alert { margin: 16px 0; padding: 12px 15px; color: #8d5d24; border: 1px solid #ead8c3; background: #fbf5ed; font-size: 12px; }
.inventory-list, .order-list { display: grid; gap: 10px; }
.inventory-row { padding: 14px; display: grid; grid-template-columns: minmax(130px,1fr) 120px minmax(95px,125px) auto; align-items: center; gap: 12px; border: 1px solid #e6e8e4; background: #fff; }
.inventory-row strong { font: 600 12px var(--display); }
.inventory-row input, .order-filters input, .order-filters select, .order-card-footer select { min-height: 36px; padding: 7px 9px; border: 1px solid #dfe2dc; background: #fff; font: 11px var(--font); }
.stock-good { color: #49704d; font-size: 10px; font-weight: 600; }
.inventory-row .out-of-stock { color: #a13e37; font-size: 10px; font-weight: 600; }
.order-filters { display: grid; grid-template-columns: 1fr 200px 155px; gap: 10px; margin-bottom: 14px; }
.order-card { padding: 17px; border: 1px solid #e6e8e4; background: #fff; }
.order-card-head, .order-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.order-card-head strong { font: 600 12px var(--display); overflow-wrap: anywhere; }
.order-card-head span { color: #858a83; font-size: 10px; }
.order-card-details { display: grid; gap: 4px; margin: 13px 0; }
.order-card-details p { margin: 0; color: #656a63; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.order-card-footer { justify-content: flex-start; flex-wrap: wrap; }
.order-card-footer select { min-width: 155px; }
.customer-row { display: flex; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid #e6e8e4; background: #fff; }
.customer-row strong { font: 600 12px var(--display); }
.customer-row span { color: #71766f; font-size: 11px; }
.showroom-admin-card { padding: 20px; border: 1px solid #e6e8e4; background: #fff; }
.showroom-admin-card p { margin: 0 0 10px; color: #656a63; font-size: 12px; line-height: 1.8; }
.showroom-admin-card p:last-child { margin-bottom: 0; }
.cart-main, .checkout-main { max-width: 1100px; min-height: 75vh; margin: 0 auto; padding: 45px 28px 80px; }
.cart-main h1, .checkout-main h1 { margin: 10px 0; font: 500 clamp(38px,5vw,52px) var(--display); letter-spacing: -.06em; }
.cart-layout { display: grid; grid-template-columns: 1fr 300px; align-items: start; gap: 30px; margin-top: 24px; }
.cart-items { display: grid; gap: 10px; }
.cart-row { display: grid; grid-template-columns: 100px minmax(0,1fr) auto; align-items: center; gap: 17px; padding: 15px; border: 1px solid #e6e8e4; }
.cart-image { width: 100px; height: 82px; object-fit: cover; background: #eff0ec; }
.cart-item-detail h2 { margin: 0 0 7px; font: 600 14px var(--display); }
.cart-item-detail > p { margin: 0 0 6px; color: #777b75; font-size: 11px; }
.cart-item-detail .stock-badge { margin: 0; }
.quantity-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.quantity-controls button:not(.text-button) { width: 27px; height: 27px; border: 1px solid #dfe2dc; background: #fff; cursor: pointer; }
.quantity-controls button:disabled { color: #a7aaa4; cursor: not-allowed; }
.quantity-controls span { min-width: 15px; text-align: center; font-size: 11px; }
.text-button { border: 0; padding: 4px; color: #8f433c; background: transparent; font-size: 10px; cursor: pointer; }
.cart-line-total { align-self: start; padding-top: 6px; font: 700 13px var(--display); white-space: nowrap; }
.cart-summary { position: sticky; top: 20px; padding: 20px; border: 1px solid #e6e8e4; background: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; font-size: 12px; }
.summary-note, .checkout-intro { color: #777b75; font-size: 11px; line-height: 1.7; }
.checkout-main { max-width: 720px; }
.checkout-form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.checkout-form label { display: flex; flex-direction: column; gap: 7px; color: #424740; font-size: 11px; font-weight: 600; }
.checkout-form input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dfe2dc; color: var(--ink); background: #fff; font: 13px var(--font); }
.checkout-total { grid-column: 1/-1; display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid #e6e8e4; font-size: 13px; }
.checkout-total strong { font: 700 17px var(--display); }
.checkout-form .button { width: 100%; }
@media (max-width: 850px) {
  .auth-layout { padding: 35px 6%; gap: 6%; }
  .auth-aside { padding: 38px 7%; }
  .details-layout { gap: 28px; }
  .details-gallery-main, .details-gallery-main img { min-height: 440px; height: 440px; }
  .cart-layout { grid-template-columns: 1fr 260px; gap: 16px; }
}
@media (max-width: 700px) {
  .auth-header { padding: 0 21px; }
  .auth-layout { min-height: calc(100vh - 66px); grid-template-columns: 1fr; padding: 18px 23px 40px; }
  .auth-aside { min-height: 230px; padding: 30px; }
  .auth-aside h1 { margin: 14px 0 10px; font-size: 46px; }
  .auth-aside > p:not(.eyebrow) { margin: 0; }
  .auth-aside-mark { display: none; }
  .auth-form-wrap { padding: 21px 4px; }
  .account-main { min-height: calc(100vh - 72px); padding: 36px 20px 56px; }
  .account-welcome { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 12px 14px; margin-bottom: 23px; }
  .account-logout { grid-column: 2; justify-self: start; margin: 0; }
  .account-overview-grid { grid-template-columns: 1fr; gap: 13px; }
  .account-dashboard .account-card { padding: 21px 19px; }
  .account-details { grid-template-columns: 82px minmax(0,1fr); gap: 13px 12px; }
  .account-orders { margin-top: 30px; }
  .account-order-card { padding: 17px; }
  .account-order-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .account-order-footer span { text-align: left; }
  .account-empty-orders { min-height: 165px; padding: 23px 17px; }
  .dashboard-main { padding: 35px 20px 60px; }
  .dashboard-title { align-items: flex-start; flex-direction: column; }
  .stats-grid { gap: 7px; }
  .stat-card { min-height: 105px; padding: 13px 10px; }
  .stat-card span { font-size: 9px; }
  .stat-card strong { font-size: 23px; }
  .dashboard-section { margin-top: 37px; }
  .dashboard-section-heading { align-items: flex-start; }
  .admin-bike-row { grid-template-columns: 52px minmax(0,1fr); gap: 10px; }
  .admin-bike-thumb { width: 52px; height: 50px; }
  .admin-bike-actions { grid-column: 2; flex-wrap: wrap; }
  .bike-editor { margin: 0 -7px; padding: 20px 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .field-wide { grid-column: auto; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .form-submit .button { width: 100%; }
  .details-main { padding: 25px 20px 55px; }
  .details-layout { grid-template-columns: 1fr; gap: 25px; }
  .details-gallery-main, .details-gallery-main img { min-height: clamp(300px, 82vw, 370px); height: clamp(300px, 82vw, 370px); }
  .details-copy { padding: 0; }
  .details-cta > * { flex: 1; }
  .cart-main, .checkout-main { padding: 30px 20px 55px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-row { grid-template-columns: 68px minmax(0,1fr); gap: 12px; padding: 12px; }
  .cart-image { width: 68px; height: 70px; }
  .cart-line-total { grid-column: 2; padding-top: 0; }
  .order-filters { grid-template-columns: 1fr; }
  .inventory-row { grid-template-columns: minmax(100px,1fr) auto; }
  .inventory-row input { width: 100%; }
  .customer-row { flex-direction: column; gap: 7px; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-form .field-wide, .checkout-total { grid-column: 1; }
}

@media (max-width: 780px) {
  .details-layout { grid-template-columns: 1fr; }
  .details-gallery-main, .details-gallery-main img { min-height: clamp(340px, 58vw, 440px); height: clamp(340px, 58vw, 440px); }
  .details-gallery-main img { padding: 10px; }
}

@media (max-width: 560px) {
  .details-main { padding-inline: 16px; }
  .details-copy h1 { font-size: clamp(32px, 9vw, 40px); }
  .spec-row { grid-template-columns: 32px minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; padding: 12px 4px 12px 0; }
  .details-specs .spec-row .spec-icon { width: 29px; height: 29px; }
  .spec-row span:nth-child(2) { font-size: 11px; }
  .spec-row span:last-child { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .details-specs .spec-row:hover,
  .details-cta .button:hover svg { transform: none; }
}

/* Compact showroom administration shell */
.admin-page { min-height: 100vh; color: #252525; background: #f7f5f0; }
.admin-page .admin-header {
  position: fixed;
  z-index: 5;
  inset: 0 auto auto 0;
  width: 248px;
  height: 142px;
  padding: 21px 24px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  background: #171717;
  border: 0;
}
.admin-page .admin-header .brand { padding: 0; background: transparent; }
.admin-page .admin-header .brand-logo { width: 175px; height: 82px; }
.admin-header-right { width: 100%; justify-content: space-between; gap: 10px; }
.admin-badge { padding: 5px 0; color: #c5ad7f; background: transparent; font-size: 8px; }
.admin-page .admin-header .button-outline { min-height: 30px; padding: 0 9px; color: #e6e1d8; border-color: #49463e; }
.admin-page .admin-header .button-outline:hover { color: #fff; border-color: #b59a65; }
.admin-page .dashboard-nav {
  position: fixed;
  z-index: 4;
  inset: 142px auto 0 0;
  width: 248px;
  padding: 15px 13px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  overflow: auto;
  border: 0;
  border-top: 1px solid #38362f;
  background: #171717;
}
.admin-page .dashboard-nav a {
  min-height: 41px;
  padding: 13px 12px;
  color: #ccc8be;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.admin-page .dashboard-nav a:hover, .admin-page .dashboard-nav a:focus-visible {
  color: #e4d3ad;
  background: #26241f;
}
.admin-page .dashboard-main {
  max-width: none;
  min-height: 100vh;
  margin-left: 248px;
  padding: 48px clamp(24px, 4vw, 66px) 85px;
}
.admin-page .dashboard-title { margin-bottom: 25px; }
.admin-page .dashboard-title h1 { font: 400 clamp(34px, 3.5vw, 45px)/1.15 var(--display); letter-spacing: -.025em; }
.admin-page .dashboard-title > div > p:last-child { color: #77736c; font-size: 11px; }
.admin-page .stats-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; }
.admin-page .stat-card {
  min-height: 100px;
  padding: 15px 16px;
  border-color: #e6e1d8;
  background: #fff;
}
.admin-page .stat-card span { color: #77736c; font-size: 9px; letter-spacing: .035em; }
.admin-page .stat-card strong { margin: 7px 0 2px; color: #252525; font: 500 25px var(--display); }
.admin-page .stat-card small { color: #8e887d; font-size: 9px; }
.admin-page .dashboard-section { margin-top: 39px; }
.admin-page .dashboard-section-heading h2 { font: 500 25px var(--display); letter-spacing: -.015em; }
.admin-page .dashboard-nav, .admin-page .dashboard-section { scroll-margin-top: 24px; }
.admin-page .admin-bike-list { border-top-color: #ded8cc; }
.inventory-table-head { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 15px; padding: 10px 4px; color: #847c6b; border-top: 1px solid #ded8cc; border-bottom: 1px solid #ded8cc; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-page .admin-bike-row { min-height: 88px; border-bottom-color: #e6e1d8; }
.admin-page .admin-bike-thumb { background: #efede7; }
.admin-page .admin-bike-info h3 { font: 500 16px var(--display); }
.admin-page .admin-bike-info p { color: #77736c; font-size: 10px; }
.admin-page .status-pill { color: #665c48; background: #eeeae2; }
.admin-page .status-pill.published { color: #53604c; background: #eaede6; }
.admin-page .admin-action { border-color: #d9d3c7; color: #393832; }
.admin-page .admin-action:hover { border-color: #b59a65; }
.admin-page .bike-editor { border-color: #dfd9ce; }
.admin-page .form-section { border-color: #ece7de; }
.admin-page .required { color: #9c564a; }
.admin-page .inventory-row, .admin-page .order-card, .admin-page .customer-row,
.admin-page .showroom-admin-card { border-color: #e6e1d8; }
.admin-page .order-card-head strong, .admin-page .inventory-row strong,
.admin-page .customer-row strong { font-family: var(--display); font-weight: 500; font-size: 15px; }
.admin-page .low-stock-alert { border-color: #dfd1b3; color: #6f5c34; background: #f4f0e5; }
.admin-page .order-filters input, .admin-page .order-filters select,
.admin-page .order-card-footer select, .admin-page .inventory-row input { border-color: #ded8cc; }
.admin-page .dashboard-message:not(:empty) { border-color: #d8ddcf; background: #f1f3eb; }

@media (max-width: 850px) {
  .admin-page .admin-header { position: relative; inset: auto; width: auto; height: 76px; padding: 7px 20px; flex-direction: row; align-items: center; justify-content: space-between; }
  .admin-page .admin-header .brand-logo { width: 124px; height: 61px; }
  .admin-header-right { width: auto; }
  .admin-page .dashboard-nav { position: sticky; inset: auto; z-index: 4; width: 100%; padding: 8px 13px; flex-direction: row; gap: 12px; border-top: 1px solid #38362f; }
  .admin-page .dashboard-nav a { min-height: 37px; padding: 12px 10px; }
  .admin-page .dashboard-main { margin-left: 0; padding: 34px 24px 65px; }
}
@media (max-width: 560px) {
  .admin-page .admin-header { height: 68px; padding-inline: 14px; }
  .admin-page .admin-header .brand-logo { width: 112px; height: 55px; }
  .admin-page .admin-header-right { gap: 7px; }
  .admin-page .admin-header .button-outline { min-height: 29px; font-size: 9px; }
  .admin-page .dashboard-main { padding: 29px 16px 55px; }
  .inventory-table-head { display: none; }
  .admin-page .dashboard-title { gap: 12px; }
  .admin-page .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-page .stat-card { min-height: 91px; padding: 12px; }
  .admin-page .stat-card strong { font-size: 22px; }
  .admin-page .admin-bike-actions { align-items: flex-start; }
  .admin-page .dashboard-section-heading { gap: 12px; }
}
.legal-main { max-width: 900px; min-height: 65vh; margin: 0 auto; padding: 78px 28px 90px; }
.legal-main h1 { margin: 14px 0 25px; font: 400 clamp(38px, 5vw, 58px)/1.13 var(--display); letter-spacing: -.025em; }
.legal-main section { padding: 25px 0; border-top: 1px solid var(--line); }
.legal-main section h2 { margin: 0 0 11px; font: 500 23px var(--display); }
.legal-main section p, .legal-notice { color: #716d65; font-size: 12px; line-height: 1.9; }
.legal-main section a { color: #6d5933; text-decoration: underline; text-underline-offset: 3px; }
.legal-notice { padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--canvas); }
.legal-footer { min-height: 70px; padding: 20px max(5.5%, calc((100% - 900px) / 2)); display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: #756a56; font-size: 10px; }
@media (max-width: 700px) {
  .legal-main { min-height: 70vh; padding: 53px 22px 65px; }
  .legal-footer { padding-inline: 22px; }
}
.slider-admin-form { padding: 24px; border: 1px solid var(--line); background: #fff; }
.slider-admin-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slider-admin-form .slider-checkbox { min-height: 44px; flex-direction: row; align-items: center; gap: 9px; }
.slider-admin-form .slider-checkbox input { width: 16px; height: 16px; accent-color: var(--forest); }
.slider-form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.slider-admin-list { display: grid; gap: 9px; margin-top: 20px; }
.slider-admin-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.slider-admin-thumb { width: 130px; height: 76px; object-fit: cover; background: #eeeae2; }
.slider-admin-detail { display: grid; gap: 7px; min-width: 0; }
.slider-admin-detail strong { overflow-wrap: anywhere; font: 500 17px var(--display); }
.slider-admin-detail span { color: #77736c; font-size: 10px; }
.slider-admin-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.admin-page .slider-admin-form { border-color: var(--line); background: #fff; }
.admin-page .slider-admin-row { border-color: var(--line); }
.admin-page .slider-admin-row .admin-action:disabled { color: #7e786b; background: #f3f0e9; cursor: default; }
.admin-action:disabled, .button:disabled { opacity: .58; cursor: not-allowed; }
.admin-password-main { max-width: 560px; min-height: calc(100vh - 78px); margin: 0 auto; padding: 65px 28px; }
.admin-password-main h1 { margin: 10px 0; font: 400 clamp(36px, 5vw, 52px)/1.1 var(--display); }
@media (max-width: 700px) {
  .slider-admin-form { padding: 17px 13px; }
  .slider-admin-form .form-grid { grid-template-columns: 1fr; }
  .slider-admin-row { grid-template-columns: 72px minmax(0,1fr); gap: 11px; }
  .slider-admin-thumb { width: 72px; height: 62px; }
  .slider-admin-detail strong { font-size: 14px; }
  .slider-admin-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-password-main { min-height: calc(100vh - 68px); padding: 45px 22px; }
}

/* Colorful electric interface for showroom operations */
.admin-page {
  color: #151a32;
  background: linear-gradient(135deg,#f5f7ff,#f7f3ff 58%,#effcff);
}
.admin-page .admin-header,
.admin-page .dashboard-nav {
  background: linear-gradient(160deg,#111831,#27276c 58%,#18385d);
}
.admin-page .admin-header { box-shadow: 8px 0 30px rgba(27,38,100,.12); }
.admin-page .admin-header .brand-logo { border-radius: 0; }
.admin-page .admin-badge { color: #77ecf2; }
.admin-page .dashboard-nav { border-top-color: rgba(255,255,255,.16); }
.admin-page .dashboard-nav a {
  border-radius: 10px;
  color: #d7ddf5;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.admin-page .dashboard-nav a:hover, .admin-page .dashboard-nav a:focus-visible {
  color: #fff;
  background: linear-gradient(100deg,rgba(65,104,255,.48),rgba(128,72,237,.45));
  transform: translateX(3px);
}
.admin-page .dashboard-main { color: #151a32; }
.admin-page .dashboard-title h1,
.admin-page .dashboard-section-heading h2 { color: #151a32; font-family: var(--font); font-weight: 800; }
.admin-page .dashboard-title > div > p:last-child,
.admin-page .dashboard-section-heading > div > p:last-child:not(.eyebrow) { color: #737d99; }
.admin-page .eyebrow { color: #5368d9; }
.admin-page .accent { color: #8048ed; }
.admin-page .stats-grid { gap: 12px; }
.admin-page .stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e1e7f6;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(38,51,114,.07);
  transition: transform .24s ease, box-shadow .24s ease;
}
.admin-page .stat-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg,#4168ff,#8048ed,#04b8d2);
  content: "";
}
.admin-page .stat-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(38,51,114,.12); }
.admin-page .stat-card span { color: #66718e; }
.admin-page .stat-card strong { color: #3e57d7; font-family: var(--font); font-weight: 800; }
.admin-page .stat-card small { color: #8a93a9; }
.admin-page .dashboard-section { scroll-margin-top: 85px; }
.admin-page .dashboard-section-heading { align-items: flex-start; }
.admin-page .dashboard-section-heading h2 { font-size: clamp(20px,2.4vw,25px); }
.admin-page .admin-bike-list,
.admin-page .inventory-row,
.admin-page .order-card,
.admin-page .customer-row,
.admin-page .showroom-admin-card,
.admin-page .slider-admin-form,
.admin-page .slider-admin-row,
.admin-page .bike-editor {
  border-color: #e1e7f6;
  border-radius: 15px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 7px 22px rgba(38,51,114,.055);
}
.admin-page .admin-bike-list { overflow: hidden; }
.admin-page .admin-bike-row { border-color: #edf0f8; }
.admin-page .admin-bike-thumb { border-radius: 10px; background: #f0f3ff; }
.admin-page .admin-bike-info h3,
.admin-page .order-card-head strong,
.admin-page .inventory-row strong,
.admin-page .customer-row strong { color: #1d2544; font-family: var(--font); font-weight: 800; }
.admin-page .admin-bike-info p,
.admin-page .inventory-row,
.admin-page .order-card-details p,
.admin-page .customer-row span { color: #6d7894; }
.admin-page .status-pill { border-radius: 999px; color: #6644c8; background: #f0eaff; }
.admin-page .status-pill.published { color: #087c78; background: #ddf8f3; }
.admin-page .admin-action {
  border-color: #dce3f4;
  border-radius: 9px;
  color: #49577e;
  background: #fff;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.admin-page .admin-action:hover { border-color: #8495ff; color: #4a56d6; background: #f4f6ff; transform: translateY(-1px); }
.admin-page .admin-action.danger { color: #bd4561; }
.admin-page .inventory-table-head { border-color: #dfe5f4; color: #6673a2; }
.admin-page .form-section { border-color: #e9edf7; }
.admin-page .form-section h3 { color: #323d64; font-family: var(--font); font-weight: 800; }
.admin-page .required { color: #f06c57; }
.admin-page .optional-note, .admin-page .form-grid label small { color: #78839d; }
.admin-page .form-stack input,
.admin-page .form-grid input:not([type=file]),
.admin-page .form-grid textarea,
.admin-page .custom-spec-row input,
.admin-page .inventory-row input,
.admin-page .order-filters input,
.admin-page .order-filters select,
.admin-page .order-card-footer select {
  border-color: #dce3f4;
  border-radius: 10px;
  background: #fbfcff;
}
.admin-page .form-grid input:focus,
.admin-page .form-grid textarea:focus,
.admin-page .inventory-row input:focus,
.admin-page .order-filters input:focus,
.admin-page .order-filters select:focus,
.admin-page .order-card-footer select:focus {
  border-color: #536dff;
  outline: 2px solid rgba(65,104,255,.18);
}
.admin-page .form-submit { border-color: #e6eaf5; }
.admin-page .form-submit p { color: #76809a; }
.admin-page .slider-checkbox input { accent-color: #5664f5; }
.admin-page .slider-admin-thumb { border-radius: 10px; }
.admin-page .slider-admin-detail strong { color: #1d2544; font-family: var(--font); font-weight: 800; }
.admin-page .slider-admin-detail span { color: #77819b; }
.admin-page .dashboard-message:not(:empty) {
  border-color: #c9efeb;
  border-radius: 11px;
  color: #087c78;
  background: #e8fbf8;
}
.admin-page .low-stock-alert {
  border: 1px solid #ffdcba;
  border-radius: 12px;
  color: #9c561e;
  background: #fff5eb;
}
.admin-page .loading-state { color: #77819b; }
.admin-page .details-error { color: #727d97; background: #f5f7ff; }
.admin-page .dashboard-title > .text-link { color: #5263df; }

@media (max-width: 850px) {
  .admin-page .dashboard-nav { background: linear-gradient(90deg,#171b43,#342278 55%,#17647c); }
  .admin-page .dashboard-nav a:hover, .admin-page .dashboard-nav a:focus-visible { transform: translateY(-1px); }
  .admin-page .dashboard-main { padding-top: 28px; }
}
@media (max-width: 560px) {
  .admin-page .admin-header { box-shadow: 0 6px 20px rgba(27,38,100,.16); }
  .admin-page .dashboard-title > .text-link { align-self: flex-start; }
  .admin-page .admin-bike-row { border-radius: 0; }
  .admin-page .slider-admin-row { border-radius: 12px; }
  .admin-page .dashboard-section-heading { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-page .stat-card, .admin-page .dashboard-nav a, .admin-page .admin-action { transition: none !important; }
  .admin-page .stat-card:hover, .admin-page .dashboard-nav a:hover, .admin-page .admin-action:hover { transform: none; }
}

/* Modern Teal admin and customer workspace theme */
.auth-page {
  min-height: 100vh;
  background: var(--background-gradient);
  background-size: 200% 200%;
  animation: teal-background-motion 24s ease infinite;
}
.auth-aside {
  background: var(--teal-gradient);
  box-shadow: 0 18px 42px rgba(23,111,112,.18);
}
.auth-aside .eyebrow, .auth-aside h1 span { color: var(--soft-gold); }
.auth-aside > p:not(.eyebrow) { color: rgba(255,255,255,.9); }
.auth-form-wrap {
  border-color: var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 36px rgba(23,111,112,.1);
}
.admin-page {
  color: var(--ink);
  background: var(--background-gradient);
}
.admin-page .admin-header,
.admin-page .dashboard-nav {
  color: #fff;
  background: var(--deep-teal);
}
.admin-page .admin-header { box-shadow: 8px 0 26px rgba(23,111,112,.14); }
.admin-page .admin-badge { color: var(--soft-gold); }
.admin-page .dashboard-nav { border-top-color: rgba(255,255,255,.2); }
.admin-page .dashboard-nav a {
  border-radius: 9px;
  color: rgba(255,255,255,.84);
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.admin-page .dashboard-nav a:hover,
.admin-page .dashboard-nav a:focus-visible {
  color: #fff;
  background: rgba(185,225,224,.18);
  transform: translateX(2px);
}
.admin-page .dashboard-main { color: var(--ink); }
.admin-page .dashboard-title h1,
.admin-page .dashboard-section-heading h2 {
  color: var(--ink);
  font-family: var(--font);
  font-weight: 800;
}
.admin-page .dashboard-title > div > p:last-child,
.admin-page .dashboard-section-heading > div > p:last-child:not(.eyebrow) { color: var(--muted); }
.admin-page .eyebrow, .admin-page .dashboard-title > .text-link { color: var(--deep-teal); }
.admin-page .accent { color: var(--gold); }
.admin-page .stats-grid { gap: 12px; }
.admin-page .stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 21px rgba(23,111,112,.07);
  transition: transform .24s ease, box-shadow .24s ease;
}
.admin-page .stat-card::before { background: var(--gold-gradient); }
.admin-page .stat-card:hover { box-shadow: 0 12px 26px rgba(23,111,112,.12); }
.admin-page .stat-card span, .admin-page .stat-card small { color: var(--muted); }
.admin-page .stat-card strong { color: var(--deep-teal); font-family: var(--font); font-weight: 800; }
.admin-page .dashboard-section { scroll-margin-top: 85px; }
.admin-page .dashboard-section-heading h2 { font-size: clamp(20px,2.4vw,25px); }
.admin-page .admin-bike-list,
.admin-page .inventory-row,
.admin-page .order-card,
.admin-page .customer-row,
.admin-page .showroom-admin-card,
.admin-page .slider-admin-form,
.admin-page .slider-admin-row,
.admin-page .bike-editor {
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 19px rgba(23,111,112,.055);
}
.admin-page .admin-bike-list { overflow: hidden; }
.admin-page .admin-bike-row { border-color: var(--line); }
.admin-page .admin-bike-thumb { border-radius: 9px; background: var(--canvas); }
.admin-page .admin-bike-info h3,
.admin-page .order-card-head strong,
.admin-page .inventory-row strong,
.admin-page .customer-row strong { color: var(--ink); font-family: var(--font); font-weight: 800; }
.admin-page .admin-bike-info p,
.admin-page .inventory-row,
.admin-page .order-card-details p,
.admin-page .customer-row span { color: var(--ink-soft); }
.admin-page .status-pill { border-radius: 999px; color: var(--ink-soft); background: var(--canvas); }
.admin-page .status-pill.published { color: var(--deep-teal); background: var(--canvas); }
.admin-page .admin-action {
  border-color: var(--line);
  border-radius: 8px;
  color: var(--deep-teal);
  background: #fff;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.admin-page .admin-action:hover {
  border-color: var(--deep-teal);
  color: var(--hover-teal);
  background: var(--canvas);
  transform: translateY(-1px);
}
.admin-page .admin-action.danger { color: #8A4F47; }
.admin-page .inventory-table-head { border-color: var(--line); color: var(--muted); }
.admin-page .form-section { border-color: var(--line); }
.admin-page .form-section h3 { color: var(--ink); font-family: var(--font); font-weight: 800; }
.admin-page .required { color: #A33E36; }
.admin-page .optional-note, .admin-page .form-grid label small { color: var(--muted); }
.admin-page .form-stack input,
.admin-page .form-grid input:not([type=file]),
.admin-page .form-grid textarea,
.admin-page .custom-spec-row input,
.admin-page .inventory-row input,
.admin-page .order-filters input,
.admin-page .order-filters select,
.admin-page .order-card-footer select {
  border-color: var(--line);
  border-radius: 9px;
  background: #fff;
}
.admin-page .form-grid input:focus,
.admin-page .form-grid textarea:focus,
.admin-page .inventory-row input:focus,
.admin-page .order-filters input:focus,
.admin-page .order-filters select:focus,
.admin-page .order-card-footer select:focus {
  border-color: var(--deep-teal);
  outline: 2px solid rgba(23,111,112,.14);
}
.admin-page .form-submit { border-color: var(--line); }
.admin-page .form-submit p { color: var(--muted); }
.admin-page .slider-checkbox input { accent-color: var(--deep-teal); }
.admin-page .slider-admin-thumb { border-radius: 9px; background: var(--canvas); }
.admin-page .slider-admin-detail strong { color: var(--ink); font-family: var(--font); font-weight: 800; }
.admin-page .slider-admin-detail span { color: var(--muted); }
.admin-page .dashboard-message:not(:empty) {
  border-color: var(--light-teal);
  border-radius: 10px;
  color: var(--deep-teal);
  background: var(--canvas);
}
.admin-page .low-stock-alert {
  border: 1px solid var(--soft-gold);
  border-radius: 11px;
  color: var(--ink-soft);
  background: #FBF8F1;
}
.admin-page .loading-state { color: var(--muted); }
.admin-page .details-error { color: var(--ink-soft); background: var(--canvas); }

@media (max-width: 850px) {
  .admin-page .dashboard-nav { background: var(--deep-teal); }
}
@media (max-width: 560px) {
  .admin-page .admin-header { box-shadow: 0 5px 18px rgba(23,111,112,.14); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page { animation: none !important; }
  .admin-page .stat-card, .admin-page .dashboard-nav a, .admin-page .admin-action { transition: none !important; }
  .admin-page .stat-card:hover, .admin-page .dashboard-nav a:hover, .admin-page .admin-action:hover { transform: none; }
}

.customer-management .dashboard-section-heading > .button { flex: 0 0 auto; }
.customer-metrics-grid { display: grid; grid-template-columns: minmax(160px,.8fr) minmax(160px,.8fr) minmax(300px,1.4fr); gap: 14px; margin-bottom: 20px; }
.customer-metrics-grid .stat-card { min-width: 0; }
.customer-recent-logins { min-width: 0; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-white); box-shadow: 0 4px 14px rgba(23,26,31,.045); }
.customer-recent-logins h3 { margin: 4px 0 12px; color: var(--color-graphite); font: 600 15px var(--display); }
.customer-recent-logins .eyebrow { margin: 0; color: var(--color-secondary-text); }
.customer-recent-login-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.customer-recent-login-list li { min-width: 0; display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; border-top: 1px solid var(--color-border); }
.customer-recent-login-list strong { min-width: 0; color: var(--color-graphite); font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.customer-recent-login-list time { flex: 0 0 auto; color: var(--color-secondary-text); font-size: 9px; text-align: right; }
.customer-activity-empty { margin: 0; color: var(--color-secondary-text); font-size: 11px; line-height: 1.6; }
.customer-filters { display: grid; grid-template-columns: minmax(210px,1.5fr) repeat(3,minmax(135px,1fr)); gap: 11px; margin: 20px 0 14px; }
.customer-filters label, .customer-pagination-controls label { display: grid; gap: 6px; color: var(--color-secondary-text); font-size: 10px; font-weight: 600; }
.customer-filters input, .customer-filters select, .customer-pagination-controls select { width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid var(--color-border); border-radius: 4px; color: var(--color-graphite); background: var(--color-white); font: 11px var(--font); }
.customer-filters input:focus-visible, .customer-filters select:focus-visible, .customer-pagination-controls select:focus-visible { outline: 2px solid rgba(52,56,61,.2); outline-offset: 1px; }
.customer-filters :disabled, .customer-pagination-controls :disabled { opacity: .6; cursor: wait; }
.customer-dashboard-message { margin: 0 0 12px; color: var(--color-error); font-size: 11px; line-height: 1.5; }
.customer-dashboard-message:empty { display: none; }
.customer-table-wrap { max-width: 100%; overflow: auto; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-white); }
.customer-table { width: 100%; min-width: 1120px; border-collapse: collapse; text-align: left; }
.customer-table th, .customer-table td { padding: 13px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.customer-table th { position: sticky; top: 0; color: var(--color-secondary-text); background: #f7f8f9; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.customer-table td { color: var(--color-graphite); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.customer-table tbody tr:last-child td { border-bottom: 0; }
.customer-table tbody tr.is-new { background: #fbfcfb; }
.customer-table td:first-child strong { display: inline-block; font-size: 11px; font-weight: 700; }
.customer-table td a { color: var(--color-graphite); text-decoration: underline; text-decoration-color: var(--color-silver); text-underline-offset: 3px; }
.customer-table td a:hover { color: var(--color-titanium); }
.customer-new-badge { margin-left: 7px; padding: 3px 5px; border-radius: 3px; color: var(--color-success); background: #edf4ef; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.customer-status-pill { display: inline-flex; padding: 4px 7px; border-radius: 3px; font-size: 9px; font-weight: 700; }
.customer-status-pill.active { color: var(--color-success); background: #edf4ef; }
.customer-status-pill.disabled { color: var(--color-error); background: #f8eeee; }
.customer-table .customer-uid { min-width: 170px; color: var(--color-secondary-text); font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.customer-table tbody td[colspan] { padding: 24px; color: var(--color-secondary-text); text-align: center; }
.customer-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 13px; }
.customer-pagination > p { margin: 0; color: var(--color-secondary-text); font-size: 10px; }
.customer-pagination-controls { display: flex; align-items: center; gap: 8px; }
.customer-pagination-controls label { grid-template-columns: auto 72px; align-items: center; }
.customer-pagination-controls select { min-height: 34px; padding: 6px 8px; }
.customer-pagination-controls .button { min-height: 34px; }

@media (max-width: 850px) {
  .customer-metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .customer-recent-logins { grid-column: 1 / -1; }
  .customer-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .customer-management .dashboard-section-heading { align-items: flex-start; flex-direction: column; }
  .customer-metrics-grid, .customer-filters { grid-template-columns: 1fr; }
  .customer-recent-logins { grid-column: auto; padding: 16px; }
  .customer-pagination { align-items: flex-start; flex-direction: column; }
  .customer-pagination-controls { width: 100%; flex-wrap: wrap; }
  .customer-pagination-controls label { margin-right: auto; }
}

.demo-template-tools {
  display: grid;
  gap: 9px;
  max-width: 560px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-pearl);
}
.demo-template-tools > label { color: var(--color-graphite); font-size: 11px; font-weight: 700; }
.demo-template-tools > div { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.demo-template-tools select {
  min-width: 220px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-graphite);
  background: var(--color-white);
  font: 11px var(--font);
}
.demo-template-tools small { color: var(--color-secondary-text); font-size: 10px; line-height: 1.6; }
.demo-template-tools button:disabled, .demo-template-tools select:disabled { opacity: .58; cursor: not-allowed; }

@media (max-width: 560px) {
  .demo-template-tools > div { align-items: stretch; flex-direction: column; }
  .demo-template-tools select, .demo-template-tools button { width: 100%; }
}

body.auth-page { background: var(--color-white); }
.auth-header { padding-inline: max(24px, calc((100% - 1440px) / 2)); }
.auth-layout.auth-layout-centered {
  min-height: calc(100vh - 82px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 24px 64px;
  gap: 0;
}
.auth-layout-centered .auth-form-wrap {
  width: 100%;
  max-width: 560px;
  padding: 44px 48px;
  margin-inline: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 16px 42px rgba(21,23,25,.08);
}
.auth-layout-centered .auth-form-heading { margin-bottom: 32px; }
.auth-layout-centered .auth-form-heading h2 { font-size: 34px; }
.auth-layout-centered .form-stack { gap: 20px; }
.auth-layout-centered .form-stack label { font-size: 12px; }
.auth-layout-centered .form-stack input { min-height: 50px; border-radius: 4px; font-size: 14px; }
.auth-layout-centered .button-full { min-height: 52px; }
.admin-auth-layout .auth-form-wrap { max-width: 520px; }

@media (max-width: 850px) {
  .auth-layout.auth-layout-centered {
    min-height: calc(100vh - 78px);
    padding: 42px 28px 56px;
  }
  .auth-layout-centered .auth-form-wrap { max-width: 540px; padding: 38px 40px; }
}
@media (max-width: 700px) {
  .auth-header { height: 62px; padding-inline: 18px; }
  .auth-layout.auth-layout-centered {
    min-height: calc(100svh - 62px);
    padding: 26px 18px 44px;
    align-items: flex-start;
  }
  .auth-layout-centered .auth-form-wrap { padding: 30px 23px; border-radius: 7px; }
  .auth-layout-centered .auth-form-heading { margin-bottom: 26px; }
  .auth-layout-centered .auth-form-heading h2 { font-size: 29px; }
}

/* Platinum luxury admin and customer workspace theme */
.auth-page { min-height: 100vh; background: var(--color-pearl); animation: none; }
.auth-aside {
  background: var(--color-graphite);
  box-shadow: 0 12px 28px rgba(23,26,31,.12);
}
.auth-aside::after { display: none; }
.auth-aside .eyebrow, .auth-aside h1 span { color: var(--color-silver); }
.auth-aside h1, .auth-aside > p:not(.eyebrow) { color: var(--color-white); }
.auth-form-wrap {
  border-color: var(--color-border);
  border-radius: 7px;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(23,26,31,.07);
}

.admin-page { min-height: 100vh; color: var(--color-midnight); background: var(--color-pearl); }
.admin-page .admin-header, .admin-page .dashboard-nav {
  color: var(--color-white);
  background: var(--color-midnight);
}
.admin-page .admin-header { box-shadow: 4px 0 18px rgba(23,26,31,.1); }
.admin-page .admin-header .button-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,.45);
  background: transparent;
}
.admin-page .admin-header .button-outline:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  background: rgba(255,255,255,.08);
}
.admin-page .admin-badge { color: var(--color-silver); }
.admin-page .dashboard-nav { border-top-color: rgba(255,255,255,.16); }
.admin-page .dashboard-nav a {
  border-radius: 4px;
  color: rgba(255,255,255,.82);
  transition: color .3s ease, background .3s ease, transform .3s ease;
}
.admin-page .dashboard-nav a:hover, .admin-page .dashboard-nav a:focus-visible {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
  transform: translateX(2px);
}
.admin-page .dashboard-main { color: var(--color-graphite); }
.admin-page .dashboard-title h1, .admin-page .dashboard-section-heading h2 {
  color: var(--color-graphite);
  font-family: var(--font);
  font-weight: 700;
}
.admin-page .dashboard-title > div > p:last-child,
.admin-page .dashboard-section-heading > div > p:last-child:not(.eyebrow) { color: var(--color-secondary-text); }
.admin-page .eyebrow, .admin-page .dashboard-title > .text-link { color: var(--color-graphite); }
.admin-page .accent { color: var(--color-silver); }
.admin-page .stat-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: 0 4px 14px rgba(23,26,31,.045);
  transition: transform .3s ease, box-shadow .3s ease;
}
.admin-page .stat-card::before { background: var(--color-silver); }
.admin-page .stat-card:hover { box-shadow: 0 9px 22px rgba(23,26,31,.09); }
.admin-page .stat-card span, .admin-page .stat-card small { color: var(--color-secondary-text); }
.admin-page .stat-card strong { color: var(--color-graphite); font-family: var(--font); font-weight: 700; }
.admin-page .admin-bike-list, .admin-page .inventory-row, .admin-page .order-card,
.admin-page .customer-row, .admin-page .showroom-admin-card, .admin-page .slider-admin-form,
.admin-page .slider-admin-row, .admin-page .bike-editor {
  border-color: var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: 0 4px 14px rgba(23,26,31,.045);
}
.admin-page .admin-bike-row { border-color: var(--color-border); }
.admin-page .admin-bike-thumb, .admin-page .slider-admin-thumb { border-radius: 4px; background: var(--color-pearl); }
.admin-page .admin-bike-info h3, .admin-page .order-card-head strong,
.admin-page .inventory-row strong, .admin-page .customer-row strong,
.admin-page .slider-admin-detail strong { color: var(--color-graphite); font-family: var(--font); font-weight: 700; }
.admin-page .admin-bike-info p, .admin-page .inventory-row,
.admin-page .order-card-details p, .admin-page .customer-row span,
.admin-page .slider-admin-detail span { color: var(--color-secondary-text); }
.admin-page .status-pill { border-radius: 4px; color: var(--color-secondary-text); background: var(--color-hover); }
.admin-page .status-pill.published { color: var(--color-success); background: var(--color-pearl); }
.admin-page .admin-action {
  border-color: var(--color-border);
  border-radius: 4px;
  color: var(--color-graphite);
  background: var(--color-white);
  transition: border-color .3s ease, color .3s ease, background .3s ease, transform .3s ease;
}
.admin-page .admin-action:hover {
  border-color: var(--color-graphite);
  color: var(--color-midnight);
  background: var(--color-hover);
  transform: translateY(-1px);
}
.admin-page .admin-action.danger, .admin-page .required { color: var(--color-error); }
.admin-page .inventory-table-head { border-color: var(--color-border); color: var(--color-secondary-text); }
.admin-page .form-section, .admin-page .form-submit { border-color: var(--color-border); }
.admin-page .form-section h3 { color: var(--color-graphite); font-family: var(--font); font-weight: 700; }
.admin-page .optional-note, .admin-page .form-grid label small,
.admin-page .form-submit p { color: var(--color-secondary-text); }
.admin-page .form-stack input, .admin-page .form-grid input:not([type=file]),
.admin-page .form-grid textarea, .admin-page .custom-spec-row input,
.admin-page .inventory-row input, .admin-page .order-filters input,
.admin-page .order-filters select, .admin-page .order-card-footer select {
  border-color: var(--color-border);
  border-radius: 4px;
  color: var(--color-graphite);
  background: var(--color-white);
}
.admin-page .form-stack input:focus, .admin-page .form-grid input:focus,
.admin-page .form-grid textarea:focus, .admin-page .inventory-row input:focus,
.admin-page .order-filters input:focus, .admin-page .order-filters select:focus,
.admin-page .order-card-footer select:focus {
  border-color: var(--color-graphite);
  outline: 2px solid rgba(52,58,64,.12);
}
.admin-page .slider-checkbox input { accent-color: var(--color-graphite); }
.admin-page .dashboard-message:not(:empty) {
  border-color: var(--color-border);
  border-radius: 4px;
  color: var(--color-graphite);
  background: var(--color-hover);
}
.admin-page .low-stock-alert {
  border: 1px solid var(--color-silver);
  border-radius: 4px;
  color: var(--color-graphite);
  background: var(--color-pearl);
}
.admin-page .loading-state { color: var(--color-secondary-text); }
.admin-page .details-error { color: var(--color-error); background: var(--color-pearl); }

@media (max-width: 850px) {
  .admin-page .dashboard-nav { background: var(--color-midnight); }
}
@media (max-width: 560px) {
  .admin-page .admin-header { box-shadow: 0 4px 14px rgba(23,26,31,.1); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page { animation: none !important; }
  .admin-page .stat-card, .admin-page .dashboard-nav a, .admin-page .admin-action { transition: none !important; }
  .admin-page .stat-card:hover, .admin-page .dashboard-nav a:hover, .admin-page .admin-action:hover { transform: none; }
}
