

/* Start:/local/components/custom/order.cabinet/templates/.default/style.css?179148950018523*/
/* Customer order cabinet v1.1 — fonts inherit from the site theme (Nextype Prime).
   Main color: change --oc-accent to your theme color. */
.oc {
    --oc-accent: #2541d4;
    --oc-accent-ink: #ffffff;
    --oc-accent-soft: #eef1fd;
    --oc-ink: #1d2433;
    --oc-muted: #6b7385;
    --oc-line: #e4e7ee;
    --oc-bg-soft: #f6f7fa;
    --oc-ok: #157a43;
    --oc-ok-soft: #e7f6ee;
    --oc-warn: #a65c00;
    --oc-warn-soft: #fff3e0;
    --oc-bad: #c3341f;
    --oc-bad-soft: #fdecea;
    --oc-radius: 14px;
    color: var(--oc-ink);
    line-height: 1.5;
    font-size: 15px;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    margin: 8px 0 40px;
}
.oc *, .oc *::before, .oc *::after { box-sizing: border-box; }
.oc svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
@media (min-width: 992px) {
    .oc--with-side { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
}

/* ---------- Type ---------- */
.oc-h1 { font-size: 26px; line-height: 1.25; font-weight: 700; margin: 0; }
.oc-h2 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; }
.oc-h3 { font-size: 17px; line-height: 1.3; font-weight: 600; margin: 0 0 16px; }
.oc-text { margin: 0 0 18px; }
.oc-muted { color: var(--oc-muted); }
.oc-small { font-size: 13px; }
.oc-center { text-align: center; }
.oc-req { color: var(--oc-bad); }

