/* Ананас Постер · личный кабинет (редизайн 22.09.2026). Префикс apc-. Шапка/подвал сайта не затрагиваются. */
:root { --apc-green: #01AA73; --apc-green-d: #0E4A36; --apc-green-t: #E6F6EF; --apc-ink: #161816; --apc-ink2: #5B5F5B; --apc-ink3: #8A8D8A;
  --apc-line: #E7E5DF; --apc-paper: #F3F8F5; --apc-red: #D93A3A; --apc-red-t: #FDECEC; --apc-amber: #9A5B00; --apc-amber-t: #FFF1DB; --apc-blue: #1D4ED8; --apc-blue-t: #E8EFFF; }

.apc, .apc * { box-sizing: border-box; }
/* страницы кабинета: верхний H1 темы убран (дублировал заголовок в контенте), крошки остаются */
.breadcrumb h1.ppppp { display: none; }
.breadcrumb .breadcrumbcontainer { padding-top: 18px; }
.apc { font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif; color: var(--apc-ink); padding-bottom: 48px; }
.apc a { transition: color .15s, background .15s, border-color .15s; }
.apc p { margin: 0; }
.apc h2, .apc h3 { margin: 0; font-weight: 700; color: var(--apc-ink); }
.apc h2 { font-size: 22px; line-height: 1.25; }
.apc h3 { font-size: 16px; line-height: 1.3; }

/* раскладка: сайдбар-модуль темы (#column-left) + контент */
.apc .apc-row { display: flex; flex-wrap: wrap; align-items: flex-start; }
.apc .apc-row > #column-left { width: 300px; padding: 0 0 0 15px; float: none; }
.apc .apc-row > #content { float: none; }
.apc .apc-row > #content.col-sm-9 { width: calc(100% - 300px); padding: 0 15px 0 32px; }
.apc .apc-row > #content.col-sm-12 { width: 100%; }
.apc-stack { display: flex; flex-direction: column; gap: 20px; }
/* пустые обёртки модулей оплаты (в них только <script>) в списке заказов — не занимают место */
.apc-stack > .pull-left { display: none; }

/* карточки */
.apc-card { background: #fff; border: 1px solid var(--apc-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.apc-card--flat { border: 0; padding: 0; }
.apc-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.apc-muted { color: var(--apc-ink2); font-size: 13px; line-height: 1.5; }
.apc-note { color: var(--apc-ink3); font-size: 12px; line-height: 1.5; }
.apc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--apc-green); font-weight: 600; font-size: 13px; text-decoration: none; }
.apc-link:hover { color: var(--apc-green-d); }

/* кнопки */
.apc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 14px; text-decoration: none !important;
  white-space: nowrap; border: 1px solid var(--apc-green); background: var(--apc-green); color: #fff !important; cursor: pointer; font-family: inherit; line-height: 1; }
