:root { --cmcp-account-accent:#0a6cff; --cmcp-account-border:#e5e7eb; --cmcp-account-muted:#667085; --cmcp-account-ink:#18212f; --cmcp-account-bg:#f6f8fb; }
body.cmcp-customer-account .site-content { background:var(--cmcp-account-bg); }
body.cmcp-customer-account .site-content > .ast-container { display:block; box-sizing:border-box; width:100%; max-width:none; padding:32px 0 56px; }
body.cmcp-customer-account #primary { width:100%; margin:0; padding:0; border:0; }
body.cmcp-customer-account #secondary,
body.cmcp-customer-account .entry-header { display:none; }
body.cmcp-customer-account .entry-content { color:var(--cmcp-account-ink); }
body.cmcp-customer-account .entry-content > .woocommerce { box-sizing:border-box; width:calc(100% - 32px); max-width:1360px; margin-inline:auto; }
body.cmcp-customer-auth .site-content > .ast-container { max-width:1040px; }
.cmcp-auth-intro { max-width:620px; margin:0 auto 24px; text-align:center; }
.cmcp-auth-intro__eyebrow { margin:0 0 6px; color:var(--cmcp-account-accent); font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.cmcp-auth-intro h1 { margin:0 0 8px; color:var(--cmcp-account-ink); font-size:clamp(28px,4vw,40px); line-height:1.15; text-transform:none; }
.cmcp-auth-intro p:last-child { margin:0; color:var(--cmcp-account-muted); }
.cmcp-auth-tabs { display:flex; width:min(100%,500px); margin:0 auto 16px; padding:4px; border:1px solid var(--cmcp-account-border); border-radius:12px; background:#f8fafc; }
.cmcp-auth-tabs__button { flex:1; min-height:44px; padding:8px 16px; border:0; border-radius:9px; background:transparent; color:var(--cmcp-account-muted); font-weight:750; cursor:pointer; }
.cmcp-auth-tabs__button[aria-selected=true] { background:#fff; color:var(--cmcp-account-accent); box-shadow:0 2px 8px rgba(15,23,42,.08); }
body.cmcp-customer-auth #customer_login { width:min(100%,500px); margin:0 auto; }
body.cmcp-customer-auth #customer_login::before,
body.cmcp-customer-auth #customer_login::after { display:none; }
body.cmcp-customer-auth #customer_login > .u-column1,
body.cmcp-customer-auth #customer_login > .u-column2 { float:none; width:100%; padding:28px; border:1px solid var(--cmcp-account-border); border-radius:14px; background:#fff; box-shadow:0 12px 32px rgba(15,23,42,.08); }
body.cmcp-customer-auth #customer_login > [hidden] { display:none!important; }
body.cmcp-customer-auth #customer_login h2 { margin:0 0 20px; color:var(--cmcp-account-ink); font-size:24px; text-transform:none; }
body.cmcp-customer-account .woocommerce form .form-row { margin:0 0 16px; }
body.cmcp-customer-account .woocommerce form .form-row label { margin-bottom:6px; color:#344054; font-size:14px; font-weight:700; line-height:1.4; }
body.cmcp-customer-account .woocommerce form .input-text,
body.cmcp-customer-account .woocommerce form select { min-height:46px; padding:10px 12px; border:1px solid #cfd5df; border-radius:9px; background:#fff; box-shadow:none; }
body.cmcp-customer-account .woocommerce form .input-text:focus,
body.cmcp-customer-account .woocommerce form select:focus { border-color:var(--cmcp-account-accent); outline:3px solid rgba(10,108,255,.14); }
body.cmcp-customer-account .woocommerce form .show-password-input { top:50%; transform:translateY(-50%); }
body.cmcp-customer-account .woocommerce .woocommerce-form-login__rememberme { display:flex; align-items:center; gap:8px; min-height:44px; }
body.cmcp-customer-account .woocommerce button.button,
body.cmcp-customer-account .woocommerce a.button { min-height:44px; padding:11px 20px!important; border-radius:9px!important; background:var(--cmcp-account-accent)!important; color:#fff!important; font-weight:750; }
body.cmcp-customer-auth .woocommerce form .form-row .button { width:100%; }
body.cmcp-customer-account .woocommerce-LostPassword { margin:12px 0 0; text-align:center; }
body.cmcp-customer-account .woocommerce-error,
body.cmcp-customer-account .woocommerce-info,
body.cmcp-customer-account .woocommerce-message { border-radius:10px; }
body.woocommerce-account.cmcp-customer-account .cmcp-account-sidebar { min-width:0; border:1px solid var(--cmcp-account-border); border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(15,23,42,.05); overflow:hidden; }
body.woocommerce-account.cmcp-customer-account .woocommerce-MyAccount-navigation { float:none; width:auto; min-width:0; padding:8px; }
.cmcp-account-profile { display:flex; align-items:center; gap:12px; padding:18px 16px; border-bottom:1px solid var(--cmcp-account-border); }
.cmcp-account-profile__avatar { display:grid; flex:0 0 46px; width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,#0a6cff,#62a0ff); color:#fff; font-size:15px; font-weight:800; letter-spacing:.04em; place-items:center; }
.cmcp-account-profile__details { display:flex; min-width:0; flex-direction:column; gap:2px; }
.cmcp-account-profile__details strong { overflow:hidden; color:var(--cmcp-account-ink); font-size:15px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
.cmcp-account-profile__details span { overflow:hidden; color:var(--cmcp-account-muted); font-size:12px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
body.cmcp-customer-account .woocommerce-MyAccount-navigation ul { margin:0; padding:0; list-style:none; }
body.cmcp-customer-account .woocommerce-MyAccount-navigation li { margin:0; }
body.cmcp-customer-account .woocommerce-MyAccount-navigation a { display:flex; align-items:center; gap:11px; min-height:46px; padding:9px 12px; border:1px solid transparent; border-radius:9px; color:#344054; font-size:14px; font-weight:650; line-height:1.3; text-decoration:none; }
body.cmcp-customer-account .woocommerce-MyAccount-navigation a::before { width:20px; height:20px; flex:0 0 20px; background:currentColor; content:''; opacity:.78; -webkit-mask:var(--cmcp-nav-icon) center/contain no-repeat; mask:var(--cmcp-nav-icon) center/contain no-repeat; }
.woocommerce-MyAccount-navigation-link--dashboard { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Cpath d=%22M4 7.5 12 3l8 4.5v9L12 21l-8-4.5v-9Z%22/%3E%3Cpath d=%22m4.5 7.7 7.5 4.2 7.5-4.2M12 12v9%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Cpath d=%22M12 3v12m0 0 5-5m-5 5-5-5M4 21h16%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Cpath d=%22M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%222.5%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4.5 21a7.5 7.5 0 0 1 15 0%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--cmcp-favorites { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Cpath d=%22M12 21s-8-4.7-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 6.3-8 11-8 11Z%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --cmcp-nav-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22%3E%3Cpath d=%22M10 17l5-5-5-5m5 5H3M14 3h6v18h-6%22/%3E%3C/svg%3E"); }
body.cmcp-customer-account .woocommerce-MyAccount-navigation a:hover,
body.cmcp-customer-account .woocommerce-MyAccount-navigation .is-active > a { border:1px solid #d7e6ff; background:#f3f7ff; color:var(--cmcp-account-accent); }
body.cmcp-customer-account .woocommerce-MyAccount-navigation-link--customer-logout > a { color:#667085; }
body.cmcp-customer-account .woocommerce-MyAccount-navigation-link--customer-logout > a:hover { border-color:#ead5d2; background:#fff8f7; color:#9f2d20; }
body.woocommerce-account.cmcp-customer-account .woocommerce-MyAccount-content { float:none; width:auto; min-width:0; max-width:none; padding:28px; border:1px solid var(--cmcp-account-border); border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(15,23,42,.06); }
body.cmcp-customer-account .woocommerce-MyAccount-content > :first-child { margin-top:0; }
body.cmcp-customer-account .woocommerce-MyAccount-content h2,
body.cmcp-customer-account .woocommerce-MyAccount-content h3 { color:var(--cmcp-account-ink); text-transform:none; }
body.woocommerce-dashboard.cmcp-customer-account .woocommerce-MyAccount-content > p:first-of-type,
body.woocommerce-dashboard.cmcp-customer-account .woocommerce-MyAccount-content > p:nth-of-type(2) { display:none; }
.cmcp-account-dashboard { margin:0; }
.cmcp-account-dashboard__header { margin:0 0 24px; }
.cmcp-account-dashboard__header h1 { margin:0 0 7px; color:var(--cmcp-account-ink); font-size:clamp(24px,3vw,28px); font-weight:700; line-height:1.2; text-transform:none; }
.cmcp-account-dashboard__header p { margin:0; color:var(--cmcp-account-muted); font-size:15px; line-height:1.5; }
.cmcp-account-dashboard__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; width:100%; }
.cmcp-account-dashboard__card { display:grid; grid-template-columns:46px minmax(0,1fr) 20px; gap:14px; align-items:center; min-width:0; min-height:128px; padding:22px; border:1px solid var(--cmcp-account-border); border-radius:12px; background:#fff; color:var(--cmcp-account-ink); text-decoration:none; word-break:normal; overflow-wrap:normal; hyphens:none; transition:border-color .15s ease,box-shadow .15s ease; }
.cmcp-account-dashboard__card:hover { border-color:#b8d2ff; color:var(--cmcp-account-ink); box-shadow:0 10px 24px rgba(10,108,255,.1); }
.cmcp-account-dashboard__icon { display:grid; width:46px; height:46px; border-radius:11px; background:#eef5ff; color:var(--cmcp-account-accent); place-items:center; }
.cmcp-account-dashboard__icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cmcp-account-dashboard__copy { display:flex; min-width:0; flex-direction:column; }
.cmcp-account-dashboard__copy strong { margin-bottom:6px; color:var(--cmcp-account-ink); font-size:17px; font-weight:700; word-break:normal; overflow-wrap:normal; }
.cmcp-account-dashboard__copy > span { color:var(--cmcp-account-muted); font-size:14px; line-height:1.45; word-break:normal; overflow-wrap:normal; }
.cmcp-account-dashboard__arrow { color:#98a2b3; }
.cmcp-account-dashboard__arrow svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.cmcp-account-dashboard__card:hover .cmcp-account-dashboard__arrow { color:var(--cmcp-account-accent); }
body.cmcp-customer-account .woocommerce-orders-table,
body.cmcp-customer-account .woocommerce-table { width:100%; border:1px solid var(--cmcp-account-border); border-collapse:separate; border-spacing:0; border-radius:12px; overflow:hidden; }
body.cmcp-customer-account .woocommerce-orders-table th { padding:13px 14px; background:#f8fafc; color:#475467; font-size:13px; font-weight:700; }
body.cmcp-customer-account .woocommerce-orders-table td { padding:15px 14px; border-top:1px solid var(--cmcp-account-border); color:#344054; font-size:14px; vertical-align:middle; }
body.cmcp-customer-account .woocommerce-orders-table__cell-order-status { font-weight:750; }
body.cmcp-customer-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { color:#175cd3; }
body.cmcp-customer-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color:#067647; }
body.cmcp-customer-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status { color:#b42318; }
body.cmcp-customer-account .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status { color:#b54708; }
body.cmcp-customer-account .woocommerce-Address { box-sizing:border-box; width:100%; min-width:0; min-height:180px; padding:22px; border:1px solid var(--cmcp-account-border); border-radius:12px; background:#fff; }
body.cmcp-customer-account .woocommerce-Address-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
body.cmcp-customer-account .woocommerce-Address-title h2,
body.cmcp-customer-account .woocommerce-Address-title h3 { margin:0; font-size:19px; }
body.cmcp-customer-account .woocommerce-Address-title .edit { display:inline-flex; align-items:center; min-height:40px; padding:7px 12px; border-radius:8px; background:#eef5ff; color:var(--cmcp-account-accent); font-size:13px; font-weight:700; text-decoration:none; }
body.cmcp-customer-account .woocommerce-Address address { margin:0; color:#475467; font-size:14px; line-height:1.65; }
body.cmcp-customer-account .u-columns.woocommerce-Addresses { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.cmcp-customer-account .u-columns.woocommerce-Addresses > .woocommerce-Address { float:none; width:auto; min-width:0; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-MyAccount-content > p { margin-bottom:22px; }
body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:stretch; }
body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses::before,
body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses::after { display:none; content:none; }
body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses > .woocommerce-Address,
body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses > .woocommerce-Address.col-1,
body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses > .woocommerce-Address.col-2 { box-sizing:border-box; float:none; width:100%; max-width:none; min-width:0; min-height:180px; margin:0; padding:22px; border:1px solid var(--cmcp-account-border); border-radius:13px; background:#fff; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:16px; padding:0; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title::before,
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title::after { display:none; content:none; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title h2,
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title h3 { margin:0; font-size:18px; font-weight:700; line-height:1.3; white-space:nowrap; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title .edit { display:inline-flex; flex:0 0 auto; float:none; align-items:center; min-height:32px; padding:4px 8px; border-radius:8px; background:#eef5ff; color:var(--cmcp-account-accent); font-size:0; font-weight:700; line-height:1; text-decoration:none; white-space:nowrap; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address-title .edit::before { content:'Редагувати'; font-size:12px; }
body.woocommerce-edit-address.cmcp-customer-account .woocommerce-Address address { margin:0; color:#475467; font-size:14px; line-height:1.65; }
body.cmcp-customer-account .woocommerce-EditAccountForm fieldset { margin:28px 0 20px; padding:22px; border:1px solid var(--cmcp-account-border); border-radius:12px; }
body.cmcp-customer-account .woocommerce-EditAccountForm { width:100%; max-width:950px; }
body.cmcp-customer-account .woocommerce-EditAccountForm legend { padding:0 8px; color:var(--cmcp-account-ink); font-size:18px; font-weight:700; }
body.cmcp-customer-account .woocommerce-EditAccountForm :is(input.input-text,input[type=password],input[type=email],input[type=tel]) { min-height:46px; border:1px solid #d0d5dd; border-radius:9px; background:#fff; }
body.cmcp-customer-account .woocommerce-EditAccountForm :is(input.input-text,input[type=password],input[type=email],input[type=tel]):focus { border-color:var(--cmcp-account-accent); box-shadow:0 0 0 3px rgba(10,108,255,.13); }
body.cmcp-customer-account .woocommerce-EditAccountForm button[type=submit] { min-height:44px; border-radius:9px; background:var(--cmcp-account-accent); font-weight:700; }
body.cmcp-customer-account :is(a,button,input,select):focus-visible { outline:3px solid rgba(10,108,255,.25); outline-offset:2px; }
.cmcp-orders { display:grid; gap:16px; }
.cmcp-order-card { padding:20px; border:1px solid var(--cmcp-account-border); border-radius:12px; background:#fff; box-shadow:0 4px 14px rgba(15,23,42,.045); }
.cmcp-order-card__header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:16px; border-bottom:1px solid #eef0f3; }
.cmcp-order-card__header h2 { margin:0 0 5px!important; font-size:18px; line-height:1.3; }
.cmcp-order-card__header h2 a { color:var(--cmcp-account-ink); text-decoration:none; }
.cmcp-order-card__header time,.cmcp-order-view__header time { color:var(--cmcp-account-muted); font-size:13px; }
.cmcp-order-status { display:inline-flex; flex:0 0 auto; align-items:center; min-height:30px; padding:5px 10px; border:1px solid #d0d5dd; border-radius:999px; background:#f8fafc; color:#344054; font-size:12px; font-weight:750; line-height:1.2; }
.cmcp-order-status[data-status=processing] { border-color:#b2ccff; background:#eff8ff; color:#175cd3; }
.cmcp-order-status[data-status=completed] { border-color:#abefc6; background:#ecfdf3; color:#067647; }
.cmcp-order-status[data-status=on-hold],.cmcp-order-status[data-status=pending] { border-color:#fedf89; background:#fffaeb; color:#b54708; }
.cmcp-order-status[data-status=cancelled],.cmcp-order-status[data-status=failed] { border-color:#fecdca; background:#fef3f2; color:#b42318; }
.cmcp-order-status[data-status=refunded] { border-color:#d6bbfb; background:#f9f5ff; color:#6941c6; }
.cmcp-order-card__body { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0; }
.cmcp-order-preview { display:flex; min-width:0; align-items:center; gap:12px; color:#475467; font-size:14px; }
.cmcp-order-preview__images { display:flex; }
.cmcp-order-preview__images img { width:48px; height:48px; margin-right:-8px; border:2px solid #fff; border-radius:9px; background:#f8fafc; object-fit:contain; }
.cmcp-order-card__total { display:flex; align-items:baseline; gap:9px; margin:0; white-space:nowrap; }
.cmcp-order-card__total span { color:var(--cmcp-account-muted); font-size:13px; }
.cmcp-order-card__total strong { color:var(--cmcp-account-ink); font-size:17px; }
.cmcp-order-card__actions { display:flex; justify-content:flex-end; gap:8px; }
.cmcp-order-card__facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:16px 0; }
.cmcp-order-card__facts > div { display:flex; min-width:0; gap:10px; align-items:center; padding:12px; border:1px solid #edf0f4; border-radius:10px; background:#fafbfc; }
.cmcp-order-card__facts small { display:block; margin-bottom:3px; color:var(--cmcp-account-muted); font-size:12px; }
.cmcp-order-card__facts strong { display:block; color:var(--cmcp-account-ink); font-size:13px; font-weight:600; line-height:1.4; word-break:normal; overflow-wrap:break-word; }
.cmcp-order-card__products { padding:16px 0; border-top:1px solid #eef0f3; }
.cmcp-order-card__products h3 { margin:0 0 12px!important; color:var(--cmcp-account-ink); font-size:15px; font-weight:700; }
.cmcp-order-card__product-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.cmcp-order-card__product { display:grid; grid-template-columns:48px minmax(0,1fr); gap:10px; min-width:0; align-items:center; }
.cmcp-order-card__product-thumb,.cmcp-order-card__product-thumb img { display:block; width:48px; height:48px; }
.cmcp-order-card__product-thumb img { box-sizing:border-box; border:1px solid #edf0f4; border-radius:8px; background:#f8fafc; object-fit:contain; }
.cmcp-order-card__product-copy { display:flex; min-width:0; flex-direction:column; gap:3px; }
.cmcp-order-card__product-copy strong { display:-webkit-box; overflow:hidden; color:var(--cmcp-account-ink); font-size:13px; font-weight:600; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.cmcp-order-card__product-copy small,.cmcp-order-card__product-more { color:var(--cmcp-account-muted); font-size:12px; line-height:1.35; }
.cmcp-order-card__product-more { margin:10px 0 0; font-weight:600; }
.cmcp-order-card__fact-icon { width:20px; height:20px; flex:0 0 20px; background:var(--cmcp-account-accent); -webkit-mask:var(--cmcp-fact-icon) center/18px no-repeat; mask:var(--cmcp-fact-icon) center/18px no-repeat; }
.cmcp-order-card__fact-icon--calendar { --cmcp-fact-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4m8-4v4M3 10h18'/%3E%3C/svg%3E"); }
.cmcp-order-card__fact-icon--payment { --cmcp-fact-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E"); }
.cmcp-order-card__fact-icon--truck { --cmcp-fact-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 6h11v11H3zM14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E"); }
.cmcp-order-card__actions .cancel { border:1px solid #d0d5dd!important; background:#fff!important; color:#344054!important; }
.cmcp-orders-empty { padding:52px 24px; text-align:center; }
.cmcp-orders-empty__icon { display:grid; width:64px; height:64px; margin:0 auto 18px; border-radius:16px; background:#eef5ff; color:var(--cmcp-account-accent); place-items:center; }
.cmcp-orders-empty__icon svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cmcp-orders-empty h2 { margin:0 0 8px; font-size:22px; }
.cmcp-orders-empty p { margin:0 0 22px; color:var(--cmcp-account-muted); }
.cmcp-order-view__header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:18px; padding-bottom:20px; border-bottom:1px solid var(--cmcp-account-border); }
.cmcp-order-view__eyebrow { margin:0 0 4px; color:var(--cmcp-account-accent); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.cmcp-order-view__header h1 { margin:0 0 5px; color:var(--cmcp-account-ink); font-size:26px; line-height:1.25; text-transform:none; }
.cmcp-order-view__payment { margin:0 0 20px; padding:14px 16px; border-radius:10px; background:#f8fafc; color:#475467; }
.cmcp-order-updates { margin-bottom:24px; padding:18px; border:1px solid var(--cmcp-account-border); border-radius:12px; }
.cmcp-order-updates h2 { margin:0 0 14px; font-size:18px; }
.cmcp-order-updates .notes { margin:0; padding-left:20px; }
.cmcp-order-updates .note { margin-bottom:12px; }
.cmcp-order-updates .note:last-child { margin-bottom:0; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-order-details { margin:0 0 20px; padding:20px; border:1px solid var(--cmcp-account-border); border-radius:12px; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-order-details__title { margin:0 0 16px; font-size:20px; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details { border:0; border-radius:0; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details th,body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details td { padding:14px 10px; }
.cmcp-order-item { display:flex; min-width:0; align-items:center; gap:13px; }
.cmcp-order-item__thumb { flex:0 0 62px; }
.cmcp-order-item__image { width:62px; height:62px; border:1px solid #eef0f3; border-radius:9px; background:#fff; object-fit:contain; }
.cmcp-order-item__name { min-width:0; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-customer-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-customer-details > h2 { grid-column:1/-1; margin:0; font-size:20px; }
body.woocommerce-view-order.cmcp-customer-account .woocommerce-customer-details address { height:100%; box-sizing:border-box; padding:20px; border:1px solid var(--cmcp-account-border); border-radius:12px; background:#fff; line-height:1.65; }

/* CrystalMarket order-details presentation. Native Woo blocks stay mounted for hooks. */
body.woocommerce-view-order.cmcp-customer-account .woocommerce-MyAccount-content { padding:0; border:0; background:transparent; box-shadow:none; }
.cmcp-order-view { display:grid; min-width:0; gap:18px; }
.cmcp-order-view__header,.cmcp-order-view__strip,.cmcp-order-view__card,.cmcp-order-updates { box-sizing:border-box; margin:0; padding:22px; border:1px solid var(--cmcp-account-border); border-radius:14px; background:#fff; box-shadow:0 5px 18px rgba(15,23,42,.045); }
.cmcp-order-view__header { margin:0; padding:22px 24px; }
.cmcp-order-view__header h1,.cmcp-order-view__card h2 { word-break:normal; overflow-wrap:break-word; hyphens:none; }
.cmcp-order-view__strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:16px 20px; }
.cmcp-order-view__strip > div { display:flex; min-width:0; gap:11px; align-items:center; padding:4px 18px; border-left:1px solid #edf0f4; }
.cmcp-order-view__strip > div:first-child { padding-left:0; border-left:0; }
.cmcp-order-view__strip small,.cmcp-order-contact dt { display:block; margin-bottom:3px; color:var(--cmcp-account-muted); font-size:12px; line-height:1.3; }
.cmcp-order-view__strip strong { display:block; color:var(--cmcp-account-ink); font-size:13.5px; font-weight:650; line-height:1.4; word-break:normal; overflow-wrap:break-word; }
.cmcp-order-icon { display:inline-block; width:20px; height:20px; flex:0 0 20px; background:var(--cmcp-account-accent); -webkit-mask:var(--cmcp-order-icon) center/18px no-repeat; mask:var(--cmcp-order-icon) center/18px no-repeat; }
.cmcp-order-icon--calendar { --cmcp-order-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4m8-4v4M3 10h18'/%3E%3C/svg%3E"); }
.cmcp-order-icon--payment { --cmcp-order-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E"); }
.cmcp-order-icon--truck { --cmcp-order-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 6h11v11H3zM14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E"); }
.cmcp-order-icon--user { --cmcp-order-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E"); }
.cmcp-order-icon--phone { --cmcp-order-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M6.5 3 9 7.5 6.8 10c1.5 3.2 4 5.7 7.2 7.2l2.5-2.2 4.5 2.5-1.2 3c-.4 1-1.5 1.6-2.5 1.3C9.6 19.7 4.3 14.4 2.2 6.7 1.9 5.7 2.5 4.6 3.5 4l3-1Z'/%3E%3C/svg%3E"); }
.cmcp-order-icon--mail { --cmcp-order-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.cmcp-order-view__card h2 { display:flex; gap:10px; align-items:center; margin:0 0 16px; color:var(--cmcp-account-ink); font-size:20px; line-height:1.3; }
.cmcp-order-products__item { display:grid; grid-template-columns:62px minmax(0,1fr) auto; gap:14px; min-height:82px; align-items:center; padding:12px 0; border-bottom:1px solid #edf0f4; }
.cmcp-order-products__thumb,.cmcp-order-products__thumb img { display:block; width:62px; height:62px; }
.cmcp-order-products__thumb img { box-sizing:border-box; border:1px solid #edf0f4; border-radius:8px; background:#f8fafc; object-fit:contain; }
.cmcp-order-products__copy { display:flex; min-width:0; flex-direction:column; gap:4px; }
.cmcp-order-products__copy strong { color:var(--cmcp-account-ink); font-size:14px; font-weight:500; line-height:1.4; }
.cmcp-order-products__copy small { color:var(--cmcp-account-muted); font-size:12.5px; }
.cmcp-order-products__price { color:var(--cmcp-account-ink); font-size:14.5px; font-weight:600; white-space:nowrap; }
.cmcp-order-totals { display:grid; gap:0; max-width:560px; margin:16px 0 0 auto; }
.cmcp-order-totals > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,auto); gap:18px; padding:8px 0; }
.cmcp-order-totals dt { color:var(--cmcp-account-muted); font-size:13px; }
.cmcp-order-totals dd { margin:0; color:var(--cmcp-account-ink); font-size:14px; font-weight:600; text-align:right; overflow-wrap:break-word; }
.cmcp-order-totals__final { margin-top:7px; padding-top:15px!important; border-top:1px solid var(--cmcp-account-border); }
.cmcp-order-totals__final dt,.cmcp-order-totals__final dd { color:var(--cmcp-account-ink); font-size:21px; font-weight:700; }
.cmcp-order-totals__final { margin-inline:-10px; padding:15px 10px 10px!important; border-radius:9px; background:#f4f8ff; }
.cmcp-order-delivery dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 24px; margin:0; }
.cmcp-order-delivery dl div { min-width:0; }
.cmcp-order-delivery dt { margin-bottom:4px; color:var(--cmcp-account-muted); font-size:12px; }
.cmcp-order-delivery dd,.cmcp-order-contact dd { margin:0; color:var(--cmcp-account-ink); font-size:14px; font-weight:500; line-height:1.45; word-break:normal; overflow-wrap:break-word; }
.cmcp-order-contact dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0; }
.cmcp-order-contact dl > div { display:flex; min-width:0; gap:10px; align-items:flex-start; padding:14px; border:1px solid #edf0f4; border-radius:10px; background:#fafbfc; }
.cmcp-order-view__native-extras .woocommerce-order-details,.cmcp-order-view__native-extras .woocommerce-customer-details,.cmcp-order-view__native-extras > .cmcp-order-delivery { display:none!important; }
.cmcp-order-view__native-extras:empty { display:none; }
body.woocommerce-view-order.cmcp-customer-account :is(h1,h2,h3,dt,dd,address) { word-break:normal; overflow-wrap:break-word; hyphens:none; }
@media(min-width:769px) {
    body.woocommerce-account.cmcp-customer-account.logged-in .entry-content > .woocommerce { display:grid; grid-template-columns:270px minmax(0,1fr); grid-template-areas:'navigation content'; gap:28px; align-items:start; }
    body.woocommerce-account.cmcp-customer-account .entry-content > .woocommerce > .cmcp-account-sidebar { grid-area:navigation; }
    body.woocommerce-account.cmcp-customer-account .entry-content > .woocommerce > .woocommerce-MyAccount-content { grid-area:content; }
    body.woocommerce-account.cmcp-customer-account .woocommerce-MyAccount-navigation ul { display:flex; flex-direction:column; width:100%; min-width:0; gap:2px; }
    body.woocommerce-account.cmcp-customer-account .woocommerce-MyAccount-navigation li { width:100%; }
    body.woocommerce-account.cmcp-customer-account .cmcp-account-sidebar { position:sticky; top:calc(var(--wp-admin--admin-bar--height,0px) + 20px); }
}
@media(max-width:768px) {
    body.cmcp-customer-account .site-content > .ast-container { padding:24px 0 40px; }
    body.woocommerce-account.cmcp-customer-account.logged-in .entry-content > .woocommerce { display:block; }
    body.woocommerce-account.cmcp-customer-account .cmcp-account-sidebar { max-width:100%; }
    body.woocommerce-account.cmcp-customer-account .woocommerce-MyAccount-navigation { max-width:100%; overflow-x:auto; }
    body.cmcp-customer-account .woocommerce-MyAccount-navigation ul { display:flex; min-width:max-content; gap:4px; }
    body.cmcp-customer-account .woocommerce-MyAccount-navigation a { white-space:nowrap; }
    body.woocommerce-account.cmcp-customer-account .woocommerce-MyAccount-content { width:auto; padding:20px 16px; }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-MyAccount-content { padding:0; }
    body.woocommerce-edit-address.cmcp-customer-account .u-columns.woocommerce-Addresses { grid-template-columns:minmax(0,1fr); gap:15px; }
    .cmcp-account-dashboard__grid { grid-template-columns:minmax(0,1fr); }
    .cmcp-account-dashboard__card { grid-template-columns:42px minmax(0,1fr) 18px; padding:18px; }
    .cmcp-account-dashboard__icon { width:42px; height:42px; }
}
@media(max-width:600px) {
    body.cmcp-customer-account .site-content > .ast-container { padding:20px 0 36px; }
    body.cmcp-customer-auth #customer_login > .u-column1,
    body.cmcp-customer-auth #customer_login > .u-column2,
    body.cmcp-customer-account .woocommerce-MyAccount-content { padding:20px 16px; }
    body.cmcp-customer-account .woocommerce-EditAccountForm :is(.form-row-first,.form-row-last) { float:none; width:100%; }
    .cmcp-account-dashboard__card { min-height:100px; }
    body.cmcp-customer-account .woocommerce-orders-table { border:0; overflow:visible; }
    body.cmcp-customer-account .woocommerce-orders-table__row { display:block; margin-bottom:14px; padding:8px 14px; border:1px solid var(--cmcp-account-border); border-radius:10px; background:#fff; }
    body.cmcp-customer-account .woocommerce-orders-table__row td { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-top:1px solid #f0f2f5; text-align:right!important; }
    body.cmcp-customer-account .woocommerce-orders-table__row td:first-child { border-top:0; }
    .cmcp-order-card { padding:16px; }
    .cmcp-order-card__header,.cmcp-order-card__body { align-items:flex-start; flex-direction:column; gap:12px; }
    .cmcp-order-status { align-self:flex-start; }
    .cmcp-order-card__body { padding:14px 0; }
    .cmcp-order-card__total { width:100%; justify-content:space-between; }
    .cmcp-order-card__actions { flex-direction:column; }
    .cmcp-order-card__actions .button { width:100%; justify-content:center; text-align:center; }
    .cmcp-order-view__header { flex-direction:column; gap:12px; }
    .cmcp-order-view__header h1 { font-size:23px; }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-order-details { padding:16px; }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details thead { display:none; }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details tr { display:block; padding:12px 0; border-bottom:1px solid var(--cmcp-account-border); }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details td,body.woocommerce-view-order.cmcp-customer-account .woocommerce-table--order-details th { display:block; width:auto; padding:5px 0; border:0; text-align:left!important; }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-customer-details { grid-template-columns:minmax(0,1fr); }
    body.woocommerce-view-order.cmcp-customer-account .woocommerce-customer-details > h2 { grid-column:auto; }
    body.cmcp-customer-account .u-columns.woocommerce-Addresses { grid-template-columns:minmax(0,1fr); }
    .cmcp-order-card__facts { grid-template-columns:minmax(0,1fr); }
    .cmcp-order-card__product-list { grid-template-columns:minmax(0,1fr); }
    .cmcp-order-card__product { grid-template-columns:46px minmax(0,1fr); }
    .cmcp-order-card__product-thumb,.cmcp-order-card__product-thumb img { width:46px; height:46px; }
    .cmcp-order-view { gap:16px; }
    .cmcp-order-view__header,.cmcp-order-view__strip,.cmcp-order-view__card,.cmcp-order-updates { padding:18px; }
    .cmcp-order-view__strip,.cmcp-order-delivery dl,.cmcp-order-contact dl { grid-template-columns:minmax(0,1fr); }
    .cmcp-order-view__strip > div { padding:12px 0; border-top:1px solid #edf0f4; border-left:0; }
    .cmcp-order-view__strip > div:first-child { padding-top:0; border-top:0; }
    .cmcp-order-products__item { grid-template-columns:52px minmax(0,1fr) auto; gap:10px; }
    .cmcp-order-products__thumb,.cmcp-order-products__thumb img { width:52px; height:52px; }
    .cmcp-order-products__copy strong { font-size:13px; }
    .cmcp-order-products__price { font-size:13px; }
    .cmcp-order-totals > div { grid-template-columns:minmax(0,1fr) minmax(125px,auto); gap:12px; }
    .cmcp-order-totals__final dt,.cmcp-order-totals__final dd { font-size:20px; }
}


/* Unified lavender-blue account action buttons — Sep 2026 */
body.cmcp-customer-account .woocommerce button.button,
body.cmcp-customer-account .woocommerce a.button,
body.cmcp-customer-account .woocommerce-EditAccountForm button[type=submit]{
    background:#786fbd!important;
    color:#fff!important;
}
body.cmcp-customer-account .woocommerce button.button:hover,
body.cmcp-customer-account .woocommerce a.button:hover,
body.cmcp-customer-account .woocommerce-EditAccountForm button[type=submit]:hover{
    background:#675ca8!important;
    color:#fff!important;
}