/* ---------- Sidebar ---------- */
.oc-side { background: #fff; border: 1px solid var(--oc-line); border-radius: var(--oc-radius); padding: 20px; }
@media (min-width: 992px) { .oc-side { position: sticky; top: 20px; } }
.oc-user { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; margin-bottom: 10px; border-bottom: 1px solid var(--oc-line); }
.oc-user__avatar {
    width: 48px; height: 48px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    background: var(--oc-accent); color: var(--oc-accent-ink); font-weight: 700; font-size: 17px;
}
.oc-user__text { display: grid; min-width: 0; }
.oc-user__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-user__email { font-size: 13px; color: var(--oc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-menu { display: grid; gap: 2px; }
.oc-menu__link {
    display: flex; gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 10px;
    color: var(--oc-ink); text-decoration: none; font-weight: 500;
}
.oc-menu__link svg { color: var(--oc-muted); }
.oc-menu__link:hover { background: var(--oc-bg-soft); color: var(--oc-ink); }
.oc-menu__link.is-active { background: var(--oc-accent-soft); color: var(--oc-accent); }
.oc-menu__link.is-active svg { color: var(--oc-accent); }
.oc-menu__link--muted { color: var(--oc-muted); margin-top: 6px; }
@media (max-width: 991px) {
    .oc-side { padding: 14px; }
    .oc-user { padding-bottom: 12px; }
    .oc-menu { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
    .oc-menu__link { white-space: nowrap; padding: 8px 12px; }
    .oc-menu__link--muted { margin-top: 0; }
}

/* ---------- Alerts ---------- */
.oc-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.oc-alert--error { background: var(--oc-bad-soft); color: var(--oc-bad); }
.oc-alert--ok { background: var(--oc-ok-soft); color: var(--oc-ok); }
.oc-alert--muted { background: var(--oc-bg-soft); }

/* ---------- Page head, tabs ---------- */
.oc-pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.oc-pagehead--order .oc-muted { margin-top: 4px; }
.oc-back { display: inline-flex; margin-bottom: 12px; color: var(--oc-muted); text-decoration: none; font-size: 14px; }
.oc-back:hover { color: var(--oc-accent); }

.oc-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.oc-tab {
    display: inline-flex; gap: 8px; align-items: center; white-space: nowrap;
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--oc-line);
    background: #fff; color: var(--oc-ink); text-decoration: none; font-size: 14px; font-weight: 500;
}
.oc-tab:hover { border-color: var(--oc-accent); color: var(--oc-accent); }
.oc-tab__count { font-size: 12px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--oc-bg-soft); color: var(--oc-muted); text-align: center; }
.oc-tab.is-active { background: var(--oc-ink); border-color: var(--oc-ink); color: #fff; }
.oc-tab.is-active .oc-tab__count { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Badges ---------- */
.oc-badge {
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
    background: var(--oc-bg-soft); color: var(--oc-ink);
}
.oc-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.oc-badge--unpaid { background: var(--oc-warn-soft); color: var(--oc-warn); }
.oc-badge--paid { background: var(--oc-accent-soft); color: var(--oc-accent); }
.oc-badge--done { background: var(--oc-ok-soft); color: var(--oc-ok); }
.oc-badge--canceled { background: var(--oc-bad-soft); color: var(--oc-bad); }

.oc-pay-state { font-size: 13px; font-weight: 500; }
.oc-pay-state--yes { color: var(--oc-ok); }
.oc-pay-state--no { color: var(--oc-warn); }

/* ---------- Order cards ---------- */
.oc-cards { display: grid; gap: 16px; }
.oc-cards--spaced { margin-bottom: 28px; }
.oc-card {
    background: #fff; border: 1px solid var(--oc-line); border-radius: var(--oc-radius);
    border-left: 4px solid var(--oc-line);
    padding: 20px 24px;
    transition: border-color .15s, box-shadow .15s;
}
.oc-card:hover { box-shadow: 0 6px 24px rgba(29, 36, 51, .07); }
.oc-card--unpaid { border-left-color: #f0a640; }
.oc-card--paid { border-left-color: var(--oc-accent); }
.oc-card--done { border-left-color: #3fb27a; }
.oc-card--canceled { border-left-color: #e7a59b; }
.oc-card__head { display: flex; justify-content: space-between; gap: 8px 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.oc-card__head > div { flex: 1 1 auto; min-width: 0; }
.oc-card__title { white-space: nowrap; }
.oc-card__title { font-size: 18px; font-weight: 700; color: var(--oc-ink); text-decoration: none; }
.oc-card__title:hover { color: var(--oc-accent); }
.oc-card__date { font-size: 13px; color: var(--oc-muted); margin-top: 2px; }
.oc-card__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.oc-mini { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.oc-mini__img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--oc-bg-soft); display: block; }
.oc-mini__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-mini__qty { color: var(--oc-muted); font-size: 14px; white-space: nowrap; }
.oc-mini__sum { font-weight: 500; white-space: nowrap; min-width: 110px; text-align: right; }
.oc-card__more { color: var(--oc-muted); font-size: 14px; padding-left: 58px; }
.oc-card__foot {
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--oc-line);
}
.oc-card__total { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.oc-card__total-label { color: var(--oc-muted); font-size: 14px; }
.oc-card__total-sum { font-size: 19px; font-weight: 700; }
.oc-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.oc-empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--oc-line); border-radius: var(--oc-radius); }
.oc .oc-empty__icon { width: 44px; height: 44px; color: var(--oc-muted); }
.oc-empty__title { font-size: 17px; font-weight: 600; margin: 12px 0 18px; }
.oc-nav { margin-top: 24px; }

/* ---------- Panels ---------- */
.oc-panel { background: #fff; border: 1px solid var(--oc-line); border-radius: var(--oc-radius); padding: 24px; margin-bottom: 20px; }
.oc-panel--soft { background: var(--oc-bg-soft); border-color: transparent; }
.oc-panel--summary { box-shadow: 0 8px 30px rgba(29, 36, 51, .06); }

/* ---------- Progress steps ---------- */
.oc-steps {
    list-style: none; margin: 0 0 24px; padding: 22px 24px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid var(--oc-line); border-radius: var(--oc-radius);
}
.oc-step { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 14px; color: var(--oc-muted); }
.oc-step::before {
    content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px;
    background: var(--oc-line); z-index: 0;
}
.oc-step:first-child::before { display: none; }
.oc-step.is-done::before { background: var(--oc-accent); }
.oc-step__mark {
    position: relative; z-index: 1;
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 600; font-size: 14px;
    background: #fff; border: 2px solid var(--oc-line); color: var(--oc-muted);
}
.oc-step.is-done { color: var(--oc-ink); font-weight: 500; }
.oc-step.is-done .oc-step__mark { background: var(--oc-accent); border-color: var(--oc-accent); color: #fff; }
.oc .oc-step__mark svg { width: 18px; height: 18px; }

/* ---------- Detail layout ---------- */
.oc-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
/* Phones and tablets: the payment block comes first, so "Pay" is visible right away */
@media (max-width: 1099px) { .oc-summary { order: -1; } }
@media (min-width: 1100px) {
    .oc-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
    .oc-summary { position: sticky; top: 20px; }
}
.oc-grid2 { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
.oc-grid3 { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
    .oc-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oc-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Items table: adapts to its own width (container query), not the screen */
.oc-main { container-type: inline-size; min-width: 0; }
.oc-table__head, .oc-row-item {
    display: grid; grid-template-columns: minmax(0, 1fr) 120px 120px 130px; gap: 16px; align-items: center;
}
.oc-table__head { padding: 0 0 10px; border-bottom: 1px solid var(--oc-line); font-size: 13px; color: var(--oc-muted); }
.oc-table__head span:not(:first-child) { text-align: right; }
.oc-row-item { padding: 16px 0; border-bottom: 1px solid var(--oc-line); }
.oc-row-item:last-child { border-bottom: 0; }
.oc-row-item__product { display: flex; gap: 14px; align-items: center; min-width: 0; }
.oc-row-item__img { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; background: var(--oc-bg-soft); flex: none; display: block; }
.oc-row-item__name { font-weight: 500; color: var(--oc-ink); text-decoration: none; display: block; }
a.oc-row-item__name:hover { color: var(--oc-accent); }
.oc-row-item__price, .oc-row-item__qty, .oc-row-item__sum { text-align: right; white-space: nowrap; }
.oc-row-item__sum { font-weight: 600; }
.oc-discount { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 6px; background: var(--oc-bad-soft); color: var(--oc-bad); font-size: 12px; font-weight: 600; }

.oc-stepper { display: inline-flex; align-items: center; border: 1px solid var(--oc-line); border-radius: 10px; overflow: hidden; vertical-align: middle; }
.oc-stepper__btn { width: 32px; height: 34px; border: 0; background: var(--oc-bg-soft); color: var(--oc-ink); font-size: 16px; cursor: pointer; }
.oc-stepper__btn:hover { background: var(--oc-accent-soft); color: var(--oc-accent); }
.oc-stepper__input { width: 46px; height: 34px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.oc-stepper__input::-webkit-outer-spin-button, .oc-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.oc-savebar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--oc-accent-soft);
}
.oc-savebar[hidden] { display: none; }

/* Narrow block: product on top, then price + quantity on the left and sum on the right */
@container (max-width: 680px) {
    .oc-table__head { display: none; }
    .oc-row-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 14px; }
    .oc-row-item__product { grid-column: 1 / -1; }
    .oc-row-item__price { grid-column: 2; grid-row: 2; text-align: left; font-size: 14px; color: var(--oc-muted); }
    .oc-row-item__qty { grid-column: 2; grid-row: 3; text-align: left; }
    .oc-row-item__sum { grid-column: 3; grid-row: 2 / 4; align-self: center; }
}
.oc-grid2--top { grid-template-columns: minmax(0, 1fr); }
@container (min-width: 700px) {
    .oc-grid2--top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Definition lists */
.oc-dl { margin: 0; display: grid; gap: 10px; }
.oc-dl + .oc-dl { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--oc-line); }
.oc-dl__row { display: grid; grid-template-columns: minmax(100px, 40%) 1fr; gap: 12px; }
.oc-dl dt { color: var(--oc-muted); }
.oc-dl dd { margin: 0; word-break: break-word; }

/* Summary */
.oc-totals { margin: 0 0 18px; display: grid; gap: 10px; }
.oc-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.oc-totals dt { color: var(--oc-muted); }
.oc-totals dd { margin: 0; text-align: right; white-space: nowrap; }
.oc-totals__discount dd { color: var(--oc-bad); }
.oc-totals__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--oc-line); }
.oc-totals__total dt { color: var(--oc-ink); font-weight: 600; }
.oc-totals__total dd { font-size: 22px; font-weight: 700; }

.oc-payment { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--oc-line); }
.oc-payment + .oc-payment { margin-top: 16px; }
.oc-payment__head { display: flex; gap: 12px; align-items: center; }
.oc-payment__logo { width: 44px; height: 32px; object-fit: contain; border: 1px solid var(--oc-line); border-radius: 8px; padding: 3px; background: #fff; }
.oc-payment__info { display: grid; flex: 1; min-width: 0; }
.oc-payment__name { font-weight: 600; }

.oc-disclose summary { cursor: pointer; font-size: 14px; color: var(--oc-accent); font-weight: 500; list-style: none; }
.oc-disclose summary::-webkit-details-marker { display: none; }
.oc-disclose summary::after { content: " \25BE"; }
.oc-disclose[open] summary::after { content: " \25B4"; }
.oc-disclose__body { display: grid; gap: 8px; margin-top: 12px; }
.oc-disclose--danger summary { color: var(--oc-bad); text-align: center; }
.oc-radio { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--oc-line); border-radius: 10px; cursor: pointer; }
.oc-radio:has(input:checked) { border-color: var(--oc-accent); background: var(--oc-accent-soft); }
.oc-radio input { accent-color: var(--oc-accent); }

.oc-side-actions { display: grid; gap: 14px; }

/* ---------- Forms ---------- */
.oc-field { margin-bottom: 16px; }
.oc-field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--oc-muted); font-weight: 500; }
.oc-input {
    width: 100%; padding: 11px 14px; border: 1px solid var(--oc-line); border-radius: 10px;
    font: inherit; background: #fff; color: var(--oc-ink); transition: border-color .15s, box-shadow .15s;
}
.oc-input:focus { outline: none; border-color: var(--oc-accent); box-shadow: 0 0 0 3px rgba(37, 65, 212, .15); }
.oc-readonly { padding: 11px 14px; border-radius: 10px; background: var(--oc-bg-soft); color: var(--oc-muted); }
.oc-actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- Buttons ---------- */
.oc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 10px; border: 1px solid var(--oc-accent);
    background: var(--oc-accent); color: var(--oc-accent-ink);
    font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background-color .15s, color .15s, filter .15s;
}
.oc-btn:hover { filter: brightness(1.1); color: var(--oc-accent-ink); text-decoration: none; }
.oc-btn:focus-visible, .oc-tab:focus-visible, .oc-menu__link:focus-visible, .oc-stepper__btn:focus-visible {
    outline: 2px solid var(--oc-accent); outline-offset: 2px;
}
.oc-btn--ghost { background: #fff; color: var(--oc-accent); border-color: var(--oc-line); }
.oc-btn--ghost:hover { border-color: var(--oc-accent); background: var(--oc-accent-soft); color: var(--oc-accent); filter: none; }
.oc-btn--danger { background: var(--oc-bad); border-color: var(--oc-bad); }
.oc-btn--block { width: 100%; }
.oc-btn--lg { padding: 14px 24px; font-size: 15px; }
.oc-link-danger { background: none; border: 0; padding: 0; margin-top: 6px; display: block; color: var(--oc-bad); font: inherit; font-size: 13px; cursor: pointer; }
.oc-link-danger:hover { text-decoration: underline; }
.oc-sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Guest, pay ---------- */
.oc-guest { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .oc-guest { grid-template-columns: 3fr 2fr; align-items: stretch; } }
.oc-paybox { max-width: 560px; }
.oc-paybox__amount { font-size: 32px; font-weight: 700; margin: 6px 0 2px; }
.oc-paybox__handler { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--oc-line); }

@media (max-width: 640px) {
    .oc { font-size: 14px; gap: 18px; }
    .oc-h1 { font-size: 22px; }
    .oc-panel, .oc-card { padding: 16px; }
    .oc-mini { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .oc-mini__img { width: 40px; height: 40px; }
    .oc-mini__qty { display: none; }
    .oc-mini__sum { min-width: 0; }
    .oc-card__more { padding-left: 54px; }
    .oc-card__actions, .oc-card__actions .oc-btn { width: 100%; }
    .oc-card__actions .oc-btn { flex: 1; }
    .oc-steps { padding: 16px 8px; font-size: 12px; }
    .oc-step { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .oc * { transition: none !important; }
}

/* End */
/* /local/components/custom/order.cabinet/templates/.default/style.css?179148950018523 */