.apc-btn:hover { background: var(--apc-green-d); border-color: var(--apc-green-d); color: #fff; }
.apc-btn--ghost { background: #fff; color: var(--apc-ink) !important; border: 1.5px solid var(--apc-line); }
.apc-btn--ghost:hover { background: #fff; border-color: var(--apc-ink); color: var(--apc-ink); }
.apc-btn--soft { background: var(--apc-green-t); color: var(--apc-green-d) !important; border-color: var(--apc-green-t); }
.apc-btn--soft:hover { background: #d6efe2; border-color: #d6efe2; color: var(--apc-green-d); }
.apc-btn--sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.apc-btn--full { width: 100%; }
.apc-btn svg { flex-shrink: 0; }
/* кнопки оплаты, которые модули ЮKassa/СБП/Долями вставляют скриптом в список заказов */
.apc-actions .pull-left { float: none; display: inline-flex; margin-right: 8px; }
.apc-actions .btn-info, .apc-actions .yu_button, .apc-actions .sbpro_button { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 13px;
  background: var(--apc-green); color: #fff !important; border: 1px solid var(--apc-green); text-decoration: none; line-height: 1; }
.apc-actions .btn-info:hover, .apc-actions .yu_button:hover, .apc-actions .sbpro_button:hover { background: var(--apc-green-d); }
.apc-actions a.apc-btn--ghost.btn-info { background: #fff; color: var(--apc-ink) !important; border: 1.5px solid var(--apc-line); }

/* поля */
.apc-field { display: flex; flex-direction: column; gap: 8px; }
.apc-field label, .apc-label { font-size: 13px; font-weight: 600; color: var(--apc-ink); }
.apc-field__row { display: flex; justify-content: space-between; align-items: center; }
.apc-input { display: flex; align-items: stretch; height: 52px; border: 1.5px solid var(--apc-line); border-radius: 12px; background: #fff; }
.apc-input:focus-within { border-color: var(--apc-green); box-shadow: 0 0 0 3px var(--apc-green-t); }
.apc-input > svg { align-self: center; margin-left: 14px; color: var(--apc-ink3); flex-shrink: 0; }
.apc-input input { flex-grow: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 0 14px !important; font: inherit !important; font-size: 15px !important; color: var(--apc-ink); outline: none; box-shadow: none !important; height: auto !important; border-radius: 12px; }
.apc-input input::placeholder { color: var(--apc-ink3); }
.apc-input__eye { display: flex; align-items: center; padding: 0 14px; border: 0; background: transparent; color: var(--apc-ink3); cursor: pointer; }
.apc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.apc-error { color: var(--apc-red); font-size: 12px; font-weight: 500; }
.apc .alert { border-radius: 12px; font-size: 14px; }
.apc .text-danger { color: var(--apc-red); font-size: 12px; margin-top: 6px; }
/* поля Simple (регистрация, редактирование) */
.apc .simpleregister .form-group { margin: 0 0 14px; }
.apc .simpleregister .form-control { height: 52px; border: 1.5px solid var(--apc-line); border-radius: 12px; box-shadow: none; font-size: 15px; padding: 0 16px; font-family: inherit; }
.apc .simpleregister .form-control:focus { border-color: var(--apc-green); box-shadow: 0 0 0 3px var(--apc-green-t); }
.apc .simpleregister fieldset { border: 0; padding: 0; margin: 0; }
/* ошибки валидации Simple: мягкий светло-красный блок под полем, поле с красной рамкой (в теме было белым по бордовому) */
.apc .simpleregister .simplecheckout-error-text { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--apc-red-t) !important; color: #B42318 !important; font-size: 12px; line-height: 1.45; font-weight: 500; border: 0 !important; text-align: left; text-shadow: none; }
.apc .simpleregister .simplecheckout-error-text a { color: #B42318; font-weight: 600; text-decoration: underline; }
.apc .simpleregister .form-group.has-error .form-control { border-color: var(--apc-red); box-shadow: 0 0 0 3px var(--apc-red-t); }
.apc .simpleregister .form-group.has-error .form-control::placeholder { color: #B42318; opacity: .7; }
.apc .simpleregister .simplecheckout-rule-group { margin: 0; }
.apc .simpleregister .simpleregister-warning-block, .apc .simpleregister .warning.alert-danger, .apc .alert-danger { background: var(--apc-red-t) !important; border: 1px solid #F5C2C2 !important; color: #B42318 !important; border-radius: 12px; padding: 12px 16px; font-size: 13px; line-height: 1.5; box-shadow: none; text-shadow: none; margin: 12px 0 0; }
.apc .simpleregister .simpleregister-warning-block *, .apc .alert-danger * { color: #B42318 !important; }
.apc .simpleregister .simpleregister-warning-block .agreement_all div { padding: 2px 0; }
.apc .alert-success { background: var(--apc-green-t); border: 1px solid #BFE6D3; color: var(--apc-green-d); border-radius: 12px; padding: 12px 16px; font-size: 13px; box-shadow: none; }
.apc .simpleregister .checkbox label { font-size: 13px; line-height: 1.5; color: var(--apc-ink2); padding-left: 28px; }
.apc .simpleregister .checkbox input[type=checkbox] { margin-left: -28px; width: 18px; height: 18px; accent-color: var(--apc-green); }
.apc .simpleregister-button-block { margin-top: 6px; }
.apc .simpleregister #agreement_warning { margin-top: 12px; }
.apc .simpleregister .button_oc, .apc .simpleregister-button-right .button_oc { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 22px; border-radius: 12px; background: var(--apc-green); border: 1px solid var(--apc-green); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; width: 100%; margin-top: 8px; box-shadow: none; text-shadow: none; }
.apc .simpleregister .button_oc:hover { background: var(--apc-green-d); border-color: var(--apc-green-d); }
.apc .simpleregister .button_oc span { color: #fff; }
.apc .simpll-registra, .apc .simpleregister-button-right { text-align: left; float: none; }
.apc-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--apc-ink2); }
.apc-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--apc-green); flex-shrink: 0; }
.apc-check a { color: var(--apc-ink); font-weight: 600; }
.apc-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.apc-toggle input { width: 46px; height: 26px; appearance: none; -webkit-appearance: none; background: #C9CBC6; border-radius: 999px; position: relative; cursor: pointer; margin: 0; }
.apc-toggle input:checked { background: var(--apc-green); }
.apc-toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.apc-toggle input:checked::after { left: 23px; }

/* авторизация: карточка + зелёная панель */
.apc-auth { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 32px; align-items: stretch; }
.apc-auth__card { background: #fff; border: 1px solid var(--apc-line); border-radius: 24px; padding: 40px 44px; display: flex; flex-direction: column; gap: 24px; }
.apc-auth__card h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.apc-auth__form { display: flex; flex-direction: column; gap: 18px; }
.apc-auth__side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding: 40px; border-radius: 24px; background: var(--apc-green-d); overflow: hidden; min-height: 520px; }
.apc-auth__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.apc-auth__side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,74,54,.1) 0%, rgba(14,74,54,.95) 70%); }
.apc-auth__side > * { position: relative; }
.apc-auth__side h3 { font-size: 24px; line-height: 1.2; color: #fff; max-width: 420px; }
.apc-benefit { display: flex; gap: 14px; align-items: flex-start; }
.apc-benefit i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); flex-shrink: 0; color: #fff; }
.apc-benefit b { display: block; font-size: 15px; color: #fff; }
.apc-benefit span { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.75); }
.apc-divider { display: flex; align-items: center; gap: 14px; color: var(--apc-ink3); font-size: 12px; }
.apc-divider::before, .apc-divider::after { content: ''; flex-grow: 1; height: 1px; background: var(--apc-line); }
.apc-social { display: flex; gap: 10px; }
.apc-social a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; flex: 1 1 0; min-width: 0; border-radius: 12px; border: 1.5px solid var(--apc-line); background: #fff; color: var(--apc-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.apc-social a:hover { border-color: var(--apc-ink); color: var(--apc-ink); }
.apc-social a i { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 800; font-style: normal; }
.apc-social a i.g { background: #4285F4; } .apc-social a i.y { background: #FC3F1D; }
.apc-center { text-align: center; }
.apc-steps { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 14px; background: var(--apc-paper); }
.apc-steps > div { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--apc-ink2); }
.apc-steps div i { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--apc-green-t); color: var(--apc-green-d); font-size: 12px; font-weight: 700; font-style: normal; flex-shrink: 0; }
.apc-who { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--apc-paper); }

/* сайдбар */
.apc-side { display: flex; flex-direction: column; gap: 16px; }
.apc-side__card { background: #fff; border: 1px solid var(--apc-line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.apc-user { display: flex; gap: 14px; align-items: center; min-width: 0; }
.apc-avatar { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--apc-green-d); color: #fff; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.apc-avatar--lg { width: 64px; height: 64px; font-size: 22px; }
.apc-user__name { font-size: 16px; font-weight: 700; color: var(--apc-ink); }
.apc-user__mail { font-size: 12px; color: var(--apc-ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apc-nav { display: flex; flex-direction: column; gap: 4px; }
.apc-nav a { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--apc-ink); }
.apc-nav a svg { color: var(--apc-ink2); }
.apc-nav a:hover { background: var(--apc-paper); color: var(--apc-ink); }
.apc-nav a.apc-nav--on { background: var(--apc-green-t); color: var(--apc-green-d); font-weight: 700; }
.apc-nav a.apc-nav--on svg { color: var(--apc-green-d); }
.apc-nav a b { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--apc-ink3); background: var(--apc-paper); padding: 3px 8px; border-radius: 999px; }
.apc-nav a.apc-nav--on b { background: #fff; color: var(--apc-green-d); }
.apc-nav a.apc-nav--out { color: var(--apc-ink2); }
.apc-help { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: var(--apc-paper); }
.apc-help b { font-size: 14px; color: var(--apc-ink); }
.apc-help span { font-size: 13px; line-height: 1.5; color: var(--apc-ink2); }
.apc-help__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.apc-help__phone { font-size: 15px; font-weight: 700; color: var(--apc-ink); text-decoration: none; }
.apc-tabs { display: none; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 4px; -webkit-overflow-scrolling: touch; }
.apc-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--apc-ink); background: #fff; border: 1.5px solid var(--apc-line); flex-shrink: 0; }
.apc-tab svg { color: var(--apc-ink2); }
.apc-tab--on { color: #fff; background: var(--apc-ink); border-color: var(--apc-ink); }
.apc-tab--on svg { color: #fff; }

/* чипы статусов и шкала */
.apc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; background: var(--apc-paper); color: var(--apc-ink2); }
.apc-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.apc-chip--big { font-size: 13px; padding: 7px 12px; }
.apc-chip--wait { background: var(--apc-amber-t); color: var(--apc-amber); }
.apc-chip--paid, .apc-chip--done { background: var(--apc-green-t); color: var(--apc-green-d); }
.apc-chip--print, .apc-chip--pack, .apc-chip--ship, .apc-chip--pickup { background: var(--apc-blue-t); color: var(--apc-blue); }
.apc-chip--cancel { background: var(--apc-red-t); color: var(--apc-red); }
.apc-tl { display: flex; flex-direction: column; gap: 10px; }
.apc-tl__dots { display: flex; align-items: center; }
.apc-tl__dot { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: #fff; border: 2px solid var(--apc-line); }
.apc-tl__dot--done { background: var(--apc-green); border-color: var(--apc-green); }
.apc-tl__dot--cur { border-color: var(--apc-green); box-shadow: 0 0 0 4px var(--apc-green-t); }
.apc-tl__dot--cur::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--apc-green); }
.apc-tl__line { flex-grow: 1; height: 2px; background: var(--apc-line); margin: 0 6px; }
.apc-tl__line--done { background: var(--apc-green); }
.apc-tl__labels { display: flex; justify-content: space-between; }
.apc-tl__label { flex: 1 1 0; min-width: 0; font-size: 12px; color: var(--apc-ink3); text-align: center; }
.apc-tl__label:first-child { text-align: left; } .apc-tl__label:last-child { text-align: right; }
.apc-tl__label--on { color: var(--apc-ink); } .apc-tl__label--cur { font-weight: 700; }
.apc-tl__mobile { display: none; justify-content: space-between; align-items: center; font-size: 11px; color: var(--apc-ink3); }
.apc-tl__mobile b { font-size: 12px; color: var(--apc-green-d); }
.apc-tl--cancel .apc-tl__mobile b { color: var(--apc-red); }

/* обзор */
.apc-hello { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.apc-hello__name { font-size: 24px; font-weight: 700; }
.apc-stats { display: flex; gap: 12px; }
.apc-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--apc-paper); flex: 1 1 0; min-width: 0; }
.apc-stat b { font-size: 24px; font-weight: 700; color: var(--apc-ink); }
.apc-stat span { font-size: 12px; color: var(--apc-ink2); }
.apc-thumbs { display: flex; gap: 8px; }
.apc-thumbs img { width: 56px; height: 74px; object-fit: cover; border-radius: 8px; border: 1px solid var(--apc-line); }
.apc-thumbs img.lg { width: 64px; height: 84px; }
.apc-track { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--apc-ink2); }
.apc-track code { font-family: Consolas, Menlo, monospace; font-size: 14px; font-weight: 700; color: var(--apc-ink); background: var(--apc-paper); padding: 6px 10px; border-radius: 8px; }
.apc-rows { display: flex; flex-direction: column; }
.apc-orow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--apc-line); text-decoration: none; color: var(--apc-ink); }
.apc-orow:hover { color: var(--apc-ink); }
.apc-orow img { width: 44px; height: 58px; object-fit: cover; border-radius: 8px; border: 1px solid var(--apc-line); flex-shrink: 0; }
.apc-orow__t { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex-grow: 1; }
.apc-orow__t b { font-size: 14px; } .apc-orow__t b span { font-weight: 500; color: var(--apc-ink3); }
.apc-orow__t small { font-size: 12px; color: var(--apc-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apc-orow__sum { font-size: 15px; font-weight: 700; white-space: nowrap; }
.apc-orow > svg { color: var(--apc-ink3); flex-shrink: 0; }
.apc-tiles { display: flex; gap: 12px; }
.apc-tile { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--apc-line); text-decoration: none; color: var(--apc-ink); flex: 1 1 0; min-width: 0; }
.apc-tile:hover { border-color: var(--apc-ink); color: var(--apc-ink); }
.apc-tile i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--apc-green-t); color: var(--apc-green-d); flex-shrink: 0; }
.apc-tile b { display: block; font-size: 14px; } .apc-tile span { font-size: 12px; color: var(--apc-ink3); }
.apc-wgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.apc-wgrid a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--apc-ink); min-width: 0; }
.apc-wgrid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--apc-line); }
.apc-wgrid span { font-size: 12px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.apc-wgrid b { font-size: 13px; }

/* список заказов */
.apc-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.apc-pills { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.apc h2.apc-h1 { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 36px; }
/* длинные имена/почты не вылезают из карточек */
.apc-user__name, .apc-hello__name, .apc-user__mail { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.apc-user > div, .apc-hello > div { min-width: 0; }
.apc-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; background: #fff; color: var(--apc-ink); border: 1.5px solid var(--apc-line); cursor: pointer; }
.apc-pill span { opacity: .6; font-weight: 500; }
.apc-pill--on { background: var(--apc-ink); color: #fff; border-color: var(--apc-ink); }
.apc-order { gap: 16px; padding: 22px; }
.apc-order__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.apc-order__num { font-size: 18px; font-weight: 700; } .apc-order__num span { font-size: 13px; font-weight: 500; color: var(--apc-ink3); margin-left: 10px; }
.apc-order__body { display: flex; gap: 16px; align-items: center; }
.apc-order__names { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex-grow: 1; font-size: 13px; line-height: 1.5; }
.apc-order__names small { font-size: 12px; color: var(--apc-ink3); }
.apc-order__sum { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.apc-order__sum span { font-size: 12px; color: var(--apc-ink3); } .apc-order__sum b { font-size: 18px; }
.apc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.apc .pagination { margin: 0; display: flex; gap: 6px; justify-content: center; }
.apc .pagination > li > a, .apc .pagination > li > span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 10px !important; font-size: 14px; font-weight: 600; color: var(--apc-ink); border: 1px solid var(--apc-line); margin: 0; }
.apc .pagination > .active > span, .apc .pagination > .active > a { background: var(--apc-ink); border-color: var(--apc-ink); color: #fff; }
.apc-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 30px 0; }
.apc-empty img { max-width: 220px; }
.apc-empty h3 { font-size: 22px; } .apc-empty p { max-width: 420px; }

/* карточка заказа */
.apc-kv { display: flex; flex-direction: column; gap: 3px; }
.apc-kv span { font-size: 12px; color: var(--apc-ink3); } .apc-kv b { font-size: 14px; line-height: 1.4; }
.apc-card__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; } .apc-card__title svg { color: var(--apc-green-d); }
.apc-items { display: flex; flex-direction: column; }
.apc-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) 80px 120px; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--apc-line); }
.apc-item img { width: 76px; height: 100px; object-fit: cover; border-radius: 10px; border: 1px solid var(--apc-line); }
.apc-item__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apc-item__t a { font-size: 15px; font-weight: 600; color: var(--apc-ink); text-decoration: none; }
.apc-item__t small { font-size: 13px; line-height: 1.5; color: var(--apc-ink3); }
.apc-item__q { font-size: 14px; color: var(--apc-ink2); text-align: center; }
.apc-item__p { font-size: 16px; font-weight: 700; text-align: right; }
.apc-item__p small { display: block; font-size: 12px; font-weight: 500; color: var(--apc-ink3); }
.apc-totals { display: flex; flex-direction: column; gap: 10px; margin-left: auto; width: 360px; max-width: 100%; }
.apc-totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; color: var(--apc-ink2); }
.apc-totals div b { color: var(--apc-ink); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.apc-totals div:last-child { padding-top: 12px; border-top: 1px solid var(--apc-line); font-size: 16px; font-weight: 700; color: var(--apc-ink); }
.apc-totals div:last-child b { font-weight: 700; }
.apc-hist { display: flex; flex-direction: column; }
.apc-hist__row { display: flex; gap: 14px; padding-bottom: 18px; }
.apc-hist__row:last-child { padding-bottom: 0; }
.apc-hist__dot { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 12px; }
.apc-hist__dot i { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #C9CBC6; margin-top: 4px; }
.apc-hist__dot span { flex-grow: 1; width: 2px; background: var(--apc-line); margin-top: 4px; }
.apc-hist__row:first-child .apc-hist__dot i { background: var(--apc-green); border-color: var(--apc-green); }
.apc-hist__row:last-child .apc-hist__dot span { display: none; }
.apc-hist__t b { display: block; font-size: 14px; font-weight: 600; color: var(--apc-ink2); }
.apc-hist__row:first-child .apc-hist__t b { font-weight: 700; color: var(--apc-ink); }
.apc-hist__t small { font-size: 12px; color: var(--apc-ink3); line-height: 1.5; }

/* актуальный состав по данным CRM */
.apc-crm { border-color: #BFE6D3; }
.apc-details { border: 0; }
.apc-details > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--apc-ink2); padding: 4px 0 12px; list-style: none; display: flex; align-items: center; gap: 8px; }
.apc-details > summary::-webkit-details-marker { display: none; }
.apc-details > summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--apc-ink3); border-bottom: 2px solid var(--apc-ink3); transform: rotate(-45deg); transition: transform .15s; }
.apc-details[open] > summary::before { transform: rotate(45deg); }
.apc-details > .apc-card { opacity: .8; }
/* у заказа с уточнённой суммой кнопки оплаты модулей (вставляются скриптом) прячем — сумма на сайте устарела */
.apc-order--crm .apc-actions .pull-left, .apc-order--crm .apc-actions > a:not(.apc-btn) { display: none !important; }

/* избранное: стандартные плитки товаров темы, без рамок */
.apc-wish .product-item .product-block { border: 0; box-shadow: none; }
.apc-wish .category-box { margin: 0 -10px; }

/* заказ принят / аккаунт создан */
.apc-success { max-width: 880px; margin: 0 auto; padding: 44px 52px; gap: 24px; }
.apc-success__ic { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: var(--apc-green-t); margin: 0 auto; color: var(--apc-green); }
.apc-success h2 { font-size: 34px; text-align: center; letter-spacing: -0.01em; }
.apc-success .apc-lead { font-size: 15px; line-height: 1.55; color: var(--apc-ink2); text-align: center; max-width: 560px; margin: 0 auto; }
.apc-success .apc-lead a { color: var(--apc-green); font-weight: 600; }
.apc-steps3 { display: flex; gap: 24px; }
.apc-steps3 > div { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 0; }
.apc-steps3 > div > div { display: block; min-width: 0; }
.apc-steps3 div i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--apc-paper); color: var(--apc-green-d); flex-shrink: 0; }
.apc-steps3 b { display: block; font-size: 14px; font-weight: 700; color: var(--apc-ink); letter-spacing: 0; text-shadow: none; opacity: 1; margin: 0 0 4px; }
.apc-steps3 span { display: block; font-size: 13px; line-height: 1.5; color: var(--apc-ink2); letter-spacing: 0; text-shadow: none; opacity: 1; }
.apc-success-wrap p, .apc-success-wrap span, .apc-success-wrap b { text-shadow: none; letter-spacing: 0; }
.apc-success h2 { text-shadow: none; }
.apc-msgs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.apc-msgs a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--apc-line); background: #fff; color: var(--apc-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.apc-msgs a:hover { border-color: var(--apc-ink); color: var(--apc-ink); }

/* мобильная версия */
@media (max-width: 991px) {
  .apc-auth { grid-template-columns: minmax(0, 1fr); }
  .apc-auth__side { min-height: 0; }
  .apc-item { grid-template-columns: 64px minmax(0, 1fr); }
  .apc-item__q, .apc-item__p { grid-column: 2; text-align: left; }
  .apc-wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .apc-tiles { flex-direction: column; }
  .apc-steps3 { flex-direction: column; }
}
@media (max-width: 767px) {
  .apc .apc-row > #column-left { display: none; }
  .apc .apc-row > #content.col-sm-9, .apc .apc-row > #content.col-sm-12 { width: 100%; padding: 0 15px; }
  .apc-tabs { display: flex; }
  .apc-card { padding: 18px; border-radius: 18px; gap: 16px; }
  .apc h2.apc-h1 { font-size: 24px; margin-bottom: 20px; }
  .apc-auth__card { padding: 24px 18px 26px; border-radius: 20px; }
  .apc-auth__card h2 { font-size: 26px; }
  .apc-auth__side { padding: 24px 18px; }
  .apc-auth__side h3 { font-size: 18px; }
  .apc-grid2 { grid-template-columns: minmax(0, 1fr); }
  .apc-tl__labels { display: none; } .apc-tl__mobile { display: flex; }
  .apc-stats { gap: 8px; } .apc-stat { padding: 12px 14px; } .apc-stat b { font-size: 20px; }
  .apc-hello__name { font-size: 20px; }
  .apc-order { padding: 18px; }
  .apc-order__body { flex-direction: column; align-items: stretch; }
  .apc-order__sum { align-items: flex-start; }
  .apc-actions { justify-content: stretch; }
  .apc-actions .apc-btn, .apc-actions .btn-info, .apc-actions .yu_button, .apc-actions .sbpro_button { flex: 1 1 auto; }
  .apc-btn--m-full { width: 100%; }
  .apc-totals { width: 100%; }
  .apc-wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .apc-success { padding: 22px 18px; }
  .apc-success h2 { font-size: 26px; }
  .apc-success__ic { width: 72px; height: 72px; }
  .apc-social a { font-size: 13px; }
  .apc-orow img { width: 40px; height: 52px; }
  .apc-filters { flex-direction: column; align-items: stretch; }
  .apc-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}
